Skip to content

Make qt5 the default version#485

Merged
dstoup merged 2 commits into
Kitware:masterfrom
dstoup:qt5-default
Mar 20, 2019
Merged

Make qt5 the default version#485
dstoup merged 2 commits into
Kitware:masterfrom
dstoup:qt5-default

Conversation

@dstoup

@dstoup dstoup commented Jan 30, 2019

Copy link
Copy Markdown
Collaborator

Several open source offerings now depend on Qt 5. This PR is initially a test run to see if it builds everywhere before we make a final decision.

@mleotta

mleotta commented Jan 30, 2019

Copy link
Copy Markdown
Member

Big 👍 on this. Qt5 should be the default in Fletch and Qt4 should be a supported option for packages that haven't upgraded yet. Making Qt5 the default may provide more incentive for those Qt4 users to upgrade. We aren't going to support Qt4 forever.

TeleSculptor (aka MAP-Tk) now requires Qt5. The CI for that project is failing because it uses the packaged nightly dashboard build of Fletch to shorten build times and the default Fletch doesn't have Qt5.

@dstoup

dstoup commented Jan 30, 2019

Copy link
Copy Markdown
Collaborator Author

To further add to Matt's comments, there is a component in kwiver now too that relies on Qt 5 and is untested because it is disabled because of Qt 4. I had forgotten about that one earlier.

@kwcvrobot

Copy link
Copy Markdown
Collaborator

@kwcvrobot

Copy link
Copy Markdown
Collaborator

@dstoup

dstoup commented Jan 30, 2019

Copy link
Copy Markdown
Collaborator Author

The zlib issue that's failing is something that @chetnieter or @mwoehlke-kitware fixed at one point, I thought for Qt 5. Maybe there was a version bump that missed the patch?

@kwcvrobot

Copy link
Copy Markdown
Collaborator

@Cookt2

Cookt2 commented Feb 1, 2019

Copy link
Copy Markdown
Contributor

To elaborate on the various errors this branch has:

Linux:
fails on qtExtensions

/home/kitware/jenkins/workspace/FletchLinuxPR/build/install/bin/moc: error while loading shared libraries: libzlib.so: cannot open shared object file: No such file or directory

We could apply a similar patch Qt got(for finding zlib) to qtExtensions.

Mac:
Qt5 builds fine, qtExtensions fails

Users/kitware/Jenkins/workspace/FletchMacPR/build/buildqtExtensions/designer/qtOverlayWidgetInterface.h:18: Error: Undefined interface
/Users/kitware/Jenkins/workspace/FletchMacPR/build/buildqtExtensions/designer/qtDoubleSliderInterface.h:18: Error: Undefined interface
/Users/kitware/Jenkins/workspace/FletchMacPR/build/buildqtExtensions/designer/qtProgressWidgetInterface.h:18: Error: Undefined interface
/Users/kitware/Jenkins/workspace/FletchMacPR/build/buildqtExtensions/designer/qtThrobberInterface.h:18: Error: Undefined interface
/Users/kitware/Jenkins/workspace/FletchMacPR/build/buildqtExtensions/designer/qtExpanderInterface.h:18: Error: Undefined interface
/Users/kitware/Jenkins/workspace/FletchMacPR/build/buildqtExtensions/designer/qtColorButtonInterface.h:18: Error: Undefined interface
/Users/kitware/Jenkins/workspace/FletchMacPR/build/buildqtExtensions/designer/qtSqueezedLabelInterface.h:18: Error: Undefined interface

Not sure about this one, maybe @mwoehlke-kitware has an idea?

Windows:
Qt5 build fails

C:\Users\kitware.KHQ\workspace\FletchWindowsPR\build\build\src\Qt\qtbase\src\3rdparty\angle\src\libANGLE\renderer\d3d\d3d11\load_functions_table_autogen.cpp : fatal error C1083: Cannot open compiler generated file: '': Invalid argument

