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

QML/C++ multithreading interconnection crash

Hi, thanks for your suggestions. I agree that while(!WorkerThread->isRunning()); may be bad construct, but it doesn’t solve the problem. Although GUI thread may freeze for awhile, it still...

View Article


Unit test for QML

I have written a couple of unit tests to test my QMLs already – passing values to QML, call functions and reading properties.         int argc(5);  ...

View Article


Videopaly back in qml?

Hi all, I am now woking on a qml based browser project. I am completely new to qml. I would like to know how the Qt is playing video using qml. In the html counter part (video tag) the video tag is...

View Article

Screen Management

Hello everyone, I would like to know what can I do to have a screen management for my desktop application in QML. In Qt “classic”, I used the QStackedWidget to store different screen and a singleton...

View Article

Import failure(bug?)

My QtQuick initializing code: MainWindow::MainWindow(QWidget *parent) :     QMainWindow(parent),     ui(new Ui::MainWindow) {    ...

View Article


Is it possible to compile/run a QML/C++ program from QtCreator (without using...

Still working on the gettingStartedQml example. I found the way to compile the C++ filedialog from the command line and run the program using qmlscene, again from the terminal. Is it possible to do all...

View Article

QML form in C++ class

I want build a new project using Qt Quick and the new native widgets available. I want to use C++ for the application logic. This is where I get a bit confusion. Every example just puts everything in...

View Article

Is it possible to compile/run a QML/C++ program from QtCreator (without using...

Hi, In Qt Creator, select: File -> new File or Project… -> Applications -> Qt Quick Application -> Qt Quick 2.0 This will generate the C++ code for you to run your QML app...

View Article


QML form in C++ class

Hi, and welcome to the Qt Dev Net! QQuickView [qt-project.org] is the C++ class for showing QML-based GUI elements. See...

View Article


ApplicationWindow set the screen size ?

I trying set the screen size using ApplicationWindow for learning events.When I was running on desktop work well.But when I was running on android ,I encountered trouble problem. When I kept the phone...

View Article

Is it possible to compile/run a QML/C++ program from QtCreator (without using...

Excellent. Thanks. Will read/learn this one.

View Article

ApplicationWindow set the screen size ?

I would go and say that your width and height are based on the screen and not on the holding position, that measnt on tilt your width is actually the real height. On fixing this problem you could go...

View Article

QQuickItem from C++ to Item in QML

Hi everyone, I was trying to pass on a QQuickItem ( created from a .qml file ) to my root view but i cannot find a way to do it. I tried using a signal as well as a calling a js function inside that...

View Article


QQuickItem from C++ to Item in QML

That is what I’m trying to do. I now have this in my root qml Component {     id: viewToShow     MyView     {      ...

View Article

Child positions reset when adding items to Repeater model

I’m creating a Graph editor operating on a model in c++ I’m using a Repeater with a QQmlListProperty as its model: Item {     id:contents     Repeater {  ...

View Article


ApplicationWindow set the screen size ?

ok. Thanks for attention

View Article

Icon sourceName does not work if application run via QGuiApplication

Suppose I wrote this piece of qml code: ApplicationWindow {     visible: true     ToolButton {         action: Action {...

View Article


Gestures in QML 2.0

Hi there, What is the best way to capture simple gestures (like swipe left, right, up, down) in QML 2.0? I found the MultiPointTouchArea element but it seems there is no built in support for simple...

View Article

Does QML provide more native look for applications?

Hello, I have the feeling that QML gives better look than traditional Qt, I would just like to know if this is an illusion or if the same can be achieved by using stylesheet properly? Cheers,

View Article

Qml c++ binding for a FileBrowser

hello, how can I create a QList or QTable so I could “print” (english not my native language) the folders and files in a qml window? I tried with QFileSystemModel, but I think that i can use that...

View Article
Browsing all 4972 articles
Browse latest View live