mirror of https://github.com/vitalif/openscad
fix broken linux gui build!!
parent
ced162977f
commit
afcf7239ab
|
@ -41,8 +41,6 @@ TEMPLATE = app
|
|||
INCLUDEPATH += src
|
||||
DEPENDPATH += src
|
||||
|
||||
QTPLUGIN += qtaccessiblewidgets
|
||||
|
||||
# Handle custom library location.
|
||||
# Used when manually installing 3rd party libraries
|
||||
OPENSCAD_LIBDIR = $$(OPENSCAD_LIBRARIES)
|
||||
|
@ -92,6 +90,7 @@ else {
|
|||
|
||||
win* {
|
||||
RC_FILE = openscad_win32.rc
|
||||
QTPLUGIN += qtaccessiblewidgets
|
||||
}
|
||||
|
||||
CONFIG += qt
|
||||
|
|
|
@ -448,7 +448,9 @@ int cmdline(const char *deps_output_file, const std::string &filename, Camera &c
|
|||
|
||||
#ifdef OPENSCAD_QTGUI
|
||||
#include <QtPlugin>
|
||||
#if defined(__MINGW64__) || defined(__MINGW32__) || defined(_MSCVER)
|
||||
Q_IMPORT_PLUGIN(qtaccessiblewidgets)
|
||||
#endif
|
||||
#include "MainWindow.h"
|
||||
#ifdef __APPLE__
|
||||
#include "EventFilter.h"
|
||||
|
|
Loading…
Reference in New Issue