Skip to content
  • 144k Topics
    723k Posts
    D
    my code void QmlCustomPlot::paint( QPainter* painter ) { if (m_plot) { QPixmap picture( boundingRect().size().toSize() ); picture.fill(Qt::transparent); QCPPainter qcpPainter( &picture ); m_plot->toPainter( &qcpPainter); painter->drawPixmap( QPoint(), picture ); } } leak stack kernel32.dll!0x7ff87072e8d7() Qt6Guid.dll!QImageData::create() - 行 147 Qt6Guid.dll!QImage::QImage() - 行 822 Qt6Guid.dll!QImage::QImage() - 行 807 Qt6Guid.dll!QImage::copy() - 行 1226 Qt6Guid.dll!QImage::detach() - 行 1131 Qt6Guid.dll!QPainter::begin() - 行 1714 Qt6Quickd.dll!QSGDefaultPainterNode::paint() - 行 79 Qt6Quickd.dll!QSGDefaultPainterNode::update() - 行 136 Qt6Quickd.dll!QQuickPaintedItem::updatePaintNode() - 行 554 Qt6Quickd.dll!QQuickWindowPrivate::updateDirtyNode() - 行 2271 Qt6Quickd.dll!QQuickWindowPrivate::updateDirtyNodes() - 行 2014 Qt6Quickd.dll!QQuickWindowPrivate::syncSceneGraph() - 行 568 Qt6Quickd.dll!QSGRenderThread::sync() - 行 554 Qt6Quickd.dll!QSGRenderThread::syncAndRender() - 行 719 Qt6Quickd.dll!QSGRenderThread::run() - 行 979 Qt6Cored.dll!QThreadPrivate::start() - 行 273 {C++}(unsigned char*)0X27A0730C070,1115808 = 0x0000027a0730c070 "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0...
  • Jobs, project showcases, announcements - anything that isn't directly development
    4k 23k
    4k Topics
    23k Posts
    N
    now its failing due to: FAILED: v8_context_snapshot_generator "<>/python-3.8.1-rh7/bin/python3" "<>/qtwebengine/src/3rdparty/chromium/build/toolchain/gcc_link_wrapper.py" --output="./v8_context_snapshot_generator" -- <>/gcc-10.3.0-rocky8/bin/g++ -Wl,--build-id=sha1 -fPIC -Wl,-z,noexecstack -Wl,-z,relro -Wl,-z,now -m64 -Wl,-O2 -Wl,--gc-sections -Wl,-z,defs -Wl,--as-needed -rdynamic -pie -Wl,--disable-new-dtags -L<>/rocky8/harfbuzz-11.3.3/lib64 -o "./v8_context_snapshot_generator" -Wl,--start-group @"./v8_context_snapshot_generator.rsp" -Wl,--end-group -latomic -ldl -lpthread -lrt -lsmime3 -lnss3 -lnssutil3 -lplds4 -lplc4 -lnspr4 -lresolv -ljpeg -lpng16 -lz -lxml2 -lxslt -lm -lexpat -lfreetype -lfontconfig -lharfbuzz-subset -lharfbuzz -ldbus-1 -ldrm -lasound -ludev -Wl,--start-group -Wl,--end-group <>/qt/build/qtwebengine/src/core/Release/x86_64/obj/third_party/blink/renderer/modules/app_banner/libapp_banner.a: error adding symbols: Malformed archive collect2: error: ld returned 1 exit status
  • Everything related to designing and design tools

    127 383
    127 Topics
    383 Posts
    R
    I see this is an old thread and I see several unresolved threads on this topic. I'm leaving this incase it helps someone else who ends up here. The solution was twofold for me. Go to File > Export Project and select Enable Python Generator. This will create a main.py. Make sure you pip install PySide6-DS Hope this helps someone.
  • Everything related to the QA Tools

    77 213
    77 Topics
    213 Posts
    J
    Hello i am using WinCC OA to develop a qt application. WinCC OA has some custom elements which cannot be detected by squish for example a polygon. Squish is now not able to detect this element with the picker. I know the name of the element but as it is of WinCC OA internal i do not know the type: waitForObject( {"container": "container", "name": "POLYGON1","type": "???","visible": 1} ); How do i get this information? And what to use if unknown? Is there any other way? I mainly just need to click this element. Thanks a lot
  • Everything related to learning Qt.

    382 2k
    382 Topics
    2k Posts
    V
    Thank you 😊
  • 2k Topics
    13k Posts
    SGaistS
    Oh right, I forgot about that one. Depending on the content you can apply the same to rows. In any case, since your issue is fixed, please mark the thread as solved using the "Topic Tools" button so that other forum members may know a solution has been found :-)
  • 4k Topics
    18k Posts
    J
    项目最近有一个手写输入的需求,因为需要在触摸屏设备上工作,所以不能直接用现成的输入法,研究了一下开源的一些手写输入库,最后找到了一个基于 QWidget 和 Windows Ink 的手写输入项目,但是我需要 QML 的实现,所以自己进行了一定的拓展,包括解决了输入框焦点切换的问题,有需要的可以看一看 地址:Windows_handwriting
  • This is where all the posts related to the Qt web services go. Including severe sillyness.
    1k 10k
    1k Topics
    10k Posts
    SGaistS
    @RokeJulianLockhart to the best of my knowledge, no. The first release of Discourse was in 2014 and the forum is several years older than that.