Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QML and Qt Quick
  4. Cant launch Qt Quick Controls application
Forum Updated to NodeBB v4.3 + New Features

Cant launch Qt Quick Controls application

Scheduled Pinned Locked Moved QML and Qt Quick
11 Posts 4 Posters 2.7k 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.
  • D Offline
    D Offline
    Dmitriy
    wrote on last edited by
    #1

    Hello. I downloaded Qt 5.4 and created Qt Quick application with Qt Quick Controls 1.3. I didn't change anything in code, just build it (as release). Then i copied .exe to another folder, add all .dll files i need and when i launched my program there were no any windows, just process in Task manager. However, i can launch program which uses QtQuick 1.1. How can i fix it? Thanks.

    http://s7.postimg.org/42b0sll3f/image.png - here is an image for some more explanation

    1 Reply Last reply
    0
    • imyrvoldI Offline
      imyrvoldI Offline
      imyrvold
      wrote on last edited by
      #2

      Aren't you missing the platforms folder?

      D 1 Reply Last reply
      0
      • imyrvoldI imyrvold

        Aren't you missing the platforms folder?

        D Offline
        D Offline
        Dmitriy
        wrote on last edited by
        #3

        @imyrvold what do you mean? Anyway i think there is something wrong with .dll files, because application with Qt Quick 1.1 works.

        1 Reply Last reply
        0
        • I Offline
          I Offline
          Iktwo
          wrote on last edited by
          #4

          Maybe you can try the Windows Deployment Tool http://doc.qt.io/qt-5/windows-deployment.html it looks like that could help you, you don't see a window because it can not find the QuickControls plugin

          D 1 Reply Last reply
          0
          • I Iktwo

            Maybe you can try the Windows Deployment Tool http://doc.qt.io/qt-5/windows-deployment.html it looks like that could help you, you don't see a window because it can not find the QuickControls plugin

            D Offline
            D Offline
            Dmitriy
            wrote on last edited by
            #5

            @Iktwo thanks for reply. When i use windeployqt, i type there:
            C:\Qt\5.4\mingw491_32\bin\windeployqt.exe --release C:\Users\Dima\Desktop\folder\qtquickcontrols13.exe

            And i have an error: 32 bit, release executable [QML]
            Unable to locate ICU icuin53.dll (but this file is in folder with program)

            1 Reply Last reply
            0
            • D Offline
              D Offline
              Dmitriy
              wrote on last edited by
              #6

              Ok, i made Windows deployment tool work, but there is no window appears. Process in Task manager only :(

              1 Reply Last reply
              0
              • JKSHJ Offline
                JKSHJ Offline
                JKSH
                Moderators
                wrote on last edited by
                #7

                Hi @Dmitriy ,

                Check two things:

                1. Does it work if you run it from inside Qt Creator?
                2. Are all the required files in the correct locations? (.dll, .qml, qmldir) See http://wiki.qt.io/Deploy_an_Application_on_Windows

                Qt Doc Search for browsers: forum.qt.io/topic/35616/web-browser-extension-for-improved-doc-searches

                D 1 Reply Last reply
                0
                • JKSHJ JKSH

                  Hi @Dmitriy ,

                  Check two things:

                  1. Does it work if you run it from inside Qt Creator?
                  2. Are all the required files in the correct locations? (.dll, .qml, qmldir) See http://wiki.qt.io/Deploy_an_Application_on_Windows
                  D Offline
                  D Offline
                  Dmitriy
                  wrote on last edited by
                  #8

                  @JKSH yes, program works with Qt Creator and all files are in the correct location.

                  JKSHJ 1 Reply Last reply
                  0
                  • D Dmitriy

                    @JKSH yes, program works with Qt Creator and all files are in the correct location.

                    JKSHJ Offline
                    JKSHJ Offline
                    JKSH
                    Moderators
                    wrote on last edited by
                    #9

                    @Dmitriy said:

                    yes, program works with Qt Creator

                    Ok, that means some files are still missing from your deployment folder. Go to http://wiki.qt.io/Deploy_an_Application_on_Windows again and follow the instructions under the section "Initial deployment (Quick and dirty)" very very closely.

                    In the meantime, could you please tell us if:

                    1. Did you create any extra QML files?
                    2. Did you use any custom images?
                    3. Did you use any external libraries?

                    Qt Doc Search for browsers: forum.qt.io/topic/35616/web-browser-extension-for-improved-doc-searches

                    D 1 Reply Last reply
                    1
                    • JKSHJ JKSH

                      @Dmitriy said:

                      yes, program works with Qt Creator

                      Ok, that means some files are still missing from your deployment folder. Go to http://wiki.qt.io/Deploy_an_Application_on_Windows again and follow the instructions under the section "Initial deployment (Quick and dirty)" very very closely.

                      In the meantime, could you please tell us if:

                      1. Did you create any extra QML files?
                      2. Did you use any custom images?
                      3. Did you use any external libraries?
                      D Offline
                      D Offline
                      Dmitriy
                      wrote on last edited by
                      #10

                      Thanks a lot for help. When i copied all the .dll files and folder my program finally works :) Now it's time to throw out some garbage :)

                      JKSHJ 1 Reply Last reply
                      0
                      • D Dmitriy

                        Thanks a lot for help. When i copied all the .dll files and folder my program finally works :) Now it's time to throw out some garbage :)

                        JKSHJ Offline
                        JKSHJ Offline
                        JKSH
                        Moderators
                        wrote on last edited by
                        #11

                        @Dmitriy You're welcome :) Good luck!

                        Qt Doc Search for browsers: forum.qt.io/topic/35616/web-browser-extension-for-improved-doc-searches

                        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