Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bv_qt.sh patch for X11 lib location wrong on some linux systems #5777

Closed
biagas opened this issue Jun 14, 2021 · 3 comments
Closed

bv_qt.sh patch for X11 lib location wrong on some linux systems #5777

biagas opened this issue Jun 14, 2021 · 3 comments
Assignees
Labels
bug Something isn't working impact medium Productivity partially degraded (not easily mitigated bug) or improved (enhancement) likelihood medium Neither low nor high likelihood priority a priority ticket reviewed Issue has been reviewed and labeled by a developer
Milestone

Comments

@biagas
Copy link
Contributor

biagas commented Jun 14, 2021

Describe the bug

From SRE 282, customer running linux Mint, and X11 lib location is /usr/lib/x86_64-linux-gnu, but our patches for qt's linux-g++-64/qmake.conf specifies /usr/lib64 as location for X11 lib.

Do we need a way to query the system for X11 location and apply different patches based on location?

Or is there a different way to tell Qt where to search for X11?

Desktop

  • OS and version: linux Mint
  • VisIt Version: 3.2.0
@biagas biagas added bug Something isn't working likelihood medium Neither low nor high likelihood impact medium Productivity partially degraded (not easily mitigated bug) or improved (enhancement) labels Jun 14, 2021
@brugger1 brugger1 added priority a priority ticket reviewed Issue has been reviewed and labeled by a developer labels Jun 24, 2021
@brugger1 brugger1 self-assigned this Jun 24, 2021
@brugger1 brugger1 added this to the 3.2.2 milestone Jun 24, 2021
@brugger1
Copy link
Collaborator

We should see what newer versions of Qt are doing to handle this and follow what they are doing.

@biagas
Copy link
Contributor Author

biagas commented Oct 15, 2021

I took a look at Qt 6 series, there doesn't seem to be anything new with the mkspecs files in regards to location for X11.
We still have to modify a mkspec to point to the correct location for a particular system.

Perhaps we could write a platform-specific .conf file on-the-fly, have it include the linux-g++-x64/qmake.conf but then override the X11 and OpenGL locations.

@biagas
Copy link
Contributor Author

biagas commented Oct 27, 2021

I created a Linux Mint Docker container, filled it with the usual development packages and the necessary X11 and libxcb packages as spelled out in Qt's Linux Requirements doc and Building Qt 5 wiki

Qt built successfully with the X11 and libxcb plugins (xcbglintegrations), and VisIt packaged up successfully.

Given this information, I don't think any patches are necessary for Qt on Linux Mint.

@biagas biagas closed this as completed Oct 27, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working impact medium Productivity partially degraded (not easily mitigated bug) or improved (enhancement) likelihood medium Neither low nor high likelihood priority a priority ticket reviewed Issue has been reviewed and labeled by a developer
Projects
None yet
Development

No branches or pull requests

2 participants