[prev in list] [next in list] [prev in thread] [next in thread] 

List:       koffice
Subject:    Re: Task for people wanting better printing
From:       Nicolas Goutte <nicolasg () snafu ! de>
Date:       2003-10-31 2:49:41
[Download RAW message or body]

What did not work when you did make the first time before modifying the 
program?

When I mean that you could compile it alone, it means not all examples 
together. But the source still needs to the one with which you compiled Qt.

Perhaps there is a way to avoid it. Open the Makefile in an editor and replace 
all ../../ by the real path to Qt. There is also the file .qmake.cache that 
you have to completely remove from the Makefile. That is how I compile test 
programs that I have modified from Qt examples. However, the Qt source was 
always the one I have used to compile, so may be it matters somehow.

Anyway: thank you for trying!

Have a nice day!

On Friday 31 October 2003 02:47, Jonathan wrote:
> On Thursday 30 October 2003 05:22 pm, Nicolas Goutte wrote:
> > As there seem to be many people wanting a better printing in KOffice,
> > here is a little task to help development.
> >
> > The idea is that if we do not know what Qt does or does not, we cannot
> > increase the quality of printing in KOffice (for version 1.4.)
> >
> > So the test is Qt's example program drawdemo (in Qt's source directory
> > examples/drawdemo .)
>
> OK Nicolas:
>
>  I tried to compile this drawdemo.cc program but it would not work. I then
> split it into two parts. The drawdemo.cc consisted of everything except the
> lines beginning with #include "drawdemo.moc". I separated that part into a
> main.cc. I then did:
>
> $ qmake -project
> $ gmake -o Makefile code.pro
> $ make
>
>  I get this error:
>
> In file included from main.cc:5:
> drawdemo.moc:20: syntax error before `::'
> *** Error code 1
>
> Here is what main.cc looks like:
> //
> // Create and display our widget.
> //
>
> #include "drawdemo.moc"
>
> int main( int argc, char **argv )
> {
>     QApplication app( argc, argv );
>     DrawView   draw;
>     app.setMainWidget( &draw );
>     draw.setCaption("Qt Example - Drawdemo");
>     draw.show();
>     return app.exec();
> }
>
> I am using Qt3.2.1 with gcc version 2.95.4 20020320 [FreeBSD]. OS is
> FreeBSD 4.9.  What am I doing wrong here?
>
>
> 							Kind regards,
> 							Jonathan
>
> ____________________________________
> koffice mailing list
> koffice@mail.kde.org
> To unsubscribe please visit:
> http://mail.kde.org/mailman/listinfo/koffice

____________________________________
koffice mailing list
koffice@mail.kde.org
To unsubscribe please visit:
http://mail.kde.org/mailman/listinfo/koffice

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic