Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt Creator and other tools
  4. Error running imported project
Forum Updated to NodeBB v4.3 + New Features

Error running imported project

Scheduled Pinned Locked Moved Solved Qt Creator and other tools
15 Posts 5 Posters 1.9k Views 3 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.
  • I Offline
    I Offline
    imene
    wrote on last edited by imene
    #1

    Qt creator gives me in return this when i try to open an .pro file project
    4869d85b-847f-4bfd-9d80-6cecb7bc8d09-image.png
    And when i run .pro file it gives me in return this error:
    d22a12f7-c2d1-4304-a1ee-a575d5a607e8-image.png
    OS: Raspbian GNU/Linux 11 (bullseye) [linux version 5.15.53-v7+]
    Qt Creator 4.14.1
    Based on Qt 5.15.2 (GCC 10.2.1 20210110, 32 bit)

    1 Reply Last reply
    0
    • mrjjM Offline
      mrjjM Offline
      mrjj
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi
      How did you install Qt ?
      Seems only the base was installed and not QML
      try with this
      https://packages.debian.org/bullseye/libqt5qml5
      and this
      https://packages.debian.org/bullseye/libs/libqt5serialbus5-plugins

      I 1 Reply Last reply
      0
      • SGaistS Offline
        SGaistS Offline
        SGaist
        Lifetime Qt Champion
        wrote on last edited by
        #3

        Hi,

        The .pro.user file is specific to the machine where you used Qt Creator, it's not a file that you move around and typically exclude vcs systems.

        As for the other error, as @mrjj already wrote, you did not install the corresponding development packages on your RPi.

        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
        2
        • mrjjM mrjj

          Hi
          How did you install Qt ?
          Seems only the base was installed and not QML
          try with this
          https://packages.debian.org/bullseye/libqt5qml5
          and this
          https://packages.debian.org/bullseye/libs/libqt5serialbus5-plugins

          I Offline
          I Offline
          imene
          wrote on last edited by imene
          #4

          Hi @mrjj i do the Installation from repository packages (like this tuto : http://tvaira.free.fr/projets/activites/activite-qt5-rpi.html)
          How could i add those packages that u recommanded ?

          jsulmJ 1 Reply Last reply
          0
          • I imene

            Hi @mrjj i do the Installation from repository packages (like this tuto : http://tvaira.free.fr/projets/activites/activite-qt5-rpi.html)
            How could i add those packages that u recommanded ?

            jsulmJ Offline
            jsulmJ Offline
            jsulm
            Lifetime Qt Champion
            wrote on last edited by
            #5

            @imene said in Error running imported project:

            How could i add those packages that u recommanded ?

            sudo apt install libqt5qml5 libqt5serialbus5-plugins
            

            https://forum.qt.io/topic/113070/qt-code-of-conduct

            1 Reply Last reply
            1
            • I Offline
              I Offline
              imene
              wrote on last edited by imene
              #6

              Hi again
              Thanks @jsulm resolved
              An other error:
              :-1: error: Project ERROR: Unknown module(s) in QT: quick quickwidgets quickcontrols2 serialbus

              50a2d59a-a362-488f-bc5d-13d2347af67d-image.png

              jsulmJ 1 Reply Last reply
              0
              • I imene

                Hi again
                Thanks @jsulm resolved
                An other error:
                :-1: error: Project ERROR: Unknown module(s) in QT: quick quickwidgets quickcontrols2 serialbus

                50a2d59a-a362-488f-bc5d-13d2347af67d-image.png

                jsulmJ Offline
                jsulmJ Offline
                jsulm
                Lifetime Qt Champion
                wrote on last edited by
                #7

                @imene Same as with the other module: install these missing modules...

                https://forum.qt.io/topic/113070/qt-code-of-conduct

                1 Reply Last reply
                0
                • I Offline
                  I Offline
                  imene
                  wrote on last edited by
                  #8

                  @jsulm It returns me this error:
                  pi@raspberrypi:~ $ sudo apt install quick quickwidgets quickcontrols2 serialbus Reading package lists... Done
                  Building dependency tree... Done
                  Reading state information... Done
                  E: Unable to locate package quick
                  E: Unable to locate package quickwidgets
                  E: Unable to locate package quickcontrols2
                  E: Unable to locate package serialbus

                  1 Reply Last reply
                  0
                  • JoeCFDJ Offline
                    JoeCFDJ Offline
                    JoeCFD
                    wrote on last edited by JoeCFD
                    #9

                    You typed wrong package names. The package names start with libqt5 as in jsulm's reply.
                    or
                    apt list libqt5*
                    to list all related packge names and install the ones you need.

                    you can also install synaptic
                    sudo apt-get install synaptic
                    then launch it with sudo synaptic
                    and search any package name(for example quickwidgets) and install it from there.

                    1 Reply Last reply
                    1
                    • I Offline
                      I Offline
                      imene
                      wrote on last edited by
                      #10

                      @JoeCFD
                      look what it gives me in turn:
                      sudo apt install libqt5quick libqt5quickwidgets libqt5quickcontrols2 libqt5serialbus
                      Reading package lists... Done
                      Building dependency tree... Done
                      Reading state information... Done
                      E: Unable to locate package libqt5quick
                      E: Unable to locate package libqt5quickwidgets
                      E: Unable to locate package libqt5quickcontrols2
                      E: Unable to locate package libqt5serialbus

                      And i get this when i search for them in synaptic:
                      e802f42d-ceb5-4c2d-bbdf-eea26244f769-image.png
                      746dd56b-b107-4d7b-afbe-f00314b49bd9-image.png
                      07fa7893-d9c5-4dca-b417-2a4b4a22364c-image.png

                      1 Reply Last reply
                      0
                      • SGaistS Offline
                        SGaistS Offline
                        SGaist
                        Lifetime Qt Champion
                        wrote on last edited by
                        #11

                        Install the dev packages for these modules.

                        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
                        • I Offline
                          I Offline
                          imene
                          wrote on last edited by
                          #12

                          @SGaist How could i install them ? i've added -dev after packages and it gives me the same error.

                          jsulmJ 1 Reply Last reply
                          0
                          • I imene

                            @SGaist How could i install them ? i've added -dev after packages and it gives me the same error.

                            jsulmJ Offline
                            jsulmJ Offline
                            jsulm
                            Lifetime Qt Champion
                            wrote on last edited by
                            #13

                            @imene In the screenshots you posted you can see the exact package names, so why don't you simply use these package names to install them?

                            https://forum.qt.io/topic/113070/qt-code-of-conduct

                            1 Reply Last reply
                            0
                            • I Offline
                              I Offline
                              imene
                              wrote on last edited by
                              #14

                              Thanks guys solved i've installed dev packages : qtdeclarative5-dev, libqtserialbus5-dev, qtquickcontrils2-5-dev.

                              This time the app does work but i get this warning:
                              6ab60f22-06c7-4db1-ab8b-8f73eeed668c-image.png

                              jsulmJ 1 Reply Last reply
                              0
                              • I imene

                                Thanks guys solved i've installed dev packages : qtdeclarative5-dev, libqtserialbus5-dev, qtquickcontrils2-5-dev.

                                This time the app does work but i get this warning:
                                6ab60f22-06c7-4db1-ab8b-8f73eeed668c-image.png

                                jsulmJ Offline
                                jsulmJ Offline
                                jsulm
                                Lifetime Qt Champion
                                wrote on last edited by
                                #15

                                @imene Remove the name of the parameter "column" if you do not use it to get rid of this warning

                                https://forum.qt.io/topic/113070/qt-code-of-conduct

                                1 Reply Last reply
                                1

                                • Login

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