Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

    Call for Presentations - Qt World Summit

    Building Qt creator with private headers

    General and Desktop
    1
    1
    2768
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • D
      diocletian74 last edited by

      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

      1 Reply Last reply Reply Quote 0
      • First post
        Last post