You are not logged in.
Pages: 1
I use kdevelop for many years. From last update 15/05 i got several problem with project template.
using qt I create new project with template kde --> kgraphical
Source is a bit different from the past in this position
--->>>#include <QtDeclarative/QDeclarativeView>
--->>>#include <QtDeclarative/QDeclarativeProperty>
--->>>#include <QtDeclarative/QDeclarativeItem>
KGraphicalTestView::KGraphicalTestView(QWidget *)
{
view = new QDeclarativeView(this);
--->>> view->setSource(QUrl::fromLocalFile(KStandardDirs::locate("data", "kgraphicaltest/src/qml/main.qml")));
--->>> kcfg_sillyLabel = view->rootObject();
@@@@--->>> kcfg_sillyLabel->setProperty("width", width());
--->>> QDeclarativeProperty(kcfg_sillyLabel, "width").write(width());
kcfg_sillyLabel->setProperty("height", height());
QDeclarativeProperty(kcfg_sillyLabel, "height").write(height());
QObject::connect(kcfg_sillyLabel, SIGNAL(clicked()),
qApp, SLOT(quit()));
view->show();
settingsChanged();
}
build project
when running project crash on point @@@@
I think there is a mix of qt4 and qt5, but how to solve it ?
thanks
Offline
Pages: 1