Re: [Interest] update on building Qt/Linux with clang?

2018-11-05 Thread Colin Worth
There is a warning in the OS X part of the build instructions (OS X builds with 
clang) not to do a parallel build (-J > 1) due to competing dependencies. 

> On Nov 5, 2018, at 2:32 PM, interest-requ...@qt-project.org wrote:
> 
> Send Interest mailing list submissions to
>   interest@qt-project.org
> 
> To subscribe or unsubscribe via the World Wide Web, visit
>   http://lists.qt-project.org/mailman/listinfo/interest
> or, via email, send a message with subject or body 'help' to
>   interest-requ...@qt-project.org
> 
> You can reach the person managing the list at
>   interest-ow...@qt-project.org
> 
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of Interest digest..."
> Today's Topics:
> 
>   1. Re: Chasing a standard (rol...@logikalsolutions.com)
>   2. Re: Chasing a standard (rol...@logikalsolutions.com)
>   3. Re: Interest Digest, Vol 86, Issue 5 (rol...@logikalsolutions.com)
>   4. Re: Chasing a standard (Jason H)
>   5. Re: update on building Qt/Linux with clang?
>  (Allan Sandfeld Jensen)
>   6. Re: update on building Qt/Linux with clang?
>  (Allan Sandfeld Jensen)
>   7. Re: update on building Qt/Linux with clang?
>  (Jean-Micha?l Celerier)
>   8. Re: Chasing a standard (rol...@logikalsolutions.com)
>   9. Re: update on building Qt/Linux with clang?
>  (william.croc...@analog.com)
>  10. Re: Chasing a standard (J?r?me Godbout)
>  11. Re: Chasing a standard (rol...@logikalsolutions.com)
>  12. Re: Chasing a standard (J?r?me Godbout)
>  13. Re: Qt 5.12 Beta 3 slows down ext Javascript library (RSA
>  encrypt) (Thiago Macieira)
>  14. Re: update on building Qt/Linux with clang? (Thiago Macieira)
>  15. Re: Interest Digest, Vol 86, Issue 5 (Giuseppe D'Angelo)
>  16. Re: update on building Qt/Linux with clang? (Ren? J.V. Bertin)
>  17. Re: Qt 5.12 Beta 3 slows down ext Javascript library (RSA
>  encrypt) (ekke)
> 
> From: rol...@logikalsolutions.com
> Subject: Re: [Interest] Chasing a standard
> Date: November 5, 2018 at 9:39:38 AM EST
> To: Tomasz Siekierda 
> Cc: lars.kn...@qt.io, interest@qt-project.org
> 
> 
> 
> Quoting Tomasz Siekierda :
> 
>> On Mon, 5 Nov 2018 at 13:35, Roland Hughes  
>> wrote:
>>> 
>>> 
>>> On 11/4/18 3:52 PM, Lars Knoll wrote:
>>> >> On 4 Nov 2018, at 22:13, Roland Hughes  
>>> >> wrote:
>>> >>
>>> >>
>>> >> We already lose droves of Qt developers every year when Qt keeps moving 
>>> >> on but medical devices, border security systems like cargo x-ray, train 
>>> >> control systems, etc. have to fork their own version of Qt because Qt 
>>> >> keeps moving on without a 5-8 year LTS.
>>> > Yes, the Open source and standard commercial versions come with a maximum 
>>> > of 3 years for LTS releases. But you can get longer support for Qt 
>>> > versions from The Qt Company though.
>>> 
>>> Three years isn't a drop of water in Lake Michigan. A completely new
>>> surgical robot will take a minimum of 4 years design and prototyping
>>> followed by 1-3 years of development (which must also include the
>>> _entire_ manufacturing process for certification.) Then it goes through
>>> clinical trials which can last upwards of 7 years. Once released to the
>>> field it will be in maintenance/minor enhancement mode for 10 years or
>>> more. This entire time the tool set must be locked down.
>> 
>> Since the tool is locked down, then it does not matter if Qt has moved
>> on or not, right? You're not allowed to upgrade/ change it anyway, you
>> have to stick to what you deployed. So there is no reason to complain
>> about lack of support here. That's the reality of such big and long
>> term projects. NASA also still keeps operational their computers from
>> 1970 to handle Voyager missions. It does not mean that the
>> manufacturers of these PC are somehow obligated to support them
>> anymore.
> 
> 
> This would be a gross missunderstanding of how the FDA "lockdown" is actually 
> applied. Minor bug fixes can have documentation generated via an FDA approved 
> process with dramatically reduced testing cycle since it is mostly negative 
> testing. (Negative testing being testing no changes to other existing 
> functionality.) The definition of "minor" is totally within the purview of 
> the FDA and argued case by case.
> 
> As far as manufacturers and obligations, see below.
> 
>> 
>>> Just this year a drug manufacturer in California fielded a job opening
>>> looking for a PDP-11 systems manager familiar with hardware maintenance.
>>> Some of you may recall that a PDP-11 was the machine C and UNIX were
>>> developed on in the 1970s. It was _the_ midrange computer of its day but
>>> hasn't been manufactured since the late 1980s.
>> 
>> And you bring this up because PDP-11 is still supported by its
>> (non-existing by since 20 years) manufacturer just like Qt should?
> 
> There are quite a few places still providing support for the PDP-11 line. 
> Quite a few companies stock piled 11/24 and 11/44 machines as others

Re: [Interest] Compiling 5.11.2 on a Pi 3B

2018-11-08 Thread Colin Worth
I cross-compiled latest Qt 5.10.1 for Raspberry Pi 3B on linux a few months 
ago. Disabled es2 configure (-no-eglfs -no-egl). Stretch supports an 
experimental version of OpenGL for the pi, so platform plugin libxcb is okay. 
This is a good starting point: 
https://www.raspberrypi.org/forums/viewtopic.php?t=204529 
. In addition the 
configure flags, you can also remove references to egl eglfs from 
qtbase/mkspecs/devices/linux-rasp-pi3-vc4-g++/qmake.conf in the source tree. 
Hope this helps.

Colin
> On Nov 8, 2018, at 7:24 AM, interest-requ...@qt-project.org wrote:
> 
> Re: [Interest] Compiling 5.11.2 on a Pi 3B

___
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest


Re: [Interest] Qt iOS / App Groups / NSUserDefaults initWithSuiteName / Not persisting (Nuno Santos)

2018-11-15 Thread Colin Worth
Hi Nuno,
   You are missing a line, something like:

   [defaults setValue:object forKey:key]

in setSharedKey.

> 
> From: Nuno Santos 
> Subject: [Interest] Qt iOS / App Groups / NSUserDefaults initWithSuiteName / 
> Not persisting
> Date: November 14, 2018 at 7:24:06 AM AST
> To: "interest@qt-project.org Interest" 
> 
> 
> Hi,
> 
> I’m trying to persist data in a App Group on Qt iOS app to share data between 
> a standalone app and app extension.
> 
> I have been reading on how to do it and apparently is dead simple -> 
> https://developer.apple.com/library/archive/documentation/General/Conceptual/ExtensibilityPG/ExtensionScenarios.html#//apple_ref/doc/uid/TP40014214-CH21-SW6
>  
> 
> 
> The problem is that it is not persisting data…. 
> 
> I’m starting to question the model I’m following in terms of code. I have my 
> Settings manager in C++. What I have done was to create a SettingsCocoa.mm 
> file that does what is below.
> 
> In a app session, the value is persisted but as soon as I start the app 
> again, the value is null. 
> 
> As anyone experienced similar issues before? Any ideas would be highly 
> appreciated.
> 
> Thanks in advance.
> 
> Best regards,
> 
> Nuno
> 
> 
> #include "Settings.h"
> 
> #import 
> #include 
> 
> static NSUserDefaults *defaults = nil;
> 
> QVariant Settings::sharedKey(QString key, const QVariant &defaultValue) const
> {
> if (defaults==nil)
> defaults = [[NSUserDefaults alloc] 
> initWithSuiteName:@"group.com.acme.app"];
> 
> NSObject *value = [defaults valueForKey:key.toNSString()];
> NSLog(@"get object: %@", value);
> }
> 
> void Settings::setSharedKey(QString key, QVariant value)
> {
> if (defaults==nil)
> defaults = [[NSUserDefaults alloc] 
> initWithSuiteName:@"group.com.acme.app"];
> 
> NSObject *object = [ISettingsManagerCocoaHelper variantToNSObject:value];
> NSLog(@"set object: %@", object);
> 
> sharedKey(key, value);
> 
> [defaults synchronize];
> }
> 
> 
> 
> From: Giuseppe D'Angelo 
> Subject: Re: [Interest] efficient natural sorting
> Date: November 14, 2018 at 10:57:03 AM AST
> To: interest@qt-project.org
> 
> 
> Hi,
> 
> Il 14/11/18 03:28, Frank Rueter | OHUfx ha scritto:
>> This works nicely but I’m wondering if it’s reliable and efficient to 
>> implement it like this in the QSortFilterProxyModel.lessThan() method?!
>> |def lessThan(self, source_left, source_right): natural_keys(source_left) < 
>> natural_keys(source_right) |
>> Any thoughts on this?
> 
> You can use QCollator to implement natural sorting (by enabling the numeric 
> mode). Or doesn't it work for your use case?
> 
> My 2 c,
> -- 
> Giuseppe D'Angelo | giuseppe.dang...@kdab.com | Senior Software Engineer
> KDAB (France) S.A.S., a KDAB Group company
> Tel. France +33 (0)4 90 84 08 53, http://www.kdab.com
> KDAB - The Qt, C++ and OpenGL Experts
> 
> 
> 
> 
> From: Shawn Rutledge 
> Subject: Re: [Interest] efficient natural sorting
> Date: November 14, 2018 at 11:14:21 AM AST
> To: "interest@qt-project.org" 
> 
> 
> 
>> On 14 Nov 2018, at 03:28, Frank Rueter | OHUfx  wrote:
>> 
>> Hi,
>> 
>> I need to use the QSortFilterProxyModel to sort strings with numbers in 
>> them, i.e. perform natural sorting.
> 
> Another idea is to add a different role to your model, have data() return the 
> original number (int or qreal or whatever) in the variant for that role, and 
> call setSortRole() to tell QSFPM which role to use.
> 
> 
> 
> 
> 
> From: Roman Wüger 
> Subject: Re: [Interest] Connection problems with QNerworkAccessManager
> Date: November 14, 2018 at 12:06:37 PM AST
> To: ekke 
> Cc: interest@qt-project.org
> 
> 
> No one?
> 
>> Am 09.10.2018 um 14:54 schrieb Roman Wüger :
>> 
>> I tried to copy the script outside of the htaccess restricted are, and it 
>> seems to work. Maybe it has todo with the combination of ssl and htaccess?
>> 
>> Regards 
>> 
>>> Am 09.10.2018 um 14:50 schrieb Roman Wüger :
>>> 
>>> Hello,
>>> 
>>> i tried it with 5.11.x versions.
>>> The log from the server shows that the request (which is a normal GET 
>>> request), I also tried POST request, is sent a multiply of 100 per second 
>>> so ~= 200 requests per second until the server give up.
>>> 
>>> I use https and a htaccess restricted area, which calls my 
>>> authenticationRequired() slot.
>>> 
>>> Regards
>>> 
 Am 08.10.2018 um 13:30 schrieb ekke :
 
 have you tried 5.11.2, 5.12 Beta or 5.10.1 ?
 
> Am 08.10.18 um 12:35 schrieb Roman Wüger:
> Hi,
> 
> i use Qt 5.11.1 at the moment and have some connection problems with 
> QNetworkAccessManager.
> There are no error, sslerror or finished signals emitted, but I see the 
> traffic in Wireshark.
> The problem occurs on Windows, Mac and iOS.
> 
> When I enter the url in the browser, then it is working without

Re: [Interest] Interest Digest, Vol 88, Issue 25

2019-01-20 Thread Colin Worth
The web view engine displays and runs the views provided by the server for 
sign_in and sign_up. Is there a more low-level way to do this with XHR and Qt? 
I could do everything with API requests, but then I have to make my own views 
in Qt. 

I think I’ve found a workaround which is to have the server provide the token 
in an html comment in the body of the page.

> On Jan 20, 2019, at 6:00 AM, interest-requ...@qt-project.org wrote:
> 
> Send Interest mailing list submissions to
>   interest@qt-project.org
> 
> To subscribe or unsubscribe via the World Wide Web, visit
>   https://lists.qt-project.org/listinfo/interest
> or, via email, send a message with subject or body 'help' to
>   interest-requ...@qt-project.org
> 
> You can reach the person managing the list at
>   interest-ow...@qt-project.org
> 
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of Interest digest..."
> Today's Topics:
> 
>   1. Get http headers from web engine view? (First Last)
>   2. Re: Get http headers from web engine view? (Giuseppe D'Angelo)
> 
> From: First Last 
> Subject: [Interest] Get http headers from web engine view?
> Date: January 19, 2019 at 12:16:53 PM AST
> To: interest@qt-project.org
> 
> 
> I am using a qml WebEngineView to show a login/signup view (provided by a 
> Rails server). On successful login, the server provides a jwt authentication 
> token in the http headers of the response. How can I get this header from the 
> web engine? Do I need to use a webengine widget instead of qml?
> 
> 
> 
> 
> 
> From: Giuseppe D'Angelo 
> Subject: Re: [Interest] Get http headers from web engine view?
> Date: January 19, 2019 at 1:17:28 PM AST
> To: interest@qt-project.org
> 
> 
> Il 19/01/19 17:16, First Last ha scritto:
>> I am using a qml WebEngineView to show a login/signup view (provided by a 
>> Rails server). On successful login, the server provides a jwt authentication 
>> token in the http headers of the response. How can I get this header from 
>> the web engine? Do I need to use a webengine widget instead of qml?
> 
> I don't think you have any access to the HTTP stack provided by web engine. 
> Are you sure you don't need to perform the login using XHR and then using 
> getResponseHeader() to get the value of that header?
> 
> HTH,
> -- 
> Giuseppe D'Angelo | giuseppe.dang...@kdab.com | Senior Software Engineer
> KDAB (France) S.A.S., a KDAB Group company
> Tel. France +33 (0)4 90 84 08 53, http://www.kdab.com
> KDAB - The Qt, C++ and OpenGL Experts
> 
> 
> 
> ___
> Interest mailing list
> Interest@qt-project.org
> https://lists.qt-project.org/listinfo/interest

___
Interest mailing list
Interest@qt-project.org
https://lists.qt-project.org/listinfo/interest


[Interest] Solidworks and QML

2019-03-29 Thread Colin Worth
Looking for help from someone who’s worked with 3D meshes in Qt qml. I am 
trying to move a 3D object created in solid works into a Qt qml app. The object 
has six motion-inputs, ie numbers, for six transforms that animate the object’s 
sub-parts. Right now I'm importing a Solidworks VRML file into into Blender, 
and using a Blender Qml plugin to generate qml files for each sub-part. This 
works, but it takes a lot of work to define the animations. You have to 
identify all the relevant coordinates and directions for each sub-part by 
clicking around in Blender, then use algebra to figure out each transformation 
matrix.

Wondering if there is a better way to approach it.

___
Interest mailing list
Interest@qt-project.org
https://lists.qt-project.org/listinfo/interest


Re: [Interest] Solidworks and QML

2019-03-29 Thread Colin Worth
Hi Mike,

   Thanks for the help. Will look into those two options. I need the six 
animation inputs (a-f) to be freely controllable by the user, for example: 
translate subpart 1 by amount a and rotate by amount b, rotate subpart 2 by c, 
etc... More like a video game, less like a presentation.

Cheers,
Colin

> On Mar 29, 2019, at 12:47 PM, Mike Krus  wrote:
> 
> Hi Colin
> 
> disclaimer: I’m not a SolidWorks user. But it looks like the latest version 
> can export glTF 2 files?
> 
> You could then use Kuesa https://github.com/KDAB/kuesa to load the file in Qt 
> 3D and use simple
> qml bindings to access the parts of the file. Assuming the exporter from 
> SolidWorks correctly 
> exports animations, these can be triggered also.
> 
> If animations need to be created in Blender, then the gltfExporter will 
> definitely export them 
> properly, along with cameras, materials, etc.
> 
> It’s usually much easier to create nice looking animations using interactive 
> tools rather than
> hard coding them in QML.
> 
> Kuesa makes is it really easy to import rich scenes authored in Blender, 3DS 
> Max or other
> tools that support glTF 2.
> 
> Hope this helps,
> Mike
> 
>> On 29 Mar 2019, at 15:45, Colin Worth  wrote:
>> 
>> Looking for help from someone who’s worked with 3D meshes in Qt qml. I am 
>> trying to move a 3D object created in solid works into a Qt qml app. The 
>> object has six motion-inputs, ie numbers, for six transforms that animate 
>> the object’s sub-parts. Right now I'm importing a Solidworks VRML file into 
>> into Blender, and using a Blender Qml plugin to generate qml files for each 
>> sub-part. This works, but it takes a lot of work to define the animations. 
>> You have to identify all the relevant coordinates and directions for each 
>> sub-part by clicking around in Blender, then use algebra to figure out each 
>> transformation matrix.
>> 
>> Wondering if there is a better way to approach it.
>> 
>> ___
>> Interest mailing list
>> Interest@qt-project.org
>> https://lists.qt-project.org/listinfo/interest
> 
> —
> Mike Krus | mike.k...@kdab.com | Senior Software Engineer
> KDAB (UK) Ltd., a KDAB Group company
> Tel: UK Office +44 1625 809908   Mobile +44 7833 491941
> KDAB - The Qt Experts, C++, OpenGL Experts
> 

___
Interest mailing list
Interest@qt-project.org
https://lists.qt-project.org/listinfo/interest


Re: [Interest] Connect to signal QProcess::finished on MSVC 2017

2019-05-15 Thread Colin Worth
Thanks, Konstantin, that worked well (I used the template form of the ::connect 
call).

Giuseppe, there is a qt bug filed here: 
https://bugreports.qt.io/browse/QTBUG-61667 


But the problem seems to be that MSVC 2017 does not support a new feature of 
C++14, and that in turn, they aren’t required to do so because the feature is 
not required by the C++14 standard.

That’s my impression from a bit of reading, may not be entirely correct.

Regards

From: Konstantin Shegunov mailto:kshegu...@gmail.com>>
Subject: Re: [Interest] Connect to signal QProcess::finished on MSVC 2017
Date: May 14, 2019 at 9:55:50 PM EDT
To: jlk mailto:jlk2...@gmail.com>>
Cc: Interests Qt mailto:interest@qt-project.org>>


On Wed, May 15, 2019 at 4:37 AM jlk mailto:jlk2...@gmail.com>> wrote:
However, on MSVC 2017, I've now read about a bug (in the 
C++ standard requirements, I guess) that prevents qOverload from 
working. Could someone suggest a workaround for my case?

If you can't use qOverload or QOverload<...>::of(), then you have only two 
other options. Static casting the signal to the exact method type, or 
specifying the template parameter explicitly.
Either:
QObject::connect(process, static_cast(&QProcess::finished), receiver, slot);
or
QObject::connect(process, 
&QProcess::finished, receiver, slot);



From: Giuseppe D'Angelo mailto:giuseppe.dang...@kdab.com>>
Subject: Re: [Interest] Connect to signal QProcess::finished on MSVC 2017
Date: May 15, 2019 at 2:51:48 AM EDT
To: interest@qt-project.org 


Hi,

Il 15/05/19 03:35, jlk ha scritto:
> However, on MSVC 2017, I've now read about a bug (in the
> C++ standard requirements, I guess) that prevents qOverload from
> working. Could someone suggest a workaround for my case?  I need to
> start an (asynchronous QProcess) and run a function when it finishes.

