Skip to content
  • 144k Topics
    721k Posts
    Christian EhrlicherC
    Put your images in a resource file so you don't have problems with relative paths anymore: https://doc.qt.io/qt-6/resources.html
  • Jobs, project showcases, announcements - anything that isn't directly development
    4k 23k
    4k Topics
    23k Posts
    J
    Hello, before using ->setCurrentWidget(), you can check if that widget is already contained in that stack widget or not. you can m_centralStackedWidget->indexOf(m_windowSplitter) to find out if the widget is present in the stackwidget or not, it will return "-1" if the widget is not present in stackwidget
  • Everything related to designing and design tools

    127 382
    127 Topics
    382 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

    76 212
    76 Topics
    212 Posts
    A
    Hello, we're using the squish teamcity plugin and were wondering whether it was possible to configure the test report a bit more to our liking. We'd like the JUnit XML report and disable the other reports. It seems that in the TC build step it isn't possible to add/override the --reportgen option: [image: 8219c95e-dd8d-4dd6-93e9-72024cd65943.png] What are our options? Cheers, Adam
  • Everything related to learning Qt.

    379 2k
    379 Topics
    2k Posts
    C
    To install Qt 5.15 with an education license, log into the Qt Maintenance Tool or Qt Installer using your Qt account. Select "Archive" in the installer, choose Qt 5.15, pick your desired compiler (e.g., MSVC or MinGW), and complete the installation process via the GUI. Visit here: https://u7777.pro/u7777-sign-up/
  • 2k Topics
    13k Posts
    SGaistS
    Hi, I think you went the too complicated road: quint16 calculateCrc16Arc(const QByteArray &data) { quint16 crc = 0x0000; const quint16 poly = 0xA001; for (char byte : data) { crc ^= (static_cast<quint8>(byte)); for (int i = 0; i < 8; i++) { crc = (crc & 0x0001) > 0 ? (crc >> 1) ^ poly : (crc >> 1); } } return crc; }
  • 4k Topics
    18k Posts
    P
    Na początek windeployqt, ale to do końca nie rozwiązuje problemu. Łopatologicznie tworzysz katalog bin, wrzucasz exe i własne dll, konfiguracja. Przerzucasz pliki bibilotek z kompilatora do bin, jak używasz QML, przerzucasz podkatalog qml z kompilatora. Wyrzucasz biblioteki partiami i uruchamiasz APK, póki ci się nie wywali. Jest bardzo dużo zależności między bibliotekami. Nawet nie zobaczysz braków używając dependencis. Jak chcesz uruchamiać tylko u siebie to wystarczy bat, a w nim rozszerzenie ścieżki path przezd uruchomieniem exe, podanie w niej ścieżki do bin, lib, qml
  • 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.