SliTaz SliTaz Forum

You are not logged in.

#1 2016-03-08 02:15:26

K3nn3th
Member
Registered: 2014-09-13
Posts: 194

QDeclarativeView not usable

hey there,

im trying to use a QDeclarativeView in Qt creator.

starting with an empty gui app, and adding the QDeclarativeView and running give me this error:

../ui_mainwindow.h:42: error: undefined reference to `QDeclarativeView::QDeclarativeView(QWidget*)'

I don't know if this error is slitaz specific or not.

Could anyone else using Qt see if they can use QDeclarativeView properly?

Offline

#2 2016-03-11 12:08:29

llev
Member
Registered: 2011-12-09
Posts: 568

Re: QDeclarativeView not usable

I don't use this, but I have openSuse at work, I can test if you give me detailed steps.

After starting a new project and accepting default choices, I end up with this. Tell me what do do afterwards, or how to get a good starting point if it's not.

[attachment=42140,2262]

Offline

#3 2016-04-23 23:59:34

K3nn3th
Member
Registered: 2014-09-13
Posts: 194

Re: QDeclarativeView not usable

sorry for my late reply.

the steps would be:

1. go to the design editor of your ui file

2. search for qdeclarativeview in the panel on the left (if missing, install libQtDeclarative and restart editor)

3. add to ui

4. save

5. build

6. run

for me, these steps resulted in the error stated above.

Offline

Registered users online in this topic: 0, guests: 1
[Bot] ClaudeBot

Board footer

Powered by FluxBB
Modified by Visman

[ Generated in 0.020 seconds, 7 queries executed - Memory usage: 1.53 MiB (Peak: 1.77 MiB) ]