Building Qt creator with private headers



  • I have built a qt4.8 for the Freescale i.mx6 ART board and I have successfully integrated the qt4.8 qmake into qtcreator. However, when I try to view my qml scripts with the designer tab in qtcreator, the designer tab is always grayed out. I learned that the problem is the qmldesigner plugin did not build because the qmldesigner plugin requires private headers. I built qt with the configuration option -developer-build, and built the qtcreator. Also when I built qtcreator according to the instructions in the qtcreator readme file and told the qmake where to find the private headers in the qt-source build tree.

    Both times I built qt-creator I get this error

    /usr/bin/ld: skipping incompatible /usr/local/Trolltech/Qt-4.8.4/lib/libQtDeclarative.so when searching for -lQtDeclarative
    /usr/bin/ld: skipping incompatible /usr/local/Trolltech/Qt-4.8.4/lib/libQtDeclarative.so when searching for -lQtDeclarative
    /usr/bin/ld: cannot find -lQtDeclarative
    collect2: ld returned 1 exit status
    make[3]: *** [../../../lib/qtcreator/libQmlEditorWidgets.so.1.0.0] Error 1
    make[3]: Leaving directory /home/lucid/qt-creator-2.7.0-src/src/libs/qmleditorwidgets' make[2]: *** [sub-qmleditorwidgets-install_subtargets-ordered] Error 2 make[2]: Leaving directory/home/lucid/qt-creator-2.7.0-src/src/libs'
    make[1]: *** [sub-libs-install_subtargets-ordered] Error 2
    make[1]: Leaving directory `/home/lucid/qt-creator-2.7.0-src/src'
    make: *** [sub-src-install_subtargets-ordered] Error 2

    Any advice will be helpful


Log in to reply
 

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