QT5 interface for GEANT4 buged, in WSL2/X server
-
Hi
I'm able to use the toolkit GEANT4 with the QT5 interface, in WSL2 so through a X server. I used these commands on a 20.04 Ubentu distro to install QT5 :
sudo apt install qt5-default libxerces-c-dev gfortran python3-dev python3-numpy-dev libxpm-dev libxft-dev libxmu-dev libssl-dev libpcre3-dev xlibmesa-glu-dev libglew1.5-dev libftgl-dev libfftw3-dev libcfitsio-dev graphviz-dev libxml2-dev libgsl0-dev freeglut3 mesa-utils qt5-qmake libfontconfig libegl1-mesa libglu1-mesa libsm6 libxi6 libxrender1 mesa-glx mesa-common-dev
But I experience some bugs, when I rescale the window for example, it does not automaticly refresh the size of things contained in the window
Do you know if I compile QT5 from source it will resolve these issues ?
Regards
-
@Sid91 said in QT5 interface for GEANT4 buged, in WSL2/X server:
it does not automaticly refresh the size of things contained in the window
Do you use layouts to manage the size of widgets?
-
Hi okay I'm sorry, but I don't know what you mean by layout and widget..I'm a total novice in Qt
Regards
-
@Sid91 Please take a look at documentation: https://doc.qt.io/qt-5/layout.html
-
Hi thanks,
So for your question I simply resize all the layout, by double-click on the upper part of the window or manuallyI didn't create this qt interface, it is done by the dev of geant4
Regards
-
Hi nobody can help? At least, how I can change the default size of the window ?
So when I launch the program it will have the good size and no more need to resize itRegards