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. Making a Release build with Necessitas
Forum Updated to NodeBB v4.3 + New Features

Making a Release build with Necessitas

Scheduled Pinned Locked Moved Mobile and Embedded
2 Posts 1 Posters 1.3k 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.
  • M Offline
    M Offline
    matti-
    wrote on last edited by
    #1

    Sort of a repost from the qt-android mailing list.

    Couldn't figure this out myself and found next to nothing by googling this - how does one create a release build with current alpha4 Necessitas QtCreator? A year ago I published an Qt app on Google Play so it must have worked at some point but now..

    I mean I've selected the "Default build Release" configuration in the
    build options, do a clean rebuild and hit Run to deploy, and what I end up
    with is a debug build?

    It does build things into directory
    myapp-build-6510e5-Default_build_Release which includes myapp.so

    but then checking the output of 'file myapp.so' says:

    .so: ELF 32-bit LSB shared object, ARM, version 1 (SYSV), dynamically
    linked (uses shared libs), not stripped

    -> it's a debug build, also in the ant step the 'debug' target is run and
    I end up with myapp-debug-unaligned.apk.

    I'm trying to build on a 64bit Ubuntu 12.04 platform, for armv7 release target.

    What am I missing? Thanks in advance.

    • Matti

    Author of <a href="http://mmark.777-team.org/">MMark13</a>

    1 Reply Last reply
    0
    • M Offline
      M Offline
      matti-
      wrote on last edited by
      #2

      Somewhat strange thing is that the build gets -O2 -DQT_NO_DEBUG flags which I wouldnt expect in a debug build. At the same time the .pro file debug: definitions are used and a .so file with debug symbols is generated..

      Author of <a href="http://mmark.777-team.org/">MMark13</a>

      1 Reply Last reply
      0

      • Login

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