Could you please elaborate? What bug are you talking about?

Cheers,
-- 
Giuseppe D'Angelo | giuseppe.dang...@kdab.com 
 | Senior Software Engineer
KDAB (France) S.A.S., a KDAB Group company
Tel. France +33 (0)4 90 84 08 53, http://www.kdab.com 
KDAB - The Qt, C++ and OpenGL Experts
___
Interest mailing list
Interest@qt-project.org
https://lists.qt-project.org/listinfo/interest


[Interest] Window Flicker When Scene3D is Destroyed

2019-07-03 Thread Colin Worth
I have two cases where I’m using a Scene3D to render some OpenGL content in my 
App.

In the first case, I put a Scene3D in a Component loaded by a StackView. The 
problem is that whenever the view is popped, the app window flickers. I solved 
the issue by moving the Scene3D into main.qml where it can stay alive for the 
lifetime of the App. When the StackView activates the view, it sets the parent 
of the Scene3D to a rectangle inside the new view. On Deactivation, it sets the 
parent back to main.qml.

In the second case, which I haven’t solved, I am trying to put the Scene3D into 
a Window component (a secondary window) loaded by Loader or createObject(). If 
the Scene3D is part of the secondary window component, then the app crashes 
when the window is destroyed. If I explicitly destroy the Scene3D before 
destroying the window, the app does not crash, but I get a flicker in the main 
App window [ commenting out the Scene3D makes the flicker go away ]. This is 
the best I’ve done so far. If I try to put the Scene3D in main.qml, like in the 
first case, I cannot parent it into the new Window without crashing the app.

