开发者

error on compiling statically linked library created in Qt

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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