Skip to content
  • 144k Topics
    721k Posts
    Axel SpoerlA
    Qt populates palettes from different sources, depending on which platform your users are on. KDE has its own platform theme. Gnome desktops with GTK installed read it from the GTK theme. Maybe implement categorized logging in your app and log the scrollbar's palette. The return value of QGuiApplication::platformName() could also be helpful information. Then your users can send you the results for analysis. A QScrollBar in QFusionStyle uses the following colors: Groove: QPalette::Window Handle (draggable part): QPalette::Mid Arrows: QPalette::ButtonText / QPalette::Button (background) Background: QPalette::Base
  • 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 381
    127 Topics
    381 Posts
    jsulmJ
    @Leonard-Lalican Can you rephrase your question? It is not clear what you mean.
  • 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
    T
    I can't edit my previous message now but I finally managed to run the program. It seems that the file path was too long, and by renaming my project to "Challenge1" (it was previously called "QML-for-Beginners-Challenges-Intro-to-QML"), it worked.
  • 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.