Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Q
qgroundcontrol
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Valentin Platzgummer
qgroundcontrol
Commits
f16a6a00
Commit
f16a6a00
authored
Apr 11, 2010
by
Hugo Vincent
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Lorenz, try this 64-bit detection method please :-)
parent
3d2866df
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
12 deletions
+7
-12
mavground.pri
mavground.pri
+7
-12
No files found.
mavground.pri
View file @
f16a6a00
...
...
@@ -60,19 +60,14 @@ message(Qt version $$[QT_VERSION])
# MAC OS X
macx {
CONFIG += x86 #x86_64
CONFIG -= static phonon
message(Building for Mac OS X)
config -= static
HARDWARE_PLATFORM = $$system(
uname -a
)
contains( HARDWARE_PLATFORM,
x86_
64 ) {
# x64 Mac OS X Snow Leopard 10.6 and later
HARDWARE_PLATFORM = $$system(
g++ -dumpspecs
)
contains( HARDWARE_PLATFORM,
m
64 ) {
message(Building as 64-bit)
CONFIG += x86_64
CONFIG -= x86 static phonon
message(Building for Mac OS X 64bit/Snow Leopard 10.6 and later)
} else {
# x86 Mac OS X Leopard 10.5 and earlier
CONFIG += x86 static phonon
message(Building for Mac OS X 32bit/Leopard 10.5 and earlier)
CONFIG -= x86
}
QMAKE_MACOSX_DEPLOYMENT_TARGET = 10.5
...
...
@@ -108,7 +103,7 @@ linux-g++ {
}
INCLUDEPATH += /usr/include/SDL
HARDWARE_PLATFORM = $$system(uname -
a
)
HARDWARE_PLATFORM = $$system(uname -
p
)
contains( HARDWARE_PLATFORM, x86_64 ) {
# 64-bit Linux
LIBS += \
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment