FIX compiling Qt build with MSVC++
This commit is contained in:
parent
45a0581966
commit
54addad74b
|
@ -26,6 +26,7 @@ OpenAL SDK: http://connect.creativelabs.com/openal/default.aspx
|
||||||
OpenGL files: http://www.opengl.org/registry/
|
OpenGL files: http://www.opengl.org/registry/
|
||||||
zlib: http://zlib.net/
|
zlib: http://zlib.net/
|
||||||
libpng: http://libpng.org/pub/png/libpng.html
|
libpng: http://libpng.org/pub/png/libpng.html
|
||||||
|
UPX: http://upx.sourceforge.net/
|
||||||
|
|
||||||
You can find pre-built versions of zlib & libpng at:
|
You can find pre-built versions of zlib & libpng at:
|
||||||
http://vba-m.ngemu.com/vbam/vbasources/libs/
|
http://vba-m.ngemu.com/vbam/vbasources/libs/
|
||||||
|
@ -56,6 +57,7 @@ It uses the qmake file in trunk/project/qmake, so you always have to add files t
|
||||||
IMPORTANT: The Qt-sources have to be compiled with the Microsoft compiler first, in order to use it,
|
IMPORTANT: The Qt-sources have to be compiled with the Microsoft compiler first, in order to use it,
|
||||||
because the default binary distribution was compiled with mingw and will not work with the MS Compiler.
|
because the default binary distribution was compiled with mingw and will not work with the MS Compiler.
|
||||||
Continue by reading "How to compile Qt from source with Visual C++ 2008".
|
Continue by reading "How to compile Qt from source with Visual C++ 2008".
|
||||||
|
The release build will automatically be compressed with UPX, make sure to download it and point MSVC++ to it.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -11,6 +11,7 @@ M_DIR_SHARED = ../../src/
|
||||||
M_DIR_GBAPU = ../../src/dmg/gb_apu/
|
M_DIR_GBAPU = ../../src/dmg/gb_apu/
|
||||||
M_DIR_AGB = ../../src/agb/
|
M_DIR_AGB = ../../src/agb/
|
||||||
M_DIR_DMG = ../../src/dmg/
|
M_DIR_DMG = ../../src/dmg/
|
||||||
|
M_DIR_DEP = ../../../dependencies/msvc/
|
||||||
|
|
||||||
|
|
||||||
# OSs
|
# OSs
|
||||||
|
@ -20,9 +21,10 @@ M_DIR_DMG = ../../src/dmg/
|
||||||
|
|
||||||
|
|
||||||
# Tweaks
|
# Tweaks
|
||||||
win32-msvc2005 {
|
win32-msvc2008 {
|
||||||
DEFINES += _CRT_SECURE_NO_WARNINGS
|
DEFINES += _CRT_SECURE_NO_WARNINGS
|
||||||
DEFINES += NO_PNG
|
DEFINES += NO_PNG
|
||||||
|
INCLUDEPATH += $${M_DIR_DEP}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
#include "version.h"
|
#include "version.h"
|
||||||
|
|
||||||
IDI_ICON1 ICON DISCARDABLE "../../src/win32/VBA-M.ico"
|
IDI_ICON1 ICON DISCARDABLE "../../src/win32/res/VBA.ico"
|
||||||
|
|
||||||
|
|
||||||
#include <WinVer.h>
|
#include <WinVer.h>
|
||||||
|
|
Loading…
Reference in New Issue