PDA

View Full Version : QtCreator not Operating Build when Run is clicked



sqlpython
11th April 2013, 07:53
I have been trying to correct this for Days any help would be appreciated.

OS Linux kernels 3.6.7..3.8.6..3.8.4..
Problem: Can NO Longer Click Run and Get an Auto request to Save and then Automatically Build Before Run.
Distros: Slackware-x86, Gentoo-x86, Gentoo-amd64, Debian-x86

These installs are on the same Lenovo sl410 ..
All did worked fine on each Disto until the Gentoo x86 was updated.
The Distro is Sabayon 11..
Nothing in QtCreator would deploy the executed app/Widget to the Screen.
Yet would build and the Run button was Greyed out and the Menu RUN had no effect.

All the other Distros continue work fine without error in QtCreator.

I discovered the Kits panel had Deploy error warnings.
Also the Build/Run Projects Panel had setting to deploy to by uploading instead of Deploy Locally.
I UnInstalled & ReInstalled Qtcore, QtGui and QtCreator multiple times without Success.
The installs continually defaulted back to the error configs.
Finally I reconfigured QtCreator to Build and Run by manual changes.
All seems to work fine now EXCEPT....
I can not after altering Code or the UI form see the changes by simply Clicking RUN.
I must perform 2 steps instead of the one
I must Choose Build first then Run second to Deploy the app to the Screen.
..SO, I would like to repair/Reconfigure QtCreator and have it Save/Build/Run with One Click of the Run Button.

Each of my Other Linux Installs have QT and QTcreator installed and All work Correctly.
Except the One Sabayon Gentoo install.
Any Configure ideas for my QtCreator?
See my Configurations below

89248925892689278928

sqlpython
14th April 2013, 20:29
Ok I have QtCreator fixed..
Thanks for All the Reads. Seems many were curious.
Involved Two steps. One from the Sabayon Forum.

1. I Checked "Always Deploy Project Before Running it" in Tools/Options/Build & Run/General ..Tab
...This had been checked previous also but failed to Deploy Correctly due to Compiler Config. Now it works

2.. ReInstall the COMPLETE GCC 4.7.2 package with all lib support.."Not just the base package"

Read the Sabayon Thread and maybe look at the Links with in

https://forum.sabayon.org/viewtopic.php?f=57&t=29649&p=161339#p161339


http://forum.sabayon.org/viewtopic.php?f=59&t=29638
in which @sabayonino suggests

Install full gcc:4.7.2
# equo i gcc:4.7

I think you've only installed gcc-base that has some libs not full gcc

sabayonino was Correct.
and the results was

>> ## Cleaning: sys-devel/gcc-4.7.2-r1
>> @@ Installation complete.
>> @@ No configuration files to update.
bobs-sl410 sqlpython #