Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QML and Qt Quick
  4. Cross compiling qtdeclarative?

Cross compiling qtdeclarative?

Scheduled Pinned Locked Moved QML and Qt Quick
1 Posts 1 Posters 1.2k Views 1 Watching
  • 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.
  • clogwogC Offline
    clogwogC Offline
    clogwog
    wrote on last edited by
    #1

    i'm trying to cross-compile the qtdeclarative module and am getting an error:

    @...
    make[4]: Entering directory /home/tom/Downloads/qt/qt-everywhere-opensource-src-5.1.0/qtdeclarative/src/plugins/qmltooling/qmldbg_qtquick2' arm-none-linux-gnueabi-g++ -c -pipe -O2 -fvisibility=hidden -fvisibility-inlines-hidden -std=c++0x -fno-exceptions -Wall -W -D_REENTRANT -fPIC -DQT_NO_LIBUDEV -DQT_NO_EXCEPTIONS -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -DQT_NO_DEBUG -DQT_PLUGIN -DQT_QUICK_LIB -DQT_QML_LIB -DQT_NETWORK_LIB -DQT_GUI_LIB -DQT_V8_LIB -DV8_SHARED -DUSING_V8_SHARED -DQT_CORE_LIB -I/home/tom/Downloads/qt/qt-everywhere-opensource-src-5.1.0/qtbase/mkspecs/arm-none-linux-gnueabi-g++ -I. -I/usr/local/arm-2009q1/arm-none-linux-gnueabi/libc/usr/include -I. -I../shared -I/home/tom/Downloads/qt/rootfs/opt/qt5.1/include -I/home/tom/Downloads/qt/rootfs/opt/qt5.1/include/QtQuick -I/home/tom/Downloads/qt/rootfs/opt/qt5.1/include/QtQuick/5.1.0 -I/home/tom/Downloads/qt/rootfs/opt/qt5.1/include/QtQuick/5.1.0/QtQuick -I../../../../include -I../../../../include/QtQml -I../../../../include/QtQml/5.1.0 -I../../../../include/QtQml/5.1.0/QtQml -I/home/tom/Downloads/qt/rootfs/opt/qt5.1/include/QtNetwork -I/home/tom/Downloads/qt/rootfs/opt/qt5.1/include/QtGui -I/home/tom/Downloads/qt/rootfs/opt/qt5.1/include/QtGui/5.1.0 -I/home/tom/Downloads/qt/rootfs/opt/qt5.1/include/QtGui/5.1.0/QtGui -I/home/tom/Downloads/qt/rootfs/opt/qt5.1/include -I/home/tom/Downloads/qt/rootfs/opt/qt5.1/include/QtV8 -I/home/tom/Downloads/qt/rootfs/opt/qt5.1/include/QtV8/5.1.0 -I/home/tom/Downloads/qt/rootfs/opt/qt5.1/include/QtV8/5.1.0/QtV8 -I/home/tom/Downloads/qt/rootfs/opt/qt5.1/include/QtCore -I/home/tom/Downloads/qt/rootfs/opt/qt5.1/include/QtCore/5.1.0 -I/home/tom/Downloads/qt/rootfs/opt/qt5.1/include/QtCore/5.1.0/QtCore -I.moc/release-shared -o .obj/release-shared/qquickviewinspector.o qquickviewinspector.cpp qquickviewinspector.cpp:49:42: fatal error: QtQuick/private/qquickitem_p.h: No such file or directory compilation terminated. make[4]: *** [.obj/release-shared/qquickviewinspector.o] Error 1 make[4]: Leaving directory /home/tom/Downloads/qt/qt-everywhere-opensource-src-5.1.0/qtdeclarative/src/plugins/qmltooling/qmldbg_qtquick2'
    make[3]: *** [sub-qmldbg_qtquick2-make_first] Error 2
    make[3]: Leaving directory /home/tom/Downloads/qt/qt-everywhere-opensource-src-5.1.0/qtdeclarative/src/plugins/qmltooling' make[2]: *** [sub-qmltooling-make_first] Error 2 make[2]: Leaving directory /home/tom/Downloads/qt/qt-everywhere-opensource-src-5.1.0/qtdeclarative/src/plugins'
    make[1]: *** [sub-plugins-make_first-ordered] Error 2
    make[1]: Leaving directory `/home/tom/Downloads/qt/qt-everywhere-opensource-src-5.1.0/qtdeclarative/src'
    make: *** [sub-src-make_first] Error 2
    @

    i tried to locate the qquickitem_p.h header file and i can find it at:

    @/home/tom/Downloads/qt/qt-everywhere-opensource-src-5.1.0/qtdeclarative/include/QtQuick/5.1.0/QtQuick/private/qquickitem_p.h
    and
    /home/tom/Downloads/qt/qt-everywhere-opensource-src-5.1.0/qtdeclarative/src/quick/items/qquickitem_p.h
    @

    but i'm not sure why it doesn't find it there because i can see it has added

    -I/home/tom/Downloads/qt/rootfs/opt/qt5.1/include/QtQuick/5.1.0

    to the compile options

    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