1. The cause of "Collect2 LD returned 1 exit status" is varied and cannot be generalize. To know the cause of a real error, follow the preceding text in the error prompt.
2. "Permission denied Collect2 ld returned 1 exit status" indicates that you have an instance of this program still running, not completely shut down. At this point you can check the "Application Output" window to see if a program is still running, and of course, you can open the Explorer to view the process (the process name is usually the name of your program), and then close the OK.
3, when "Cann ' t find xxxx" occurs, when XXXX is the name of a class library, you are not expected to add a description of the Chingku in the pro file. For example, my program involves OpenGL, and I started without writing, prompting for something like Cann ' t find lgui4d.
The modification method is to include qt + = OpenGL in the. Pro file (not necessarily OpenGL, depending on the situation), specifically, refer to my blog "about qt. Pro File command introduction and notation"
4, introduce some of the commonly used shortcut keys, they found.
Some of the basics can be found in the help documentation. such as what ctrl+num,alt+num,ctrl+k and so on.
What I like more is that the code adjust the shortcut key ctrl+i,ctrl+a Check all the code, then a ctrl+i adjustment, then a ctrl+s save, OK.
Another is the shortcut key ctrl+alt+r that corresponds to the window preview of ctrl+t in vs.
The shortcut key for the comment code is CTRL +?. Is the CTRL and question mark keys.
A few days before the use of QT, the problems encountered continue, strange and endless. But fortunately, now is understood a little bit, in the interaction of OpenGL this piece, is ready to deal with the model.
Beyond C + + original articles, reproduced please indicate the source and keep the original link
This article link: http://www.beyondc.cn/qt-learning-faqs.html