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. ASSERT failed in windows 8 QWindowsMsaaAccessible::childPointer

ASSERT failed in windows 8 QWindowsMsaaAccessible::childPointer

Scheduled Pinned Locked Moved General and Desktop
1 Posts 1 Posters 1.5k 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.
  • S Offline
    S Offline
    sundy
    wrote on last edited by
    #1

    I Built QT for Windows 8 from source and when i create a simple QGraphicsView with a single button the application fails to run with an assertion failure with the following stack trace
    @
    Qt5Cored.dll!qt_message_fatal(QtMsgType __formal, const QMessageLogContext & context, const QString & message) Line 861 C++
    Qt5Cored.dll!QMessageLogger::fatal(const char * msg, ...) Line 356 + 0xf bytes C++
    Qt5Cored.dll!qt_assert_x(const char * where, const char * what, const char * file, int line) Line 1981 + 0x32 bytes C++
    qtaccessiblewidgetsd.dll!QList<QWidget *>::at(int i) Line 454 + 0x45 bytes C++
    qtaccessiblewidgetsd.dll!QAccessibleAbstractScrollArea::child(int index) Line 385 + 0x17 bytes C++
    qwindowsd.dll!QWindowsMsaaAccessible::childPointer(tagVARIANT varID) Line 153 + 0x1a bytes C++
    qwindowsd.dll!QWindowsMsaaAccessible::accLocation(long * pxLeft, long * pyTop, long * pcxWidth, long * pcyHeight, tagVARIANT varID) Line 581 C++
    @

    However on windows 7 everything seems to be working fine.

    This is the code i tried
    @
    #include <QtWidgets/QApplication>
    #include <QGraphicsScene>
    #include <QGraphicsView>
    #include <QGLWidget>
    #include <QPushButton>

    int main(int argc, char argv[])
    {
    QApplication a(argc, argv);
    QGraphicsScene scene;
    QGraphicsView view;
    QPushButton
    button = new QPushButton("Click Me!");
    scene.addWidget(button);
    view.resize(1024,768);
    view.setScene(&scene);
    view.setSceneRect(0,0,1024,768);
    view.show();
    return a.exec();
    }
    @

    Any ideas on what is causing this issue?

    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