[Interest] Well, I'm kind of irritated by QtCreator...

Bob Hood bhood2 at comcast.net
Tue Oct 20 19:52:55 CEST 2015


I'm trying to work on a subproject of a larger application, and I am kind of 
irritated by QtCreator's inability to handle invalid command line characters.  
I cannot change the folder names I must reference for things like headers and 
link libraries, and those paths contain parentheses.  QtCreator is choking on 
these characters:

     g++ -c -pipe -g -std=c++0x -Wall -W -D_REENTRANT -fPIC -DQT_NETWORK_LIB 
-DQT_CORE_LIB -I../Mediator -I. -I../Source\ (Shared)/Processing/  ...
     /bin/sh: 1: Syntax error: "(" unexpected
     make: *** [main.o] Error 2
     10:56:44: The process "/usr/bin/make" exited with code 2.

I cannot change the names of these paths I must reference, nor can I ask them 
to change the folder names to suite my chosen IDE.  I can escape the paths 
when I am referencing them explicitly (e.g., "../Source 
\\(Shared\\)/Processing/..." seems to work), but when I have to use something 
like $$PWD, everything breaks because the characters are not properly escaped.

Any tricks I can apply to overcome this?  Otherwise, can somebody point me to 
the location in QtCreator where these command-line fix-ups are performed?  I 
guess I'll have to divert some time to see if I can apply corrections if I 
want to keep using this IDE.




More information about the Interest mailing list