mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-12-28 17:09:34 -05:00
4876a0ea3b
Restructure and document retroshare.pri variables and helper functions Link sqlite statically like other libraries on Android qmake has multiple win32-* specs match them correctly Move a buch of generic thing to retroshare.pri instead of having them replocated accross project specific .pro Fix retroshare-gui too many symbols exported on windows liking error by adding QMAKE_LFLAGS+=-Wl,--exclude-libs,ALL Rename retroshare-gui/src/util/win32.h because the name is too prone to confusion and build conflicts libreasapi avoid usage of cretar_prl link_prl that seems unreliable on some platforms libreasapi rename LIBRESAPI_QT to more understendable LIBRESAPI_SETTINGS Use use_*.pri instead of copy pasting error prone qmake snippets around Expose bitdht option to retroshare.pri Add RS_THREAD_LIB qmake variable for better crossplatform support Move debug and profiling generic options to retroshare.pri (avoid copy/pasting) Remove Qt script module in qmake as it is not available anymore
50 lines
1.2 KiB
Prolog
50 lines
1.2 KiB
Prolog
!include("../../retroshare.pri"): error("Could not include file ../../retroshare.pri")
|
|
|
|
QT += core network qml quick svg
|
|
|
|
CONFIG += c++11
|
|
|
|
HEADERS += libresapilocalclient.h \
|
|
rsqmlappengine.h \
|
|
androidimagepicker.h \
|
|
platforminteracions.h
|
|
SOURCES += main-app.cpp \
|
|
libresapilocalclient.cpp \
|
|
rsqmlappengine.cpp
|
|
|
|
RESOURCES += qml.qrc
|
|
|
|
|
|
# Platform interaction specific code
|
|
|
|
android-* {
|
|
QT += androidextras
|
|
HEADERS += NativeCalls.h androidplatforminteracions.h
|
|
SOURCES += NativeCalls.cpp androidplatforminteracions.cpp
|
|
|
|
ANDROID_PACKAGE_SOURCE_DIR = $$PWD/android
|
|
|
|
|
|
# Default rules for deployment.
|
|
include(deployment.pri)
|
|
|
|
DISTFILES += \
|
|
android/AndroidManifest.xml \
|
|
android/gradle/wrapper/gradle-wrapper.jar \
|
|
android/gradlew \
|
|
android/res/values/libs.xml \
|
|
android/build.gradle \
|
|
android/gradle/wrapper/gradle-wrapper.properties \
|
|
android/gradlew.bat \
|
|
icons/retroshare.png
|
|
|
|
} else {
|
|
|
|
HEADERS += defaultplatforminteracions.h
|
|
SOURCES += defaultplatforminteracions.cpp
|
|
}
|
|
|
|
# Additional import path used to resolve QML modules in Qt Creator's code model
|
|
#QML_IMPORT_PATH =
|
|
#QML2_IMPORT_PATH =
|