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

How to change the name and the emplacement of the SQLite database ?

Thanks. I need to do that with QML and not C++.

View Article


"TypeError: Object [object Object] has no method" w/ qmlRegisterType

I’m pretty certain this is the correct thread to post this in. First let me say, I’m very new to QT and QML, I’ve been working on an app in C and GTK, but for various reasons decided to switch to QML,...

View Article


I need to connect a ComponentA Signal to a method of another ComponentB

You can also use the dynamic signal connection syntax. Component.onCompleted: {     someObjectId.someSignal.connect(otherObjectId.methodName) } A connections element is less...

View Article

No QtQuick1.1/QtMultiMedia in Qt5.1?

Hi everybody. I tried to test an SoundEffects with QtQuick1.1 under Qt5.1. Unfortunately it seems not be installed. But QtMultiMedia 5.0 is installed and it works when I use QtQuick2.0 Testexample:...

View Article

Problem with Canvas loading pictures

Hello! I have written the following code: import QtQuick 2.0   Rectangle {     width: 360     height: 360       Canvas {...

View Article


"TypeError: Object [object Object] has no method" w/ qmlRegisterType

Your amazing!!! Thank you, now I can move on with my project :D See I’m not even that familiar with C++, I don’t even know what a singleton is :P Luckily the amount of C++ going into this will be...

View Article

Can't Get Mousearea in Delegate of Listview To Work

I’ve been trying to get a mousearea to work in a listview delegate, but have had no success. I’ve put together a simple QML example built entirely in the designer, except for the addition of the...

View Article

Can't Get Mousearea in Delegate of Listview To Work

OK, I’ll just go over in this corner and hide. How could I have been so stupid??!! Thanks! ;-)

View Article


Different OS's, different font sizes?

Maybe this is naive of me, but is it expected for fonts to render much smaller on OSX than on Windows? I have a QML application that runs on both Windows (7) and OSX (10.8). I’m using the same font on...

View Article


QDeclarativeView and the QML debugger

I’ve found something a bit strange. On OSX, under some circumstances, when I destroy a QDeclarativeView and then try to create a new one, my process hangs inside of QDeclarativeView’s constructor....

View Article

QQuickShaderEffect class in C++ (ShaderEffect)

Hi! I want to manage ShaderEffect item from C++. But I can’t include QQuickShaderEffect. Which one I should to use for this?

View Article

Different OS's, different font sizes?

I’ve found a couple of stack overflow questions with others struggling with this issue with Qt. http://stackoverflow.com/questions/2005385/qt-app-text-size-incorrect-under-macosx [stackoverflow.com]...

View Article

Preprocessor macros

Hi everyone. Can someone explain to me the purpose of the Q_QUICK_AUTO_EXPORT and the Q_QUICK_PRIVATE_EXPORT macros. Thank you in advance.

View Article


QDeclarativeView and the QML debugger

I would not be surprised if the declarative view is blocking for the debugger to connect… with the debugger sitting there, considering his day’s work done after the first view was closed:).

View Article

QQuickView with qmlRegisterType, signal not working in QML

I’m working on an app, where the entire gui is QML, I’m using C++ QT just to connect the QML to the rest of my app. It’s coming along, but I keep running into little road blocks, the latest of which is...

View Article


QQuickView with qmlRegisterType, signal not working in QML

Yes. You have to call exec before any user interaction can take place. Have a look at QGUIApplication::exec [qt-project.org]. Just a note… it is Qt and not QT.

View Article

Preprocessor macros

Oh. They are macros for inner Qt usage (Qt Autotest environment). Learn more: http://qt-project.org/wiki/Qt_Autotest_Environment

View Article


qml animatedimage : error reading animated gif image

The programe in PC that is not issue,it display gif image correctly. Bbut download in the arm band ,it prompt qml animatedimage : error reading animated gif image I already add the plugins(...

View Article

mouse event not work

Hi! I try to interact with mouse in my custom QQuickItem qmlRegisterType<Book>(uri, 1, 0, “Book”); To do this I implement void Book::mousePressEvent(QMouseEvent *event) But it never...

View Article

How to run te application with QtQuick.Controls?

When I import QtQuick.Controls 1.0 there is an error while debugging: Error: No widget style available. Qt Quick Controlscurrently depend on the widget module to function. Use QApplication when...

View Article
Browsing all 4972 articles
Browse latest View live