Compilation error 3.4.1:'QX11Application' is not a member of 'QNativeInterface' #19607
Replies: 6 comments 2 replies
-
You will want to check qtbase-everywhere-src-6.4.2-build/config.summary for items related to X11 and xcb. If it doesn't look like what's listed below, it is likely that your system is missing some of the related requirements.
Here is a list of packages I needed to install when I was building in a Rocky 8.9 Docker container:
|
Beta Was this translation helpful? Give feedback.
-
Thanks for the quick reply. The system is missing some of the dependencies:
I'll contact the system admins. |
Beta Was this translation helpful? Give feedback.
-
@biagas The admins have installed additional packages. To recompile do you recommend a) removing all of the directories in 3.4.1-build/* or b) removing 3.4.1-build/visit3.4.1/ before issuing the build_visit command. The time to recompile is much shorter for option b. Thanks |
Beta Was this translation helpful? Give feedback.
-
@tharman-git Qt and anything that depends on it will need to be rebuilt. So, remove Qt, VTK, Qwt, Xdmf dirs from both the 3.4.1-build as well as 3.4.1-build/third_party along with 3.4.1-build/visit3.4.1 |
Beta Was this translation helpful? Give feedback.
-
Converting this to a discussion. |
Beta Was this translation helpful? Give feedback.
-
Hello, I've been using this helpful thread to work on building Visit for another ARM64 system, based on an Ampere Altra (Neoverse N1) SOC, on Ubuntu 22.04.4 (Server), and have successfully built Visit but then run into a problem: After successfully building visit, I first deleted an old, incompatible version of visit: If I run with this flag it runs fine, but there is of course no display window: Thanks so much for your help! Here's my workflow: Downloaded the 3.4.1 build script and changed these lines per @tharman-git's other discussion threads: |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Greetings,
I'm hitting a compilation error:
3.4.1-build/visit3.4.1/src/winutil/WindowMetrics.C:211:71: error: 'QX11Application' is not a member of 'QNativeInterface' 3.4.1-build/visit3.4.1/src/winutil/WindowMetrics.C:211:87: error: no matching function for call to 'QApplication::nativeInterface<<expression error> >()' 3.4.1-build/visit3.4.1/src/winutil/WindowMetrics.C:211:87: error: template argument 1 is invalid 3.4.1-build/visit3.4.1/src/winutil/WindowMetrics.C:480:71: error: 'QX11Application' is not a member of 'QNativeInterface' 3.4.1-build/visit3.4.1/src/winutil/WindowMetrics.C:480:87: error: no matching function for call to 'QApplication::nativeInterface<<expression error> >()' 3.4.1-build/visit3.4.1/src/winutil/WindowMetrics.C:480:87: error: template argument 1 is invalid 3.4.1-build/visit3.4.1/src/winutil/WindowMetrics.C:662:71: error: 'QX11Application' is not a member of 'QNativeInterface' 3.4.1-build/visit3.4.1/src/winutil/WindowMetrics.C:662:87: error: no matching function for call to 'QApplication::nativeInterface<<expression error> >()' 3.4.1-build/visit3.4.1/src/winutil/WindowMetrics.C:662:87: error: template argument 1 is invalid
with the command:
build_visit3_4_1 --parallel --uintah --no-icet --mesagl --llvm --no-sphinx --skip-opengl-context-check --mpich --system-cmake --qt6 --vtk9 --visit --makeflags -j10
Attached is the log file.
build_visit3_4_1_log.gz
I'm compiling this on a cluster that is running:
Rocky Linux 8.8
with the modules:
Thanks for any insight you may have.
Todd Harman
University of Utah
Beta Was this translation helpful? Give feedback.
All reactions