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. Refreshing the build directory
Forum Updated to NodeBB v4.3 + New Features

Refreshing the build directory

Scheduled Pinned Locked Moved Unsolved Installation and Deployment
13 Posts 2 Posters 1.5k 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.
  • SGaistS Offline
    SGaistS Offline
    SGaist
    Lifetime Qt Champion
    wrote on last edited by
    #4

    Not your Qt version, your project.

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

      Precisely, I use Qt for compilation of texstudio project. All the C++ and others files are into a folder of MacOS. The problem is that I have on my iMac no build folder corresponding to this compilation

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

        How are you triggering the compilation ?
        Where is your app generated ?

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

          I log my console application on my iMac. I set
          cd /texstudio
          and I type the following lines
          /usr/local/Cellar/qt/5.14.1/bin/qmake NO_POPPLER_PREVIEW=true texstudio.pro
          make clean
          make -j 4

          In the good case the texstudio.app is generated into the folder /texstudio. Then I move this application in the Application folder of MacOS

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

            Then please start using out of source builds.
            Call "make distclean" and then check for files like .qmake.cache. Remove them all.

            If you are using git then you can do "git clean -ddfx"

            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
            2
            • P Offline
              P Offline
              pisabos
              wrote on last edited by
              #9

              I send you the log of "make distclean"

              make distclean
              make: *** No rule to make target `texstudio'. Stop.
              The platform SDK has been changed from version 10.14.6 to version 10.15.4.
              This requires a fresh build. Please wipe the build directory completely,
              including any .qmake.stash and .qmake.cache files generated by qmake.
              /usr/local/Cellar/qt/5.14.1/mkspecs/features/mac/sdk.mk:22: *** ^. Stop.

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

                Are you sources version controlled ?
                If not, did you manually remove the files suggested both in the error and me ?

                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
                1
                • P Offline
                  P Offline
                  pisabos
                  wrote on last edited by
                  #11

                  The problem occurs because nowhere I can find the .qmake.stash and .qmake.stash files. The Unix command "find" triggered at the consol application does not find these files

                  P 1 Reply Last reply
                  0
                  • P pisabos

                    The problem occurs because nowhere I can find the .qmake.stash and .qmake.stash files. The Unix command "find" triggered at the consol application does not find these files

                    P Offline
                    P Offline
                    pisabos
                    wrote on last edited by
                    #12

                    @pisabos Hi SGaist, my problem is solved simply in updating the software texstudio. I thank you for your help

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

                      Nice it is fixed however I still recommend moving to out of source builds.

                      In any case, please mark the thread as solved so that other forum users may know a solution has been found.

                      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

                      • Login

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