View topic - Qt on QNX!
Qt on QNX!
22 posts
• Page 2 of 2 • 1, 2
Re: Qt on QNX!
QT 4.8 is ported to QNX and even 5.x version are in works.
- jinma
- Senior Member
- Posts: 428
- Joined: Thu Oct 28, 2004 10:13 pm
Re: Qt on QNX!
Hi
I have QNX Momentics IDE 6.5 SP1, I wanted to compile Qt on QNX. Is it possible to cross compile Qt with Momentics resources.
Where do I find gcc path for QNX, inorder to export the PATH and cross compile the Qt. Looking for suggestions.
I have QNX Momentics IDE 6.5 SP1, I wanted to compile Qt on QNX. Is it possible to cross compile Qt with Momentics resources.
Where do I find gcc path for QNX, inorder to export the PATH and cross compile the Qt. Looking for suggestions.
- umamahesh
- Active Member
- Posts: 39
- Joined: Thu Feb 19, 2015 6:12 am
Re: Qt on QNX!
umamahesh wrote:Hi
I have QNX Momentics IDE 6.5 SP1, I wanted to compile Qt on QNX. Is it possible to cross compile Qt with Momentics resources.
Yes it is possible. I don't know how it's done, but the earliest port I know of was Qt 4.7 which was ported by Dennis Kelly at QNX using a Linux system.
- maschoen
- QNX Master
- Posts: 2728
- Joined: Wed Jun 25, 2003 5:18 pm
Re: Qt on QNX!
Hi
I have downloaded Qt-4.8.6 and tryiing to compile for QNX-6.5 SP1, following I did to configure and make
Following is the error initially, Am I missing anything in the environmental setup
After configuration is completed, proceeding with make
Following is the error
Looking for suggestions
I have downloaded Qt-4.8.6 and tryiing to compile for QNX-6.5 SP1, following I did to configure and make
QNX_TARGET="/opt/qnx650/target/qnx6"
QNX_HOST="/opt/qnx650/host/linux/x86"
QNX_CONFIGURATION="/etc/qnx"
MAKEFLAGS="-I$QNX_TARGET/usr/include"
LD_LIBRARY_PATH="$QNX_HOST/usr/lib:$LD_LIBRARY_PATH"
PATH="$QNX_HOST/usr/bin:$QNX_CONFIGURATION/bin:$QNX_HOST/usr/qde/eclipse/jre/bin:$PATH"
export QNX_TARGET QNX_HOST QNX_CONFIGURATION MAKEFLAGS LD_LIBRARY_PATH PATH
./configure -prefix $HOME/Documents/qt_qnx/qt-everywhere-opensource-src-4.8.6 -xplatform qnx-armv7le-qcc -opengl es2 -nomake docs -opensource -confirm-license -release -no-neon -no-mmx -no-3dnow -no-sse -no-sse2 -no-glib -no-cups -no-largefile -no-accessibility -no-openssl -no-gtkstyle -fast
Following is the error initially, Am I missing anything in the environmental setup
cc1plus: error: unrecognized command line option "-fstack-protector-strong"
cc: /opt/qnx650/host/linux/x86/usr/lib/gcc/arm-unknown-nto-qnx6.5.0eabi/4.4.2/cc1plus error 1
After configuration is completed, proceeding with make
Following is the error
obj/release-shared/qabstractanimation.o animation/qabstractanimation.cpp
In file included from ../../include/QtCore/qlist.h:1,
from ../../include/QtCore/../../src/corelib/kernel/qobject.h:50,
from ../../include/QtCore/qobject.h:1,
from ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:45,
from ../../include/QtCore/qcoreapplication.h:1,
from global/qt_pch.h:58:
../../include/QtCore/../../src/corelib/arch/qatomic_x86_64.h: In destructor 'QList<T>::~QList() [with T = QAbstractAnimation*]':
../../include/QtCore/../../src/corelib/arch/qatomic_x86_64.h:133: error: impossible constraint in 'asm'
cc: /opt/qnx650/host/linux/x86/usr/lib/gcc/arm-unknown-nto-qnx6.5.0eabi/4.4.2/cc1plus error 1
make[1]: *** [.obj/release-shared/qabstractanimation.o] Error 1
make[1]: Leaving directory `/home/prudvi/Documents/qt_qnx/qt-everywhere-opensource-src-4.8.6/src/corelib'
make: *** [sub-corelib-make_default-ordered] Error 2
Looking for suggestions
- umamahesh
- Active Member
- Posts: 39
- Joined: Thu Feb 19, 2015 6:12 am
Re: Qt on QNX!
It looks to me like the kind of problem you get where Qt wants you to use a newer version of the compiler. Just a guess.
But you can look in the .h file and see what the problem is.
But you can look in the .h file and see what the problem is.
- maschoen
- QNX Master
- Posts: 2728
- Joined: Wed Jun 25, 2003 5:18 pm
Re: Qt on QNX!
I found one more problem by using make -v, it says compiling for x86_64 (ie host) looking how to change it to target(armv7le)
- umamahesh
- Active Member
- Posts: 39
- Joined: Thu Feb 19, 2015 6:12 am
Re: Qt on QNX!
Any suggestions for my previous post. Looking for suggestions very urgently.
- umamahesh
- Active Member
- Posts: 39
- Joined: Thu Feb 19, 2015 6:12 am
22 posts
• Page 2 of 2 • 1, 2
Who is online
Users browsing this forum: No registered users and 1 guest