@Pl45m4 I apologize for my incomplete explanation. What I meant to say is exactly this:
I created a project and build/run settings which includes path of destinations, executables and qmake settings. When I publish my project to another person all the settings I created are missing. As you said pro.user file shouldn't shared between projects or used on other systems. But As I read in qt documents it says pro.shared file could be shared for make projects settings portable. The problem is I wrote this file and I can share my settings to another system, but every time I need to change the version and set the current path of project for build/run configurations.
Here is an example:
C:\Users\duruk\Desktop\Sample\build
This is the target path of my Press_Release build configuration. As you see this path is unique for my system (name of project is Sample, this folder contains pro file and pro.shared file). I have written a bash file to changing the paths to current paths, and a manual for describing how to user could set configuration. This is the bash file I wrote to changing paths:
DOSYA="Sample.pro.shared"
OLD="xxxxx"
NEW=$(PWD)
if [ ! -f "$DOSYA" ]; then
exit 1
fi
sed -i "s|$OLD|$NEW|g" "$DOSYA"
Well now I'm searching a way to settings project path automaticly and and prevent changing ProjectExplorer.Project.Updater.FileVersion variable every time project moved another system. Is there anyway to share settings more easy and effective?
The documentation of the method I tried:
https://doc.qt.io/qtcreator/creator-sharing-project-settings.html
Thank you for your reply.