-
Notifications
You must be signed in to change notification settings - Fork 36
/
Copy path.qmake.conf
92 lines (67 loc) · 3.32 KB
/
.qmake.conf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
# Change LOCAL_INSTALL_DIR to set user-specific installation directory.
# If empty, will be considered as an installation for all users, requiring admin-privileges.
LOCAL_INSTALL_DIR=""
#
# Python configuration:
#
PYTHON_CONFIG=python3-config
# Change PYTHON_C_FLAGS and PYTHON_LIBS below only, if setting PYTHON_CONFIG on the line above
# does not work.
# PYTHON_C_FLAGS contains the compiler flags needed to compile with references to Python.
# Here only the include directories are included in the flags, but you may need to change this,
# if the compilation fails.
# PYTHON_LIBS contains the library names and locations (-l and -L flags) needed in linking
# with Python.
PYTHON_C_FLAGS=$$system($$PYTHON_CONFIG --cflags --embed | grep -o -e "-I[^[:space:]]*" | uniq)
PYTHON_LIBS=$$system($$PYTHON_CONFIG --ldflags --embed | grep -o -e "-[lL][^[:space:]]*")
#
# Install location details:
#
isEmpty(LOCAL_INSTALL_DIR) {
# Select paths for binaries in accordance with convention according to system bitness.
bin_path = /usr/bin
lib_path = /usr/lib
UNAME = $$system(uname -m)
equals(UNAME, x86_64): lib_path = /usr/lib64
plugin_path = /usr/share/kactus2/plugins
# Files and destination path for possible settings file upgrades.
unix:upgrade.path = /usr/share/kactus2
# Files and destination path for documentation files other than the manual.
unix:doc.path = /usr/share/kactus2/doc
# Files and destination path for the manual.
unix:help.path = /usr/share/kactus2/help
# Files and destination path for the IP-XACT files coming with an installation.
unix:library.path = /usr/share/kactus2/library
# Files and destination path for the icons.
unix:icons.path = /usr/share/pixmaps
# Files and destination path for the desktop shortcut.
unix:desktop.path = /usr/share/applications
# Destination path for default configuration.
unix:config.path = /etc/xdg/TUT
} else {
# Binaries shall be located in the root of the target installation directory.
bin_path = $$LOCAL_INSTALL_DIR
lib_path = $$LOCAL_INSTALL_DIR
plugin_path = $$LOCAL_INSTALL_DIR/Plugins
# Files and destination path for possible settings file upgrades.
unix:upgrade.path = $$LOCAL_INSTALL_DIR
# Files and destination path for documentation files other than the manual.
unix:doc.path = $$LOCAL_INSTALL_DIR
# Files and destination path for the manual.
unix:help.path = $$LOCAL_INSTALL_DIR/Help
# Files and destination path for the IP-XACT files coming with an installation.
unix:library.path = $$LOCAL_INSTALL_DIR/Library
# Files and destination path for the icons.
unix:icons.path = $$LOCAL_INSTALL_DIR/pixmaps
# Files and destination path for the desktop shortcut.
unix:desktop.path = ~/.local/share/applications
# Destination path for default configuration.
unix:config.path = ~/.config/
}
# Do not change the files definitions below.
unix:upgrade.files = ./Administrative/releaseFiles/upgrade.cfg
unix:doc.files = ./Administrative/releaseFiles/*.txt
unix:help.files = ./Help/Kactus2Help.qch ./Help/Kactus2Help.qhc
unix:library.files = ./Administrative/releaseFiles/Library/*
unix:icons.files = ./Administrative/releaseFiles/kactus2.xpm ./Administrative/releaseFiles/kactus2.png
unix:desktop.files = ./Administrative/releaseFiles/kactus2.desktop