日期:2014-05-16  浏览次数:20618 次

linux qt编程
我在dialog的构造函数里有这么一句: setAttribute(Qt::WA_TranslucentBackground, true);
为什么编译的时候说:WA_TranslucentBackground is not a member of type qt。
求高手解答,谢谢



------解决方案--------------------
探讨

你的QT编译版本太旧了,所以报错

------解决方案--------------------
你需要定义一个宏,来支持qt3.0的一些功能