[Qgis-developer] building qgis on centos

Marco Bernasocchi marco at bernawebdesign.ch
Wed Dec 7 05:50:37 EST 2011


You need to pass it to cmake (or ccmake if you use it). Just try with
comand line first like
Cd builddir
cmake -DQT_QMAKE_EXECUTABLE=/path/to/qmake ..
On Dec 7, 2011 11:44 AM, "santhosh shirrali" <santhoshenc at gmail.com> wrote:

> hi
>
> thank you for the replay i have pass to .bshrc or just type commnd on the
> command line
>
> regards
> Santhosh
>
>
> On Wed, Dec 7, 2011 at 4:09 PM, Marco Bernasocchi <marco at bernawebdesign.ch
> > wrote:
>
>> Try passing: -DQT_QMAKE_EXECUTABLE=PATHTOQMAKE
>> On Dec 7, 2011 11:33 AM, "santhosh shirrali" <santhoshenc at gmail.com>
>> wrote:
>>
>>> hi
>>> iam installed qtsdk to my system  to me and and export path of qmake by
>>> typing command and also included in .bashrc profile and now iam getting
>>> these errors i iam totally blank.
>>>
>>> on my system path variable is like this
>>>
>>> export PATH=$PATH:/opt/QtSDK/Desktop/Qt/474/gcc/bin/qmake
>>> export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/opt/QTSDK/Desktop/Qt/474/gcc/lib
>>>
>>> errors
>>>
>>> CMake Error at /usr/share/cmake/Modules/FindQt4.cmake:1625 (MESSAGE):
>>>    Qt qmake not found!
>>>  Call Stack (most recent call first):
>>>    CMakeLists.txt:184 (FIND_PACKAGE)
>>>
>>> regards
>>> Santhosh
>>>
>>>
>>> _______________________________________________
>>> Qgis-developer mailing list
>>> Qgis-developer at lists.osgeo.org
>>> http://lists.osgeo.org/mailman/listinfo/qgis-developer
>>>
>>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/qgis-developer/attachments/20111207/dfc224bc/attachment.html


More information about the Qgis-developer mailing list