#include #include "PaintWidget.h" int main( int argc, char *argv[] ) { QApplication app( argc, argv ); PaintWidget widget; widget.resize( 300, 150 ); widget.setWindowTitle( "Text-Test" ); widget.show(); return app.exec(); }