Skip to content

QML and Qt Quick

Looking for The Bling Thing(tm)? Post here!
20.0k Topics 77.4k Posts
  • Does QML provide more native look for applications?

    9
    0 Votes
    9 Posts
    2k Views
    BlackMambaB
    Yes it is funny indeed ! I had never heard of it before :)
  • KeyNavigation in ListView (FocusScope)

    1
    0 Votes
    1 Posts
    726 Views
    No one has replied
  • How to animate HSL filter as a colour animation (or equivalent)?

    1
    0 Votes
    1 Posts
    660 Views
    No one has replied
  • New player to play back video from qml?

    1
    0 Votes
    1 Posts
    436 Views
    No one has replied
  • Screen scaling on Android

    3
    0 Votes
    3 Posts
    2k Views
    M
    Thanks for that suggestion. I tried out multiplying everything by Screen.pixelDensity, which does work to an extent, but it still doesn't feel like the best solution since I have to add " * Screen.pixelDensity" after every single measurement, which is particularly awkward since it means I have to manually update everything after I make any changes in the designer. Also, since Screen.pixelDensity returns the number of pixels per millimeter it's slightly more complicated to use than say, the system CSS uses where certain devices just have a dpi scale muliplier.
  • Qml c++ binding for a FileBrowser

    1
    0 Votes
    1 Posts
    425 Views
    No one has replied
  • Gestures in QML 2.0

    2
    0 Votes
    2 Posts
    1k Views
    A
    There are no built-in gesture recognizers in Quick 2, apart from PinchArea. MultiPointTouchArea is still your best bet, I believe. Recognizing one finger gestures like swipe should be simple enough.
  • Icon sourceName does not work if application run via QGuiApplication

    1
    0 Votes
    1 Posts
    584 Views
    No one has replied
  • ApplicationWindow set the screen size ?

    5
    0 Votes
    5 Posts
    2k Views
    I
    ok. Thanks for attention
  • Child positions reset when adding items to Repeater model

    1
    0 Votes
    1 Posts
    854 Views
    No one has replied
  • Postioning API (Qt 5.2 RC1) has no Android backend?

    5
    0 Votes
    5 Posts
    2k Views
    JKSHJ
    GPS support for Android is scheduled for Qt 5.3: http://qt-project.org/wiki/New-Features-in-Qt-5.3
  • Multithreading and QML

    4
    0 Votes
    4 Posts
    2k Views
    M
    Vidar: How did you solved it? I came across the same problem...
  • 0 Votes
    3 Posts
    1k Views
    B
    Excellent. Thanks. Will read/learn this one.
  • QML form in C++ class

    2
    0 Votes
    2 Posts
    1k Views
    JKSHJ
    Hi, and welcome to the Qt Dev Net! "QQuickView":http://qt-project.org/doc/qt-5/qquickview.html is the C++ class for showing QML-based GUI elements. See https://blog.qt.digia.com/blog/2013/02/19/introducing-qwidgetcreatewindowcontainer/ to embed a QQuickView into QWidgets. Qt 5.3 will have a new QQuickWidget class that makes this much simpler.
  • Import failure(bug?)

    4
    0 Votes
    4 Posts
    1k Views
    O
    My QtQuick initializing code: @MainWindow::MainWindow(QWidget *parent) : QMainWindow(parent), ui(new Ui::MainWindow) { ui->setupUi(this); QQuickView *view = new QQuickView(QUrl("qrc:/qml/main.qml")); QWidget::createWindowContainer(view, this); }@ I would guess that the problem is this line: @QWidget::createWindowContainer(view, this);@ Currently i am using a qtquick2controlsapplicationviewer and it works fine so far. Provisionally solved
  • Screen Management

    1
    0 Votes
    1 Posts
    817 Views
    No one has replied
  • HTML5 backend for Qt/Qml

    7
    0 Votes
    7 Posts
    5k Views
    J
    You might also want to take a look at http://qt-project.org/wiki/Qt_for_Google_Native_Client
  • Videopaly back in qml?

    1
    0 Votes
    1 Posts
    561 Views
    No one has replied
  • Unit test for QML

    1
    0 Votes
    1 Posts
    2k Views
    No one has replied
  • QML/C++ multithreading interconnection crash

    4
    0 Votes
    4 Posts
    3k Views
    M
    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 continues and both threads are running. The run() executive is in different thread than gui, and the problem still persists. Ignoring "binding loop" message doesn't help either, when the gui thread still crashes - I guess only QQmlApplicationEngine has some poblem as outlined by this assert ASSERT: “engine->jsStackTop >= mark”