使用vs当创建Qt Console Application来调用Qt的dll(含有gui界面)时,在Console Project Wizard应把GUI library选择上,当运行程序时出现: QWidget: Cannot create a QWidget when no GUI is being used,解决方法是将QCoreApplication改为QApplication
使用vs当创建Qt Console Application来调用Qt的dll(含有gui界面)时,在Console Project Wizard应把GUI library选择上,当运行程序时出现: QWidget: Cannot create a QWidget when no GUI is being used,解决方法是将QCoreApplication改为QApplication