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, I did resolve the problem. :) This was wrong:
SOURCES = speech2text.ui
The proper way is:
INTERFACES = speech2text.ui

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
<<<

Why is there no rule to make target moc_speech2text.cpp? What should I 
do? Here is my .pro file:
 >>>
floh@debian-vmware:~/qt-embedded/speech2text$ cat speech2text.pro
TEMPLATE = app
CONFIG  += qt warn_on release
DESTDIR  = $(OPIEDIR)/bin
HEADERS  =
INTERFACES= speech2text.ui
SOURCES  =
TARGET  = speech2text
INCLUDEPATH += $(OPIEDIR)/include
DEPENDPATH += $(OPIEDIR)/include
LIBS  += -lqpe
include ( $(OPIEDIR)/include.pro )
<<<

cu Floh

Florian Erfurth schrieb:
> Hi, I did begin to program my own apps for diploma thesis. Thank to 
> Dmitriy I did successfully compile qt-embedded and opie. I did create 
> an gui with design-qt2. I wanted to compile it and try the gui with 
> qvfb. Of course it still hasn't any function because it's not 
> implemented, but I should be able to see the gui.
> 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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.