Re: [Interest] Online doc URL improvement
On 7/6/19 9:58 am, Sze Howe Koh wrote: On Thu, 6 Jun 2019 at 10:09, Christian Gagneraud wrote: Hi there, I quite often read the documentation online, b/c the urls are quite short and simple i usually type them in directly in the URL bar. I also use the online docs a lot, but I rarely edit the URL. Instead, I use the Qt Doc Search browser extension for Chrome/Firefox: https://forum.qt.io/topic/35616/web-browser-extension-for-improved-doc-searches (Disclaimer: I wrote this extension) I activate the URL bar and type [q] + [d] + [space] + + [Enter] If Google's "I'm Feeling Lucky" or DuckDuckGo's "Ducky" are enabled, you'll be taken straight to the class reference page. How is viewing the documentation online easier than using Qt Assistant? Hamishj ___ Interest mailing list Interest@qt-project.org https://lists.qt-project.org/listinfo/interest
Re: [Interest] Online doc URL improvement
On Thu, 6 Jun 2019 14:07:49 +1200 Christian Gagneraud wrote: > Hi there, > > I quite often read the documentation online, b/c the urls are quite > short and simple i usually type them in directly in the URL bar. One > little thing is annoying me, the '.html extension. > Wouldn't it be great if instead the url would be > 'doc.qt.io/qt-5/qwidget'. That is shorter to type and easier to > navigate to a class you know the name of. Currently you have to move > the cursor around in the url field so that you replace the class name > b/w '/' and '.html'. not having to deal with '.html' would make the > process way faster/easier. Of course to avoid breaking search engine, > bookmarks, ... the url with '.html' would have to redirect to the one > w/o. > > Any thoughts? > > Chris > Thanks for the suggestion, Christian. I've taken the liberty to create a suggestion bug for this [0], and talked it over with some of the guys on the team - we like the idea and will get it done. Have a great weekend! - Paul [0] https://bugreports.qt.io/browse/QTBUG-76277 -- Paul Wicking Documentation Engineer The Qt Company Sandakerveien 116 0484, Oslo, Norway paul.wick...@qt.io +47 90 500 666 http://qt.io ___ Interest mailing list Interest@qt-project.org https://lists.qt-project.org/listinfo/interest
Re: [Interest] OpenGL — using glDispatchComputeGroupSizeARB
Works like a charm, thanks! Pieter On Thu, 6 Jun 2019 at 19:15, Giuseppe D'Angelo via Interest < interest@qt-project.org> wrote: > Hi, > > On 06/06/2019 17:05, Pieter Barendrecht wrote: > > I'm trying to figure out exactly what to include to be able to use the > > OpenGL command glDispatchComputeGroupSizeARB (which I'm positive is > > supported on my machine/system). Unfortunately, the typical extension > > workflow (i.e. #include in the relevant header file > > and QT += openglextensions in the .pro file) does not seem to work — it > > still results in an 'use of undeclared identifier' error upon compiling > > the code. Any thoughts? I'm on Linux (64bit), using Qt 5.12. > > I believe the QtOpenGLExtensions hasn't been regenerated for quite a > while, and thus does not cover this extension (Khronos changed the > extension database format or somesuch). > > An easy workaround is to resolve the entry point manually. Include > qopengl.h and do something like this: > > > if (ctx->hasExtension("GL_ARB_compute_variable_group_size")) { > > entry = > reinterpret_cast(ctx->getProcAddress("glDispatchComputeGroupSizeARB"); > > // use it > > } > > HTH, > > -- > Giuseppe D'Angelo | giuseppe.dang...@kdab.com | Senior Software Engineer > KDAB (France) S.A.S., a KDAB Group company > Tel. France +33 (0)4 90 84 08 53, http://www.kdab.com > KDAB - The Qt, C++ and OpenGL Experts > > ___ > Interest mailing list > Interest@qt-project.org > https://lists.qt-project.org/listinfo/interest > ___ Interest mailing list Interest@qt-project.org https://lists.qt-project.org/listinfo/interest