Colin

___
Interest mailing list
Interest@qt-project.org
https://lists.qt-project.org/listinfo/interest


[Interest] Efficient 2D animation in qml

2019-08-10 Thread Colin Worth
I need to render ~10 custom small 2D shapes to the screen as part of a UI written in QML, and then update them quickly.  The shapes represent data values coming in from 10 sensors at a high data rate (~1000 hz). The refresh rate on the screen can be lower (20-60 hz). The shapes need to change color to represent the magnitude of the data, and I’d like to put a gradient on the color fill. What is a nice efficient way to do this?  CPU usage is important because there is a 3D scene animation running in another part of the window. I’ve used the nanopaint libraries before, so this is an option. It would also be nice to have svg support for the shapes, but it’s not a deal-breaker. The app is a cross-platform desktop app (linux/Mac/windows) and can assume some GPU acceleration.Colin___
Interest mailing list
Interest@qt-project.org
https://lists.qt-project.org/listinfo/interest


[Interest] Licensing

2019-10-05 Thread Colin Worth
Apologies if this something that’s been asked many times before. 

My company has developed embedded and cross-platform GUI software using free 
open-source QT, the latest version. We are using the libraries that are 
included with the standard open-source installation. Soon we will freeze the 
version number, because we need to go through the FDA certification process. 
The software will be included with a medical device and we may also develop a 
sub-project that can be sold directly to consumers (its a medical device for 
amputees) Can someone briefly summarize our options as far as licensing (I have 
already read and googled many links, read through license terms, etc., even 
including a suggestion that we need to hire a lawyer, but this seems like a 
pretty straightforward question.)

