Re: A gui is created with designer-qt2: I get Compile error
Michael 'Mickey' Lauer <[email protected]>
| Newsgroups | gmane.comp.handhelds.opie.devel |
|---|---|
| Organization | VanilleMedia |
| Message-ID | <[email protected]> |
> #LIBS += -lqpe This instructs qmake to create a makefile that links applications with libqpe, which is one of the runtime libraries needed for Opie programs. If you want to link against libqpe, you need to have it built, of course. > #include ( $(OPIEDIR)/include.pro ) This adds a common include.pro from the Opie tree. If you don't build programs within the Opie tree, then this will fail, of course. > So could anyone of you tell me please what are these two lines doing? > And tell me please if these lines are necessary for me if I can compile > and run application fine without these lines? First, you need to decide whether you want to build a Qt/Embedded application or an Opie application. Opie applications should be built in the Opie tree where the libraries are already built or else you get in trouble. 2nd, be sure that OPIEDIR is set, e.g. export OPIEDIR=<where your OPIE directory is> 3rd, try to build a couple of Opie programs before building own programs. Good luck with your thesis. -- Regards, Michael 'Mickey' Lauer | FreeLancer | http://www.Vanille-Media.de _______________________________________________ http://opie.handhelds.org/cgi-bin/moin.cgi/DeveloperWikiIndex Opie-devel mailing list [email protected] https://handhelds.org/mailman/listinfo/opie-devel