[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[vidalia-svn] r3875: Add information on how to build Qt with .pdb files for the s (vidalia/branches/breakpad)
Author: edmanm
Date: 2009-06-21 01:55:35 -0400 (Sun, 21 Jun 2009)
New Revision: 3875
Modified:
vidalia/branches/breakpad/README.breakpad
Log:
Add information on how to build Qt with .pdb files for the smaller release
versions of their DLLs (by default, .pdb files are only produced for the
debug versions, which we don't want to ship).
Modified: vidalia/branches/breakpad/README.breakpad
===================================================================
--- vidalia/branches/breakpad/README.breakpad 2009-06-21 03:12:08 UTC (rev 3874)
+++ vidalia/branches/breakpad/README.breakpad 2009-06-21 05:55:35 UTC (rev 3875)
@@ -20,18 +20,36 @@
1.2. Extract the .zip file to a directory
1.3. Open a Visual Studio command prompt
1.4. 'cd' to the location of your extract Qt source
- 1.5. Configure the Qt source for a Visual Studio build, along with whatever
+ 1.5. We want to enable building .pdb files for the release versions of the
+ Qt DLLs, since Breakpad derives its symbol information from the .pdb
+ files. To do so, unfortunately we have to edit the qmake.conf "mkspec"
+ for the compiler we're using. For example, if you're using Visual
+ Studio 2008, you would open the file
+
+ $QTDIR\mkspecs\win32-msvc2008\qmake.conf
+
+ (where $QTDIR is the location of your Qt source code) and add "-Zi" to
+ QMAKE_CFLAGS_RELEASE. The resulting line would look like:
+
+
+ QMAKE_CFLAGS_RELEASE = -Zi -O2 -MD -GL
+
+
+ Different Visual Studio mkspecs may look slightly different. Save your
+ changes to qmake.conf after you're done.
+
+ 1.6. Configure the Qt source for a Visual Studio build, along with whatever
other options you want (e.g., OpenSSL support). As an example, I used
the following command to configure my Qt:
$ configure.exe -platform win32-msvc2008 \
-opensource -debug-and-release \
- -fast -no-qt3support -no-scripttools \
+ -fast -no-qt3support \
-nomake demos -nomake examples \
-openssl -I E:\OpenSSL\9.8k\include \
-L E:\OpenSSL\9.8k\lib\VC
- 1.6. After configure.exe is finished running, simply run nmake.exe to build
+ 1.7. After configure.exe is finished running, simply run nmake.exe to build
Qt. The entire process may take several hours depending on the options
used and the speed of your machine.