Qmake Syntax Error
Contents |
it enabled. Please turn JavaScript back on and reload this page.More Discussions in i.MX Community Where is this place located?NXP CommunityAll Placesi.MX CommunityLog in to create and rate content, and to follow, bookmark, and share content with other members.qmake: 1: Syntax line 1 syntax error word unexpected expecting error: word unexpected (expecting ")")Discussion created by Hitesh Sharma on Feb 8, 2012Latest syntax error word unexpected (expecting ) ) makefile reply on Feb 14, 2012 by Hitesh Sharma Like • Show 0 Likes0 Comment • 7HiI am trying to cross syntax error word unexpected (expecting ) ) shell script 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 ideasThanksHiteshOutcomesVisibility: i.MX Community2785 ViewsLast modified on Feb 8,
Emulator Syntax Error Word Unexpected Expecting
2012 2:47 AMTags:ning_discContent tagged with ning_discThis content has been marked as final. Show 7 comments7 RepliesNameEmail AddressWebsite AddressName(Required)Email Address(Required, will not be published)Website AddressKrishnaPavan Feb 8, 2012 2:51 AMAre you sure qmake is in usr/bin.As far as I know, it will be in /bin in the QtSDK DirectoryRegards :: Krishna PavanLike • Show 0 Likes0 Actions Hitesh Sharma Feb 8, 2012 3:09 AMHiThanks for quick replyI tried syntax error word unexpected (expecting ) ) ubuntu with qmake in /bin. Still I am getting errorbin/qmake: 1: Syntax error: word unexpected (expecting ")")RegardsHiteshLike • Show 0 Likes0 Actions KrishnaPavan Feb 8, 2012 3:14 AMHi,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 PavanLike • Show 0 Likes0 Actions Hitesh Sharma Feb 8, 2012 3:47 AMHi"qmake " is in the folder /binand I am using qmake which is present for the target not the one which is there when i installed qt.ThanksHiteshLike • Show 0 Likes0 Actions Hitesh Sharma Feb 13, 2012 10:32 PMHiany other ideasThanksHiteshLike • Show 0 Likes0 Actions KrishnaPavan Feb 13, 2012 10:42 PMHi,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 PavanLike • Show 0 Likes0 Actions Hitesh Sharma Feb 14, 2012 4:26 AMHiThanks
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 python syntax error: word unexpected (expecting ")") Overflow the company Business Learn more about hiring developers or posting ads with us Stack
Syntax Error: Word Unexpected (expecting ")") Bash
Overflow Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community
Syntax Error Word Unexpected (expecting ) ) Android Studio
of 6.2 million programmers, just like you, helping each other. Join them; it only takes a minute: Sign up Syntax error: word unexpected (expecting “)”) up vote 1 down vote favorite Problem in short- In linux https://community.nxp.com/thread/277546 whenever we get the following error "Syntax error: word unexpected (expecting ")")", what does it generally mean? Problem in details- I have been trying to cross-compile Qt-4.6 as per Sourcery tool chain on Ubuntu 10.04. I followed the exact steps mentioned at the link compiling Qt-4.6. But I get the following error right in the ./configure step - /home/weds/qt-everywhere-opensource-src-4.6.1/bin/qmake: 1: Syntax error: word unexpected (expecting ")") Searching in internet I found http://stackoverflow.com/questions/36725864/syntax-error-word-unexpected-expecting lots of posts regarding this error. Read all of them. But still clueless as to What this error is and How to solve it. I would be glad if someone would help me in understanding this error. P.S 1- Sourcery toolchain is present inside /opt/ folder and my PATH variable is correctly pointing to it. P.S 2- This toolchain was not installed manually by me. Rather it was provided by a vendor as a .tgz file which I extracted inside /opt/ folder. arm qt4 share|improve this question asked Apr 19 at 13:53 satya prakash Panigrahi 813 migrated from unix.stackexchange.com Apr 19 at 17:50 This question came from our site for users of Linux, FreeBSD and other Un*x-like operating systems. add a comment| 3 Answers 3 active oldest votes up vote 1 down vote accepted An answer to this seems to be posted in the instructions to which you linked. Admittedly it's a long way down in the comments but it didn't take long to search for qmake: Syntax error: word unexpected. Quote: Tej says: January 4, 2013 at 12:20 pm Ok, I have solved the Problem. Its very unfortunate that ppl did not tell what actually is the problem. Problem is we have to use Host qmake. For that whatever Export (export PATH=/usr/local/a
I've read some topics about installing QT, and I've decided to install it myself too. I've used installing manual from Paolo: http://www.sereno-online.com/site/2010/05/01/qt-4-6-2-installation-proce... It needed http://www.friendlyarm.net/forum/topic/1354 some changes but finally it started to compile but it stoped and I received error: [...] /home/tomek/Pobieranie/qt-everywhere-opensource-src-4.6.2/bin/qmake: 1: Syntax error: word unexpected http://raspberrypi.stackexchange.com/questions/34019/syntax-error-word-unexpected-expecting-error-when-run-python-configure (expecting ")") /home/tomek/Pobieranie/qt-everywhere-opensource-src-4.6.2/bin/qmake: 1: Syntax error: word unexpected (expecting ")") /home/tomek/Pobieranie/qt-everywhere-opensource-src-4.6.2/bin/qmake: 1: Syntax error: word unexpected (expecting ")") The tslib functionality test syntax error failed! You might need to modify the include and library search paths by editing QMAKE_INCDIR and QMAKE_LIBDIR in /home/tomek/Pobieranie/qt-everywhere-opensource-src-4.6.2/mkspecs/qws/linux-arm -g++. And I have no idea what I should do now. I've tried to search for something about tslib but don't know what to do with syntax error word it. thanks in advance best regards Tomasz Tom 2010-07-05 10:30:12 Hi! I've cross compiled TSLIB and now I'm trying to cross compile QT with Paolo manual. I've got one error: /home/tomek/Pobieranie/qt-everywhere-opensource-src-4.6.2/bin/qmake: 1: Syntax error: word unexpected (expecting ")") /home/tomek/Pobieranie/qt-everywhere-opensource-src-4.6.2/bin/qmake: 1: Syntax error: word unexpected (expecting ")") The tslib functionality test failed! You might need to modify the include and library search paths by editing QMAKE_INCDIR and QMAKE_LIBDIR in /home/tomek/Pobieranie/qt-everywhere-opensource-src-4.6.2/mkspecs/qws/linux-arm -g++. What should I do now? Maybe something is wrong with paths? thanks in advance best regards Tomasz Anatoly 2011-08-14 20:15:31 May be it will help to anybody: I was try to correct QMAKE_INCDIR and QMAKE_LIBDIR variables but the problem was not solved. That may be if Qt and tslib compiled with different options -little-endian/-big-endian. I was work with mini6410 and made Qt co
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 the company Business Learn more about hiring developers or posting ads with us Raspberry Pi Questions Tags Users Badges Unanswered Ask Question _ Raspberry Pi Stack Exchange is a question and answer site for users and developers of hardware and software for Raspberry Pi. Join them; it only takes a minute: Sign up Here's how it works: Anybody can ask a question Anybody can answer The best answers are voted up and rise to the top Syntax error: word unexpected (expecting “)”) ERROR when run : python configure.py up vote 1 down vote favorite I followed this link to install PyQt5 on Raspbian. First I cross compiled Qt5 (this link) for Raspberry and executed an example. It worked fine. When executing this command: python configure.py --qmake ~/Qt5.3.1/5.3/gcc_64/bin/qmake --sip-incdir ../sip-4.16.5/siplib I received the following error: Querying qmake about your Qt installation... /usr/local/qt5pi/bin/qmake: 1: /usr/local/qt5pi/bin/qmake: ELF: not found /usr/local/qt5pi/bin/qmake: 2: /usr/local/qt5pi/bin/qmake: Syntax error: word unexpected (expecting ")") Error: PyQt5 requires Qt v5.0 or later. You seem to be using v3. Use the --qmake flag to specify the correct version of qmake. Did I do something wrong? software-installation qt share|improve this question edited Jul 31 '15 at 19:13 HeatfanJohn 2,01221228 asked Jul 31 '15 at 17:47 Mostafa Farzane 164 Are you running the python configure.py command on your Raspberry Pi? –HeatfanJohn Jul 31 '15 at 19:26 yes,I run: python configure.py --qmake ~/Qt5.3.1/5.3/gcc_64/bin/qmake --sip-incdir ../sip-4.16.5/siplib. and if I run python configure.py without any arguman it say: Error: Use the --qmake argument to explicitly specify a working Qt qmake –Mostafa Farzane Jul 31 '15 at 19:56 add a comment| active oldest votes Know someone who can answer? Share a link to this question via email, Google+, Twitter, or Facebook. Your Answer draft saved draft discarded Sign up or log in Sign up usin