VST: Fix Qt4 compilation
This commit is contained in:
@@ -29,7 +29,7 @@ SET(REMOTE_VST_PLUGIN_FILEPATH "RemoteVstPlugin" CACHE STRING "Relative file pat
|
||||
ADD_DEFINITIONS(-DREMOTE_VST_PLUGIN_FILEPATH="${REMOTE_VST_PLUGIN_FILEPATH}")
|
||||
BUILD_PLUGIN(vstbase vst_base.cpp VstPlugin.cpp VstPlugin.h communication.h MOCFILES VstPlugin.h)
|
||||
|
||||
IF(LMMS_BUILD_LINUX)
|
||||
IF(LMMS_BUILD_LINUX AND WANT_QT5)
|
||||
TARGET_LINK_LIBRARIES(vstbase qx11embedcontainer)
|
||||
ENDIF()
|
||||
|
||||
|
||||
@@ -35,10 +35,6 @@
|
||||
|
||||
#include "lmmsversion.h"
|
||||
|
||||
#ifdef LMMS_BUILD_LINUX
|
||||
#include <QtX11Extras/QX11Info>
|
||||
#endif
|
||||
|
||||
static inline QString ensureTrailingSlash( const QString & s )
|
||||
{
|
||||
if( ! s.isEmpty() && !s.endsWith('/') && !s.endsWith('\\') )
|
||||
|
||||
@@ -67,10 +67,6 @@
|
||||
#include "MidiApple.h"
|
||||
#include "MidiDummy.h"
|
||||
|
||||
#ifdef LMMS_BUILD_LINUX
|
||||
#include <QtX11Extras/QX11Info>
|
||||
#endif
|
||||
|
||||
inline void labelWidget( QWidget * _w, const QString & _txt )
|
||||
{
|
||||
QLabel * title = new QLabel( _txt, _w );
|
||||
|
||||
Reference in New Issue
Block a user