Reorganized project to avoid the ".pro not found" by having all the

pro files in the same directory. With this change the android library
now builds properly.

This also fixes the parallel compilation problem that happened when
building using +8 cores.
This commit is contained in:
codestation
2015-03-21 14:48:25 -04:30
parent c223016725
commit 9f790dc788
106 changed files with 13921 additions and 0 deletions

83
gui/gui.pro Normal file
View File

@@ -0,0 +1,83 @@
include(../config.pri)
include(../common/defines.pri)
TARGET = qcma
TEMPLATE += app
QT += gui widgets network sql
LIBS += -L../common -lqcma_common
SOURCES += \
main.cpp \
mainwidget.cpp \
singleapplication.cpp \
clientmanager.cpp \
filterlineedit.cpp \
qtrayicon.cpp \
# forms
forms/backupitem.cpp \
forms/backupmanagerform.cpp \
forms/configwidget.cpp \
forms/confirmdialog.cpp \
forms/pinform.cpp \
forms/progressform.cpp
HEADERS += \
mainwidget.h \
singleapplication.h \
clientmanager.h \
filterlineedit.h \
qtrayicon.h \
trayindicator.h \
trayindicator_global.h \
# forms
forms/backupitem.h \
forms/backupmanagerform.h \
forms/configwidget.h \
forms/confirmdialog.h \
forms/pinform.h \
forms/progressform.h
FORMS += \
forms/configwidget.ui \
forms/backupmanagerform.ui \
forms/backupitem.ui \
forms/confirmdialog.ui \
forms/progressform.ui \
forms/pinform.ui
OTHER_FILES += \
resources/images/psv_icon.png \
resources/images/psv_icon_16.png \
resources/images/qcma.png \
resources/qcma.desktop \
qcma.rc
RESOURCES += gui.qrc
# find packages using pkg-config
PKGCONFIG = libvitamtp libavformat libavcodec libavutil libswscale
#Linux-only config
unix:!macx {
PKGCONFIG += libnotify
# config for desktop file and icon
desktop.path = $$DATADIR/applications/$${TARGET}
desktop.files += resources/$${TARGET}.desktop
icon64.path = $$DATADIR/icons/hicolor/64x64/apps
icon64.files += resources/images/$${TARGET}.png
man.files = qcma.1
man.path = $$MANDIR
target.path = $$BINDIR
INSTALLS += target desktop icon64 man
}
# Windows config
win32 {
# Windows icon
RC_FILE = qcma.rc
}