Hi. I made my first QT project (in QT5) and I have the exe up and running but the size of the needed DLLs is quite big. The 3 ICU DLLs are almost 50% of that, and since I don’t use web pages or js I think my exe should work without them.
I found lots of threads about deselecting these 3 DLLs, they usually say that you should run this command at the CMD prompt:
configure.exe -no-webkit (or possibly configure.exe —no-webkit)
I located configure.exe in C:\Qt\Qt5.2.1\5.2.1\Src\qtbase\. But I get the error message “Unable to detect the platform from environment. Use -platform command lineargument or set the QMAKESPEC environment variable and run configure again. See the README file for a list of supported operating systems and compilers.” whether I run it with or without arguments
Things I’ve read about this in other forums threads of various age are:
The flag -no-webkit isn’t supported anymore (but still in help file)
The flag does work
An alternative is to delete the folder qtwebkit or webkit
I’m hoping that one of these alternatives might work, but I wonder which one and how:
1. Is there any setting for this in QT Create, or can I add a flag in there?
2. Should I do something about env variable QMAKESPEC (what exactly)?
3. There are 11 qtwebkit folders in my install, and 10 webkit folders. Which to delete/rename?
I’m using the 32b mingw version of QT 5.2.1 on a 64b Windows 7 PC.
Thanks.
↧