
QSwitch
Source (link to git-repo or to original if based on someone elses unmodified work): Add the source-code for this project on opencode.net
10 years ago
Added antialiasing
Alpix
5 years ago
Report
Badam
5 years ago
Even if this very very usefull plugin haven't been updated since a while, I'll post here the method to make it compatible with Qt5 (I made it with Qt 5.4.2). It takes me quite long time to make it running, so if it can be useful for someone...
In qswitchplugin.pro, change CONFIG line by :
QT += widgets designer
CONFIG += plugin release
In qswitchplugin.h, between Q_OBJECT and Q_INTERFACES, add :
Q_PLUGIN_METADATA(IID "org.qt.QDesignerCustomWidgetInterface")
In qswitchplugin.cpp, before #include <QtPlugin>, add :
#include <QtDesigner>
AND comment the last line :
Q_EXPORT_PLUGIN2(customwidgetplugin, QSwitchPlugin)
In qswitch.h, remove ';' add the end of each Q_PROPERTY line.
Report
pospiech
11 years ago
CONFIG += build_all
to build not only the debug version.
Also there is no readme file or examples which explains how to use the code.
Report
MarkoSan
13 years ago
Report
qphoton
13 years ago
I mean to add sounds to widgets.
I'll try to do something for this issue.
bye
paolo
Report
ziuchkov
13 years ago
Report
qphoton
13 years ago
Report