Re: [Interest] alphabetize the symbol menu?

2022-04-27 Thread Mike Chinander
It's supposed to be fixed in QtCreator 8 https://bugreports.qt.io/browse/QTCREATORBUG-27392 https://bugreports.qt.io/browse/QTCREATORBUG-27411 On Wed, Apr 27, 2022 at 11:55 AM John Weeks wrote: > With the clangd code model in the latest versions of Qt Creator, we seem > to have lost the

Re: [Interest] QtCreator 5.0.1 bug

2021-10-06 Thread Mike Chinander
QtCreator 5.0.2 is supposed to fix this. https://code.qt.io/cgit/qt-creator/qt-creator.git/tree/dist/changes-5.0.2.md?h=5.0 On Wed, Oct 6, 2021 at 9:51 AM Nuno Santos wrote: > Hi, > > Is just me or we can’t cancel builds on the latest QtCreator? > > When I choose to cancel a build, the build

Re: [Interest] QFile and file shortcuts on Windows.

2021-09-24 Thread Mike Chinander
You'll probably only have to write a little extra code and use QFileInfo::isSymLink() and QFileInfo::symLinkTarget() On Fri, Sep 24, 2021 at 10:01 AM Crocker, William <

Re: [Interest] Qt6 porting guidance: (MSDEV) QMAKE_CXXFLAGS += /source-charset

2021-07-08 Thread Mike Chinander
Does it let you remove the utf-8 option? QMAKE_CXXFLAGS -= /utf-8 On Thu, Jul 8, 2021 at 8:20 PM David M. Cotter wrote: > all my source code was originally written on mac in the late 90's early > aughts. (of course more written since, but using same source file text > encoding) > > it's a

Re: [Interest] Operator QMap[] is casting to int?

2019-05-03 Thread Mike Chinander
On that last line you're indexing a QList which takes an int for its argument. https://doc.qt.io/qt-5/qlist.html#operator-5b-5d On Fri, May 3, 2019 at 9:44 AM Jason H wrote: > Given the code below: > QMap reverseHistogram; > ... > QList reverseKeys = reverseHistogram.keys(); > int

Re: [Interest] Interest Digest, Vol 79, Issue 20

2018-04-26 Thread Mike Chinander
Has the Superconducting Super Collider been revived? On Thu, Apr 26, 2018 at 7:38 AM, Roland Hughes wrote: Read up on seismic testing or stuff happening with the Super Colliding > Super Conductor. In the case of SCSC many thousands of disposable chip > "sensors"

Re: [Interest] Qt Charts: Making the legend top and right aligned

2018-04-11 Thread Mike Chinander
Not sure of a solution to this, but noticed that unlike other uses of Qt::Alignment flags, the QLegend docs say, "If you set more than one flag, the result is undefined." https://doc.qt.io/qt-5.10/qlegend.html#alignment-prop On Wed, Apr 11, 2018 at 8:51 AM, Christopher Probst <

Re: [Interest] QML Rotation sensor readings [images]

2018-02-02 Thread Mike Chinander
Are you sure you can't specify any orientation with these angular ranges? Are you looking at all the three rotation angles in the example you gave in your bug report (i.e., the 'roll' angle might be 180 for your cases when you are expecting the pitch angles to be greater than 90)? Android

Re: [Interest] Qt Charts questions

2018-01-08 Thread Mike Chinander
You are right; it's available for Commercial licensees too. I misinterpreted you saying QCustomPlot wasn't an option for you since it was GPL. On Mon, Jan 8, 2018 at 2:03 PM, Murphy, Sean wrote: > > The Qt Charts module is licensed under GPL, not LGPL. See: > >

Re: [Interest] Qt Charts questions

2018-01-08 Thread Mike Chinander
The Qt Charts module is licensed under GPL, not LGPL. See: http://doc.qt.io/qt-5/qtmodules.html#gpl-licensed-addons On Mon, Jan 8, 2018 at 1:13 PM, Murphy, Sean wrote: > > > I find that they work well if you're just trying to have one plot, but > I'm struggling to get > > >

Re: [Interest] Issue with concurrent QNetworkRequests

2017-09-26 Thread Mike Chinander
Why can't you use only one QNetworkAccessManager instance for your application? On Tue, Sep 26, 2017 at 1:55 PM, Jani Tykka wrote: > Hi, > > I'd ask if the following issues would ring anyones bells, before I start > doing more deeper investigation and create test

Re: [Interest] Qt and MSVC 2017

2017-04-29 Thread Mike Chinander
On Sat, Apr 29, 2017 at 10:33 AM, Thiago Macieira wrote: > Qt 5.8 works with MSVC 2017 flawlessly. > > Note: 5.8, not 5.8.0. > What's the distinction between 5.8 and 5.8.0? MaintenanceTool is telling me that 5.8.0-1 is the latest version of 'Qt 5.8'.

