How to avoid having version numbers in .so file name

前端 未结 2 1999
我在风中等你
我在风中等你 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:40

    After looking at the qmake source I found CONFIG += unversioned_libname for nix and CONFIG += skip_target_version_ext for windows.

提交回复
热议问题