Unsolved Path problems
-
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/examplesQt 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/qtpathsI 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
-
@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. -
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 DesktopAlso 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
-
Hi,
Something's not really clear to me, what path would you like to modify ?
-
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
-
@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)