[Qt-creator] Building Qt 4.5.2 with MSVC 2008 For Use With Qt Creator - Observations
Jonathan Arnold
jdarnold at buddydog.org
Tue Jul 14 17:05:22 CEST 2009
I did finally get around to getting it built for MSVC 2008. Here's one newbie's
opinions on the below:
Robert Caldecott wrote:
> 1. I downloaded the full SDK and installed it into c:\qt\4.5.2-vc. I
> fired up the VS2008 Command Prompt and entered 'configure -platform
> win32-msvc2008' followed by 'nmake'. First problem - 8 or 9 linker
> errors when building the QtWebKitD.dll. The solution is the remove
> the following files:
>
> src/3rdparty/webkit/WebCore/tmp/moc/{debug,release}_shared/mocinclude.tmp
This seems to be fixed, or at least I don't think I ran into a webkit problem.
Of course, the log file is over 14mb!
> 2. There really needs to be a way to ignore examples/demos via
> configure, as building all of these takes a long time. I wanted to
> end up with a bare bones Qt folder containing just the essentials and
> didn't count on all the examples being built. It took nearly 3 hours
> on my machine!
Doesn't seem to be all that important. You fire it off and forget it, and,
with only a modicum of luck, never need to do it again. To build it piecemeal
would probably take a lot more time.
> 3. Once the build has completed you can kiss goodbye to 4.5GB of disk
> space. Yikes. Digging around I found dozens of 'tmp' folders
> containing nearly 3GB of .obj files that aren't needed. The make
> process should remove these.
Given that I bought a 1 tb hard drive for under US$100, 4.5 GB is hardly
enough to worry about. The time I would have to wait for it to remove the
.obj files would probably buy me the hard drive. Never mind the time it would
take to regenerate those if I needed to rebuild.
> Getting this to work wasn't too difficult but an official step-by-step
> guide from Nokia would be welcome. It could cover things like full
> vs. minimal builds, etc. For a novice this would be quite the
> exercise.
Yeah, I asked for some guidance myself a few days ago. Turns out, the first
pass isn't all that complicated, but as you say, a real easy step by step
would be appreciated. There is an INSTALL file, but it is too basic and is incorrect
in a few places (like which folder to CD into). There's also no mention of
setting up all the environment variables needed (like for the SDK & for VC
itself). I haven't pushed the installation very far yet, so I wonder about
some of the secondary modules (like SQL & Webkit).
--
Jonathan Arnold Webstream: http://hieronymus.soup.io
Polar bear: a Cartesian bear after a coordinate transform.
More information about the Qt-creator-old
mailing list