linux从当前目录加载so

TEMPLATE = app
CONFIG += console c++11
CONFIG -= app_bundle
CONFIG -= qt

#先从 ./ 处查找共享库
QMAKE_LFLAGS += -Wl,-rpath=./

#结果输出目录
DESTDIR = ../bin

include(gisserver_c.pri)
include(../shared/shared.pri)

posted @ 2018-07-11 20:36  Droplet  阅读(597)  评论(0编辑  收藏  举报