EmbLogic's Blog

problem in qmake in Qt5.5

today i was about to start my first QT project  and after typing my first qt application ,

when i tried to qmake my project using ,

qmake -project

it was showing that couldn’t locate qmake

/usr/lib/i386-linux-gnu/qt4/bin/

so actually it was not able to locate the qmake command to make our project

and in qt 5.5 our qmake command is located at location :

/opt/Qt/5.5/gcc/bin/

so what i have to do is to install the default qt file using command

apt-get install qt5-default

so this will create a directory

/usr/lib/i386-linux-gnu/qt-default/

so it has a qmake file

simply open it and add your qmake file address to this file at the first place

/opt/Qt/5.5/gcc/bin/

then save the file and go to your project directory and give the qmake -project command

now your project will start to run your qmake commands

now you  can do your other following steps

it worked for me

thanks

varun

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>