Skip to content
  • 144k Topics
    721k Posts
    SMF-QtS
    I am trying to set up a Qt environment for Android. I started by building a test application manually see thread [https://forum.qt.io/topic/162514/building-qt-6.9.1-for-android-with-ssl-support.]. I have now moved my test project to QtCreator and have made progress in as much as the application (both release and debug) compile and signed APK files have been produced. However when I try to test the package in QtCreator I get the following error report: 09:40:30: No Android architecture (ABI) is set by the project. 09:40:30: Error while building/deploying project QtTest (kit: arm-linux-android-elf-64bit) 09:40:30: When executing step "Deploy to Android device" I did find an earlier post with a similar Issue [https://forum.qt.io/post/737665] but it was not resolved I think. I am looking to run the application in a emulator before I risk putting it on a physical phone or tablet. So my initial thinking is that my .pro file is missing some settings to set the Android ABI, I have added "ANDROID_ABIS = arm64-v8a" but this has made no difference. Any suggestions would be welcome.
  • Jobs, project showcases, announcements - anything that isn't directly development
    4k 23k
    4k Topics
    23k Posts
    JonBJ
    @Mizmas ...which is why I said it would probably depend on your platform/window manager which you didn't say... [TBH I had not noticed initially that this was Showcase, I thought you were asking if you could do this from Qt.] Your showcase is fine, just you might like to mention this if it's e.g. Windows-only as Qt is cross-platform.
  • 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
    aha_1980A
    Hi @Max, to change the log level for existing rules, see https://doc.qt.io/qt-6/qloggingcategory.html#configuring-categories It is possible to do that from your code (with setFilterRules()) or completely outside with environment variables or qtlogging.ini Regards
  • 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.