When an example project is opened in qtcreator, it gives an option to copy to another location in Linux and Windows 7, but not in Windows 10. How to get that feature in windows 10.
-
When an example project is opened in latest qtcreator, it gives an option to copy to another location in Linux and Windows 7, but not in Windows 10.
How to get that feature in windows 10.
I use non-administrative account in linux and Windows 7. Unfortunately, in Windows 10 it seems administrative account is THE user account. Please help. I don't want to pollute the examples directory with my own edits. -
@gmatbarua You can still copy the examples manually...
-
Hi
I'm using Qt Creator on Win10, but didn't know about this copy feature you mention on other platforms...However, can't you just make a copy of the complete
Examples
directory and use that? -
Hi
I'm using Qt Creator on Win10, but didn't know about this copy feature you mention on other platforms...However, can't you just make a copy of the complete
Examples
directory and use that?@Diracsbracket Thank you for responding. Sure, I can. If you open the copied project, it will not open the corresponding help document that is opened automatically when we click the example project icons, which in turn opens the example project in default location.
-
Hi @gmatbarua
the copy function jumps in if the examples directory is read-only or if you don't have write access to that directory (as for building, you need write access).
What you could try is to make this directory write protected, maybe Creator then provides the dialog. I've not tested this, but it might be worth a try.
-
@Diracsbracket Thank you for responding. Sure, I can. If you open the copied project, it will not open the corresponding help document that is opened automatically when we click the example project icons, which in turn opens the example project in default location.
@gmatbarua said in When an example project is opened in qtcreator, it gives an option to copy to another location in Linux and Windows 7, but not in Windows 10. How to get that feature in windows 10.:
If you open the copied project, it will not open the corresponding help document that is opened automatically when we click the example project icons, which in turn opens the example project in default location.
There is a simple way to change this:
For the kit for which you made a copy of the Examples folder, go to the Qt installation folder for that kit, and in the bin folder (I use VS2017:D:\Qt\5.10.0\msvc2017_64\bin
), edit theqt.conf
file.Mine looked as follows:
[Paths] Documentation=../../Docs/Qt-5.10.0 Examples=../../Examples/Qt-5.10.0 Prefix=..
Change the Examples path there, and it should work: I just tested it here. The Documentation still works, and you can directly click on the example tile in the Examples list of Qt Creator to load it, as usual.
-
Hi @gmatbarua
the copy function jumps in if the examples directory is read-only or if you don't have write access to that directory (as for building, you need write access).
What you could try is to make this directory write protected, maybe Creator then provides the dialog. I've not tested this, but it might be worth a try.
@aha_1980 said in When an example project is opened in qtcreator, it gives an option to copy to another location in Linux and Windows 7, but not in Windows 10. How to get that feature in windows 10.:
I've not tested this, but it might be worth a try
Just tested it. No copy option is provided, AFAICT
Edit: After removing write permission to the Administrators group, I indeed get the following when trying to load an example:
-