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 797 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.
  • S Offline
    S Offline
    serkan_tr
    wrote on 8 Jan 2023, 18:54 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
    • S Offline
      S Offline
      SGaist
      Lifetime Qt Champion
      wrote on 8 Jan 2023, 19:28 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

      S 1 Reply Last reply 9 Jan 2023, 10:54
      2
      • S SGaist
        8 Jan 2023, 19:28

        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.

        S Offline
        S Offline
        serkan_tr
        wrote on 9 Jan 2023, 10:54 last edited by
        #3

        @SGaist yes i tried this method but still no screen

        1 Reply Last reply
        0
        • S Offline
          S Offline
          SGaist
          Lifetime Qt Champion
          wrote on 9 Jan 2023, 20:15 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

          S 1 Reply Last reply 10 Jan 2023, 05:05
          1
          • S SGaist
            9 Jan 2023, 20:15

            How did you use windeployqt ?

            S Offline
            S Offline
            serkan_tr
            wrote on 10 Jan 2023, 05:05 last edited by serkan_tr 1 Oct 2023, 05:05
            #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
            • S Offline
              S Offline
              SGaist
              Lifetime Qt Champion
              wrote on 10 Jan 2023, 20:58 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

              S 1 Reply Last reply 11 Jan 2023, 05:01
              1
              • S SGaist
                10 Jan 2023, 20:58

                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.

                S Offline
                S Offline
                serkan_tr
                wrote on 11 Jan 2023, 05:01 last edited by
                #7

                @SGaist thanks for the help

                1 Reply Last reply
                0
                • S Offline
                  S Offline
                  SGaist
                  Lifetime Qt Champion
                  wrote on 11 Jan 2023, 20:38 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

                  S 1 Reply Last reply 12 Jan 2023, 06:20
                  1
                  • S SGaist
                    11 Jan 2023, 20:38

                    You got it working ?

                    S Offline
                    S Offline
                    serkan_tr
                    wrote on 12 Jan 2023, 06:20 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

                    1/9

                    8 Jan 2023, 18:54

                    • Login

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