Error Processing Project File Qtdirs.pro
] [ subject ] [ author ] On 19.06.07 12:19:19, techtonik wrote: > Phil Thompson
OS: linuxChecking for C++11 compliant compiler [g++]: 4.8 - tested okDetecting pointer size: 64 bitDetecting byte order: little-endianChecking for variable-length array support: yesChecking for non-POD variable-length array support: yesChecking for zlib compression library: 1.2.8Checking for Eigen 3 library: 3.2.0Checking shared library generation: yesChecking for Qt https://riverbankcomputing.com/pipermail/eric/2007-June/000374.html moc: moc (version 4.8.5)Checking for Qt qmake: qmake (version 4.8.5)Checking for Qt rcc: rcc (version 4.8.5)Checking for Qt: ERROR: qmake returned with error: QMAKESPEC has not been set, so configuration cannot be deduced.Error processing project file: /tmp/tmpqum2CE/qt.pro Sarbani http://community.mrtrix.org/t/error-processing-project-file-tmp-tmpexdmto-qt-pro/288 jdtournier 2016-06-10 09:12:15 UTC #2 This can be an annoying problem... In general, it's more a reflection that the necessary bits of Qt aren't all installed, or not configured properly, or there's several versions hanging around and conflicting with each other. See this old post for some possible suggestions. I'm guessing this is an Ubuntu 14.04 system? You'd need to look through your configure.log file for hints as to what might be going wrong. Feel free to post it here if you need help (use the [code] ... [/code] tags to keep things clean). Home Categories FAQ/Guidelines Terms of Service Privacy Policy Powered by Discourse, best viewed with JavaScript enabled
QtForum.org » Other Forums » C++ programming » Can't Build Anything - "Error processing project file" Dear visitor, welcome to QtForum.org. If this is your first visit here, please read the Help. It explains in detail how this page works. To use all features of this page, you http://www.qtforum.org/article/26476/can-t-build-anything-error-processing-project-file.html should consider registering. Please use the registration form, to register here or read more information about the registration process. If you are already registered, please login here. Skip user information Anunnaki Beginner Posts: 4 1 Wednesday, December 24th 2008, 12:19pm Can't http://python.6.x6.nabble.com/Problems-building-PyQt-snapshot-on-Win32-with-MinGW-all-details-included-td1913063.html Build Anything - "Error processing project file" I just installed Qt Creator, and it looks like a pretty solid IDE. I opened it up for the first time and tried to compile a program I had just finished using MS error processing Visual C++ 2008, but it didn't let me compile. I tried making a simple "Hello World" program, and I get the same error. This is it: Source code 1 2 3 4 Error processing project file: D:/.../blah.pro Exited with code 3. Error while building project blah When executing build step 'QMake' I noticed it's using forward slashes, which obviously is not valid for Windows, but I don't know if that has anything to do with the compile error. It won't error processing project let me edit the arguments in Projects | Build Steps, so I can't test that theory. Can someone help me with this, please? Go to the top of the page Skip user information stinos Intermediate Posts: 279 2 Sunday, January 4th 2009, 11:28am haven't used QT Creator myself, but try compiling the project from the commandline first, if that works the problem must be within the IDE (maybe check their forums?) btw forward slashes ARE valid for Windows, in fact you should use them everywhere in your code: suppose you migrate code to a unix platform, you won't be able to compile it if you use backward slashes madinsjamania Go to the top of the page Skip user information Anunnaki Beginner Posts: 4 3 Sunday, January 4th 2009, 11:48am Quoted from "stinos" haven't used QT Creator myself, but try compiling the project from the commandline first, if that works the problem must be within the IDE (maybe check their forums?) Well, the source code in question compiles in every other program I have (Visual Studio 2008, Code::Blocks using g++); I'm not sure how to do it from the command line in Windows. I'll try posting in a different section of the forums. Quoted from "stinos" btw forward slashes ARE valid for Windows, in fact you should use them everywhere in your code: suppose you migrate code to a unix platform, you won't be able to compile it if you us
♦ ♦ Locked 19 messages Martin Blais-2 Reply | Threaded Open this post in threaded view ♦ ♦ | Report Content as Inappropriate ♦ ♦ Problems building PyQt snapshot on Win32 with MinGW -- all details included Hi guys I'm having problems building PyQt4 from source using MinGW under Windows XP. Here are the steps I went through, with detail about each of the problems. I'm hoping this information will help you fix some of the mess. I also hope that it will be convincing enough to make it obvious that it is a bit painful right now. 0. - I adjusted my PATH to include C:/MinGW/bin - I'm running all of the code below in a Cygwin bash shell. 1. I installed Qt-4.3.0 Open Source using the .exe file from trolltech's website. 2. Installing sip: since there is no Windows binary available for sip, I downloaded the snapshot source: sip-snapshot-20070704, unzipped it. From there I followed the instructions:: C:/Python25/python.exe configure.py -p win32-g++ make # using Cygwin's GNU make make install **ERROR**, this ``make install`` fails:: Administrator@mblais-690-01 /cygdrive/c/tmp/sip-snapshot-20070704 $ make install make[1]: Entering directory `/cygdrive/c/tmp/sip-snapshot-20070704/sipgen' /bin/sh: -c: line 1: syntax error: unexpected end of file make[1]: *** [install] Error 2 make[1]: Leaving directory `/cygdrive/c/tmp/sip-snapshot-20070704/sipgen' make: *** [install] Error 2 Workaround: I copied the files manually to the Python installation:: cp sip*.py siplib/sip.pyq C:/Python25/Lib/site-packages ``import sip`` works from Python. So I'm moving on. 3. Installing PyQt: same, I have to use the snapshot until there is a release for 4.3.0. I downloaded the snapshot (20080710), unpacked it, and am trying to configure it:: $ C:/Python25/python configure.py -p win32-g++ Determining the layout of your Qt installation... Error: Make sure you have a working Qt v4 qmake on your PATH or use the -q argument to explicitly specify a working Qt v4 qmake. So I look for qmake.exe in the Qt installation, and it is in C:/Qt/4.3.0/qmake/qmake.exe, so I do:: $ C:/Python25/python configure.py -p win32-g++ -q C:/Qt/4.3.0/qmake/qmake.exe -w Determining the layout of your Qt installation... C:\Qt\4.3.0\qmake\qmake.exe -o qtdirs.mk qtdirs.pro QMAKESPEC has not been set, so configuration cannot be deduced. Error processing project file: qtdirs.pro Error: C:\Qt\4.3.0\qmake\qmake.exe failed to create a makef