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 do I add a signal in Qt4 Designer?

In short - you can't. Beginning with Qt4.0 Qt Designer seized to be an all-purpose development environment and became strictly a GUI Designer which can easily be incorporated into real IDEs like Visual Studio, Eclipse or KDevelop.

Furthermore the concept of UI files changed as well. In Qt4 uic no longer generates a class derived from QWidget or one of its subclasses. Instead it creates a small class which needs to be embedded into a real subclass of QWidget or its subclass.

This real subclass is a place where you should add signals or custom slots.

Read documentation related to the issue for more details.

How can I add a custom slot in Qt4 Designer?

In short - you can't. Beginning with Qt4.0 Qt Designer seized to be an all-purpose development environment and became strictly a GUI Designer which can easily be incorporated into real IDEs like Visual Studio, Eclipse or KDevelop.

Furthermore the concept of UI files changed as well. In Qt4 uic no longer generates a class derived from QWidget or one of its subclasses. Instead it creates a small class which needs to be embedded into a real subclass of QWidget or its subclass.

This real subclass is a place where you should add signals or custom slots.

Read documentation related to the issue for more details.

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.