Quantcast
Channel: Qt DevNet forums: Qt Quick 1283365070**
Browsing all 4972 articles
Browse latest View live

XML parser functionality in Qt project using libxml2

Hello, you can add dll and lib files in .pro file of your project (just go through qmake tutorial where it is described in details). And for atcual parsing you can create some “wrapper” class which...

View Article


Window() or Rectangle() for a new window

Hello, I am trying to design an interface, but the Window function as stated in the qt blogs is getting accepted entirely in the program, It state that Window keyword not found. But instead does not...

View Article


Window() or Rectangle() for a new window

Show us your code. From that short description I think you are misunderstanding the way QML works, but I need more data to help you.

View Article

How can i resolve LNK:2019 error for external library

Im using external header and cpp files. headers’ directory is ../../../include/foo1/foo2 sources’ directory is ../../../src/foo1/foo2 so i added to pro file INCLUDEPATH += ../../../include/foo1/foo2...

View Article

AnchorAnimation as a Behavior

According to the documentation it should be possible to use AnchorAnimation as a behavior. From https://qt-project.org/doc/qt-4.8/qml-anchoranimation.html Like any other animation element, an...

View Article


How can i resolve LNK:2019 error for external library

Hi, You need to link your application to the library

View Article

Trigger Changed events on array methods

Hello everyone, I have an array in qml code defined as a property in a Component property var myarray: [ ] Component.onCompleted: myarray = populateMyArray(); Then I define: onMyarrayChanged:...

View Article

Trigger Changed events on array methods

This is expected (although unfortunate) behaviour. The change signal will only be emitted if the value of the property itself changes, and in your case, the value of the property remains unchanged (ie,...

View Article


[SOLVED] - External dll for parsing XML file - reference in Qt Application is...

Thanks for the given inputs. The issue is resolved after couple of days struggle. external library files folder was having .lib files only and it required .dlls too. Also, the reference of external...

View Article


[SOLVED] - XML parser functionality in Qt project using libxml2

Indeed, if dlls are missing from the path, they can’t be loaded when calling a function they implement thus the error.

View Article

QML Drag 'delay'

Hello I’ve just noticed a strange effect. I have a rectangle that I would like to move. The problem is that when I click on it and move mouse, first 5-7 pixels (apparently the size of my cursor) just...

View Article

Qt Quick and Database

Dear all, I’d like to create a simple app. It’s just a form that reads data from a database and, somehow, it simply displays in some fancy way (that’s why I choose Qt Quick) The data within the...

View Article

Assign C++ object to Text element (implicit conversion to QString)

Hello, I’m trying to implicitly convert an object to QString in order to assign it to a Text element in qml. I think an example makes things clear: class Bar : public QObject {    ...

View Article


QML Flickable doesn't scroll properly

I am a beginner in QML, so I apologize if this seems like an obvious question. I am trying to make a simple browser and I have put the WebView inside the Flickable. But the problem is when I drag the...

View Article

How can i resolve LNK:2019 error for external library

Yes LIBS += -lyour_library_name -Lpath_to_your_library

View Article


Trigger Changed events on array methods

Sure, manually emitting the signal is a good way to ensure that appropriate signal handlers and bindings get evaluated after a change (indeed, this is what you have to do in C++ if you’re handling...

View Article

Drag qml element outside the application window

Hello guys I would like to ask for advice. I’m developing a multi tab application and the user should be able to drag tab (from QML point of view, tab is a mix of Rectangles/Images/etc elements)...

View Article


Assign C++ object to Text element (implicit conversion to QString)

Hi JKSH, thank’s for your response. I think overloading the assignment operator does not work unless I implement this operator in QString class directly (Bar should be assigned to QString not QString...

View Article

Qt Quick and Database

I’ll take a look at it. Thank you.

View Article

QML Flickable doesn't scroll properly

There is a contradiction in your webcontainer item. You say that the content height of your flickable is equal to the web_view height. And you say that the web_view height is equal to the webcontainer...

View Article
Browsing all 4972 articles
Browse latest View live