August 3, 2011

LawrenceS LawrenceS
Lab Rat
1 posts

designer.exe will not launch after compiling libraries

 

I am overly frustrated with the Qt – Visual Studio add-in because I cannot get the designer to open my *.ui files. The problem lies in the launching of designer.exe. I am not sure why this is the case but when I open designer through the Visual Studio 2010 menu item or through the C:\Qt\bin\designer.exe file the same thing happens. The process shows up in the task manager for a moment and then dissappears, never to successfully launch.

The process I used to install:

1. Download and extract Qt 4.7.3 Source Code
2. Copy contents of the folder qt-everywhere-opensource-src-4.7.3 to C:\Qt\4.7.3
3. Set-up enviromental variables (QTDIR and QMAKESPEC) and update PATH to include (QDIR\bin)
4. From Visual Studios Command Prompt: cd c:\Qt\4.7.3 configure -debug-and-release -opensource – platform win32-msvc2010 nmake
5. Install Qt Visual Studio Add-in
6. Integrate just complied Qt to IDE using menu Qt > Qt Options

I am sure all these details were not necessary but can someone help solve this issue? I am mid project and would like to finish my application. Thanks.

Edit: I am using Visual Studios Ultimate 2010 ×64 with Windows 7 Enterprise x64.

6 replies

August 3, 2011

Eddy Eddy
Gene Splicer
1296 posts

Moved to the installation and deployment subforum

 Signature 

Qt Certified Specialist
Qt Ambassador

August 4, 2011

gedd gedd
Lab Rat
36 posts

Can you give us the Qt Creator version ?

 Signature 

Gedd

August 4, 2011

koahnig koahnig
Mad Scientist
2185 posts

Did you have already a Qt version installed prior to compilation of version 4.7.3?

Seeing the sequence of steps you listed, I do not see a particular problem.
I guess you have downloaded the zip-file. Otherwise you should have had problems in the make process.
I am not sure if you really need step three of your list.

The major differences I see that I am on Visual studio 2005 and possibly that I have had always a Qt version installed prior to recompilation.

It could be an incompatibility of vsaddins with your vs version.

Can you create an ui through vs2010 (add class->Qt4 classes->Qt4GuiClass)?

August 4, 2011

Jupiter Jupiter
Lab Rat
95 posts

have you installed all updates for your studio? there was a bug in the compiler which made crashes like that in early versions.

August 4, 2011

VitorAMJ VitorAMJ
Lab Rat
89 posts

have you installed all updates for your studio? there was a bug in the compiler which made crashes like that in early versions.

Nazgul is right, I had the same problem you are having. Install service pack 1 for VS2010 and the problem will probably vanish. This was a BUG on VS2010.

August 10, 2011

VitorAMJ VitorAMJ
Lab Rat
89 posts

To those building Qt over Windows using Visual Studio and still having difficult, please check this out [developer.qt.nokia.com]

 
  ‹‹ [solved] Deploy qt qml application      QtCreator 2.2.1 can’t install on ppc mac ››

You must log in to post a reply. Not a member yet? Register here!