Coder Social home page Coder Social logo

fsu0413 / qtcompile Goto Github PK

View Code? Open in Web Editor NEW
91.0 7.0 11.0 28.59 MB

Personal build of Qt5 onwards, with SSL builtin. Multiple configuration available.

Home Page: https://build-qt.fsu0413.me/

HTML 88.71% CSS 6.75% JavaScript 4.53%
qt personal-build qt4 qt5 build qt6

qtcompile's Introduction

Fsu0413's GitHub stats Top Langs

Touhou Satsu Rhythm Master Essentials
openssl-externalCMake Fsu0413-QtBuilds

qtcompile's People

Contributors

fsu0413 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

qtcompile's Issues

反应一个比较严重的问题。。

我的引擎和游戏在几周前用了5.15.10的安卓版本,一开始还好,上周突然出现了一个严重的Bug,而且只是闪退,我加入的报错、日志什么的完全没有记录,Qt调试安卓只有一句:
W google-breakpad: ### ### ### ### ### ### ### ### ### ### ### ### ###
W google-breakpad: Chrome build fingerprint:
W google-breakpad: 70.0.3538.110
W google-breakpad: 353811050
W google-breakpad: ### ### ### ### ### ### ### ### ### ### ### ### ###
F libc : Fatal signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x100 in tid 22781 (qtMainLoopThrea), pid 22748 (amus.MakerFrame)

一开始我以为我代码有问题,但找了一周怎么也找不到,我只好拿出最原始的方案:一段一段的删代码,看看到底哪句有问题,直到我快把引擎代码删完了,才感觉应该是环境的问题,于是我原封不动的用5.15.2编译了下,正常运行,我靠。。。于是我又换回5.15.10,并用NDK(21.4)编译,问题依旧。。真是无语啊。。。

最新 5.15.6 Windows 无法找到输入点到动态库上

我下载了最新的编译安装包 Qt5.15.6-Windows-x86-MinGW8.1.0-20220915.7z
配好环境后,编译程序出现以下错误
1
2

使用 Qt5.15.5-Windows-x86-MinGW8.1.0-20220915.7z 则没有这个问题,请大大麻烦看下。

5.6.3 for windows的一个链接错了


Qt5.6.3-Windows-x86-MinGW4.9.4-staticFull-20200104-ManualPatchSslLib.7z 下面的github链接应该是

https://github.com/Fsu0413/QtCompile/releases/download/release-20200707/Qt5.6.3-Windows-x86-MinGW4.9.4-staticFull-20200104-ManualPatchSslLib.7z
  • 现在是
https://github.com/Fsu0413/QtCompile/releases/download/release-20200707/Qt5.6.3-Windows-x86-VS2010-staticFull-20200104-ManualPatchSslLib.7z

反馈一下Qt for android。。

之前不是用qt5.15.8编译了下我的项目发现两个问题,现在新下载了5.15.10继续编译试了下,解决了个问题,又发现了个新问题:
1、之前说的那个Purchasing库仍然有问题,只要加入就闪退,我也不想折腾啦,反正也用不到。。
2、访问外部文件确实是权限问题,我加了就正常了~
3、新问题,使用QML的时候会报错:
【Warning】qrc:/android_rcc_bundle/qml/QtQuick/Controls/Styles/Android/LabelStyle.qml:94: TypeError: Cannot read property 'ENABLED_SELECTED_STATE_SET' of undefined

【Warning】qrc:/android_rcc_bundle/qml/QtQuick/Controls/Styles/Android/LabelStyle.qml:89: TypeError: Cannot read property 'ENABLED_STATE_SET' of undefined

【Warning】qrc:/android_rcc_bundle/qml/QtQuick/Controls/Styles/Android/LabelStyle.qml:94: TypeError: Cannot read property 'ENABLED_SELECTED_STATE_SET' of undefined

【Warning】qrc:/android_rcc_bundle/qml/QtQuick/Controls/Styles/Android/LabelStyle.qml:89: TypeError: Cannot read property 'ENABLED_STATE_SET' of undefined

好像是安卓的某个组件有问题。。。

编译的库有点大啊。。

我对比了一下Qt5.15.2的安卓库和你编译的5.15.10的v7a和v8a的so库,你的能大个80多M,比如v8a的libc++_shared.so,原版的991k,你的6772k。。请问一下这个库带debug了嘛?还是没有开启优化什么的。。。

Windows-MinGW vs Windows-MinGW-LLVM

What does "Windows-MinGW" use as the backend if not LLVM?

Currently, using Qt 6.6 with the default settings MinGW 64-bit (not sure if its using Qmake or Cmake), however, it won't link to my 32-bit library. I'd like to try using Qt 5.15 but not sure which Qt 5.15 flavor I need to install.. or would be closest to what I'm using with Qt 6.6.

May I ask the author how Qt 5.15 is compiled?

May I ask the author how Qt 5.15 is compiled? Can you introduce the compilation method and steps?

Can the author give your QQ or WeChat contact information? I would like to ask you for advice.

WrapOpenSSL could not be found

I use the kit(Qt6.5.3-Windows-x86_64-VS2022-17.9.0-staticFull-20240216) to open a project and then error occurred:

but it set Qt6Core_FOUND to FALSE so package "Qt6Core" is considered to be
NOT FOUND.  Reason given by package:

Qt6Core could not be found because dependency WrapOpenSSL could not be
found.

Configuring with --debug-find-pkg=WrapOpenSSL might reveal details why the
package was not found.

Configuring with -DQT_DEBUG_FIND_PACKAGE=ON will print the values of some
of the path variables that find_package uses to try and find the package.

5.15.8 for android库的两个问题。。

首先很感谢你的分享,这个真的方便了很多人,也包括我,很感谢~
昨天我用你的5.15.8 for android库,编译了我的一个项目,我发现有2个问题:
1、libqt5purchasing.xxx.so 这个库,v7a和v8a,只要携带就会报错(报错原因具体我忘了,翻译过来就是库不适合);
2、编译并安装后,app无法创建文件夹和写文件(读好像可以),哪怕给了读写外部存储空间权限也不行。
上面两个问题我用官方的qt5.15.2的安卓编译均正常,不知哪里有问题,所以想请教一下~

编译器版本

非常感谢您分享的Qt构建,另外想问可以用GCC14.1编译么,毕竟14.1已经出了,而且相较13.2对C++23进行了更为完善的支持

Personal Wishlist of Qt built

Probably successfully built using original Qt (Mostly MSVC version with Clang compiler)

Qt 5.15 on Windows - Clang versions

  • win32-clang-msvc (with MSVC2019, x86) - q5_15wx3c9
  • win32-clang-msvc (with MSVC2019, x86_64) - q5_15wx6c9
  • win32-clang-msvc (with MSVC2022, x86_64) - q5_15wx6c2

Qt 6.2 on Windows - Clang versions (for MSVC only)

  • win32-clang-msvc (with MSVC2019, x86_64) - q6_2wx6c9
  • win32-clang-msvc (with MSVC2022, x86_64) - q6_2wx6c2

Qt 6 Latest on Windows - Clang versions (for MSVC only)

  • win32-clang-msvc (with MSVC2022, x86_64) - q6_5wx6c2

Qt 4.8 (Hard for now since build environment of OpenSSL 1.0.2 series has been defunct)

  • win32-msvc2015 (x86) - q4wx3v5

The following mkspec needs patch of Qt (not planned)

Qt 4.8 with QtWebKit and backported SChannel SSL backend

  • win32-msvc2019 (x86) - mq4_8wx3v9
  • win32-g++ (with MinGW-w64 GCC 8.1.0, x86) - mq4_8wx3g8

Qt 4.8 with QtWebkit and backported SecureTransport SSL backend

  • macx-llvm (with AppleClang 13.0, Unified) - mq4_8mal

Qt 5.15 with QtWebkit 5.212

  • win32-msvc (with MSVC2019, x86) - mq5_15wx3v9
  • win32-msvc (with MSVC2022, x86_64) - mq5_15wx6v2

Qt 5.15 on aarch64 Android using termux

  • android-clang (on termux, aarch64 hosted, aarch64 target) - mq5_15la6ct_aa6nl

