Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt Creator and other tools
  4. PRO File Does Not Load Project into Qt Creator
Forum Updated to NodeBB v4.3 + New Features

PRO File Does Not Load Project into Qt Creator

Scheduled Pinned Locked Moved Unsolved Qt Creator and other tools
12 Posts 4 Posters 870 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.
  • SGaistS Offline
    SGaistS Offline
    SGaist
    Lifetime Qt Champion
    wrote on last edited by
    #2

    Hi,

    What does that top level pro file contain ?

    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
    • D Offline
      D Offline
      dclark064
      wrote on last edited by dclark064
      #3

      It's a long file. Here is a link: link text
      Here is about 1/3 of the file. So far as I can tell all the folders are in the directory at the same level as the PRO file.

      #CONFIG(release, debug|release):DEFINES += QT_NO_DEBUG_OUTPUT
      CONFIG += sdk_no_version_check
      TEMPLATE = app
      TARGET = Winnow
      INCLUDEPATH += .
      INCLUDEPATH += Dialogs
      INCLUDEPATH += Utilities
      INCLUDEPATH += MacOS

      Release:DESTDIR = release
      Release:OBJECTS_DIR = release/.obj
      Release:MOC_DIR = release/.moc
      Release:RCC_DIR = release/.rcc
      Release:UI_DIR = release/.ui

      Debug:DESTDIR = debug
      Debug:OBJECTS_DIR = debug/.obj
      Debug:MOC_DIR = debug/.moc
      Debug:RCC_DIR = debug/.rcc
      Debug:UI_DIR = debug/.ui

      QT += widgets
      QT += concurrent
      QT += xmlpatterns
      #QT += opengl

      HEADERS += Cache/mdcache.h
      HEADERS += Cache/tshash.h
      HEADERS += Cache/imagecache.h
      HEADERS += Cache/imagedecoder.h
      HEADERS += Dialogs/ingesterrors.h
      HEADERS += Dialogs/managegraphicsdlg.h
      HEADERS += Dialogs/manageimagesdlg.h
      HEADERS += Datamodel/buildfilters.h
      HEADERS += Datamodel/datamodel.h
      HEADERS += Datamodel/filters.h
      HEADERS += Dialogs/aboutdlg.h
      HEADERS += Dialogs/appdlg.h
      HEADERS += Dialogs/copystyledlg.h
      HEADERS += Dialogs/ingestdlg.h
      HEADERS += Dialogs/loadusbdlg.h
      HEADERS += Dialogs/managetilesdlg.h
      HEADERS += Dialogs/patterndlg.h
      HEADERS += Dialogs/preferencesdlg.h
      HEADERS += Dialogs/renamedlg.h
      HEADERS += Dialogs/saveasdlg.h
      HEADERS += Dialogs/testaligndlg.h
      HEADERS += Dialogs/workspacedlg.h
      HEADERS += Dialogs/tokendlg.h
      HEADERS += Dialogs/updateapp.h
      HEADERS += Dialogs/zoomdlg.h
      HEADERS += Effects/effects.h
      HEADERS += Effects/graphicseffect.h
      HEADERS += Embellish/embel.h
      HEADERS += Effects/graphicsitemeventfilter.h
      HEADERS += Effects/interpolate.h
      HEADERS += Effects/REF_imageblitz_effects.h
      HEADERS += Embellish/embelexport.h
      HEADERS += Embellish/Properties/embelproperties.h
      HEADERS += File/bookmarks.h
      HEADERS += File/fstree.h
      HEADERS += Image/cacheimage.h
      HEADERS += Image/imagealign.h
      HEADERS += Image/pixmap.h
      HEADERS += Image/thumb.h
      #HEADERS += Image/tiffhandler.h
      HEADERS += ImageFormats/Canon/canon.h
      HEADERS += ImageFormats/Canon/canoncr3.h
      HEADERS += ImageFormats/Dng/dng.h
      HEADERS += ImageFormats/Fuji/fuji.h
      #rgh remove heic
      win32:HEADERS += ImageFormats/Heic/heic.h
      win32:HEADERS += ImageFormats/Heic/heif.h
      win32:HEADERS += ImageFormats/Heic/de265.h
      HEADERS += ImageFormats/Jpeg/jpeg.h
      HEADERS += ImageFormats/Nikon/nikon.h
      HEADERS += ImageFormats/Olympus/olympus.h
      HEADERS += ImageFormats/Panasonic/panasonic.h
      HEADERS += ImageFormats/Sony/sony.h
      HEADERS += ImageFormats/Tiff/tiff.h

      #HEADERS += Lcms2/lcms2.h
      #HEADERS += Lcms2/lcms2_plugin.h

      HEADERS += Main/dockwidget.h
      HEADERS += Main/global.h
      HEADERS += Main/mainwindow.h
      HEADERS += Main/qtlocalpeer.h
      HEADERS += Main/qtlockedfile.h
      HEADERS += Main/qtsingleapplication.h
      HEADERS += Main/widgetcss.h
      HEADERS += Metadata/exif.h
      HEADERS += Metadata/exiftool.h
      HEADERS += Metadata/irb.h
      HEADERS += Metadata/gps.h
      HEADERS += Metadata/ifd.h
      HEADERS += Metadata/iptc.h
      HEADERS += Metadata/imagemetadata.h
      HEADERS += Metadata/metadata.h
      HEADERS += Metadata/metareport.h
      HEADERS += Metadata/xmp.h
      #HEADERS += Metadata/ExifTool.h
      #HEADERS += Metadata/ExifToolPipe.h
      #HEADERS += Metadata/TagInfo.h
      HEADERS += PropertyEditor/preferences.h
      etc, etc, etc,

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

        I might have misunderstood your original issue.

        Do you means that the files listed in the your .pro file are not shown ?

        By the way, which Qt Creator version is that ?

        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
        • D Offline
          D Offline
          dclark064
          wrote on last edited by
          #5

          Sorry to reply so late. For some reason I am not being notified even though I have selected "Watching".

          Qt Creator 14.0.1

          Yes, when I double click the PRO file, it opens a project but none of the files listed open.
          I want to build the project and experiment with changes in some of the files.

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

            Can you post a screenshot of what you have ?
            I just tested it with a fairly complex project and the Projects view is showing things correctly.

            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
            • D Offline
              D Offline
              dclark064
              wrote on last edited by
              #7

              I am not sure what I did, but now when I open the project it does show all the files.
              The problem now is that it generates a zillion errors when I try to Run.
              Here is a screen shot that shows it cannot find QtWidgets. That may mean the install of Qt did not work. I just successfully ran the Qt Maintenance Tool, which indicates the installation was OK. Here is a screen shot of part of Qt Creator.

              image.png

              1 Reply Last reply
              0
              • aha_1980A Offline
                aha_1980A Offline
                aha_1980
                Lifetime Qt Champion
                wrote on last edited by
                #8

                @dclark064

                From the screenshot I see that qmake cannot find xmlpatterns. Make sure you have installed that module.

                By the way, is there a readme stating how to build this project? Did you follow it?

                Qt has to stay free or it will die.

                D 1 Reply Last reply
                0
                • aha_1980A aha_1980

                  @dclark064

                  From the screenshot I see that qmake cannot find xmlpatterns. Make sure you have installed that module.

                  By the way, is there a readme stating how to build this project? Did you follow it?

                  D Offline
                  D Offline
                  dclark064
                  wrote on last edited by dclark064
                  #9

                  @aha_1980

                  There is no file on how to build the project.

                  I think the more fundamental problem is that the build cannot find lots of Qt components, for example QtWidgets. That seems to imply that there is a problem with the installation of Qt or there is a need to provide information about where Qt components are located. But I don't know. All I know is that when I look through the files there are lots of errors that say components can't be found. What I would like to find is some Qt documentation on how to take a Git repository and build the project.

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

                    Which version of Qt are you using ?
                    How did you install it ?
                    If Qt 6, then QtXmlPattern is not available anymore so you need to install Qt 5.
                    Which OS are you using ?

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

                    D 1 Reply Last reply
                    3
                    • SGaistS SGaist

                      Which version of Qt are you using ?
                      How did you install it ?
                      If Qt 6, then QtXmlPattern is not available anymore so you need to install Qt 5.
                      Which OS are you using ?

                      D Offline
                      D Offline
                      dclark064
                      wrote on last edited by
                      #11

                      @SGaist
                      Qt 6.7.2
                      Qt Creator 14.0.1
                      Build using the Qt installation https://doc.qt.io/qtcreator/creator-how-to-install.html
                      Updated installation using the Qt Maintenance Tool.
                      Win 10 x64

                      Christian EhrlicherC 1 Reply Last reply
                      0
                      • D dclark064

                        @SGaist
                        Qt 6.7.2
                        Qt Creator 14.0.1
                        Build using the Qt installation https://doc.qt.io/qtcreator/creator-how-to-install.html
                        Updated installation using the Qt Maintenance Tool.
                        Win 10 x64

                        Christian EhrlicherC Offline
                        Christian EhrlicherC Offline
                        Christian Ehrlicher
                        Lifetime Qt Champion
                        wrote on last edited by
                        #12

                        @dclark064 said in PRO File Does Not Load Project into Qt Creator:

                        Qt 6.7.2

                        Then you won't have luck with the app you're trying to compile as it needs Qt5 due to xmlpatterns

                        Qt Online Installer direct download: https://download.qt.io/official_releases/online_installers/
                        Visit the Qt Academy at https://academy.qt.io/catalog

                        1 Reply Last reply
                        4

                        • Login

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