Re: [Development] qt-4.8.x gcc5 version/detection issues
Thiago Macieira wrote: On Monday 16 February 2015 08:55:14 Rex Dieter wrote: * webkit components don't build, this is due to a configure check for gcc-4.x, here's my quick-n-dirty fix (for g++ stanza only, others probably should get touched too): http://pkgs.fedoraproject.org/cgit/qt.git/tree/qt-fix_detection_of_gcc5.patc h This one is a backport of 9fb4c2c412621b63c06dbbd899f44041b2e126c2, so please include the qtbase commit ID in the commit message. * QT_BUILD_KEY handling In your commit message, please write that Qt 5 has no build keys so no patch to Qt 5 was necessary. Thanks for the advice, I've pushed it as: https://codereview.qt-project.org/#/c/106514/ -- Rex ___ Development mailing list Development@qt-project.org http://lists.qt-project.org/mailman/listinfo/development
[Development] New Qt 5.4.1 snapshot available
Hi all, We have new Qt 5.4.1 snapshot available: Windows: http://download.qt.io/snapshots/qt/5.4/5.4.1/2015-02-17_112/ Linux: http://download.qt.io/snapshots/qt/5.4/5.4.1/2015-02-17_116/ Mac: http://download.qt.io/snapshots/qt/5.4/5.4.1/2015-02-17_102/ Please sanitycheck these packages inform me immediately if there is something broken which prevents us releasing these packages as Qt 5.4.1 release later this week br, Jani ___ Development mailing list Development@qt-project.org http://lists.qt-project.org/mailman/listinfo/development
Re: [Development] Failed assertion in QSGBatchRenderer::ShaderManager::prepareMaterial()
Here's what I get: qt.scenegraph.info: Animation Driver: using vsync: 16.67 ms qt.scenegraph.info: texture atlas dimensions: 512x512 qt.scenegraph.info: R/G/B/A Buffers:8 8 8 8 qt.scenegraph.info: Depth Buffer: 24 qt.scenegraph.info: Stencil Buffer: 8 qt.scenegraph.info: Samples:0 qt.scenegraph.info: GL_VENDOR: ATI Technologies Inc. qt.scenegraph.info: GL_RENDERER:AMD Radeon HD 7470M qt.scenegraph.info: GL_VERSION: 4.2.11399 Compatibility Profile Context qt.scenegraph.info: GL_EXTENSIONS: GL_ARB_texture_multisample GL_ARB_occlus ion_query GL_EXT_texture_compression_bptc GL_ARB_instanced_arrays GL_ATI_draw_bu ffers GL_NV_primitive_restart GL_EXT_blend_subtract GL_EXT_bgra GL_EXT_separate_ specular_color GL_ARB_map_buffer_alignment GL_ATI_texture_compression_3dc GL_ARB _shader_image_load_store GL_ARB_vertex_shader GL_ARB_explicit_attrib_location GL _EXT_blend_func_separate GL_ARB_shader_texture_lod GL_ARB_shadow GL_AMD_seamless _cubemap_per_texture GL_EXT_point_parameters GL_NV_blend_square GL_ARB_draw_buff ers GL_EXT_packed_float GL_AMDX_vertex_shader_tessellator GL_ARB_vertex_buffer_o bject GL_EXT_fog_coord GL_EXT_texture_edge_clamp GL_EXT_framebuffer_multisample GL_EXT_blend_color GL_ARB_conservative_depth GL_ARB_depth_texture GL_EXT_draw_in stanced GL_AMD_transform_feedback3_lines_triangles GL_EXT_pixel_buffer_object GL _ARB_fragment_program GL_EXT_texture_rectangle GL_SGIS_texture_edge_clamp GL_EXT _timer_query GL_ARB_shading_language_packing GL_ARB_framebuffer_object GL_EXT_ve rtex_array_bgra GL_AMD_multi_draw_indirect GL_EXT_abgr GL_ARB_texture_env_crossb ar GL_ARB_multisample GL_AMD_pinned_memory GL_ARB_framebuffer_sRGB GL_ARB_geomet ry_shader4 GL_ARB_texture_rectangle GL_ARB_internalformat_query GL_ARB_sync GL_A RB_fragment_program_shadow GL_ARB_separate_shader_objects GL_AMD_texture_texture 4 GL_ARB_shadow_ambient GL_EXT_texture_cube_map GL_EXT_texgen_reflection GL_EXT_ texture_lod_bias GL_ARB_draw_buffers_blend GL_ARB_half_float_vertex GL_EXT_direc t_state_access GL_EXT_texture_compression_latc GL_ATI_separate_stencil GL_EXT_te xture_storage GL_ARB_viewport_array GL_ARB_base_instance GL_EXT_draw_range_eleme nts GL_AMD_performance_monitor GL_EXT_rescale_normal GL_SGIS_generate_mipmap GL_ ARB_texture_non_power_of_two GL_ARB_texture_compression_rgtc GL_ARB_sample_shadi ng GL_ARB_blend_func_extended GL_EXT_blend_equation_separate GL_EXT_texture_swiz zle GL_ARB_texture_cube_map GL_ARB_copy_buffer GL_ARB_texture_mirrored_repeat GL _AMD_shader_stencil_export GL_EXT_bindable_uniform GL_AMD_vertex_shader_tessella tor GL_ARB_vertex_array_object GL_EXT_provoking_vertex GL_ARB_tessellation_shade r GL_AMD_name_gen_delete GL_AMD_sample_positions GL_ARB_color_buffer_float GL_EX T_texture_shared_exponent GL_EXT_vertex_attrib_64bit GL_ARB_compressed_texture_p ixel_storage GL_EXT_compiled_vertex_array GL_EXT_texture_env_dot3 GL_EXT_histogr am GL_ARB_half_float_pixel GL_ARB_texture_rgb10_a2ui GL_ARB_texture_storage GL_A RB_texture_rg GL_ARB_map_buffer_range GL_ATI_meminfo GL_ARB_transform_feedback_i nstanced GL_ARB_transpose_matrix GL_ARB_shading_language_100 WGL_EXT_swap_contro l GL_SUN_multi_draw_arrays GL_ARB_vertex_program GL_EXT_texture3D GL_NV_explicit _multisample GL_AMDX_debug_output GL_WIN_swap_hint GL_ARB_texture_cube_map_array GL_EXT_multi_draw_arrays GL_ARB_timer_query GL_EXT_secondary_color GL_ATI_textu re_env_combine3 GL_ATI_envmap_bumpmap GL_AMD_draw_buffers_blend GL_EXT_texture_e nv_combine GL_ARB_point_sprite GL_ARB_texture_compression_bptc GL_ARB_pixel_buff er_object GL_ARB_vertex_attrib_64bit GL_ARB_shader_objects GL_EXT_packed_pixels GL_EXT_subtexture GL_ARB_shader_bit_encoding GL_ARB_draw_elements_base_vertex GL _ARB_texture_env_add GL_ARB_texture_env_combine GL_AMD_shader_trace GL_ARB_verte x_type_2_10_10_10_rev GL_EXT_framebuffer_sRGB GL_EXT_texture_filter_anisotropic GL_ARB_shading_language_420pack GL_SGIS_texture_lod GL_IBM_texture_mirrored_repe at GL_ATI_texture_mirror_once GL_ARB_point_parameters GL_EXT_gpu_shader4 GL_ARB_ depth_clamp GL_ARB_provoking_vertex GL_EXT_packed_depth_stencil GL_ARB_draw_indi rect GL_NV_half_float GL_ATI_fragment_shader GL_ARB_texture_env_dot3 GL_EXT_text ure_compression_s3tc GL_EXT_copy_buffer GL_ARB_uniform_buffer_object GL_EXT_text ure_array GL_EXT_texture_env_add GL_ARB_fragment_shader GL_ARB_ES2_compatibility GL_EXT_texture_lod GL_NV_copy_image GL_ARB_fragment_coord_conventions GL_EXT_gp u_program_parameters GL_ARB_vertex_array_bgra GL_ARB_shader_subroutine GL_ARB_tr ansform_feedback2 GL_EXT_geometry_shader4 GL_ARB_draw_instanced GL_ARB_get_progr am_binary GL_EXT_transform_feedback GL_EXT_copy_texture GL_EXT_vertex_array GL_A RB_window_pos GL_EXT_texture_snorm GL_NV_texture_barrier GL_ARB_texture_border_c lamp GL_ARB_transform_feedback3 GL_NV_conditional_render GL_EXT_shader_image_loa
[Development] [FYI] jira troubles resolved
moin, as some of you noticed, we had two issues with jira: - on january 19, we had a database problem which resulted in weird-looking tasks and whatever else. some people responded to that by filing many duplicates of the same task. i recovered the best-looking instance of each task and deleted the others (tell me about missed ones). please check that everything is ok (links you may have put in other places, etc.) if you feel addressed. - the new server was entirely unable to deliver emails to some domains (gmx most notably). some of you should have gotten a small flood of mails now. however, older notifications already timed out and were discarded, so you definitely should check your dashboard if you experienced an unexpected silence from jira. ___ Development mailing list Development@qt-project.org http://lists.qt-project.org/mailman/listinfo/development
Re: [Development] Failed assertion in QSGBatchRenderer::ShaderManager::prepareMaterial()
What is the output when you run with QSG_INFO=1 in the environment? cheers, Gunnar On 17 Feb 2015, at 13:07, Bojan Petrović boja...@gmail.com wrote: Hi Gunnar, It's the official dynamic build for VS 2013. I am working on a laptop with AMD Radeon HD 7470M card. Driver is 8.93-111205a-131054C (OpenGL version 6.14.10.11399). Bojan On 17 February 2015 at 16:56, Gunnar Sletta gun...@sletta.org mailto:gun...@sletta.org wrote: The renderer will give that assertion if your OpenGL context isn’t working correctly. For instance, if you compiled Qt with desktop gl, but you don’t have up to date drivers. Though this should have been caught by the error checking in the render loop already, so it is a bit puzzling. What kind of Qt build is this? dynamic, desktop GL, Angle? What kind of driver / hardware? cheers, Gunnar On 17 Feb 2015, at 07:22, Bojan Petrović boja...@gmail.com mailto:boja...@gmail.com wrote: Hi, I am using Qt 5.4 on Windows. I have encountered a failed assertion in QSGBatchRenderer::ShaderManager::prepareMaterial(QSGMaterial * material), line 158 C++. It happens when I start my application, but not every time. This is the message I got in the console: uniform highp float _qt_zRange; void main() { gl_Position = matrix * vertexCoord; color = vertexColor * opacity; gl_Position.z = (gl_Position.z * _qt_zRange + _qt_order) * gl_Position.w; } *** QOpenGLShader::compile(Fragment): Fragment shader failed to compile with the fol lowing errors: *** Problematic Fragment shader source code *** #define lowp #define mediump #define highp varying lowp vec4 color; void main() { gl_FragColor = color; } *** ASSERT: shader-id_zRange = 0 in file scenegraph\coreapi\qsgbatchrenderer.cpp , line 158 Am I failing to respect some restriction or could this be a Qt bug? I created a debugger dump and I;m downloading Qt source now so I can see it in debugger, but I am not familiar with that code so I doubt that I will help me too much. Bojan ___ Development mailing list Development@qt-project.org mailto:Development@qt-project.org http://lists.qt-project.org/mailman/listinfo/development http://lists.qt-project.org/mailman/listinfo/development ___ Development mailing list Development@qt-project.org http://lists.qt-project.org/mailman/listinfo/development
Re: [Development] Mime database size
On Tue, Feb 17, 2015 at 1:48 PM, Иван Комиссаров abba...@gmail.com wrote: Do you think it's ok to store binary file in a git repo? 2015-02-17 15:25 GMT+03:00 Giuseppe D'Angelo dange...@gmail.com: On 17 February 2015 at 13:22, Mark Gaiser mark...@gmail.com wrote: Glib and libxml also compile under windows. What's the need for windows compilation anyhow? The binary blob can be regenerated under Unix (when the .xml gets updated) and other platforms would just use it? One could rewrite this small utility into Qt and then it would be available everywhere. Cheers, Cristian. ___ Development mailing list Development@qt-project.org http://lists.qt-project.org/mailman/listinfo/development
Re: [Development] Mime database size
Hello, Arnaud Vrac. What tool should should generate binary cache on Mac OS/Windows? 2015-02-17 13:56 GMT+03:00 Arnaud Vrac raw...@gmail.com: Here is the description of the binary file from the shared-mime-info spec: http://standards.freedesktop.org/shared-mime-info-spec/latest/ar01s02.html#idm140622087725744 On Tue, Feb 17, 2015 at 11:51 AM, Arnaud Vrac raw...@gmail.com wrote: Commit fbeeaf2 in qtbase adds QT_NO_MIMETYPE: The mime type stuff generates one of the biggest translation units in QtCore due to the compressed 1.7MB freedesktop.org.xml resource. With QT_NO_MIMETYPE, libQt5Core.so is almost 400Kb smaller (4.8MB-4.4MB gcc 4.9 stripped release build) It would be nice to be able to find a middle ground between disabling the mime database completely and adding 1.7MB of data to Qt. The update-mime-database binary from the shared-mime-info package can generate a binary file from the XML, which is 100KB large and still allows finding the mimetype of any file. The only difference with the XML is that you don't have the translated pretty string for the mime type. The binary file can also be mmapped and used for every request very efficiently, instead of allocating all mime types data in memory. -- Arnaud Vrac -- Arnaud Vrac ___ Development mailing list Development@qt-project.org http://lists.qt-project.org/mailman/listinfo/development ___ Development mailing list Development@qt-project.org http://lists.qt-project.org/mailman/listinfo/development
Re: [Development] Does QNetworkAccessManager could provide the Server Sent Event feature ?
On 02/16/2015 11:58 PM, Thiago Macieira wrote: On Monday 16 February 2015 23:52:19 Paul Chavent wrote: The parts 6 Parsing an event stream [2] gives the specs of the format over http. The part 7 Interpreting an event stream explains how it should be handled by the client. For some sample code, I've found useful those two pages [3] and [4]. [2] http://www.w3.org/TR/eventsource/#parsing-an-event-stream [3] https://today.java.net/article/2010/03/31/html5-server-push-technologies-pa rt-1#sse [4] http://www.html5rocks.com/en/tutorials/eventsource/basics/ I'm looking for the HTTP command verb and expected replies. If it's a GET, POST, PUT, DELETE or similar, with the reply a 200 Ok, then QNAM already supports this and no modifications are necessary. The difference is that the server can send asynchronous responses (event). I will look deeper in the current code base. Thanks for your replies. ___ Development mailing list Development@qt-project.org http://lists.qt-project.org/mailman/listinfo/development
Re: [Development] Does QNetworkAccessManager could provide the Server Sent Event feature ?
On Tuesday 17 February 2015 20:50:44 Paul Chavent wrote: On 02/16/2015 11:58 PM, Thiago Macieira wrote: On Monday 16 February 2015 23:52:19 Paul Chavent wrote: The parts 6 Parsing an event stream [2] gives the specs of the format over http. The part 7 Interpreting an event stream explains how it should be handled by the client. For some sample code, I've found useful those two pages [3] and [4]. [2] http://www.w3.org/TR/eventsource/#parsing-an-event-stream [3] https://today.java.net/article/2010/03/31/html5-server-push-technologies- pa rt-1#sse [4] http://www.html5rocks.com/en/tutorials/eventsource/basics/ I'm looking for the HTTP command verb and expected replies. If it's a GET, POST, PUT, DELETE or similar, with the reply a 200 Ok, then QNAM already supports this and no modifications are necessary. The difference is that the server can send asynchronous responses (event). I will look deeper in the current code base. If it's plain HTTP/1.x, then the server cannot send anything that the client did not ask for (HTTP/2.0 can do that). The only way to implement server- pushed data in HTTP/1.x is for the client to make a request that the server always responds with a Chunked transfer that never ends. That's how 1990s web- based chats were implemented. If that's ow this server event is implemented, then QNAM already supports it. The QNetworkReply's readyRead() signal will be emitted whenever new events are received. You just have to parse it. At most, we'd implement a wrapper around QNetworkReply to make the parsing easier. If it's not how it's implemented -- if there are HTTP spec changes -- then QNAM needs modifications. -- Thiago Macieira - thiago.macieira (AT) intel.com Software Architect - Intel Open Source Technology Center ___ Development mailing list Development@qt-project.org http://lists.qt-project.org/mailman/listinfo/development
Re: [Development] Failed assertion in QSGBatchRenderer::ShaderManager::prepareMaterial()
The renderer will give that assertion if your OpenGL context isn’t working correctly. For instance, if you compiled Qt with desktop gl, but you don’t have up to date drivers. Though this should have been caught by the error checking in the render loop already, so it is a bit puzzling. What kind of Qt build is this? dynamic, desktop GL, Angle? What kind of driver / hardware? cheers, Gunnar On 17 Feb 2015, at 07:22, Bojan Petrović boja...@gmail.com wrote: Hi, I am using Qt 5.4 on Windows. I have encountered a failed assertion in QSGBatchRenderer::ShaderManager::prepareMaterial(QSGMaterial * material), line 158 C++. It happens when I start my application, but not every time. This is the message I got in the console: uniform highp float _qt_zRange; void main() { gl_Position = matrix * vertexCoord; color = vertexColor * opacity; gl_Position.z = (gl_Position.z * _qt_zRange + _qt_order) * gl_Position.w; } *** QOpenGLShader::compile(Fragment): Fragment shader failed to compile with the fol lowing errors: *** Problematic Fragment shader source code *** #define lowp #define mediump #define highp varying lowp vec4 color; void main() { gl_FragColor = color; } *** ASSERT: shader-id_zRange = 0 in file scenegraph\coreapi\qsgbatchrenderer.cpp , line 158 Am I failing to respect some restriction or could this be a Qt bug? I created a debugger dump and I;m downloading Qt source now so I can see it in debugger, but I am not familiar with that code so I doubt that I will help me too much. Bojan ___ Development mailing list Development@qt-project.org http://lists.qt-project.org/mailman/listinfo/development ___ Development mailing list Development@qt-project.org http://lists.qt-project.org/mailman/listinfo/development
Re: [Development] Mime database size
Here is the description of the binary file from the shared-mime-info spec: http://standards.freedesktop.org/shared-mime-info-spec/latest/ar01s02.html#idm140622087725744 On Tue, Feb 17, 2015 at 11:51 AM, Arnaud Vrac raw...@gmail.com wrote: Commit fbeeaf2 in qtbase adds QT_NO_MIMETYPE: The mime type stuff generates one of the biggest translation units in QtCore due to the compressed 1.7MB freedesktop.org.xml resource. With QT_NO_MIMETYPE, libQt5Core.so is almost 400Kb smaller (4.8MB-4.4MB gcc 4.9 stripped release build) It would be nice to be able to find a middle ground between disabling the mime database completely and adding 1.7MB of data to Qt. The update-mime-database binary from the shared-mime-info package can generate a binary file from the XML, which is 100KB large and still allows finding the mimetype of any file. The only difference with the XML is that you don't have the translated pretty string for the mime type. The binary file can also be mmapped and used for every request very efficiently, instead of allocating all mime types data in memory. -- Arnaud Vrac -- Arnaud Vrac ___ Development mailing list Development@qt-project.org http://lists.qt-project.org/mailman/listinfo/development
Re: [Development] Mime database size
On Tue, Feb 17, 2015 at 12:13 PM, Иван Комиссаров abba...@gmail.com wrote: Hello, Arnaud Vrac. What tool should should generate binary cache on Mac OS/Windows? I think the update-mime-database binary can also be compiled for Windows and Mac, but it unfortunately depends on glib and libxml. Here is the source for update-mime-database: http://cgit.freedesktop.org/xdg/shared-mime-info/tree/update-mime-database.c ___ Development mailing list Development@qt-project.org http://lists.qt-project.org/mailman/listinfo/development
Re: [Development] Mime database size
On Tue, Feb 17, 2015 at 12:17 PM, Arnaud Vrac raw...@gmail.com wrote: On Tue, Feb 17, 2015 at 12:13 PM, Иван Комиссаров abba...@gmail.com wrote: Hello, Arnaud Vrac. What tool should should generate binary cache on Mac OS/Windows? I think the update-mime-database binary can also be compiled for Windows and Mac, but it unfortunately depends on glib and libxml. Here is the source for update-mime-database: http://cgit.freedesktop.org/xdg/shared-mime-info/tree/update-mime-database.c Glib and libxml also compile under windows. ___ Development mailing list Development@qt-project.org http://lists.qt-project.org/mailman/listinfo/development
Re: [Development] Mime database size
Do you think it's ok to store binary file in a git repo? 2015-02-17 15:25 GMT+03:00 Giuseppe D'Angelo dange...@gmail.com: On 17 February 2015 at 13:22, Mark Gaiser mark...@gmail.com wrote: Glib and libxml also compile under windows. What's the need for windows compilation anyhow? The binary blob can be regenerated under Unix (when the .xml gets updated) and other platforms would just use it? -- Giuseppe D'Angelo ___ Development mailing list Development@qt-project.org http://lists.qt-project.org/mailman/listinfo/development ___ Development mailing list Development@qt-project.org http://lists.qt-project.org/mailman/listinfo/development
Re: [Development] Nominating Timur Pocheptsov as approver
Thank you guys! :) Best regards, Timur. From: development-bounces+timur.pocheptsov=theqtcompany@qt-project.org development-bounces+timur.pocheptsov=theqtcompany@qt-project.org on behalf of Blasche Alexander alexander.blas...@theqtcompany.com Sent: Tuesday, February 17, 2015 1:18 PM To: development@qt-project.org Subject: Re: [Development] Nominating Timur Pocheptsov as approver Approver rights have been granted. Congratulations. -- Alex From: development-bounces+alexander.blasche=theqtcompany@qt-project.org development-bounces+alexander.blasche=theqtcompany@qt-project.org on behalf of Blasche Alexander alexander.blas...@theqtcompany.com Sent: Thursday, January 22, 2015 07:52 To: development@qt-project.org Subject: [Development] Nominating Timur Pocheptsov as approver Hi, I'd like to nominate Timur Pocheptsov for approver status. He wrote the OSX and iOS implementations for QtBluetooth and lately has been increasing his footprint in other modules for the same platforms. https://codereview.qt-project.org/#/q/owner:tpochep,n,z https://codereview.qt-project.org/#/q/reviewer:tpochep,n,z A big thank you from me to Timur. -- Alex ___ Development mailing list Development@qt-project.org http://lists.qt-project.org/mailman/listinfo/development ___ Development mailing list Development@qt-project.org http://lists.qt-project.org/mailman/listinfo/development ___ Development mailing list Development@qt-project.org http://lists.qt-project.org/mailman/listinfo/development
Re: [Development] Nominating Timur Pocheptsov as approver
Approver rights have been granted. Congratulations. -- Alex From: development-bounces+alexander.blasche=theqtcompany@qt-project.org development-bounces+alexander.blasche=theqtcompany@qt-project.org on behalf of Blasche Alexander alexander.blas...@theqtcompany.com Sent: Thursday, January 22, 2015 07:52 To: development@qt-project.org Subject: [Development] Nominating Timur Pocheptsov as approver Hi, I'd like to nominate Timur Pocheptsov for approver status. He wrote the OSX and iOS implementations for QtBluetooth and lately has been increasing his footprint in other modules for the same platforms. https://codereview.qt-project.org/#/q/owner:tpochep,n,z https://codereview.qt-project.org/#/q/reviewer:tpochep,n,z A big thank you from me to Timur. -- Alex ___ Development mailing list Development@qt-project.org http://lists.qt-project.org/mailman/listinfo/development ___ Development mailing list Development@qt-project.org http://lists.qt-project.org/mailman/listinfo/development
Re: [Development] Mime database size
On 17 February 2015 at 13:22, Mark Gaiser mark...@gmail.com wrote: Glib and libxml also compile under windows. What's the need for windows compilation anyhow? The binary blob can be regenerated under Unix (when the .xml gets updated) and other platforms would just use it? -- Giuseppe D'Angelo ___ Development mailing list Development@qt-project.org http://lists.qt-project.org/mailman/listinfo/development