Skip to content
Snippets Groups Projects
Commit 104066f7 authored by akiraohgaki's avatar akiraohgaki
Browse files

Add qmake project files

parent 11fa5111
No related branches found
No related tags found
No related merge requests found
unix:!android {
isEmpty(PREFIX) {
PREFIX = /usr/local
}
SRCDIR = src
BINDIR = $${PREFIX}/bin
DATADIR = $${PREFIX}/share
target.path = $${BINDIR}
desktopentry.files = $${SRCDIR}/desktop/$${TARGET}.desktop
desktopentry.path = $${DATADIR}/applications
icon.files = $${SRCDIR}/desktop/$${TARGET}.svg
icon.path = $${DATADIR}/icons/hicolor/scalable/apps
INSTALLS += target desktopentry icon
}
export(INSTALLS)
unix:!android {
QMAKE_LFLAGS += -Wl,-rpath=\\\$\$ORIGIN
QMAKE_LFLAGS += -Wl,-rpath=/usr/lib/$${TARGET}
QMAKE_RPATH =
}
TARGET = xdgurl
TEMPLATE = app
QT += \
core \
gui \
widgets \
qml \
quick \
svg \
network
CONFIG += \
c++11
SOURCES += \
src/main.cpp \
src/core/config.cpp \
src/core/network.cpp \
src/handlers/item.cpp \
src/utility/file.cpp \
src/utility/json.cpp
HEADERS += \
src/core/config.h \
src/core/network.h \
src/handlers/item.h \
src/utility/file.h \
src/utility/json.h
RESOURCES += \
src/qml.qrc \
src/configs.qrc
DISTFILES += \
README.md
# Additional RPATH
#include(rpath.pri)
# Deployment rules
include(deployment.pri)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment