Re: A gui is created with designer-qt2: I get Compile error
Florian Erfurth <[email protected]>
| Newsgroups | gmane.comp.handhelds.opie.devel |
|---|---|
| Message-ID | <[email protected]> |
Hi folks, I think somewhere is wrong in speech2text.pro, which I did copy from myhello.pro (from HelloWorld-tutorial) and changes some lines. If I use it, then I get the posted error. But... if I remove the Makefile and speech2text.pro and do following: qmake -project qmake make With this I'm able do compile my application fine. So I suspect, that in Makefile (respective speech2text.pro) is a error. I'll attach these 2 .pro files. The faulty.pro is the one which I did copy from HelloWorld-tutorial, and the working.pro is the ones, which is created by qmake -project. Could anyone of you take a look at these files and tell me a hint, what is wrong. Please, it's for my diploma thesis. :( cu Floh Florian Erfurth schrieb: > Unfortunately I get the next error. :( I hope anyone of you could help > me a bit. Here is the last lines of doing 'make' in $OPIEDIR. > >>> > make QMAKE=/home/floh/qt-embedded/opie/qmake/qmake -C > noncore/unsupported/speech2text > make[1]: Entering directory > `/home/floh/qt-embedded/opie/noncore/unsupported/speech2text' > make[1]: *** No rule to make target > `.moc/x86-linux/moc_speech2text.cpp', needed by > `.obj/x86-linux/moc_speech2text.o'. Stop. > make[1]: Leaving directory > `/home/floh/qt-embedded/opie/noncore/unsupported/speech2text' > make: *** [noncore/unsupported/speech2text] Error 2 > <<< > > Florian Erfurth schrieb: >> After adding my application into menuconfig I did enter "make" in >> $OPIEDIR/ directory. Unfortunatelly I get error if I want to compile >> my application. :( I hope you could tell me, what did I wrong. _______________________________________________ http://opie.handhelds.org/cgi-bin/moin.cgi/DeveloperWikiIndex Opie-devel mailing list [email protected] https://handhelds.org/mailman/listinfo/opie-devel
working.pro
(text/plain, 315 B)
###################################################################### # Automatically generated by qmake (1.07a) Thu Nov 30 15:22:51 2006 ###################################################################### TEMPLATE = app CONFIG -= moc INCLUDEPATH += . # Input INTERFACES += speech2text.ui SOURCES += main.cpp
faulty.pro
(text/plain, 268 B)
TEMPLATE = app CONFIG += qt warn_on release DESTDIR = $(OPIEDIR)/bin HEADERS = INTERFACES= speech2text.ui SOURCES = main.cpp TARGET = speech2text INCLUDEPATH += $(OPIEDIR)/include DEPENDPATH += $(OPIEDIR)/include LIBS += -lqpe include ( $(OPIEDIR)/include.pro )