1) Are we free to sell and distribute the software with our product, or as a 
download, as long as we dynamically link to the Qt libraries (as happens 
automatically when deploying with mac/windeployqt). Do we need to post any part 
of our source code online?

2) If not, how much does commercial licensing cost, not for ongoing 
development, but just to include Qt with a product, or would that be determined 
on a case-by-case basis with the QT company. 

Thanks very much. 
Colin Worth
BrainCo, Inc.

___
Interest mailing list
Interest@qt-project.org
https://lists.qt-project.org/listinfo/interest


Re: [Interest] Licensing

2019-10-07 Thread Colin Worth
Thanks Giuseppe, Jerome, and Uwe. All of this makes sense to me. I will have to 
talk to our software and management people and decide what our best route is. 
Incidentally, we will also need FDA certification for this product. This is all 
a bit preliminary. The product is still in development. I’m in touch with the 
Qt office in Boston as well.

Cheers,
Colin

> On Oct 7, 2019, at 1:55 AM, Uwe Rathmann  wrote:
> 
>> On 10/6/19 12:03 PM, Giuseppe D'Angelo via Interest wrote:
>> 
>> Hey, I linked it two emails ago :-)
> 
> Ah yes, sorry.
> 
> My response was initially more explicit about FUD, before I decided, that it 
> is not worth the effort.
> 
> Uwe
> 
> 
> 
___
Interest mailing list
Interest@qt-project.org
https://lists.qt-project.org/listinfo/interest


