I am creating a dll project using Visual Studio 2010.
我正在使用Visual Studio 2010创建一个DLL项目。
Can QWidgets like QLabel
, QPushButton
and QImage
, etc be inserted in a dll
project? Can I import Qt functions into a dll project?
可以将QLabel,QPushButton和QImage等QWidgets插入到dll项目中吗?我可以将Qt函数导入到dll项目中吗?
1 个解决方案
#1
0
yes you can. just dont forget to careate a QApplication instance. and run in separate thread qApp()->exec()
是的你可以。只是不要忘记关心QApplication实例。并在单独的线程中运行qApp() - > exec()
#1
0
yes you can. just dont forget to careate a QApplication instance. and run in separate thread qApp()->exec()
是的你可以。只是不要忘记关心QApplication实例。并在单独的线程中运行qApp() - > exec()