30 Commits

Author SHA1 Message Date
wang-bin 6974f05780 qmake: fix build for qt>=5.4.2
qtLibraryTarget was broken in Qt5.4.1/0 and now is fixed in 5.4.2.
2015-04-23 15:11:23 +08:00
wang-bin 9e092b0bec fix static link on windows
dllimport must be removed if link to a static lib. now it's not removed
because it's impossible to detect whether we link to a static lib
2015-04-23 14:33:20 +08:00
wang-bin 1c493e3480 qmake: check cross_compile instead of CROSS_COMPILE
CROSS_COMPILE is usually not defined unless qt is configured with -device-
options. cross_compile is defined in qconfig.pri(Qt4,5)
2015-02-19 18:20:17 +08:00
wang-bin b2234d94ed qmake: rpath flags
QMAKE_RPATHDIR has different results on mac(4.x 5.x) and linux. now can
run directly on mac
2015-02-08 22:15:08 +08:00
wang-bin 24e088cee7 qmake: fix install name error for osx if simd used
simd.prf load qt_build_config.prf and affects mac linker options.
2015-02-08 20:23:09 +08:00
wang-bin 8087d9c2ee apply sse cflags only for sse code in individual units 2015-02-06 14:50:17 +08:00
wang-bin bac2fd4b81 qmake: add simd compilers 2014-12-04 00:38:07 +08:00
wang-bin ebb02d4135 QtAV target name is Qt5AV for Qt>=5.4beta 2014-11-04 10:45:49 +08:00
wang-bin 68fc88c9bc android: remove -pg flag to avoid link error 2014-10-08 23:50:39 +08:00
wang-bin 663382de7b issue 301: osx debug build error 2014-10-08 23:46:00 +08:00
wang-bin 8d515fe5a4 qmake: cross build for win 2014-09-05 21:41:54 +08:00
wang-bin 52375f24e1 subtitle: typo 2014-08-30 22:16:29 +08:00
wang-bin 6eea7dae82 mac: build as a framework if Qt is and user not force dylib
If Qt is build as frameworks, then QtAV will be a framework too by
default.
But you can change to dylib. just add `CONFIG+=no-framework` in
QtAV_src_root/user.conf.
2014-08-09 17:41:44 +08:00
wang-bin e582df9ed4 qmake: fix sse detect fail. qt5 defines none. vc x64 no sse2 flag 2014-05-04 18:00:06 +08:00
wang-bin d0491663f8 qmake: better way to detect sse2 sse4.1 for qt4/5 2014-05-03 22:05:56 +08:00
wang-bin 0347b053a0 qmake: add missing header. mkdir use system path 2013-09-12 15:02:12 +08:00
wang-bin 92514cf865 target arch test in qmake support. fix mkspec error for Qt5 2013-09-12 13:32:35 +08:00
wang-bin 153089a980 win 64 and 32 target detect
for msvc. gcc use -dumpmachine?
2013-09-06 01:18:09 +08:00
wang-bin bd399a5fcf qmake: system_quote and shell_quote support. fix shell_path
TODO: some special chars can not convert. How to avoid converting
multiple
times
2013-04-21 13:52:59 +08:00
wang-bin 9acdb113a5 pro: refine code 2013-03-13 14:12:04 +08:00
wang-bin 6944ee726a qmake: correct the backslash from string. use '/' for qmake
qmake knows how to deal with '/'. '\' is only used for win command.
if '\' appears in qmake file, qmake will give a warning
2013-03-07 20:14:06 +08:00
wang-bin ed07bea139 port useful builtin qmake functions to Qt4. qtCompileTest works
TODO:
1. shell_quote, system_quote are not finished
2. win32 msys may need qmake twice, the first QMAKE path is not right in
Makefile
3. other qmake builtin functions in qt5
2013-03-03 14:55:23 +08:00
wang-bin 10f8613acf qmake: cache() for Qt4 and ready to use compile test. unified with Qt5
Now we can cache the BUILD_DIR exactly in $$BUILD_DIR, with emulated
cache() for Qt4, and built-in cache() for Qt5. The code is a little
complex for Qt4
TODO:
1. 1cahce(): erase the existing lines contain the value
2013-03-03 02:51:58 +08:00
wang-bin 8689730d01 common.pri: fix create empty error in windows 2013-02-15 15:09:38 +08:00
wang-bin 02cac123ce add write_file() like Qt5 qmake. building becomes simpler 2013-02-14 22:35:12 +08:00
LucasWang 9a9d311b83 add clock control test 2013-01-25 17:48:53 +08:00
LucasWang 8d1d9709fb update qmake pro. use the latest version 2013-01-14 12:50:15 +08:00
wang-bin 38e6e359ea update to the lateast pri
TODO: fix it in LibProjWizard4QtCreator
2012-11-06 01:32:49 +08:00
wang-bin 4366a2d4b8 mac suffix 2012-10-30 00:17:58 +08:00
wang-bin 4583eb5d56 Audio and video works 2012-10-29 11:11:38 +08:00