From 57b7f111c27f57085a2c64c37c5c5a94ee1d0f02 Mon Sep 17 00:00:00 2001
From: "kali kaneko (leap communications)" <kali@leap.se>
Date: Thu, 11 Jun 2020 20:51:28 +0200
Subject: [PATCH] [pkg] simplify project file

Signed-off-by: kali kaneko (leap communications) <kali@leap.se>
---
 bitmask.pro | 30 +-----------------------------
 1 file changed, 1 insertion(+), 29 deletions(-)

diff --git a/bitmask.pro b/bitmask.pro
index 28119a7e..910ba23d 100644
--- a/bitmask.pro
+++ b/bitmask.pro
@@ -1,7 +1,7 @@
 # FIXME: this should be overwritten by build templates
 TARGET=riseup-vpn
 
-CONFIG += qt staticlib
+CONFIG += qt static
 windows:CONFIG += console
 unix:DEBUG:CONFIG += debug
 lessThan(QT_MAJOR_VERSION, 5): error("requires Qt 5")
@@ -11,34 +11,6 @@ macx {
     LIBS += -framework Security
 }
 
-# trying to optimize size of the static binary.
-# probably more can be shaved off with some patience
-# You need to recompile your version of Qt to use the libraries you want. The
-# information comes from the build configuration of the Qt version that you are
-# using. Simply point Qts configure to the relevant libraries you wish to
-# override, build it, and use it to build your project. It will automatically
-# pull in the newer libraries that you overrode.
-# TODO: patch the $(PKG)_BUILD definition in mxe/src/qtbase.mk and shave some options there.
-# https://stackoverflow.com/questions/5587141/recommended-flags-for-a-minimalistic-qt-build
-# See also: https://qtlite.com/
-
-#QTPLUGIN.imageformats = -
-#QTPLUGIN.QTcpServerConnectionFactory =-
-#QTPLUGIN.QQmlDebugServerFactory =-
-#QTPLUGIN.QWindowsIntegrationPlugin =-
-#QTPLUGIN.QQmlDebuggerServiceFactory =-
-#QTPLUGIN.QQmlInspectorServiceFactory =-
-#QTPLUGIN.QLocalClientConnectionFactory =-
-#QTPLUGIN.QDebugMessageServiceFactory =-
-#QTPLUGIN.QQmlNativeDebugConnectorFactory =-
-#QTPLUGIN.QQmlNativeDebugServiceFactory =-
-#QTPLUGIN.QQmlPreviewServiceFactory =-
-#QTPLUGIN.QQmlProfilerServiceFactory =-
-#QTPLUGIN.QQuickProfilerAdapterFactory =-
-#QTPLUGIN.QQmlDebugServerFactory =-
-#QTPLUGIN.QTcpServerConnectionFactory =-
-#QTPLUGIN.QGenericEnginePlugin =-
-
 QT += qml quick widgets
 
 SOURCES += \
-- 
GitLab