Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt
  • Unsolved
Collapse
qtws26_logo

The Qt Event of the Year: Qt World Summit 2026

Save Your Spot >
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. [Solved]Adding android-Specific Source Files to .pro
Qt 6.12 LTS is out! See what's new in the release blog

[Solved]Adding android-Specific Source Files to .pro

Scheduled Pinned Locked Moved Mobile and Embedded
4 Posts 2 Posters 2.0k 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.
  • ? Offline
    ? Offline
    A Former User
    wrote on last edited by
    #1

    What are the keywords for android?In win and unix we have

    @win32 {
    SOURCES += hellowin.cpp
    }
    unix {
    SOURCES += hellounix.cpp
    }@

    T

    1 Reply Last reply
    0
    • ? Offline
      ? Offline
      A Former User
      wrote on last edited by
      #2

      So far Im also using unix for it. I havent heard of some android-specific stuff yet

      1 Reply Last reply
      0
      • ? Offline
        ? Offline
        A Former User
        wrote on last edited by
        #3

        Hope someday we could have something like

        @
        android-arm7{
        ...
        }
        android-mips{
        ...
        }
        @

        and so on

        1 Reply Last reply
        0
        • ? Offline
          ? Offline
          A Former User
          wrote on last edited by
          #4

          Maybe there is already something like that, but the android documentation on qt is, lets say incomplete :D

          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
          • Unsolved