Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Path problems
Forum Updated to NodeBB v4.3 + New Features

Path problems

Scheduled Pinned Locked Moved Unsolved General and Desktop
6 Posts 3 Posters 1.9k Views 3 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.
  • C Offline
    C Offline
    Chisum
    wrote on 28 Apr 2017, 22:38 last edited by
    #1

    I am running PCLinuxOS. I have fixed a couple of problems with their implementation of Qt. When I run Creator, it does not display the examples. I have found the examples in:
    /usr/lib64/qt5/examples

    Qt Creator shows in the upper left of the front page that the path is set to:
    Qt 5.6.2 in PATH (SYSTEM)

    But I cannot change or add to this. I do see in:
    /usr/lib64/qt5/bin/qtpaths

    I opened it in Konsole. But I am unsure how to add the correct path. OR could I just move the examples directory to the QT Creator directory or what...

    I will then make the changes for my personal copy and contact the maintainers and tell them how to fix this for all using this distro.

    gary

    M 1 Reply Last reply 28 Apr 2017, 23:03
    0
    • C Chisum
      28 Apr 2017, 22:38

      I am running PCLinuxOS. I have fixed a couple of problems with their implementation of Qt. When I run Creator, it does not display the examples. I have found the examples in:
      /usr/lib64/qt5/examples

      Qt Creator shows in the upper left of the front page that the path is set to:
      Qt 5.6.2 in PATH (SYSTEM)

      But I cannot change or add to this. I do see in:
      /usr/lib64/qt5/bin/qtpaths

      I opened it in Konsole. But I am unsure how to add the correct path. OR could I just move the examples directory to the QT Creator directory or what...

      I will then make the changes for my personal copy and contact the maintainers and tell them how to fix this for all using this distro.

      gary

      M Offline
      M Offline
      mrjj
      Lifetime Qt Champion
      wrote on 28 Apr 2017, 23:03 last edited by
      #2

      @Chisum said in Path problems:

      PCLinuxOS

      The examples "page" (welcome) is made in QML and it requires good opengl.
      So if you want to use the it, please test if openGL runs on the OS.

      You can use
      glxgears or something similar.

      1 Reply Last reply
      0
      • C Offline
        C Offline
        Chisum
        wrote on 29 Apr 2017, 22:05 last edited by
        #3

        I am running the latest version of PCLinuxOS. I ran glxinfo from Konsole. Here is some of the output:

        [lee@localhost ~]$ glxinfo
        name of display: :0
        display: :0 screen: 0
        direct rendering: Yes
        server glx vendor string: SGI
        server glx version string: 1.4
        server glx extensions:
        GLX_ARB_create_context, GLX_ARB_create_context_profile,
        GLX_ARB_create_context_robustness, GLX_ARB_fbconfig_float,
        GLX_ARB_framebuffer_sRGB, GLX_ARB_multisample,
        GLX_EXT_create_context_es2_profile, GLX_EXT_create_context_es_profile,
        GLX_EXT_fbconfig_packed_float, GLX_EXT_framebuffer_sRGB,
        GLX_EXT_import_context, GLX_EXT_libglvnd, GLX_EXT_texture_from_pixmap,
        GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_INTEL_swap_event,
        GLX_MESA_copy_sub_buffer, GLX_OML_swap_method, GLX_SGIS_multisample,
        GLX_SGIX_fbconfig, GLX_SGIX_pbuffer, GLX_SGIX_visual_select_group,
        GLX_SGI_make_current_read, GLX_SGI_swap_control
        client glx vendor string: Mesa Project and SGI
        client glx version string: 1.4
        client glx extensions:
        GLX_ARB_create_context, GLX_ARB_create_context_profile,
        GLX_ARB_create_context_robustness, GLX_ARB_fbconfig_float,
        GLX_ARB_framebuffer_sRGB, GLX_ARB_get_proc_address, GLX_ARB_multisample,
        GLX_EXT_buffer_age, GLX_EXT_create_context_es2_profile,
        GLX_EXT_create_context_es_profile, GLX_EXT_fbconfig_packed_float,
        GLX_EXT_framebuffer_sRGB, GLX_EXT_import_context,
        GLX_EXT_texture_from_pixmap, GLX_EXT_visual_info, GLX_EXT_visual_rating,
        GLX_INTEL_swap_event, GLX_MESA_copy_sub_buffer,
        GLX_MESA_multithread_makecurrent, GLX_MESA_query_renderer,
        GLX_MESA_swap_control, GLX_OML_swap_method, GLX_OML_sync_control,
        GLX_SGIS_multisample, GLX_SGIX_fbconfig, GLX_SGIX_pbuffer,
        GLX_SGIX_visual_select_group, GLX_SGI_make_current_read,
        GLX_SGI_swap_control, GLX_SGI_video_sync
        GLX version: 1.4
        GLX extensions:
        GLX_ARB_create_context, GLX_ARB_create_context_profile,
        GLX_ARB_create_context_robustness, GLX_ARB_fbconfig_float,
        GLX_ARB_framebuffer_sRGB, GLX_ARB_get_proc_address, GLX_ARB_multisample,
        GLX_EXT_create_context_es2_profile, GLX_EXT_create_context_es_profile,
        GLX_EXT_fbconfig_packed_float, GLX_EXT_framebuffer_sRGB,
        GLX_EXT_import_context, GLX_EXT_texture_from_pixmap, GLX_EXT_visual_info,
        GLX_EXT_visual_rating, GLX_INTEL_swap_event, GLX_MESA_copy_sub_buffer,
        GLX_MESA_multithread_makecurrent, GLX_MESA_query_renderer,
        GLX_MESA_swap_control, GLX_OML_swap_method, GLX_OML_sync_control,
        GLX_SGIS_multisample, GLX_SGIX_fbconfig, GLX_SGIX_pbuffer,
        GLX_SGIX_visual_select_group, GLX_SGI_make_current_read,
        GLX_SGI_swap_control, GLX_SGI_video_sync
        Extended renderer info (GLX_MESA_query_renderer):
        Vendor: Intel Open Source Technology Center (0x8086)
        Device: Mesa DRI Intel(R) Haswell Desktop (0x412)
        Version: 17.0.3
        Accelerated: yes
        Video memory: 1536MB
        Unified memory: yes
        Preferred profile: core (0x1)
        Max core profile version: 4.2
        Max compat profile version: 3.0
        Max GLES1 profile version: 1.1
        Max GLES[23] profile version: 3.1
        OpenGL vendor string: Intel Open Source Technology Center
        OpenGL renderer string: Mesa DRI Intel(R) Haswell Desktop

        Also Mesa 17.0.3

        I also ran Extreme TuxRacer:
        Extreme Tux Racer is an OpenGL racing game featuring Tux, the Linux
        mascot. The goal of the game is to slide down a snow- and ice-covered
        mountain as quickly as possible. It is based on the GPL version of
        TuxRacer.

        It appears that OpenGl is present and operating. I also installed Qt in userspace, same problem. I have only found one distro where this is not a problem: Manjaro.

        I gave up on Manjaro because they are in such a hurry to get the latest that about every 4 months, the new update bricks the system requiring the re-installation of the software. On their forum, there is a war going on about the instability of releases.

        here is my path statement:

        [lee@localhost ~]$ $PATH
        bash: /usr/bin:/usr/lib64/qt5/bin:/usr/lib64/kf5:/usr/libexec:/bin:/usr/bin:/usr/local/bin:/usr/games:/usr/lib64/qt4/bin:/usr/lib64/qt5/bin:/home/lee/bin:/sbin:/usr/sbin:/home/lee/bin:/sbin:/usr/sbin: No such file or directory.

        I really do not know what to do. I am using the open version of Qt. I believe that this is important because it allows students and others to get some basic training in C++. These then becomes another source of sales of the full commercial version of Qt.

        gary

        1 Reply Last reply
        0
        • S Offline
          S Offline
          SGaist
          Lifetime Qt Champion
          wrote on 30 Apr 2017, 18:02 last edited by
          #4

          Hi,

          Something's not really clear to me, what path would you like to modify ?

          Interested in AI ? www.idiap.ch
          Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

          1 Reply Last reply
          0
          • C Offline
            C Offline
            Chisum
            wrote on 30 Apr 2017, 18:33 last edited by
            #5

            Well, I am kind of lost. My first post describes the situation. There is a program called qtpaths. I have looked at the code. I do not know if the path is a problem. My goal is to have QtCreator find the QtExamples and display them in QtCreator. Manjaro is the only distro that gets this right. Tomorrow, I will reload Manjaro and explore how they got this right. I do not know if this is a path problem or not. The tutorials display. Sorry for all of the trouble...

            gary

            M 1 Reply Last reply 30 Apr 2017, 18:40
            0
            • C Chisum
              30 Apr 2017, 18:33

              Well, I am kind of lost. My first post describes the situation. There is a program called qtpaths. I have looked at the code. I do not know if the path is a problem. My goal is to have QtCreator find the QtExamples and display them in QtCreator. Manjaro is the only distro that gets this right. Tomorrow, I will reload Manjaro and explore how they got this right. I do not know if this is a path problem or not. The tutorials display. Sorry for all of the trouble...

              gary

              M Offline
              M Offline
              mrjj
              Lifetime Qt Champion
              wrote on 30 Apr 2017, 18:40 last edited by
              #6

              @Chisum
              Ok, it seem/sounds like openGl is running and the Welcome screen should work.
              So the issue is that it cannot load the examples or find them.
              I use/tried a few different linux and not seen this.

              So its not clear to me if Welcome works. ( The button is there but its empty on the page?)

              Anyway
              Could it be a right issue ?

              sudo chmod +rx /usr/share/doc/qt/examples
              ( alter path to match)

              1 Reply Last reply
              0

              1/6

              28 Apr 2017, 22:38

              • Login

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