WIP: fixes for Windows build.

This commit is contained in:
Matthias Koefferlein 2018-06-18 00:06:38 +02:00
parent e05c407d5e
commit 4f602bb394
4 changed files with 17 additions and 2 deletions

View File

@ -196,7 +196,10 @@ INCLUDEPATH += $$QTBASIC_INC
DEPENDPATH += $$QTBASIC_INC
equals(HAVE_QTBINDINGS, "1") {
LIBS += -lklayout_qtbasic -lklayout_QtGui -lklayout_QtXml
LIBS += -lklayout_qtbasic -lklayout_QtGui -lklayout_QtXml -lklayout_QtCore
equals(HAVE_QT5, "1") {
LIBS += -lklayout_QtWidgets
}
}
INCLUDEPATH += $$RBA_INC

View File

@ -8,3 +8,9 @@ DEPENDPATH += $$DB_INC $$TL_INC $$GSI_INC $$PWD/common
LIBS += -L$$DESTDIR/.. -lklayout_db -lklayout_tl -lklayout_gsi
DEFINES += MAKE_DB_PLUGIN_LIBRARY
win32 {
# to avoid the major version being appended to the dll name - in this case -lxyz won't link it again
# because the library is called xyx0.dll.
CONFIG += skip_target_version_ext
}

View File

@ -8,3 +8,9 @@ DEPENDPATH += $$DB_INC $$TL_INC $$GSI_INC $$LAYBASIC_INC $$LAY_INC $$PWD/common
LIBS += -L$$DESTDIR/.. -lklayout_db -lklayout_tl -lklayout_gsi -lklayout_laybasic -lklayout_lay
DEFINES += MAKE_LAY_PLUGIN_LIBRARY
win32 {
# to avoid the major version being appended to the dll name - in this case -lxyz won't link it again
# because the library is called xyx0.dll.
CONFIG += skip_target_version_ext
}

View File

@ -27,7 +27,7 @@
namespace db
{
DB_PUBLIC std::string net_tracer_component_name ("connectivity");
DB_PLUGIN_PUBLIC std::string net_tracer_component_name ("connectivity");
// -----------------------------------------------------------------------------------------
// NetTracerLayerExpressionInfo implementation