Monthly Archives: March 2009

How to configure SQL Server 2005 to allow remote connections

Good link

Recompile Qt 4.5 Open Source

Here are the steps  to rebuild Qt on Windows:

1. I installed the SDK in C:\Qt\2009.01 (that’s why I am using this path bellow).

2. I downloaded the tool Junction from Microsoft’s site :…s/bb896768.aspx
I put “junction.exe” in C:\Qt\2009.01\qt.

3. I went to Start > Qt SDK by Nokia v2009.01 (open source) > Qt Command Prompt.

4. I typed the following commands :

mkdir C:\qt-greenhouse\Trolltech\Code_less_create_more\Trolltech\Code_less_create_more\Troll\

junction C:\qt-greenhouse\Trolltech\Code_less_create_more\Trolltech\Code_less_create_more\Troll\4.5.0 C:\Qt\2009.01

configure -release -static -fast -accessibility -no-qt3support -no-stl -no-phonon -no-scripttools -no-openssl -no-opengl


5. I opened my project in Qt Creator and from the menu, I chose Build > Set Build Configuration > Release. Now I could run the project !

6. If you need to reconfigure and rebuild Qt from the same location,    ensure that all traces of the previous configuration are removed by entering the build directory and typing
nmake confclean
before running the configure script again.

Basically, the Junction tool creates a symbolic link between C:\qt-greenhouse\Trolltech\Code_less_create_more\Trolltech\Code_less_create_more\Troll\4.5.0 (which is the path required by configure due to a bug !) and your Qt directory.