Skip to content
Snippets Groups Projects
Commit 32b996eb authored by inso's avatar inso
Browse files

Dirty hooks for windows builds (to display icons)

parent 35eb6173
No related branches found
No related tags found
No related merge requests found
......@@ -46,7 +46,7 @@ QToolButton {
<item>
<widget class="QLabel" name="label_welcome">
<property name="text">
<string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;TestText&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
<string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;&lt;br/&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
</property>
<property name="textFormat">
<enum>Qt::RichText</enum>
......@@ -77,7 +77,7 @@ QToolButton {
</size>
</property>
<property name="toolButtonStyle">
<enum>Qt::ToolButtonFollowStyle</enum>
<enum>Qt::ToolButtonTextBesideIcon</enum>
</property>
<property name="autoRaise">
<bool>false</bool>
......@@ -110,7 +110,7 @@ QToolButton {
</size>
</property>
<property name="toolButtonStyle">
<enum>Qt::ToolButtonFollowStyle</enum>
<enum>Qt::ToolButtonTextBesideIcon</enum>
</property>
</widget>
</item>
......@@ -137,7 +137,7 @@ QToolButton {
</size>
</property>
<property name="toolButtonStyle">
<enum>Qt::ToolButtonFollowStyle</enum>
<enum>Qt::ToolButtonTextBesideIcon</enum>
</property>
</widget>
</item>
......
......@@ -5,6 +5,7 @@
import sys, os, subprocess, multiprocessing
from cx_Freeze import setup, Executable
from PyQt5 import QtCore
#############################################################################
# preparation des options
......@@ -18,8 +19,15 @@ packages = ["libnacl"]
includefiles = []
if sys.platform == "win32":
includefiles.append("platforms/win32/libEGL.dll")
app = QtCore.QCoreApplication(sys.argv)
pyqt_path = QtCore.QCoreApplication.libraryPaths()[0]
print(pyqt_path)
libEGL_path = os.path.join(os.path.dirname(pyqt_path), "libEGL.dll")
qt5svg_path = os.path.join(os.path.dirname(pyqt_path), "Qt5Svg.dll")
includefiles.append(libEGL_path)
includefiles.append(qt5svg_path)
includefiles.append("platforms/win32/libsodium.dll")
elif sys.platform == "darwin":
pass
else:
......
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