Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. Unknown module(s) in QT: quick
QtWS25 Last Chance

Unknown module(s) in QT: quick

Scheduled Pinned Locked Moved Unsolved Mobile and Embedded
12 Posts 2 Posters 7.7k 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.
  • G Offline
    G Offline
    gtenrreiro
    wrote on 28 Dec 2015, 04:00 last edited by
    #1

    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?

    1 Reply Last reply
    0
    • S Offline
      S Offline
      SGaist
      Lifetime Qt Champion
      wrote on 28 Dec 2015, 23:18 last edited by
      #2

      Hi,

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

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      0
      • G Offline
        G Offline
        gtenrreiro
        wrote on 29 Dec 2015, 02:37 last edited by
        #3

        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.

        1 Reply Last reply
        0
        • S Offline
          S Offline
          SGaist
          Lifetime Qt Champion
          wrote on 29 Dec 2015, 22:47 last edited by
          #4

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

          Interested in AI ? www.idiap.ch
          Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

          1 Reply Last reply
          0
          • G Offline
            G Offline
            gtenrreiro
            wrote on 29 Dec 2015, 23:53 last edited by gtenrreiro
            #5

            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

            1 Reply Last reply
            0
            • S Offline
              S Offline
              SGaist
              Lifetime Qt Champion
              wrote on 30 Dec 2015, 00:12 last edited by
              #6

              Did you do an out of source build ?

              Interested in AI ? www.idiap.ch
              Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

              1 Reply Last reply
              0
              • G Offline
                G Offline
                gtenrreiro
                wrote on 30 Dec 2015, 02:17 last edited by
                #7

                "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?

                1 Reply Last reply
                0
                • S Offline
                  S Offline
                  SGaist
                  Lifetime Qt Champion
                  wrote on 30 Dec 2015, 20:34 last edited by
                  #8

                  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
                  

                  ?

                  Interested in AI ? www.idiap.ch
                  Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

                  1 Reply Last reply
                  0
                  • G Offline
                    G Offline
                    gtenrreiro
                    wrote on 31 Dec 2015, 22:54 last edited by
                    #9

                    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 ).

                    1 Reply Last reply
                    0
                    • S Offline
                      S Offline
                      SGaist
                      Lifetime Qt Champion
                      wrote on 31 Dec 2015, 23:08 last edited by SGaist 1 Jan 2016, 22:09
                      #10

                      Did you build the qtdeclarative module ?

                      Interested in AI ? www.idiap.ch
                      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

                      1 Reply Last reply
                      0
                      • G Offline
                        G Offline
                        gtenrreiro
                        wrote on 1 Jan 2016, 19:24 last edited by gtenrreiro 1 Jan 2016, 20:37
                        #11

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

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

                        Thanks

                        1 Reply Last reply
                        0
                        • S Offline
                          S Offline
                          SGaist
                          Lifetime Qt Champion
                          wrote on 1 Jan 2016, 22:10 last edited by
                          #12

                          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 :)

                          Interested in AI ? www.idiap.ch
                          Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

                          1 Reply Last reply
                          0

                          6/12

                          30 Dec 2015, 00:12

                          • Login

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