diff --git a/general.pri b/general.pri index 89889a6..9b062bc 100644 --- a/general.pri +++ b/general.pri @@ -8,9 +8,6 @@ RCC_DIR = ./res # compiler flags QMAKE_CXXFLAGS += -std=c++11 QMAKE_LFLAGS += -std=c++11 -unix { - QMAKE_LFLAGS += "-Wl,--rpath=./" -} # prefix targetprefix = $$(TARGET_PREFIX) message("Using target prefix \"$${targetprefix}\".") diff --git a/videodownloader.pro b/videodownloader.pro index 2881613..65d8fc2 100644 --- a/videodownloader.pro +++ b/videodownloader.pro @@ -119,19 +119,17 @@ OTHER_FILES += \ LICENSE CONFIG(debug, debug|release) { - LIBS += -L../../ -lc++utilitiesd + LIBS += -lc++utilitiesd !no-gui { LIBS += -lqtutilitiesd } } else { - LIBS += -L../../ -lc++utilities + LIBS += -lc++utilities !no-gui { LIBS += -lqtutilities } } -INCLUDEPATH += ../ - # installs target.path = $$(INSTALL_ROOT)/bin INSTALLS += target