Quantcast
Channel: Jobs
Viewing all articles
Browse latest Browse all 18427

Trouble deploying application

$
0
0
I’ve been having trouble getting my .exe to work on computers without Visual Studio and the Windows SDK installed. I created my GUI app in Qt Creator. If I just build the .exe and stick it in a flash drive alongside the neccessary Qt .dlls, it runs fine on my other computer that has VS and the Windows SDK installed. However, it’s still relying on msvcr100d.dll. So I bring the code into Visual Studio 2010 Express, switch to Release mode, change the Additional Dependencies from QtCored4.lib to QtCore4.lib and so forth. But when I try to run the resulting .exe, I get a popup saying: Debug Error!   Program: ...\Projects\qt_integration_test\Release\qt_integration_test.exe Module: 4.8.3 File: global\qglobal.cpp Line: 2246   QWidget: Must construct a QApplication before a QPaintDevice   (Press retry to debug the application) I don’t get this when I run the executable resulting from compiling in Debug mode. What’s going on?

Viewing all articles
Browse latest Browse all 18427

Trending Articles