Disabling TMP files in Qt Creator 16.0.0
-
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.
-
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?)
-
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.
@Jennise-Hall What tmp files do you mean?
-
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.
@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.
-
@Jennise-Hall What tmp files do you mean?
-
@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.
@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.
-
@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.
@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. -
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 ?
-
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? -
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
to1
. -
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?)
-