Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt
  • Unsolved
Collapse
qtws26_logo

The Qt Event of the Year: Qt World Summit 2026

Save Your Spot >
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Problems when i launch Qt executable from folder
Qt 6.12 LTS is out! See what's new in the release blog

Problems when i launch Qt executable from folder

Scheduled Pinned Locked Moved Solved General and Desktop
21 Posts 5 Posters 8.7k 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.
  • A Offline
    A Offline
    Adrian.Aioanei
    wrote on last edited by
    #7

    Thank you for your replay @J-Hilk , @Ni-Sumi
    I will try when i will go back to my pc to see if this solution solve the problem. :)

    1 Reply Last reply
    0
    • A Offline
      A Offline
      Adrian.Aioanei
      wrote on last edited by
      #8

      I have try and also doesn't work.
      Can have a connection with the path to the build directory?
      I have change that path from Qt and now i receive a warning and say "The build directory needs to be at the same level as the source directory".

      jsulmJ 1 Reply Last reply
      0
      • A Adrian.Aioanei

        I have try and also doesn't work.
        Can have a connection with the path to the build directory?
        I have change that path from Qt and now i receive a warning and say "The build directory needs to be at the same level as the source directory".

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

        @Adrian.Aioanei Build directory? Why? You want to deploy your app, right? Check http://doc.qt.io/qt-5/windows-deployment.html

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

        1 Reply Last reply
        0
        • A Offline
          A Offline
          Adrian.Aioanei
          wrote on last edited by Adrian.Aioanei
          #10

          Yes, that's what i have done but still doesn't work. Every time when i launch my application popup a little window witch doesn't have any connection with my application. Here is what i get.
          alt text
          This is not how looks my application when i lunch from Qt. It has some buttons, labels and so on.

          jsulmJ 1 Reply Last reply
          0
          • A Adrian.Aioanei

            Yes, that's what i have done but still doesn't work. Every time when i launch my application popup a little window witch doesn't have any connection with my application. Here is what i get.
            alt text
            This is not how looks my application when i lunch from Qt. It has some buttons, labels and so on.

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

            @Adrian.Aioanei Set QT_DEBUG_PLUGINS to != 0 before starting your app in cmd and see whether any plug-ins are missing or failed to load. See http://doc.qt.io/qt-5/debug.html

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

            1 Reply Last reply
            1
            • A Offline
              A Offline
              Adrian.Aioanei
              wrote on last edited by Adrian.Aioanei
              #12

              I will try and also i will try on a new machine to see if the result is the same.
              I will came back with results.
              Thanks :)

              1 Reply Last reply
              0
              • A Offline
                A Offline
                Adrian.Aioanei
                wrote on last edited by Adrian.Aioanei
                #13

                I have try on a new workstation and i have rebuild the project but the result is the same. I have made deploy using windeployqt following this video link. I have study the executable with dependency walker show me some missing dll. I was thinking the dll problem is solved by windeployqt . Here is a print
                alt text
                That dll name doesn't tell to much.
                PS: I have also try to make an empty QML Quick 2 Application and make deploy. Also doesn't work...

                UPDATE : I have close the application and rebuild again and now say :

                qrc:/test.qml:4:1: module "QtQuick.Controls" is not installed
                qrc:/test.qml:5:1: module "QtQuick.Controls.Styles" is not installed
                qrc:/test.qml:3:1: module "QtQuick.Window" is not installed
                qrc:/test.qml:1:1: module "QtQuick" is not installed
                qrc:/test.qml:4:1: module "QtQuick.Controls" is not installed
                qrc:/test.qml:5:1: module "QtQuick.Controls.Styles" is not installed
                qrc:/test.qml:3:1: module "QtQuick.Window" is not installed
                qrc:/test.qml:1:1: module "QtQuick" is not installed
                qrc:/test.qml:4:1: module "QtQuick.Controls" is not installed
                qrc:/test.qml:5:1: module "QtQuick.Controls.Styles" is not installed
                qrc:/test.qml:3:1: module "QtQuick.Window" is not installed
                qrc:/test.qml:1:1: module "QtQuick" is not installed
                qrc:/test.qml:4:1: module "QtQuick.Controls" is not installed
                qrc:/test.qml:5:1: module "QtQuick.Controls.Styles" is not installed
                qrc:/test.qml:3:1: module "QtQuick.Window" is not installed

                I have Qt 5.8.0

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

                  Hi,

                  You should use the -qml parameter of windeployqt so that it can go parse your application qml files and deploy what's needed to support them.

                  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
                  1
                  • A Offline
                    A Offline
                    Adrian.Aioanei
                    wrote on last edited by
                    #15

                    Yes @SGaist , that was the problem.
                    The above error appears in qt creator when i have created the new project and i don't understand why.
                    I just made a new project and i have copy all the file from the old one to the new one and show this error when i try to launch.
                    The old project works fine without any error.
                    Do i need to setup something from project configuration ?

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

                      Do you mean from Qt Creator ?

                      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
                      • A Offline
                        A Offline
                        Adrian.Aioanei
                        wrote on last edited by
                        #17

                        Yes. I don't remember if i have setup something to my previews project, but the think is the second doesn't work.

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

                          Which version of Qt are you using ?

                          Did you setup the .pro file the same way ?

                          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
                          • A Offline
                            A Offline
                            Adrian.Aioanei
                            wrote on last edited by
                            #19

                            Yes, i have
                            Sorry for my delay. :D
                            There was the problem. Now works fine.
                            Thank you very much all. :D
                            PS: I don't know how to mark as solved this topic.

                            Ni.SumiN 1 Reply Last reply
                            0
                            • A Adrian.Aioanei

                              Yes, i have
                              Sorry for my delay. :D
                              There was the problem. Now works fine.
                              Thank you very much all. :D
                              PS: I don't know how to mark as solved this topic.

                              Ni.SumiN Offline
                              Ni.SumiN Offline
                              Ni.Sumi
                              wrote on last edited by
                              #20

                              @Adrian.Aioanei

                              To mark it as solved.

                              TopicTools on the top and select "mark as solved"

                              1 Reply Last reply
                              1
                              • A Offline
                                A Offline
                                Adrian.Aioanei
                                wrote on last edited by
                                #21

                                Thanks @Ni-Sumi :)

                                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
                                • Unsolved