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

Code cleanup

parent 861e2d4a
No related branches found
No related tags found
No related merge requests found
......@@ -24,8 +24,8 @@ DISTFILES += \
pkg/snap/setup/gui/ocs-url.desktop \
pkg/appimage/appimage-desktopintegration
include(deployment.pri)
include(src/lib/qtlib/qtlib.pri)
include(src/app/app.pri)
include(deployment.pri)
......@@ -15,7 +15,7 @@ md5sums=() #autofill using updpkgsums
build() {
#cd "${pkgname}-release-${pkgver}"
cd "${pkgname}"
qmake PREFIX='/usr'
qmake PREFIX="/usr"
make
}
......
......@@ -21,7 +21,7 @@ An install helper program for desktop stuff.
%build
%define debug_package %{nil}
qmake-qt5 PREFIX='/usr'
qmake-qt5 PREFIX="/usr"
make
%install
......
......@@ -15,7 +15,7 @@ parts:
source: ../../
qt-version: qt5
options:
- PREFIX='/usr'
- PREFIX="/usr"
build-packages:
- build-essential
- qt5-default
......
......@@ -4,7 +4,7 @@
dh $@
override_dh_auto_configure:
qmake PREFIX='/usr'
qmake PREFIX="/usr"
override_dh_auto_install:
make INSTALL_ROOT="$(CURDIR)/debian/tmp" install
......
//#include <QtGlobal>
#include <QString>
#include <QStringList>
#include <QUrl>
#include <QJsonObject>
#include <QCommandLineParser>
//#include <QCoreApplication>
#include <QGuiApplication>
#include <QIcon>
#include <QQmlApplicationEngine>
......@@ -17,9 +15,6 @@
int main(int argc, char *argv[])
{
// Init
//#if QT_VERSION >= QT_VERSION_CHECK(5, 6, 0)
// QCoreApplication::setAttribute(Qt::AA_EnableHighDpiScaling);
//#endif
QGuiApplication app(argc, argv);
qtlib::Config config(":/configs");
......
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