Export ItemSelection and ItemSettingsDialog widget symbols

This is done to be able to support use of these widgets in plugins.
This commit is contained in:
WarmUpTill
2023-08-12 15:32:18 +02:00
committed by WarmUpTill
parent a2d0a7f544
commit 49e8bf7639
3 changed files with 14 additions and 2 deletions

View File

@@ -0,0 +1,8 @@
#pragma once
// Helpers helper to enable exporting and importing custom Qt widget symbols
#ifdef ADVSS_EXPORT_SYMBOLS
#define ADVSS_EXPORT Q_DECL_EXPORT
#else
#define ADVSS_EXPORT Q_DECL_IMPORT
#endif

View File

@@ -1,5 +1,6 @@
#pragma once
#include "filter-combo-box.hpp"
#include "export-symbol-helper.hpp"
#include <QPushButton>
#include <QDialog>
@@ -11,8 +12,8 @@
namespace advss {
class ItemSelection;
class ItemSettingsDialog;
class ADVSS_EXPORT ItemSelection;
class ADVSS_EXPORT ItemSettingsDialog;
class Item {
public: