-
Notifications
You must be signed in to change notification settings - Fork 25
/
FastQt.pro
85 lines (59 loc) · 1.83 KB
/
FastQt.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
#-------------------------------------------------
#
# Project created by QtCreator 2016-10-27T15:00:28
#
#-------------------------------------------------
QT += core gui concurrent charts svg
#QMAKE_CXXFLAGS += -Ofast
CONFIG += c++11
CONFIG(release, debug|release):DEFINES += QT_NO_DEBUG_OUTPUT
# METHOD 1 : If KArchive is not installed as a Qt Module then copy to your Qt installation :
#exemple
#cp /usr/lib/x86_64-linux-gnu/qt5/mkspecs/modules/qt_KArchive.pri ~/path/to/Qt/5.7/gcc_64/mkspecs/modules
#QT += KArchive
# METHOD 2 : Otherwise link it as a common library
unix {
# COMPILE HTSLIB
mytarget.target = $$PWD/htslib/libhts.so
mytarget.commands = cd $$PWD/htslib; make -j 4
mytarget_clean.commands = cd $$PWD/htslib; make clean
QMAKE_EXTRA_TARGETS += mytarget
PRE_TARGETDEPS += $$PWD/htslib/libhts.so
INCLUDEPATH+=$$PWD/htslib
LIBS += -L$$PWD/htslib -lhts
INCLUDEPATH += "/usr/include/KF5/KArchive"
LIBS += -L"/usr/lib" -lKF5Archive
}
win32{
#htslib
LIBS += -L$$PWD/win32 -lhts
INCLUDEPATH += $$PWD/htslib
DEPENDPATH += $$PWD/htslib
LIBS += -L$$PWD/win32/KArchive/lib -llibKF5Archive.dll
INCLUDEPATH += $$PWD/win32/KArchive/include/KF5/KArchive
RC_FILE = myapp.rc
message("compile for windows")
message($$PWD)
message($$LIBS)
}
greaterThan(QT_MAJOR_VERSION, 4): QT += widgets
TARGET = fastqt
TEMPLATE = app
# Installation
target.path = /usr/local/bin
desktop.path = /usr/share/applications
desktop.files += fastqt.desktop
icons.path = /usr/share/icons/hicolor/48x48/apps
icons.files += fastqt.png
INSTALLS += target desktop icons
SOURCES += main.cpp
include("sequence/sequence.pri")
include("analysis/analysis.pri")
include("ui/ui.pri")
include("model/model.pri")
include("utils/utils.pri")
include("QFontIcon/QFontIcon.pri")
include("cli/cli.pri")
RESOURCES += \
resources.qrc
TRANSLATIONS = localization/fastqc_fr.ts