equal
deleted
inserted
replaced
|
1 load(default_post) |
|
2 !no_objective_c:CONFIG += objective_c |
|
3 |
|
4 # Pick a suitable default architecture for qmake-based applications. |
|
5 # If the Qt package contains one of x86 and x86_64, pick that one. If it |
|
6 # contains both then use the compiler default. Make a similiar decision for |
|
7 # PowerPC-based systems. Note that this logic assumes that Qt has been |
|
8 # configured with an architecture that is usable on the system. |
|
9 qt:!isEmpty(QT_CONFIG) { |
|
10 contains(QMAKE_HOST.arch, ppc) { |
|
11 !contains(QT_CONFIG, ppc64):contains(QT_CONFIG, ppc):CONFIG += ppc |
|
12 contains(QT_CONFIG, ppc64):!contains(QT_CONFIG, ppc):CONFIG += ppc64 |
|
13 } else { |
|
14 !contains(QT_CONFIG, x86_64):contains(QT_CONFIG, x86):CONFIG += x86 |
|
15 contains(QT_CONFIG, x86_64):!contains(QT_CONFIG, x86):CONFIG += x86_64 |
|
16 } |
|
17 } |