[Qt-interest] Ulternative to qmake
yogesh upreti
yogesh.upreti at gmail.com
Sat Sep 11 01:25:00 CEST 2010
Hi Gopal,
I have installed cmake 2.8
I have make this CMakeLists.txt file.
Now what, how do I build?
On Fri, Sep 10, 2010 at 10:33 AM, Gopalakrishna Bhat
<gopalakbhat at gmail.com>wrote:
> A simple conversion would be
>
> 1)replacing QT+= network dbus
>
> by
>
> SET(QT_USE_QTDBUS 1)
> SET(QT_USE_QTNETWORK TRUE)
>
> INCLUDE(${QT_USE_FILE})
>
> 2) RESOURCES += filexyz.qrc filexyz2.qrc
>
> QT4_ADD_RESOURCES(App_RCC_SRCS filexyz.qrc filexyz3.qrc)
>
> 3) UI += mainwindow.ui
>
> QT4_WRAP_UI(AppUiSrc mainwindow.ui)
>
> 4) HEADERS += mainwindow.h
>
> QT4_WRAP_CPP(AppMocSrc mainwindow.h) //all headers
>
> 3) SOURCES += file1.cpp by
>
> add_executable(App main.cpp mainwindow.cpp ${AppMocSrc} ${AppUiSrc}
> ${App_RCC_SRCS} )
>
>
> Hope this might be helpful
>
>
> On Fri, Sep 10, 2010 at 1:46 PM, yogesh upreti <yogesh.upreti at gmail.com>wrote:
>
>> thanks for the link again.
>> I will try to make it work. I am not able to get qmake working any way in
>> my m/c may be I have to find a better turorials for cmake somehow.
>> Let me have a look at this for a movement.
>>
>> On Fri, Sep 10, 2010 at 10:08 AM, Gopalakrishna Bhat <
>> gopalakbhat at gmail.com> wrote:
>>
>>>
>>> cmake is not a KDE specific command it can be used on a Windows machine.
>>> Though I have not used it you can download the executable form
>>> http://www.cmake.org/cmake/resources/software.html .
>>>
>>> If you find this difficult then you have to correct your qmake
>>> installation.
>>>
>>>
>>>
>>> On Fri, Sep 10, 2010 at 1:29 PM, yogesh upreti <yogesh.upreti at gmail.com>wrote:
>>>
>>>> Thanks for the link.
>>>> But for a beginner its too much advance knowladge.
>>>> secondly I am using Windows Vista. No idea if these KDE commands will
>>>> work there. :(
>>>>
>>>> On Fri, Sep 10, 2010 at 9:46 AM, Gopalakrishna Bhat <
>>>> gopalakbhat at gmail.com> wrote:
>>>>
>>>>> This contains pretty good information about cmake with demo examples
>>>>>
>>>>> http://qtnode.net/wiki/Qt4_with_cmake
>>>>>
>>>>> On Fri, Sep 10, 2010 at 1:12 PM, yogesh upreti <
>>>>> yogesh.upreti at gmail.com> wrote:
>>>>>
>>>>>> Hi Gopal,
>>>>>> Thanks for reply. Do you have a link where I can find cmake for qt
>>>>>> 4.6.3 ?
>>>>>>
>>>>>> On Fri, Sep 10, 2010 at 9:26 AM, Gopalakrishna Bhat <
>>>>>> gopalakbhat at gmail.com> wrote:
>>>>>>
>>>>>>> Hello,
>>>>>>>
>>>>>>> You can use cmake for your projects if you find qmake hanging.
>>>>>>>
>>>>>>> With regards,
>>>>>>> Gopalakrishna Bhat A
>>>>>>>
>>>>>>> On Fri, Sep 10, 2010 at 12:38 PM, yogesh upreti <
>>>>>>> yogesh.upreti at gmail.com> wrote:
>>>>>>>
>>>>>>>> Hallo group,
>>>>>>>> What are the other way to compile my project then qmake?
>>>>>>>> qmake is not working in my laptop anymore, whenever I start it hangs
>>>>>>>> and nothing happens.
>>>>>>>> Is there another way to build a project?
>>>>>>>>
>>>>>>>> Regards,
>>>>>>>> Yogesh Upreti
>>>>>>>>
>>>>>>>>
>>>>>>>> _______________________________________________
>>>>>>>> Qt-interest mailing list
>>>>>>>> Qt-interest at trolltech.com
>>>>>>>> http://lists.trolltech.com/mailman/listinfo/qt-interest
>>>>>>>>
>>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> --
>>>>>>> My blog http://gkbhat.blogspot.com
>>>>>>>
>>>>>>
>>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> My blog http://gkbhat.blogspot.com
>>>>>
>>>>
>>>>
>>>
>>>
>>> --
>>> My blog http://gkbhat.blogspot.com
>>>
>>
>>
>
>
> --
> My blog http://gkbhat.blogspot.com
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20100911/0e68850d/attachment.html
More information about the Qt-interest-old
mailing list