From de184ea2844faed7d1464f7c21024b957016f947 Mon Sep 17 00:00:00 2001 From: Daniel Tartavel Date: Sat, 18 Mar 2023 14:05:55 +0100 Subject: [PATCH] added buildrequire in spec --- RsyncUI.pro | 67 ++++++++++++ RsyncUI.pro.user | 280 +++++++++++++++++++++++++++++++++++++++++++++++ RsyncUI.spec | 2 +- 3 files changed, 348 insertions(+), 1 deletion(-) create mode 100644 RsyncUI.pro create mode 100644 RsyncUI.pro.user diff --git a/RsyncUI.pro b/RsyncUI.pro new file mode 100644 index 0000000..fdc1433 --- /dev/null +++ b/RsyncUI.pro @@ -0,0 +1,67 @@ +QT += core gui concurrent +QT += KItemViews +QT += KCompletion +QT += widgets +QT += KConfigCore KConfigGui +QT += KCoreAddons +QT += KDBusAddons + +LIBS += -lqt5keychain + +CONFIG += c++17 + +#DEFINES += QTKEYCHAIN_NO_EXPORT + +# You can make your code fail to compile if it uses deprecated APIs. +# In order to do so, uncomment the following line. +#DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0x060000 # disables all the APIs deprecated before Qt 6.0.0 + +SOURCES += \ + downloadfile.cpp \ + main.cpp \ + mainwindow.cpp \ + password.cpp \ + tools.cpp + +HEADERS += \ + downloadfile.h \ + mainwindow.h \ + password.h \ + tools.h + +FORMS += \ + about.ui \ + configuration.ui \ + mainwindow.ui + +TRANSLATIONS += \ + RsyncUI_fr_FR.ts + +INCLUDEPATH += \ + /usr/include/KF5 \ + /usr/include/qt5keychain \ + +# Default rules for deployment. +qnx: target.path = /tmp/$${TARGET}/bin +else: unix:!android: target.path = /usr/bin/ +!isEmpty(target.path): INSTALLS += target + +INSTALLS += lang +INSTALLS += documentation +INSTALLS += desktopfile +INSTALLS += icon + +#RESOURCES += + +DISTFILES += \ + RsyncUI.desktop + +lang.path = /languages/ +lang.path = /usr/share/locale/ +lang.files = languages/* +documentation.path = /usr/share/doc/RsyncUI +documentation.files = README* +desktopfile.path = /usr/share/applications +desktopfile.files = RsyncUI.desktop +icon.path = /usr/share/icons/ +icon.files = RsyncUI.png diff --git a/RsyncUI.pro.user b/RsyncUI.pro.user new file mode 100644 index 0000000..c5fa078 --- /dev/null +++ b/RsyncUI.pro.user @@ -0,0 +1,280 @@ + + + + + + EnvironmentId + {a3117c94-e673-4dca-aa4c-050bbea034fe} + + + ProjectExplorer.Project.ActiveTarget + 0 + + + ProjectExplorer.Project.EditorSettings + + true + false + true + + Cpp + + CppGlobal + + + + QmlJS + + QmlJSGlobal + + + 2 + UTF-8 + false + 4 + false + 80 + true + true + 1 + false + true + false + 1 + true + true + 0 + 8 + true + false + 1 + true + true + true + *.md, *.MD, Makefile + true + true + true + + + + ProjectExplorer.Project.PluginSettings + + + true + false + true + true + true + true + + + 0 + true + + true + true + Builtin.DefaultTidyAndClazy + 2 + + + + true + + + + + ProjectExplorer.Project.Target.0 + + Desktop + Desktop + Desktop + {893f9ca6-0efa-4c08-a4a6-5a818f60a8a0} + 0 + 0 + 0 + + 0 + /home/daniel/develop/RsyncUI6/../build-RsyncUI6-Desktop-Debug + /home/daniel/develop/build-RsyncUI6-Desktop-Debug + + + true + QtProjectManager.QMakeBuildStep + false + + + + true + Qt4ProjectManager.MakeStep + + 2 + Build + Build + ProjectExplorer.BuildSteps.Build + + + + true + Qt4ProjectManager.MakeStep + clean + + 1 + Clean + Clean + ProjectExplorer.BuildSteps.Clean + + 2 + false + + false + + Debug + Qt4ProjectManager.Qt4BuildConfiguration + 2 + + + /home/daniel/develop/RsyncUI6/../build-RsyncUI6-Desktop-Release + /home/daniel/develop/build-RsyncUI6-Desktop-Release + + + true + QtProjectManager.QMakeBuildStep + false + + + + true + Qt4ProjectManager.MakeStep + + 2 + Build + Build + ProjectExplorer.BuildSteps.Build + + + + true + Qt4ProjectManager.MakeStep + clean + + 1 + Clean + Clean + ProjectExplorer.BuildSteps.Clean + + 2 + false + + false + + Release + Qt4ProjectManager.Qt4BuildConfiguration + 0 + 0 + + + 0 + /home/daniel/develop/RsyncUI6/../build-RsyncUI6-Desktop-Profile + /home/daniel/develop/build-RsyncUI6-Desktop-Profile + + + true + QtProjectManager.QMakeBuildStep + false + + + + true + Qt4ProjectManager.MakeStep + + 2 + Build + Build + ProjectExplorer.BuildSteps.Build + + + + true + Qt4ProjectManager.MakeStep + clean + + 1 + Clean + Clean + ProjectExplorer.BuildSteps.Clean + + 2 + false + + false + + Profile + Qt4ProjectManager.Qt4BuildConfiguration + 0 + 0 + 0 + + 3 + + + 0 + Deploy + Deploy + ProjectExplorer.BuildSteps.Deploy + + 1 + + false + ProjectExplorer.DefaultDeployConfiguration + + 1 + + true + true + true + + 0 + 1 + 2 + 3 + 4 + 5 + 6 + 7 + 8 + 9 + 10 + 11 + 12 + 13 + 14 + + + 2 + + Qt4ProjectManager.Qt4RunConfiguration:/home/daniel/develop/RsyncUI6/RsyncUI6.pro + /home/daniel/develop/RsyncUI6/RsyncUI6.pro + false + true + true + false + true + /home/daniel/develop/build-RsyncUI6-Desktop-Debug + + 1 + + + + ProjectExplorer.Project.TargetCount + 1 + + + ProjectExplorer.Project.Updater.FileVersion + 22 + + + Version + 22 + + diff --git a/RsyncUI.spec b/RsyncUI.spec index 5d004c6..e8ef0e7 100644 --- a/RsyncUI.spec +++ b/RsyncUI.spec @@ -27,7 +27,7 @@ BuildRequires: cmake(KF5Config) BuildRequires: cmake(KF5ItemViews) BuildRequires: pstreams-devel BuildRequires: boost-devel - +BuildRequires: qt5keychain-devel #Requires: kitemviews #Requires: kcompletion #Requires: kcoreaddons