Skip to content
  • 144k Topics
    722k Posts
    JonBJ
    @AliQT I'm afraid the Akismet post checker thing seems to ban a lot of legitimate stuff, especially with large code blocks. Really someone ought try to do something about this, you are not the first person to fall foul. I think I can see you have tried to enclose your code inside a pair of ``` lines, which is just the right thing to do but it still rejects it anyway. It's hard to see from the two screenshots just what you have and what is wrong. A whole bunch of consequential errors in the first shot, probably depends on what the cause of the first error is. For the second shot, on the one hand I cannot spot what is wrong with the QTimer::singleShot() call but on the other hand it does not seem to have underlines an obvious error: in the first two methods visible on the left you have m_ui->... while in the third method you have m_ui.reset(). That cannot be right: either m_ui is a pointer (probably the case?) and is followed by -> or it is not a pointer and is followed by ., but not both. Perhaps the same for m_docs. And if all a module sees is, say, class DocumentList, so a declaration that it is a class but no declaration of any of its methods, you will be able to write DocumentList *documentList and documentList = ..., because that does not need to know anything about its implementation, but you won't be able to call anything like, say, documentList->reset(), as it does not know anything about the members of DocumentList. I will have a go now at copying that sample and dividing it into Application/DocumentList/Document module files for you. Will let you know when done and we will find some way of getting it to you.
  • Jobs, project showcases, announcements - anything that isn't directly development
    4k 23k
    4k Topics
    23k Posts
    DeSGuND
    @JonB read post more once and did through qml thanks an answer
  • 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.

    380 2k
    380 Topics
    2k Posts
    V
    Re: Introducing the QML for Beginners Learning Path & Challenges! Code [image: 0bdec0b3-391b-4146-9139-915587ee26a1.jpg] [image: 5bc25cde-14cc-49b3-bfea-bef4606e6a33.jpg]
  • 2k Topics
    13k Posts
    S
    @JonB correct
  • 4k Topics
    18k Posts
    SGaistS
    @Christian-Ehrlicher moved !
  • 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.