Skip to content

Commit 2e1ca52

Browse files
committed
add multi-architecture settings for qmake
1 parent 38fab3b commit 2e1ca52

File tree

6 files changed

+29
-0
lines changed

6 files changed

+29
-0
lines changed

QtSLiM/QtSLiM.pro

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,10 @@ docIconFiles.files = $$PWD/QtSLiM_DocIcon.icns
2727
docIconFiles.path = Contents/Resources
2828
QMAKE_BUNDLE_DATA += docIconFiles
2929

30+
# Uncomment this line for a production build, to build for both Intel and Apple Silicon. This only works with Qt6;
31+
# Qt5 for macOS is built for Intel only. Uncomment this for all components or you will get link errors.
32+
#QMAKE_APPLE_DEVICE_ARCHS = x86_64 arm64
33+
3034

3135
# Uncomment the lines below to enable ASAN (Address Sanitizer), for debugging of memory issues, in every
3236
# .pro file project-wide. See https://clang.llvm.org/docs/AddressSanitizer.html for discussion of ASAN

core/core.pro

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,11 @@ TEMPLATE = lib
1010
CONFIG += staticlib
1111

1212

13+
# Uncomment this line for a production build, to build for both Intel and Apple Silicon. This only works with Qt6;
14+
# Qt5 for macOS is built for Intel only. Uncomment this for all components or you will get link errors.
15+
#QMAKE_APPLE_DEVICE_ARCHS = x86_64 arm64
16+
17+
1318
# Uncomment the lines below to enable ASAN (Address Sanitizer), for debugging of memory issues, in every
1419
# .pro file project-wide. See https://clang.llvm.org/docs/AddressSanitizer.html for discussion of ASAN
1520
# Also set the ASAN_OPTIONS env. variable, in the Run Settings section of the Project tab in Qt Creator, to

eidos/eidos.pro

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,11 @@ TEMPLATE = lib
1010
CONFIG += staticlib
1111

1212

13+
# Uncomment this line for a production build, to build for both Intel and Apple Silicon. This only works with Qt6;
14+
# Qt5 for macOS is built for Intel only. Uncomment this for all components or you will get link errors.
15+
#QMAKE_APPLE_DEVICE_ARCHS = x86_64 arm64
16+
17+
1318
# Uncomment the lines below to enable ASAN (Address Sanitizer), for debugging of memory issues, in every
1419
# .pro file project-wide. See https://clang.llvm.org/docs/AddressSanitizer.html for discussion of ASAN
1520
# Also set the ASAN_OPTIONS env. variable, in the Run Settings section of the Project tab in Qt Creator, to

eidos_zlib/eidos_zlib.pro

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,11 @@ TEMPLATE = lib
1010
CONFIG += staticlib
1111

1212

13+
# Uncomment this line for a production build, to build for both Intel and Apple Silicon. This only works with Qt6;
14+
# Qt5 for macOS is built for Intel only. Uncomment this for all components or you will get link errors.
15+
#QMAKE_APPLE_DEVICE_ARCHS = x86_64 arm64
16+
17+
1318
# Uncomment the lines below to enable ASAN (Address Sanitizer), for debugging of memory issues, in every
1419
# .pro file project-wide. See https://clang.llvm.org/docs/AddressSanitizer.html for discussion of ASAN
1520
# Also set the ASAN_OPTIONS env. variable, in the Run Settings section of the Project tab in Qt Creator, to

gsl/gsl.pro

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,11 @@ TEMPLATE = lib
1010
CONFIG += staticlib
1111

1212

13+
# Uncomment this line for a production build, to build for both Intel and Apple Silicon. This only works with Qt6;
14+
# Qt5 for macOS is built for Intel only. Uncomment this for all components or you will get link errors.
15+
#QMAKE_APPLE_DEVICE_ARCHS = x86_64 arm64
16+
17+
1318
# Uncomment the lines below to enable ASAN (Address Sanitizer), for debugging of memory issues, in every
1419
# .pro file project-wide. See https://clang.llvm.org/docs/AddressSanitizer.html for discussion of ASAN
1520
# Also set the ASAN_OPTIONS env. variable, in the Run Settings section of the Project tab in Qt Creator, to

treerec/tskit/tskit.pro

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,11 @@ TEMPLATE = lib
1010
CONFIG += staticlib
1111

1212

13+
# Uncomment this line for a production build, to build for both Intel and Apple Silicon. This only works with Qt6;
14+
# Qt5 for macOS is built for Intel only. Uncomment this for all components or you will get link errors.
15+
#QMAKE_APPLE_DEVICE_ARCHS = x86_64 arm64
16+
17+
1318
# Uncomment the lines below to enable ASAN (Address Sanitizer), for debugging of memory issues, in every
1419
# .pro file project-wide. See https://clang.llvm.org/docs/AddressSanitizer.html for discussion of ASAN
1520
# Also set the ASAN_OPTIONS env. variable, in the Run Settings section of the Project tab in Qt Creator, to

0 commit comments

Comments
 (0)