开发者

error on compiling statically linked library created in Qt

开发者 https://www.devze.com 2022-12-25 11:52 出处:网络
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 so

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

精彩评论

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

关注公众号