[Interest] Build qt 5.14.2 from scratch; enable win32-bluetooth-support

2020-09-15 Thread Colin Worth
Trying to follow the instructions here: 
https://doc.qt.io/qt-5/windows-building.html 
 to build qt5.14.2 from source 
for windows msvc2017, but running into build errors.

Cloned the sources from git, checked out 5.14.2, and ran perl init-repository.

Followed the instructions in Step 3 to create a custom cmd prompt, but got an 
error: missing the cl command.

So instead I started with the x64 native tools command prompt, then added the 
paths from Step 3. Now I figure I should be ready to configure, but when I try 
to configure I get build errors immediately on the first file.: 
qhashfunctions.h(201): error C3520: T: parameter pack must be expanded in this 
context.

Anyone who has compiled from scratch recently, can you help?

Colin___
Interest mailing list
Interest@qt-project.org
https://lists.qt-project.org/listinfo/interest


Re: [Interest] Build qt 5.14.2 from scratch; enable win32-bluetooth-support

2020-09-15 Thread Colin Worth
Error is on first compile step:

cl -c -Fo./ -Fdqmake.pdb  -W2 -nologo -O2 -std:c++17
-Zc:__cplusplus  /MP /wd4577   -Ic:\Qt\Qt5.14.2\qtbase\qmake
-Ic:\Qt\Qt5.14.2\qtbase\qmake\library
-Ic:\Qt\Qt5.14.2\qtbase\qmake\generators
-Ic:\Qt\Qt5.14.2\qtbase\qmake\generators\unix
-Ic:\Qt\Qt5.14.2\qtbase\qmake\generators\win32
-Ic:\Qt\Qt5.14.2\qtbase\qmake\generators\mac
 -Ic:\Qt\Qt5.14.2\qtbase/src/3rdparty/tinycbor/src
 -Ic:\Qt\Qt5.14.2\qtbase/src/3rdparty/pcre2/src  -I../include
-I../include\QtCore -I../include\QtCore\6.0.0
-I../include\QtCore\6.0.0\QtCore  -I..\src\corelib\global
 -Ic:\Qt\Qt5.14.2\qtbase\mkspecs\win32-msvc   -D_CRT_SECURE_NO_WARNINGS
-D_SCL_SECURE_NO_WARNINGS  -DQT_VERSION_STR=\"6.0.0\" -DQT_VERSION_MAJOR=6
-DQT_VERSION_MINOR=0 -DQT_VERSION_PATCH=0  -DQT_BUILD_QMAKE
-DQT_BOOTSTRAPPED -DPROEVALUATOR_FULL  -DQT_NO_FOREACH
-DQT_USE_QSTRINGBUILDER -DUNICODE -D_ENABLE_EXTENDED_ALIGNED_STORAGE
 -DPCRE2_CODE_UNIT_WIDTH=16 -DHAVE_CONFIG_H -DPCRE2_STATIC
-DPCRE2_DISABLE_JIT -c -Yc -Fpqmake_pch.pch -TP
c:\Qt\Qt5.14.2\qtbase\qmake\qmake_pch.h
qmake_pch.h
c:\qt\qt5.14.2\qtbase\include\qtcore\../../src/corelib/tools/qhashfunctions.h(201):
error C3520: 'T': parameter pack must be expanded in this context
jom: C:\Qt\Qt5.14.2\qtbase\qmake\Makefile [qmake_pch.obj] Error 2


On Tue, Sep 15, 2020 at 6:16 AM Colin Worth  wrote:

> Trying to follow the instructions here:
> https://doc.qt.io/qt-5/windows-building.html to build qt5.14.2 from
> source for windows msvc2017, but running into build errors.
>
> Cloned the sources from git, checked out 5.14.2, and ran perl
> init-repository.
>
> Followed the instructions in Step 3 to create a custom cmd prompt, but got
> an error: missing the cl command.
>
> So instead I started with the x64 native tools command prompt, then added
> the paths from Step 3. Now I figure I should be ready to configure, but
> when I try to configure I get build errors immediately on the first file.:
> qhashfunctions.h(201): error C3520: T: parameter pack must be expanded in
> this context.
>
> Anyone who has compiled from scratch recently, can you help?
>
> Colin
>
___
Interest mailing list
Interest@qt-project.org
https://lists.qt-project.org/listinfo/interest


Re: [Interest] Build qt 5.14.2 from scratch; enable win32-bluetooth-support

2020-09-17 Thread Colin Worth
I installed VS2019 and will retry. 

I also have an error during perl init_repository (using ActivePerl): repository 
not found: 
‘GitHub.com/qt/qtquick3d-assimp.git' is not found.



On Sep 15, 2020, at 10:48 AM, Thiago Macieira  wrote:
> 
> On Tuesday, 15 September 2020 06:16:42 PDT Colin Worth wrote:
>> build qt5.14.2 from source for windows msvc2017
> 
> If you're asking this, then you don't have an existing build of Qt with MSVC 
> 2017 that you need to be compatible with. So please upgrade to the latest 
> version (MSVC 2019) before you start.
> 
> -- 
> Thiago Macieira - thiago.macieira (AT) intel.com
>  Software Architect - Intel DPG Cloud Engineering
> 
> 
> 

___
Interest mailing list
Interest@qt-project.org
https://lists.qt-project.org/listinfo/interest


Re: [Interest] Interest Digest, Vol 108, Issue 17

2020-09-18 Thread Colin Worth
I'm not sure I can just rebuild qtconnectivity (though that would be
great). I'm trying to follow the instructions for Qt 5.14.2 here:
https://doc.qt.io/qt-5.14/qtbluetooth-index.html. I'm aware there was the
wip/win branch of qtconnectivity in the past.Appreciate any more info. Also
-  may have access to licensed version of Qt.

First problem I'm having is that perl init_repository script doesn't
complete.

On Fri, Sep 18, 2020 at 3:01 AM  wrote:

