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

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:folle000=mRCrAkd8dF0@public.gmane.org]
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

And I believe that there is a Project Options setting in Qt’s designer
that can set that “thread” flag for you. Apparently, the non-threaded
version of the Qt library is not included in the QNX distribution.

Warning: don’t hop to Linux just because you lack a library - you’ll
have similar issues with building Linux code. If you lack a good reason
for using QNX, then you might as well use Linux. If you do have a good
reason for using QNX, then you won’t be satisfied with Linux…

-----Original Message-----
From: openqnx-developer-admin=5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
[mailto:openqnx-developer-admin=5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org] On Behalf Of
Jorgensen, Jens H
Sent: Wednesday, July 17, 2002 6:54 AM
To: ‘Ferran Ollé’; openqnx-developer=5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
Subject: RE: [Openqnx-developer] HELP: The final TEST


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:folle000=mRCrAkd8dF0@public.gmane.org]
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

Thakyou very muchhhhhhhhhhhhhhhh !!
now it works perfectly :___)

KISSESSSS heheeh

Feran Ollé

— “Jorgensen, Jens H” <JHJ=UiaQT4aTYH8AvxtiuMwx3w@public.gmane.org> 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:folle000=> mRCrAkd8dF0@public.gmane.org> ]
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