I believe this is related to the argument path hitting the windows path limit.

@mwoehlke-kitware

Copy link
Copy Markdown
Member

The macOS build error should be fixed by Kitware/qtextensions#19. I would appreciate if some folks that have previously had issues could test.

@Cookt2

Cookt2 commented Feb 5, 2019

Copy link
Copy Markdown
Contributor

The macOS build error should be fixed by Kitware/qtextensions#19. I would appreciate if some folks that have previously had issues could test.

I'm testing this now! Thanks for this.

@mleotta

mleotta commented Feb 8, 2019

Copy link
Copy Markdown
Member

@dstoup could you please rebase this on the latest master. @mwoehlke-kitware has merged some changes to Qt extensions which should fix the mac build errors. The other changes we need to address on the Jenkins CI machines (at least for now). Those are:

  1. On Windows make sure the root of the fletch build is short to avoid errors due to long file paths.
  2. On Linux we need to set LD_LIBRARY_PATH=$fletch_ROOT/install/lib before building (at least until we have a better solution).

@Cookt2 can you address those items on the Jenkins CI machines?

@Cookt2

Cookt2 commented Feb 11, 2019

Copy link
Copy Markdown
Contributor

@dstoup could you please rebase this on the latest master. @mwoehlke-kitware has merged some changes to Qt extensions which should fix the mac build errors. The other changes we need to address on the Jenkins CI machines (at least for now). Those are:

  1. On Windows make sure the root of the fletch build is short to avoid errors due to long file paths.
  2. On Linux we need to set LD_LIBRARY_PATH=$fletch_ROOT/install/lib before building (at least until we have a better solution).

@Cookt2 can you address those items on the Jenkins CI machines?

Done. The changes should be present in the current dashboard run. (if not, the next.)

@dstoup

dstoup commented Feb 11, 2019 via email

Copy link
Copy Markdown
Collaborator Author

@kwcvrobot

Copy link
Copy Markdown
Collaborator

@kwcvrobot

Copy link
Copy Markdown
Collaborator

@kwcvrobot

Copy link
Copy Markdown
Collaborator

@Cookt2

Cookt2 commented Feb 11, 2019

Copy link
Copy Markdown
Contributor

Jenkins test this please

@kwcvrobot

Copy link
Copy Markdown
Collaborator

@kwcvrobot

Copy link
Copy Markdown
Collaborator

@kwcvrobot

Copy link
Copy Markdown
Collaborator

@kwcvrobot

Copy link
Copy Markdown
Collaborator

@kwcvrobot

Copy link
Copy Markdown
Collaborator

@kwcvrobot

Copy link
Copy Markdown
Collaborator

@kwcvrobot

Copy link
Copy Markdown
Collaborator

@kwcvrobot

Copy link
Copy Markdown
Collaborator

@kwcvrobot

Copy link
Copy Markdown
Collaborator

@dstoup

dstoup commented Mar 20, 2019

Copy link
Copy Markdown
Collaborator Author

Finally Qt5 looks good. There are kwiver issues, but I think they are still related to the recent image changes. I will have to bisect there again today and see why, but this branch is ready to go when consensus says we should.

@mleotta

mleotta commented Mar 20, 2019

Copy link
Copy Markdown
Member

You have my vote

@dstoup

dstoup commented Mar 20, 2019

Copy link
Copy Markdown
Collaborator Author

You have my vote

Thanks Matt, you were the number 1 person I was going to ask. I think everyone else is onboard.

@mwoehlke-kitware

Copy link
Copy Markdown
Member

You have my vote

Likewise 👍

@Cookt2

Cookt2 commented Mar 20, 2019

Copy link
Copy Markdown
Contributor

+1!

@dstoup dstoup merged commit 7916821 into Kitware:master Mar 20, 2019
@dstoup dstoup deleted the qt5-default branch March 21, 2019 20:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants