firemail

标题: deepin 15.4.1安装 qt 5.5.1 [打印本页]

作者: Qter    时间: 2018-4-16 14:12
标题: deepin 15.4.1安装 qt 5.5.1
本帖最后由 Qter 于 2018-4-16 14:34 编辑

qt-opensource-linux-x86-5.5.1.run
14-Oct-2015 09:43
634M
Details




qt-opensource-linux-x64-5.5.1.run
14-Oct-2015 09:40
622M
Details




chmod +x ./qt-opensource-linux-x64-5.5.1.run
./qt-opensource-linux-x64-5.5.1.run
  1. qt.network.ssl: QSslSocket: cannot resolve CRYPTO_num_locks
  2. qt.network.ssl: QSslSocket: cannot resolve CRYPTO_set_id_callback
  3. qt.network.ssl: QSslSocket: cannot resolve CRYPTO_set_locking_callback
  4. qt.network.ssl: QSslSocket: cannot resolve ERR_free_strings
  5. qt.network.ssl: QSslSocket: cannot resolve sk_new_null
  6. qt.network.ssl: QSslSocket: cannot resolve sk_push
  7. qt.network.ssl: QSslSocket: cannot resolve sk_free
  8. qt.network.ssl: QSslSocket: cannot resolve sk_num
  9. qt.network.ssl: QSslSocket: cannot resolve sk_pop_free
  10. qt.network.ssl: QSslSocket: cannot resolve sk_value
  11. qt.network.ssl: QSslSocket: cannot resolve SSL_library_init
  12. qt.network.ssl: QSslSocket: cannot resolve SSL_load_error_strings
  13. qt.network.ssl: QSslSocket: cannot resolve SSLv2_client_method
  14. qt.network.ssl: QSslSocket: cannot resolve SSLv3_client_method
  15. qt.network.ssl: QSslSocket: cannot resolve SSLv23_client_method
  16. qt.network.ssl: QSslSocket: cannot resolve SSLv2_server_method
  17. qt.network.ssl: QSslSocket: cannot resolve SSLv3_server_method
  18. qt.network.ssl: QSslSocket: cannot resolve SSLv23_server_method
  19. qt.network.ssl: QSslSocket: cannot resolve X509_STORE_CTX_get_chain
  20. qt.network.ssl: QSslSocket: cannot resolve OPENSSL_add_all_algorithms_noconf
  21. qt.network.ssl: QSslSocket: cannot resolve OPENSSL_add_all_algorithms_conf
  22. qt.network.ssl: QSslSocket: cannot resolve SSLeay
  23. qt.network.ssl: QSslSocket: cannot resolve SSLeay_version
  24. qt.network.ssl: QSslSocket: cannot call unresolved function CRYPTO_num_locks
  25. qt.network.ssl: QSslSocket: cannot call unresolved function CRYPTO_set_id_callback
  26. qt.network.ssl: QSslSocket: cannot call unresolved function CRYPTO_set_locking_callback
  27. qt.network.ssl: QSslSocket: cannot call unresolved function SSL_library_init
  28. Could not register file downloader for https protocol: QSslSocket::supportsSsl() returns false
  29. [0] Warning: Could not create lock file '/home/hechengjin/program/安装包/lockmyApp1234865.lock': 没有那个文件或目录
  30. [430] Warning: QSslSocket: cannot call unresolved function SSLv23_client_method
  31. [431] Warning: QSslSocket: cannot call unresolved function sk_num
  32. 段错误
复制代码
chmod +x qt-opensource-linux-x86-5.5.1.run
./qt-opensource-linux-x86-5.5.1.run
成功


作者: Qter    时间: 2018-4-16 14:57
本帖最后由 Qter 于 2018-4-16 16:20 编辑

32位安装完成后,打开qtcreator,报如下错误





32位建测试程序运行报错
/usr/include/c++/6/cstddef:49: error: bits/c++config.h: No such file or directory
#include <bits/c++config.h>
                            ^


本地查找 c++config.h文件
$ locate c++config.h
/usr/include/x86_64-linux-gnu/c++/6/bits/c++config.h
只返回64位的路径,没有32位的
安装32位依赖的库
sudo  apt-get  install   gcc-4.6-multilib     g++-4.6-multilib

或者

sudo  apt-get  install   gcc-4.7-multilib     g++-4.7-multilib

报找不到:

正在读取软件包列表... 完成
正在分析软件包的依赖关系树      
正在读取状态信息... 完成      
E: 无法定位软件包 gcc-4.7-multilib
E: 无法按照 glob ‘gcc-4.7-multilib’ 找到任何软件包
E: 无法按照正则表达式 gcc-4.7-multilib 找到任何软件包
E: 无法定位软件包 g++-4.7-multilib
E: 无法按照 glob ‘g++-4.7-multilib’ 找到任何软件包
E: 无法按照正则表达式 g++-4.7-multilib 找到任何软件包


不要指定版本号,直接下面安装


sudo apt-get install gcc-multilib g++-multilib

用下面命令来搜索安装包名称

aptitude search multilib

http://www.firemail.wang:8088/forum.php?mod=viewthread&tid=9410


解决Qt5.8.0(5.5.1) cannot find -lGL





欢迎光临 firemail (http://firemail.wang:8088/) Powered by Discuz! X3