且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

在Linux机器上从源代码构建Qt-4.3.2

更新时间:2023-11-13 12:03:52

它会提示您note: use ‘this->init出了什么问题.在使用模板的旧代码无法完全限定使用this->前缀访问类成员的情况下,会发生这种情况.要么尝试(a)在配置之前将CXXFLAGS='-fpermissive'添加到您的环境中,要么(b)获得较新的Qt版本,或者(c)使用较旧的编译器(替代).

It gives you a hint what is wrong note: use ‘this->init. This happens with older code using templates not fully qualifying the access to class members with the this-> prefix. Either try to (a) add CXXFLAGS='-fpermissive' to your environment before configuring, or (b) get a newer Qt Version or (c) an older compiler (kidding).