[Qt-interest] Problem building with Qt Creator
Constantin Makshin
cmakshin at gmail.com
Fri Sep 3 21:50:51 CEST 2010
Qt Creator saves its per-project settings in the "<project_file_name>.user" file in the same directory as the project file (i.e. for project "D:\Projects\Foo\foo.pro" it'll be "D:\Projects\Foo\foo.pro.user"). You may want to try to delete or rename this file to reset Qt Creator options for this particular project.
You may also want to try to reset all Qt Creator settings by removing or renaming the directory where it keeps its settings. I'm not sure where that directory is placed in Windows, but most likely it's in either "Application Data" or "Local Settings\Application Data" subdirectories of your user's home/profile directory (e.g. "C:\Documents and Settings\Yogesh\Application Data\ ..."). Make sure your file manager shows hidden files and directories to be able to get there. Or you can search for "QtCreator.conf", "QtCreator.db" or "QtCreator.ini" files to find Qt Creator per-user settings directory.
Obviously, it's better to rename files and/or directories to make it easy to revert to old configuration if something goes wrong. :)
As the last resort, you may remove/rename all registry entries with names like "Qt Creator" or "QtCreator". By editing registry is risky, so you should try this way only if nothing else helps.
On Friday 03 September 2010 18:20:08 yogesh upreti wrote:
> Hallo Constantin,
> thanks for the reply. I have posted the same question in the mailing list
> from Qt-creator.
> Do you know how can I remove the setting from previous installation of
> Qt-creator?
> I see that even after un-installing Qt-creator the settings from the last
> version are still in tact.
>
> I am not even able now to make a small gui project only with a window and
> button and run it. There is some problem with the basic setting, which is
> not changing even after I uninstall the project. (One of these settings are
> the history of the projects open, in the Qt Welcome screen)
>
> thanks again,
>
> - Yogesh Upreti
>
> Date: Thu, 2 Sep 2010 10:35:23 +0400
> > From: Constantin Makshin <cmakshin at gmail.com>
> > Subject: Re: [Qt-interest] Problem building with Qt Creator
> > To: "Qt Interest" <qt-interest at trolltech.com>
> > Message-ID: <201009021035.23439.cmakshin at gmail.com>
> > Content-Type: Text/Plain; charset="utf-8"
> >
> > There's a mailing list for discussions about Qt Creator:
> > http://lists.trolltech.com/mailman/listinfo/qt-creator
> >
> > As for your problem ? is it possible that something in your .pro file[s]
> > causes QMake to go into infinite loop? I find it very strange that QMake
> > just hangs without producing any output.
> > It's unlikely that mkspec files are broken because such bug can't stay
> > undetected for >6 months.
> >
> > If you still can't find the source of the problem, could you send a minimal
> > example (your .pro file and other files it references (source files may be
> > empty, just enough to let QMake find them)) so others can test it?
> >
> > On Thursday 02 September 2010 00:11:03 yogesh upreti wrote:
> > > Hi All,
> > > I don't know if this is the right place to ask questions about Qt
> > creator.
> > > But I am trying to build my project using Qt creator, (which was building
> > it
> > > till yesterday) but unable to do it successfully.
> > > 1. When I try to Build a my project it shows
> > >
> > > Running build steps for project JobCreator...
> > >
> > > Starting: c:/qt/2010.02.1/qt/bin/qmake.exe
> > > F:/Work/Programming/QT/JobCreator/JobCreator.pro -r -spec
> > > c:/Qt/2010.02.1/qt/mkspecs/win32-g++
> > >
> > >
> > > and hangs after this, dose't do anything further, I have left it for 2
> > hrs
> > > and nothing happens, I have to "cancel build" in the end and it ends with
> > :
> > >
> > > Exited with code 62097.
> > >
> > > Canceled build.
> > >
> > >
> > > 2. When I try to "clean" the project, it shows
> > >
> > > Running build steps for project JobCreator...
> > >
> > > Starting: C:/Qt/2010.02.1/mingw/bin/mingw32-make.exe clean -w
> > >
> > > mingw32-make: Entering directory `F:/Work/Programming/QT/JobCreator'
> > >
> > > c:/qt/2010.02.1/qt/bin/qmake.exe -spec
> > c:/Qt/2010.02.1/qt/mkspecs/win32-g++
> > > -win32 CONFIG+=release -o Makefile JobCreator.pro
> > >
> > >
> > > and hangs after this, dose't do anything further.
> > >
> > >
> > > I tried running qmake command in the directory using command prompt, it
> > > dosn't do anything either.
> > >
> > >
> > > I have reinstalled Qt creator, tried installing new version ( which
> > does't
> > > work either)
> > >
> > >
> > > Can someone tell me what could be the problem??
> > >
> > >
> > > Thanks in advance
> > >
> > > Yogesh Upreti
More information about the Qt-interest-old
mailing list