ios - Variable has incomplete type 'QPrinter' -


i trying use qt in ios.

#include <qtgui/qprinter.h>  qprinter print; 

above code gives "variable has incomplete type 'qprinter'" error. though qtgui/qprinter.h has complete definition qprinter. ideas how resolve problem?

the qprinter.h file has preprocessor condition before definition of qprinter:

#ifndef qt_no_printer  // class qprinter { // ... // }  #endif 

maybe on ios qt_no_printer defined, perhaps because not supported? can't find official documentation says much, easy enough test if macro defined in build.


Comments

Popular posts from this blog

java - Play! framework 2.0: How to display multiple image? -

gmail - Is there any documentation for read-only access to the Google Contacts API? -

php - Controller/JToolBar not working in Joomla 2.5 -