Re: [Interest] Plane rotations

2017-04-05 Thread Mike Chinander
The following is equivalent to your equation: float cosAngle = QVector3D::dotProduct(v1.normalized(), v2.normalized()); Your numerator is the dot product and the denominator does the normalization (makes them unit vectors). On Wed, Apr 5, 2017 at 7:50 AM, Igor Mironchik

Re: [Interest] How to paint smooth rendering of connected QLineF's?

2017-02-28 Thread Mike Chinander
If you are doing this within a QGraphicsView, make sure you turn on antialiasing . Also, you might want to try a rounded join style on the QPen you are using. Posting an example of what you are

Re: [Interest] QTemporaryFile::open()

2017-02-17 Thread Mike Chinander
See: http://doc.qt.io/qt-5/qtemporaryfile.html#open "A QTemporaryFile will always be opened in QIODevice::ReadWrite mode, this allows easy access to the data in the file. This function will return true upon success and will set the fileName() to the unique filename used." On Fri, Feb 17, 2017 at

Re: [Interest] Qt Android - Google Drive API

2017-02-16 Thread Mike Chinander
It's only a TechPreview in Qt5.8, but check out this blog post on using QNetworkAuth. http://blog.qt.io/blog/2017/01/25/connecting-qt-application-google-services-using-oauth-2-0/ On Thu, Feb 16, 2017 at 10:13 AM, Viktor Engelmann wrote: >

Re: [Interest] QDataStream null terminated string / Bug or expected behavior?

2017-02-10 Thread Mike Chinander
I think it's str.c_str() that's adding the null character at the end of your string, not anything with QDatastream or QBytearray. On Fri, Feb 10, 2017 at 9:27 AM, Etienne Sandré-Chardonnal < etienne.san...@m4x.org> wrote: > Thanks for the link. Yes, I'm doing something bad, but there is no

Re: [Interest] QDataStream null terminated string / Bug or expected behavior?

2017-02-09 Thread Mike Chinander
How are you comparing it to "test" after reading to the QByteArray? You could use str.data() instead str.c_str(). Or use QStrings to read to/from the QDatastreams. On Thu, Feb 9, 2017 at 11:18 AM, Etienne Sandré-Chardonnal < etienne.san...@m4x.org> wrote: > Dear all, > > I just found out a bug

Re: [Interest] QDateTime Issue in Qt5.8.0 msvc2013,msvc2015

2017-02-01 Thread Mike Chinander
On Wed, Feb 1, 2017 at 8:44 AM, Günter Michel wrote: > This simple code returns an invalid date compiled with Qt5.8.0 msvc2013: > > QDateTime dt = QDateTime::currentDateTime(); > > Compiling with mingw results in correct date but wrong time. Code works in > Qt5.7.1 > What's going

Re: [Interest] Qt 5.8.0 RC build under windows

2017-01-22 Thread Mike Chinander
Nothing special: configure -opengl desktop -no-compile-examples -mp I have 8.0 and 8.1 folders in "C:\Program Files (x86)\Windows Kits", I assume it's using 8.1SDK. The compiler is VS2013 x64. I'm not sure if it's because it's deprecated or my configure flags, but QtDeclarative wasn't built for

Re: [Interest] Qt 5.8.0 RC build under windows

2017-01-18 Thread Mike Chinander
On Wed, Jan 18, 2017 at 1:04 AM, Prav wrote: > > Does anyone know about requirements of using Win10SDK for Qt 5.8.0? Is > Win10SDK is really necessary to build Qt even for Win7 or it is bug in Qt > build system? I compiled Qt 5.8.0 RC on Windows 7 with MSVC2013 and the

Re: [Interest] Update breaks version

2016-12-19 Thread Mike Chinander
Are you sure you are not mixing MinGW and VS builds/libraries? On Mon, Dec 19, 2016 at 11:03 AM, Duane wrote: > On 19/12/2016 11:49 AM, Duane wrote: > >> On 19/12/2016 11:03 AM, Kai Koehne wrote: >> >>> -Original Message- From: Interest

Re: [Interest] Problem compiling boost::python code in Qt

