Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. QtDesktop Components crash on mouse move on Qt5 + Windows 8
Forum Updated to NodeBB v4.3 + New Features

QtDesktop Components crash on mouse move on Qt5 + Windows 8

Scheduled Pinned Locked Moved General and Desktop
2 Posts 1 Posters 1.6k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • A Offline
    A Offline
    aknew85
    wrote on last edited by
    #1

    Hello everyone and sorry for my poor English.

    I'm trying to use Qt 5 with QtDesktop components in Windows 8 x64 and when I build and run app and move mouse, app is crashing with this message in log:

    @QPainter::begin: A paint device can only be painted by one painter at a time.@

    It happens only if mouse move in any component, if i have qml like this:

    @import QtQuick 2.0
    import QtDesktop 1.0

    Rectangle {
    width: 360
    height: 360
    Button {
    text: "testButton"
    }

    Text {
        text: qsTr("Hello World")
        anchors.centerIn: parent
    }
    MouseArea {
        anchors.fill: parent
        onClicked: {
            Qt.quit();
        }
    }
    

    }@

    everything will be ok before I move cursor into button. Somebody have any ideas what is it and how i can fix this?
    It isn't the error in my code cause building tests/tableviewmodels and examples/ApplicationTemplate gives the same result

    If it important, I use Visual Studio 2010 Express + Qt Creator 2.6.1 + Qt 5.0.0 and components was cloned yesterday from repo but I have the same error with two days ago version

    PS not sure, but I think I build and run QtDesktopComponents on this PC about two weeks ago and there wasn't this error, and it was Windows update after that

    1 Reply Last reply
    0
    • A Offline
      A Offline
      aknew85
      wrote on last edited by
      #2

      It seems that i post to wrong forum. Is there any way to put this thread to Qt Quick forum?

      1 Reply Last reply
      0

      • Login

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Search
      • Get Qt Extensions
      • Unsolved