Skip to content

QML and Qt Quick

Looking for The Bling Thing(tm)? Post here!
20.0k Topics 77.4k Posts
  • Problem with ApplicationWindow on QT Quick 2 Application

    5
    0 Votes
    5 Posts
    2k Views
    G
    Thank you very much. Now it's work.
  • QML Performance on Colibri Board and Windows CE (~600MHz,No GPU)

    10
    0 Votes
    10 Posts
    7k Views
    N
    Not dead, I'm here! :-D From my little experience, different platforms suffers different drawbacks. And all the Qt performance tricks are applicable with QML (Qt::WA_OpaquePaintEvent flag for example). What I found to be performance killer on all platforms are graphical effects and transparencies. It makes sense as there are some computations and commpositions to display each object and low perf platform cannot cope with this. In conclusion, Qt and even more QML as any other high level tools, hides loads of operation done in the background and sometime some small modifications in what you ask (QML animations for example) can lead to huge impacts in performances and depends on the capacities of the platform, this is very difficult to analyse... NM
  • Qt Quick 5.0.1 Chapter 6 Example is not viewable

    3
    0 Votes
    3 Posts
    1k Views
    A
    Thanks a lot for the answer. The example in the package was slightly outdated, it seems. The link that you provided me with works flawlessly :) The only extra thing that I had to do was to install the package qtdeclarative5-qtquick2-plugin
  • QML Camera problem

    6
    0 Votes
    6 Posts
    3k Views
    L
    main.cpp @#include <QtGui/QGuiApplication> #include "qtquick2applicationviewer.h" int main(int argc, char *argv[]) { QGuiApplication app(argc, argv); QtQuick2ApplicationViewer viewer; viewer.setMainQmlFile&#40;QStringLiteral("qml/untitled5/main.qml"&#41;); viewer.showExpanded(); return app.exec(); } @ .pro @# Add more folders to ship with the application, here folder_01.source = qml/untitled5 folder_01.target = qml DEPLOYMENTFOLDERS = folder_01 Additional import path used to resolve QML modules in Creator's code model QML_IMPORT_PATH = If your application uses the Qt Mobility libraries, uncomment the following lines and add the respective components to the MOBILITY variable. CONFIG += mobility MOBILITY += The .cpp file which was generated for your project. Feel free to hack it. SOURCES += main.cpp Installation path target.path = Please do not modify the following two lines. Required for deployment. include(qtquick2applicationviewer/qtquick2applicationviewer.pri) qtcAddDeployment() OTHER_FILES += android/AndroidManifest.xml android/res/layout/splash.xml android/res/values/libs.xml android/res/values/strings.xml android/res/values-de/strings.xml android/res/values-el/strings.xml android/res/values-es/strings.xml android/res/values-et/strings.xml android/res/values-fa/strings.xml android/res/values-fr/strings.xml android/res/values-id/strings.xml android/res/values-it/strings.xml android/res/values-ja/strings.xml android/res/values-ms/strings.xml android/res/values-nb/strings.xml android/res/values-nl/strings.xml android/res/values-pl/strings.xml android/res/values-pt-rBR/strings.xml android/res/values-ro/strings.xml android/res/values-rs/strings.xml android/res/values-ru/strings.xml android/res/values-zh-rCN/strings.xml android/res/values-zh-rTW/strings.xml android/src/org/kde/necessitas/ministro/IMinistro.aidl android/src/org/kde/necessitas/ministro/IMinistroCallback.aidl android/src/org/qtproject/qt5/android/bindings/QtActivity.java android/src/org/qtproject/qt5/android/bindings/QtApplication.java android/version.xml @ In addition to switching from QGuiApplication to QApplication, it's also necessary to add QT += widgets to the .pro file.
  • 0 Votes
    2 Posts
    644 Views
    J
    No answer?—_—!!
  • Non Image item as OpacityMask::maskSource

    1
    0 Votes
    1 Posts
    712 Views
    No one has replied
  • Flickable with dynamic content

    1
    0 Votes
    1 Posts
    714 Views
    No one has replied
  • QQmlPropertyMap model

    1
    0 Votes
    1 Posts
    882 Views
    No one has replied
  • Issue with images on qml WebView app

    1
    0 Votes
    1 Posts
    539 Views
    No one has replied
  • Trouble sorting a ListView/Model

    1
    0 Votes
    1 Posts
    546 Views
    No one has replied
  • Using C++ with QML

    4
    0 Votes
    4 Posts
    2k Views
    B
    thanks all I was able to fix it with your and some IRC help. I am very new to the fourms and would like to say thanks you made me feel welcomed .
  • How to notify a widget for mouse event?

    3
    0 Votes
    3 Posts
    860 Views
    M
    that helps thank you :) but could you post Qwidgets???
  • Qml Grid, Column, and RowLayout does not work with LayoutMirroring

    1
    0 Votes
    1 Posts
    880 Views
    No one has replied
  • Run QML App outside of Qt Creator

    10
    0 Votes
    10 Posts
    8k Views
    Q
    I've also read that you must have a specific dll for the mingw compiler, something like mingw*.dll but I don't know where that is.
  • Qml-presentation-system and mouse interaction with a SlideSwitch

    1
    0 Votes
    1 Posts
    803 Views
    No one has replied
  • [Solved] Qt5: mixing OpenGL and QML

    5
    0 Votes
    5 Posts
    6k Views
    T
    cptG, Your solution is still actual in 2013! Thanks man! A lot !!!!!!!!!!!!!!
  • How to close a qml loaded by LOADER in its page.

    5
    0 Votes
    5 Posts
    5k Views
    M
    [quote author="sierdzio" date="1377248767"]So, the Back button is a child of the page that is loaded inside the Loader? You can send a signal to your main view to notify it that the page needs to be closed. This is a clean and flexible solution, allowing you to react nicely in the main view, and it will be easy to extend later. Passing singals to and from Loaders is described in the documentation. Other possibility would be to clean "source" from inside your child page: you can get to Loader using parent-child hierarchy: @ Loader { source: "kid.qml" } // kid: Item { id: root YourButton { onClicked: root.parent.source = ""; // or root.parent.parent.source = "" } } @ I won't say it's a good solution, though.[/quote] i'll try it ...and really very thank u because u r so enthusiastic! and wanna communicate more :)
  • 0 Votes
    1 Posts
    3k Views
    No one has replied
  • 0 Votes
    9 Posts
    2k Views
    sierdzioS
    I don't understand you. With the code above, you can run this in your buttons: @ onButton1Clicked: myloader.item.currentIndex = 3; // sets the index to 3 onButton2Clicked: myloader.item.currentIndex = 8; // sets the index to 8 @
  • in quick control,which of event the close window

    2
    0 Votes
    2 Posts
    903 Views
    J
    Your grammar is a bit hard to understand but with Qt 5.1 you can reimplement the "Window::onClosing" handler if you want to accept or ignore a window close request from the user. To just close a window, you can set the visible property to false.