QT everywhere, but not at me :(
-
Hi there,
I am working with wince7. I did successfully compile with the QTCreator a Widget GUI for CE7 but I do not have the fitting CE7 QT5*.dll files. So I downloaded QT everwhere and followed this instructions:
http://blog.qt.digia.com/blog/2013/07/30/the-state-of-wince-support-in-qt5/my configure:
@configure -release -opensource -platform win32-msvc2008 -xplatform wince70embedded-armv4i-msvc2008 -qt-zlib -qt-libpng -qt-libjpeg -no-openssl -no-dbus -vcproj -ltcg@my qmake.conf:
@CE_SDK = SDK2wince7 # This is the Toradex SDK
CE_ARCH = ARMv4I
QT_CONFIG -= accessibility@It starts very well, but then it stopps compiling with a compiler error
@qabstractanimation.cpp
c:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\ce\include\vector(304) : f
atal error C1001: Interner Compilerfehler.
(Compilerdatei "msc1.cpp", Zeile 1411)
Vereinfachen oder ändern Sie das Programm im Umfeld der oben aufgeführten Posit
ionen. Wählen
Sie im Menü "Hilfe" von Visual C++ den Befehl "Technischer Support",
oder öffnen Sie die Hilfedatei des technischen Supports, um weitere Informatione
n zu erhalten.
Interner Compilerfehler in c:\Program Files (x86)\Microsoft Visual Studio 9.0\VC
\ce\bin\x86_arm\cl.EXE. Sie werden aufgefordert, später einen Fehlerbericht an M
icrosoft zu senden.
NMAKE : fatal error U1077: ""c:\Program Files (x86)\Microsoft Visual Studio 9.0
VC\ce\bin\x86_arm\cl.EXE"": Rückgabe-Code "0x1"
Stop.
NMAKE : fatal error U1077: ""c:\Program Files (x86)\Microsoft Visual Studio 9.0
VC\BIN\nmake.exe"": Rückgabe-Code "0x2"
Stop.
NMAKE : fatal error U1077: "cd": Rückgabe-Code "0x2"
Stop.
NMAKE : fatal error U1077: "cd": Rückgabe-Code "0x2"
Stop.
NMAKE : fatal error U1077: "cd": Rückgabe-Code "0x2"
Stop.@What is wrong?
-
Hi and welcome to devnet,
My German is a bit rusty but it looks like an internal compiler error. Since you got the SDK from Toradex, you should contact them to see if something they already encountered.
-
Ok, so my next question would be:
We know it is a arm compiler, why we need a toradex SDK to compile?
For QT there is no board specific configuration needed like I2C or processor outputs. OpenGL can be disabled or loaded dynamically. I cannot find out how I compile it for general ArmV4I which is running on any ArmV4I board?
I did former use the QT4 embedded package. With this QT4 I do simple copy the dll files to any CE Arm4I platform. Now with QT5 it is not possible. -
Since you wrote "# This is the Toradex SDK", I guess you are using e.g. their Colibri board. So they provide what is needed to develop properly on their device, whether you will use some or none of the hardware available is another question.
Do you mean you cross-compiled Qt 4 for that board already ?
-
No, QT4 embeddd comes with pre- compiled dll files that work on CE of different boards. The linked QT page say it is not possible to be hardware independent with QT5 for a unknown reason.
However, the toradex SDK does not compile QT5 as described in first post, so I am lost. -
When you say "not possible to be hardware independent", are you referring to the qmake.conf edition ?
That's why I suggested to ask the Toradex folks whether they were aware of that issue.