PDA

View Full Version : unknown type name ‘QBool’ error



Markus
21st August 2014, 01:11
Hi All,

I have installed Qt 5.3.1 on OS X 10.9.4 and trying to port over a project that was created under 4.8.
I am getting the unknown type name ‘QBool’ error and don’t know how to fix this.

Any suggestions?

Markus

MarkoSan
21st August 2014, 06:10
use bool instead of QBool, QBool does not exists.

wysota
21st August 2014, 10:04
Hi All,

I have installed Qt 5.3.1 on OS X 10.9.4 and trying to port over a project that was created under 4.8.
I am getting the unknown type name ‘QBool’ error and don’t know how to fix this.

Any suggestions?

Markus

QBool in Qt4 was a special type used to prevent an unwanted implicit cast when porting old Qt3 code to Qt4. You should never use it in your own code.