-
Notifications
You must be signed in to change notification settings - Fork 0
/
Qlix.pro
141 lines (129 loc) · 4.22 KB
/
Qlix.pro
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
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
#######################################################################
# Copyright (C) 2008 Ali Shah <[email protected]>
#
# This file is part of the Qlix project on http://berlios.de
#
# This file may be used under the terms of the GNU General Public
# License version 2.0 as published by the Free Software Foundation
# and appearing in the file COPYING included in the packaging of
# this file.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License version 2.0 for more details.
#
# You should have received a copy of the GNU General Public License along
# with this program; if not, write to the Free Software Foundation, Inc.,
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
#######################################################################
######################################################################
# Automatically generated by qmake (2.01a) Sun Jan 18 16:37:49 2009
######################################################################
TEMPLATE = app
TARGET =
DEPENDPATH += . mtp widgets
INCLUDEPATH += . mtp widgets
CONFIG += debug
# Input
HEADERS += linuxsignals.h \
types.h \
mtp/Album.h \
mtp/BmpStructs.h \
mtp/File.h \
mtp/Folder.h \
mtp/GenericObjects.h \
mtp/Icon.h \
mtp/MtpDevice.h \
mtp/MtpObject.h \
mtp/MtpStorage.h \
mtp/MtpSubSystem.h \
mtp/Playlist.h \
mtp/ShadowTrack.h \
mtp/Track.h \
widgets/AlbumDelegate.h \
widgets/AlbumModel.h \
widgets/CommandCodes.h \
widgets/DeviceButton.h \
widgets/DeviceChooser.h \
widgets/DeviceExplorer.h \
widgets/DirModel.h \
widgets/MtpWatchDog.h \
widgets/PlaylistDelegate.h \
widgets/PlaylistModel.h \
widgets/QlixMainWindow.h \
widgets/QlixPreferences.h \
widgets/QMtp.h \
widgets/QMtpDevice.h
SOURCES += main.cpp \
mtp/Album.cpp \
mtp/File.cpp \
mtp/Folder.cpp \
mtp/GenericObjects.cpp \
mtp/MtpDevice.cpp \
mtp/MtpStorage.cpp \
mtp/MtpSubSystem.cpp \
mtp/Playlist.cpp \
mtp/ShadowTrack.cpp \
mtp/Track.cpp \
widgets/AlbumDelegate.cpp \
widgets/AlbumModel.cpp \
widgets/DeviceButton.cpp \
widgets/DeviceChooser.cpp \
widgets/DeviceExplorer.cpp \
widgets/DirModel.cpp \
widgets/MtpWatchDog.cpp \
widgets/PlaylistDelegate.cpp \
widgets/PlaylistModel.cpp \
widgets/QlixMainWindow.cpp \
widgets/QlixPreferences.cpp \
widgets/QMtpDevice.cpp
RESOURCES += Qlix.qrc
ParentDirectory = .
CONFIG(debug, debug|release) {
DESTDIR = "$$ParentDirectory/build/debug"
}
CONFIG(release, debug|release) {
DESTDIR = "$$ParentDirectory/build/release"
}
RCC_DIR = "$$ParentDirectory/$$DESTDIR/RCCFiles"
UI_DIR = "$$ParentDirectory/$$DESTDIR/UICFiles"
MOC_DIR = "$$ParentDirectory/$$DESTDIR/MOCFiles"
OBJECTS_DIR = "$$ParentDirectory/$$DESTDIR/ObjFiles"
TAGLIB_INC = $$system(taglib-config --cflags)
TAGLIB_LIBS = $$system(taglib-config --libs)
linux {
message("Detected Linux")
DEFINES += LINUX_UI
DEFINES += LINUX_SIGNALS
DEFINES += LINUX_DBUS
DEFINES += QLIX_DEBUG
LIBS += $$TAGLIB_LIBS
LIBS += "-lmtp"
LIBS += "-lusb"
CONFIG += qdbus
TARGET = "qlix"
INCLUDEPATH +="/usr/include/"
INCLUDEPATH +="/usr/local/include/"
DEPENDPATH += "/usr/local/lib/"
QMAKE_CXXFLAGS += $$TAGLIB_INC
#target.path = /usr/bin
#INSTALLS += target
}
macx {
message("Detected OS X")
ICON = pixmaps/osx/qlix.icns
DEFINES += LINUX_SIGNALS
DEFINES += QLIX_DEBUG
LIBS += $$TAGLIB_LIBS
LIBS += "-lmtp"
LIBS += "-lusb-1.0"
TARGET = "qlix"
INCLUDEPATH +="/usr/include/"
INCLUDEPATH +="/usr/local/include/"
DEPENDPATH += "/usr/local/lib/"
QMAKE_CXXFLAGS += $$TAGLIB_INC
#target.path = /usr/bin
#INSTALLS += target
}
include(modeltest/modeltest.pri)