> Send Interest mailing list submissions to
> interest@qt-project.org
>
> To subscribe or unsubscribe via the World Wide Web, visit
> https://lists.qt-project.org/listinfo/interest
> or, via email, send a message with subject or body 'help' to
> interest-requ...@qt-project.org
>
> You can reach the person managing the list at
> interest-ow...@qt-project.org
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of Interest digest..."
> Today's Topics:
>
>1. Re: Build qt 5.14.2 from scratch; enable
>   win32-bluetooth-support (Colin Worth)
>2. Re: Build qt 5.14.2 from scratch; enable
>   win32-bluetooth-support (Denis Shienkov)
>3.  Qt 6 Sourcecode (Nibedit Dey)
>4. Re: Qt 6 Sourcecode (Samuel Gaist)
>
>
>
> -- Forwarded message --
> From: Colin Worth 
> To: Thiago Macieira 
> Cc: interest@qt-project.org
> Bcc:
> Date: Thu, 17 Sep 2020 09:33:04 -0400
> Subject: Re: [Interest] Build qt 5.14.2 from scratch; enable
> win32-bluetooth-support
> I installed VS2019 and will retry.
>
> I also have an error during perl init_repository (using ActivePerl):
> repository not found:
> ‘GitHub.com/qt/qtquick3d-assimp.git' is not found.
>
>
>
> On Sep 15, 2020, at 10:48 AM, Thiago Macieira 
> wrote:
> >
> > On Tuesday, 15 September 2020 06:16:42 PDT Colin Worth wrote:
> >> build qt5.14.2 from source for windows msvc2017
> >
> > If you're asking this, then you don't have an existing build of Qt with
> MSVC
> > 2017 that you need to be compatible with. So please upgrade to the
> latest
> > version (MSVC 2019) before you start.
> >
> > --
> > Thiago Macieira - thiago.macieira (AT) intel.com
> >  Software Architect - Intel DPG Cloud Engineering
> >
> >
> >
>
>
>
>
>
> -- Forwarded message --
> From: Denis Shienkov 
> To: interest@qt-project.org
> Cc:
> Bcc:
> Date: Thu, 17 Sep 2020 17:47:18 +0300
> Subject: Re: [Interest] Build qt 5.14.2 from scratch; enable
> win32-bluetooth-support
>
> Hi,
>
> you can just build the only qtconnectivity module from the QtCreator. You
> even don't need to re-build whole Qt.
>
> BR, Denis
> 17.09.2020 16:33, Colin Worth пишет:
>
> I installed VS2019 and will retry.
>
> I also have an error during perl init_repository (using ActivePerl): 
> repository not found:
> ‘GitHub.com/qt/qtquick3d-assimp.git' is not found.
>
>
>
> On Sep 15, 2020, at 10:48 AM, Thiago Macieira  
>  wrote:
>
> On Tuesday, 15 September 2020 06:16:42 PDT Colin Worth wrote:
>
> build qt5.14.2 from source for windows msvc2017
>
> If you're asking this, then you don't have an existing build of Qt with MSVC
> 2017 that you need to be compatible with. So please upgrade to the latest
> version (MSVC 2019) before you start.
>
> --
> Thiago Macieira - thiago.macieira (AT) intel.com
>  Software Architect - Intel DPG Cloud Engineering
>
>
>
>
> ___
> Interest mailing 
> listInterest@qt-project.orghttps://lists.qt-project.org/listinfo/interest
>
>
>
>
> -- Forwarded message --
> From: Nibedit Dey 
> To: interest@qt-project.org
> Cc:
> Bcc:
> Date: Fri, 18 Sep 2020 14:24:59 +0530
> Subject: [Interest]  Qt 6 Sourcecode
> Dear friends,
>
> I want to look into the source code of the ongoing Qt 6 development.
> But I couldn't find the 6.0.0 branch. Can anyone point to the repository?
> Is there a Qt 6 super module like the one for Qt 5?
> e.g.:- https://github.com/qt/qt5.git
>
> Please let me know.
>
> Best Regards,
> Nibedit
>
>
>
> -- Forwarded message --
> From: Samuel Gaist 
> To: Nibedit Dey 
> Cc: interest@qt-project.org
> Bcc:
> Date: Fri, 18 Sep 2020 11:10:36 +0200
> Subject: Re: [Interest] Qt 6 Sourcecode
> Hi,
>
> It’s currently the dev branch and it is what you get by default when you
> clone the qt5 super module or any of the other modules.
>
> Best regards
>
> Samuel
>
> > On 18 Sep 2020, at 10:54,

Re: [Interest] Interest Digest, Vol 108, Issue 17

2020-09-18 Thread Colin Worth
Installed 5.14.2 including sources and grep'd for native-win32-bluetooth
option in Src. Matched qtconnectivity/configure.json and in the qdoc file
as well. (see below)

Now that I have 5.14.2 and sources installed, can I set this option and
recompile?

qtconnectivity/configure.json
"commandline": {
"options": {
"native-win32-bluetooth": "boolean"
}
},
...

features: {
...
"native-win32-bluetooth": {
"label": "Native Win32 Bluetooth",
"purpose": "Uses the native Win32 Bluetooth backend.",
"section": "Qt Bluetooth",
"autoDetect": false,
"output": [ "publicFeature", "feature" ]
},
...
},
"winrt_bt": {
"label": "WinRT Bluetooth API (desktop & UWP)",
"condition": "config.win32 && !features.native-win32-bluetooth
&& tests.winrt_bt",
"output": [ "privateFeature" ]
},
...
"summary": [
{
"section": "Qt Bluetooth",
"entries": [
"bluez",
"bluez_le",
"linux_crypto_api",
    "native-win32-bluetooth",
"winrt_bt",
"winrt_btle_no_pairing"
]
}
]

