How To Compile Qt with Visual Studio.This post is a step by step guide on how to compile Qt 4.MSVC 2. 01. 0. Although we use Qt 4.Qt by MSVC 2. 01.Intel Compiler for both platforms x.All kudos go to numerous contributors, who spend their time to do all the tweaking and testing see updates below.In particular there are instructions on how to build Qt 5 for x.Vincenzo Mercuri.Updates. December 2.Vincenzo Mercuri shared instructions for building Qt 5.December 1. 9, 2.Vincenzo Mercuri informed that he have compiled Qt 4.Also he shared his instructions for building Qt with Intel C Compiler into static library.November 4, 2. 01.As reported by Mike Pelton, whatnick and Borislav Stanimirov, 3.Qt 4. 8. 3 have been successfully compiled by this guide, by both Visual Studio 2.Be aware that Qt might not be adjusted yet for Windows 8 as reported here.June 4, 2. 01. 2 As reported by Wenqing, Qt 4.April 5, 2. 01. 2 As reported by Snouty, 3.Qt 4. 8. 1 has been successfully compiled by this guide.December 2. 0, 2.As reported by Evon, 6.Qt 4. 8. 0 has been successfully compiled by this guide.To do 6. 4bit compilation, please use Visual Studio x. A Journey Through Greek Mythology Revised Edition Magic Cards . Win. 64 Command Prompt 2.Also please use jom 1.Service Pack 1 for Visual Studio.September 1. 6, 2.Download Visual Studio 2010 Express EditionDownload Visual Studio 2010 Express For Windows XpThis web installer downloads and installs Visual Studio 2010 Service Pack 1.An Internet connection is required during installation.See the Additional.Microsoft Visual Studio Express is a set of integrated development environments IDEs developed by Microsoft as a freeware and registerware functionlimited version.SQL Server Express 2012 Visual Studio 2010.March 19, 2012 Madrigal Database, Installation, MS SQL Server Express, Visual Studio 2010.This tutorial will show you.Qt 4. 7. 4 has been successfully compiled by this guide.August 1. 4, 2. 01.In order to build Qt for 6.Visual Studio x. 64 Win.Command Prompt 2.Also install Service Pack 1 for Visual Studio 2.July 1. 8 2. 01. 1 Qt 4.Qt 4. 8 beta has been successfully compiled by this guide.Just replace version number where applicable.Build instructions.Visual C 2. 01. This lightweight extension allows changing the window title of Visual Studio to include a folder tree with a configurable min depth and max depth distance from the.SDKs for Qt compilation.However if you plan to use Qt with Phonon you need to install Direct.X SDK first. Install Perl if you are going to compile Qt 4.Download and extract Qt 4.Source Code. Qt 4.Latest snapshot. Copy contents of the folder qt everywhere opensource src 4.Qt. In our case this is C Qt4.Set up environmental variables.QTDIRC Qt4. 7. QMAKESPECwin.Update PATH variable to include QTDIRbin.Download the latest version of jom.Extract jom files to C Qtjom folder.Start Visual Studio 2.Download Visual Studio 2010 Express Free' title='Download Visual Studio 2010 Express Free' />Command Prompt Start Programs Microsoft Visual Studio 2.Visual Studio Tools Visual Studio Command Prompt.Run following commands in it every line is a different command type it then press Enter cd c Qt4.NWhere N is number of CPU cores you want to utilize for Qt compilation.Larger is better.Download and install Qt Visual Studio Add in.Run Visual Studio 2.Integrate just compiled Qt to IDE using menu Qt Qt Options Qt Versions Add.Usually compilation takes about 1.Intel SSD drive it took only 2 hours 4.Windows 7, 6. 4bitsRemarks Jom is nmake replacement for Qt compilation on multi core CPU.Its parameter j N allows to setup number of parallel processes for compilation.Number of physical CPU cores is a good choice for N.Do not forget to use d switch if you want to change drive in command prompt, e.Usual cd d does not work anymore a little surprise from Microsoft.ContributionsAs Evon pointed in comments, Qt folder has huge size approx.GB after compilation.One can safely shrink its size by deleting temporary files created during the process.Once compiled Qt doesnt depend on these intermediate files and they can be erased without affecting Qt functionality.Run as last command in step 1.Note that PDB files will be deleted too the files are rarely needed, only for debugging of Qt itself.Rob provided his compilation script based on nmake with multi core support.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |