[Development] Cross-compile Qt 4.8.x for QNX 6.5.0
Jake Petroules
Jake.Petroules at qt.io
Tue Dec 19 23:39:24 CET 2017
> On Dec 19, 2017, at 2:28 PM, Thiago Macieira <thiago.macieira at intel.com> wrote:
>
> On terça-feira, 19 de dezembro de 2017 12:44:36 PST Oleg Yadrov wrote:
>> Configuration finishes successfully, I run make a get a message
>> "qlocale_unix.cpp:36: error: '_CS_LOCALE' was not declared in this scope.
>
> qlocale_unix.cpp line 36 in Qt 4.8 is a comment:
>
> http://code.qt.io/cgit/qt/qt.git/tree/src/corelib/tools/qlocale_unix.cpp#n36
>
> Did you mean line 58?
> http://code.qt.io/cgit/qt/qt.git/tree/src/corelib/tools/qlocale_unix.cpp#n58
>
> If this is just an #include issue, try compiling with precompiled headers
> (pass -pch to configure).
>
>> Later on make stops due to multiple errors in QWSServer.
>
> QWS was *only* designed for Linux. Do not try to run it on any other platform.
> You should use X11 on QNX instead. The early QPA might work, but we really
> can't recommend it until Qt 5.
>
>> Am I doing something wrong, or is it really so that nobody tested if Qt >=
>> 4.8.5 builds for QNX 6.5 before me?
>
> You are doing something wrong: trying Qt 4.8 for any new project in
> almost-2018. Please upgrade.
Consulting services...
>
>> PS: I'm not sure what "-embedded i386" parameter is needed for, but if I
>> don't specify it, make fails due to something related to X11 header files.
>
> Don't pass options you don't understand. That option is the one that turned
> the Linux-only QWS subsystem on. Remove it and make sure your buildsystem has
> X11 headers.
>
> Or upgrade to Qt 5.
>
> --
> Thiago Macieira - thiago.macieira (AT) intel.com
> Software Architect - Intel Open Source Technology Center
>
> _______________________________________________
> Development mailing list
> Development at qt-project.org
> http://lists.qt-project.org/mailman/listinfo/development
--
Jake Petroules - jake.petroules at qt.io
The Qt Company - Silicon Valley
Qbs build tool evangelist - qbs.io
More information about the Development
mailing list