[Interest] Regression? Change of html copied to clipboard from QTextEdit

2021-06-25 Thread Olivier B.
Some text in QTextEdit now seem to lose style when copypasted in an app built with Qt-5.15.2 In the appli built with 5.11.1, there is not the issue. I am copying from one read only QTextEdit to an other writable one. When overloading QTextEdit to debug clipboard data in createMimeDataFromSelection

Re: [Interest] [Development] Multi-Selection behavior of item views breaks drag'n'drop UX - options

2021-05-28 Thread Olivier B.
Here, we have had an issue when switching from 5.11.1 to 5.15.2, with multi selection and dragNdrop Now, if we start a drag n drop, but previously clicked on the item a short time ago (less than the double click delay), then the view starts multi selection with the mouse moves instead of starting d

[Interest] New double-click-drag selection in lists in QT 5.15?

2021-05-18 Thread Olivier B.
Hi, Somewhere between 5.11.1 and 5.15.2, it seems that if you double-click in a list widget, and move the mouse down before the second mouse button up, this now selects multiple lines. This is breaking a little the drag and drop from those lists, since if you quickly click twice by mistake on an

[Interest] no_check_exist is now fatal?

2021-04-12 Thread Olivier B.
I'm transitioning to 5.15.2 from 5.11. It seems that now, qmake install rules with config no_check_exist became fatal. Previously, they generated errors, but the build kept going. Now the builds seem to stop at the first error. Was this change conscient? (was the previous behaviour considered a bug

Re: [Interest] QStringBuilder buffer overflow with string litteral?

2021-01-25 Thread Olivier B.
rit : > Hi, > > Il 25/01/21 13:56, Olivier B. ha scritto: > > fields += (fields.isEmpty() ? "" : ", ") + '"' + field + '"'; > > QStringBuilder usage is a red herring, pay close attention at what > you're doing in

[Interest] QStringBuilder buffer overflow with string litteral?

