Re: [Interest] Use SQLite math functions (-DSQLITE_ENABLE_MATH_FUNCTIONS) like sin and cos?

2022-10-31 Thread Till Oliver Knoll
Am 27.10.22 um 12:46 schrieb Benjamin B (BBenj): Hello, Not sure if it was mentioned, but you can also copy the QSQLite plugin, change its name and build it with SQLite and all the options you need. Then use it as a Qt SQL plug-in and load it instead of the default one. Thank you for that

Re: [Interest] Use SQLite math functions (-DSQLITE_ENABLE_MATH_FUNCTIONS) like sin and cos?

2022-10-31 Thread Till Oliver Knoll
Am 26.10.22 um 19:35 schrieb Mike Chinander: I think it would be nice to have these math functions generally available in queries, but I would like to point out that in your example code, the angle you are taking the cosine of is a constant rather than a value retrieved from the DB. Uhm...

Re: [Interest] Use SQLite math functions (-DSQLITE_ENABLE_MATH_FUNCTIONS) like sin and cos?

2022-10-31 Thread Till Oliver Knoll
Am 26.10.22 um 18:23 schrieb Thiago Macieira: On Wednesday, 26 October 2022 07:29:15 PDT Till Oliver Knoll wrote: I have "github actions" that make it very easy to install a given "stock binary Qt release" on the desired integration platform Then please ask whoever is prov

Re: [Interest] Use SQLite math functions (-DSQLITE_ENABLE_MATH_FUNCTIONS) like sin and cos?

2022-10-26 Thread Till Oliver Knoll
Am 26.10.22 um 16:01 schrieb Till Oliver Knoll: I just created a suggestion report here, if anyone wants to contribute information about those "math functions": https://bugreports.qt.io/browse/QTBUG-108016 https://codereview.qt-project.org/c/qt/qtbase/+/440378 That wa

Re: [Interest] Use SQLite math functions (-DSQLITE_ENABLE_MATH_FUNCTIONS) like sin and cos?

2022-10-26 Thread Till Oliver Knoll
Am 25.10.22 um 21:49 schrieb Thiago Macieira: On Monday, 24 October 2022 10:58:56 PDT Till Oliver Knoll wrote: What is the least complicated way to enable the math functions that come with SQLite, when it is compiled with the -DSQLITE_ENABLE_MATH_FUNCTIONS switch? Solution #1: compile Qt

Re: [Interest] Use SQLite math functions (-DSQLITE_ENABLE_MATH_FUNCTIONS) like sin and cos?

2022-10-26 Thread Till Oliver Knoll
Am 25.10.22 um 18:40 schrieb Christian Ehrlicher: Am 24.10.2022 um 19:58 schrieb Till Oliver Knoll: Dear all, What is the least complicated way to enable the math functions that come with SQLite, when it is compiled with the -DSQLITE_ENABLE_MATH_FUNCTIONS switch? My empirical experiments

Re: [Interest] Use SQLite math functions (-DSQLITE_ENABLE_MATH_FUNCTIONS) like sin and cos?

2022-10-26 Thread Till Oliver Knoll
Am 25.10.22 um 05:24 schrieb Tony Rietwyk: Hi Oliver, Can't answer your broader question, but I suspect the reason you are seeing "No query Unable to fetch row" - error code: "" is because you are not checking for an error after the prepare. Oh my! I wasn't even aware that a call to

Re: [Interest] Use SQLite math functions (-DSQLITE_ENABLE_MATH_FUNCTIONS) like sin and cos?

