Showing posts with label install. Show all posts
Showing posts with label install. Show all posts

Friday, October 29, 2010

"unable to start gdb " then "C:\Qt\2010.04\pythongdb\gdb-i686-pc-mingw32.exe"

When migrating Qt from 2010.04 to 2010.05, the first time I tried to run Qt Creator, I get this error. Somewhere, the uninstaller left something behind.

I had already deleted c:\qt\2010.04.

Thanks, again, to QtCentre user for the answer.

This time the uninstaller left some cruft behind in the user settings. I'm on XP, so I found it in "C:\Documents and Settings\myusername\Application Data\Nokia." I just deleted everything in there.

While googling, I found a bug report at Qt. We'll see about that...

Thursday, January 14, 2010

Qt 4.5.3 for Mac uninstall required before installing Qt 4.6

Here's something pretty subtle that I hadn't picked up. In the install notes, it tells how to perform the uninstall:

"You can later run the uninstall-qt.py script to uninstall the binary package."

sudo /Developer/Tools/uninstall-qt.py

I had to do this prior to installing Qt 4.6 over Qt 5.3 because Qt decided to store the app into /Developer/Applications/Qt/QtCreator without (of course) removing the old one.

In Windows, they install it directly into the C: directory, into a subdir with the version number. I'm wondering how (if?) they'll support multiple active versions on the Mac.

Monday, January 11, 2010

Build Error: C:\Qt\2009.05\mingw\bin\mingw32-make.exe: Interrupt/Exception caught (code = 0xc0000005, addr = 0x41f96e)

(I presume your addresses may vary, and I was building the "textobject" sample from the Getting Started screen.)
More text from the build error:

Running build steps for project textobject...

Starting: c:/qt/2009.05/qt/bin/qmake.exe C:/Qt/2009.05/qt/examples/richtext/textobject/textobject.pro -spec win32-g++ -r

Exited with code 0.

Starting: C:/Qt/2009.05/mingw/bin/mingw32-make.exe -w

mingw32-make: Entering directory `C:/Qt/2009.05/qt/examples/richtext/textobject'

C:/Qt/2009.05/mingw/bin/mingw32-make -f Makefile.Debug all

C:\Qt\2009.05\mingw\bin\mingw32-make.exe: Interrupt/Exception caught (code = 0xc0000005, addr = 0x41f96e)

Exited with code 255.

Error while building project textobject

When executing build step 'Make'


This happens because the installer for the MinGW Windows release 2009.05 doesn't set the PATH environment variable. Qt cannot find the MingGW tools.
 
Here's a bug: http://bugreports.qt.nokia.com/browse/QTCREATORBUG-517
 
right-click My Computer->Properties->Advanced->Environment Variables
in the upper box, if Path doesn't exist, add Path and set it to:
c:\qt\2009.05\mingw\bin;C:\Qt\2009.05\qt\bin

Or, if Path exists, double-click on it, append a semicolon, then append that string. Also, note your installation. If you install Qt after then next release, it may install in the "2010.01" directory or something similar.

Build->Rebuild All now gives me a green bar under "Build"--Success.