On Mon, Mar 03, 2014 at 09:44:15AM +0100, Fabio Cobianchi wrote:
> When I try to built it I get:
> 
> 09:33:41: Starting: "/usr/lib/x86_64-linux-gnu/qt5/bin/qmake" 
> '/home/ufftec/arm/codici_sblocco/eurtronik_service (copia)/service.pro' -r 
> -spec linux-g++-64 CONFIG+=debug CONFIG+=declarative_debug CONFIG+=qml_debug
> sh: 1: Syntax error: "(" unexpected
> sh: 1: Syntax error: "(" unexpected
> 09:33:41: The process "/usr/lib/x86_64-linux-gnu/qt5/bin/qmake" exited 
> normally.
> 09:33:41: Starting: "/usr/bin/make" 
> /usr/lib/x86_64-linux-gnu/qt5/bin/uic ../eurtronik_service\ 
> (copia)/mainwindow.ui -o ui_mainwindow.h
> /bin/sh: 1: Syntax error: "(" unexpected
> make: *** [ui_mainwindow.h] Error 2
> 09:33:41: The process "/usr/bin/make" exited with code 2.
> 
> It seems that the parenthesis are not escaped.


Yes, yes. Please rename your directories.

This problem is a limitation in qmake *and* in QProcess. Do not use
spaces or other things that require quotes in your path. It can result
in bad results.

For example,


   :/tmp/foo \(foo\)$ ls 
   test.cpp

   :/tmp/foo \(foo\)$ qmake -project
   :/tmp/foo \(foo\)$ ls -l

   total 4
   -rw-r--r-- 1 adamm adamm 292 Mar  3 11:03 foo \(foo\).pro
   -rw-r--r-- 1 adamm adamm   0 Mar  3 11:01 test.cpp

   :/tmp/foo \(foo\)$ qmake
   Cannot find file: /tmp/foo /(foo/)/foo /(foo/).pro.

This is using Qt from Git, as of last week.

- Adam


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to