[Smtk-developers] Qt5 build

Haocheng Liu haocheng.liu at kitware.com
Mon Jul 17 11:29:07 EDT 2017


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>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/smtk-developers/attachments/20170717/f5d63c5b/attachment.html>


More information about the Smtk-developers mailing list