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. Disabling TMP files in Qt Creator 16.0.0
Forum Updated to NodeBB v4.3 + New Features

Disabling TMP files in Qt Creator 16.0.0

Scheduled Pinned Locked Moved Solved Qt Creator and other tools
10 Posts 6 Posters 310 Views
  • 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.
  • J Offline
    J Offline
    Jennise Hall
    wrote last edited by
    #1

    Hi,

    My work environment is a bit atypical. I'm working on Windows 10 and using python and rez. We are not locked in on which IDE we use. I have issues with PyCharm (the most common in my department), I would prefer to use Qt Creator. I installed 16.0.0 today and tried us build, using rez-build. The .TMP files broke the build. (I also find them messy.) What I am wondering is: Is a flag or setting that would allow me to disable the tmp files. If there is a section of the documentation that discusses that that would be helpful as well. My searches of the Qt Documention kept returning unrelated class documentation.

    Thank you.

    jsulmJ JonBJ 2 Replies Last reply
    0
    • J Offline
      J Offline
      Jennise Hall
      wrote last edited by
      #10

      Thank you @cristian-adam That is exactly what I needed.

      (I searched the documentation website for that environment variable and found nothing. Where should I be looking for information on useful environment variables for Qt tools?)

      1 Reply Last reply
      1
      • J Jennise Hall

        Hi,

        My work environment is a bit atypical. I'm working on Windows 10 and using python and rez. We are not locked in on which IDE we use. I have issues with PyCharm (the most common in my department), I would prefer to use Qt Creator. I installed 16.0.0 today and tried us build, using rez-build. The .TMP files broke the build. (I also find them messy.) What I am wondering is: Is a flag or setting that would allow me to disable the tmp files. If there is a section of the documentation that discusses that that would be helpful as well. My searches of the Qt Documention kept returning unrelated class documentation.

        Thank you.

        jsulmJ Offline
        jsulmJ Offline
        jsulm
        Lifetime Qt Champion
        wrote last edited by
        #2

        @Jennise-Hall What tmp files do you mean?

        https://forum.qt.io/topic/113070/qt-code-of-conduct

        J 1 Reply Last reply
        0
        • J Jennise Hall

          Hi,

          My work environment is a bit atypical. I'm working on Windows 10 and using python and rez. We are not locked in on which IDE we use. I have issues with PyCharm (the most common in my department), I would prefer to use Qt Creator. I installed 16.0.0 today and tried us build, using rez-build. The .TMP files broke the build. (I also find them messy.) What I am wondering is: Is a flag or setting that would allow me to disable the tmp files. If there is a section of the documentation that discusses that that would be helpful as well. My searches of the Qt Documention kept returning unrelated class documentation.

          Thank you.

          JonBJ Online
          JonBJ Online
          JonB
          wrote last edited by
          #3

          @Jennise-Hall said in Disabling TMP files in Qt Creator 16.0.0:

          I have issues with PyCharm (the most common in my department), I would prefer to use Qt Creator.

          Without wanting to put Qt/Creator down, as I am a great fan, but for a Python IDE I found PyCharm way superior. Speaking purely personally I would far rather try to address whatever "PyCharm issues" I was having then use Creator. Especially if you make no mention of using anything Qt (I have no idea what "rez" might be). Just saying, of course it's up to you.

          J 1 Reply Last reply
          0
          • jsulmJ jsulm

            @Jennise-Hall What tmp files do you mean?

            J Offline
            J Offline
            Jennise Hall
            wrote last edited by
            #4

            @jsulm When I saved a python source file (app.py) there are copies of the source code with the extension ".TMP" left behind.

            1 Reply Last reply
            0
            • JonBJ JonB

              @Jennise-Hall said in Disabling TMP files in Qt Creator 16.0.0:

              I have issues with PyCharm (the most common in my department), I would prefer to use Qt Creator.

              Without wanting to put Qt/Creator down, as I am a great fan, but for a Python IDE I found PyCharm way superior. Speaking purely personally I would far rather try to address whatever "PyCharm issues" I was having then use Creator. Especially if you make no mention of using anything Qt (I have no idea what "rez" might be). Just saying, of course it's up to you.

              J Offline
              J Offline
              Jennise Hall
              wrote last edited by
              #5

              @JonB I had tested Qt Creator 4.0. 1 and found that it hadn't added any of the features I love about using Qt Creator for C++. I installed Qt Creator to see if version 16 had improved the python support.

              My issues with PyCharm are fundamental. They've been around since before I started using it 6 years ago. I have zero faith any of my major issues will be address.

              The Python projects I am working on are Qt tools.

              REZ is a a package management system. It simplifies the process of pulling together the packages (kind of analogous to a set of dlls) that are required to run a tool.

              The .TMP files impede my ability to build a tool. I am hoping there's a way to disable the .TMP files altogether or, at the very least find out if it's possible to set an environment variable to have them written to a different folder. I checked the preferences and the documentation and haven't found the information I'm looking for.

              JonBJ 1 Reply Last reply
              0
              • J Jennise Hall

                @JonB I had tested Qt Creator 4.0. 1 and found that it hadn't added any of the features I love about using Qt Creator for C++. I installed Qt Creator to see if version 16 had improved the python support.

                My issues with PyCharm are fundamental. They've been around since before I started using it 6 years ago. I have zero faith any of my major issues will be address.

                The Python projects I am working on are Qt tools.

                REZ is a a package management system. It simplifies the process of pulling together the packages (kind of analogous to a set of dlls) that are required to run a tool.

                The .TMP files impede my ability to build a tool. I am hoping there's a way to disable the .TMP files altogether or, at the very least find out if it's possible to set an environment variable to have them written to a different folder. I checked the preferences and the documentation and haven't found the information I'm looking for.

                JonBJ Online
                JonBJ Online
                JonB
                wrote last edited by
                #6

                @Jennise-Hall
                Fair enough. Personally I had no problems with PyCharm and its support for Python is way better than Qt Creator's. But we are each entitled to our own preferences.

                I do not know about your .TMP files under Windows. You could go echo %TEMP% to see what you have that environment variable set to. Creator might use that for your temporary files, I do not know. If it is not cleaning up any temporary files it creates you might just see if switching off any anti-virus software helps. Otherwise await any further responses from Windows users.

                1 Reply Last reply
                0
                • J.HilkJ Offline
                  J.HilkJ Offline
                  J.Hilk
                  Moderators
                  wrote last edited by
                  #7

                  I have no working Python setup right now, so I can't check myself, but can you check, that the shadow build option is enabled in the project settings ?


                  Be aware of the Qt Code of Conduct, when posting : https://forum.qt.io/topic/113070/qt-code-of-conduct


                  Q: What's that?
                  A: It's blue light.
                  Q: What does it do?
                  A: It turns blue.

                  1 Reply Last reply
                  0
                  • CristianMaureiraC Offline
                    CristianMaureiraC Offline
                    CristianMaureira
                    wrote last edited by
                    #8

                    Hey @Jennise-Hall can you clarify the .TMP files you are referring to? I have no idea of any .tmp file creations on Qt Creator for PySide projects :O maybe share the output of dir within your project?

                    1 Reply Last reply
                    0
                    • cristian-adamC Offline
                      cristian-adamC Offline
                      cristian-adam
                      wrote last edited by
                      #9

                      At QTCREATORBUG-29942: <name>~XXXX.TMP files are created and not deleted when saving files on FAT32 there is a similar issue.

                      The solution was to set the environment variable QTC_DISABLE_ATOMICSAVE to 1.

                      1 Reply Last reply
                      3
                      • J Offline
                        J Offline
                        Jennise Hall
                        wrote last edited by
                        #10

                        Thank you @cristian-adam That is exactly what I needed.

                        (I searched the documentation website for that environment variable and found nothing. Where should I be looking for information on useful environment variables for Qt tools?)

                        1 Reply Last reply
                        1
                        • J Jennise Hall has marked this topic as solved

                        • Login

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