2021-01-25 Thread Olivier B.
Compiling with QT 5.11.1 & QT_USE_QSTRINGBUILDER, i get an error with the following code block: QString generateQuery(const QString& tableName, const QStringList& columns, int count) { QString fields = "*"; if (!columns.isEmpty()) { fields.clear(); for (const QString&

Re: [Interest] qmake.exe not found at install of qt 5.15.1 build

2020-11-03 Thread Olivier B.
en, except manually doing the copy myself from bin/ to qmake/ between 'configure' & 'nmake' calls Le mar. 6 oct. 2020 à 23:21, Thiago Macieira a écrit : > On Tuesday, 6 October 2020 00:28:10 PDT Olivier B. wrote: > > As you can see, the previous command shows tha

[Interest] QDesktopServices::openUrl() without inheriting environment?

2020-10-23 Thread Olivier B.
An application needs custom library search path to use it's own versions of external libraries. But because of this, when opening files in external applications using QDesktopServices::openUrl(), the system applications (browser) registered for the file type will first try to use the application's

[Interest] qmake.exe not found at install of qt 5.15.1 build

2020-10-06 Thread Olivier B.
Hi, I am building qt 5.15.1 on windows /VC++2015/64-bit build. The debug shadow build seems to run the nmake to build fine, but while running the install rule, i get the error C:\sdk\src\qt-everywhere-src-5.15.1\shadow_dbg\qtbase\bin\qmake.exe -install qinstall -exe C:\sdk\src\qt-everywhere-src-5.

Re: [Interest] QT_DISABLE_DEPRECATED_BEFORE and external headers

2020-02-10 Thread Olivier B.
If you are using a qwt you build yourself, please find attached a patch for some public qwt 6.1.2 header to stop depending on QString::null when i incliude them. I apply it before building qwt, but it might also work if applied on the installed headers, not sure. Redeclaring some methods with an ot

Re: [Interest] FW: How can I implement QModbusClient for MODBUS ASCII mode?

2019-05-17 Thread Olivier B.
gt; > -Original Message- > From: Olivier B. [mailto:perso.olivier.barthel...@gmail.com] > Sent: Friday, May 17, 2019 12:19 PM > To: Олег Гаврильченко > Cc: Interests Qt > Subject: Re: [Interest] FW: How can I implement QModbusClient for MODBUS > ASCII mode? > > ht

Re: [Interest] FW: How can I implement QModbusClient for MODBUS ASCII mode?

2019-05-17 Thread Olivier B.
https://doc.qt.io/qt-5/qtserialbus-modbus-master-example.html https://doc.qt.io/qt-5/qtserialbus-modbus-slave-example.html https://sourceforge.net/projects/qmodmaster/ Le ven. 17 mai 2019 à 11:10, Олег Гаврильченко a écrit : > > Hello. > > I want write QModbusClient/QModubsServer subclasses, that

Re: [Interest] [qmake] COPIES broken for recent QT?

2019-04-12 Thread Olivier B.
Seems fixed in https://code.qt.io/cgit/qt/qtbase.git/commit/mkspecs/features/file_copies.prf?h=dev&id=7227e54445021b8c2ce4f4ab638cc7d43e32a5a7 I'll take back that modif in my qt installs Le ven. 12 avr. 2019 à 04:15, Thiago Macieira a écrit : > > On Thursday, 11 April 2019 06:43

[Interest] [qmake] COPIES broken for recent QT?

2019-04-11 Thread Olivier B.
I just noticed that my COPIES fail in Qt 5.11.1+ in visual studio solutions. This seems caused by the change in mkspecs/features/file_copies.prf; to use $(QINSTALL) instead of the previous $$QMAKE_COPY. But unlike in makefiles, QINSTALL is not defined in the visual studio solutions :( _

Re: [Interest] Disable -Og when configuring as developer build

2019-02-15 Thread Olivier B.
qtbase/configure.json says it is "optimize_debug" option that adds it Le ven. 15 févr. 2019 à 15:13, Konstantin Shegunov a écrit : > > On Fri, Feb 15, 2019 at 4:05 PM Mitch Curtis wrote: >> >> Is it the -optimize-debug configure flag? > > > No, not really. The configure script adds it by default

Re: [Interest] Wrong compiler caps check or missing /arch:avx?

2019-01-22 Thread Olivier B.
86_simd.exe > @C:\cygwin\tmp\nm80D4.tmp > LINK : fatal error LNK1104: cannot open file 'x86_simd.exe' > NMAKE : fatal error U1077: 'C:\vs2015\vc\bin\amd64\link.EXE' : return code > '0x450' > Stop. test config.qtbase.tests.x86SimdAlways FAILED Strange how the link

[Interest] Wrong compiler caps check or missing /arch:avx?

2019-01-21 Thread Olivier B.
Compiling 5.12.0 with vs 2015 Configure detects SSE up to 4.2 , and AVX up to AVX2 qdrawhelper_sse4.cpp C:\sdk\src\qt-everywhere-src-5.12.0\qtbase\src\gui\painting\qdrawhelper_sse4.cpp(164): error C3861: 'qUnpremultiply_sse4': identifier not found C:\sdk\src\qt-everywhere-src-5.12.0\qtbase\src\gui

Re: [Interest] configure does not find my dependencies headers anymore?

2019-01-08 Thread Olivier B.
not start running the tests if it does not understand the full command line? Le mar. 8 janv. 2019 à 12:08, Olivier B. a écrit : > > I am having issues building qt 5.12 on linux, with the same script i > used to build 5.11.1. Configure seems to ignore all the > -I/path/to/somedep/include tha

[Interest] configure does not find my dependencies headers anymore?

2019-01-08 Thread Olivier B.
I am having issues building qt 5.12 on linux, with the same script i used to build 5.11.1. Configure seems to ignore all the -I/path/to/somedep/include that i have in config.opt (one -Iblabla per line), so all the external dependencies are not found Did something change related to dependency inclu

Re: [Interest] QDir::entry(Info)List on macos

2018-11-15 Thread Olivier B.
What is the encoding of your source file? QString constructors interprets char* as if they are UTF-8. If the source file is encoded in your local encoding, the QString created for QFile constructor will have a wrong unicode storage of your wanted filename, then will try to convert what it thinks is

Re: [Interest] qmake with release config is called for debug build

2018-11-12 Thread Olivier B.
You can also use the COPIES qmake variable. It's used in a similar way as INSTALLS, but instead of being run when you 'make install', it will be run when you run 'make' of build the generated project in your IDE. It's usefull when your exe has deps that need to be beside it in the temp build dir fo

Re: [Interest] Fatal Q_ASSERT in 5.12.0-beta4?

2018-11-12 Thread Olivier B.
, due to a bug in MSVC2010. Could it be that the bug is still there in VS2015? I only get the issue with "-tp vc", not when generating nmake makefiles Le lun. 12 nov. 2018 à 13:00, Kai Koehne a écrit : > > > -Original Message- > > From: Interest On Behalf > >

[Interest] Fatal Q_ASSERT in 5.12.0-beta4?

2018-11-12 Thread Olivier B.
I built 5.12.0-beta4 to prepare for the LTS, but qmake on my project aborts at the assert in QStirng constructor. Trying to remove code to localize the problerm, i get another assert in qvector. I am running the release qmake, and i never saw them in previous (stable) versions. Are asserts enabled

Re: [Interest] Change of indirection of message pointer in nativeEvent()?

2018-10-24 Thread Olivier B.
Nevermind, it is https://bugreports.qt.io/browse/QTBUG-69074 Le mer. 24 oct. 2018 à 09:17, Olivier B. a écrit : > > With Qt 5.6.2, i used nativeEvent() to capture Windows minimize > command. I casted the void* message into a MSG* and could read it > properly > > Now, with Qt 5.

[Interest] Change of indirection of message pointer in nativeEvent()?

2018-10-24 Thread Olivier B.
With Qt 5.6.2, i used nativeEvent() to capture Windows minimize command. I casted the void* message into a MSG* and could read it properly Now, with Qt 5.11.1, this did not detect the messages anymore. Debugging, i noticed that at the call of QWindowSystemInterface::handleNativeEvent() by filterNa

Re: [Interest] [Qt3D] Assimp OBJ importer can not import a file with 500MB size

2018-10-16 Thread Olivier B.
Assimp 4.1, integrated in qt 5.11.1, already added stream reading of obj files, and is the most recent version. You will have to raise an issue to assimp IMO, then if it can be improved, rebuild qt with that new assimp version Le mar. 16 oct. 2018 à 16:26, Saif Suleiman a écrit : > > Hi, > As the

Re: [Interest] QMAKE_COPY not used anymore for files in INSTALLS. Workaround?

2018-09-25 Thread Olivier B.
i end up without the original nor the new destination file. Hence my need to rename the original destination file before asking for it's removal Le mer. 12 sept. 2018 à 18:15, Thiago Macieira a écrit : > > On Wednesday, 12 September 2018 08:27:04 PDT Olivier B. wrote: > > - Make a

Re: [Interest] QMAKE_COPY not used anymore for files in INSTALLS. Workaround?

2018-09-12 Thread Olivier B.
-2c05a7d11c42aacde5f92861cc595e07, i would say the constraint to have only files of only dirs in COPIES in files_copies.prf can be removed now that the QINSTALL command is the same for files or folders Le mer. 12 sept. 2018 à 17:16, Thiago Macieira a écrit : > On Wednesday, 12 September 2018 07:46:59 PDT Oliv

[Interest] QMAKE_COPY not used anymore for files in INSTALLS. Workaround?

2018-09-12 Thread Olivier B.
Here is another change i noticed when switching from 5.6.2 to 5.11.1 I used to tweak QMAKE_COPY and its cousins, to do extra stuff on the files installed by INSTALLS variable. Now, files in INSTALLS are installed using 'qmake -install qinstall', stored in QINSTALL variable, written in the makefil

Re: [Interest] Issues building Qt 5.11.1 from source

2018-07-30 Thread Olivier B.
> > From: Thiago Macieira > To: > Cc: > Bcc: > Date: Tue, 10 Jul 2018 07:29:29 -0700 > Subject: Re: [Interest] Issues building Qt 5.11.1 from source > On Tuesday, 10 July 2018 06:11:55 PDT Olivier B. wrote: > > I am currently trying 5.11.1 from sources. My previous

[Interest] Issues building Qt 5.11.1 from source

2018-07-10 Thread Olivier B.
I am currently trying 5.11.1 from sources. My previous mails seems to not have been sent, i had forgotten i had unsubscribed. Here are the issues i encountered so far: - the source archive does not contain .gitmodules at the root. Without it, the root configure.bat does not know of the modules, d

[Interest] Binary compatibility between 5.5 and 5.6

2016-10-25 Thread Olivier B.
I encountered some issues trying to link a library that uses Qt 5.6 into a program that uses Qt 5.5 on linux (providing the 5.5 libs to the linker when the lib needs 5.6 :P ) This resulted in lots of undefined reference to someQtSymbol()@Qt_5 Indeed, doing 'objdump -CT' on my 5.5.1 Qt5Core.so giv

Re: [Interest] Statically linking an open-source application with Qt?

2016-07-26 Thread Olivier B.
I am not sure you are even able to link all Qt statically. Won't you at least need platform plugins, image plugins, etc as shared libraries? Google gives this : https://wiki.qt.io/Building_a_static_Qt_for_Windows_using_MinGW 2016-07-26 17:15 GMT+02:00 Vik k : > Hey, I wrote an open source applic

Re: [Interest] Qt Location with Mapbox plugin?

2016-07-15 Thread Olivier B.
There was a message about it in that same mailing list earlier this morning from alexander.blas...@qt.io : Hi, Qt Location provides three content/map provider plugins (HERE, MapBox and MapQuest). The first two providers require an account to run and MapQuest was free of any registration so far. U

Re: [Interest] QTreeView expand icon changes unexpectedly Qt5.6.0 & VS2015

2016-05-31 Thread Olivier B.
Are you sure it is not https://bugreports.qt.io/browse/QTBUG-52230 ? 2016-05-28 22:59 GMT+02:00 Ben Swerts : > Hi Anton, > > I noticed the same issue with VS2015 Update 2 and Qt 5.6.0 (commercial). > Your post made me realize this seems to be related to the combination of > these two tools. > Our

Re: [Interest] PRO File defines

2016-04-24 Thread Olivier B.
Google 'undocumented qmake', or else, qmake source code ? Le 24 avr. 2016 23:29, "Gianluca" a écrit : > It’s not the first time that I see people knowing some “secrets” of Qmake … > … where is the full documentation of all these details ? > > > Il giorno 24/apr/2016, alle ore 18:47, Igor Mironchi

Re: [Interest] Qt modules dependency tree

2016-03-30 Thread Olivier B.
Cool thanks :) 2016-03-30 18:28 GMT+02:00 Thiago Macieira : > On quarta-feira, 30 de março de 2016 15:26:50 PDT Olivier B. wrote: > > Hi, > > Would there be somewhere online a dependency tree of all qt modules of > the > > standard distribution? > > It used to be

[Interest] Qt modules dependency tree

2016-03-30 Thread Olivier B.
Hi, Would there be somewhere online a dependency tree of all qt modules of the standard distribution? ___ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest

Re: [Interest] Conflicting libjpeg versions

2016-03-29 Thread Olivier B.
there any way to check the actual files Qt > is linked against? > > I was not clear in my original post. The error message is not triggered > when I use Qt for reading a jpeg, but when I'm directly using the libjpeg > API. > > Etienne > > 2016-03-29 16:55 GMT+0

Re: [Interest] Conflicting libjpeg versions

2016-03-29 Thread Olivier B.
oops, ignore my 2nd sentence, i mixed up png and jpeg 2016-03-29 16:51 GMT+02:00 Olivier B. : > I do -system-libjpeg -I ${ENV_LIBJPEG_PATH}/include -L > ${ENV_LIBJPEG_PATH}/lib on my configure line to use my own libjpeg > version. > I also sed in qtbase/src/3rdparty/png_dependency

Re: [Interest] Conflicting libjpeg versions

2016-03-29 Thread Olivier B.
options do I have for configuring Qt? I only know the option which > switches between embedded libjpeg and system libjpeg, and using the latter > should normally make Qt use the 6.2 that is installed in the compiler > folders (include/lib) > > > > > 2016-03-29 16:24 GMT+02:00 Olivie

Re: [Interest] Conflicting libjpeg versions

2016-03-29 Thread Olivier B.
Either your PATH is set so the wrong libjpeg dll is found first, or qt found the wrong jpeg include first. If you don't care which version is used, set your PATH so that your system libjpeg 6.2 is found first at runtime (or place the libjpeg dll of the version that was detected beside your executab