Re: [Interest] Mixing QWidgets and QtQuickControls 2

2022-11-11 Thread Benjamin TERRIER
On Fri, 11 Nov 2022 at 20:38, Harald Vistnes wrote: > Benjamin, thanks for useful hints. I'll start with trying to integrate the > QQuickWidget into a QDialog as it sounds straightforward. > > Concerning the QuickDialog approach. You implement your own class by > subclassing QQuickView and make i

Re: [Interest] Mixing QWidgets and QtQuickControls 2

2022-11-11 Thread Benjamin TERRIER
On Fri, 11 Nov 2022 at 14:10, Harald Vistnes wrote: > > > So the question is, what is the best way for migrating a QWidgets based > dialog to a Qt Quick Controls based dialog? Should I not use QQuickWidget > for standalone dialogs, but instead trigger the QML in another way? Or > embed the QQuick

Re: [Interest] qt_add_qml_module and not embedding QML files

2022-11-02 Thread Benjamin TERRIER
On Wed, 2 Nov 2022 at 09:32, Ulf Hermann via Interest < interest@qt-project.org> wrote: > > Can you try to construct a minimal example that reproduces the problem > and create a bug report? > One significant difference between QML debugger and QML preview is that > the debugger uses a TCP connec

Re: [Interest] qt_add_qml_module and not embedding QML files

2022-11-01 Thread Benjamin TERRIER
On Tue, 1 Nov 2022 at 09:42, Ulf Hermann via Interest < interest@qt-project.org> wrote: > > I did not know about that, it looks nice. > > But... it does not work with my application, it gets stuck at "QML > > Debugger: Connecting to socket" > > You probably have to enable QML debugging and profili

Re: [Interest] qt_add_qml_module and not embedding QML files

2022-10-31 Thread Benjamin TERRIER
On Mon, 31 Oct 2022 at 16:29, Ulf Hermann via Interest < interest@qt-project.org> wrote: > > I cannot use qmlpreview, as I usually need to have the full application > > running. > > You can run any application through QML preview. In Qt Creator (in > contrast to Qt Design Studio), the option is a

Re: [Interest] qt_add_qml_module and not embedding QML files

2022-10-31 Thread Benjamin TERRIER
On Mon, 31 Oct 2022 at 10:48, Ulf Hermann via Interest < interest@qt-project.org> wrote: > > Is there a way to not embed QML files into the Qt resource system when > > using qt_add_qml_module() ? > > We can only pre-compile files embedded into the resource file with > qmlcachegen. That's why we st

Re: [Interest] qt_add_qml_module and not embedding QML files

2022-10-30 Thread Benjamin TERRIER
On Sat, 29 Oct 2022 at 12:13, Benjamin B (BBenj) wrote: > Hello, > > I can't answer your question specifically, but if you're using Qt 6 you > may want to look into QQmlEngine::addUrlInterceptor to handle live reloads. > I don't think Qt 5 has something equivalent. > Qt 5 had QQmlEngine::setUrl

[Interest] qt_add_qml_module and not embedding QML files

2022-10-27 Thread Benjamin TERRIER
Hi, Is there a way to not embed QML files into the Qt resource system when using qt_add_qml_module() ? Or at least, not generate the "prefer :/..." line in the qmldir file ? Having the prefer line makes it impossible to load QML files from disk, preventing any kind of live reloading of QML. Tha

Re: [Interest] Official linuxdeployqt ?

2022-08-08 Thread Benjamin TERRIER
On Mon, 8 Aug 2022 at 18:10, Scott Bloom wrote: > > > > > On Mon, 8 Aug 2022 at 08:10, Jörg Bornemann wrote: > > On 8/4/22 19:42, Scott Bloom wrote: > > > Is there a Qt supported linuxdeployqt comparable to the windeployqt? > > > > I found the 3^rd party version, but the command line args are ve

Re: [Interest] Official linuxdeployqt ?

2022-08-08 Thread Benjamin TERRIER
On Mon, 8 Aug 2022 at 08:10, Jörg Bornemann wrote: > On 8/4/22 19:42, Scott Bloom wrote: > > > Is there a Qt supported linuxdeployqt comparable to the windeployqt? > > > > I found the 3^rd party version, but the command line args are very > > different. > > Mitch already pointed you to QTBUG-7494

Re: [Interest] QIcon vs QQuickIcon

2022-05-31 Thread Benjamin TERRIER
On Sun, 29 May 2022 at 16:31, ivan tkachenko wrote: > Hi, > > I have a problem which sounds like it should be something trivial. > > I got a QIcon icon, aquired from a model by a delegate. How do i use it in > controls with all these icon.name [string], icon.source [url] groupped > properties or

[Interest] Cannot checkout Qt 6.2.1 because of qlitehtml

