we have created a statically linked library in Qt.O开发者_运维百科n compiling the library we are getting errors...like QImage: no such file or directory and why start timer etc...
If you can compile some parts with errors but only get compile errors when you #include
Qt parts in the QtGui module, then you may need to look at your .pro file and make sure that you DON'T have QT -= gui
.
Have you read the documentation?
Did you #include <QImage>
?
Is your compiler set up to find the Qt libraries?
At first you should create your Makefile
with qmake -project
in your src directory, then use make
command. After it, you can manipulate it manually.
精彩评论