diff --git a/demos/grid-widgets/grid-widgets.pro b/demos/grid-widgets/grid-widgets.pro index 439c66f..81e981c 100644 --- a/demos/grid-widgets/grid-widgets.pro +++ b/demos/grid-widgets/grid-widgets.pro @@ -16,10 +16,10 @@ FORMS += MainWindow.ui INCLUDEPATH += $$ROOT_DIR/src/ LIBS += -L$$DESTDIR -lqt-items -#win32 { -#} else:unix { -# QMAKE_LFLAGS += -Wl,-rpath,$$BIN_DIR -#} +win32 { +} else:unix { + QMAKE_LFLAGS += -Wl,-rpath,\'\$$ORIGIN\' +} RESOURCES += \ grid-widgets.qrc diff --git a/demos/item-widgets/item-widgets.pro b/demos/item-widgets/item-widgets.pro index e601744..cb53280 100644 --- a/demos/item-widgets/item-widgets.pro +++ b/demos/item-widgets/item-widgets.pro @@ -16,10 +16,10 @@ FORMS += MainWindow.ui INCLUDEPATH += $$ROOT_DIR/src/ LIBS += -L$$DESTDIR -lqt-items -#win32 { -#} else:unix { -# QMAKE_LFLAGS += -Wl,-rpath,$$BIN_DIR -#} +win32 { +} else:unix { + QMAKE_LFLAGS += -Wl,-rpath,\'\$$ORIGIN\' +} RESOURCES += \ item-widgets.qrc diff --git a/demos/list-widgets/list-widgets.pro b/demos/list-widgets/list-widgets.pro index c4bf929..0b6be19 100644 --- a/demos/list-widgets/list-widgets.pro +++ b/demos/list-widgets/list-widgets.pro @@ -20,10 +20,6 @@ win32 { } else:unix { QMAKE_LFLAGS += -Wl,-rpath,\'\$$ORIGIN\' } -#win32 { -#} else:unix { -# QMAKE_LFLAGS += -Wl,-rpath,$$BIN_DIR -#} DISTFILES += diff --git a/demos/scene-widgets/scene-widgets.pro b/demos/scene-widgets/scene-widgets.pro index eca16ff..4b1c24e 100644 --- a/demos/scene-widgets/scene-widgets.pro +++ b/demos/scene-widgets/scene-widgets.pro @@ -16,7 +16,7 @@ FORMS += MainWindow.ui INCLUDEPATH += $$ROOT_DIR/src/ LIBS += -L$$DESTDIR -lqt-items -#win32 { -#} else:unix { -# QMAKE_LFLAGS += -Wl,-rpath,$$BIN_DIR -#} +win32 { +} else:unix { + QMAKE_LFLAGS += -Wl,-rpath,\'\$$ORIGIN\' +} diff --git a/src/qt-items-lib.pro b/src/qt-items-lib.pro index 067ffc3..2cd2be0 100644 --- a/src/qt-items-lib.pro +++ b/src/qt-items-lib.pro @@ -4,7 +4,7 @@ QT += core gui widgets TARGET = qt-items TEMPLATE = lib -VERSION = 0.0.1 +VERSION = 0.1.0 DEFINES += QT_ITEMS_LIBRARY