Qmake Error 2
Contents |
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About
Cannot Find Lgl Qt
Us Learn more about Stack Overflow the company Business Learn more about hiring developers cannot find -lgl in qt or posting ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss Join the Stack
Qt Cannot Find -lgl Ubuntu
Overflow Community Stack Overflow is a community of 6.2 million programmers, just like you, helping each other. Join them; it only takes a minute: Sign up The process qmake.exe exited with code 2 qt error cannot find -lgl - first time with Qt and Qt Creator up vote 2 down vote favorite Downloaded Qt and Qt Creator. In Qt Creator I can run example programs. Created new project - Qt empty project. Added new cpp-file with code example from Qt site - first one. When I press "Run", "Build" or "Rebuild" I've got this output 01:41:24: Running steps for project First... 01:41:24: Starting: "C:\Qt\4.8.4\bin\qmake.exe" cannot find -lgl qt creator "C:\Documents and Settings\Олексій\Qt Projects\First\First.pro" -r -spec win32-msvc2008 "CONFIG+=declarative_debug" Cannot find file: c:\Documents and Settings\Олексій\Qt Projects\First\First.pro. 01:41:24: The process "C:\Qt\4.8.4\bin\qmake.exe" exited with code 2. Error while building/deploying project First (kit: Desktop) When executing step 'qmake' But there IS such file, it contains SOURCES += Main.cpp What is wrong? I didn't google the solution yet c++ qt qt-creator qmake spaces share|improve this question edited Feb 17 '13 at 16:17 doc 4,04823256 asked Dec 30 '12 at 23:47 Hate 462719 1 With previous versions of Qt I had problems with spaces in project paths (Note that it installs itself to "C:\Qt: and not to "Program Files"). Try to move your project from "Documents and Settings" to some other location and rename "Qt Projects" to for example "Qt_Projects". As far as I remember it was mentioned in the docs to avoid spaces in project paths. I would also be carefull with cyrillic characters. –doc Dec 31 '12 at 0:22 @doc thanks, it's it! Will you rewrite your comment as an answer so I will be able to accept it? –Hate Dec 31 '12 at 0:26 add a comment| 2 Answers 2 active oldest votes up vote 2 down vot
here for
Qt /usr/bin/ld: Cannot Find -lgl
a quick overview of the site Help Center ld returned 1 exit status qt Detailed answers to any questions you might have Meta Discuss the workings and
Qt /usr/bin/ld: Cannot Find "-lgl"
policies of this site About Us Learn more about Stack Overflow the company Business Learn more about hiring developers or http://stackoverflow.com/questions/14095889/the-process-qmake-exe-exited-with-code-2-first-time-with-qt-and-qt-creator posting ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community of 6.2 million programmers, just like you, helping each other. Join them; it only http://stackoverflow.com/questions/10434064/qt-error-2-at-compile-time takes a minute: Sign up Qt - Error 2 at compile time up vote 3 down vote favorite I just downloaded Qt SDK 4.8.1 and, after installing it, I simply tried to compile a default C++ project, but I got this strange error. 16:50:24: Running build steps for project test... 16:50:24: Configuration unchanged, skipping qmake step. 16:50:24: Starting: "C:\QtSDK\QtCreator\bin\jom.exe" cl -c -nologo -Zm200 -Zc:wchar_t- -Zi -MDd -GR -EHsc -W3 -w34100 -w34189 -DUNICODE -DWIN32 -DQT_LARGEFILE_SUPPORT -DQT_DLL -DQT_GUI_LIB -DQT_CORE_LIB -DQT_HAVE_MMX -DQT_HAVE_3DNOW -DQT_HAVE_SSE -DQT_HAVE_MMXEXT -DQT_HAVE_SSE2 -DQT_THREAD_SUPPORT -I"........\QtSDK\Desktop\Qt\4.8.1\msvc2008\include\QtCore" -I"........\QtSDK\Desktop\Qt\4.8.1\msvc2008\include\QtGui" -I"........\QtSDK\Desktop\Qt\4.8.1\msvc2008\include" -I"........\QtSDK\Desktop\Qt\4.8.1\msvc2008\include\ActiveQt" -I"debug" -I"." -I"..\test" -I"." -I"........\QtSDK\Desktop\Qt\4.8.1\msvc2008\mkspecs\win32-msvc2008" -Fodebug\ @C:\DOCUME~1\dfuser\IMPOST~1\Temp\main.obj.1464.0.jom cl -c -nologo -Zm200 -Zc:wchar_t- -Zi -MDd -GR -EHsc -W3 -w34100 -w34189 -DUNICODE -DWIN32 -DQT_LARGEFILE_SUPPORT -DQT_DLL -DQT_GUI_LIB -DQT_CORE_LIB -DQT_HAVE_MMX -DQT_HAVE_3DNOW -DQT_HAVE_SSE -DQT_HAVE_MMXEXT -DQT_HAVE_SSE2 -DQT_THREAD_SUPPORT -I"........\QtSDK\Desktop\Qt\4.8.1\msvc2008\include\QtCore" -I"........\QtSDK\Desktop\Qt\4.
download a browser that supports JavaScript, or enable it if it's disabled https://forum.qt.io/topic/22692/solved-the-process-qmake-exe-exited-with-code-2 (i.e. NoScript). Home Qt Development Tools [Solved] The process qmake.exe https://github.com/thoughtbot/capybara-webkit/wiki/Installing-Qt-and-compiling-capybara-webkit exited with code 2 [Solved] The process qmake.exe exited with code 2 This topic has been deleted. Only users with topic management privileges can see it. OLLO last edited by Downloaded Qt 4.8.4 and Qt Creator. In Qt Creator cannot find I can run example programs. Created new project - Qt empty project. Added new cpp-file with code example from "Qt site":http://qt-project.org/doc/qt-4.8/gettingstartedqt.html - first one. When I press "Run", "Build" or "Rebuild" I've got this output bq. 01:41:24: Running steps for project First... 01:41:24: Starting: "C:\Qt\4.8.4\bin\qmake.exe" "C:\Documents and Settings\Олексій\Qt Projects\First\First.pro" cannot find -lgl -r -spec win32-msvc2008 "CONFIG+=declarative_debug" Cannot find file: c:\Documents and Settings\Олексій\Qt Projects\First\First.pro. 01:41:24: The process "C:\Qt\4.8.4\bin\qmake.exe" exited with code 2. Error while building/deploying project First (kit: Desktop) When executing step 'qmake' But there IS such file, it contains bq. SOURCES += Main.cpp What is wrong? Help, please, I didn't google the solution yet.. It was because of Cyrillic folder name in my path, which is pity. Reply Quote 0 JKSH Moderators last edited by Hi OLLO, Glad to hear you solved your problem. :) Instead of deleting the topic, why not leave it here for other people to find, in case they run into the same problem? Please edit your original post and add "[Solved]" to the title, thanks! Qt Documentation Search (Google Chrome): forum.qt.io/topic/35616/ Reply Quote 0 Loading More Posts 2 Posts 3731 Views Reply Reply as topic Log in to reply 1 / 1
Sign in Pricing Blog Support Search GitHub This repository Watch 76 Star 1,794 Fork 435 thoughtbot/capybara-webkit Code Issues 67 Pull requests 12 Projects 0 Wiki Pulse Graphs Installing Qt and compiling capybara webkit hamaker edited this page Oct 20, 2016 · 125 revisions Pages 4 Home Installing Qt and compiling capybara webkit Qt warnings in test output on OSX Reporting Crashes Clone this wiki locally Clone in Desktop Instructions for Editing This Page If you don't see your system here and you get capybara-webkit to compile using Qt 5, please edit this page to share your knowledge with future users. Please do not edit this page to recommend Qt 4! Qt 4 is several years old and contains a version of WebKit with many serious defects. Support for Qt 4 will be dropped in any future feature releases and is not supported by the capybara-webkit team. If you add instructions to this page, please make sure your instructions build using Qt 5. Thanks for contributing! Instructions for Installing capybara-webkit depends on a WebKit implementation from Qt, a cross-platform development toolkit. You'll need to download the Qt libraries to build and install the gem. You should install at least version 5.0, as the 4.8 series is now fairly old and contains a number of bugs that have since been fixed. If you get an error when building, along the lines of fatal error: QObject: No such file or directory, you might be attempting the build against an older version of Qt. Make sure that the qmake in your PATH links to the latest version of Qt you have installed. which qmake # to see where it links rm `which qmake` # IF it is linking to an old version Table of Contents macOS Sierra 10.12 XCode 8.0 OS X El Capitan 10.11 and Yosemite 10.10 Homebrew Macports OS X Mavericks 10.9 and Mountain Lion 10.8 Qt Official Distribution Homebrew Video playback (mp4) on OSX requires Qt 5 OS X Lion 10.7 Homebrew Macports Debian testing, unstable, stable (wheezy, Jessie), gitlab-ci, Ubuntu Ubuntu Trusty (14.04) Fedora Fedora 16 Fedora 23, 24 Gentoo Linux Arch Linux openSUSE 13.2, openSUSE Leap 42.1 CentOS 7 CentOS 6.7 CentOS 5.8 (and possibly below) FreeBSD Windows macOS Sierra 10.12 Qt 5.5 compilation is broken on Sierra, but we can work around that by directly u