Explore this ArticleQt 4.8 SDK Installation Instructions:Edit the Windows Vista/Windows 7 PATH:Edit the Windows 8 PATH:Qt 5.0 SDK Installation Instructions:Edit the Windows Vista/Windows 7 PATH:Edit the Windows 8 PATH:Show 3 more..Show less..Ask a QuestionRelated Articles
- Qt Compiler Windows 10
- Qt Compiler Windows 7
- Qt Compiler Windows 64 Bit
- Qt C++ Compiler Windows Download
Compile Qt webengine with proprietary-codecs (or without) Open cmd.exe (with administrator rights). Type cd + Path to the Microsoft Visual Studio folder where vcvarsall.bat is located: cd 'C: Program Files (x86) Microsoft Visual Studio 2017 Community VC Auxiliary Build'. The linux-rasp-pi3-g (Qt 5.12) or linux-rasp-pi-g (Qt 5.12.2 and Qt 5.12.3) folder applies to Raspberry Pi 3 version, if you have a different board version check the list of compatible devices which can be found in./qtbase/mkspecs/devices and in the table below (summarized from the table in the tutorial to build Qt 5.12 for debian strech directly on Raspberry Pi). Qt for Windows - Building from Source This page describes the process of configuring and building Qt for Windows. Before building, there are some requirements that are given in more detail in the Qt for Windows - Requirements document. 32 bit Windows: you must install the 32 bit libraries; 64 bit Windows: you can choose either the 32 or 64 bit libraries, or both! If in doubt, install only the 64 bit libraries. That is enough to compile MuseScore for your own machine. The 32 bit libraries are only useful if you want to compile for 32 bit computers. Select Qt WebEngine.
wikiHow is a “wiki,” similar to Wikipedia, which means that many of our articles are co-written by multiple authors. To create this article, 10 people, some anonymous, worked to edit and improve it over time.
The wikiHow Tech Team also followed the article's instructions, and validated that they work. Learn more..
The wikiHow Tech Team also followed the article's instructions, and validated that they work. Learn more..
The Qt Software Development Kit (SDK) is a cross-platform application framework that is widely used for developing application software with a graphical user interface (GUI). It is a portable cross platform application user interface framework which works on the Windows, Linux and Mac OS X operating systems. Qt SDK helps you create graphical user interfaces (GUI's) for your applications that will run on Windows, Linux and Mac OS X. Some popular cross-platform applications that were created using the Qt SDK are KDE, Google Earth, Skype, Linux Multimedia Studio and the VLC multimedia player. Essentially cross-platform means that Qt applications that you create on Microsoft Windows via the source code are usually transferable to Linux and the Mac OS X operating systems and vice versa.Notes: Upgraded Qt SDK 4.8 instructions and added instructions for Qt SDK 5.0
Active6 months ago
I have a lot of trouble compiling Qt webengine to enable proprietary codecs, documentation is not very clear. I followed others instructions on stackoverflow but it doesn't work. I got error like:
OR
OR
OR
OR
Dardanboy
DardanboyDardanboy
2 Answers
I had all of those problems for the last 5 days.
I'm doing a step by step instruction if you don't know how to begin with compiling Qt webengine (with or without proprietary codecs).If you have already done some of the steps, you can freely skip them.
https://high-powersyn.weebly.com/blog/download-free-rainmeter-skins-for-windows-10. Please if you see any error, if have one by doing this or if some instruction is not clear, tell me so I can update
1. Install Visual Studio 2017
Go to https://www.visualstudio.com/fr/downloads/ and download Visual Studio 2017.
When this window comes, check
Desktop Development for C++
and be sure that VC++ toolset 2015.3v v14.00 (v140)
and SDK Windows 10 (10.0.xxxxx.x)
are checked.Install and wait until it finishes.
2. Install Qt sources qt webengine
Open
MaintenanceTool.exe
present into the Qt folderAdd or delete module
Be sure to check at least:
MSVC 2015 32-bit
, MSVC 2015 64-bit
, MSVC 2017 64-bit
, Sources
, Qt WebEngine
Install and wait until it finishes.
3. Install Qt webengine compile prerequisities
(Original instructions copied from Sébastien Bémelmans on this thread and a bit modified)
Download:
- Python 2 (2.7.15 actually, Python 3 is not supported) from https://www.python.org/downloads/windows/
- Perl (Strawberry vesion) from http://strawberryperl.com/
- Bison and flex from https://sourceforge.net/projects/winflexbison/ (Rename win-bison.exe to bison.exe and win-flex.exe to flex.exe)
- Gperf from http://gnuwin32.sourceforge.net/packages/gperf.htm
Be sure to add every .exe to System path, and restart the computer.
4. Compile Qt webengine with proprietary-codecs (or without)
Open
cmd.exe
(with administrator rights).type
cd
+ Path to the Microsoft Visual Studio folder where vcvarsall.bat
is located:cd 'C:Program Files (x86)Microsoft Visual Studio2017CommunityVCAuxiliaryBuild'
For compilation into 32-bits:
Type
vcvars32.bat
into command lineFor compilation into 64-bits:
Type
vcvars64.bat
into command lineGo to the path where Sources of Qt are and enter qtwebengine subdirectory:
Qt Compiler Windows 10
For compilation into 32-bits:
Type
'C:Qt5.11.0msvc2015binqmake.exe' -- -webengine-proprietary-codecs
into command line (note the link is going to msvc 2015 32 bit)For compilation into 64-bits:
Type
'C:Qt5.11.0msvc2017_64binqmake.exe' -- -webengine-proprietary-codecs
into command line (note the link is going to msvc 2017 64 bit)Your console should look like this (32 bit):
And the result:
Now you need to call nmake. Type 'Path to nmake.exe for version 32 bit or 64 bit' like this:
For compilation into 32-bits:
'C:Program Files (x86)Microsoft Visual Studio2017CommunityVCToolsMSVC14.14.26428binHostx86x86nmake.exe'
into command line (note the x86 into the path)For compilation into 64-bits:
'C:Program Files (x86)Microsoft Visual Studio2017CommunityVCToolsMSVC14.14.26428binHostx64x64nmake.exe'
into command line (note the x64 into the path)Your command line should now output a lot of things. Compiling qtwebengine requires lot of memory and space (around 90 Go on mycomputer and 60% of my 8 GO of RAM). Be sure to have place and freememory. It is long processing too
Qt Compiler Windows 7
DardanboyDardanboy
Qt Compiler Windows 64 Bit
If you get a message below after running qmake: Boot up screen windows 10.
'A suitable version of python2 could not be found.'
download the configure file here.
Extract it and run '_configure.py' with python2. It will configure your qt and that error goes away.
Uwe Keim28.4k3333 gold badges142142 silver badges228228 bronze badges
user10753989user10753989