Skip to content
  • 144k Topics
    722k Posts
    JonBJ
    @AliQT OK, I have done a version which compiles, splitting all 3 classes into their own source files. It's a .zip file containing just the sources. I have uploaded to a free site where I understand the link remains available for a week. It is https://limewire.com/d/sFtIk#JbakOrsCmy . I created/uploaded it via https://file.io . So far as I understand this a common site and is all safe & legit, but obviously access at your own risk. There are indeed issues which affect the normally-more-straightforward processes of splitting C++ classes into separate files. These were due to Qt features including Q_PROPERTY and QScopedPointer. I commented these where the problems arose and put in my replacement. I believe the functionality is the same. I agree there are tricky issues here. If what I have done is indeed required then I agree it would not be easy for a beginner. I do not do Qt under Windows so I cannot actually compile, let alone test, the stuff to do with QAxObject (you do realise that is Windows only, right?). I have commented out all the lines which which can only compile under Windows, you can put them back in. You will have to test with COM/ActiveX --- like the VB example they give on the example page --- to verify whether the couple of changes I was forced to make lead to any problems. I may return to this to understand whether I could have made it work without having to make the changes I did.
  • 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.

    381 2k
    381 Topics
    2k Posts
    D
    Hi Everyone, I'm looking at QT to do some development on Mac while in university. I tried to apply for the educational / student license but the form simply seems not to exist, as the section of the page is blank. How would I go about acquiring an educational license at this point? Thank you.
  • 2k Topics
    13k Posts
    S
    @JonB correct
  • 4k Topics
    18k Posts
    msauer751M
    @Pl45m4 Ja Hab ich. Dies ist die komplette Datei. #pragma once // Includes //--------------------------------------------------------------------------------------------------------------------- // own header // other includes // system includes #include <QtCore/qglobal.h> // Macros/Defines //---------------------------------------------------------------------------------------------------------------------- #if defined(LIBDB_LIBRARY) # define LIBDBSHARED_EXPORT Q_DECL_EXPORT #else # define LIBDBSHARED_EXPORT Q_DECL_IMPORT #endif // Forward declarations //----------------------------------------------------------------------------------------------------------------------
  • 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.