2022-10-24 Thread Till Oliver Knoll
Am 24.10.22 um 19:58 schrieb Till Oliver Knoll: However when compiled into my Qt 5.15.2 application with some current "test code" like:. QSqlQueryquery1; query1.setForwardOnly(true); query1.prepare( "selectpower(l.latitude-48.0,2)+power((l.longitude-8.0)*cos(radians(48.0)

[Interest] Use SQLite math functions (-DSQLITE_ENABLE_MATH_FUNCTIONS) like sin and cos?

2022-10-24 Thread Till Oliver Knoll
Dear all, What is the least complicated way to enable the math functions that come with SQLite, when it is compiled with the -DSQLITE_ENABLE_MATH_FUNCTIONS switch? My empirical experiments with the binary Qt 5.15.2 (open source) release (but also some tests with the lastest Qt 6.4 binary

Re: [Interest] Some Qt classes (QUuid) do not work with std C++ containers (unordered_map)? [C++ question] [SOLVED]

2021-07-06 Thread Till Oliver Knoll
Am 06.07.21 um 11:30 schrieb Ahmad Samir: > On 06/07/2021 11:17, Till Oliver Knoll wrote: >> ... >> #include #include ... // Won't compile >> std::unordered_map exportPlugins; >> ... > Hello. Have a look at > https://www.kdab.com/qt-datatypes-in-standard-libra

[Interest] Some Qt classes (QUuid) do not work with std C++ containers (unordered_map)? [C++ question]

2021-07-06 Thread Till Oliver Knoll
Dear all, Disclaimer: my C++ knowledge is a bit rusty, especially as far as standard C++ containers and modern features (C++11, 17, 20) are concerned. That's exactly the reason why I have started another small open source project, and also the reason why I now tend to use C++ standard containers

Re: [Interest] Rebuilding cmake project (in Qt Creator) fails - build directories write-protected?

2021-01-06 Thread Till Oliver Knoll
Am 06.01.21 um 10:45 schrieb Kai Köhne: >> From: Interest On Behalf Of Till Oliver >> Knoll >> Subject: Re: [Interest] Rebuilding cmake project (in Qt Creator) fails - >> build directories write-protected? >> >> Am 31.12.20 um 16:02 schrieb Till Oliver Kn

Re: [Interest] Qt6 - Making Qt installer package for Windows, Linux and OS X

2021-01-06 Thread Till Oliver Knoll
Am 09.12.20 um 11:14 schrieb Alexandru Croitor: > Going forward, i'd expect improvements on "consumption of Qt with CMake" part > as well. I can definitively confirm that creating your own Qt applications using CMake yourself is not quite the same "out of the box"-experience as with qmake (at

Re: [Interest] Qt 6.0.0 released

2021-01-06 Thread Till Oliver Knoll
Am 09.12.20 um 16:04 schrieb ekke: > > I'm happy with the new Small Business License for my mobile app > development. https://www.qt.io/qt-for-small-business > Well, here's the new catch (compared to Qt 5 perpetual licenses): if you stop paying your license fees you now must pull your app(s)

Re: [Interest] Rebuilding cmake project (in Qt Creator) fails - build directories write-protected?

2021-01-05 Thread Till Oliver Knoll
Am 05.01.21 um 20:09 schrieb Till Oliver Knoll: > Am 31.12.20 um 16:02 schrieb Till Oliver Knoll: >> Am 31.12.20 um 15:29 schrieb James DeLisle: >>> >>> There are some on-going peculiarities with CMake and translation >>> files, as evidenced here: >>&

Re: [Interest] Rebuilding cmake project (in Qt Creator) fails - build directories write-protected?

2021-01-05 Thread Till Oliver Knoll
Am 31.12.20 um 16:02 schrieb Till Oliver Knoll: > Am 31.12.20 um 15:29 schrieb James DeLisle: >> >> There are some on-going peculiarities with CMake and translation >> files, as evidenced here: >> >> https://bugreports.qt.io/browse/QTBUG-76410 >> <h

Re: [Interest] Rebuilding cmake project (in Qt Creator) fails - build directories write-protected?

2020-12-31 Thread Till Oliver Knoll
Am 31.12.20 um 15:29 schrieb James DeLisle: > > There are some on-going peculiarities with CMake and translation > files, as evidenced here: > > https://bugreports.qt.io/browse/QTBUG-76410 > > Thanks for your reply! In fact, the problem is not only

Re: [Interest] Rebuilding cmake project (in Qt Creator) fails - build directories write-protected?

2020-12-31 Thread Till Oliver Knoll
Am 30.12.20 um 17:34 schrieb Jason H: > I don't have any specific knowlege, but if it were me, I would check > Sysinternals diskmon and see where/whow/who is setting the read-only > flag. (Asuming I checked and the flad is actually set) Thank you for your quick reply. Before I dig deeper I first

[Interest] Rebuilding cmake project (in Qt Creator) fails - build directories write-protected?

2020-12-30 Thread Till Oliver Knoll
Dear all, It's been a while since I asked my last question here - or posted anything meaningful, for that matter - so first of all "Hello!" and "Merry Christmas / Holidays" :) I have started a new Qt 5.15.2 (open source) project on Windows 10 (due to a dependency on Flight Simulator 2020,

Re: [Interest] I love QML

2020-07-08 Thread Till Oliver Knoll
Am 03.07.20 um 17:46 schrieb joao morgado via Interest: > When I started using Qt I never touched WIndows MFC again. Ha! But you actually /did/ touch MFC then ;) Here's another fan story (even though I am - unfortunately - not working professionally with Qt for a very long time)... Back in the

Re: [Interest] Qt-12 with Dark Theme on MacOS Mojave

2018-12-21 Thread Till Oliver Knoll
> Am 21.12.2018 um 08:26 schrieb coroberti . : > >> On Thu, Dec 20, 2018 at 9:33 PM Mike Krus wrote: > >> Hi >> >> I’ve been tracking QEvent::PaletteChange events, like this: >> >> bool MainWindow::event(QEvent *event) >> { >> if (event->type() == QEvent::PaletteChange) { >>

Re: [Interest] need a QT 5.12.0 MinGW 32bit release for windows in all the upcoming QT versions

2018-12-18 Thread Till Oliver Knoll
+1 > Am 17.12.2018 um 13:30 schrieb André Hartmann : > > +1 > >> Am 17.12.18 um 12:44 schrieb Frank Hemer: >> +1 >>> On Monday, 17 December 2018 08:11:34 CET Amr Kamal wrote: >>> Hello, >>> >>> when Downloading the last version of QT 5.12.0 it only provides MinGW 64bit >>> for windows which

Re: [Interest] Is it ok to use QLibrary to load and unload different shared libraries in sequence?

2018-10-26 Thread Till Oliver Knoll
> Am 26.10.2018 um 18:21 schrieb Thiago Macieira : > > On Thursday, 25 October 2018 00:03:32 PDT Roland Winklmeier wrote: >>> The problem might be a number of different things. In general, don't >>> unload >>> libraries. If your design requires it, rethink and redesign. >> >> It was more like

Re: [Interest] QtCreator 4.7.1 / Qt 5.12. Beta 1 (Android, iOS, macOS)

2018-10-15 Thread Till Oliver Knoll
> Am 13.10.2018 um 12:25 schrieb ekke : > > I'm just testing Qt Creator 4.7.1 / Qt 5.12 Beta 1 with my QtQuickControls2 > Apps for Android / iOS. > > macOS also used, but only because testing is really fast on macOS > > Xcode 10.0, macOS 10.13.6 > > --- > > macOS: getting warnings > > Qt

Re: [Interest] Qt and Open SSL

2018-10-15 Thread Till Oliver Knoll
> Am 15.10.2018 um 02:42 schrieb Christopher Probst : > > Also want to confirm that even though is says 32, ssleay32.dll and > libeay32.dll are not necessarily compiled with a 32 compiler? Didn‘t you just say that you compiled those libs yourself? So you should know ;) In all other cases:

Re: [Interest] Swift?

2018-08-10 Thread Till Oliver Knoll
> Am 10.08.2018 um 15:08 schrieb Jason H : > > What is the status of using swift in Qt for Apple platforms? Last time I checked there was no such thing as „Swift++“ (in analogy to ObjC++), which makes it impossible to „mix and match“ Swift code with C++. The common denominator is C, so you

[Interest] [Very OT] Re: WebGL platform and audio

2018-04-23 Thread Till Oliver Knoll
> Am 23.04.2018 um 17:58 schrieb Glen Mabey : > > Jesus, > > Thanks for your reply. I've followed your suggestion and created an issue. > Anyone monitoring this thread should be able to vote for it here: > > https://bugreports.qt.io/browse/QTBUG-67896 „... he audio comes

Re: [Interest] Future of Qt [was: Future of Qt3d]

2017-11-08 Thread Till Oliver Knoll
> Am 08.11.2017 um 11:54 schrieb Alexander Ivash : > > This is really confusing. > > From one side, > >>> What you **don't** say is, that you "genuinely wish to treat the Qt >>> Project as an Open Governance project and that external contributions >>> are welcomed and

[Interest] [OT] Re: Interest Digest, Vol 69, Issue 11

2017-07-09 Thread Till Oliver Knoll
> Am 08.07.2017 um 22:08 schrieb Roland Hughes : > ... > If you are really old like I am you remember a time when we had feeble 8086, > 80286 based desktops and just down the hall there were Sparc Stations and all > of these other high end engineering workstations.

Re: [Interest] Using Widgets for new projects

2017-05-17 Thread Till Oliver Knoll
> Am 17.05.2017 um 03:14 schrieb Tuukka Turunen : > > > Hi, > > If you make a desktop application widgets are often a solid choice – > especially if you want the application to look like other apps in that OS and > not create your own style for the app. Qt Creator,

Re: [Interest] QMake

2017-05-09 Thread Till Oliver Knoll
> Am 08.05.2017 um 20:49 schrieb Hamish Moffatt <ham...@risingsoftware.com>: > >> On 08/05/17 21:38, Till Oliver Knoll wrote: >> >> >> Am 08.05.2017 um 04:12 schrieb Hamish Moffatt <ham...@risingsoftware.com>: >> >&

Re: [Interest] Args

2017-05-08 Thread Till Oliver Knoll
> Am 08.05.2017 um 08:26 schrieb Till Oliver Knoll > <till.oliver.kn...@gmail.com>: > > > > Am 08.05.2017 um 07:16 schrieb Philippe <philw...@gmail.com>: > >>>> There is probably a reason why completely new languages like Swift come >>>

Re: [Interest] Args

2017-05-08 Thread Till Oliver Knoll
> Am 08.05.2017 um 08:26 schrieb Till Oliver Knoll <till.oliver.kn...@gmail.com> > > This sums up my previous point pretty nicely: > > "Java exceptions ceased to be exceptional at all, they became commonplace. > They are used from everything from t

Re: [Interest] QMake

2017-05-08 Thread Till Oliver Knoll
> Am 08.05.2017 um 04:12 schrieb Hamish Moffatt : > >> On 08/05/17 17:07, Igor Mironchik wrote: >> Hi, >> >> Is it possible to set in qmake project file to put executable right in "." >> directory and don't use "debug" and "release" subdirs? > > Which platform? It

Re: [Interest] Args

2017-05-08 Thread Till Oliver Knoll
Am 08.05.2017 um 07:16 schrieb Philippe : >>> There is probably a reason why completely new languages like Swift come >>> completely without exception handling > > Quote from Apple doc: > > "Swift provides first-class support for throwing, catching, propagating, > and

Re: [Interest] Args

2017-05-08 Thread Till Oliver Knoll
> Am 08.05.2017 um 01:48 schrieb Igor Mironchik : > > Hi, Using exceptions in arguments parser is something that just cannot be justified. >>> Why not? >> Even in the danger of starting a huge debate about "exceptions vs return >> error code" here are

Re: [Interest] Args

2017-05-07 Thread Till Oliver Knoll
> Am 04.05.2017 um 05:44 schrieb Igor Mironchik : > > > > 2017-05-04 11:41, Konstantin Tokarev пишет: >> Using exceptions in arguments parser is something that just cannot be >> justified. >> > > Why not? Even in the danger of starting a huge debate about

Re: [Interest] Qt at the C++20 era

2017-05-02 Thread Till Oliver Knoll
> Am 01.05.2017 um 17:51 schrieb Jean-Michaël Celerier > : > > https://twitter.com/anastasiak2512/status/858809432792338432 > https://twitter.com/sebrose/status/858347156427636738 > https://twitter.com/hatcat01/status/858360761424523266 > > I think that the Qt

Re: [Interest] Qt "Desktop App" for Microsoft Store

2017-04-30 Thread Till Oliver Knoll
Am 30.04.17 um 08:57 schrieb Robert Iakobashvili: > Hi, > > Has anybody tried to make and publish a Qt-based Windows "Desktop App" > at the Microsoft App Store? > > Any experience you have to share? I personally have no experience to share, however it seems pretty well described in the Qt docs:

Re: [Interest] Crash with Qt application that use OpenGL

2017-04-25 Thread Till Oliver Knoll
[with reference to: http://lists.qt-project.org/pipermail/interest/2016-October/025009.html] Am 21.04.17 um 15:17 schrieb Xavier Bigand: > This is not directly related, but that it is why I thought it was a Qt > bug. It it so easy in OpenGL to use badly API and having a good result > that will

Re: [Interest] Crash with Qt application that use OpenGL

2017-04-21 Thread Till Oliver Knoll
> Am 20.04.2017 um 21:04 schrieb Xavier Bigand : > > It is not necessary a bug from Nvidia, it can comes from bad parameters to > functions like glDrawElements. Nividia drivers don't check a lot the > parameters and given wrong values can cause buffer overflows,...

Re: [Interest] Crash with Qt application that use OpenGL

2017-04-21 Thread Till Oliver Knoll
> Am 20.04.2017 um 19:27 schrieb Xavier Bigand : > > ... > > It seems to be specific to the following configuration: > - Nvidia geforce 1060 or 1070 at least (can't reproduce with a 980 GTX) So you actually tried with another GPU (possibly different driver) and

Re: [Interest] Crash with Qt application that use OpenGL

2017-04-21 Thread Till Oliver Knoll
> Am 20.04.2017 um 19:27 schrieb Xavier Bigand : > > Hi, > > > I think that I have found a crash in the nvidia drivers made by QtQuick. > > On the computer on which our application crash at startup in the nvoglv32.dll > QtCreator crash too in the same way, that it

Re: [Interest] qobject_cast

2017-04-20 Thread Till Oliver Knoll
> Am 20.04.2017 um 08:05 schrieb nikita baryshnikov : > > Hi, Igor > > Your example is incorrect, cause you forget about Q_OBJECT macro in > Channel class That's what I just wanted to add as a general remark, because it is a common pitfall (at least for me): /every/

[Interest] Google "guetzli" JPEG encoder Qt image plugin

2017-04-11 Thread Till Oliver Knoll
Hi all, A simple QImageIOPlugin based JPEG "Guetzli" encoder is available here: https://github.com/till213/GuetzliImageIOPlugin Guetzli-generated images are typically 20-30% smaller than images of equivalent quality generated with libjpeg. All credits go to Google Research Europe here. Also

Re: [Interest] macdeploy and lib dependencies

2016-10-10 Thread Till Oliver Knoll
> Am 10.10.2016 um 08:37 schrieb Nuno Santos : > > Libs like libssl, libcrypto, libxml2, libplist, etc, All the dependencies of > libimobiledevice which is the lib I’m linking to. In the QtCreator project I > link with libimobiledevice and macdeployqt is able to copy

Re: [Interest] SSL broken hard on OSX

2016-09-21 Thread Till Oliver Knoll
> Am 21.09.2016 um 20:07 schrieb Jason H : > > >>> Does anyone know how I can fix (not hide) these issues? >> >> Option 1) upgrade OpenSSL >> >> Option 2) use the native backend (SecureTransport) for SSL, not OpenSSL. >> SecureTransport is the default in Qt 5.6. > > Thanks

Re: [Interest] SSL broken hard on OSX

2016-09-21 Thread Till Oliver Knoll
> Am 21.09.2016 um 20:01 schrieb Thiago Macieira : > >> On quarta-feira, 21 de setembro de 2016 19:52:45 PDT Jason H wrote: >> I am on OSX 10.11.5. I've been using SSL successfully for a while, and I >> fell into a habit of ignoring qt.network.ssl warnings:

Re: [Interest] Swift and Qt? (formally?)

2016-09-19 Thread Till Oliver Knoll
Am 19.09.16 um 18:52 schrieb Robert Iakobashvili: > On Mon, Sep 19, 2016 at 5:25 PM, Jason H wrote: >> There is a 9-month old github; https://github.com/msorvig/qt-and-swift for >> integrating the two. >> >> Are there any plans for formal Qt support of Swift? Obj-C is painful. >

[Interest] FYI: Qt 5.6.1 on macOS "Sierra" - Maintenance Tool runs again

2016-08-25 Thread Till Oliver Knoll
Hi all, For those interested: the MaintenanceTool.app of the stock Qt 5.6.1 binary runs again on the latest public beta of macOS 10.12 "Sierra". It used to segfault as soon as you would double-click on it on previous beta versions of "Sierra". Apparently someone at Apple /did/ notice my crash

[Interest] [OT] Re: [QtCharts] Logarithmic QDateTimeAxis

2016-07-13 Thread Till Oliver Knoll
> Am 27.06.2016 um 21:55 schrieb Thompson, Adam B. : > > ..., but we plan to move to Qt 5 when we have time/funding. ... > > Some of our data sets are time-dependent and are often extrapolated hundreds > or thousands of years in the future. So I guess eventually you

[Interest] [OT] Re: Utilizing the GPU, how to start?

2016-07-12 Thread Till Oliver Knoll
> Am 12.07.2016 um 11:41 schrieb Sze Howe Koh : > > Note that it is currently summer holidays in Norway, so > most of the staff are on leave till the end of July. They have summer in Norway? *duck and cover* ;) Cheers, Oliver P.S. At least "our" summer in

Re: [Interest] Qt ownership model

2016-06-07 Thread Till Oliver Knoll
> Am 05.06.2016 um 14:49 schrieb Thiago Macieira : > >> Em sábado, 4 de junho de 2016, às 15:55:47 BRT, Антон Жилин escreveu: >> 3. Widgets without a parent are usually used with QSharedPointer: >> auto obj = QSharedPointer::create(...); >> -- Not so great, it is

Re: [Interest] Are slots even needed these days?

2016-03-19 Thread Till Oliver Knoll
> Am 16.03.2016 um 23:41 schrieb Bob Hood : > >> On 3/16/2016 3:37 PM, André Pönitz wrote: >>> On Wed, Mar 16, 2016 at 02:31:33PM +, Gian Maxera wrote: I can connect to Foo::bar either way. If I don't intend to ever use the old-style connect syntax, is there a

Re: [Interest] [OS X] next Qt 5.6.0 question : Freetype (building with -fontconfig)?

2016-03-19 Thread Till Oliver Knoll
Am 17.03.2016 um 23:21 schrieb René J. V. Bertin : >> ... > > So, does this mean that font rendering can use Freetype instead of CoreText > now, > and thus potentially benefit from the rendering quality provided by the > Infinality patches (as well as better support for

Re: [Interest] Are slots even needed these days?

2016-03-19 Thread Till Oliver Knoll
> Am 16.03.2016 um 22:37 schrieb André Pönitz : > > On Wed, Mar 16, 2016 at 02:31:33PM +, Gian Maxera wrote: >>> I can connect to Foo::bar either way. If I don't intend to ever use >>> the old-style connect syntax, is there a reason to have "public >>> slots:" anymore?

Re: [Interest] Are slots even needed these days?

2016-03-19 Thread Till Oliver Knoll
> Am 17.03.2016 um 07:39 schrieb André Somers : > > ... > I find that much more readable than having to look in some signals section to > find if there is a notification signal, and then in some slots section to see > if the setter is perhaps declared as a slot or not.

Re: [Interest] How to properly delete qApp?

2016-03-19 Thread Till Oliver Knoll
> Am 16.03.2016 um 13:01 schrieb Till Oliver Knoll > <till.oliver.kn...@gmail.com>: > > > ... > > Oh, and somewhat related: just make double-sure on OS X that your Qt plugin - > specifically all GUI and paint operations - happen in the /main/ thread of >

Re: [Interest] How to properly delete qApp?

2016-03-19 Thread Till Oliver Knoll
> Am 16.03.2016 um 11:51 schrieb Nuno Santos : > > Hi, > > My application is targeted to run as a software plugin inside another third > party application. When a instance of my plugin is instanciated I check if > qApp exists. If so, I will use that pointer,

Re: [Interest] Translating plural with is/are

2016-03-07 Thread Till Oliver Knoll
> Am 07.03.2016 um 19:56 schrieb Jason H : > > >> >> If you provide a translation file, the message with %n will be translated >> according to the language's plural rules. For English, you'll have two >> translations for the same source message. >> >>"At least one upper

Re: [Interest] Minimum required OS X SDK for Qt 5.6?

2016-03-02 Thread Till Oliver Knoll
> Am 02.03.2016 um 20:20 schrieb NoRulez : > > Hello, > > what is the minimum required Mac OS X SDK? > I tried it with MacOSX10.8.sdk and C++11 enabled but it fails with (I > think that C++11 is not fully supported in 10.8): Just to clarify: you need to distinguish between

Re: [Interest] Pixmap redraw on OS X Retina display zoomed-in 4x?

2016-01-22 Thread Till Oliver Knoll
> Am 22.01.2016 um 20:44 schrieb Edward Sutton : > > >> On Jan 22, 2016, at 1:30 PM, Jason H wrote: >> >> >Look for something called DevicePixelRatio... Also QML Screen attached >> >property/element. It might be a shortcoming in Qt, but you should

Re: [Interest] [Announce] Qt 5.6 Beta released

2015-12-20 Thread Till Oliver Knoll
> Am 18.12.2015 um 10:18 schrieb List for announcements regarding Qt releases > and development : > > Hi all, > > > Qt 5.6.0 beta is finally out, see > http://blog.qt.io/blog/2015/12/18/qt-5-6-beta-released/ . > > > It was quite hard at this time ;) Big thanks to

Re: [Interest] Convertion between QImage to QPixmap taking to much time.

2015-10-17 Thread Till Oliver Knoll
> ... > > When I put the timer to see how much time Qt spending to create QPixmap, I > realize that I converting from Qimage to QPixmap taking ~20 times more time > than crating Qimage from buffer. Yes, I guess that's perfectly possible. That depends off course on the original data layout

Re: [Interest] Is here memory leaks?

2015-10-08 Thread Till Oliver Knoll
> Am 08.10.2015 um 22:21 schrieb Thiago Macieira : > Leaks-because-of-exit don't > count, except for pedantism. Sorry to be pedantic one here, but leaks mean that d'tors are not called, even when at process exit memory is reclaimed by the OS. And not calling a

Re: [Interest] OS X 10.11 'El Capitan' and Qt 5.5.0 - first experience

2015-10-06 Thread Till Oliver Knoll
>> Am 03.10.2015 um 19:24 schrieb Thiago Macieira <thiago.macie...@intel.com>: >> >> On Saturday 03 October 2015 16:42:42 Till Oliver Knoll wrote: >> And as a bonus: the 1000s of bogus (?) warnings which I saw with Qt >> 5.5.0 initially (on OS X 10.10 fo

[Interest] OS X 10.11 'El Capitan' and Qt 5.5.0 - first experience

2015-10-03 Thread Till Oliver Knoll
Hi all, a very quick experience feedback for Qt 5.5.0 (stock binary distribution) on OS X 10.11 'El Capitan': * I had to uncomment my previous entry QMAKE_MAC_SDK = macosx10.10 IIRC I had to add this entry to my *.pro (qmake project) files for some previous Qt version (5.4?) which otherwise

Re: [Interest] icons in menus

2015-09-14 Thread Till Oliver Knoll
> Am 13.09.2015 um 16:50 schrieb René J.V. Bertin : > > Hi, > > Is it to be expected that I have icons in the items of the global menubar of > the Assistant, Designer and Linguist apps, using the Qt 5.5.0 Cocoa build? No. Applications on OS X don't have icons in the menu

[Interest] [OT] Re: Qt 5.5.x

2015-09-12 Thread Till Oliver Knoll
> Am 12.09.2015 um 10:19 schrieb Till Oliver Knoll > <till.oliver.kn...@gmail.com>: > > >> Am 11.09.2015 um 19:59 schrieb Matthew Woehlke <mwoehlke.fl...@gmail.com>: >> >>> On 2015-09-11 13:41, Till Oliver Knoll wrote: >>> You ca

Re: [Interest] Qt 5.5.x

2015-09-12 Thread Till Oliver Knoll
> Am 11.09.2015 um 19:59 schrieb Matthew Woehlke <mwoehlke.fl...@gmail.com>: > >> On 2015-09-11 13:41, Till Oliver Knoll wrote: >> You can further reduce the "dependency tree" of your sources by >> making use of the private "d-pointer" pattern

Re: [Interest] Qt 5.5.x

2015-09-12 Thread Till Oliver Knoll
> Am 12.09.2015 um 10:31 schrieb Samuel Gaist : > > > Because the d pointer is the equivalent of the smile of the Cheshire Cat, the > only visible part: d => D Ah, now it makes /completely/ sense to me! D -> smile... clever :) Learnt something new about C++ today!

Re: [Interest] Qt 5.5.x

2015-09-11 Thread Till Oliver Knoll
> Am 11.09.2015 um 18:48 schrieb "m...@rpzdesign.com" : > > Mr Weeks -> You were correct. > > A dependency was touched. And that had a domino effect on untouched code. You can further reduce the "dependency tree" of your sources by making use of the private "d-pointer"

Re: [Interest] Dynamic build of Qt for iOS...

2015-09-10 Thread Till Oliver Knoll
> Am 10.09.2015 um 09:54 schrieb Igor Mironchik : > > Hi guys, > > Is it possible to build Qt dynamically for iOS? I'm not an iOS expert but I think people on this list have mentioned that it is against the App Store Rules to link dynamically against "private"

Re: [Interest] OS X Deployment - question

2015-09-02 Thread Till Oliver Knoll
> Am 02.09.2015 um 09:48 schrieb Ziggy Uszkurat : > > Hi there, > > When I run macdeployqt, it installs frameworks as expected. However, the ones > it installs are of a different size to the ones in QT/lib. For instance, > QtCore is 5.9 MB in my app, but 6.3 MB in the

Re: [Interest] Mac with Retina Display - Look is Pixilated with Qt-5.4.2

2015-07-24 Thread Till Oliver Knoll
Am 22.07.2015 um 08:43 schrieb Robert Iakobashvili corobe...@gmail.com: On Wed, Jul 22, 2015 at 9:16 AM, Hamish Moffatt ham...@risingsoftware.com wrote: On 22/07/15 15:52, Robert Iakobashvili wrote: Gentlemen, A user pointed to the issue on Mac Book Pro 15 inch mid 2015. AMD Radeon R9

Re: [Interest] Is moc obsolete?

2015-07-08 Thread Till Oliver Knoll
Am 08.07.15 um 20:56 schrieb Konstantin Tokarev: 08.07.2015, 21:26, Till Oliver Knoll till.oliver.kn...@gmail.com: Am 08.07.2015 um 08:57 schrieb Igor Mironchik igor.mironc...@gmail.com: Hi, Does anybody know if Qt plans to remove moc in the future releases, let's say in Qt 6

[Interest] [OT] Re: Indie Mobil Program terminated?

2015-07-07 Thread Till Oliver Knoll
Am 07.07.2015 um 07:43 schrieb Turunen Tuukka tuukka.turu...@theqtcompany.com: ... Yup. It is raining today ;) Yesterday it was still nice and warm here. We are reading blog comments, mailing lists, forums, sales contact requests etc. ... And now... please stop that :) Enjoy your

