The QT program developed under win10 runs incorrectly on win7
-
Hi @JonB @hskoglund
I run QT creator.exe directly , and then can see the debugging information
"[28668] QFactoryLoader::QFactoryLoader() checking directory path "E:/Qt/Tools/QtCreator/bin/platforms" ...
[28668] Cannot load library E:\Qt\Tools\QtCreator\bin\plugins\platforms\qwindows--.dll: The specified program could not be found.
[28668] QLibraryPrivate::loadPlugin failed on "E:/Qt/Tools/QtCreator/bin/plugins/platforms/qwindows--.dll" : "Cannot load library E:\Qt\Tools\QtCreator\bin\plugins\platforms\qwindows--.dll: The specified program could not be found."
I renamed the old library as qwindows--.dll and put the new library in.Debugging information indicates that QT creator is still looking for old library when it runs. -
Hi @JonB
My topic is the problem of running the developed application. Later, @hskoglund provided the modified Qt library and asked me to
build the development environment directly on win7 and develop application with QT creator. Therefore, the error later was the running error of Creator.
I'm sorry I didn't make it clear. Thank you again. -
Hi @bergerac sorry that it didn't work out as planned.
I think best solution is to install on older version of Qt Creator that uses Qt5, i.e. has no problems (and requires no patching :-) to run on your Windows 7.
A download of Qt Creator 5.0.3 you can find here (the first link).
When you start Qt Creator 5.0.3 the first time, a yellow box will be shown: "Link with a Qt installation to automatically register..." just click Yes (and I think you have to click Yes one more time). Then you can use that version of Qt Creator the normal way.
-
Hi @hskoglund
I will follow your advice.
Thanks again for your help @JonB and @hskoglund