[SOLVED]Windows Deployment: Need SDK plugins present
-
Hello,
I'm trying to make a deployable directory that contains the app, plus all the dll's and plugins needed.
I seem to have it but have a weird problem. The plugins directory in the QtSDK must be present, even if it is empty, or a crash will result on startup in QtGui4.dll.
This happens in release mode only, debug mode works. I set the plugins path with setLibraryPaths as the first thing I do in main to point to the plugins directory in the app directory.
Does this ring a bell with anyone?
-
Ok, I've tried this on 4.7.4 and 4.8 and have the same result.
My directory structure is:
app directory
app directory/plugins
app directory/plugins/designer
app directory/plugins/imageformatsI've also tried moving the entire plugins tree (including plugins) to the app directory.
-
[quote author="babazaroni" date="1326037826"]Ok, I've tried this on 4.7.4 and 4.8 and have the same result.
My directory structure is:
app directory
app directory/plugins
app directory/plugins/designer
app directory/plugins/imageformatsI've also tried moving the entire plugins tree (including plugins) to the app directory.[/quote]
Try this:
app directory
app directory/designer
app directory/imageformats -
I did try that as well Andre with no success.
But, I've worked around the problem by providing a qt.conf file with:
[Paths]
Plugins = plugins