2021-10-28 Thread Benjamin TERRIER
Hi, I am trying to make a local build of Qt 6.2.1, however I cannot make a clean checkout of tag v6.2.1. The reason comes from `qttools/src/assistant/qlitehtml` which is a submodule pointing to commit 6af5648d1208ed5760d74bd060c74ffa2bcfef6b of ` https://code.qt.io/playground/qlitehtml.git`. git

[Interest] Qt 6.2 vs. Qt 5.15 – The Feature Parity Comparison – QtPDF

2021-09-02 Thread Benjamin TERRIER
Hi I just went through the latest news article: https://www.qt.io/blog/qt-6.2-vs.-qt-5.15-the-feature-parity-comparison And the linked feature comparison table: https://www.qt.io/product/qt6/qt-5-15-vs-6-2-feature-comparison And it states this about Qt PDF: > Due to its limited adoption in Qt 5

Re: [Interest] QOpenGLWindow inside QSplitter horizontal layout ?

2021-05-21 Thread Benjamin TERRIER
Le ven. 21 mai 2021 à 09:39, Volker Hilsheimer a écrit : > > > As the name suggests, QOpenGLWindow is a QWindow, and QWindow’s are > designed to be top level windows. > > To embed an OpenGL rendering surface into a widget-based UI, you should be > looking at QOpenGLWidget instead: > > https://doc

Re: [Interest] Windows-64 specific QML UI flickering

2021-05-10 Thread Benjamin TERRIER
On Thu, 6 May 2021 at 02:21, Jason H wrote: > I use mainly Mac and Android and I don't see these issues, however the > Windows 64 experience is very crunchy. I was asked to make a simple serial > port monitor. I developed on my mac. It's solid. > It's got QML UI using Rows, Columns, Text, TextEdi

[Interest] Qt 3D, Image Formats and SCXML license change in Qt 6?

2021-05-10 Thread Benjamin TERRIER
Hi, In the online installer when installing these 3 modules, the following text is shown in the description and tooltip: This component is available under commercial licenses from The Qt Company, > or under GPL v3. For open source use, please note the additional > requirements compared to LGPL v3

Re: [Interest] L Word

2021-05-03 Thread Benjamin TERRIER
Le lun. 3 mai 2021 à 18:03, a écrit : > So basically open source/standard Qt was considered appropriate for safety > critical devices prior to the introduction of Safe Renderer in 2017, but > now only commercial Qt with Safe Renderer is appropriate for that purpose. > > > > Before anyone says oth

Re: [Interest] L Word

2021-05-03 Thread Benjamin TERRIER
Le lun. 3 mai 2021 à 17:33, Matthew Woehlke a écrit : > On 03/05/2021 11.23, eric.fedosej...@gmail.com wrote: > > I find this whole argument that Qt is not appropriate for functional > > safety very puzzling. Aren’t vehicle dashboards QtC’s main market > > these days? What are vehicle dashboards

Re: [Interest] L Word

2021-04-29 Thread Benjamin TERRIER
On Thu, 29 Apr 2021 at 15:15, Bob Hood wrote: > On 4/29/2021 4:02 AM, Bernhard Lindner wrote: > > Obviously, Qt has nothing to do with this type of software engineering. And > it's obviously > not suitable for functional safety (at least not if you take it seriously). > > > If this statement is

Re: [Interest] the path forward

2021-04-12 Thread Benjamin TERRIER
On Thu, 1 Apr 2021 at 18:56, Jason H wrote: > I've called Qt "top secret rockstar tech" multiple times and I plan on > calling it that for a bit more. I've had 5 companies buy licenses since > 2005. Qt has delivered on getting my products to market in record time, > even if that was a process fr

Re: [Interest] The willy-nilly deletion of convenience methods (was: Mixing Commercial and Open...)

2021-03-24 Thread Benjamin TERRIER
On Wed, 24 Mar 2021 at 12:17, Giuseppe D'Angelo via Interest < interest@qt-project.org> wrote: > On 22/03/2021 17:19, Thiago Macieira wrote: > > I thought we'd fixed that and reverted them. Or didn't we add > toContainer? > > > > Peppe, what was our final conclusion here? > > There was no conclusi

Re: [Interest] The willy-nilly deletion of convenience, methods

2021-03-24 Thread Benjamin TERRIER
On Wed, 24 Mar 2021 at 10:40, Konrad Rosenbaum wrote: > > It is possible to use software with an anti-tivo license in critical > systems, it just requires you to use your brain before deploying it in > your device. Question is whether you wouldn't want to use something else > anyway, because you

Re: [Interest] The willy-nilly deletion of convenience methods (was: Mixing Commercial and Open...)

2021-03-22 Thread Benjamin TERRIER
On Mon, 22 Mar 2021 at 10:07, Volker Hilsheimer wrote: > > Roland, if you have specific 1st hand porting experience to share and > constructive contributions to make about which APIs we should bring back > because, then please do so. > > > Just to add my experience. A big part of the Qt projects

Re: [Interest] Qt WebEngine 5.15.3 tag

