Cant launch Qt Quick Controls application
-
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.exeAnd 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.
-
@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:
- 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!