Qt編譯過程中出現的問題

2021-06-25 17:16:35 字數 395 閱讀 6826

1.解壓原始碼zip包的時候,要使用引數-a,否則編譯會有問題。

2.編譯過程中出現錯誤:qt /usr/include/x11/extensions/xiproto.h:1825: 錯誤:expected unqualified-id before 『delete』

解決方法:開啟檔案qt /usr/include/x11/extensions/xiproto.h的1825行:

將bool        delete;

替換成#if defined(__cplusplus) || defined(c_plusplus)

bool        c_delete;

#else

bool        delete;

#endif

繼續編譯即可。

安裝eclipse過程過程中出現的問題

安裝eclipse的過程中 adt我一直出現錯誤 根據上面的提示 看你所需要的 總之第乙個選項android sdk tools 一定要更新 只能按照上面的去步驟去做了 一開始我都不知道這個選中的作用 至於adt 要根據你的eclipse版本找到你的eclipse對應的adt版本 這個是自動更新的路...

Grails 配置過程中出現的問題

為了玩 grails 又需要重新設定 ant home 了。grails1.0.3 中出現 error starting grails 是因為grails 中預設的 ant為 grails home ant 版本為 1.7.0,簡單的解決辦法是將 ant home 設為 grails home an...

編譯Android原始碼過程中出現的錯誤

錯誤1 can t locate switch.pm in inc you may need to install the switch module inc contains etc perl usr local lib perl 5.18.2 usr local share perl 5.18....