Qt Centre Forum FAQ

Here you can find answers to questions about how the board works. Use the links or search box below to find your way around.

How to get rid of "error: invalid use of incomplete type ‘X’" error?

This error means you were trying to use a class or structure that has not been defined. You either misspelled a type name or didn't include the proper header file for the class.

To solve the problem add the following statment near the beginning of the file:

#include <X>
where X is the name of the class or structure the compiler complains about.

Search FAQ

Select this option if you would like your search to look in the text of FAQ items as well as their titles.

Select an option here to specify how you would like your search query to be treated. 'Any words' will return the most numerous but possibly least relevant results, while 'Complete phrase' will return only results that contain exactly what you are searching for.

Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.