Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. Qt 5.7 on OS X 10.11 (El Capitan) - maccocoaviewcontainer.pro is lacking an install target.
Forum Updated to NodeBB v4.3 + New Features

Qt 5.7 on OS X 10.11 (El Capitan) - maccocoaviewcontainer.pro is lacking an install target.

Scheduled Pinned Locked Moved Unsolved Installation and Deployment
8 Posts 3 Posters 4.7k Views 2 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.
  • Mikael SundellM Offline
    Mikael SundellM Offline
    Mikael Sundell
    wrote on last edited by
    #1

    For some reason qt-everywhere-opensource-src-5.7.0 on OS X 10.11 (El Capitan) fails to build because of:

    Project ERROR: /Users/mikaelsundell/git/test/qt-everywhere-opensource-src-5.7.0/qtbase/examples/widgets/mac/qmaccocoaviewcontainer/qmaccocoaviewcontainer.pro is lacking an install target.

    Anything I need to set in configure to make it build?

    Mikael

    1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi,

      Not a direct answer but I'd recommend to disable example building when you build Qt yourself, it will save time and disk space.

      As for your problem, the .pro file I have for that example looks fine.

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

      Mikael SundellM 1 Reply Last reply
      0
      • SGaistS SGaist

        Hi,

        Not a direct answer but I'd recommend to disable example building when you build Qt yourself, it will save time and disk space.

        As for your problem, the .pro file I have for that example looks fine.

        Mikael SundellM Offline
        Mikael SundellM Offline
        Mikael Sundell
        wrote on last edited by
        #3

        @SGaist :-)

        Ok - will look into the .pro file and correct whatever is wrong thought this was a known problem on El Capitan.

        Mikael SundellM 1 Reply Last reply
        0
        • Mikael SundellM Mikael Sundell

          @SGaist :-)

          Ok - will look into the .pro file and correct whatever is wrong thought this was a known problem on El Capitan.

          Mikael SundellM Offline
          Mikael SundellM Offline
          Mikael Sundell
          wrote on last edited by
          #4

          For everyone's information, this issue relates to:
          https://bugreports.qt.io/browse/QTBUG-54110

          1 Reply Last reply
          0
          • SGaistS Offline
            SGaistS Offline
            SGaist
            Lifetime Qt Champion
            wrote on last edited by
            #5

            Thanks for sharing !

            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
            • HaxusH Offline
              HaxusH Offline
              Haxus
              wrote on last edited by
              #6

              I have the same issue even after disabling examples. Here is my configuration for building Qt 5.7.0.

              ./configure -prefix $PWD/qtbase -commercial -nomake tests -no-compile-examples

              Mikael SundellM 1 Reply Last reply
              0
              • HaxusH Haxus

                I have the same issue even after disabling examples. Here is my configuration for building Qt 5.7.0.

                ./configure -prefix $PWD/qtbase -commercial -nomake tests -no-compile-examples

                Mikael SundellM Offline
                Mikael SundellM Offline
                Mikael Sundell
                wrote on last edited by
                #7

                Thanks @Haxus - if you don't want to skip all examples (can be useful when setting up Qt) you can't just apply the patch in the bugreport and the build will complete as expected on El Capitan.

                1 Reply Last reply
                0
                • HaxusH Offline
                  HaxusH Offline
                  Haxus
                  wrote on last edited by
                  #8

                  Thank you very much. The solution was the ' -nomake examples ' option.

                  I don't know where I got the -no-make-examples option from. :P

                  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