and

qtconnectivity/src/bluetooth/doc/src/bluetooth-index.qdoc:
  option -native-win32-bluetooth. The UWP backend is used by default if
this option is not

On Fri, Sep 18, 2020 at 7:17 AM Colin Worth  wrote:

> I'm not sure I can just rebuild qtconnectivity (though that would be
> great). I'm trying to follow the instructions for Qt 5.14.2 here:
> https://doc.qt.io/qt-5.14/qtbluetooth-index.html. I'm aware there was the
> wip/win branch of qtconnectivity in the past.Appreciate any more info. Also
> -  may have access to licensed version of Qt.
>
> First problem I'm having is that perl init_repository script doesn't
> complete.
>
> On Fri, Sep 18, 2020 at 3:01 AM  wrote:
>
>> Send Interest mailing list submissions to
>> interest@qt-project.org
>>
>> To subscribe or unsubscribe via the World Wide Web, visit
>> https://lists.qt-project.org/listinfo/interest
>> or, via email, send a message with subject or body 'help' to
>> interest-requ...@qt-project.org
>>
>> You can reach the person managing the list at
>> interest-ow...@qt-project.org
>>
>> When replying, please edit your Subject line so it is more specific
>> than "Re: Contents of Interest digest..."
>> Today's Topics:
>>
>>1. Re: Build qt 5.14.2 from scratch; enable
>>   win32-bluetooth-support (Colin Worth)
>>2. Re: Build qt 5.14.2 from scratch; enable
>>   win32-bluetooth-support (Denis Shienkov)
>>3.  Qt 6 Sourcecode (Nibedit Dey)
>>4. Re: Qt 6 Sourcecode (Samuel Gaist)
>>
>>
>>
>> -- Forwarded message --
>> From: Colin Worth 
>> To: Thiago Macieira 
>> Cc: interest@qt-project.org
>> Bcc:
>> Date: Thu, 17 Sep 2020 09:33:04 -0400
>> Subject: Re: [Interest] Build qt 5.14.2 from scratch; enable
>> win32-bluetooth-support
>> I installed VS2019 and will retry.
>>
>> I also have an error during perl init_repository (using ActivePerl):
>> repository not found:
>> ‘GitHub.com/qt/qtquick3d-assimp.git' is not found.
>>
>>
>>
>> On Sep 15, 2020, at 10:48 AM, Thiago Macieira 
>> wrote:
>> >
>> > On Tuesday, 15 September 2020 06:16:42 PDT Colin Worth wrote:
>> >> build qt5.14.2 from source for windows msvc2017
>> >
>> > If you're asking this, then you don't have an existing build of Qt with
>> MSVC
>> > 2017 that you need to be compatible with. So please upgrade to the
>> latest
>> > version (MSVC 2019) before you start.
>> >
>> > --
>> > Thiago Macieira - thiago.macieira (AT) intel.com
>> >  Software Architect - Intel DPG Cloud Engineering
>> >
>> >
>> >
>>
>>
>>
>>
>>
>> -- Forwarded message --
>> From: Denis Shienkov 
>> To: interest@qt-project.org
>> Cc:
>> Bcc:
>> Date: Thu, 17 Sep 2020 17:47:18 +0300
>> Subject: Re: [Interest] Build qt 5.14.2 from scratch; enable
>> 

Re: [Interest] Build qt 5.14.2 from scratch; enable win32-bluetooth-support

2020-09-18 Thread Colin Worth
Installed 5.14.2 including sources from Maintenance tool, and reconfigured
at the top level. Things look good so far:

...
Qt 3D GeometryLoaders:
  Autodesk FBX ... no
Qt Wayland Client  no
Qt Wayland Compositor  no
Qt Bluetooth:
  BlueZ .. no
  BlueZ Low Energy ... no
  Linux Crypto API ... no
  Native Win32 Bluetooth . yes
  WinRT Bluetooth API (desktop & UWP)  no
  WinRT advanced bluetooth low energy API (desktop & UWP) . no
Qt Sensors:
  sensorfw ... no
Qt Quick Controls 2:
  Styles . Default Fusion Imagine Material
Universal
Qt Quick Templates 2:
  Hover support .. yes
...

On Thu, Sep 17, 2020 at 6:33 AM Colin Worth  wrote:

> I installed VS2019 and will retry.
>
> I also have an error during perl init_repository (using ActivePerl):
> repository not found:
> ‘GitHub.com/qt/qtquick3d-assimp.git' is not found.
>
>
>
> On Sep 15, 2020, at 10:48 AM, Thiago Macieira 
> wrote:
> >
> > On Tuesday, 15 September 2020 06:16:42 PDT Colin Worth wrote:
> >> build qt5.14.2 from source for windows msvc2017
> >
> > If you're asking this, then you don't have an existing build of Qt with
> MSVC
> > 2017 that you need to be compatible with. So please upgrade to the
> latest
> > version (MSVC 2019) before you start.
> >
> > --
> > Thiago Macieira - thiago.macieira (AT) intel.com
> >  Software Architect - Intel DPG Cloud Engineering
> >
> >
> >
>
>
___
Interest mailing list
Interest@qt-project.org
https://lists.qt-project.org/listinfo/interest