Qt-interest Archive, April 2008
Deploying qt-3.3 on WinXP with nmake in VS2008
Message 1 in thread
Hi,
I'm trying to deploy a QT 3.3.8 application on Windows. It works fine on
Win2k but not on Windows XP. The problem seems to be that I need to
embed the manifest file in the executable.
I can see that in QT 4.2 you can add
CONFIG += embed_manifest_exe
to the project file. I tried this in my 3.3 project file but it didn't work.
Does anyone know of a decent way around this? I'm using qmake and nmake
from the command line, the nmake is from Visual Studio 2008.
Thanks,
--
[ signature omitted ]
Message 2 in thread
Christopher Mocock wrote:
>
> I'm trying to deploy a QT 3.3.8 application on Windows. It works fine
> on Win2k but not on Windows XP. The problem seems to be that I need
> to embed the manifest file in the executable.
>
> I can see that in QT 4.2 you can add
>
> CONFIG += embed_manifest_exe
>
> to the project file. I tried this in my 3.3 project file but it didn't
> work.
>
> Does anyone know of a decent way around this? I'm using qmake and
> nmake from the command line, the nmake is from Visual Studio 2008.
When we used Qt3 with vc2005 we had something like this in the qmakefile
MSVCVER=$$(QMAKESPEC)
contains( MSVCVER,win32-msvc2005 ) {
QMAKE_POST_LINK = mt.exe /manifest prog.exe.manifest
/outputresource:prog.exe
}
where prog.exe is the name of your executable.
David
--
[ signature omitted ]
Message 3 in thread
David Dibben wrote:
> When we used Qt3 with vc2005 we had something like this in the qmakefile
>
> MSVCVER=$$(QMAKESPEC)
> contains( MSVCVER,win32-msvc2005 ) {
> QMAKE_POST_LINK = mt.exe /manifest prog.exe.manifest
> /outputresource:prog.exe
> }
>
>
> where prog.exe is the name of your executable.
Thanks, with a couple of tweaks that did the trick.
--
[ signature omitted ]