WIP: fixed linker issues.

This commit is contained in:
Matthias Koefferlein 2018-06-15 00:31:46 +02:00
parent c360f6d4a7
commit 10cfac3d42
7 changed files with 9 additions and 7 deletions

View File

@ -31,7 +31,8 @@
namespace tl
{
template <> tl::Registrar<db::TechnologyComponentProvider> *Registrar<db::TechnologyComponentProvider>::instance = 0;
template<> DB_PUBLIC tl::Registrar<db::TechnologyComponentProvider> *tl::Registrar<db::TechnologyComponentProvider>::instance = 0;
template class DB_PUBLIC tl::RegisteredClass<db::TechnologyComponentProvider>;
}
namespace db

View File

@ -30,10 +30,9 @@
#include <QFileInfo>
#include <QDir>
namespace lay
namespace tl
{
// .. nothing yet ..
template<> LAYBASIC_PUBLIC tl::Registrar<lay::TechnologyEditorProvider> *tl::Registrar<lay::TechnologyEditorProvider>::instance = 0;
template class LAYBASIC_PUBLIC tl::RegisteredClass<lay::TechnologyEditorProvider>;
}

View File

@ -106,12 +106,14 @@ private:
* @brief A base class for a technology component provider
*/
class LAYBASIC_PUBLIC TechnologyEditorProvider
: public tl::RegisteredClass<TechnologyEditorProvider>
{
public:
/**
* @brief The constructor
*/
TechnologyEditorProvider ()
: tl::RegisteredClass<TechnologyEditorProvider> (this)
{
// .. nothing yet ..
}

View File

@ -237,7 +237,6 @@ HEADERS = \
rdbMarkerBrowserDialog.h \
rdbMarkerBrowser.h \
rdbMarkerBrowserPage.h \
layCommonReaderPlugin.h \
layLineStyles.h \
laySelectLineStyleForm.h \
layLineStylePalette.h \

View File

@ -13,9 +13,10 @@ LIBS += -L$$DESTDIR/../db_plugins -lcif
}
HEADERS = \
layCommonReaderPlugin.h \
SOURCES = \
layCommonStreamOptions.cc \
layCommonReaderPlugin.cc \
FORMS = \
CommonReaderOptionsPage.ui \