Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. The interface I programmed with Qt does not open
Forum Updated to NodeBB v4.3 + New Features

The interface I programmed with Qt does not open

Scheduled Pinned Locked Moved Solved General and Desktop
9 Posts 2 Posters 803 Views 2 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.
  • serkan_trS Offline
    serkan_trS Offline
    serkan_tr
    wrote on last edited by
    #1

    I wrote a program with Qt5. This program works when run with Qt5 creator. but it doesn't work when I try it with the .exe in the build folder. It works when compiled with qmake and not when compiled with cmake. It works when the Qt5Quickd.dll files in the qmake file are copied to the cmake folder.
    Note:There are already Qt5Quickd.dll files in the cmake folder

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

      Hi,

      When you want to start your application outside of Qt Creator you have to deploy it in the same way you for installing in a different computer. Check windeployqt.

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

      serkan_trS 1 Reply Last reply
      2
      • SGaistS SGaist

        Hi,

        When you want to start your application outside of Qt Creator you have to deploy it in the same way you for installing in a different computer. Check windeployqt.

        serkan_trS Offline
        serkan_trS Offline
        serkan_tr
        wrote on last edited by
        #3

        @SGaist yes i tried this method but still no screen

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

          How did you use windeployqt ?

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

          serkan_trS 1 Reply Last reply
          1
          • SGaistS SGaist

            How did you use windeployqt ?

            serkan_trS Offline
            serkan_trS Offline
            serkan_tr
            wrote on last edited by serkan_tr
            #5

            @SGaist said in The interface I programmed with Qt does not open:

            How did you use windeployqt ?

            windeployqt "build_file"
            

            i used it like this -> create file: create folder path.

            Thanks a lot for your help.

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

              Since you are using QtQuick you need to tell windeployqt where to check for your QML files so it can deploy everything needed with regards to these.

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

              serkan_trS 1 Reply Last reply
              1
              • SGaistS SGaist

                Since you are using QtQuick you need to tell windeployqt where to check for your QML files so it can deploy everything needed with regards to these.

                serkan_trS Offline
                serkan_trS Offline
                serkan_tr
                wrote on last edited by
                #7

                @SGaist thanks for the help

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

                  You got it working ?

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

                  serkan_trS 1 Reply Last reply
                  1
                  • SGaistS SGaist

                    You got it working ?

                    serkan_trS Offline
                    serkan_trS Offline
                    serkan_tr
                    wrote on last edited by
                    #9

                    @SGaist yes it worked fine I adapted the command windeployQt to cmake file. thanks for the help

                    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