(deleted because I found the cause of the error - a missing DLL)
(deleted because I found the cause of the error - a missing DLL)
Last edited by gib; 8th September 2019 at 06:41.
Actually, the real reason for this is usually declaring a QPixmap instance as an automatic variable (typically as a global variable declared outside of main()) which the C++ runtime constructs prior to executing main() or the QApplication constructor. I suppose it is possible that if a DLL required to construct the QPixmap is missing, that could cause a similar complaint.
<=== The Great Pumpkin says ===>
Please use CODE tags when posting source code so it is more readable. Click "Go Advanced" and then the "#" icon to insert the tags. Paste your code between them.
The missing DLL was qwt.dll. Making this available stopped the error, I don't know why. I do have a lot of global variables.
Bookmarks