[IGSTK-Users] How to know if QTWidget is built
Patrick Cheng
cheng at isis.georgetown.edu
Mon Aug 6 11:51:32 EDT 2007
Hi Vicent,
Sorry, I misunderstood your point. It looks like the Qt settings is
missing in IGSTKSandboxConfig.cmake, we will fix that.
Thank you,
Patrick
Vincent Gratsac wrote:
>
> I Patrick and thank you for your reply,
>
> I think my last mail was not clear, so I will explain my question with
> more details...
>
> I meant that my project includes IGSTK-Sandbox, which has to be compiled
> with Qt support.
> So I thought there would be an 'IGSTK_SANDBOX_USE_QT' variable ( or
> 'IGSTK_SANDBOX_QT_DIR' ) available in the IGSTKSandboxConfig.cmake.
> Thus, my CMakeLists.txt could check if IGSTK-Sandbox was built with Qt
> support. In fact, it would be the same thing than what currently exists
> for FLTK.
>
> But a such variable doesn't exists in the IGSTKSandboxConfig.cmake file
> and I didn't find a way to check that Qt support was activated.
>
> Do you mean that my CMakeLists has to check that igstkQTWidgetTest file
> exists ?
>
> I hope this mail is more explicit...
>
> Vincent
>
> Patrick Cheng a écrit :
>> Hi Vincent,
>>
>> If the Qt is being configured properly, there should be a
>> igstkQTWidgetTest.
>>
>> The Qt support needs QVTK from VTK. So make sure you build VTK package
>> with: VTK_USE_GUISUPPORT ON, and then turn on VTK_USE_QVTK as well.
>>
>> Patrick
>>
>> Vincent Gratsac wrote:
>>> Hi all,
>>>
>>> My project needs to know if the "IGSTKSandbox_USE_Qt" option has been
>>> activated by the user.
>>> What about presenting this value in the IGSTKSandboxConfig.cmake file
>>> (as the FLTK_DIR value for example) ?
>>> I know that Qt part is under development, so this is just a question...
>>>
>>> Thank you and have a nice day !
>>>
>>> Vincent Gratsac
>>>
>>
>>
>
>
More information about the IGSTK-Users
mailing list