@@ -15,7 +15,6 @@ SED_PREFIX = $(shell echo $(PREFIX) | sed "s/\//\\\\\\\\\//g") | |||||
LINK = ln -sf | LINK = ln -sf | ||||
ifneq ($(MACOS),true) | |||||
ifeq ($(DEFAULT_QT),5) | ifeq ($(DEFAULT_QT),5) | ||||
PYUIC ?= pyuic5 | PYUIC ?= pyuic5 | ||||
PYRCC ?= pyrcc5 | PYRCC ?= pyrcc5 | ||||
@@ -23,15 +22,6 @@ else | |||||
PYUIC ?= pyuic4 -w | PYUIC ?= pyuic4 -w | ||||
PYRCC ?= pyrcc4 -py3 | PYRCC ?= pyrcc4 -py3 | ||||
endif | endif | ||||
else # MACOS | |||||
ifeq ($(DEFAULT_QT),5) | |||||
PYUIC ?= pyuic5-3.3 | |||||
PYRCC ?= pyrcc5-3.3 | |||||
else | |||||
PYUIC ?= pyuic4-3.3 -w | |||||
PYRCC ?= pyrcc4-3.3 -py3 | |||||
endif | |||||
endif | |||||
# -------------------------------------------------------------- | # -------------------------------------------------------------- | ||||
@@ -399,10 +399,16 @@ MOC_QT5 ?= $(QT5_LIBDIR)/qt5/bin/moc | |||||
RCC_QT5 ?= $(QT5_LIBDIR)/qt5/bin/rcc | RCC_QT5 ?= $(QT5_LIBDIR)/qt5/bin/rcc | ||||
UIC_QT5 ?= $(QT5_LIBDIR)/qt5/bin/uic | UIC_QT5 ?= $(QT5_LIBDIR)/qt5/bin/uic | ||||
else | else | ||||
ifeq ($(MACOS),true) | |||||
MOC_QT5 ?= $(QT5_LIBDIR)/../bin/moc | |||||
RCC_QT5 ?= $(QT5_LIBDIR)/../bin/rcc | |||||
UIC_QT5 ?= $(QT5_LIBDIR)/../bin/uic | |||||
else | |||||
MOC_QT5 ?= $(QT5_LIBDIR)/qt/bin/moc | MOC_QT5 ?= $(QT5_LIBDIR)/qt/bin/moc | ||||
RCC_QT5 ?= $(QT5_LIBDIR)/qt/bin/rcc | RCC_QT5 ?= $(QT5_LIBDIR)/qt/bin/rcc | ||||
UIC_QT5 ?= $(QT5_LIBDIR)/qt/bin/uic | UIC_QT5 ?= $(QT5_LIBDIR)/qt/bin/uic | ||||
endif | endif | ||||
endif | endif | ||||
endif | |||||
# -------------------------------------------------------------- | # -------------------------------------------------------------- |
@@ -676,8 +676,8 @@ class HostWindow(QMainWindow): | |||||
folder = diskFolders[i] | folder = diskFolders[i] | ||||
self.ui.cb_disk.addItem(os.path.basename(folder), folder) | self.ui.cb_disk.addItem(os.path.basename(folder), folder) | ||||
if MACOS and not settings.value(CARLA_KEY_MAIN_USE_PRO_THEME, True, type=bool): | |||||
self.setUnifiedTitleAndToolBarOnMac(True) | |||||
#if MACOS and not settings.value(CARLA_KEY_MAIN_USE_PRO_THEME, True, type=bool): | |||||
# self.setUnifiedTitleAndToolBarOnMac(True) | |||||
# --------------------------------------------- | # --------------------------------------------- | ||||
@@ -56,10 +56,11 @@ from carla_backend import * | |||||
if MACOS: | if MACOS: | ||||
if config_UseQt5: | if config_UseQt5: | ||||
from PyQt5.QtGui import qt_mac_set_menubar_icons | |||||
pass | |||||
#from PyQt5.QtGui import qt_mac_set_menubar_icons | |||||
else: | else: | ||||
from PyQt4.QtGui import qt_mac_set_menubar_icons | from PyQt4.QtGui import qt_mac_set_menubar_icons | ||||
qt_mac_set_menubar_icons(False) | |||||
qt_mac_set_menubar_icons(False) | |||||
elif WINDOWS: | elif WINDOWS: | ||||
WINDIR = os.getenv("WINDIR") | WINDIR = os.getenv("WINDIR") | ||||