mirror of
https://github.com/crystalidea/qt-build-tools.git
synced 2024-11-29 14:45:57 +08:00
5.12.0
This commit is contained in:
parent
33139e5dee
commit
c6f94eda53
BIN
5.12.0/bin/7z.exe
Normal file
BIN
5.12.0/bin/7z.exe
Normal file
Binary file not shown.
BIN
5.12.0/bin/wget.exe
Normal file
BIN
5.12.0/bin/wget.exe
Normal file
Binary file not shown.
72
5.12.0/compile_mac.sh
Normal file
72
5.12.0/compile_mac.sh
Normal file
@ -0,0 +1,72 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
# requirements:
|
||||||
|
# 1. brew
|
||||||
|
# 2. brew install llvm (https://bugreports.qt.io/browse/QTBUG-66353)
|
||||||
|
|
||||||
|
export PATH=$PATH:/usr/local/Qt-5.12.0/bin
|
||||||
|
|
||||||
|
cd qtbase
|
||||||
|
|
||||||
|
if [[ $1 == openssl ]]; then
|
||||||
|
|
||||||
|
# download openssl
|
||||||
|
curl -O https://www.openssl.org/source/old/1.0.2/openssl-1.0.2l.tar.gz
|
||||||
|
tar -xvzf openssl-1.0.2l.tar.gz
|
||||||
|
|
||||||
|
# compile openssl
|
||||||
|
cd openssl-1.0.2l
|
||||||
|
./Configure darwin64-x86_64-cc --prefix=$PWD/dist
|
||||||
|
make
|
||||||
|
# print arch info (optional)
|
||||||
|
lipo -info libssl.a
|
||||||
|
lipo -info libcrypto.a
|
||||||
|
make install
|
||||||
|
cd ..
|
||||||
|
|
||||||
|
# continue
|
||||||
|
|
||||||
|
OPENSSL_LIBS='-L$PWD/openssl-1.0.2l/dist/lib -lssl -lcrypto' ./configure -opensource -confirm-license -no-securetransport -nomake examples -nomake tests -openssl-linked -I $PWD/openssl-1.0.2l/dist/include -L $PWD/openssl-1.0.2l/dist/lib
|
||||||
|
|
||||||
|
elif [[ $1 == securetransport ]]; then
|
||||||
|
|
||||||
|
./configure -opensource -confirm-license -nomake examples -nomake tests -no-openssl -securetransport
|
||||||
|
|
||||||
|
else
|
||||||
|
|
||||||
|
echo "Error: please specify which SSL layer to use (openssl or securetransport)"
|
||||||
|
exit 1
|
||||||
|
|
||||||
|
fi
|
||||||
|
|
||||||
|
make -j 8
|
||||||
|
echo maki | sudo -S sudo make install
|
||||||
|
|
||||||
|
cd ../qttools
|
||||||
|
qmake
|
||||||
|
make -j 8
|
||||||
|
echo maki | sudo -S sudo make install
|
||||||
|
|
||||||
|
cd ../qtmacextras
|
||||||
|
qmake
|
||||||
|
make -j 8
|
||||||
|
echo maki | sudo -S sudo make install
|
||||||
|
|
||||||
|
cd ../qtdeclarative/src
|
||||||
|
qmake
|
||||||
|
make -j 8 sub-qmldevtools
|
||||||
|
echo maki | sudo -S sudo make install
|
||||||
|
|
||||||
|
# make docs - currently doesnt work
|
||||||
|
|
||||||
|
#cd ../qtbase
|
||||||
|
#make -j 8 docs
|
||||||
|
#cd ../qttools
|
||||||
|
#make -j 8 docs
|
||||||
|
#cd ../qtmacextras
|
||||||
|
#make -j 8 docs
|
||||||
|
|
||||||
|
#echo maki | sudo -S cp -f -r ../qtbase/doc /usr/local/Qt-5.12.0/
|
||||||
|
|
||||||
|
cd /usr/local
|
||||||
|
zip -r ~/Desktop/qt5.12.0_mac.zip Qt-5.12.0/*
|
113
5.12.0/compile_win_docs_fail.pl
Normal file
113
5.12.0/compile_win_docs_fail.pl
Normal file
@ -0,0 +1,113 @@
|
|||||||
|
use strict;
|
||||||
|
|
||||||
|
die "Cannot proceed without the 'bin' folder'" if (!-e "bin");
|
||||||
|
|
||||||
|
my $arch = $ARGV[0];
|
||||||
|
my $openssl_v_major = "1.0.2"; # The 1.0.2 series is Long Term Support (LTS) release, supported until 31st December 2019
|
||||||
|
my $openssl_v_minor = "l";
|
||||||
|
my $openssl_version = "$openssl_v_major$openssl_v_minor";
|
||||||
|
my $openssl_dir = "openssl-$openssl_version";
|
||||||
|
my $openssl_download = "https://www.openssl.org/source/old/$openssl_v_major/openssl-$openssl_version.tar.gz";
|
||||||
|
my $openssl_arch = $arch eq "amd64" ? "WIN64A" : "WIN32";
|
||||||
|
my $openssl_do_ms = $arch eq "amd64" ? "do_win64a" : "do_ms";
|
||||||
|
|
||||||
|
$arch = "x86" if ($arch eq ''); # specify x86 is nothing is specified
|
||||||
|
die "Please specify architecture (x86 or amd64)" if ($arch ne "x86" && $arch ne "amd64"); # die if user specified anything except x86 or amd64
|
||||||
|
|
||||||
|
# will create a batch file
|
||||||
|
|
||||||
|
my $batfile = 'compile_win.bat';
|
||||||
|
|
||||||
|
open BAT, '>', $batfile;
|
||||||
|
|
||||||
|
printLineToBat ("SET PATH=%PATH%;%cd%\\bin"); # add bin folder to the path for 7z and wget
|
||||||
|
printLineToBat ("CALL \"C:\\Program Files (x86)\\Microsoft Visual Studio\\2017\\Community\\VC\\Auxiliary\\Build\\vcvarsall.bat\" $arch");
|
||||||
|
printLineToBat ("SET _ROOT=%cd%");
|
||||||
|
printLineToBat ("SET PATH=%_ROOT%\\qtbase\\bin;%_ROOT%\\gnuwin32\\bin;%PATH%"); # http://doc.qt.io/qt-5/windows-building.html
|
||||||
|
printLineToBat ("SET LLVM_INSTALL_DIR=C:\\LLVM"); # add clang bin folder to the path (to compile qdoc)
|
||||||
|
printLineToBat ("SET PATH=%PATH%;%LLVM_INSTALL_DIR%\\bin"); # must be added for qdoc because it requires libclang.dll
|
||||||
|
# todo: download python
|
||||||
|
printLineToBat ("SET PATH=%PATH%;C:\\Python27"); # add bin folder to the path for 7z and wget
|
||||||
|
|
||||||
|
printLineToBat ("cd qtbase");
|
||||||
|
|
||||||
|
printLineToBat ("if \"%~1\"==\"step2\" goto step2");
|
||||||
|
|
||||||
|
# step1: compile openssl and do configure. For some reason, can't continue script execution after configure, have to make step2
|
||||||
|
|
||||||
|
printLineToBat ("wget --no-check-certificate $openssl_download");
|
||||||
|
printLineToBat ("7z x openssl-$openssl_version.tar.gz");
|
||||||
|
printLineToBat ("7z x openssl-$openssl_version.tar");
|
||||||
|
printLineToBat ("rm openssl-$openssl_version.tar.gz");
|
||||||
|
printLineToBat ("rm openssl-$openssl_version.tar");
|
||||||
|
printLineToBat ("cd $openssl_dir");
|
||||||
|
# build debug
|
||||||
|
printLineToBat ("perl Configure no-asm no-shared --prefix=%cd%\\Debug --openssldir=%cd%\\Debug debug-VC-$openssl_arch");
|
||||||
|
printLineToBat ("call ms\\$openssl_do_ms");
|
||||||
|
printLineToBat ("nmake -f ms\\nt.mak");
|
||||||
|
printLineToBat ("nmake -f ms\\nt.mak install");
|
||||||
|
printLineToBat ("xcopy tmp32.dbg\\lib.pdb Debug\\lib\\"); # Telegram does it.
|
||||||
|
printLineToBat ("nmake -f ms\\nt.mak clean");
|
||||||
|
# now release
|
||||||
|
printLineToBat ("perl Configure no-asm no-shared --prefix=%cd%\\Release --openssldir=%cd%\\Release VC-$openssl_arch");
|
||||||
|
printLineToBat ("call ms\\$openssl_do_ms");
|
||||||
|
printLineToBat ("nmake -f ms\\nt.mak");
|
||||||
|
printLineToBat ("nmake -f ms\\nt.mak install");
|
||||||
|
printLineToBat ("xcopy tmp32\\lib.pdb Release\\lib\\"); # Telegram does it.
|
||||||
|
printLineToBat ("nmake -f ms\\nt.mak clean");
|
||||||
|
# go back to qtbase
|
||||||
|
printLineToBat ("cd ..");
|
||||||
|
|
||||||
|
# -developer-build creates an in-source build for developer usage.
|
||||||
|
printLineToBat ("configure -opensource -developer-build -confirm-license -opengl desktop -mp -nomake tests -nomake examples -I \"%cd%\\$openssl_dir\\Release\\include\" -openssl-linked OPENSSL_LIBS_DEBUG=\"%cd%\\$openssl_dir\\Debug\\lib\\ssleay32.lib %cd%\\$openssl_dir\\Debug\\lib\\libeay32.lib\" OPENSSL_LIBS_RELEASE=\"%cd%\\$openssl_dir\\Release\\lib\\ssleay32.lib %cd%\\$openssl_dir\\Release\\lib\\libeay32.lib\"");
|
||||||
|
printLineToBat ("goto :EOF");
|
||||||
|
|
||||||
|
# step 2:
|
||||||
|
|
||||||
|
printLineToBat (":step2");
|
||||||
|
printLineToBat ("nmake");
|
||||||
|
|
||||||
|
# QDoc depends on the QML DevTools library from qtdeclarative
|
||||||
|
# requires python as well
|
||||||
|
|
||||||
|
printLineToBat ("cd ..\\qtdeclarative");
|
||||||
|
printLineToBat ("..\\qtbase\\bin\\qmake");
|
||||||
|
printLineToBat ("cd src");
|
||||||
|
printLineToBat ("..\\..\\qtbase\\bin\\qmake");
|
||||||
|
printLineToBat ("nmake sub-qmldevtools");
|
||||||
|
printLineToBat ("cd .."); # go back to qtdeclarative
|
||||||
|
|
||||||
|
printLineToBat ("cd ..\\qttools");
|
||||||
|
printLineToBat ("cp mkspecs\\features\\qt_find_clang.prf ..\\qtbase\\mkspecs\\features"); # почему-то этот файл не находит, если он не тут
|
||||||
|
printLineToBat ("..\\qtbase\\bin\\qmake");
|
||||||
|
printLineToBat ("nmake");
|
||||||
|
printLineToBat ("cd ..\\qtwinextras");
|
||||||
|
printLineToBat ("..\\qtbase\\bin\\qmake");
|
||||||
|
printLineToBat ("nmake");
|
||||||
|
printLineToBat ("cd ..\\qtbase");
|
||||||
|
printLineToBat ("nmake docs");
|
||||||
|
printLineToBat ("cd .."); # go up to qt dir
|
||||||
|
# openssl clean up
|
||||||
|
printLineToBat ("cd qtbase");
|
||||||
|
printLineToBat ("cd $openssl_dir");
|
||||||
|
printLineToBat ("del /s /f /q out32");
|
||||||
|
printLineToBat ("del /s /f /q out32.dbg");
|
||||||
|
printLineToBat ("cd ..");
|
||||||
|
printLineToBat ("cd ..");
|
||||||
|
# the rest
|
||||||
|
printLineToBat ("del *.obj /s /f");
|
||||||
|
printLineToBat ("del *.ilk /s /f");
|
||||||
|
printLineToBat ("del *.pch /s /f");
|
||||||
|
printLineToBat ("del Makefile* /s /f");
|
||||||
|
|
||||||
|
close BAT;
|
||||||
|
|
||||||
|
system ($batfile);
|
||||||
|
#system ("$batfile step2");
|
||||||
|
|
||||||
|
system ("pause");
|
||||||
|
|
||||||
|
sub printLineToBat
|
||||||
|
{
|
||||||
|
print BAT "$_[0]\n";
|
||||||
|
}
|
96
5.12.0/compile_win_no_docs.pl
Normal file
96
5.12.0/compile_win_no_docs.pl
Normal file
@ -0,0 +1,96 @@
|
|||||||
|
use strict;
|
||||||
|
|
||||||
|
die "Cannot proceed without the 'bin' folder'" if (!-e "bin");
|
||||||
|
|
||||||
|
my $arch = $ARGV[0];
|
||||||
|
my $openssl_v_major = "1.0.2"; # The 1.0.2 series is Long Term Support (LTS) release, supported until 31st December 2019
|
||||||
|
my $openssl_v_minor = "l";
|
||||||
|
my $openssl_version = "$openssl_v_major$openssl_v_minor";
|
||||||
|
my $openssl_dir = "openssl-$openssl_version";
|
||||||
|
my $openssl_download = "https://www.openssl.org/source/old/$openssl_v_major/openssl-$openssl_version.tar.gz";
|
||||||
|
my $openssl_arch = $arch eq "amd64" ? "WIN64A" : "WIN32";
|
||||||
|
my $openssl_do_ms = $arch eq "amd64" ? "do_win64a" : "do_ms";
|
||||||
|
|
||||||
|
$arch = "x86" if ($arch eq ''); # specify x86 is nothing is specified
|
||||||
|
die "Please specify architecture (x86 or amd64)" if ($arch ne "x86" && $arch ne "amd64"); # die if user specified anything except x86 or amd64
|
||||||
|
|
||||||
|
# will create a batch file
|
||||||
|
|
||||||
|
my $batfile = 'compile_win.bat';
|
||||||
|
|
||||||
|
open BAT, '>', $batfile;
|
||||||
|
|
||||||
|
printLineToBat ("SET PATH=%PATH%;%cd%\\bin"); # add bin folder to the path for 7z and wget
|
||||||
|
printLineToBat ("CALL \"C:\\Program Files (x86)\\Microsoft Visual Studio\\2017\\Community\\VC\\Auxiliary\\Build\\vcvarsall.bat\" $arch");
|
||||||
|
printLineToBat ("SET _ROOT=%cd%");
|
||||||
|
printLineToBat ("SET PATH=%_ROOT%\\qtbase\\bin;%_ROOT%\\gnuwin32\\bin;%PATH%"); # http://doc.qt.io/qt-5/windows-building.html
|
||||||
|
printLineToBat ("SET LLVM_INSTALL_DIR=C:\\LLVM"); # add clang bin folder to the path (to compile qdoc)
|
||||||
|
printLineToBat ("SET PATH=%PATH%;%LLVM_INSTALL_DIR%\\bin"); # must be added for qdoc because it requires libclang.dll
|
||||||
|
# todo: download python
|
||||||
|
printLineToBat ("SET PATH=%PATH%;C:\\Python27"); # add bin folder to the path for 7z and wget
|
||||||
|
|
||||||
|
printLineToBat ("cd qtbase");
|
||||||
|
printLineToBat ("if \"%~1\"==\"step2\" goto step2");
|
||||||
|
|
||||||
|
# step1: compile openssl and do configure. For some reason, can't continue script execution after configure, have to make step2
|
||||||
|
|
||||||
|
printLineToBat ("wget --no-check-certificate $openssl_download");
|
||||||
|
printLineToBat ("7z x openssl-$openssl_version.tar.gz");
|
||||||
|
printLineToBat ("7z x openssl-$openssl_version.tar");
|
||||||
|
printLineToBat ("rm openssl-$openssl_version.tar.gz");
|
||||||
|
printLineToBat ("rm openssl-$openssl_version.tar");
|
||||||
|
printLineToBat ("cd $openssl_dir");
|
||||||
|
# build debug
|
||||||
|
printLineToBat ("perl Configure no-asm no-shared --prefix=%cd%\\Debug --openssldir=%cd%\\Debug debug-VC-$openssl_arch");
|
||||||
|
printLineToBat ("call ms\\$openssl_do_ms");
|
||||||
|
printLineToBat ("nmake -f ms\\nt.mak");
|
||||||
|
printLineToBat ("nmake -f ms\\nt.mak install");
|
||||||
|
printLineToBat ("xcopy tmp32.dbg\\lib.pdb Debug\\lib\\"); # Telegram does it.
|
||||||
|
printLineToBat ("nmake -f ms\\nt.mak clean");
|
||||||
|
# now release
|
||||||
|
printLineToBat ("perl Configure no-asm no-shared --prefix=%cd%\\Release --openssldir=%cd%\\Release VC-$openssl_arch");
|
||||||
|
printLineToBat ("call ms\\$openssl_do_ms");
|
||||||
|
printLineToBat ("nmake -f ms\\nt.mak");
|
||||||
|
printLineToBat ("nmake -f ms\\nt.mak install");
|
||||||
|
printLineToBat ("xcopy tmp32\\lib.pdb Release\\lib\\"); # Telegram does it.
|
||||||
|
printLineToBat ("nmake -f ms\\nt.mak clean");
|
||||||
|
# go back to qtbase
|
||||||
|
printLineToBat ("cd ..");
|
||||||
|
|
||||||
|
# -developer-build creates an in-source build for developer usage.
|
||||||
|
printLineToBat ("configure -opensource -developer-build -confirm-license -opengl desktop -mp -nomake tests -nomake examples -I \"%cd%\\$openssl_dir\\Release\\include\" -openssl-linked OPENSSL_LIBS_DEBUG=\"%cd%\\$openssl_dir\\Debug\\lib\\ssleay32.lib %cd%\\$openssl_dir\\Debug\\lib\\libeay32.lib\" OPENSSL_LIBS_RELEASE=\"%cd%\\$openssl_dir\\Release\\lib\\ssleay32.lib %cd%\\$openssl_dir\\Release\\lib\\libeay32.lib\"");
|
||||||
|
printLineToBat ("goto :EOF");
|
||||||
|
|
||||||
|
# step 2:
|
||||||
|
printLineToBat (":step2");
|
||||||
|
|
||||||
|
printLineToBat ("nmake");
|
||||||
|
printLineToBat ("cd ..\\qttools");
|
||||||
|
printLineToBat ("..\\qtbase\\bin\\qmake");
|
||||||
|
printLineToBat ("nmake");
|
||||||
|
printLineToBat ("cd ..\\qtbase");
|
||||||
|
printLineToBat ("cd .."); # go up to qt dir
|
||||||
|
# openssl clean up
|
||||||
|
printLineToBat ("cd qtbase");
|
||||||
|
printLineToBat ("cd $openssl_dir");
|
||||||
|
printLineToBat ("del /s /f /q out32");
|
||||||
|
printLineToBat ("del /s /f /q out32.dbg");
|
||||||
|
printLineToBat ("cd ..");
|
||||||
|
printLineToBat ("cd ..");
|
||||||
|
# the rest
|
||||||
|
printLineToBat ("del *.obj /s /f");
|
||||||
|
printLineToBat ("del *.ilk /s /f");
|
||||||
|
printLineToBat ("del *.pch /s /f");
|
||||||
|
printLineToBat ("del Makefile* /s /f");
|
||||||
|
|
||||||
|
close BAT;
|
||||||
|
|
||||||
|
system ($batfile);
|
||||||
|
system ("$batfile step2");
|
||||||
|
|
||||||
|
system ("pause");
|
||||||
|
|
||||||
|
sub printLineToBat
|
||||||
|
{
|
||||||
|
print BAT "$_[0]\n";
|
||||||
|
}
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -0,0 +1,11 @@
|
|||||||
|
пришлось скомпилировать и скопировать файл сюда
|
||||||
|
C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.15.26726\lib\x64\setargv.obj
|
||||||
|
C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.15.26726\lib\x86\setargv.obj
|
||||||
|
|
||||||
|
использовал вот это
|
||||||
|
https://perldoc.pl/perlwin32
|
||||||
|
|
||||||
|
В итоге:
|
||||||
|
|
||||||
|
cd C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.15.26726\crt\src\linkopts\
|
||||||
|
cl.exe /c /I. /D_CRTBLD setargv.cpp
|
118
5.12.0/qtbase/mkspecs/common/msvc-desktop.conf
Normal file
118
5.12.0/qtbase/mkspecs/common/msvc-desktop.conf
Normal file
@ -0,0 +1,118 @@
|
|||||||
|
#
|
||||||
|
# This file is used as a basis for the following compilers:
|
||||||
|
#
|
||||||
|
# - Microsoft C/C++ Optimizing Compiler (all desktop versions)
|
||||||
|
# - Intel C++ Compiler on Windows
|
||||||
|
# - Clang-cl
|
||||||
|
#
|
||||||
|
# Baseline:
|
||||||
|
#
|
||||||
|
# - Visual Studio 2005 (8.0), VC++ 14.0
|
||||||
|
#
|
||||||
|
# Version-specific settings go in msvc-version.conf (loaded by default_pre)
|
||||||
|
#
|
||||||
|
|
||||||
|
MAKEFILE_GENERATOR = MSVC.NET
|
||||||
|
QMAKE_PLATFORM = win32
|
||||||
|
QMAKE_COMPILER = msvc
|
||||||
|
CONFIG += flat debug_and_release debug_and_release_target precompile_header autogen_precompile_source embed_manifest_dll embed_manifest_exe
|
||||||
|
# MSVC 2017 15.8+ fixed std::aligned_storage but compilation fails without
|
||||||
|
# _ENABLE_EXTENDED_ALIGNED_STORAGE flag since the fix breaks binary compatibility.
|
||||||
|
DEFINES += UNICODE _UNICODE WIN32 _ENABLE_EXTENDED_ALIGNED_STORAGE
|
||||||
|
QMAKE_COMPILER_DEFINES += _WIN32
|
||||||
|
contains(QMAKE_TARGET.arch, x86_64) {
|
||||||
|
DEFINES += WIN64
|
||||||
|
QMAKE_COMPILER_DEFINES += _WIN64
|
||||||
|
}
|
||||||
|
|
||||||
|
QMAKE_CFLAGS_OPTIMIZE_DEBUG = -Od
|
||||||
|
QMAKE_CFLAGS_OPTIMIZE = -O2
|
||||||
|
QMAKE_CFLAGS_OPTIMIZE_SIZE = -O1
|
||||||
|
|
||||||
|
QMAKE_CC = cl
|
||||||
|
QMAKE_LEX = flex
|
||||||
|
QMAKE_LEXFLAGS =
|
||||||
|
QMAKE_YACC = bison -y
|
||||||
|
QMAKE_YACCFLAGS = -d
|
||||||
|
QMAKE_CFLAGS = -nologo -Zc:wchar_t
|
||||||
|
QMAKE_CFLAGS_WARN_ON = -W3
|
||||||
|
QMAKE_CFLAGS_WARN_OFF = -W0
|
||||||
|
QMAKE_CFLAGS_RELEASE = $$QMAKE_CFLAGS_OPTIMIZE -MD -Zi
|
||||||
|
QMAKE_CFLAGS_RELEASE_WITH_DEBUGINFO += $$QMAKE_CFLAGS_OPTIMIZE -Zi -MD
|
||||||
|
QMAKE_CFLAGS_DEBUG = -Zi -MDd
|
||||||
|
QMAKE_CFLAGS_YACC =
|
||||||
|
QMAKE_CFLAGS_LTCG = -GL
|
||||||
|
|
||||||
|
contains(QMAKE_TARGET.arch, x86_64) {
|
||||||
|
# SSE2 is mandatory on 64-bit mode, so skip the option. It triggers:
|
||||||
|
# cl : Command line warning D9002 : ignoring unknown option '-arch:SSE2'
|
||||||
|
QMAKE_CFLAGS_SSE2 =
|
||||||
|
} else {
|
||||||
|
QMAKE_CFLAGS_SSE2 = -arch:SSE2
|
||||||
|
}
|
||||||
|
QMAKE_CFLAGS_SSE3 = $$QMAKE_CFLAGS_SSE2
|
||||||
|
QMAKE_CFLAGS_SSSE3 = $$QMAKE_CFLAGS_SSE2
|
||||||
|
QMAKE_CFLAGS_SSE4_1 = $$QMAKE_CFLAGS_SSE2
|
||||||
|
QMAKE_CFLAGS_SSE4_2 = $$QMAKE_CFLAGS_SSE2
|
||||||
|
QMAKE_CFLAGS_AESNI = $$QMAKE_CFLAGS_SSE2
|
||||||
|
QMAKE_CFLAGS_SHANI = $$QMAKE_CFLAGS_SSE2
|
||||||
|
|
||||||
|
QMAKE_CXX = $$QMAKE_CC
|
||||||
|
QMAKE_CXXFLAGS = $$QMAKE_CFLAGS
|
||||||
|
QMAKE_CXXFLAGS_WARN_ON = $$QMAKE_CFLAGS_WARN_ON -w34100 -w34189 -w44996
|
||||||
|
QMAKE_CXXFLAGS_WARN_OFF = $$QMAKE_CFLAGS_WARN_OFF
|
||||||
|
QMAKE_CXXFLAGS_RELEASE = $$QMAKE_CFLAGS_RELEASE
|
||||||
|
QMAKE_CXXFLAGS_RELEASE_WITH_DEBUGINFO += $$QMAKE_CFLAGS_RELEASE_WITH_DEBUGINFO
|
||||||
|
QMAKE_CXXFLAGS_DEBUG = $$QMAKE_CFLAGS_DEBUG
|
||||||
|
QMAKE_CXXFLAGS_YACC = $$QMAKE_CFLAGS_YACC
|
||||||
|
QMAKE_CXXFLAGS_LTCG = $$QMAKE_CFLAGS_LTCG
|
||||||
|
QMAKE_CXXFLAGS_STL_ON = -EHsc
|
||||||
|
QMAKE_CXXFLAGS_STL_OFF =
|
||||||
|
QMAKE_CXXFLAGS_RTTI_ON = -GR
|
||||||
|
QMAKE_CXXFLAGS_RTTI_OFF =
|
||||||
|
QMAKE_CXXFLAGS_EXCEPTIONS_ON = -EHsc
|
||||||
|
QMAKE_CXXFLAGS_EXCEPTIONS_OFF =
|
||||||
|
|
||||||
|
QMAKE_INCDIR =
|
||||||
|
|
||||||
|
QMAKE_RUN_CC = $(CC) -c $(CFLAGS) $(INCPATH) -Fo$obj $src
|
||||||
|
QMAKE_RUN_CC_IMP = $(CC) -c $(CFLAGS) $(INCPATH) -Fo$@ $<
|
||||||
|
QMAKE_RUN_CC_IMP_BATCH = $(CC) -c $(CFLAGS) $(INCPATH) -Fo$@ @<<
|
||||||
|
QMAKE_RUN_CXX = $(CXX) -c $(CXXFLAGS) $(INCPATH) -Fo$obj $src
|
||||||
|
QMAKE_RUN_CXX_IMP = $(CXX) -c $(CXXFLAGS) $(INCPATH) -Fo$@ $<
|
||||||
|
QMAKE_RUN_CXX_IMP_BATCH = $(CXX) -c $(CXXFLAGS) $(INCPATH) -Fo$@ @<<
|
||||||
|
|
||||||
|
QMAKE_LINK = link
|
||||||
|
QMAKE_LFLAGS = /NOLOGO /DYNAMICBASE /NXCOMPAT
|
||||||
|
QMAKE_LFLAGS_RELEASE = /INCREMENTAL:NO
|
||||||
|
QMAKE_LFLAGS_RELEASE_WITH_DEBUGINFO = /DEBUG /OPT:REF /INCREMENTAL:NO
|
||||||
|
QMAKE_LFLAGS_DEBUG = /DEBUG
|
||||||
|
QMAKE_LFLAGS_CONSOLE = /SUBSYSTEM:CONSOLE
|
||||||
|
QMAKE_LFLAGS_WINDOWS = /SUBSYSTEM:WINDOWS
|
||||||
|
QMAKE_LFLAGS_EXE = \"/MANIFESTDEPENDENCY:type=\'win32\' name=\'Microsoft.Windows.Common-Controls\' version=\'6.0.0.0\' publicKeyToken=\'6595b64144ccf1df\' language=\'*\' processorArchitecture=\'*\'\"
|
||||||
|
QMAKE_LFLAGS_DLL = /DLL
|
||||||
|
QMAKE_LFLAGS_LTCG = /LTCG
|
||||||
|
QMAKE_PREFIX_SHLIB =
|
||||||
|
QMAKE_EXTENSION_SHLIB = dll
|
||||||
|
QMAKE_PREFIX_STATICLIB =
|
||||||
|
QMAKE_EXTENSION_STATICLIB = lib
|
||||||
|
|
||||||
|
QMAKE_LIBS =
|
||||||
|
QMAKE_LIBS_GUI = gdi32.lib comdlg32.lib oleaut32.lib imm32.lib winmm.lib ws2_32.lib ole32.lib uuid.lib user32.lib advapi32.lib
|
||||||
|
QMAKE_LIBS_NETWORK = ws2_32.lib user32.lib gdi32.lib
|
||||||
|
QMAKE_LIBS_OPENGL = glu32.lib opengl32.lib gdi32.lib user32.lib
|
||||||
|
QMAKE_LIBS_OPENGL_ES2 = gdi32.lib user32.lib
|
||||||
|
QMAKE_LIBS_OPENGL_ES2_DEBUG = gdi32.lib user32.lib
|
||||||
|
QMAKE_LIBS_COMPAT = advapi32.lib shell32.lib comdlg32.lib user32.lib gdi32.lib ws2_32.lib
|
||||||
|
QMAKE_LIBS_QT_ENTRY = -lqtmain
|
||||||
|
|
||||||
|
QMAKE_IDL = midl /NOLOGO
|
||||||
|
QMAKE_LIB = lib /NOLOGO
|
||||||
|
QMAKE_RC = rc /NOLOGO
|
||||||
|
|
||||||
|
VCPROJ_EXTENSION = .vcproj
|
||||||
|
VCSOLUTION_EXTENSION = .sln
|
||||||
|
VCPROJ_KEYWORD = Qt4VSv1.0
|
||||||
|
|
||||||
|
include(angle.conf)
|
||||||
|
include(windows-vulkan.conf)
|
Loading…
Reference in New Issue
Block a user