Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. qtcreator 15 changing android application name breaks build
Forum Updated to NodeBB v4.3 + New Features

qtcreator 15 changing android application name breaks build

Scheduled Pinned Locked Moved Solved Mobile and Embedded
3 Posts 2 Posters 106 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S Offline
    S Offline
    scottm1982
    wrote last edited by
    #1

    I have an android phone app, qt 6.8.3, that builds and deploys fine. I then changed the application name from "appMapQtLite" to "tm100lite" in the android manifest and the CMakeLists.txt file.
    Now, when I build, I get the error (shown below).
    I have tried clearing the CMake config, I have tried restarting QTCreator. I have tried deleting my entire build directory and letting QTCreator recreate it using the CMake config. Nothing works.

    [44/45 1.5/sec] Linking CXX shared module libtm100lite_arm64-v8a.so
    [45/45 1.5/sec] Copying tm100lite binary to apk folder
    11:30:29: The process "C:\Program Files\CMake\bin\cmake.exe" exited normally.
    11:30:29: Product type is not an application, not building an APK.
    11:30:29: Elapsed time: 00:29.

    1 Reply Last reply
    0
    • S Offline
      S Offline
      scottm1982
      wrote last edited by
      #3

      hey man thanks for the tip, that led me in the right direction. The fix was to close the project, delete my build directory AND my CMakeLists.txt.user file, then reopen the project and choose the build kits again. All good now I will mark this as resolved.

      1 Reply Last reply
      0
      • Z Offline
        Z Offline
        zvoopz
        wrote last edited by
        #2

        Have you changed module name in import statements in QML as well?
        Try to deploy to other platform to see error logs

        1 Reply Last reply
        0
        • S Offline
          S Offline
          scottm1982
          wrote last edited by
          #3

          hey man thanks for the tip, that led me in the right direction. The fix was to close the project, delete my build directory AND my CMakeLists.txt.user file, then reopen the project and choose the build kits again. All good now I will mark this as resolved.

          1 Reply Last reply
          0
          • S scottm1982 has marked this topic as solved
          • S scottm1982 has marked this topic as solved

          • Login

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • Users
          • Groups
          • Search
          • Get Qt Extensions
          • Unsolved