Error Processing Project File Qmake
on windows If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. Welcome to Qt Centre. Qt Centre is a community site devoted to programming in C++ using the Qt framework. Over 90 percent of questions asked here gets answered. If you are looking for information about Qt related issue — register and post your question. You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today! If you have any problems with the registration process or your account login, please contact us. + Reply to Thread Results 1 to 4 of 4 Thread: qmake can't process project file on windows Thread Tools Show Printable Version Subscribe to this Thread… Search Thread Advanced Search Display Linear Mode Switch to Hybrid Mode Switch to Threaded Mode 25th October 2008,07:18 #1 s-troz View Profile View Forum Posts View Blog Entries View Articles Beginner Join Date Oct 2008 Posts 3 Qt products Platforms qmake can't process project file on windows Hi I am experiencing a very strange error: I created a .pro file and a couple of source files on a linux machine, and after generating a Makefile and compiling successfully numerous times, committed them to an SVN repository, and checked out that repository on a windows machine. However, running qmake in the directory with the .pro file gives "Error processing project file: paintingeditor.pro", with no more information. I have tried removing various statements, qmake-ing other .pro files (which worked), changing the name of the directory to paintingeditor, and nothing works -- am I missing something totally obvious here? I can't seem to find any explanation for this problem. Running qmake -Wall prints out something about Operator= (Q_EXT_OBJ) changing previously set values or something like that, but the exact same message was printed with the other, working .pro files. I am using Qt 4.
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 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 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 Visual C++ http://www.qtcentre.org/threads/16685-qmake-can-t-process-project-file-on-windows 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 let me edit http://www.qtforum.org/article/26476/can-t-build-anything-error-processing-project-file.html 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 use backward slashes Well, if I
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 Us Learn more about Stack Overflow http://stackoverflow.com/questions/25316543/path-conflict-in-qt-creator the company Business Learn more about hiring developers or 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 4.7 https://forum.kde.org/viewtopic.php?f=305&t=20956 million programmers, just like you, helping each other. Join them; it only takes a minute: Sign up Path conflict in Qt Creator up vote 1 down vote favorite 1 On building a project on Qt Creator, error processing I get an error: Failure to read QMAKESPEC conf file /usr/share/qt4/mkspecs/linux-g++/qmake.conf. Error processing project file: /path/to/my/project/directory/project.pro 01:13:32: The process "/usr/bin/qmake-qt4" exited with code 3. Error while building/deploying project converter (kit: Qt 4.8.4 in PATH (System)) When executing step 'qmake' But when I executed locate qmake.conf on terminal, I found that the file was located at /usr/lib64/qt4/mkspecs/linux-g++/qmake.conf How do I configure Qt Creator to consider the correct path? qt4 qt-creator share|improve this question error processing project asked Aug 14 '14 at 19:55 Aditya 183 add a comment| 1 Answer 1 active oldest votes up vote 1 down vote accepted You can try and run qmake with -spec parameter $qmake -spec /usr/lib64/qt4/mkspecs/linux-g++/qmake.conf *.pro Or you can create a symbolic link to your new file at the location of the old file (that would make a permanent solution) #ln -s /usr/lib64/qt4/mkspecs/linux-g++/qmake.conf /usr/share/qt4/mkspecs/linux-g++/qmake.conf Or you can set environment variable QMAKESPEC to corespond to the new value QMAKESPEC = /usr/lib64/qt4/mkspecs/linux-g++/qmake.conf export QMAKESPEC To make it permanent add it to your .bashrc (or whichever shell you're using) share|improve this answer answered Aug 21 '14 at 12:10 prajmus 2,16931733 add a comment| Your Answer draft saved draft discarded Sign up or log in Sign up using Google Sign up using Facebook Sign up using Email and Password Post as a guest Name Email Post as a guest Name Email discard By posting your answer, you agree to the privacy policy and terms of service. Not the answer you're looking for? Browse other questions tagged qt4 qt-creator or ask your own question. asked 2 years ago viewed 867 times active 2 years ago Related 6stdout/cout from application launched from qt creator?2How do I remove the library paths that qmake automatically adds to the linker options0Cannot remove watch express
search Information The requested topic does not exist. Board index New Topic Find a Solution KDE Links Top Top The team • Delete all board cookies Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group © Copyright 2012 KDE Community Forum Team. All rights reserved.KDE Community Forums has no liability for any content or post. All messages belong to and are the opinion of their respective authors.KDE and K Desktop Environment are trademarks of KDE e.V. • For more details, contact the Forum Administrators.