• 1988阅读
  • 3回复

[讨论]自己编译Qt5,如何更改DLL的名称 [复制链接]

上一主题 下一主题
离线friendbaby
 

只看楼主 倒序阅读 楼主  发表于: 2019-10-06

请教一下,自己编译Qt5,想把Qt5Core.dll生成为Qt551Core.dll,如何修改呢?
Smiling is best language , can express everything , also can conceal everything.
离线liulin188

只看该作者 1楼 发表于: 2019-10-06
有想法
https://wiki.qt.io/Qt_5.12_Release
https://wiki.qt.io/New_Features_in_Qt_5.12
https://wiki.qt.io/Qt_5.12.0_Known_Issues
https://www.qt.io/blog/qt-5.13.2-released
https://www.qt.io/blog/qt-creator-4.10.2-released
https://wiki.qt.io/Qt_5.12_Tools_and_Versions
离线dbzhang800

只看该作者 2楼 发表于: 2019-10-06
应该是要修改一下源码中的 mkspec文件,比如 qt_fucntions.prf 文件中的

defineReplace(qt5LibraryTarget) {
   LIBRARY_NAME = $$qtLibraryTarget($$1)
   isEmpty(QMAKE_FRAMEWORK_BUNDLE_NAME) {
       # Insert the major version of Qt in the library name
       # unless it's a framework build.
       LIBRARY_NAME ~= s,^Qt,Qt$$QT_MAJOR_VERSION,
   }
   return($$LIBRARY_NAME)
}
4条评分好评度+1贡献值+1金钱+1威望+1
20091001753 好评度 +1 - 2019-10-07
20091001753 贡献值 +1 - 2019-10-07
20091001753 威望 +1 - 2019-10-07
20091001753 金钱 +1 - 2019-10-07
离线astrolee

只看该作者 3楼 发表于: 2019-10-08
改名字有没有违反LGPL协议?
快速回复
限100 字节
 
上一个 下一个