2021-03-09 Thread Benjamin TERRIER
On Tue, 9 Mar 2021 at 22:41, Florian Bruhin wrote: > Hey Tuukaa, > > On Tue, Mar 09, 2021 at 09:24:23PM +, Tuukka Turunen wrote: > > I do understand the desire to have a supported / tagged release of QWE > > and it is possible that it might even work quite well on an earlier > > release of Qt

Re: [Interest] Qt WebEngine 5.15.3 tag

2021-03-09 Thread Benjamin TERRIER
On Tue, 9 Mar 2021 at 18:07, Florian Bruhin wrote: > On Tue, Mar 09, 2021 at 10:41:51AM +0100, Benjamin TERRIER wrote: > > I would not mind if it was just a matter of tag, but the fact that the > > change file for 5.15.3 (changes-5.15.3) is not present on the 5.15.3 > branch

Re: [Interest] Qt WebEngine 5.15.3 tag

2021-03-09 Thread Benjamin TERRIER
On Thu, 4 Mar 2021 at 18:46, Thiago Macieira wrote: > > Benjamin is explicitly asking for an exception. I support him: QtWebEngine > needs to stay up-to-date. > > Well, I am not so much asking for a new exception as I am asking for The Qt Company to enforce the exception Tuukka talked about: On

[Interest] Qt WebEngine 5.15.3 tag

2021-03-04 Thread Benjamin TERRIER
Hi, Given that the Qt WebEngine module is an exception to the commercial only LTS support, could we have v5.15.3 tags for https://code.qt.io/cgit/qt/qtwebengine.git/ and https://code.qt.io/cgit/qt/qtwebengine-chromium.git/ ? Thanks Benjamin ___ Interes

Re: [Interest] Qt 5.15 pull out of open source?!

