# include "kcmdlinewrapper.h"
#endif
+#if !defined(BUILD_CORE) && defined(STATIC)
+#include <QtPlugin>
+Q_IMPORT_PLUGIN(qjpeg)
+Q_IMPORT_PLUGIN(qgif)
+#endif
+
#include "cliparser.h"
#include "quassel.h"
int main(int argc, char **argv) {
- Q_INIT_RESOURCE(i18n);
// Setup build information and version string
# include "version.gen"
cliParser->addSwitch("debugbufferswitches", 0, "Enables debugging for bufferswitches");
cliParser->addSwitch("debugmodel", 0, "Enables debugging for models");
#endif
-#ifndef BUILD_QTCLIENT
+#ifndef BUILD_QTUI
// put core-only arguments here
cliParser->addOption("listen <address>[,<address[,...]]>", 0, "The address(es) quasselcore will listen on", "0.0.0.0,::");
cliParser->addOption("port <port>",'p', "The port quasselcore will listen at", QString("4242"));