Cant launch Qt Quick Controls application
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
Aren't you missing the platforms folder?
@imyrvold what do you mean? Anyway i think there is something wrong with .dll files, because application with Qt Quick 1.1 works.
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
@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)
Ok, i made Windows deployment tool work, but there is no window appears. Process in Task manager only :(
Hi @Dmitriy ,
Check two things:
- Does it work if you run it from inside Qt Creator?
- Are all the required files in the correct locations? (.dll, .qml, qmldir) See http://wiki.qt.io/Deploy_an_Application_on_Windows
@JKSH yes, program works with Qt Creator and all files are in the correct location.
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:
- Did you create any extra QML files?
- Did you use any custom images?
- Did you use any external libraries?
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 :)
@Dmitriy You're welcome :) Good luck!