How to avoid having version numbers in .so file name

前端 未结 2 2001
我在风中等你
我在风中等你 2021-02-19 02:24

I\'m trying to build a dynamic library on Linux using qmake. Here is my .pro file:

TEMPLATE = lib
TARGET = sqxUiBase
QT += core gui   
CONFIG += dll    
INCLUDEP         


        
2条回答
  •  清歌不尽
    2021-02-19 02:51

    What you are looking for is making a plugin.

    Add CONFIG += plugin to your project file, and qmake will generate a Makefile that builds a libFoo.so file, without the numbered links

提交回复
热议问题