How to run qtquick program?
-
[quote author="beemaster" date="1351608096"]1) Can you run your program from Qt Creator?
2) Please put a full list of dll files (both Qt and MinGW) that you copied near your exe file.[/quote]Yes the program runs from Qt-Creator perfectly
list of dlls:
libgcc_s_dw2-1.dll
libstdc++-6.dll
mingwm10.dll
msvcr90.dll
QtCore4.dll
QtDeclarative4.dll
QtGui4.dll
QtNetwork4.dll
QtScript4.dll
QtSql4.dll
QtXmlPatterns4.dll
I know some of dlls are not needed but those were suggestion of dependency wakler
-
Ensure that there are no other copies of Qt library in your PATH. Sometimes happens that there are older versions shipped with programs that are in PATH (MiKTeX, LyX, TortoiseHG for example). Try executing your program from a command line prompt, after having set the PATH: set PATH=C:\path\to\qt;%PATH%. If that works set the PATH system widely
http://stackoverflow.com/questions/11484000/qtgui4-dll-entry-point-not-found -
[quote author="beemaster" date="1351611758"]Ensure that there are no other copies of Qt library in your PATH. Sometimes happens that there are older versions shipped with programs that are in PATH (MiKTeX, LyX, TortoiseHG for example). Try executing your program from a command line prompt, after having set the PATH: set PATH=C:\path\to\qt;%PATH%. If that works set the PATH system widely
http://stackoverflow.com/questions/11484000/qtgui4-dll-entry-point-not-found[/quote]Thank you very much.
@1st I add the mingw\bin and qt\bin path to the system path. Now it just shows the qmlviewer not my program (And there is not a program! just a qml file which should be open with qmlViewer)
My project name is qmltest --> Near the release folder there is another folder named qml
2nd: I copied the qml folder into release folder near qmlviewer (in this case qmltest.exe).
Now I'm running the exe file and my program is running very well. thanks