mirror of
https://github.com/LMMS/lmms.git
synced 2026-04-28 18:10:37 -04:00
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:
@@ -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
|
||||
} ;
|
||||
|
||||
Reference in New Issue
Block a user