Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. QT5 interface for GEANT4 buged, in WSL2/X server
Forum Updated to NodeBB v4.3 + New Features

QT5 interface for GEANT4 buged, in WSL2/X server

Scheduled Pinned Locked Moved Unsolved Installation and Deployment
6 Posts 2 Posters 836 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • D Offline
    D Offline
    deleted403
    wrote on last edited by
    #1

    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
    test.gif

    Do you know if I compile QT5 from source it will resolve these issues ?

    Regards

    jsulmJ 1 Reply Last reply
    0
    • D deleted403

      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
      test.gif

      Do you know if I compile QT5 from source it will resolve these issues ?

      Regards

      jsulmJ Online
      jsulmJ Online
      jsulm
      Lifetime Qt Champion
      wrote on last edited by
      #2

      @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?

      https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      0
      • D Offline
        D Offline
        deleted403
        wrote on last edited by
        #3

        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

        jsulmJ 1 Reply Last reply
        0
        • D deleted403

          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

          jsulmJ Online
          jsulmJ Online
          jsulm
          Lifetime Qt Champion
          wrote on last edited by
          #4

          @Sid91 Please take a look at documentation: https://doc.qt.io/qt-5/layout.html

          https://forum.qt.io/topic/113070/qt-code-of-conduct

          1 Reply Last reply
          0
          • D Offline
            D Offline
            deleted403
            wrote on last edited by deleted403
            #5

            Hi thanks,
            So for your question I simply resize all the layout, by double-click on the upper part of the window or manually

            I didn't create this qt interface, it is done by the dev of geant4

            Regards

            1 Reply Last reply
            0
            • D Offline
              D Offline
              deleted403
              wrote on last edited by
              #6

              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 it

              Regards

              1 Reply Last reply
              0

              • Login

              • Login or register to search.
              • First post
                Last post
              0
              • Categories
              • Recent
              • Tags
              • Popular
              • Users
              • Groups
              • Search
              • Get Qt Extensions
              • Unsolved