Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Building Qt creator with private headers

Building Qt creator with private headers

Scheduled Pinned Locked Moved General and Desktop
1 Posts 1 Posters 2.9k Views
  • 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 Offline
    D Offline
    diocletian74
    wrote on last edited by
    #1

    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
    0

    • Login

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Get Qt Extensions
    • Unsolved