Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-28125

SUBDIRS are not correct in examples.pro of binary package

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Not Evaluated Not Evaluated
    • None
    • 5.0.0 Beta 2
    • Examples and Demos
    • None
    • Windows Vista 64 bit

      5.0.0-beta2\msvc2010\examples\examples.pro lists the following subdirs:

      SUBDIRS       = \
                      gui \
                      network \
                      threads \
                      xml \
                      qpa
      

      None of these directories is present in the installation directory and so no pro-file can be found. When opening examples.pro, Qt Creator gives the following output:

      Could not find .pro file for sub dir 'gui' in 'C:/Qt5.0.0beta2-32/5.0.0-beta2/msvc2010/examples/gui'
      Could not find .pro file for sub dir 'network' in 'C:/Qt5.0.0beta2-32/5.0.0-beta2/msvc2010/examples/network'
      Could not find .pro file for sub dir 'threads' in 'C:/Qt5.0.0beta2-32/5.0.0-beta2/msvc2010/examples/threads'
      Could not find .pro file for sub dir 'xml' in 'C:/Qt5.0.0beta2-32/5.0.0-beta2/msvc2010/examples/xml'
      Could not find .pro file for sub dir 'qpa' in 'C:/Qt5.0.0beta2-32/5.0.0-beta2/msvc2010/examples/qpa'
      ...
      

      Instead, examples.pro should read like:

      SUBDIRS       = \
                      activeqt \
                      qtbase \
                      qtdeclarative \
                      # ...
      

      And these subdirectories should each contain a pro-file.

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            docteam Qt Documentation Team
            rlohning Robert Löhning
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes