[Smtk-developers] Qt5 build

Haocheng Liu haocheng.liu at kitware.com
Mon Jul 17 13:54:12 EDT 2017


Hi David,

Would you please try the following smtk patch?
It should iron out most of the errors. For my trial, the only problem is
about how to build qt5 with openssl enabled on Linux... A homebrew qt5 on
mac should be able to bypass the error as "qt5 cannot find openssl".

On Mon, Jul 17, 2017 at 11:29 AM, Haocheng Liu <haocheng.liu at kitware.com>
wrote:

>
>
> On Sat, Jul 15, 2017 at 4:09 PM, David Thompson <
> david.thompson at kitware.com> wrote:
>
>> Hi all,
>>
>> Has anyone got SMTK building with Qt5 and SMTK_ENABLE_CUMULUS turned on?
>> I've hit a few errors so far:
>>
>> Nope... It fails on Linux as well. Cumulus needs love for qt5. I am
> looking into it right now.
>
>> + No QT5_COMPONENTS is specified in the CMakeLists; FindQt5.cmake
>> complains at least one component is required.
>> + jobtablewidget.cxx:44:34: error: no member named 'setResizeMode' in
>> 'QHeaderView'; did you mean 'sectionResizeMode'?
>>
> Yep. Qt5 Changed the API of QHeaderView.
>
>> + smtk/extension/cumulus/cumulusproxy.cxx fails to build because its
>> header does not appear to include <QObject> but the class inherits QObject.
>>
>> Am I doing something wrong or does smtkCumulusExt need to be updated for
>> Qt5?
>>
>>         Thanks,
>>         David
>> _______________________________________________
>> Smtk-developers mailing list
>> Smtk-developers at smtk.org
>> http://public.kitware.com/mailman/listinfo/smtk-developers
>>
>
>
>
> --
> Best regards
> Haocheng
>
> Haocheng LIU
> Kitware, Inc.
> R&D Engineer
> 21 Corporate Drive
> Clifton Park, NY 12065-8662
> Phone: 518-881-4421 <(518)%20881-4421>
>



-- 
Best regards
Haocheng

Haocheng LIU
Kitware, Inc.
R&D Engineer
21 Corporate Drive
Clifton Park, NY 12065-8662
Phone: 518-881-4421 <(518)%20881-4421>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/smtk-developers/attachments/20170717/336b000f/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smtk.patch
Type: text/x-patch
Size: 4405 bytes
Desc: not available
URL: <http://public.kitware.com/pipermail/smtk-developers/attachments/20170717/336b000f/attachment.bin>


More information about the Smtk-developers mailing list