Fix windows compilation
This commit is contained in:
1 parent
8d271a4def
commit
4f7d3ce280
3 files changed
+6
-6
No files matched your search
@@ -38,10 +38,6 @@ public:
|
||||
void hide();
|
||||
void showMessage(const QString &title, const QString &message);
|
||||
|
||||
#ifndef Q_OS_LINUX
|
||||
void showMessage(const QString &title, const QString &message);
|
||||
#endif
|
||||
|
||||
private:
|
||||
//system tray
|
||||
QAction *quit;
|
||||
|
||||
@@ -22,10 +22,14 @@
|
||||
|
||||
#include <QtCore/qglobal.h>
|
||||
|
||||
#ifdef Q_OS_LINUX
|
||||
#if defined(QCMA_TRAYINDICATOR_LIBRARY)
|
||||
# define TRAYINDICATORSHARED_EXPORT Q_DECL_EXPORT
|
||||
#else
|
||||
# define TRAYINDICATORSHARED_EXPORT Q_DECL_IMPORT
|
||||
#endif
|
||||
#else
|
||||
# define TRAYINDICATORSHARED_EXPORT
|
||||
#endif
|
||||
|
||||
#endif // TRAYINDICATOR_GLOBAL_H
|
||||
Reference in new issue
Block a user