annotate src/msvc-qt-1.patch @ 3129:d24828818d36

[MSVC] enable Qt compilation - patch qmake to support DLL prefix/suffix - patch qmake for proper .pc files generation - enable .pc files generation for MSVC in .pro files
author Michael Goffioul <michael.goffioul@gmail.com>
date Thu, 11 Jul 2013 23:48:28 -0400
parents
children fae248a5b181
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
3129
d24828818d36 [MSVC] enable Qt compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
1 diff -ur qt-everywhere-opensource-src-4.8.3-orig/mkspecs/win32-msvc2010/qmake.conf qt-everywhere-opensource-src-4.8.3/mkspecs/win32-msvc2010/qmake.conf
d24828818d36 [MSVC] enable Qt compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
2 --- qt-everywhere-opensource-src-4.8.3-orig/mkspecs/win32-msvc2010/qmake.conf 2012-09-10 21:36:35 -0400
d24828818d36 [MSVC] enable Qt compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
3 +++ qt-everywhere-opensource-src-4.8.3/mkspecs/win32-msvc2010/qmake.conf 2013-07-10 11:31:41 -0400
d24828818d36 [MSVC] enable Qt compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
4 @@ -73,6 +73,9 @@
d24828818d36 [MSVC] enable Qt compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
5
d24828818d36 [MSVC] enable Qt compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
6 QMAKE_LIBS_QT_ENTRY = -lqtmain
d24828818d36 [MSVC] enable Qt compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
7
d24828818d36 [MSVC] enable Qt compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
8 +QMAKE_DLL_PREFIX = @@LIBRARY_PREFIX@@
d24828818d36 [MSVC] enable Qt compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
9 +QMAKE_DLL_SUFFIX = @@LIBRARY_SUFFIX@@
d24828818d36 [MSVC] enable Qt compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
10 +
d24828818d36 [MSVC] enable Qt compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
11 QMAKE_MOC = $$[QT_INSTALL_BINS]\\moc.exe
d24828818d36 [MSVC] enable Qt compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
12 QMAKE_UIC = $$[QT_INSTALL_BINS]\\uic.exe
d24828818d36 [MSVC] enable Qt compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
13 QMAKE_IDC = $$[QT_INSTALL_BINS]\\idc.exe
d24828818d36 [MSVC] enable Qt compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
14 diff -ur qt-everywhere-opensource-src-4.8.3-orig/qmake/generators/makefile.cpp qt-everywhere-opensource-src-4.8.3/qmake/generators/makefile.cpp
d24828818d36 [MSVC] enable Qt compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
15 --- qt-everywhere-opensource-src-4.8.3-orig/qmake/generators/makefile.cpp 2012-09-10 21:36:36 -0400
d24828818d36 [MSVC] enable Qt compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
16 +++ qt-everywhere-opensource-src-4.8.3/qmake/generators/makefile.cpp 2013-07-10 11:05:47 -0400
d24828818d36 [MSVC] enable Qt compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
17 @@ -3148,16 +3148,20 @@
d24828818d36 [MSVC] enable Qt compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
18 MakefileGenerator::pkgConfigPrefix() const
d24828818d36 [MSVC] enable Qt compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
19 {
d24828818d36 [MSVC] enable Qt compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
20 if(!project->isEmpty("QMAKE_PKGCONFIG_PREFIX"))
d24828818d36 [MSVC] enable Qt compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
21 - return project->first("QMAKE_PKGCONFIG_PREFIX");
d24828818d36 [MSVC] enable Qt compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
22 - return QLibraryInfo::location(QLibraryInfo::PrefixPath);
d24828818d36 [MSVC] enable Qt compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
23 + return project->first("QMAKE_PKGCONFIG_PREFIX").replace('\\', '/');
d24828818d36 [MSVC] enable Qt compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
24 + return QLibraryInfo::location(QLibraryInfo::PrefixPath).replace('\\', '/');
d24828818d36 [MSVC] enable Qt compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
25 }
d24828818d36 [MSVC] enable Qt compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
26
d24828818d36 [MSVC] enable Qt compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
27 QString
d24828818d36 [MSVC] enable Qt compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
28 -MakefileGenerator::pkgConfigFixPath(QString path) const
d24828818d36 [MSVC] enable Qt compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
29 +MakefileGenerator::pkgConfigFixPath(QString path)
d24828818d36 [MSVC] enable Qt compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
30 {
d24828818d36 [MSVC] enable Qt compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
31 QString prefix = pkgConfigPrefix();
d24828818d36 [MSVC] enable Qt compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
32 + path.replace('\\', '/');
d24828818d36 [MSVC] enable Qt compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
33 if(path.startsWith(prefix))
d24828818d36 [MSVC] enable Qt compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
34 path = path.replace(prefix, "${prefix}");
d24828818d36 [MSVC] enable Qt compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
35 + QString buildTree = var("QT_BUILD_TREE").replace('\\', '/');
d24828818d36 [MSVC] enable Qt compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
36 + if (!buildTree.isEmpty() && path.startsWith(buildTree))
d24828818d36 [MSVC] enable Qt compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
37 + path = path.replace(buildTree, "${prefix}");
d24828818d36 [MSVC] enable Qt compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
38 return path;
d24828818d36 [MSVC] enable Qt compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
39 }
d24828818d36 [MSVC] enable Qt compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
40
d24828818d36 [MSVC] enable Qt compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
41 @@ -3273,7 +3277,7 @@
d24828818d36 [MSVC] enable Qt compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
42 libs << "QMAKE_LFLAGS_THREAD"; //not sure about this one, but what about things like -pthread?
d24828818d36 [MSVC] enable Qt compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
43 t << "Libs.private: ";
d24828818d36 [MSVC] enable Qt compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
44 for(QStringList::ConstIterator it = libs.begin(); it != libs.end(); ++it) {
d24828818d36 [MSVC] enable Qt compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
45 - t << project->values((*it)).join(" ") << " ";
d24828818d36 [MSVC] enable Qt compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
46 + t << project->values((*it)).join(" ").replace('\\', '/').replace(prefix, "${prefix}") << " ";
d24828818d36 [MSVC] enable Qt compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
47 }
d24828818d36 [MSVC] enable Qt compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
48 t << endl;
d24828818d36 [MSVC] enable Qt compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
49
d24828818d36 [MSVC] enable Qt compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
50 @@ -3281,9 +3285,9 @@
d24828818d36 [MSVC] enable Qt compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
51 // ### too many
d24828818d36 [MSVC] enable Qt compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
52 t << "Cflags: "
d24828818d36 [MSVC] enable Qt compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
53 // << var("QMAKE_CXXFLAGS") << " "
d24828818d36 [MSVC] enable Qt compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
54 - << varGlue("PRL_EXPORT_DEFINES","-D"," -D"," ")
d24828818d36 [MSVC] enable Qt compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
55 - << project->values("PRL_EXPORT_CXXFLAGS").join(" ")
d24828818d36 [MSVC] enable Qt compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
56 - << project->values("QMAKE_PKGCONFIG_CFLAGS").join(" ")
d24828818d36 [MSVC] enable Qt compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
57 + << varGlue("PRL_EXPORT_DEFINES","-D"," -D"," ").replace('\\', '/').replace(prefix, "${prefix}")
d24828818d36 [MSVC] enable Qt compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
58 + << project->values("PRL_EXPORT_CXXFLAGS").join(" ").replace('\\', '/').replace(prefix, "${prefix}")
d24828818d36 [MSVC] enable Qt compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
59 + << project->values("QMAKE_PKGCONFIG_CFLAGS").join(" ").replace('\\', '/').replace(prefix, "${prefix}")
d24828818d36 [MSVC] enable Qt compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
60 // << varGlue("DEFINES","-D"," -D"," ")
d24828818d36 [MSVC] enable Qt compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
61 << " -I${includedir}" << endl;
d24828818d36 [MSVC] enable Qt compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
62
d24828818d36 [MSVC] enable Qt compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
63 diff -ur qt-everywhere-opensource-src-4.8.3-orig/qmake/generators/makefile.h qt-everywhere-opensource-src-4.8.3/qmake/generators/makefile.h
d24828818d36 [MSVC] enable Qt compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
64 --- qt-everywhere-opensource-src-4.8.3-orig/qmake/generators/makefile.h 2012-09-10 21:36:36 -0400
d24828818d36 [MSVC] enable Qt compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
65 +++ qt-everywhere-opensource-src-4.8.3/qmake/generators/makefile.h 2013-07-10 10:47:08 -0400
d24828818d36 [MSVC] enable Qt compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
66 @@ -107,7 +107,7 @@
d24828818d36 [MSVC] enable Qt compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
67
d24828818d36 [MSVC] enable Qt compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
68 QString pkgConfigPrefix() const;
d24828818d36 [MSVC] enable Qt compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
69 QString pkgConfigFileName(bool fixify=true);
d24828818d36 [MSVC] enable Qt compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
70 - QString pkgConfigFixPath(QString) const;
d24828818d36 [MSVC] enable Qt compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
71 + QString pkgConfigFixPath(QString);
d24828818d36 [MSVC] enable Qt compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
72 void writePkgConfigFile(); // for pkg-config
d24828818d36 [MSVC] enable Qt compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
73
d24828818d36 [MSVC] enable Qt compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
74 //generating subtarget makefiles
d24828818d36 [MSVC] enable Qt compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
75 diff -ur qt-everywhere-opensource-src-4.8.3-orig/qmake/generators/win32/msvc_nmake.cpp qt-everywhere-opensource-src-4.8.3/qmake/generators/win32/msvc_nmake.cpp
d24828818d36 [MSVC] enable Qt compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
76 --- qt-everywhere-opensource-src-4.8.3-orig/qmake/generators/win32/msvc_nmake.cpp 2012-09-10 21:36:36 -0400
d24828818d36 [MSVC] enable Qt compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
77 +++ qt-everywhere-opensource-src-4.8.3/qmake/generators/win32/msvc_nmake.cpp 2013-07-09 22:41:22 -0400
d24828818d36 [MSVC] enable Qt compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
78 @@ -72,6 +72,8 @@
d24828818d36 [MSVC] enable Qt compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
79 if(project->first("TEMPLATE") == "app" ||
d24828818d36 [MSVC] enable Qt compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
80 project->first("TEMPLATE") == "lib" ||
d24828818d36 [MSVC] enable Qt compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
81 project->first("TEMPLATE") == "aux") {
d24828818d36 [MSVC] enable Qt compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
82 + if(project->isActiveConfig("create_pc") && project->first("TEMPLATE") == "lib")
d24828818d36 [MSVC] enable Qt compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
83 + writePkgConfigFile();
d24828818d36 [MSVC] enable Qt compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
84 #if 0
d24828818d36 [MSVC] enable Qt compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
85 if(Option::mkfile::do_stub_makefile)
d24828818d36 [MSVC] enable Qt compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
86 return MakefileGenerator::writeStubMakefile(t);
d24828818d36 [MSVC] enable Qt compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
87 @@ -158,7 +160,7 @@
d24828818d36 [MSVC] enable Qt compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
88 // precompiled header
d24828818d36 [MSVC] enable Qt compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
89 if(usePCH) {
d24828818d36 [MSVC] enable Qt compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
90 QString precompRule = QString("-c -Yc -Fp%1 -Fo%2").arg(precompPch).arg(precompObj);
d24828818d36 [MSVC] enable Qt compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
91 - t << precompObj << ": " << precompH << " " << findDependencies(precompH).join(" \\\n\t\t")
d24828818d36 [MSVC] enable Qt compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
92 + t << precompObj << ": " << precompH << " " << escapeDependencyPaths(findDependencies(precompH)).join(" \\\n\t\t")
d24828818d36 [MSVC] enable Qt compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
93 << "\n\t" << "$(CXX) " + precompRule +" $(CXXFLAGS) $(INCPATH) -TP " << precompH << endl << endl;
d24828818d36 [MSVC] enable Qt compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
94 }
d24828818d36 [MSVC] enable Qt compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
95 }
d24828818d36 [MSVC] enable Qt compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
96 @@ -356,6 +358,9 @@
d24828818d36 [MSVC] enable Qt compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
97 if(project->isActiveConfig("staticlib")) {
d24828818d36 [MSVC] enable Qt compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
98 t << "\n\t" << "$(LIBAPP) $(LIBFLAGS) /OUT:$(DESTDIR_TARGET) @<<" << "\n\t "
d24828818d36 [MSVC] enable Qt compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
99 << "$(OBJECTS)";
d24828818d36 [MSVC] enable Qt compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
100 + } else if (project->isActiveConfig("shared") && project->first("TEMPLATE") == "lib") {
d24828818d36 [MSVC] enable Qt compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
101 + t << "\n\t" << "$(LINK) $(LFLAGS) /OUT:$(DESTDIR_TARGET) /IMPLIB:$(DESTDIR)" << getLibTarget() << " @<< " << "\n\t "
d24828818d36 [MSVC] enable Qt compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
102 + << "$(OBJECTS) $(LIBS)";
d24828818d36 [MSVC] enable Qt compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
103 } else {
d24828818d36 [MSVC] enable Qt compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
104 t << "\n\t" << "$(LINK) $(LFLAGS) /OUT:$(DESTDIR_TARGET) @<< " << "\n\t "
d24828818d36 [MSVC] enable Qt compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
105 << "$(OBJECTS) $(LIBS)";
d24828818d36 [MSVC] enable Qt compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
106 diff -ur qt-everywhere-opensource-src-4.8.3-orig/qmake/generators/win32/winmakefile.cpp qt-everywhere-opensource-src-4.8.3/qmake/generators/win32/winmakefile.cpp
d24828818d36 [MSVC] enable Qt compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
107 --- qt-everywhere-opensource-src-4.8.3-orig/qmake/generators/win32/winmakefile.cpp 2012-09-10 21:36:36 -0400
d24828818d36 [MSVC] enable Qt compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
108 +++ qt-everywhere-opensource-src-4.8.3/qmake/generators/win32/winmakefile.cpp 2013-07-10 09:54:14 -0400
d24828818d36 [MSVC] enable Qt compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
109 @@ -373,7 +373,8 @@
d24828818d36 [MSVC] enable Qt compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
110 if (!project->values("QMAKE_APP_FLAG").isEmpty()) {
d24828818d36 [MSVC] enable Qt compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
111 project->values("TARGET_EXT").append(".exe");
d24828818d36 [MSVC] enable Qt compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
112 } else if (project->isActiveConfig("shared")) {
d24828818d36 [MSVC] enable Qt compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
113 - project->values("TARGET_EXT").append(project->first("TARGET_VERSION_EXT") + "."
d24828818d36 [MSVC] enable Qt compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
114 + project->values("TARGET_EXT").append(project->first("TARGET_VERSION_EXT")
d24828818d36 [MSVC] enable Qt compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
115 + + (project->first("TEMPLATE") == "lib" ? var("QMAKE_DLL_SUFFIX") : QString()) + "."
d24828818d36 [MSVC] enable Qt compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
116 + project->first("QMAKE_EXTENSION_SHLIB"));
d24828818d36 [MSVC] enable Qt compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
117 project->values("TARGET").first() = project->first("QMAKE_PREFIX_SHLIB") + project->first("TARGET");
d24828818d36 [MSVC] enable Qt compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
118 } else {
d24828818d36 [MSVC] enable Qt compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
119 @@ -421,6 +422,8 @@
d24828818d36 [MSVC] enable Qt compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
120 productName = project->values("TARGET").first();
d24828818d36 [MSVC] enable Qt compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
121
d24828818d36 [MSVC] enable Qt compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
122 QString originalName = project->values("TARGET").first() + project->values("TARGET_EXT").first();
d24828818d36 [MSVC] enable Qt compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
123 + if (project->isActiveConfig("shared") && project->first("TEMPLATE") == "lib")
d24828818d36 [MSVC] enable Qt compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
124 + originalName.prepend(var("QMAKE_DLL_PREFIX"));
d24828818d36 [MSVC] enable Qt compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
125 int rcLang = project->intValue("RC_LANG", 1033); // default: English(USA)
d24828818d36 [MSVC] enable Qt compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
126 int rcCodePage = project->intValue("RC_CODEPAGE", 1200); // default: Unicode
d24828818d36 [MSVC] enable Qt compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
127
d24828818d36 [MSVC] enable Qt compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
128 @@ -690,6 +693,8 @@
d24828818d36 [MSVC] enable Qt compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
129 if (!destDir.isEmpty() && (orgDestDir.endsWith('/') || orgDestDir.endsWith(Option::dir_sep)))
d24828818d36 [MSVC] enable Qt compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
130 destDir += Option::dir_sep;
d24828818d36 [MSVC] enable Qt compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
131 QString target = QString(project->first("TARGET")+project->first("TARGET_EXT"));
d24828818d36 [MSVC] enable Qt compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
132 + if (project->isActiveConfig("shared") && project->first("TEMPLATE") == "lib")
d24828818d36 [MSVC] enable Qt compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
133 + target.prepend(var("QMAKE_DLL_PREFIX"));
d24828818d36 [MSVC] enable Qt compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
134 target.remove("\"");
d24828818d36 [MSVC] enable Qt compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
135 project->values("DEST_TARGET").prepend(destDir + target);
d24828818d36 [MSVC] enable Qt compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
136
d24828818d36 [MSVC] enable Qt compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
137 @@ -860,7 +865,7 @@
d24828818d36 [MSVC] enable Qt compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
138 if (!dst_pc_dir.isEmpty()) {
d24828818d36 [MSVC] enable Qt compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
139 if (!ret.isEmpty())
d24828818d36 [MSVC] enable Qt compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
140 ret += "\n\t";
d24828818d36 [MSVC] enable Qt compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
141 - ret += mkdir_p_asstring(dst_pc_dir, true);
d24828818d36 [MSVC] enable Qt compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
142 + ret += mkdir_p_asstring(Option::fixPathToTargetOS(dst_pc_dir, false), true);
d24828818d36 [MSVC] enable Qt compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
143 }
d24828818d36 [MSVC] enable Qt compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
144 if(!ret.isEmpty())
d24828818d36 [MSVC] enable Qt compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
145 ret += "\n\t";
d24828818d36 [MSVC] enable Qt compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
146 diff -ur qt-everywhere-opensource-src-4.8.3-orig/src/3rdparty/webkit/Source/WebCore/WebCore.pri qt-everywhere-opensource-src-4.8.3/src/3rdparty/webkit/Source/WebCore/WebCore.pri
d24828818d36 [MSVC] enable Qt compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
147 --- qt-everywhere-opensource-src-4.8.3-orig/src/3rdparty/webkit/Source/WebCore/WebCore.pri 2013-07-06 20:05:40 -0400
d24828818d36 [MSVC] enable Qt compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
148 +++ qt-everywhere-opensource-src-4.8.3/src/3rdparty/webkit/Source/WebCore/WebCore.pri 2013-07-08 20:37:56 -0400
d24828818d36 [MSVC] enable Qt compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
149 @@ -329,7 +329,7 @@
d24828818d36 [MSVC] enable Qt compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
150 unix:!mac:*-g++*:QMAKE_LFLAGS += -Wl,--gc-sections
d24828818d36 [MSVC] enable Qt compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
151 linux*-g++*:QMAKE_LFLAGS += $$QMAKE_LFLAGS_NOUNDEF
d24828818d36 [MSVC] enable Qt compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
152
d24828818d36 [MSVC] enable Qt compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
153 -unix|win32-g++*:QMAKE_PKGCONFIG_REQUIRES = QtCore QtGui QtNetwork
d24828818d36 [MSVC] enable Qt compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
154 +unix|win32-g++*|win32-msvc*:QMAKE_PKGCONFIG_REQUIRES = QtCore QtGui QtNetwork
d24828818d36 [MSVC] enable Qt compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
155 unix:!mac:!symbian:CONFIG += link_pkgconfig
d24828818d36 [MSVC] enable Qt compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
156
d24828818d36 [MSVC] enable Qt compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
157 # Disable C++0x mode in WebCore for those who enabled it in their Qt's mkspec
d24828818d36 [MSVC] enable Qt compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
158 diff -ur qt-everywhere-opensource-src-4.8.3-orig/src/3rdparty/zlib_dependency.pri qt-everywhere-opensource-src-4.8.3/src/3rdparty/zlib_dependency.pri
d24828818d36 [MSVC] enable Qt compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
159 --- qt-everywhere-opensource-src-4.8.3-orig/src/3rdparty/zlib_dependency.pri 2012-09-10 21:36:50 -0400
d24828818d36 [MSVC] enable Qt compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
160 +++ qt-everywhere-opensource-src-4.8.3/src/3rdparty/zlib_dependency.pri 2013-07-06 19:02:53 -0400
d24828818d36 [MSVC] enable Qt compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
161 @@ -1,7 +1,7 @@
d24828818d36 [MSVC] enable Qt compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
162 # zlib dependency satisfied by bundled 3rd party zlib or system zlib
d24828818d36 [MSVC] enable Qt compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
163 contains(QT_CONFIG, system-zlib) {
d24828818d36 [MSVC] enable Qt compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
164 symbian: LIBS_PRIVATE += -llibz
d24828818d36 [MSVC] enable Qt compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
165 - else:if(unix|win32-g++*):LIBS_PRIVATE += -lz
d24828818d36 [MSVC] enable Qt compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
166 + else:if(unix|win32-g++*|win32-msvc*):LIBS_PRIVATE += -lz
d24828818d36 [MSVC] enable Qt compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
167 else: LIBS += zdll.lib
d24828818d36 [MSVC] enable Qt compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
168 } else {
d24828818d36 [MSVC] enable Qt compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
169 INCLUDEPATH += $$PWD/zlib
d24828818d36 [MSVC] enable Qt compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
170 diff -ur qt-everywhere-opensource-src-4.8.3-orig/src/dbus/dbus.pro qt-everywhere-opensource-src-4.8.3/src/dbus/dbus.pro
d24828818d36 [MSVC] enable Qt compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
171 --- qt-everywhere-opensource-src-4.8.3-orig/src/dbus/dbus.pro 2012-09-10 21:36:52 -0400
d24828818d36 [MSVC] enable Qt compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
172 +++ qt-everywhere-opensource-src-4.8.3/src/dbus/dbus.pro 2013-07-08 20:27:21 -0400
d24828818d36 [MSVC] enable Qt compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
173 @@ -12,14 +12,15 @@
d24828818d36 [MSVC] enable Qt compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
174 }
d24828818d36 [MSVC] enable Qt compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
175
d24828818d36 [MSVC] enable Qt compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
176 # INCLUDEPATH += .
d24828818d36 [MSVC] enable Qt compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
177 -unix|win32-g++* {
d24828818d36 [MSVC] enable Qt compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
178 +unix|win32-g++*|win32-msvc* {
d24828818d36 [MSVC] enable Qt compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
179 QMAKE_PKGCONFIG_DESCRIPTION = Qt \
d24828818d36 [MSVC] enable Qt compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
180 DBus \
d24828818d36 [MSVC] enable Qt compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
181 module
d24828818d36 [MSVC] enable Qt compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
182 QMAKE_PKGCONFIG_REQUIRES = QtCore \
d24828818d36 [MSVC] enable Qt compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
183 QtXml
d24828818d36 [MSVC] enable Qt compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
184 }
d24828818d36 [MSVC] enable Qt compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
185 -win32 {
d24828818d36 [MSVC] enable Qt compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
186 +win32 {
d24828818d36 [MSVC] enable Qt compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
187 + PKGCONFIG += dbus-1
d24828818d36 [MSVC] enable Qt compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
188 wince*:LIBS_PRIVATE += -lws2
d24828818d36 [MSVC] enable Qt compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
189 else:LIBS_PRIVATE += -lws2_32 \
d24828818d36 [MSVC] enable Qt compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
190 -ladvapi32 \
d24828818d36 [MSVC] enable Qt compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
191 diff -ur qt-everywhere-opensource-src-4.8.3-orig/src/declarative/declarative.pro qt-everywhere-opensource-src-4.8.3/src/declarative/declarative.pro
d24828818d36 [MSVC] enable Qt compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
192 --- qt-everywhere-opensource-src-4.8.3-orig/src/declarative/declarative.pro 2012-09-10 21:36:52 -0400
d24828818d36 [MSVC] enable Qt compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
193 +++ qt-everywhere-opensource-src-4.8.3/src/declarative/declarative.pro 2013-07-08 20:28:02 -0400
d24828818d36 [MSVC] enable Qt compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
194 @@ -6,7 +6,7 @@
d24828818d36 [MSVC] enable Qt compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
195 win32-msvc*|win32-icc:QMAKE_LFLAGS += /BASE:0x66000000
d24828818d36 [MSVC] enable Qt compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
196 solaris-cc*:QMAKE_CXXFLAGS_RELEASE -= -O2
d24828818d36 [MSVC] enable Qt compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
197
d24828818d36 [MSVC] enable Qt compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
198 -unix|win32-g++*:QMAKE_PKGCONFIG_REQUIRES = QtCore QtGui
d24828818d36 [MSVC] enable Qt compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
199 +unix|win32-g++*|win32-msvc*:QMAKE_PKGCONFIG_REQUIRES = QtCore QtGui
d24828818d36 [MSVC] enable Qt compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
200
d24828818d36 [MSVC] enable Qt compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
201 exists("qdeclarative_enable_gcov") {
d24828818d36 [MSVC] enable Qt compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
202 QMAKE_CXXFLAGS = -fprofile-arcs -ftest-coverage -fno-elide-constructors
d24828818d36 [MSVC] enable Qt compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
203 diff -ur qt-everywhere-opensource-src-4.8.3-orig/src/gui/gui.pro qt-everywhere-opensource-src-4.8.3/src/gui/gui.pro
d24828818d36 [MSVC] enable Qt compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
204 --- qt-everywhere-opensource-src-4.8.3-orig/src/gui/gui.pro 2012-09-10 21:36:51 -0400
d24828818d36 [MSVC] enable Qt compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
205 +++ qt-everywhere-opensource-src-4.8.3/src/gui/gui.pro 2013-07-08 20:29:11 -0400
d24828818d36 [MSVC] enable Qt compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
206 @@ -7,7 +7,7 @@
d24828818d36 [MSVC] enable Qt compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
207
d24828818d36 [MSVC] enable Qt compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
208 !win32:!embedded:!qpa:!mac:!symbian:CONFIG += x11
d24828818d36 [MSVC] enable Qt compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
209
d24828818d36 [MSVC] enable Qt compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
210 -unix|win32-g++*:QMAKE_PKGCONFIG_REQUIRES = QtCore
d24828818d36 [MSVC] enable Qt compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
211 +unix|win32-g++*|win32-msvc*:QMAKE_PKGCONFIG_REQUIRES = QtCore
d24828818d36 [MSVC] enable Qt compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
212
d24828818d36 [MSVC] enable Qt compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
213 include(../qbase.pri)
d24828818d36 [MSVC] enable Qt compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
214
d24828818d36 [MSVC] enable Qt compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
215 diff -ur qt-everywhere-opensource-src-4.8.3-orig/src/gui/image/qjpeghandler.pri qt-everywhere-opensource-src-4.8.3/src/gui/image/qjpeghandler.pri
d24828818d36 [MSVC] enable Qt compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
216 --- qt-everywhere-opensource-src-4.8.3-orig/src/gui/image/qjpeghandler.pri 2012-09-10 21:36:51 -0400
d24828818d36 [MSVC] enable Qt compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
217 +++ qt-everywhere-opensource-src-4.8.3/src/gui/image/qjpeghandler.pri 2013-07-07 12:02:46 -0400
d24828818d36 [MSVC] enable Qt compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
218 @@ -3,7 +3,7 @@
d24828818d36 [MSVC] enable Qt compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
219 HEADERS += $$PWD/qjpeghandler_p.h
d24828818d36 [MSVC] enable Qt compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
220 SOURCES += $$PWD/qjpeghandler.cpp
d24828818d36 [MSVC] enable Qt compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
221 contains(QT_CONFIG, system-jpeg) {
d24828818d36 [MSVC] enable Qt compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
222 - if(unix|win32-g++*): LIBS += -ljpeg
d24828818d36 [MSVC] enable Qt compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
223 + if(unix|win32-g++*|win32-msvc*): LIBS += -ljpeg
d24828818d36 [MSVC] enable Qt compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
224 else:win32: LIBS += libjpeg.lib
d24828818d36 [MSVC] enable Qt compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
225 } else {
d24828818d36 [MSVC] enable Qt compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
226 include($$PWD/../../3rdparty/libjpeg.pri)
d24828818d36 [MSVC] enable Qt compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
227 diff -ur qt-everywhere-opensource-src-4.8.3-orig/src/gui/image/qmnghandler.pri qt-everywhere-opensource-src-4.8.3/src/gui/image/qmnghandler.pri
d24828818d36 [MSVC] enable Qt compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
228 --- qt-everywhere-opensource-src-4.8.3-orig/src/gui/image/qmnghandler.pri 2013-07-06 20:05:40 -0400
d24828818d36 [MSVC] enable Qt compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
229 +++ qt-everywhere-opensource-src-4.8.3/src/gui/image/qmnghandler.pri 2013-07-07 12:04:15 -0400
d24828818d36 [MSVC] enable Qt compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
230 @@ -5,7 +5,7 @@
d24828818d36 [MSVC] enable Qt compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
231 contains(QT_CONFIG, system-mng) {
d24828818d36 [MSVC] enable Qt compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
232 CONFIG += link_pkgconfig
d24828818d36 [MSVC] enable Qt compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
233 PKGCONFIG += libmng
d24828818d36 [MSVC] enable Qt compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
234 - if(unix|win32-g++*):LIBS *= -lmng
d24828818d36 [MSVC] enable Qt compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
235 + if(unix|win32-g++*|win32-msvc*):LIBS *= -lmng
d24828818d36 [MSVC] enable Qt compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
236 else:win32: LIBS += libmng.lib
d24828818d36 [MSVC] enable Qt compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
237 } else {
d24828818d36 [MSVC] enable Qt compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
238 include($$PWD/../../3rdparty/libmng.pri)
d24828818d36 [MSVC] enable Qt compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
239 diff -ur qt-everywhere-opensource-src-4.8.3-orig/src/gui/image/qpnghandler.pri qt-everywhere-opensource-src-4.8.3/src/gui/image/qpnghandler.pri
d24828818d36 [MSVC] enable Qt compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
240 --- qt-everywhere-opensource-src-4.8.3-orig/src/gui/image/qpnghandler.pri 2012-09-10 21:36:51 -0400
d24828818d36 [MSVC] enable Qt compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
241 +++ qt-everywhere-opensource-src-4.8.3/src/gui/image/qpnghandler.pri 2013-07-06 23:22:58 -0400
d24828818d36 [MSVC] enable Qt compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
242 @@ -2,7 +2,7 @@
d24828818d36 [MSVC] enable Qt compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
243 HEADERS += $$PWD/qpnghandler_p.h
d24828818d36 [MSVC] enable Qt compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
244 SOURCES += $$PWD/qpnghandler.cpp
d24828818d36 [MSVC] enable Qt compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
245 contains(QT_CONFIG, system-png) {
d24828818d36 [MSVC] enable Qt compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
246 - if(unix|win32-g++*): LIBS_PRIVATE += -lpng
d24828818d36 [MSVC] enable Qt compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
247 + if(unix|win32-g++*|win32-msvc*): LIBS_PRIVATE += -lpng15
d24828818d36 [MSVC] enable Qt compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
248 else:win32: LIBS += libpng.lib
d24828818d36 [MSVC] enable Qt compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
249
d24828818d36 [MSVC] enable Qt compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
250 } else {
d24828818d36 [MSVC] enable Qt compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
251 diff -ur qt-everywhere-opensource-src-4.8.3-orig/src/gui/image/qtiffhandler.pri qt-everywhere-opensource-src-4.8.3/src/gui/image/qtiffhandler.pri
d24828818d36 [MSVC] enable Qt compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
252 --- qt-everywhere-opensource-src-4.8.3-orig/src/gui/image/qtiffhandler.pri 2013-07-06 20:05:40 -0400
d24828818d36 [MSVC] enable Qt compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
253 +++ qt-everywhere-opensource-src-4.8.3/src/gui/image/qtiffhandler.pri 2013-07-07 12:04:54 -0400
d24828818d36 [MSVC] enable Qt compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
254 @@ -5,7 +5,7 @@
d24828818d36 [MSVC] enable Qt compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
255 contains(QT_CONFIG, system-tiff) {
d24828818d36 [MSVC] enable Qt compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
256 CONFIG += link_pkgconfig
d24828818d36 [MSVC] enable Qt compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
257 PKGCONFIG += libtiff-4
d24828818d36 [MSVC] enable Qt compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
258 - if(unix|win32-g++*):LIBS *= -ltiff
d24828818d36 [MSVC] enable Qt compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
259 + if(unix|win32-g++*|win32-msvc*):LIBS *= -ltiff
d24828818d36 [MSVC] enable Qt compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
260 else:win32: LIBS += libtiff.lib
d24828818d36 [MSVC] enable Qt compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
261 } else {
d24828818d36 [MSVC] enable Qt compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
262 include($$PWD/../../3rdparty/libtiff.pri)
d24828818d36 [MSVC] enable Qt compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
263 diff -ur qt-everywhere-opensource-src-4.8.3-orig/src/multimedia/multimedia.pro qt-everywhere-opensource-src-4.8.3/src/multimedia/multimedia.pro
d24828818d36 [MSVC] enable Qt compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
264 --- qt-everywhere-opensource-src-4.8.3-orig/src/multimedia/multimedia.pro 2012-09-10 21:36:50 -0400
d24828818d36 [MSVC] enable Qt compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
265 +++ qt-everywhere-opensource-src-4.8.3/src/multimedia/multimedia.pro 2013-07-08 20:29:46 -0400
d24828818d36 [MSVC] enable Qt compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
266 @@ -4,7 +4,7 @@
d24828818d36 [MSVC] enable Qt compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
267
d24828818d36 [MSVC] enable Qt compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
268 DEFINES += QT_BUILD_MULTIMEDIA_LIB QT_NO_USING_NAMESPACE
d24828818d36 [MSVC] enable Qt compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
269
d24828818d36 [MSVC] enable Qt compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
270 -unix|win32-g++*:QMAKE_PKGCONFIG_REQUIRES = QtCore QtGui
d24828818d36 [MSVC] enable Qt compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
271 +unix|win32-g++*|win32-msvc*:QMAKE_PKGCONFIG_REQUIRES = QtCore QtGui
d24828818d36 [MSVC] enable Qt compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
272
d24828818d36 [MSVC] enable Qt compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
273 include(../qbase.pri)
d24828818d36 [MSVC] enable Qt compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
274
d24828818d36 [MSVC] enable Qt compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
275 diff -ur qt-everywhere-opensource-src-4.8.3-orig/src/network/network.pro qt-everywhere-opensource-src-4.8.3/src/network/network.pro
d24828818d36 [MSVC] enable Qt compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
276 --- qt-everywhere-opensource-src-4.8.3-orig/src/network/network.pro 2012-09-10 21:36:51 -0400
d24828818d36 [MSVC] enable Qt compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
277 +++ qt-everywhere-opensource-src-4.8.3/src/network/network.pro 2013-07-08 20:30:10 -0400
d24828818d36 [MSVC] enable Qt compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
278 @@ -13,7 +13,7 @@
d24828818d36 [MSVC] enable Qt compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
279 QT = core
d24828818d36 [MSVC] enable Qt compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
280 win32-msvc*|win32-icc:QMAKE_LFLAGS += /BASE:0x64000000
d24828818d36 [MSVC] enable Qt compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
281
d24828818d36 [MSVC] enable Qt compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
282 -unix|win32-g++*:QMAKE_PKGCONFIG_REQUIRES = QtCore
d24828818d36 [MSVC] enable Qt compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
283 +unix|win32-g++*|win32-msvc*:QMAKE_PKGCONFIG_REQUIRES = QtCore
d24828818d36 [MSVC] enable Qt compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
284
d24828818d36 [MSVC] enable Qt compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
285 include(../qbase.pri)
d24828818d36 [MSVC] enable Qt compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
286 include(access/access.pri)
d24828818d36 [MSVC] enable Qt compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
287 diff -ur qt-everywhere-opensource-src-4.8.3-orig/src/network/ssl/qsslsocket_p.h qt-everywhere-opensource-src-4.8.3/src/network/ssl/qsslsocket_p.h
d24828818d36 [MSVC] enable Qt compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
288 --- qt-everywhere-opensource-src-4.8.3-orig/src/network/ssl/qsslsocket_p.h 2012-09-10 21:36:51 -0400
d24828818d36 [MSVC] enable Qt compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
289 +++ qt-everywhere-opensource-src-4.8.3/src/network/ssl/qsslsocket_p.h 2013-07-06 19:04:03 -0400
d24828818d36 [MSVC] enable Qt compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
290 @@ -75,6 +75,7 @@
d24828818d36 [MSVC] enable Qt compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
291 typedef OSStatus (*PtrSecTrustCopyAnchorCertificates)(CFArrayRef*);
d24828818d36 [MSVC] enable Qt compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
292 #endif
d24828818d36 [MSVC] enable Qt compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
293 #elif defined(Q_OS_WIN)
d24828818d36 [MSVC] enable Qt compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
294 +#define WIN32_LEAN_AND_MEAN
d24828818d36 [MSVC] enable Qt compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
295 #include <windows.h>
d24828818d36 [MSVC] enable Qt compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
296 #include <wincrypt.h>
d24828818d36 [MSVC] enable Qt compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
297 #ifndef HCRYPTPROV_LEGACY
d24828818d36 [MSVC] enable Qt compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
298 diff -ur qt-everywhere-opensource-src-4.8.3-orig/src/opengl/opengl.pro qt-everywhere-opensource-src-4.8.3/src/opengl/opengl.pro
d24828818d36 [MSVC] enable Qt compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
299 --- qt-everywhere-opensource-src-4.8.3-orig/src/opengl/opengl.pro 2012-09-10 21:36:52 -0400
d24828818d36 [MSVC] enable Qt compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
300 +++ qt-everywhere-opensource-src-4.8.3/src/opengl/opengl.pro 2013-07-08 20:30:47 -0400
d24828818d36 [MSVC] enable Qt compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
301 @@ -7,7 +7,7 @@
d24828818d36 [MSVC] enable Qt compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
302 solaris-cc*:QMAKE_CXXFLAGS_RELEASE -= -O2
d24828818d36 [MSVC] enable Qt compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
303 irix-cc*:QMAKE_CXXFLAGS += -no_prelink -ptused
d24828818d36 [MSVC] enable Qt compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
304
d24828818d36 [MSVC] enable Qt compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
305 -unix|win32-g++*:QMAKE_PKGCONFIG_REQUIRES = QtCore QtGui
d24828818d36 [MSVC] enable Qt compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
306 +unix|win32-g++*|win32-msvc*:QMAKE_PKGCONFIG_REQUIRES = QtCore QtGui
d24828818d36 [MSVC] enable Qt compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
307
d24828818d36 [MSVC] enable Qt compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
308 include(../qbase.pri)
d24828818d36 [MSVC] enable Qt compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
309
d24828818d36 [MSVC] enable Qt compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
310 diff -ur qt-everywhere-opensource-src-4.8.3-orig/src/openvg/openvg.pro qt-everywhere-opensource-src-4.8.3/src/openvg/openvg.pro
d24828818d36 [MSVC] enable Qt compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
311 --- qt-everywhere-opensource-src-4.8.3-orig/src/openvg/openvg.pro 2012-09-10 21:36:50 -0400
d24828818d36 [MSVC] enable Qt compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
312 +++ qt-everywhere-opensource-src-4.8.3/src/openvg/openvg.pro 2013-07-08 20:31:31 -0400
d24828818d36 [MSVC] enable Qt compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
313 @@ -49,7 +49,7 @@
d24828818d36 [MSVC] enable Qt compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
314
d24828818d36 [MSVC] enable Qt compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
315 include(../qbase.pri)
d24828818d36 [MSVC] enable Qt compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
316
d24828818d36 [MSVC] enable Qt compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
317 -unix|win32-g++*:QMAKE_PKGCONFIG_REQUIRES = QtCore QtGui
d24828818d36 [MSVC] enable Qt compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
318 +unix|win32-g++*|win32-msvc*:QMAKE_PKGCONFIG_REQUIRES = QtCore QtGui
d24828818d36 [MSVC] enable Qt compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
319 symbian:TARGET.UID3 = 0x2001E62F
d24828818d36 [MSVC] enable Qt compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
320
d24828818d36 [MSVC] enable Qt compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
321 !isEmpty(QMAKE_INCDIR_OPENVG): INCLUDEPATH += $$QMAKE_INCDIR_OPENVG
d24828818d36 [MSVC] enable Qt compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
322 diff -ur qt-everywhere-opensource-src-4.8.3-orig/src/phonon/phonon.pro qt-everywhere-opensource-src-4.8.3/src/phonon/phonon.pro
d24828818d36 [MSVC] enable Qt compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
323 --- qt-everywhere-opensource-src-4.8.3-orig/src/phonon/phonon.pro 2012-09-10 21:36:50 -0400
d24828818d36 [MSVC] enable Qt compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
324 +++ qt-everywhere-opensource-src-4.8.3/src/phonon/phonon.pro 2013-07-08 20:31:37 -0400
d24828818d36 [MSVC] enable Qt compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
325 @@ -11,7 +11,7 @@
d24828818d36 [MSVC] enable Qt compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
326
d24828818d36 [MSVC] enable Qt compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
327 PHONON_DIR = $$QT_SOURCE_TREE/src/3rdparty/phonon/phonon
d24828818d36 [MSVC] enable Qt compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
328
d24828818d36 [MSVC] enable Qt compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
329 -unix|win32-g++*:QMAKE_PKGCONFIG_REQUIRES = QtCore QtGui QtNetwork
d24828818d36 [MSVC] enable Qt compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
330 +unix|win32-g++*|win32-msvc*:QMAKE_PKGCONFIG_REQUIRES = QtCore QtGui QtNetwork
d24828818d36 [MSVC] enable Qt compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
331
d24828818d36 [MSVC] enable Qt compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
332 # Input
d24828818d36 [MSVC] enable Qt compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
333 HEADERS += $$PHONON_DIR/abstractaudiooutput.h \
d24828818d36 [MSVC] enable Qt compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
334 diff -ur qt-everywhere-opensource-src-4.8.3-orig/src/qbase.pri qt-everywhere-opensource-src-4.8.3/src/qbase.pri
d24828818d36 [MSVC] enable Qt compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
335 --- qt-everywhere-opensource-src-4.8.3-orig/src/qbase.pri 2012-09-10 21:36:44 -0400
d24828818d36 [MSVC] enable Qt compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
336 +++ qt-everywhere-opensource-src-4.8.3/src/qbase.pri 2013-07-08 18:58:07 -0400
d24828818d36 [MSVC] enable Qt compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
337 @@ -135,7 +135,7 @@
d24828818d36 [MSVC] enable Qt compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
338 #install directives
d24828818d36 [MSVC] enable Qt compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
339 include(qt_install.pri)
d24828818d36 [MSVC] enable Qt compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
340
d24828818d36 [MSVC] enable Qt compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
341 -unix|win32-g++*:!symbian {
d24828818d36 [MSVC] enable Qt compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
342 +unix|win32-g++*|win32-msvc*:!symbian {
d24828818d36 [MSVC] enable Qt compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
343 CONFIG += create_pc
d24828818d36 [MSVC] enable Qt compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
344 QMAKE_PKGCONFIG_LIBDIR = $$[QT_INSTALL_LIBS]
d24828818d36 [MSVC] enable Qt compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
345 QMAKE_PKGCONFIG_INCDIR = $$[QT_INSTALL_HEADERS]/$$TARGET
d24828818d36 [MSVC] enable Qt compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
346 diff -ur qt-everywhere-opensource-src-4.8.3-orig/src/qt3support/qt3support.pro qt-everywhere-opensource-src-4.8.3/src/qt3support/qt3support.pro
d24828818d36 [MSVC] enable Qt compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
347 --- qt-everywhere-opensource-src-4.8.3-orig/src/qt3support/qt3support.pro 2012-09-10 21:36:52 -0400
d24828818d36 [MSVC] enable Qt compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
348 +++ qt-everywhere-opensource-src-4.8.3/src/qt3support/qt3support.pro 2013-07-08 20:32:28 -0400
d24828818d36 [MSVC] enable Qt compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
349 @@ -21,7 +21,7 @@
d24828818d36 [MSVC] enable Qt compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
350 include(network/network.pri)
d24828818d36 [MSVC] enable Qt compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
351 include(painting/painting.pri)
d24828818d36 [MSVC] enable Qt compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
352
d24828818d36 [MSVC] enable Qt compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
353 -unix|win32-g++* {
d24828818d36 [MSVC] enable Qt compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
354 +unix|win32-g++*|win32-msvc* {
d24828818d36 [MSVC] enable Qt compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
355 QMAKE_PKGCONFIG_CFLAGS += -DQT3_SUPPORT
d24828818d36 [MSVC] enable Qt compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
356 QMAKE_PKGCONFIG_REQUIRES = QtCore QtGui QtNetwork QtSql
d24828818d36 [MSVC] enable Qt compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
357 }
d24828818d36 [MSVC] enable Qt compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
358 diff -ur qt-everywhere-opensource-src-4.8.3-orig/src/script/script.pro qt-everywhere-opensource-src-4.8.3/src/script/script.pro
d24828818d36 [MSVC] enable Qt compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
359 --- qt-everywhere-opensource-src-4.8.3-orig/src/script/script.pro 2012-09-10 21:36:52 -0400
d24828818d36 [MSVC] enable Qt compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
360 +++ qt-everywhere-opensource-src-4.8.3/src/script/script.pro 2013-07-08 20:33:15 -0400
d24828818d36 [MSVC] enable Qt compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
361 @@ -7,7 +7,7 @@
d24828818d36 [MSVC] enable Qt compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
362 DEFINES += QLALR_NO_QSCRIPTGRAMMAR_DEBUG_INFO
d24828818d36 [MSVC] enable Qt compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
363 #win32-msvc*|win32-icc:QMAKE_LFLAGS += /BASE:0x66000000 ### FIXME
d24828818d36 [MSVC] enable Qt compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
364
d24828818d36 [MSVC] enable Qt compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
365 -unix|win32-g++*:QMAKE_PKGCONFIG_REQUIRES = QtCore
d24828818d36 [MSVC] enable Qt compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
366 +unix|win32-g++*|win32-msvc*:QMAKE_PKGCONFIG_REQUIRES = QtCore
d24828818d36 [MSVC] enable Qt compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
367
d24828818d36 [MSVC] enable Qt compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
368 include(../qbase.pri)
d24828818d36 [MSVC] enable Qt compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
369
d24828818d36 [MSVC] enable Qt compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
370 diff -ur qt-everywhere-opensource-src-4.8.3-orig/src/scripttools/scripttools.pro qt-everywhere-opensource-src-4.8.3/src/scripttools/scripttools.pro
d24828818d36 [MSVC] enable Qt compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
371 --- qt-everywhere-opensource-src-4.8.3-orig/src/scripttools/scripttools.pro 2012-09-10 21:36:50 -0400
d24828818d36 [MSVC] enable Qt compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
372 +++ qt-everywhere-opensource-src-4.8.3/src/scripttools/scripttools.pro 2013-07-08 20:33:23 -0400
d24828818d36 [MSVC] enable Qt compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
373 @@ -5,7 +5,7 @@
d24828818d36 [MSVC] enable Qt compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
374 DEFINES += QT_NO_USING_NAMESPACE
d24828818d36 [MSVC] enable Qt compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
375 #win32-msvc*|win32-icc:QMAKE_LFLAGS += /BASE:0x66000000
d24828818d36 [MSVC] enable Qt compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
376
d24828818d36 [MSVC] enable Qt compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
377 -unix|win32-g++*:QMAKE_PKGCONFIG_REQUIRES = QtCore QtGui QtScript
d24828818d36 [MSVC] enable Qt compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
378 +unix|win32-g++*|win32-msvc*:QMAKE_PKGCONFIG_REQUIRES = QtCore QtGui QtScript
d24828818d36 [MSVC] enable Qt compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
379
d24828818d36 [MSVC] enable Qt compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
380 include(../qbase.pri)
d24828818d36 [MSVC] enable Qt compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
381
d24828818d36 [MSVC] enable Qt compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
382 diff -ur qt-everywhere-opensource-src-4.8.3-orig/src/sql/sql.pro qt-everywhere-opensource-src-4.8.3/src/sql/sql.pro
d24828818d36 [MSVC] enable Qt compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
383 --- qt-everywhere-opensource-src-4.8.3-orig/src/sql/sql.pro 2012-09-10 21:36:44 -0400
d24828818d36 [MSVC] enable Qt compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
384 +++ qt-everywhere-opensource-src-4.8.3/src/sql/sql.pro 2013-07-08 20:34:34 -0400
d24828818d36 [MSVC] enable Qt compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
385 @@ -5,7 +5,7 @@
d24828818d36 [MSVC] enable Qt compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
386 DEFINES += QT_NO_USING_NAMESPACE
d24828818d36 [MSVC] enable Qt compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
387 win32-msvc*|win32-icc:QMAKE_LFLAGS += /BASE:0x62000000
d24828818d36 [MSVC] enable Qt compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
388
d24828818d36 [MSVC] enable Qt compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
389 -unix|win32-g++*:QMAKE_PKGCONFIG_REQUIRES = QtCore
d24828818d36 [MSVC] enable Qt compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
390 +unix|win32-g++*|win32-msvc*:QMAKE_PKGCONFIG_REQUIRES = QtCore
d24828818d36 [MSVC] enable Qt compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
391
d24828818d36 [MSVC] enable Qt compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
392 include(../qbase.pri)
d24828818d36 [MSVC] enable Qt compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
393
d24828818d36 [MSVC] enable Qt compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
394 diff -ur qt-everywhere-opensource-src-4.8.3-orig/src/svg/svg.pro qt-everywhere-opensource-src-4.8.3/src/svg/svg.pro
d24828818d36 [MSVC] enable Qt compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
395 --- qt-everywhere-opensource-src-4.8.3-orig/src/svg/svg.pro 2012-09-10 21:36:50 -0400
d24828818d36 [MSVC] enable Qt compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
396 +++ qt-everywhere-opensource-src-4.8.3/src/svg/svg.pro 2013-07-08 20:34:58 -0400
d24828818d36 [MSVC] enable Qt compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
397 @@ -6,7 +6,7 @@
d24828818d36 [MSVC] enable Qt compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
398 win32-msvc*|win32-icc:QMAKE_LFLAGS += /BASE:0x66000000
d24828818d36 [MSVC] enable Qt compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
399 solaris-cc*:QMAKE_CXXFLAGS_RELEASE -= -O2
d24828818d36 [MSVC] enable Qt compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
400
d24828818d36 [MSVC] enable Qt compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
401 -unix|win32-g++*:QMAKE_PKGCONFIG_REQUIRES = QtCore QtGui
d24828818d36 [MSVC] enable Qt compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
402 +unix|win32-g++*|win32-msvc*:QMAKE_PKGCONFIG_REQUIRES = QtCore QtGui
d24828818d36 [MSVC] enable Qt compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
403
d24828818d36 [MSVC] enable Qt compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
404 include(../qbase.pri)
d24828818d36 [MSVC] enable Qt compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
405
d24828818d36 [MSVC] enable Qt compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
406 diff -ur qt-everywhere-opensource-src-4.8.3-orig/src/tools/bootstrap/bootstrap.pri qt-everywhere-opensource-src-4.8.3/src/tools/bootstrap/bootstrap.pri
d24828818d36 [MSVC] enable Qt compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
407 --- qt-everywhere-opensource-src-4.8.3-orig/src/tools/bootstrap/bootstrap.pri 2012-09-10 21:36:52 -0400
d24828818d36 [MSVC] enable Qt compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
408 +++ qt-everywhere-opensource-src-4.8.3/src/tools/bootstrap/bootstrap.pri 2013-07-06 19:03:11 -0400
d24828818d36 [MSVC] enable Qt compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
409 @@ -55,7 +55,7 @@
d24828818d36 [MSVC] enable Qt compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
410 }
d24828818d36 [MSVC] enable Qt compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
411 !contains(QT_CONFIG, zlib):!contains(QT_CONFIG, no-zlib):!cross_compile {
d24828818d36 [MSVC] enable Qt compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
412 symbian:LIBS_PRIVATE += -llibz
d24828818d36 [MSVC] enable Qt compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
413 - else:if(unix|win32-g++*):LIBS_PRIVATE += -lz
d24828818d36 [MSVC] enable Qt compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
414 + else:if(unix|win32-g++*|win32-msvc*):LIBS_PRIVATE += -lz
d24828818d36 [MSVC] enable Qt compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
415 else:LIBS += zdll.lib
d24828818d36 [MSVC] enable Qt compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
416 }
d24828818d36 [MSVC] enable Qt compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
417 win32:LIBS += -luser32
d24828818d36 [MSVC] enable Qt compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
418 diff -ur qt-everywhere-opensource-src-4.8.3-orig/src/xml/xml.pro qt-everywhere-opensource-src-4.8.3/src/xml/xml.pro
d24828818d36 [MSVC] enable Qt compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
419 --- qt-everywhere-opensource-src-4.8.3-orig/src/xml/xml.pro 2012-09-10 21:36:50 -0400
d24828818d36 [MSVC] enable Qt compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
420 +++ qt-everywhere-opensource-src-4.8.3/src/xml/xml.pro 2013-07-08 20:36:31 -0400
d24828818d36 [MSVC] enable Qt compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
421 @@ -4,7 +4,7 @@
d24828818d36 [MSVC] enable Qt compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
422 DEFINES += QT_BUILD_XML_LIB QT_NO_USING_NAMESPACE
d24828818d36 [MSVC] enable Qt compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
423 win32-msvc*|win32-icc:QMAKE_LFLAGS += /BASE:0x61000000
d24828818d36 [MSVC] enable Qt compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
424
d24828818d36 [MSVC] enable Qt compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
425 -unix|win32-g++*:QMAKE_PKGCONFIG_REQUIRES = QtCore
d24828818d36 [MSVC] enable Qt compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
426 +unix|win32-g++*|win32-msvc*:QMAKE_PKGCONFIG_REQUIRES = QtCore
d24828818d36 [MSVC] enable Qt compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
427
d24828818d36 [MSVC] enable Qt compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
428 include(../qbase.pri)
d24828818d36 [MSVC] enable Qt compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
429
d24828818d36 [MSVC] enable Qt compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
430 diff -ur qt-everywhere-opensource-src-4.8.3-orig/src/xmlpatterns/xmlpatterns.pro qt-everywhere-opensource-src-4.8.3/src/xmlpatterns/xmlpatterns.pro
d24828818d36 [MSVC] enable Qt compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
431 --- qt-everywhere-opensource-src-4.8.3-orig/src/xmlpatterns/xmlpatterns.pro 2012-09-10 21:36:50 -0400
d24828818d36 [MSVC] enable Qt compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
432 +++ qt-everywhere-opensource-src-4.8.3/src/xmlpatterns/xmlpatterns.pro 2013-07-08 20:36:38 -0400
d24828818d36 [MSVC] enable Qt compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
433 @@ -5,7 +5,7 @@
d24828818d36 [MSVC] enable Qt compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
434 DEFINES += QT_BUILD_XMLPATTERNS_LIB \
d24828818d36 [MSVC] enable Qt compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
435 QT_NO_USING_NAMESPACE
d24828818d36 [MSVC] enable Qt compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
436 win32-msvc*|win32-icc:QMAKE_LFLAGS += /BASE:0x61000000
d24828818d36 [MSVC] enable Qt compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
437 -unix|win32-g++*:QMAKE_PKGCONFIG_REQUIRES = QtCore \
d24828818d36 [MSVC] enable Qt compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
438 +unix|win32-g++*|win32-msvc*:QMAKE_PKGCONFIG_REQUIRES = QtCore \
d24828818d36 [MSVC] enable Qt compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
439 QtNetwork
d24828818d36 [MSVC] enable Qt compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
440 include(../qbase.pri)
d24828818d36 [MSVC] enable Qt compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
441 PRECOMPILED_HEADER = ../corelib/global/qt_pch.h
d24828818d36 [MSVC] enable Qt compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
442 diff -ur qt-everywhere-opensource-src-4.8.3-orig/tools/assistant/lib/fulltextsearch/fulltextsearch.pro qt-everywhere-opensource-src-4.8.3/tools/assistant/lib/fulltextsearch/fulltextsearch.pro
d24828818d36 [MSVC] enable Qt compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
443 --- qt-everywhere-opensource-src-4.8.3-orig/tools/assistant/lib/fulltextsearch/fulltextsearch.pro 2012-09-10 21:36:54 -0400
d24828818d36 [MSVC] enable Qt compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
444 +++ qt-everywhere-opensource-src-4.8.3/tools/assistant/lib/fulltextsearch/fulltextsearch.pro 2013-07-08 20:47:43 -0400
d24828818d36 [MSVC] enable Qt compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
445 @@ -23,7 +23,7 @@
d24828818d36 [MSVC] enable Qt compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
446 linux*-g++*:DEFINES += _GLIBCXX_EXTERN_TEMPLATE=0
d24828818d36 [MSVC] enable Qt compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
447 }
d24828818d36 [MSVC] enable Qt compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
448
d24828818d36 [MSVC] enable Qt compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
449 -unix|win32-g++*:QMAKE_PKGCONFIG_REQUIRES = QtCore
d24828818d36 [MSVC] enable Qt compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
450 +unix|win32-g++*|win32-msvc*:QMAKE_PKGCONFIG_REQUIRES = QtCore
d24828818d36 [MSVC] enable Qt compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
451
d24828818d36 [MSVC] enable Qt compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
452 # impossible to disable exceptions in clucene atm
d24828818d36 [MSVC] enable Qt compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
453 CONFIG(exceptions_off) {
d24828818d36 [MSVC] enable Qt compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
454 diff -ur qt-everywhere-opensource-src-4.8.3-orig/tools/assistant/lib/lib.pro qt-everywhere-opensource-src-4.8.3/tools/assistant/lib/lib.pro
d24828818d36 [MSVC] enable Qt compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
455 --- qt-everywhere-opensource-src-4.8.3-orig/tools/assistant/lib/lib.pro 2012-09-10 21:36:54 -0400
d24828818d36 [MSVC] enable Qt compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
456 +++ qt-everywhere-opensource-src-4.8.3/tools/assistant/lib/lib.pro 2013-07-08 20:44:40 -0400
d24828818d36 [MSVC] enable Qt compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
457 @@ -18,7 +18,7 @@
d24828818d36 [MSVC] enable Qt compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
458 win32:qclucene = $${qclucene}d
d24828818d36 [MSVC] enable Qt compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
459 }
d24828818d36 [MSVC] enable Qt compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
460 linux-lsb-g++:LIBS_PRIVATE += --lsb-shared-libs=$$qclucene
d24828818d36 [MSVC] enable Qt compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
461 -unix|win32-g++*:QMAKE_PKGCONFIG_REQUIRES += QtNetwork \
d24828818d36 [MSVC] enable Qt compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
462 +unix|win32-g++*|win32-msvc*:QMAKE_PKGCONFIG_REQUIRES += QtNetwork \
d24828818d36 [MSVC] enable Qt compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
463 QtSql \
d24828818d36 [MSVC] enable Qt compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
464 QtXml
d24828818d36 [MSVC] enable Qt compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
465 LIBS_PRIVATE += -l$$qclucene
d24828818d36 [MSVC] enable Qt compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
466 diff -ur qt-everywhere-opensource-src-4.8.3-orig/tools/designer/src/components/lib/lib.pro qt-everywhere-opensource-src-4.8.3/tools/designer/src/components/lib/lib.pro
d24828818d36 [MSVC] enable Qt compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
467 --- qt-everywhere-opensource-src-4.8.3-orig/tools/designer/src/components/lib/lib.pro 2012-09-10 21:36:54 -0400
d24828818d36 [MSVC] enable Qt compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
468 +++ qt-everywhere-opensource-src-4.8.3/tools/designer/src/components/lib/lib.pro 2013-07-08 20:42:01 -0400
d24828818d36 [MSVC] enable Qt compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
469 @@ -64,7 +64,7 @@
d24828818d36 [MSVC] enable Qt compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
470 include(../../sharedcomponents.pri)
d24828818d36 [MSVC] enable Qt compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
471 include(../component.pri)
d24828818d36 [MSVC] enable Qt compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
472
d24828818d36 [MSVC] enable Qt compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
473 -unix|win32-g++* {
d24828818d36 [MSVC] enable Qt compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
474 +unix|win32-g++*|win32-msvc* {
d24828818d36 [MSVC] enable Qt compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
475 QMAKE_PKGCONFIG_REQUIRES = QtCore QtDesigner QtGui QtXml
d24828818d36 [MSVC] enable Qt compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
476 contains(QT_CONFIG, script): QMAKE_PKGCONFIG_REQUIRES += QtScript
d24828818d36 [MSVC] enable Qt compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
477 }
d24828818d36 [MSVC] enable Qt compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
478 diff -ur qt-everywhere-opensource-src-4.8.3-orig/tools/designer/src/lib/lib.pro qt-everywhere-opensource-src-4.8.3/tools/designer/src/lib/lib.pro
d24828818d36 [MSVC] enable Qt compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
479 --- qt-everywhere-opensource-src-4.8.3-orig/tools/designer/src/lib/lib.pro 2012-09-10 21:36:54 -0400
d24828818d36 [MSVC] enable Qt compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
480 +++ qt-everywhere-opensource-src-4.8.3/tools/designer/src/lib/lib.pro 2013-07-08 20:41:16 -0400
d24828818d36 [MSVC] enable Qt compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
481 @@ -13,7 +13,7 @@
d24828818d36 [MSVC] enable Qt compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
482 VERSION=$${QT_MAJOR_VERSION}.$${QT_MINOR_VERSION}.$${QT_PATCH_VERSION}
d24828818d36 [MSVC] enable Qt compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
483 }
d24828818d36 [MSVC] enable Qt compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
484
d24828818d36 [MSVC] enable Qt compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
485 -unix|win32-g++*:QMAKE_PKGCONFIG_REQUIRES += QtXml
d24828818d36 [MSVC] enable Qt compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
486 +unix|win32-g++*|win32-msvc*:QMAKE_PKGCONFIG_REQUIRES += QtXml
d24828818d36 [MSVC] enable Qt compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
487
d24828818d36 [MSVC] enable Qt compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
488 include(../../../../src/qt_targets.pri)
d24828818d36 [MSVC] enable Qt compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
489 QMAKE_TARGET_PRODUCT = Designer
d24828818d36 [MSVC] enable Qt compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
490 diff -ur qt-everywhere-opensource-src-4.8.3-orig/tools/designer/src/uitools/uitools.pro qt-everywhere-opensource-src-4.8.3/tools/designer/src/uitools/uitools.pro
d24828818d36 [MSVC] enable Qt compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
491 --- qt-everywhere-opensource-src-4.8.3-orig/tools/designer/src/uitools/uitools.pro 2012-09-10 21:36:54 -0400
d24828818d36 [MSVC] enable Qt compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
492 +++ qt-everywhere-opensource-src-4.8.3/tools/designer/src/uitools/uitools.pro 2013-07-08 20:51:10 -0400
d24828818d36 [MSVC] enable Qt compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
493 @@ -35,7 +35,7 @@
d24828818d36 [MSVC] enable Qt compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
494 target.path=$$[QT_INSTALL_LIBS]
d24828818d36 [MSVC] enable Qt compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
495 INSTALLS += target
d24828818d36 [MSVC] enable Qt compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
496
d24828818d36 [MSVC] enable Qt compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
497 -unix|win32-g++* {
d24828818d36 [MSVC] enable Qt compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
498 +unix|win32-g++*|win32-msvc* {
d24828818d36 [MSVC] enable Qt compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
499 CONFIG += create_pc
d24828818d36 [MSVC] enable Qt compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
500 QMAKE_PKGCONFIG_LIBDIR = $$[QT_INSTALL_LIBS]
d24828818d36 [MSVC] enable Qt compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
501 QMAKE_PKGCONFIG_INCDIR = $$[QT_INSTALL_HEADERS]/$$TARGET