Re: [Interest] Camera not worknig on IOS

2015-07-07 Thread Till Oliver Knoll
Am 07.07.2015 um 13:28 schrieb Harri Pasanen ha...@mpaja.com: On 07/07/2015 12:53, Till Oliver Knoll wrote: Am 07.07.2015 um 10:50 schrieb Daniel França daniel.fra...@gmail.com: Thanks for the answer. It seems that we still need to mix with native Cocoa code :( https

Re: [Interest] Objective C Category for QCocoaApplicationDelegate undefined symbols

2015-07-06 Thread Till Oliver Knoll
Am 01.07.2015 um 10:54 schrieb Croitor Alexandru placi...@gmail.com: Hi. I'm trying to add an Objective C category to the QCocoaApplicationDelegate class that is defined by the Mac OS X Cocoa platform plugin, to add / override some methods. I am not an Obj-C expert, but I'd say you

Re: [Interest] Objective C Category for QCocoaApplicationDelegate undefined symbols

2015-07-06 Thread Till Oliver Knoll
Am 06.07.15 um 19:38 schrieb Till Oliver Knoll: Am 01.07.2015 um 10:54 schrieb Croitor Alexandru placi...@gmail.com: Hi. I'm trying to add an Objective C category to the QCocoaApplicationDelegate class that is defined by the Mac OS X Cocoa platform plugin, to add / override some methods

Re: [Interest] Extremely sluggish browser performance in Qt 5.5

2015-06-23 Thread Till Oliver Knoll
Am 23.06.2015 um 03:14 schrieb John C. Turnbull ozem...@ozemail.com.au: It seems that the problem exists in 5.4.2 as well so it's definitely not a regression. Sorry, just a shot into the blue here. Maybe the problem has to do with how Qt interacts with the underlying network stack? IPv6

Re: [Interest] Cross-platform font normalization best practice

2015-05-13 Thread Till Oliver Knoll
Am 12.05.2015 um 18:00 schrieb Bob Hood bho...@comcast.net: I see that on Windows, Designer defaults to the MS Shell Dialog 2 8-point font, and on OS X (Yosemite) it is .Helvetical Neue DeskInterface 13-point (in one field, while another oddly reports an Al Bayan typeface). I have

Re: [Interest] cross-language matching of QStrings: partial success only?

2015-05-12 Thread Till Oliver Knoll
Am 12.05.2015 um 00:07 schrieb René J.V. Bertin rjvber...@gmail.com: On Monday May 11 2015 23:00:36 Till Oliver Knoll wrote: Hi, Didn't see your message before sending my previous reply. Each name record is associated with an Encoding ID and Language ID. It would be no fun

Re: [Interest] cross-language matching of QStrings: partial success only?

2015-05-12 Thread Till Oliver Knoll
Am 12.05.2015 um 08:08 schrieb Till Oliver Knoll till.oliver.kn...@gmail.com: Am 12.05.2015 um 00:07 schrieb René J.V. Bertin rjvber...@gmail.com: On Monday May 11 2015 23:00:36 Till Oliver Knoll wrote: Hi, Didn't see your message before sending my previous reply. Each name

Re: [Interest] Qt 5.4.x QML Quick2 OSX STANDARD framework deployments

2015-05-11 Thread Till Oliver Knoll
Am 10.05.2015 um 21:30 schrieb rpzrpz...@gmail.com rpzrpz...@gmail.com: Oliver: I took your advice to heart. I think there is a happy middle ground using scripts. During in-house development, I can send everyone a given app with a fully self contained bundle. Ultimately, this

Re: [Interest] Qt 5.4.2 snapshot ios camera capture issue

2015-05-11 Thread Till Oliver Knoll
Am 11.05.2015 um 17:49 schrieb Lopes Yoann yoann.lo...@theqtcompany.com: On 11 May 2015, at 17:12, Jason H jh...@gmx.com wrote: This breaks our app and back-end processing for mobile. How do we fix this? You could read the image orientation from the EXIF header in your app and apply

Re: [Interest] cross-language matching of QStrings: partial success only?

2015-05-11 Thread Till Oliver Knoll
Am 11.05.2015 um 20:37 schrieb Allan Sandfeld Jensen k...@carewolf.com: On Monday 11 May 2015, Thiago Macieira wrote: On Monday 11 May 2015 19:07:31 René J.V. Bertin wrote: So apparently the string comparison does not do translation (which isn't really a surprise except when you look at

[Interest] [OT] Re: Qt Desktop on Windows 10 TP

2015-05-10 Thread Till Oliver Knoll
Am 10.05.2015 um 11:25 schrieb Thiago Macieira thiago.macie...@intel.com: On Sunday 10 May 2015 18:15:08 Thiago Macieira wrote: https://bugreports.qt.io/browse/QTBUG-43413 The bug was introduced in 4.8.6 and fixed for 4.8.5, similarly for 5.3.0 and fixed in 5.4.1. I meant fixed for

Re: [Interest] Qt 5.4.x QML Quick2 OSX STANDARD framework deployments documentation missing

2015-05-09 Thread Till Oliver Knoll
Am 09.05.2015 um 03:01 schrieb mark diener rpzrpz...@gmail.com: Found a reference to the issue to install into /Library/Qt directory and install-name-tool : Just be aware that this is /very/ unusual for OS X apps to do: the expected way is really that each app bundle is self-contained

Re: [Interest] Qt5: QProxyStyle destructor is not virtual

2015-05-09 Thread Till Oliver Knoll
Am 09.05.2015 um 06:29 schrieb Thiago Macieira thiago.macie...@intel.com: On Saturday 09 May 2015 12:26:28 Kevin Connor Arpe wrote: Hello, I am new to this mailing list, but I have used Qt (off and on) for many years. Also, I am an OK C++ programmer, but great. (I'm getting a bit out

Re: [Interest] Question to members of the Qt team: why does an empty project consumes so much memory on iOS?

2015-04-21 Thread Till Oliver Knoll
Am 21.04.2015 um 19:20 schrieb Till Oliver Knoll till.oliver.kn...@gmail.com: Am 21.04.2015 um 18:06 schrieb Nuno Santos nunosan...@imaginando.pt: Harri, ... With a real device I have also found the REAL problem that was causing the crashes. It was not memory!! Do you mind

Re: [Interest] Question to members of the Qt team: why does an empty project consumes so much memory on iOS?

2015-04-21 Thread Till Oliver Knoll
Am 21.04.2015 um 18:06 schrieb Nuno Santos nunosan...@imaginando.pt: Harri, ... With a real device I have also found the REAL problem that was causing the crashes. It was not memory!! Do you mind sharing what it was then? ;) Cheers, Oliver

Re: [Interest] Problem with QPixmap.

2015-04-19 Thread Till Oliver Knoll
Am 19.04.2015 um 06:54 schrieb Igor Mironchik igor.mironc...@gmail.com: Hi, On Sun, 19 Apr 2015 00:04:08 +0300, Thiago Macieira thiago.macie...@intel.com wrote: On Friday 17 April 2015 19:53:01 Igor Mironchik wrote: I have one problem: pixmap usb-disconnected.png doesn't draws

Re: [Interest] Unable to build Qt 5.4.1 on Ubuntu 14.04 x64 desktop.

2015-04-16 Thread Till Oliver Knoll
Am 15.04.2015 um 10:50 schrieb Kim Min-chul nusev...@gmail.com: ... The following packages have unmet dependencies: libopenvg1-mesa-dev : Depends: libopenvg1-mesa (= 10.1.3-0ubuntu0.4) You need to resolve those dependencies first. In this example by installing libopenvg1-mesa (on which

Re: [Interest] Dynamically change dock icon under OS X

2015-04-15 Thread Till Oliver Knoll
Am 15.04.2015 um 21:19 schrieb Samuel Gaist samuel.ga...@edeltech.ch: ... As for the dock icon, no need to go too deep in Qt Creator, you can take a look at http://doc.qt.io/qt-5/qtmac.html#setBadgeLabelText So my guess was right: in the Qt MacExtras module :) That setBatchLabelText

Re: [Interest] iOS app store rejection - microphone consent?

2015-04-15 Thread Till Oliver Knoll
Am 15.04.2015 um 20:54 schrieb Jason H jh...@gmx.com: So, because you write “I do record video”, I’m supposing that the microphone request is made by the class you are using for recording video that at some point ask to access to the microphone. Yes, I thought I might have left

Re: [Interest] QAudioDecoder class on Macintosh?

2015-04-08 Thread Till Oliver Knoll
Am 08.04.2015 um 19:08 schrieb John Weeks j...@wavemetrics.com: I have a use for QAudioDecoder to load sound files into our numerical analysis program as data. I found Qt Multimedia and the QAudioDecoder. I wrote some trial code and got this message in my Creator console:

Re: [Interest] QOpenGLWidget and text

2015-04-06 Thread Till Oliver Knoll
Am 06.04.2015 um 17:15 schrieb Matthew Woehlke mw_tr...@users.sourceforge.net: On 2015-04-04 05:57, Till Oliver Knoll wrote: Am 03.04.2015 um 17:26 schrieb Matthew Woehlke: On 2015-04-02 13:45, Till Oliver Knoll wrote: . But what's next? A drawButton? drawBitmap? In a Widget?! Yes

Re: [Interest] Qt5: How to detect difference between window closing and application quitting.

2015-04-05 Thread Till Oliver Knoll
Am 04.04.2015 um 22:12 schrieb Michael Jackson imikejack...@gmail.com: I have a QMainWindow derived application on OS X (10.8.5 if is matters). This app was ported from Qt4 to Qt5 and now I seem to have an issue with my closeEven(..) being called twice. I have implemented the

Re: [Interest] Qt5: How to detect difference between window closing and application quitting.

2015-04-05 Thread Till Oliver Knoll
Am 04.04.2015 um 22:12 schrieb Michael Jackson imikejack...@gmail.com: I have a QMainWindow derived application on OS X (10.8.5 if is matters). This app was ported from Qt4 to Qt5 and now I seem to have an issue with my closeEven(..) being called twice. I have implemented the

  1   2   3   4   5   >