Qt 6.2 on aarch64 Android using termux

  • linux-clang-libc++ (on termux, aarch64, static) - mq6_2la6ctst
  • android-clang (on termux, aarch64 hosted, aarch64 target) - mq6_2la6ct_aa6n3

OpenSSL 1.1.1c & OpenSSL 1.0.2s

  • 4.8.7 for windows
  • 5.6.3 for windows
  • 5.6.3 for android
  • 5.9.8 for windows
  • 5.9.8 for android
  • 5.12.4 for windows
  • 5.12.4 for android

不好意思,我又来提bug了~~

说来话长,我只在用Qt5.15.2的安卓开发环境,最近想给引擎加个二维码扫描功能,找了三方开源库,发现QZXing挺不错,就加了进去,没想到有个问题:
win下完全正常,安卓下armeabi-v7a正常,arm64-v8a的应用,只要一解析就报错闪退:
Fatal signal 11 (SIGSEGV), code 2 (SEGV_ACCERR), fault addr 0x6e6b63db00 in tid 24061 (Thread (pooled)), pid 23955
造成闪退的原因是,一个函数throw出exception,而调用这个函数的函数明明用try包含了但好像没get到(当然不是低级错误,比如类型错误等等),我花了大量的时间去修改和调试,无果,真的是太诡异了,主要是只有arm64-v8a会有这个问题,无论我换安卓、改用NDK其他版本编译、找了大量的fork后又修改了QZXing的源码都没解决。。。
于是想起来要不试试咱这个最新的开发环境(前面那么多废话是原因铺垫),下载、解压、配置环境、编译插件一套步骤下来后,发现上面的问题解决了,但其他问题却更大了。。。
1、QtCreator的编译安卓时,ABIs本来是armeabi-v7a arm64-v8a可以勾选,但全变成arm-linux-android-elf-32bit arm-linux-android-elf-64bit了,虽然可以用自定义步骤来重写一下,但运行真机时居然提示我的机子没有armeabi-v7a arm64-v8a架构,所以不能运行,QtCreator这种Bug我也见多了,现在我还发现两三个bug没解决,但奇怪的是之前是正常的,下载配置了咱这个安卓开发环境后突然就变成这样了。。。
2、purchasing问题依旧(只要加入就闪退)。。。
3、运行我的项目后,发现整个应用程序的大小超出了屏幕(高度超出了大概一个字的距离);
4、继续加载另一个界面(以前都是正常的),会黑屏,看日志报错:
W Qt A11Y : AccessibilityNodeInfo with empty contentDescription: -2147483641
W Qt A11Y : AccessibilityNodeInfo with empty contentDescription: -2147483640
W Qt A11Y : AccessibilityNodeInfo with empty contentDescription: -2147483639
W Qt A11Y : AccessibilityNodeInfo with empty contentDescription: -2147483611
(这几个错误会一直弹)
,再加载其他界面,会有报错:
qrc:/QML/menu.qml:664:5: Type Dialog1.FileDialog unavailable,
qrc:/android_rcc_bundle/qml/QtQuick/Dialogs/DefaultFileDialog.qml: No such file or directory
不知道是不是咱这个版本把 QtQuick.Dialogs 去掉了还是怎么(应该不是,因为PC版的Qt5.15.12是正常的,所以目前完全用不了了。。。
哦对了,NDK21和NDK23两个版本我都试了,错误一致。

缺个库,...

1>LINK : fatal error LNK1104: 无法打开文件“D:\Qt5.15.12\lib\Qt5Multimediad.lib”
能编译一下吗.x86的版本

静态链接需要libgcc_s_seh-1,libstdc++-6和 libwinpthread-1动态库

我私以为静态链接,可以直接打包成一个exe,无需依赖其他动态库,但实际运行时发现需要libgcc_s_seh-1,libstdc++-6和 libwinpthread-1三个动态库。虽然可以通过指定静态链接形式,但libwinpthread似乎没有单独静态编译选项。
疑问:

  1. 静态链接是无法将这三个动态库也一起静态链接到Qt库里吗?
  2. libwinpthread可以单独静态编译吗?像-static-libstdc++选项一样,如果直接使用-static也可行,但好像就无法链接其他动态库?(未作验证)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.