RE: HELP: The final TEST
Ferran Ollé <[email protected]> Thu, 18 Jul 2002 10:13:28 +0200 (CEST)
| Newsgroups | gmane.os.qnx.openqnx.devel |
|---|---|
| Message-ID | <[email protected]> |
Thakyou very muchhhhhhhhhhhhhhhh !! now it works perfectly :___) KISSESSSS heheeh Feran Ollé --- "Jorgensen, Jens H" <[email protected]> escribió: > I think following line in the .pro file needs to be > changed. > > From: > > CONFIG += qt warn_on release > > to: > > CONFIG += qt thread warn_on release > > The problem seems to be that you end up linking with > the libqt.so instead of > libqt-mt.so > -- > Jens > > -----Original Message----- > From: Ferran Ollé [mailto:[email protected]] > Sent: Wednesday, July 17, 2002 6:36 AM > To: openqnx-developer-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org > Subject: [Openqnx-developer] HELP: The final TEST > > > Hi again. > > Finally i have installed this ( like Johan CARDON > some > weeks ago) : > > - QNX 6.2 NC > - XFree86 4.2 from 3rd Party Software > - QT3 binaries from OpenQNX site. > > Here is my .profile > > ***************************************************** > > QTDIR=/opt/X11R6/qt3 > PATH=$QTDIR/bin:$PATH > MANPATH=$QTDIR/man:$MANPATH > LD_LIBRARY_PATH=$QTDIR/lib:$LD_LIBRARY_PATH > > export QTDIR PATH MANPATH LD_LIBRARY_PATH > > export PATH=/opt/X11R6/bin:$PATH > export > LD_LIBRARY_PATH=/opt/X11R6/lib:$LD_LIBRARY_PATH > > export PATH=/usr/photon/bin:$PATH > > ****************************************************** > > The Designer and all the QT soft works good. > > But, the problems are when compiling a project. > I did a very simple aplication, here is the .PRO > file > > *************************************************** > SOURCES += main.cpp > unix { > UI_DIR = .ui > MOC_DIR = .moc > OBJECTS_DIR = .obj > } > FORMS = form1.ui > DEFINES += QT_NO_STL > TEMPLATE =app > CONFIG += qt warn_on release > DBFILE = test.db > LANGUAGE = C++ > **************************************************** > > then > > qmake -o Makefile test.pro > > and here is the error: > > **************************************************** > # make > g++ -c -pipe -Wall -W -O -fno-inline > -fno-pack-struct > -DQT_NO_STL -DQT_NO_DEBUG > -I/opt/X11R6/qt3/include -I.ui/ -I/root -I.moc/ > -I/opt/X11R6/qt3/mkspecs/defaul > t -o .obj/main.o main.cpp > /opt/X11R6/qt3/bin/uic form1.ui -i form1.h -o > .ui/form1.cpp > g++ -c -pipe -Wall -W -O -fno-inline > -fno-pack-struct > -DQT_NO_STL -DQT_NO_DEBUG > -I/opt/X11R6/qt3/include -I.ui/ -I/root -I.moc/ > -I/opt/X11R6/qt3/mkspecs/defaul > t -o .obj/form1.o .ui/form1.cpp > .ui/form1.cpp:24: warning: `class QPixmap > uic_load_pixmap_Form1(const QString &) > ' defined but not used > /opt/X11R6/qt3/bin/moc .ui/form1.h -o > .moc/moc_form1.cpp > g++ -c -pipe -Wall -W -O -fno-inline > -fno-pack-struct > -DQT_NO_STL -DQT_NO_DEBUG > -I/opt/X11R6/qt3/include -I.ui/ -I/root -I.moc/ > -I/opt/X11R6/qt3/mkspecs/defaul > t -o .obj/moc_form1.o .moc/moc_form1.cpp > g++ -o test .obj/main.o .obj/form1.o > .obj/moc_form1.o > -Wl,-rpath,/opt/X11R6/qt > 3/lib -L/opt/X11R6/qt3/lib -L/opt/X11R6/lib -lqt > -lXext -lX11 -lsocket -lm > /usr/bin/ntox86-ld: cannot find -lqt > collect2: ld returned 1 exit status > make: *** [test] Error 1 > ***************************************************** > > Please if someone can help me......... > or i'll leave QNX and work with Linux ( that i hope > i'll have less problems ) > > thx, > Ferran Ollé > > > > _______________________________________________________________ > Yahoo! Messenger > Nueva versión: Webcam, voz, y mucho más ¡Gratis! > Descárgalo ya desde http://messenger.yahoo.es > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > openqnx-developer mailing list > openqnx-developer-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org > https://lists.sourceforge.net/lists/listinfo/openqnx-developer > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > openqnx-developer mailing list > openqnx-developer-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org > https://lists.sourceforge.net/lists/listinfo/openqnx-developer _______________________________________________________________ Yahoo! Messenger Nueva versión: Webcam, voz, y mucho más ¡Gratis! Descárgalo ya desde http://messenger.yahoo.es