2021-01-07 Thread Benjamin TERRIER
On Thu, 7 Jan 2021 at 16:38, Tuukka Turunen wrote: > > > In essence the situation for open-source users is just like it was for > everyone before introducing the long-term supported releases (with Qt 5.6). > > No, it is not. The issue of open source users is not that LTS are commercial only (wel

Re: [Interest] Qt WebEngine, MHTML and custom schemes

2020-12-02 Thread Benjamin TERRIER
On Tue, 1 Dec 2020 at 09:11, Allan Sandfeld Jensen wrote: > > Unfortunately it is pretty hard-coded, see src/3rdparty/chromium/content/ > browser/loader/download_utils_impl.cc. > > We could make it somewhat programmable by implementing > ContentBrowserClientQt::AllowRenderingMhtmlOverHttp() whic

[Interest] Qt WebEngine, MHTML and custom schemes

2020-11-30 Thread Benjamin TERRIER
Hi, When accessing an MHTML file using a custom local scheme (either using 'qrc:/' or using 'QWebEngineUrlSchemeHandler') it triggers a download. However, when using 'file:/' the MHTML file is displayed as a web page. I am trying to have the MHTML displayed also when using a custom scheme. I hav

Re: [Interest] QtPdf from Qt open source online installer

2020-10-21 Thread Benjamin TERRIER
On Tue, 20 Oct 2020 at 18:19, Jason H wrote: > > > > Sent: Tuesday, October 20, 2020 at 11:54 AM > > From: "Konstantin Tokarev" > > > > Isn't this done intentionally to promote commercial licenses among open > source users? > > Never attribute to malice what can be attributed to human stupidity.

Re: [Interest] QtPdf from Qt open source online installer

2020-10-20 Thread Benjamin TERRIER
On Mon, 19 Oct 2020 at 20:54, Jason H wrote: > There's some license shenanegans going on. > > https://www.qt.io/blog/change-in-open-source-licensing-of-qt-wayland-compositor-qt-application-manager-and-qt-pdf > However there was a later update: > https://lists.qt-project.org/pipermail/development/

[Interest] QtPdf from Qt open source online installer

2020-10-10 Thread Benjamin TERRIER
Hi, I've noticed that QtPdf is missing when using open source Qt with the online installer. I was wondering what's the reason for this? As QtPDF is sold under a commercial license on the Qt marketplace I understand it cannot be distributed as part of Qt WebEngine for commercial users. But for op

[Interest] Missing Qt versions in archives

2020-03-16 Thread Benjamin TERRIER
Hi all, Some Qt versions were recently removed from http://download.qt.io/archive/qt Specifically versions 5.2 to 5.8 and versions 5.10 and 5.11 are not available. A few weeks ago I was still able to download Qt 5.5 from http://download.qt.io/archive/qt/5.5/5.5.1/qt-opensource-linux-x64-5.5.1.ru

Re: [Interest] WebEngine proxy whitelist

2020-03-06 Thread Benjamin TERRIER
On Thu, 5 Mar 2020 at 21:54, Allan Sandfeld Jensen wrote: > I don't know why they would say that, as far as I know it works. In any > case I > would suggest using the same mechanism we use for testing PAC support: > The command line argument "--proxy-pac-url=file://$$PACFILE" > > And since it is

Re: [Interest] WebEngine proxy whitelist

2020-03-05 Thread Benjamin TERRIER
On Thu, 5 Mar 2020 at 19:56, Allan Sandfeld Jensen wrote: > > Could you write it as a pac-script? > > I think there are some Chromium command-line arguments too that can change > the > defaults, but I think a pac-script is the most flexible and universal way. > > This could be a solution. If PAC

Re: [Interest] Building strings with .arg() (arrrgh)

2020-03-05 Thread Benjamin TERRIER
On Mon, 17 Feb 2020 at 05:33, Max Paperno wrote: > > Then found the [HEADS-UP: QStringLiteral][2] post by Marc on the > development list and didn't feel so good about it anymore. Specifically > where he says that using it with .arg() is an "anti-pattern" but not in > any way that I can understand

[Interest] WebEngine proxy whitelist

2020-03-04 Thread Benjamin TERRIER
Hi, Is there any way to set a whitelist of URLs for proxy in Qt WebEngine? In Qt application this is done by implementing QNetworkProxyFactory::queryProxy() and returning NoProxy based on the query URL. However, even if Qt WebEngine does use the application proxy it does not call queryProxy() fo

Re: [Interest] Fwd: [Development] Changes to Qt offering

2020-02-04 Thread Benjamin TERRIER
On Tue, 4 Feb 2020 at 17:02, Thiago Macieira wrote: > > >- What about the KDE Free Qt Foundation and its agreement with The Qt > >Company that states that if The Qt Company were to release a > commercial > > Qt version without releasing a corresponding open source version > >within 12

Re: [Interest] Fwd: [Development] Changes to Qt offering

2020-02-04 Thread Benjamin TERRIER
On Tue, 4 Feb 2020 at 00:20, Hetherton, Lachlan (Data61, Docklands GS) < lachlan.hether...@data61.csiro.au> wrote: > Hi there, > >- LTS will be exclusive to commercial users. Open source users will >not get LTS patch versions after the next minor version is released. >It is not clear a

[Interest] Fwd: [Development] Changes to Qt offering

2020-01-27 Thread Benjamin TERRIER
Hi all, As some of you may already know, The Qt Company has posted a blog post about "Qt offers" and Lars has send an email about it to the development mailing list. It seems that the interest mailing list has been forgotten. Since the subject of the blog post and Lars' email is of interest to al

[Interest] Qt and font weight on Linux

2020-01-03 Thread Benjamin TERRIER
Hi, I have an issue on a computer running KUbuntu 19.10. Basically the issue is that Qt does not handle properly the font weights. For instance for "Ubuntu Mono" I have the Regular and Bold fonts installed and they are properly registered in fontconfig: fc-match "Ubuntu Mono" UbuntuMono

Re: [Interest] Rebuild QPA plugins

2019-11-13 Thread Benjamin TERRIER
Le mer. 13 nov. 2019 à 11:06, Benjamin TERRIER a écrit : > > Now I have: > > Cannot load library > /opt/Qt/5.13.2/gcc_64/plugins/platforms/libqxcb.so: > (/opt/Qt/5.13.2/gcc_64/plugins/platforms/libqxcb.so: undefined symbol: > _ZTI26QPlatformIntegratio

Re: [Interest] XCB clipboard freeze

2019-11-13 Thread Benjamin TERRIER
Le mar. 5 nov. 2019 à 17:39, Thiago Macieira a écrit : > > Probably *because* events would be processed during the wait. We all know > nested event loops are bad design. In this case, this stems from another > bad > API design: the clipboard handled synchronously, when it clearly isn't. > > Note:

Re: [Interest] Rebuild QPA plugins

2019-11-13 Thread Benjamin TERRIER
Le mer. 13 nov. 2019 à 07:12, Simon Matthews < simon.matth...@bluepearlsoftware.com> a écrit : > You don't need RHEL, just use CentOS. > > Have you tried setting the environment variable: > > export QT_DEBUG_PLUGINS=1 > > This might give you more information on the problem. > > You might have issu

[Interest] Rebuild QPA plugins

2019-11-12 Thread Benjamin TERRIER
Hi, I am trying to rebuild libqxcb.so. So for I am able to build the libqxcb.so (and qtbase) from source. It works and I can use this build to compile and run widgets applications. What I'd like to do is to be able to take the libqxcb.so from this build and use it with the Qt official release pac

Re: [Interest] XCB clipboard freeze

2019-11-05 Thread Benjamin TERRIER
Le mar. 5 nov. 2019 à 16:03, Thiago Macieira a écrit : > Ah, that's a good point. If the clipboard requires two-way communication > beyond just an initiation event, it'll never work to use it from the same > process, so long as the event dispatching is in the same thread. > > And the next issue i

Re: [Interest] XCB clipboard freeze

2019-11-05 Thread Benjamin TERRIER
Le lun. 4 nov. 2019 à 23:53, Thiago Macieira a écrit : > On Monday, 4 November 2019 11:07:05 PST Benjamin TERRIER wrote: > > Looking at QXcbClipboard code, the xcb event queue is blocked on a > > QWaitCondition. To my knowledge a QWaitCondition will not unlock unless > >

Re: [Interest] XCB clipboard freeze

2019-11-04 Thread Benjamin TERRIER
Le lun. 4 nov. 2019 à 15:53, Thiago Macieira a écrit : > > Yes. The problem is how you integrated the event loops. It's incorrect. > > Any chance you can tell the CEF to give its timers and file descriptors to > Qt? > Or to glib? > > The only thing I have found is a callback "OnScheduleMessagePu

[Interest] XCB clipboard freeze

2019-11-04 Thread Benjamin TERRIER
Hi, I have stumble upon a clipboard issue. I am working on a project wher we use Qt and CEF (Chromium Embedded). The CEF event loop is integrated in Qt by calling CefDoMessageLoopWork() periodically from Qt main event loop. The issue arises when we copy/paste content from CEF into Qt (widget or

Re: [Interest] Qt free software policy

2019-08-17 Thread Benjamin TERRIER
Le ven. 16 août 2019 à 08:41, Tuukka Turunen a écrit : > > > I do agree that we should clarify this, especially the GPLv2 and GPLv3 > part is not clearly explained at qt.io websites. The approach is to use > the v3 of both LGPL and GPL for new things, but to keep GPLv2 option for > Essentials and

Re: [Interest] Qt free software policy

2019-08-15 Thread Benjamin TERRIER
Le jeu. 15 août 2019 à 09:18, Vadim Peretokin a écrit : > Still, it reads like the Instagram influencer argument: "Give me free > stuff and I'll get you exposure.", and we all know how silly that sounds > like. > That is a bit insulting toward Qt contributors. And comparing free software project

Re: [Interest] Qt free software policy

2019-08-14 Thread Benjamin TERRIER
Le mer. 14 août 2019 à 22:05, Thiago Macieira a écrit : > On Wednesday, 14 August 2019 12:17:44 PDT Benjamin TERRIER wrote: > > The new add-ons modules could be provided as GPLv3 + GPLv2 + LGPLv3. > > Just a nitpick: there's no need to have GPL-3.0 and LGPL-3.0 at the s

Re: [Interest] Qt free software policy

2019-08-14 Thread Benjamin TERRIER
Le mer. 14 août 2019 à 20:36, Tuukka Turunen a écrit : > > > Hi, > > > > Qt’s approach to open-source is publicly described, but perhaps a bit > hidden, check for example: > >- Section 3 of https://www.qt.io/faq/ >- https://wiki.qt.io/Qt_Project_Open_Governance >- https://www.qt.io/li

[Interest] Qt free software policy

2019-08-14 Thread Benjamin TERRIER
Hi everyone, Since we are talking about the future of Qt these days, I would like to know The Qt Company free software policy with Qt. Today, most of Qt modules are released under 3 free software licenses: LGPLv3, GPLv2 and GPLv3. Some modules are released only under GPLv3. If my memory is good,

Re: [Interest] Whole edit window closes.

2019-03-13 Thread Benjamin TERRIER
Le mar. 12 mars 2019 à 21:39, Bill Crocker a écrit : > > Hello: > > Sorry. A boring old desktop widget problem... > > I have a QTableView. > I use a QStyledItemDelegate on each cell. > The delegate opens a custom, modal editor on double click. > The editor is based on a QDialog and contains a numb

Re: [Interest] QSettings keys

2018-08-26 Thread Benjamin TERRIER
Le ven. 24 août 2018 à 19:00, Bertwim a écrit : > > > > On 08/22/2018 10:35 PM, Thiago Macieira wrote: > > On Wednesday, 22 August 2018 11:06:16 PDT Bertwim wrote: > >> This is what I observe: > >> > >> For instance, if I enter the following, manually, in the ini file: > > [ignored] > > > > What y

[Interest] qmlcachegen.exe and "QTQUICK_COMPILER_SKIPPED_RESOURCES"

2018-05-24 Thread Benjamin TERRIER
Hi, I am trying to use the open source Qt Quick Compiler that comes with Qt 5.11, which is apparently qmlcachegen.exe. I have stumbled upon the issue that the compiler will process any qrc containing qml or js files, even if the js files are not meant to be used in QML. I have tried to use `QTQU

Re: [Interest] QML vs Electron

2018-02-19 Thread Benjamin TERRIER
2018-02-19 18:52 GMT+01:00 Thiago Macieira : > On Monday, 19 February 2018 03:26:16 PST Benjamin TERRIER wrote: >> > Open source usage of Qt is free as in “free speech”. As a Free Software >> > user you contribute or “pay” to our open source project by making your >>

Re: [Interest] Using connect/disconnect with lambdas

2018-02-19 Thread Benjamin TERRIER
2018-02-19 5:59 GMT+01:00 Tom Isaacson via Interest : > I'm replacing some old SIGNAL/SLOT connects with the new Qt5 format and I > need to use lambdas for some of them. > > Scenario 1: > > public slots: > void RouteEditName(); > void RouteEditName(QString name); > > m_pRouteEditNameAc

Re: [Interest] QML vs Electron

2018-02-19 Thread Benjamin TERRIER
Hello everyone, May I raise the subject of licensing when it comes to comparing QML vs Electron popularity. Electron and other javascript technologies (node, jquery, etc.) are licensed under permissive (no copyleft) open source licenses like MIT. Regarding Qt, even the most permissive license (L

Re: [Interest] Two from one.

2018-02-10 Thread Benjamin TERRIER
2018-02-09 14:40 GMT+01:00 william.croc...@analog.com < william.croc...@analog.com>: > > >> Think about C++ classes and files. If you have 3 classes like A, B and C, >> it is >> common practice >> to have them defined in 3 header files in particular if they are complex >> classes, even if both B a

Re: [Interest] Two from one.

2018-02-08 Thread Benjamin TERRIER
2018-02-08 19:22 GMT+01:00 william.croc...@analog.com < william.croc...@analog.com>: > > If I create a separate .pro file for lib and main, > I would then have to create yet a third file > to hold the common lines for inclusion in those first > two. That is not moving in the right direction. > Ma

Re: [Interest] Two from one.

2018-02-08 Thread Benjamin TERRIER
2018-02-08 16:47 GMT+01:00 william.croc...@analog.com < william.croc...@analog.com>: > > My goal is to keep all files in the same directory and all .pro logic in > the same file. > QMake should be ashamed of itself. > Why? It is a design decision made by the people who made qmake to have 1 .pro f

Re: [Interest] Using private QtQuick APIs

2018-01-19 Thread Benjamin TERRIER
2018-01-18 9:32 GMT+01:00 Uwe Rathmann : > > > And as long as C++ has not been agreed to be an officially supported API > to implemented Qt/Quick applications I don't have many arguments for my > patches. > I remember one of the Qt SceneGraph/Quick developers saying at some point that most of the

Re: [Interest] Customized Qt Platform Abstraction plugin

2017-11-20 Thread Benjamin TERRIER
2017-11-17 23:52 GMT+01:00 Philippe : >> You can do hybrid apps in Qt, I did one in MFC and Qt. Remember at some >> level Qt is "just a library". I'd imagine that at some point though you'd >> need to merge the event loops depending on the level of intertop required. >> If you don't have the sa

[Interest] WebGL Plugin

2017-11-15 Thread Benjamin TERRIER
Hello, Is the WebGL platform plugin supposed to be available in the Qt 5.10 Beta 4? I have installed the beta for msvc2017 x64, I think the plugin is supposed to be available because there is a "qt.qt5.5100.qtwebglplugin.win64_msvc2017_64" folder in the online installer repo. But in my installati

Re: [Interest] Dealing with large data sets with QtCharts

2017-11-06 Thread Benjamin TERRIER
2017-11-05 14:37 GMT+01:00 iman ahmadvand : > Hi everyone. > > I was wonder if it's possible to manage large data sets with qchart ? What do you mean by "large data sets" ? How many points ? > The consuming operation is a loop for adding points to QLineSeries + adding > each series to QChart. > >

Re: [Interest] [Development] Qt installation prefix path issue

2017-10-25 Thread Benjamin TERRIER
2017-10-25 16:16 GMT+02:00 Konstantin Tokarev : > > > 25.10.2017, 12:55, "Christian Gagneraud" : >> Google returns no result because the Qt company refuses to publish its >> open source tools in an open manner: code.qt.io explicitly expresses >> that it does not wish to be indexed by search engines

Re: [Interest] [Development] Qt installation prefix path issue

2017-10-25 Thread Benjamin TERRIER
2017-10-25 12:12 GMT+02:00 Maurice Kalinowski : > The reason is that code.qt.io is never meant as a public searchable tool, but > its purpose has always been to reduce the load on gerrit when doing initial > clones. > > Come on people, it's not that everything is meant to be purely evil, but as

Re: [Interest] [Development] Qt installation prefix path issue

2017-10-25 Thread Benjamin TERRIER
s/src/windeployqt/utils.cpp.html#_Z11patchQtCoreRK7QStringPS_ 2017-10-25 11:55 GMT+02:00 Christian Gagneraud : > On 25/10/17 22:25, Benjamin TERRIER wrote: >> >> Hi, >> >> To get an idea of how patching Qt5 works, one can look at the function >> patchQtCore() used

Re: [Interest] [Development] Qt installation prefix path issue

2017-10-25 Thread Benjamin TERRIER
Hi, To get an idea of how patching Qt5 works, one can look at the function patchQtCore() used in windeployqt. It will give you an idea of how its done on windows. http://code.qt.io/cgit/qt/qttools.git/tree/src/windeployqt/utils.cpp#n948 BR, Benjamin 2017-10-18 9:17 GMT+02:00 Christian Gagnerau

Re: [Interest] 32bits builds on 64bits Linux platform

2017-08-29 Thread Benjamin TERRIER
h relative? Or should we still patch the binary (like windeployqt does)? BR, Benjamin Terrier 2017-08-27 19:00 GMT+02:00 Thiago Macieira : > On Sunday, 27 August 2017 01:44:43 PDT Jean-Michaël Celerier wrote: > > LD_LIBRARY_PATH="$(dirname $0)/libs" ./myApp > >

[Interest] qmake replaces 'debug'/'release' in DESTDIR

2017-06-21 Thread Benjamin TERRIER
; build on Windows and it never happens on Linux (with or without "debug_and_release"). It looks like a bug to me. Is this behavior expected for some use cases? Regards Benjamin Terrier ___ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest

Re: [Interest] Documented way of building QSQLITE plugin does not work anymore

2017-06-02 Thread Benjamin TERRIER
2017-06-02 18:08 GMT+02:00 Thiago Macieira : > This is a known issue. You either have to wait for 5.9.1 Good to know. Thanks for the answer. > or you need to > rebuild all of qtbase to get the plugin. As I said earlier, I saved myself the "pain" of rebuilding all of qtbase by tweaking the plugin

[Interest] Documented way of building QSQLITE plugin does not work anymore

2017-06-02 Thread Benjamin TERRIER
fixed. Or is it the documentation that should have been changed because the use case is not supposed to be supported anymore? Thanks Regards Benjamin Terrier ___ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest

Re: [Interest] Using Widgets for new projects

2017-05-17 Thread Benjamin TERRIER
2017-05-17 18:14 GMT+02:00 Jérôme Godbout : > I don't say all desktop application should be done into Qml, but just that > it's doable into Qml no matter the application you have. No, it is not always doable. Let's say I want to make a desktop app that looks native. If I want to do it with QtQuic

Re: [Interest] changing colours for progressbar with GTK style

2017-04-28 Thread Benjamin TERRIER
Hi, Normally you would use a QPalette to change the colors. However, Qt styles can choose to take the set QPalette into account or to ignore it. The last time I checked the GTK style completely ignores it. I cannot check right know, but I think it is because it follows the GTK theme of your syste

Re: [Interest] Qt Quick, WindowState and ScreenOrientation

2017-02-14 Thread Benjamin TERRIER
2017-02-14 16:39 GMT+01:00 Benjamin TERRIER : > Hi, > > I've got some issue with orientation of full screen windows in Qt Quick. > > My environment: > - Windows 10 64 bits > - Qt 5.7 and 5.8 > - 2 screens: > 1. 1680x1050 (landscape) > 2. 480x800 (portrait)

[Interest] Qt Quick, WindowState and ScreenOrientation

2017-02-14 Thread Benjamin TERRIER
tation, Qt::PortraitOrientation and 800. However, for fullscreen Qt Quick app I've got Qt::LandscapeOrientation, Qt::LandscapeOrientation and 1050 (!!! It looks like the window does not know the current screen). Does anyone know if this is a kno

Re: [Interest] Qt World Summit 2016 on Qt Lite?

2016-12-22 Thread Benjamin TERRIER
2016-11-04 16:51 GMT+01:00 Carl Engh : > We have made screen and audio recordings of the session held by The Qt > Company employees from the summit including sessions by Lars Knoll and Nils > C. Roscher-Nielsen . After we are done editing they will be made available > – most likely through Qt Acco

Re: [Interest] Qt World Summit recordings 2016 are finally here

2016-12-16 Thread Benjamin TERRIER
ing they will be made >> available – most likely through Qt Account. Stay tuned. >> >> >> >> Carl Engh > > Hi, > > Any chance for the videos to be published on Youtube QtStudio account like it > was done in 2015? > > BR, > > Benjamin Terrier ___ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest

Re: [Interest] Qt World Summit 2016 on Qt Lite?

2016-11-07 Thread Benjamin TERRIER
y through Qt Account. Stay tuned. > > > > Carl Engh Hi, Any chance for the videos to be published on Youtube QtStudio account like it was done in 2015? BR, Benjamin Terrier ___ Interest mailing list Interest@qt-project.org http://lists.qt-proj

Re: [Interest] Qt 5.6.2 release date

2016-10-11 Thread Benjamin TERRIER
gning for qmake-generated Xcode projects in Xcode 8 (again) > > add buildsystem changelog for 5.6.2 > > qt/qtrepotools > > Do not complain about 2 trailing spaces in md files > > br, > Jani BR, Benjamin Terrier 2016-10-11 13:03 GMT+02:00 Jargo Kõster : > Hello,

Re: [Interest] QT Android: qApp->applicationName() returning lib name even after settings QCoreApplicaton::setApplication name

2016-09-29 Thread Benjamin TERRIER
Hi, QGuiApplication::setApplicationName() does not exist. If you call it you will call QCoreApplication::setApplicationName(). So that is not your problem. One explanation for your "bug" would be that you call qApp->applicationName before you call QCoreApplication::setApplicationName. To check, I

Re: [Interest] Is it a LGPLv3 infringement to copy paste qFuzzyCompare implementation

2016-07-22 Thread Benjamin TERRIER
Hi, My personal experience is that it will depend on the countries in which you develop and distribute your software. In France for instance software are protected by "author's rights" which implies that to be protected a piece of code must have some kind of creativity and/or originality. So my g

Re: [Interest] Creating Qt Quick controls from C++

2016-07-19 Thread Benjamin TERRIER
If your app is for desktop only, I suggest you go with Widget instead of Qt Quick. Sure Qt Quick has many advantages but for desktop only software it still lacks major features, for instance Qt Quick Controls 2 does not handle mouse hovering (e.g Buttons will not highlight when the cursor is over)

Re: [Interest] Qt LGPLv3 and Qt LGPL Exception

2016-06-28 Thread Benjamin TERRIER
2016-06-28 20:53 GMT+02:00 André Somers : > > > > Op 28/06/2016 om 11:09 schreef Jean-Michaël Celerier: > > > On Tue, Jun 28, 2016 at 10:39 AM, Benjamin TERRIER > wrote: >> >> The technical reason is that when including Qt headers in proprietary >> sof

[Interest] Qt LGPLv3 and Qt LGPL Exception

2016-06-28 Thread Benjamin TERRIER
supposed to be an LGPLv3 exception? If there is one and I missed it where is it? Or did the Qt Company forget to write one? Thanks, BR Benjamin Terrier ___ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest

Re: [Interest] Qt signal overhead (same thread, direct connection)

2016-04-22 Thread Benjamin TERRIER
Hi, When using a direct connection the call is immediate and does not depends on an event loop. From Qt doc: "When a signal is emitted, the slots connected to it are usually executed immediately, just like a normal function call. When this happens, the signals and slots mechanism is totally inde

Re: [Interest] Convert IPv6 to IPv4 ?

2016-04-21 Thread Benjamin TERRIER
Hi Alexander, First there is no way to convert an IPv6 to an IPv4. A given machine can have an IPv6 address without an IPv4 address, or have an IPv4 address without an IPv6 address, or one of each, or many addresses of each type. If you want peerAddress() to only return IPv4 addresses you must en

Re: [Interest] windeployqt and embedeed QML (.qrc)

2016-04-05 Thread Benjamin TERRIER
Hi Damien, Have a look at the "--qmldir " option ("windeployqt --help" to display all available options). The given directory will be scanned for QML dependencies. BR, Benjamin 2016-04-02 20:59 GMT+02:00 Damien Courtois : > Hi there, > > I have a lot of trouble finding informations about this,

Re: [Interest] windeployqt and embedeed QML (.qrc)

2016-04-05 Thread Benjamin TERRIER
> So that the tool can correctly find the imports. > > Regards, > Damien > > 2016-04-04 15:40 GMT+02:00 Benjamin TERRIER : >> >> Hi Damien, >> >> Have a look at the "--qmldir " option ("windeployqt --help" >> to display all avai

[Interest] PeekMessage, DispatchMessage and Qt events dispatching

2016-03-14 Thread Benjamin TERRIER
e is called the Qt event dispatcher is forced to process the next event in queue even if the current event is still being processed. Moreover the execution stack is never unstacked i.e DispatchMessage doesn't return. So here is my question is there a bug in Qt or does DispatchMess

Re: [Interest] QCanBusDevice inheritance

2015-09-10 Thread Benjamin TERRIER
2015-09-10 9:49 GMT+02:00 Blasche Alexander : > >>> Another inefficiency of the QIODevice approach would be that each frame > Hi, > >>> would have to be serialized to a QByteArray on the user API side just to be >> >unserialized on the backend side again. I have yet to see a backend API that >> >do

Re: [Interest] QCanBusDevice inheritance

2015-09-09 Thread Benjamin TERRIER
2015-09-09 15:18 GMT+02:00 Blasche Alexander : > Hi, > > >>Thanks for your response but I still don't get why QIODevice has been >>discarded for CAN while it is used for QUdpSocket. > >>First, frames can always be divided into bytes, there length is an >>integer multiple of byte. If you are talking

[Interest] QCanBusDevice inheritance

2015-09-08 Thread Benjamin TERRIER
Hi, Following the announce of Qt 5.6 Alpha, I checked the brand new QCanBusDevice and I've been wondering why the developers did not want to use QIODevice (the git logs show that all dependencies have been purposely removed). Cheers, Benjamin ___ Inter