Had been used qt5.9.1, normal use, basic no problem, after writing a small project, want a change to the application icon, and Then consult online method of the great god, got the basic idea, as follows: Win32: RC_FILE +=ico. Rc Or RC_ICONS=ico. Ico
But no matter how I try and compile time error all the time, I read in a variety of great god experience, noticed someone said may be because the version problem,
So again, I decisively changed version directly download the qt 5.13, the latest development tools download address: http://download.qt.io/archive/qt/
After the installation is complete, open the project, compile, indeed as expected is a tool,
Switch to the new version, however, also let I found a new problem: (1) release file exe, cannot be directly run, need after windeployqt to, (2) release compilation, the program runs, the serial port can't work normally, not received the data, a serial port to send only after just connect, can only send once, before I open the low version compiled after the release of the program, a serial port to work properly, it follows that the qt5.13 support for a serial port is not very good, so I has been affected by the debugging, (can't be changed a little bit, just windeploqt),
So I decided to change a version again, choose Qt 5.9.8 version, the version for the program icon to change, and the serial port function can be normal support,
Suddenly thought of the send a post to others for your reference, if your bosses know the root cause of the problem, hope to inform,
CodePudding user response:
Reply yourself, alleviate the embarrassed atmosphere
CodePudding user response:
General development in qt run directly, when I was at the end of the packaged software to use windeployqt once up need library files; Want to ask a compiler error because of the added RC_ICONS=ico. Ico this sentence? If there is a problem that should be your project are not loading properly, I use or qt5.4, can the normal loading icon