More work toward make install on Linux.

This commit is contained in:
Daniel Molkentin
2009-01-19 11:01:45 +01:00
parent 0f20a20b4c
commit a534a1e4d7
11 changed files with 42 additions and 1 deletions

View File

@@ -6,6 +6,22 @@ count(TOO_OLD_LIST, 1) {
}
linux-* {
isEmpty( LOCATION ) {
LOCATION = /usr/share
}
documentation.files += doc/qtcreator.qch
documentation.path = $$LOCATION/share/qtcreator/doc/qtcreator
share.files += share/qtcreator/*
share.parth = $$LOCATION/share/qtcreator
INSTALLS += \
documentation \
share
}
TEMPLATE = subdirs
CONFIG += ordered

View File

@@ -16,6 +16,13 @@ linux-* {
ISGCC33=$$(GCC33)
!equals(ISGCC33, 1):QT += svg dbus
isEmpty( LOCATION ) {
error("app.pro: including file must define LOCATION (didn't you run qmake from the root dir?)")
}
binaries.files += bin/qtcreator
binaries.path = $$LOCATION/bin
}
TEMPLATE = app

View File

@@ -6,6 +6,12 @@ isEmpty(TEST):CONFIG(debug, debug|release) {
}
}
linux-* {
isEmpty( LOCATION ) {
error("qworkbench.pri: including file must define LOCATION (didn't you run qmake from the root dir?)")
}
}
equals(TEST, 1) {
QT +=testlib
DEFINES += WITH_TESTS
@@ -20,7 +26,7 @@ macx {
contains(QT_CONFIG, ppc):CONFIG += ppc x86
} else {
IDE_APP_TARGET = qtcreator
IDE_LIBRARY_PATH = $$IDE_BUILD_TREE/lib
IDE_LIBRARY_PATH = $$IDE_BUILD_TREE/share/qtcreator/lib
}
IDE_APP_PATH = $$IDE_BUILD_TREE/bin
win32 {

View File

@@ -20,3 +20,8 @@ macx {
TARGET = $$qtLibraryTarget($$TARGET)
contains(QT_CONFIG, reduce_exports):CONFIG += hide_symbols
linux-* {
target.path = $$LOCATION/lib/qtcreator
INSTALLS += target
}

View File

@@ -48,3 +48,10 @@ macx {
contains(QT_CONFIG, reduce_exports):CONFIG += hide_symbols
linux-* {
target.path = $$LOCATION/lib/qtcreator/plugins
INSTALLS += target
}