Unknown module(s) in QT: quick



  • Hi,

    I cross compiled QT 5.5.1 from source and deployed to the target.

    When I try to compile the "Gallery" example I get:

    Unknown module(s) in QT: quit

    in the issues window

    and it stops there.

    how can I fix this?


  • Lifetime Qt Champion

    Hi,

    Are you sure the module did get cross-compiled ? Is it installed on your target ?



  • How do I check for that?

    I ve read all kinds of posts about this and I am still not sure how to verify if my ./configure finished with the proper module being enabled or not.

    After I installed "qtbase" I went to "qtdeclarative", "qtquick1", "qtgraphicaleffects" and a few other, and compiled and installed them, but QTCreator still complains about not having the module "quick".

    This is the summary output from configure:

    qmake vars .......... styles += mac fusion windows DEFINES += QT_NO_MTDEV QMAKE_CFLAGS_FONTCONFIG = QMAKE_LIBS_FONTCONFIG
    = -lfreetype -lfontconfig DEFINES += QT_NO_LIBINPUT QMAKE_X11_PREFIX = /usr DEFINES += QT_NO_XKB QMAKE_XKB_CONFIG_ROOT =
    /usr/share/X11/xkb INCLUDEPATH += "/mnt/bbb-nfs/usr/include/freetype2" "/mnt/bbb-nfs/usr/include/glib-2.0" LIBS += -l"z"
    -l"rt" sql-drivers = sql-plugins = sqlite qmake switches .........

    Build options:
    Configuration .......... accessibility accessibility-atspi-bridge alsa audio-backend c++11 clock-gettime clock-monotonic
    compile_examples concurrent cross_compile dbus egl eglfs egl_x11 enable_new_dtags evdev eventfd fontconfig full-config ge
    taddrinfo getifaddrs harfbuzz iconv inotify ipv6ifname large-config largefile libudev linuxfb medium-config minimal-config
    mremap nis no-pkg-config opengl openssl openvg pcre png posix_fallocate precompile_header qpa qpa reduce_exports release
    rpath shared silent small-config system-freetype system-jpeg system-png system-sqlite system-zlib tslib use_gold_linker xc
    b xcb-glx xcb-plugin xcb-render xcb-xlib xinput2 xkbcommon-qt xlib xrender
    Build parts ............ libs
    Mode ................... release
    Using sanitizer(s)...... none
    Using C++11 ............ yes
    Using gold linker....... yes
    Using new DTAGS ........ yes
    Using PCH .............. yes
    Target compiler supports:
    Neon ................. no

    Qt modules and options:
    Qt D-Bus ............... yes (loading dbus-1 at runtime)
    Qt Concurrent .......... yes
    Qt GUI ................. yes
    Qt Widgets ............. yes
    Large File ............. yes
    QML debugging .......... yes
    Use system proxies ..... no

    Support enabled for:
    Accessibility .......... yes
    ALSA ................... yes
    CUPS ................... no
    Evdev .................. yes
    FontConfig ............. yes
    FreeType ............... yes (system library)
    Glib ................... no
    GStreamer .............. no
    GTK theme .............. no
    HarfBuzz ............... yes (bundled copy)
    Iconv .................. yes
    ICU .................... no
    Image formats:
    GIF .................. yes (plugin, using bundled copy)
    JPEG ................. yes (plugin, using system library)
    PNG .................. yes (in QtGui, using system library)
    journald ............... no
    libinput................ no
    mtdev .................. no
    Networking:
    getaddrinfo .......... yes
    getifaddrs ........... yes
    IPv6 ifname .......... yes
    libproxy.............. no
    OpenSSL .............. yes (loading libraries at run-time)
    NIS .................... yes
    OpenGL / OpenVG:
    EGL .................. yes
    OpenGL ............... desktop
    OpenVG ............... yes-auto
    PCRE ................... yes (bundled copy)
    pkg-config ............. no
    PulseAudio ............. no
    QPA backends:
    DirectFB ............. no
    EGLFS ................ yes
    EGLFS i.MX6....... . no
    EGLFS KMS .......... no
    EGLFS Mali ......... no
    EGLFS Raspberry Pi . no
    EGLFS X11 .......... yes
    LinuxFB .............. yes
    XCB .................. yes (system library)
    EGL on X ........... yes
    GLX ................ yes
    MIT-SHM ............ yes
    Xcb-Xlib ........... yes
    Xcursor ............ yes (loaded at runtime)
    Xfixes ............. yes (loaded at runtime)
    Xi ................. no
    Xi2 ................ yes
    Xinerama ........... yes (loaded at runtime)
    Xrandr ............. yes (loaded at runtime)
    Xrender ............ yes
    XKB ................ no
    XShape ............. yes
    XSync .............. yes
    XVideo ............. yes
    Session management ..... yes
    SQL drivers:
    DB2 .................. no
    InterBase ............ no
    MySQL ................ no
    OCI .................. no
    ODBC ................. no
    PostgreSQL ........... no
    SQLite 2 ............. no
    SQLite ............... yes (plugin, using system library)
    TDS .................. no
    tslib .................. yes
    udev ................... yes
    xkbcommon-x11........... yes (bundled copy, XKB config root: /usr/share/X11/xkb)
    xkbcommon-evdev......... no
    zlib ................... yes (system library)

    NOTE: Qt is using double for qreal on this system. This is binary incompatible against Qt 5.1.
    Configure with '-qreal float' to create a build that is binary compatible with 5.1.

    Qt is now configured for building. Just run 'make'.
    Once everything is built, you must run 'make install'.
    Qt will be installed into /opt/QT-5.5.1

    Prior to reconfiguration, make sure you remove any leftovers from
    the previous build.


  • Lifetime Qt Champion

    Check the content of the lib folder of your Qt installation folder.



  • in /opt/QT-5.5.1 this is what I have: ( NOTE: I ve omitted the libs with .la extension and .so.x.x extensions since the prefixes match the .so libs listed here )

    libEnginio.so
    libQt5Help.so
    libQt5ScriptTools.so
    libQt5CLucene.so
    libQt5Multimedia.so
    libQt5Sql.so
    libQt5Concurrent.so
    libQt5MultimediaWidgets.so
    libQt5Test.so
    libQt5Core.so
    libQt5Network.so
    libQt5Widgets.so
    libQt5DBus.so
    libQt5OpenGL.so
    libQt5XcbQpa.so
    libQt5Declarative.so
    libQt5PrintSupport.so
    libQt5Xml.so
    libQt5EglDeviceIntegration.so
    libQt5Qml.so
    libQt5Gui.so
    libQt5Script.so

    I am assuming you will say I am missing some library, and if so could you tell me how to get it to build?

    I appreciate your help


  • Lifetime Qt Champion

    Did you do an out of source build ?



  • "out of source build"? not sure what you mean exactly, but I assume you mean whether I checked out the source code and did a build from that?

    What I did was go to the qt.io site, and downloaded the source, which came as a tar file named:

    qt-everywhere-opensource-src-5.5.1.tar

    I extracted that to my host and built that. Is that what you mean?


  • Lifetime Qt Champion

    I meant: did you run configure in the source tree or from a folder outside of it i.e.:

    tar -xjvf qt-everywhere-opensource-src-5.5.1.tar.bz2
    cd qt-everywhere-opensource-src-5.5.1
    ./configure
    

    or

    tar -xjvf qt-everywhere-opensource-src-5.5.1.tar.bz2
    mkdir build_qt5
    cd build_qt
    ../qt-everywhere-opensource-src-5.5.1/configure
    

    ?



  • I expanded to:

    ~/Qt-Source/qt-everywhere-opensource-src-5.5.1

    then I did:

    cd ~/Qt-Source/qt-everywhere-opensource-src-5.5.1/qtbase

    and configured from there. then make and make install all from "qtbase".

    Then I:

    cd ..

    and cd into each one of the modules and did make and make install from each one ( most of them, some I couldn't because it said again that Moudule "quick" handnt been found ).


  • Lifetime Qt Champion

    Did you build the qtdeclarative module ?



  • Ah, you are right, somehow I guess I hadn't install qtdeclarative.

    I tried making and installing it again, and now it works.

    Thanks


  • Lifetime Qt Champion

    You're welcome !

    Since you have it working now, please mark the thread as solved using the "Topic Tool" button so other forum users may know a solution has been found :)


Log in to reply
 

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