fix broken linux gui build!!

jawsreader
Don Bright 2014-02-26 18:29:57 -06:00
parent ced162977f
commit afcf7239ab
2 changed files with 3 additions and 2 deletions

View File

@ -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

View File

@ -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"