Skip to content
  • 144k Topics
    721k Posts
    traevT
    @Axel-Spoerl, forgive me. I noticed the example I've provided wasn't enough to replicate the issue. I have added a new one below which changes the vertical scrollbar. The two "sub-line" parts should demonstrate the issue I'm trying to explain in regard to a vertical scrollbar. The sub-line at the bottom of the code (with a blue background) causes a blue button to appear below the scrollbar. Making it to where the sub-line with a magenta background is at the bottom of the code instead simply overrides the blue one, causing the blue button to not appear. QScrollBar:vertical { border: 2px solid green; background: cyan; width: 15px; margin: 20px 0px 40px 0px; } QScrollBar::add-line:vertical { background: gray; height: 16px; subcontrol-position: bottom; subcontrol-origin: margin; border: 2px solid black; } QScrollBar::sub-line:vertical { background: magenta; height: 16px; subcontrol-position: bottom; subcontrol-origin: margin; border: 2px solid black; position: absolute; bottom: 20px; } QScrollBar::sub-line:vertical { background: blue; height: 16px; subcontrol-position: top; subcontrol-origin: margin; border: 2px solid black; } Although it may not be possible, I'm wondering if both the blue and magenta scrollbar buttons can exist simultaneously.
  • Jobs, project showcases, announcements - anything that isn't directly development
    4k 23k
    4k Topics
    23k Posts
    Christian EhrlicherC
    These dlls are installed in the same directory as the release dlls - <QTDIR>\version<compiler_type>\bin
  • 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
    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
    SGaistS
    Bonjour, L'erreur vient du fait de la re-déclaration que vous faites dans votre fichier. Ces catégories existent déjà vu que déclarée dans qscxmlglobals_p.h. Pour votre code, vous devriez déclarer vos propres catégories afin de les garder indépendantes de celle de Qt et de pouvoir les filtrer à votre convenance.
  • 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.