Use Qt's Resource System (2nd approach) (#1891)

* Remove bin2res, use Qt's resource system
* Use QDir search paths and QImageReader in getIconPixmap
* Don't include "embed.cpp" in plugins
* getIconPixmap: Use QPixmapCache, use QPixmap::fromImageReader
* Require CMake 2.8.9

* Fix ReverbSC embed usage
This commit is contained in:
Lukas W
2017-03-26 22:06:43 +02:00
committed by GitHub
parent abc73c06ee
commit 9f905bce3e
88 changed files with 243 additions and 419 deletions

View File

@@ -30,7 +30,7 @@
#include "peak_controller_effect.h"
#include "lmms_math.h"
#include "embed.cpp"
#include "embed.h"
extern "C"
{
@@ -44,7 +44,7 @@ Plugin::Descriptor PLUGIN_EXPORT peakcontrollereffect_plugin_descriptor =
"Paul Giblock <drfaygo/at/gmail.com>",
0x0100,
Plugin::Effect,
new PluginPixmapLoader( "logo" ),
new PluginPixmapLoader("logo"),
NULL,
NULL
} ;