Problem with deployment on windows [solved]
-
I'm can see that you are missing:
platforms/qwindows.dll
QtQuick.2/qtquick2plugin.dll
QtQuick.2/qmldirThey need to be present as those two folders alongside your main .exe
-
Sry that it took so long for this reply but i´ve been on vacation. Well yes now the window of the game is oppening. But no pictures are shown... well the pictures are actually .svg files (very inefficient i know). If you may want to take a look at it here is the updated file: https://dl.dropboxusercontent.com/u/49003810/Hakfroeg.zip
-
Then you need the QtSvg library
-
i use them already...
-
What version of Qt are you using ? If applicable, what installer did you use ?
-
Qt 5.1 and I am not using any installer... i just deploy everything in a zip file.
-
Did you also deploy the QtSvg dll ?
-
As i already said: i do yes xD.
-
Just checking, using and deploying are not the same thing ;)
Another thing you can check, use Dependency Walker on your application/libraries (by the way, you zip file is not accessible) to see if it finds everything
-
Alright so at least I got it running. With dependency walker I couldn't figure out anything. But with my neighbours pc I figured out that the plugin “imageformats” was missing to draw the svg images... so now its working: https://dl.dropboxusercontent.com/u/49003810/Hakfroeg.zip
But isn't it a bit unadvantageous to deliver a program that has not a megabyte of size with 50mb of libraries ?!?
thx for help ;)
-
You're welcome !
Well... That's the case for numerous software, they are not very heavy but the libraries they use might be (without mentioning the possible runtime dependencies such as drivers/external libraries etc...) You could always rebuild Qt to suite your needs disabling what you don't use (time intensive and error prone) or go the static route BUT this one introduces some constraints such as having a commercial license from Digia.
Also, don't forget to update the thread title prepending [solved] so other forum users may know a solution has been found :)