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. Qt5.3 Android: Exclude subdir project in Qt Creator
Forum Updated to NodeBB v4.3 + New Features

Qt5.3 Android: Exclude subdir project in Qt Creator

Scheduled Pinned Locked Moved Mobile and Embedded
6 Posts 3 Posters 1.7k 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.
  • H Offline
    H Offline
    helthans
    wrote on 14 Aug 2014, 12:41 last edited by
    #1

    I want to exclude a subdir project for Android. In my .pro file I have added
    @!android:SUBDIRS += my_subdir_project@

    but this does not have any effect. The subdir project still appears for Android.
    How do I exclude my subdir project?

    1 Reply Last reply
    0
    • P Offline
      P Offline
      p3c0
      Moderators
      wrote on 14 Aug 2014, 12:43 last edited by
      #2

      May be
      @
      android:SUBDIRS -= my_subdir_project
      @

      157

      1 Reply Last reply
      0
      • H Offline
        H Offline
        helthans
        wrote on 14 Aug 2014, 12:48 last edited by
        #3

        Should have mentioned that I also tried that. To me it seems that the keyword "android" is ignored.
        If I use
        @android:SUBDIRS -= my_subdir_project@

        the subdir is also excluded when I run Desktop Linux. Just wondering if I am totally wrong in the usage or if there is an error in QtCreator?

        1 Reply Last reply
        0
        • P Offline
          P Offline
          p3c0
          Moderators
          wrote on 14 Aug 2014, 12:52 last edited by
          #4

          @
          android {
          SUBDIRS += my_subdir_project
          }
          @

          157

          1 Reply Last reply
          0
          • H Offline
            H Offline
            helthans
            wrote on 14 Aug 2014, 12:57 last edited by
            #5

            Also does not work :(

            1 Reply Last reply
            0
            • S Offline
              S Offline
              SGaist
              Lifetime Qt Champion
              wrote on 14 Aug 2014, 21:52 last edited by
              #6

              Hi,

              Does it also still builds ? If not, then you're good. However it looks like a misbehavior from Qt Creator, you should check the "bug report system":http://bugreports.qt-project.org to see if it's something known.

              Interested in AI ? www.idiap.ch
              Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

              1 Reply Last reply
              0

              6/6

              14 Aug 2014, 21:52

              • Login

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