QUiLoader on ARM



  • I'm want to compile my program that have a #include <QUiLoder> to use it.
    But when I compile it there's an error saying that QUiLoder not found.
    Any help please





  • i have the same problem! it seems that Qt 4.x.x has a bug that it won't build uitools module when cross-compiling.Have you solved the problem?


  • Lifetime Qt Champion

    Hi and welcome to devnet,

    IIRC the QtUiTools module is built only when you also build the UI tools like designer and friends which is generally not the case when you cross-compile



  • [quote author="SGaist" date="1399495114"]Hi and welcome to devnet,

    IIRC the QtUiTools module is built only when you also build the UI tools like designer and friends which is generally not the case when you cross-compile[/quote]
    Thanks! How to configure the options to cross-compile QT with the UItools module included?


  • Lifetime Qt Champion

    I don't know for the configure script, however, one thing you can try is build them directly. The project file is in tools/designer/src/uitools/uitools.pro



  • Many thanks! I'll try it!



  • [quote author="SGaist" date="1399752202"]I don't know for the configure script, however, one thing you can try is build them directly. The project file is in tools/designer/src/uitools/uitools.pro [/quote]
    Thanks for your advice! I tried it and solved the problem!



  • I successfully BUILD them. and now I can include the QUILoder



  • @
    /opt/FriendlyARM/toolschain/4.5.1/lib/gcc/arm-none-linux-gnueabi/4.5.1/../../../../arm-none-linux-gnueabi/bin/ld: error: /usr/local/Trolltech/QtEmbedded-4.7.0-arm/lib/libQtUiTools.a(quiloader.o) uses VFP register arguments, updateUI does not
    /opt/FriendlyARM/toolschain/4.5.1/lib/gcc/arm-none-linux-gnueabi/4.5.1/../../../../arm-none-linux-gnueabi/bin/ld: failed to merge target specific data of file /usr/local/Trolltech/QtEmbedded-4.7.0-arm/lib/libQtUiTools.a(quiloader.o)
    /opt/FriendlyARM/toolschain/4.5.1/lib/gcc/arm-none-linux-gnueabi/4.5.1/../../../../arm-none-linux-gnueabi/bin/ld: error: /usr/local/Trolltech/QtEmbedded-4.7.0-arm/lib/libQtUiTools.a(moc_quiloader.o) uses VFP register arguments, updateUI does not
    /opt/FriendlyARM/toolschain/4.5.1/lib/gcc/arm-none-linux-gnueabi/4.5.1/../../../../arm-none-linux-gnueabi/bin/ld: failed to merge target specific data of file /usr/local/Trolltech/QtEmbedded-4.7.0-arm/lib/libQtUiTools.a(moc_quiloader.o)@



  • What's your detailed configuration options when installing qt-4.7.0?


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.