【CentOS 6.5】 Qt Creator 啟動失敗

來源:互聯網
上載者:User

在CentOS 6.5中 點擊 [應用程式]->[編程]->Qt Creator , 沒有反應,Creator沒有啟動,轉而進入Shell

cd /opt/Qt5./Tools/QtCreator/bin/./

顯示錯誤:

  核心載入失敗: /opt/Qt5.2.0/Tools/QtCreator/lib/qtcreator/plugins/QtProject/libCore.so: 無法載入庫/opt/Qt5.2.0/Tools/QtCreator/lib/qtcreator/plugins/QtProject/libCore.so:(/usr/lib/libstdc++.so.6: version `GLIBCXX_3.4.15' not found (required by /opt/Qt5.2.0/Tools/QtCreator/lib/qtcreator/plugins/QtProject/../.././libQt5CLucene.so.5))

解決:已經安裝gcc的最新版本,只把libstdc++.so.6重新串連下就可以了

用/usr/local/lib64 下的libstdc++.so.6替換/usr/lib64下的libstdc++.so.6

或者自己建立軟連結

ln -s /usr/local/lib64/libstdc++.so.6.0.18 /usr/lib64/libstdc++.so.6

 

再啟動,顯示錯誤資訊:configure error explicitly requested expat but expat not found

解決辦法 安裝expat

yum install expat expat-devel

等待安裝完畢後就可以了...

再啟動qtcreator

介面出現...但是shell中還是有錯誤訊息:

QString::arg: Argument missing: 無法解析dbus_connection_can_send_type中的符號:dbus-,(/lib64/libdbus-.so.:undefined symbol:dbus_connection_can_send_type)

這個問題沒有解決,有高人知道怎麼回事可以告知下麼?

個人估計原因可能有二,一個是dbus需要更新,二一個是dbus中需要配置個參數...本人linux菜鳥沒弄明白,胡亂猜測的,誰解決了告知下,不盡感激

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.