qmake: 1: Syntax error: word unexpected (expecting ")")

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

qmake: 1: Syntax error: word unexpected (expecting ")")

4,975 Views
Hitex
Contributor I

Hi

I am trying to cross compile my program in imx 53 board. When i give "qmake -project" it is giving the following error.

/usr/bin/qmake: 1: Syntax error: word unexpected (expecting ")")

any ideas

Thanks

Hitesh

Tags (1)
0 Kudos
7 Replies

1,380 Views
Hitex
Contributor I

Hi

Thanks Krishna for reply

problem got solved when i re-installed libqt4-dev

Thanks

Hitesh

Krishna Pavan said:

Hi,

If you have a Qt IDE, then you can probably check with what file the error is in, because, in the process of creating make file, it checks that. You can easily identify within the IDE, if you have failed to insert braces.

Regards :: Krishna Pavan

0 Kudos

1,380 Views
KrishnaPavan
Contributor II

Hi,

If you have a Qt IDE, then you can probably check with what file the error is in, because, in the process of creating make file, it checks that. You can easily identify within the IDE, if you have failed to insert braces.

Regards :: Krishna Pavan

0 Kudos

1,380 Views
Hitex
Contributor I

Hi

any other ideas

Thanks

Hitesh

0 Kudos

1,380 Views
Hitex
Contributor I

Hi

"qmake " is in the folder /bin

and I am using qmake which is present for the target not the one which is there when i installed qt.

Thanks

Hitesh

0 Kudos

1,380 Views
KrishnaPavan
Contributor II

Hi,

You have to use your qmake thats present for the target [ uses Codesourcery tool chain ] and not that is present when you installed Qt on your machine [ uses native gcc ].

Both are different.

Run sudo find / -name "qmake" to find out where your qmake is.

Regards :: Krishna Pavan

0 Kudos

1,380 Views
Hitex
Contributor I

Hi

Thanks for quick reply

I tried with qmake in /bin. Still I am getting error

bin/qmake: 1: Syntax error: word unexpected (expecting ")")

Regards

Hitesh

0 Kudos

1,380 Views
KrishnaPavan
Contributor II

Are you sure qmake is in usr/bin.

As far as I know, it will be in /bin in the QtSDK Directory

Regards :: Krishna Pavan

0 Kudos