Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. Error "no version information available"
Forum Updated to NodeBB v4.3 + New Features

Error "no version information available"

Scheduled Pinned Locked Moved Unsolved Installation and Deployment
9 Posts 2 Posters 3.8k 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.
  • N Offline
    N Offline
    neda
    wrote on last edited by neda
    #1

    Hi,
    I want to execute a "Qt Quick Controls Application" from windows to Raspberry pi3.
    I use this link:
    https://visualgdb.com/tutorials/raspberry/qt/embedded/

    I can run "Qt Widgets Application" but I can not run "Qt Quick Controls Application" and I have this error:

    /home/pi/untitled4: /usr/lib/arm-linux-.
    ...
    ....
    QQmlApplicationEngine failed to load component
    qrc:/main.qml:2 module "QtQuick" is not installed
    
    

    Update: I reinstalled Qt and I have new error:

    QML debugging is enabled. Only use this in a safe environment.
    Unable to query physical screen size, defaulting to 100 dpi.
    To override, set QT_QPA_EGLFS_PHYSICAL_WIDTH and QT_QPA_EGLFS_PHYSICAL_HEIGHT (in millimeters).
    QQmlApplicationEngine failed to load component
    qrc:/main.qml:2 module "QtQuick.Controls" plugin "qtquickcontrolsplugin" not found
    
    
    
    1 Reply Last reply
    0
    • sierdzioS Offline
      sierdzioS Offline
      sierdzio
      Moderators
      wrote on last edited by
      #2

      That guide is quite outdated. Check this one: https://wiki.qt.io/RaspberryPi2EGLFS I've followed it literally 2 days ago and it worked (with one small change: I added -no-gold-linker config option, and I skipped some Qt modules which I don't need: webview, script, qtquick1 etc.).

      To me it looks like your deployment is not complete - Qt is not properly installed on RPi. If you try to compile and run some QtWidgets example, does it work?

      (Z(:^

      N 1 Reply Last reply
      1
      • sierdzioS sierdzio

        That guide is quite outdated. Check this one: https://wiki.qt.io/RaspberryPi2EGLFS I've followed it literally 2 days ago and it worked (with one small change: I added -no-gold-linker config option, and I skipped some Qt modules which I don't need: webview, script, qtquick1 etc.).

        To me it looks like your deployment is not complete - Qt is not properly installed on RPi. If you try to compile and run some QtWidgets example, does it work?

        N Offline
        N Offline
        neda
        wrote on last edited by
        #3

        @sierdzio said in Error "no version information available":

        If you try to compile and run some QtWidgets example, does it work?

        yes

        1 Reply Last reply
        0
        • sierdzioS Offline
          sierdzioS Offline
          sierdzio
          Moderators
          wrote on last edited by
          #4

          Hm, ok so at least some parts do work.

          I still suspect that something is wrong with that guide - they claim it is ok to get qmake error during build and then do a partial reconfigure... this stinks. And they mix -xplatform with -device which is unnecessary (at least in newer Qt versions. Qt 5.5 is very old). When you open your qt installation directory (== where "make install" copied the libs), do you see any contents in <install dir>/qml/QtQuick/Controls.2/ ?

          (Z(:^

          N 1 Reply Last reply
          0
          • sierdzioS sierdzio

            Hm, ok so at least some parts do work.

            I still suspect that something is wrong with that guide - they claim it is ok to get qmake error during build and then do a partial reconfigure... this stinks. And they mix -xplatform with -device which is unnecessary (at least in newer Qt versions. Qt 5.5 is very old). When you open your qt installation directory (== where "make install" copied the libs), do you see any contents in <install dir>/qml/QtQuick/Controls.2/ ?

            N Offline
            N Offline
            neda
            wrote on last edited by neda
            #5

            @sierdzio said in Error "no version information available":

            do you see any contents in <install dir>/qml/QtQuick/Controls.2/ ?

            yes

            <install dir> => /usr/local/qt5

            1 Reply Last reply
            0
            • sierdzioS Offline
              sierdzioS Offline
              sierdzio
              Moderators
              wrote on last edited by
              #6

              how? Qt 5.5 did not have Controls.2 o_O. Which Qt version have you compiled?

              Well, I don't know. If QtWidgets examples work, it means the config is more or less good, and plugins dir is visible. Weird, weird. Check http://doc.qt.io/qt-5/deployment-plugins.html maybe?

              (Z(:^

              N 1 Reply Last reply
              0
              • sierdzioS sierdzio

                how? Qt 5.5 did not have Controls.2 o_O. Which Qt version have you compiled?

                Well, I don't know. If QtWidgets examples work, it means the config is more or less good, and plugins dir is visible. Weird, weird. Check http://doc.qt.io/qt-5/deployment-plugins.html maybe?

                N Offline
                N Offline
                neda
                wrote on last edited by
                #7

                @sierdzio said in Error "no version information available":

                Which Qt version have you compiled?

                Qt 5.5

                I don't know. Maybe I copied manual. I don't remember.

                sierdzioS 1 Reply Last reply
                0
                • N neda

                  @sierdzio said in Error "no version information available":

                  Which Qt version have you compiled?

                  Qt 5.5

                  I don't know. Maybe I copied manual. I don't remember.

                  sierdzioS Offline
                  sierdzioS Offline
                  sierdzio
                  Moderators
                  wrote on last edited by
                  #8

                  @neda said in Error "no version information available":

                  @sierdzio said in Error "no version information available":

                  Which Qt version have you compiled?

                  Qt 5.5

                  I don't know. Maybe I copied manual. I don't remember.

                  I'm sorry, then, I can't help if you don't know what you are working with. Get your environment sorted out and then come back if the problem persists.

                  I strongly recommend following this guide - it really works. The on you are using looks broken to me.

                  BTW. Here you claim you are on Qt 5.6.1.

                  (Z(:^

                  N 1 Reply Last reply
                  0
                  • sierdzioS sierdzio

                    @neda said in Error "no version information available":

                    @sierdzio said in Error "no version information available":

                    Which Qt version have you compiled?

                    Qt 5.5

                    I don't know. Maybe I copied manual. I don't remember.

                    I'm sorry, then, I can't help if you don't know what you are working with. Get your environment sorted out and then come back if the problem persists.

                    I strongly recommend following this guide - it really works. The on you are using looks broken to me.

                    BTW. Here you claim you are on Qt 5.6.1.

                    N Offline
                    N Offline
                    neda
                    wrote on last edited by
                    #9

                    @sierdzio said in Error "no version information available":

                    Get your environment sorted out and then come back if the problem persists.

                    Thank you. yes that's right.
                    I do all steps again.

                    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