Qt 6.11 is out! See what's new in the release
blog
Can't compile with plugin I created
-
Hello,
I followed the instructions to build the WorldTimeClock Plugin (https://doc.qt.io/qt-6/qtdesigner-worldtimeclockplugin-example.html) to have that Element available in my Toolbox afterwards. So far this works and in my main project I can see and drag&drop it onto the GUI. But when compiling I get an error that "worldtimeclock.h" does not exist:
I made a simple sample to demonstrate the problem here, you can download the zip file: https://daten.xyz/f/fbe25dcd55014ad18324/
What is it that I am missing?
-
Your project is missing worldtimeclock.cpp and worldtimeclock.h
-
Just because you create a plugin for the Qt Designer / QtCreator doesn't mean you need the sources (or the library) with the plugins widget.