2016-09-28 Thread Mike Chinander
On Sep 28, 2016 10:54 PM, "Kapil Gupta" wrote: > > Hi, > > I am using Boost::python for access to python code from c++. > When I included the `PythonLibs` and Boost::Python into my code, I started having this error: > > ``` > /usr/include/python3.5m/object.h:445:23: error:

Re: [Interest] Current QDataStream format documentation?

2016-09-23 Thread Mike Chinander
On Fri, Sep 23, 2016 at 11:47 AM, Reinhardt Behm wrote: > Or the have two devices are both based on Qt, but different versions. Isn't this precisely the situation that QDataStream::setVersion() is for? ___ Interest mailing list

Re: [Interest] Help with Qt 5.6.1-1 32-bit build errors

2016-07-07 Thread Mike Chinander
Looks like it could be related to this bug report: https://bugreports.qt.io/browse/QTBUG-53393 Did you try re-running nmake/jom after you got this error? On Thu, Jul 7, 2016 at 10:57 AM, Bob Hood wrote: > I'm trying to build Qt 5.6.1-1 32-bit licensed static using Visual

Re: [Interest] https://code.qt.io/qt/qt5.git

2016-06-06 Thread Mike Chinander
It just worked for me: $ git clone https://code.qt.io/qt/qt5.git Cloning into 'qt5'... remote: Counting objects: 3671, done. remote: Compressing objects: 100% (2183/2183), done. remote: Total 3671 (delta 1861), reused 2816 (delta 1408) Receiving objects: 100% (3671/3671), 3.94 MiB | 1.06 MiB/s,

Re: [Interest] Compiler optimisation flags on Android

2016-05-03 Thread Mike Chinander
>From https://gcc.gnu.org/onlinedocs/gcc/Optimize-Options.html -Os Optimize for size. -Os enables all -O2 optimizations that do not typically increase code size. It also performs further optimizations designed to reduce code size. -Os disables the following optimization flags:

Re: [Interest] big trouble with QCoreApplication

2016-04-09 Thread Mike Chinander
directory, there I had installed Qt 5.5.1… >> >> that is my environment >> >> any advise ? >> >> regards >> >> >> >> >> >> = >> "El tamaño de tus logros depende del tamaño

Re: [Interest] big trouble with QCoreApplication

2016-04-09 Thread Mike Chinander
What's on line 63 of main.cpp? On Sat, Apr 9, 2016 at 4:18 PM, Freddy Martinez wrote: > Hi guys.. > > I’ve Kubuntu 15.10 and I’m working with qt 5.5.1… > > this is may main.cpp > > int main(int argc, char *argv[]) > > { > > QCoreApplication a(argc, argv); > > >

Re: [Interest] Video file generation from Qt application, other than FFmpeg

2016-01-22 Thread Mike Chinander
I'm not a lawyer, but as long as you follow all the items in the "License Compliance Checklist" on that page, you can use the FFmpeg library in commercial software since you would be complying to their LGPLv2.1 license. That 'Note that...' sentence says there is no separate commercial license that

Re: [Interest] zipping with Qt

2015-12-11 Thread Mike Chinander
On Dec 11, 2015 2:44 PM, "Michael Vetter" wrote: > > Hello list, > > I am developing an application which should have a custom file format > which in reality will just be a .tar.gz file. In is will be some xml > files and images. I will need to install such a file and have

Re: [Interest] nunosan...@imaginando.pt, I'm calling you out!

2015-11-03 Thread Mike Chinander
On Tue, Nov 3, 2015 at 9:57 AM, Jason H wrote: > I only ever get this message in relation to you. > Are you aware of this issue? Can you fix it? It happens every time I send > mail to the list. > Is anyone else getting this? > > Just reply to the list and don't include Nuno's

Re: [Interest] Qt 5.5.x

2015-09-11 Thread Mike Chinander
Is your system time set to the correct time? Do the update times of the your source and object files seem correct? On Fri, Sep 11, 2015 at 10:42 AM, rpzrpz...@gmail.com wrote: > Does anybody know a way to suppress re-compiling ALL the cpp files > during each > > Many times,

Re: [Interest] Trouble setting stylesheet for widget

2015-09-09 Thread Mike Chinander
For styling named widgets, I thought you needed to use QWidgetType#Objectname::element { } In your case: QTabWidget#mainTabWidget::tab { } On Wed, Sep 9, 2015 at 11:14 AM, Shinnok wrote: > Hi list, > > I'm currently having a lot of trouble setting object specific

Re: [Interest] Qt .dlls size reduction

2015-08-07 Thread Mike Chinander
Are you including only the minimal set of Qt dlls needed for your application? On Fri, Aug 7, 2015 at 8:31 AM, Rafael Machado rafaelrodrigues.mach...@gmail.com wrote: Hi everyone This is my first question on this mail list, so sorry for possible trivial questions. I have task to reduce

Re: [Interest] Odd assembler error on pure Qt project with GCC 4.8.2

2015-05-04 Thread Mike Chinander
Could possibly be due to the version of binutils you are using; check out this thread on the gcc email list: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=57017 On Mon, May 4, 2015 at 12:03 PM, Bob Hood bho...@comcast.net wrote: I'm building the Qt Service v2.7 project under CentOS 6.6 using GCC