If not exist %QTSRC%\.gitignore goto sconf so, that’s my work around: go into C:\Qt\5.0.0\qtbase, here you will find another “configure.bat”, just open it with a text editor and comment out the 4th line: ![]() I couldn’t run the “configure.bat” script in C:\Qt\5.0.0\, it just exited with an error message: configure.exe is not a recognized command. Now, that’s the point where I lost much time. ![]() To PATH (“C:\Perl64\site\bin” and “C:\Perl64\bin” were already added by the ActivePerl installation however, make sure that they are properly set)Īfter making these changes I recommend to log off and re-log in, this step shouldn’t be necessary in order to update the env variables, but after many failures that’s what I did and it worked I extracted the content of the folder “qt-everywhere-opensource-src-5.0.0” to C:\Qt\5.0.0\ and made sure that the environment variables were properly set: for 圆4 -Python 2.7.3 (for 圆4) through the installer at -ICU Libraries v50.1.1 for win64-msvc10 [these libraries provide Unicode and Globalization support and they are required for building QtWebKit, you can download them here: Visual Studio 2010 Windows SDK 7.1 Visual Studio 2010 SP1 Visual C 2010 SP1 Compiler Update for the Windows SDK 7.1 [this is required for building Qt5, here’s the link: Set Qt bin path and reboot the computerīuilding Qt 5 for 圆4 platform contributed by Vincenzo Mercuriĭone! The Qt 5.0.0 libraries for 圆4 were compiled successfully with VS2010! Here are the steps I’ve done (on Windows 7 Ultimate SP1 64bit): first of all, I must say that I had already installed VS2010 and Windows SDK 7.1 in the following order: Building QT creator or simply use its exe installer(see: and )ġ0. Go grab a cup of coffee cause its going to take some time (about 4 hours) for the building processĩ. Navigate to the Qt directory (here: C:\Qt\5.7.0\qtbase) and Type:Ĭonfigure -static -debug-and-release -platform win32-msvc2015 -qt-zlib -qt-pcre -qt-libpng -qt-libjpeg -qt-freetype -opengl desktop -qt-sql-sqlite -qt-sql-odbc -no-openssl -opensource -confirm-license -make libs -nomake tools -nomake examples -nomake tests (add any other feaetures you want, check: )ħ. Environment setup for 64-bit: VC\vcvarsall amd64 ( )Ħ. Launch Developer Command Prompt for VS2015ĥ. Download QT soure package 5.7.0 (check: )Ĥ. Reboot the computer to ensure the changes take effect!ģ. Set environment variables for QTDIR, QMAKESPEC: Supported compiler: Visual Studio 2015 (wind64 command prompt) (see here: Compiling-a-c-program-from-visual-c-2015-command-prompt/) Perl version 5.24 Python version 3.5.4 Ruby version 2.4.3 Ģ. This post is to walk you through the otherwise quite painful process for the installation and configurations step by step before you can dig into their wonderful applications. The installation file can be also downloaded through the command line using wget.It's been a long time since Qt and OpenCV frameworks were introduced to the opence source community, but it is not until recently peopole come to realize the benefits of combing them together, and such combination becomes increasingly popular among computer vision practitioners. Visit Qt downloads page an download a 32-bit or 64-bit Linux installation depending your version of Ubuntu. A difference for OpenGL has been found and added as a note below. It may be used also for newer versions of Qt and Ubuntu. This is a tutorial for installation of Qt 5.7.0 to Ubuntu 12.10. Execute following command: sudo apt-get install libglu1-mesa-dev -y Tested with Qt5.3.1 and Ubuntu 14.04 and it solved the problem with missing -lGL. Based on this comment in the forum an additional package needs installation. Įxecute the following command to install OpenGL libraries: sudo apt-get install mesa-common-dev Note: Just installing the above-mentioned mesa-common-dev kit is not sufficient for more recent Ubuntu versions. Jump up↑ Qt 5.5.0 problem running examples . Archived from the original on.
0 Comments
Leave a Reply. |