Re: [Interest] #include

2020-05-03 Thread Glenn Ramsey
On 4/05/20 1:09 pm, Thiago Macieira wrote: > On Sunday, 3 May 2020 16:48:45 PDT Glenn Ramsey wrote: >> Qt is a cross platform C++ framework and presumably its users (who are C++ >> developers and not necessarily platform experts) expect some sort of >> insulation from platform

Re: [Interest] #include

2020-05-03 Thread Glenn Ramsey
On 2/05/20 11:40 am, Thiago Macieira wrote: > On sexta-feira, 1 de maio de 2020 15:32:57 PDT Glenn Ramsey wrote: >> Did I miss the documentation somewhere else or should I submit a bug report? > > Cocoa is an Objective C API. I think you're expected to know this if you're >

Re: [Interest] #include

2020-05-01 Thread Glenn Ramsey
you want .mm (Objective-C++) AFAIK > > Best, > > On Fri, May 1, 2020 at 11:05 PM Glenn Ramsey <mailto:g...@componic.co.nz>> wrote: > > I created a myfile.m with #include > and > added that to my project. > > Now I get a compilation error

Re: [Interest] #include

2020-05-01 Thread Glenn Ramsey
clang will treat it as Objective-C++ > > Best, > Jean-Michaƫl > > <http://www.jcelerier.name> > > > On Fri, May 1, 2020 at 2:51 AM Glenn Ramsey <mailto:g...@componic.co.nz>> wrote: > > Hi, > > I'm wanting to get the native OpenGL context on

[Interest] #include

2020-04-30 Thread Glenn Ramsey
Hi, I'm wanting to get the native OpenGL context on macOS but when including I get the following error: In file included from .../qt-5.12.7/qtbase/include/QtPlatformHeaders/QCocoaNativeContext:1: .../qt-5.12.7/qtbase/include/QtPlatformHeaders/qcocoanativecontext.h:1: In file included from

Re: [Interest] Bluetooth low energy on Windows 10

2018-07-26 Thread Glenn Ramsey
ou are trying to connect to. You can assign the bug report to me. > > Olli > > > On 25/07/2018 05:37, Glenn Ramsey wrote: >> Hi, >> >> I'm trying to get Qt(5.11.1) communicating with a BLE device on Windows 10 >> using >> the win32/WinRT backend. &

[Interest] Bluetooth low energy on Windows 10

2018-07-24 Thread Glenn Ramsey
Hi, I'm trying to get Qt(5.11.1) communicating with a BLE device on Windows 10 using the win32/WinRT backend. Using the lowenergyscanner example it can 'see' the device, only after it has been manually paired, but hangs when querying the services. The Microsoft BLE Explorer app from the

Re: [Interest] QtWebEngine in 5.6 OSX 32 bit

2016-02-15 Thread Glenn Ramsey
On 16/02/16 00:01, Koehne Kai wrote: > > >> -Original Message- >> From: Interest [mailto:interest-boun...@qt-project.org] On Behalf Of Glenn >> Ramsey >> Sent: Sunday, February 14, 2016 9:24 PM >> To: interest@qt-project.org >> Subject: [Intere

[Interest] QtWebEngine in 5.6 OSX 32 bit

2016-02-14 Thread Glenn Ramsey
Hi, In 5.6 is it still supposed to be possible to build QtWebEngine using -platform macx-clang-32 ? I am seeing errors like this when I attempt it: qtwebengine/src/3rdparty/chromium/base/mac/call_with_eh_frame_asm.S:25:9: error: register %rbp is only available in 64-bit mode pushq %rbp Glenn

Re: [Interest] QtWebEngine in 5.6 OSX 32 bit

2016-02-14 Thread Glenn Ramsey
to build, not QtWebkit. Glenn > >> On 14 Feb 2016, at 20:24, Glenn Ramsey <g...@componic.co.nz> wrote: >> >> Hi, >> >> In 5.6 is it still supposed to be possible to build QtWebEngine using >> -platform >> macx-clang-32 ? >> >> I am s

Re: [Interest] QtWebEngine in 5.6 OSX 32 bit

2016-02-14 Thread Glenn Ramsey
s -no-xcb -DQWEBENGINEPAGE_UNSUPPORTEDCONTENT -release Glenn > > Nuno > >> On 14 Feb 2016, at 20:54, Glenn Ramsey <g...@componic.co.nz> wrote: >> >> On 15/02/16 09:35, Nuno Santos wrote: >>> Which source are you using? >> >> http://download.qt.io/development_relea

[Interest] QtWebengine examples fail with 5.6 beta

2016-02-06 Thread Glenn Ramsey
Hi, When attemting to run any of the examples in qtwebengine\examples\webenginewidgets the program crashes and I see the following in debug.log: [0207/153930:FATAL:icu_util.cc(230)] Check failed: result. How do I run these examples (fancybrowser, demobrowser or markdowneditor)? This is with Qt

Re: [Interest] How to get number of channels from QAudioDeviceInfo

2016-01-25 Thread Glenn Ramsey
On 23/01/16 08:37, Jason H wrote: > > >> Sent: Thursday, January 21, 2016 at 11:07 PM From: "Glenn Ramsey" >> <g...@componic.co.nz> To: interest@qt-project.org Subject: [Interest] How to >> get number of channels from QAudioDeviceInfo >> >> H

[Interest] How to get number of channels from QAudioDeviceInfo

2016-01-21 Thread Glenn Ramsey
Hi, I would like to use the Qt5.x QtMultiMedia to output sound independently on multi-channel devices such as 5.1 and 7.1 sound cards. However I can't figure out to tell how many channels a device has. >From the documentation I guess that QAudioDeviceInfo::supportedChannelCounts is the call that

Re: [Interest] How to deploy qtwebengine_resources_100p.pak on Windows

2015-12-17 Thread Glenn Ramsey
On 17/12/15 11:53, Glenn Ramsey wrote: > Hi, > > I am attempting to create a PyInstaller build for a PyQt application that uses > QtWebEngine on Windows. I have this mostly working but scroll bars in the > QtWebEngine window are red. This is apparently caused by the la

[Interest] How to deploy qtwebengine_resources_100p.pak on Windows

2015-12-16 Thread Glenn Ramsey
Hi, I am attempting to create a PyInstaller build for a PyQt application that uses QtWebEngine on Windows. I have this mostly working but scroll bars in the QtWebEngine window are red. This is apparently caused by the lack of the files qtwebengine_resources_100p.pak and

[Interest] Revert the selection in a QTreeView

2015-01-13 Thread Glenn Ramsey
Hi, In a QTreeView how can I revert the selection? The behaviour I want is that when the user selects an item, then based on some other state, it will either accept the selection or message the user and revert to the previous selection. The currentChanged method gives me the QModelIndex of the

Re: [Interest] Revert the selection in a QTreeView

2015-01-13 Thread Glenn Ramsey
On 14/01/15 11:50, Nurmi J-P wrote: On 13 Jan 2015, at 22:45, Glenn Ramsey g...@componic.co.nz wrote: Hi, In a QTreeView how can I revert the selection? The behaviour I want is that when the user selects an item, then based on some other state, it will either accept the selection

[Interest] Setting the font size in QHeaderView

2014-06-29 Thread Glenn Ramsey
Hi, How can I set the font size in a QHeaderView, preferably using a stylesheet? Neither of the following seem to work (PyQt/Qt 5.2.1, OSX 10.8): QHeaderView { font-size: 16px; } QHeaderView::section { font-size: 16px; } I am able to successfully set other properties such as spacing: 10px;

Re: [Interest] Enable ANGLE in 5.2.1

2014-06-25 Thread Glenn Ramsey
On 25/06/14 17:46, Knight Andrew wrote: Hi, Hi, I am trying to build a version of Qt 5.2.1 with VS2010 that will use ANGLE for Qt Quick 2.0. Using these configure options configure.bat -prefix %CD%\qtbase -make-tool jom -nomake examples -opensource -confirm-license -release -no-c++11

[Interest] Enable ANGLE in 5.2.1

2014-06-24 Thread Glenn Ramsey
Hi, I am trying to build a version of Qt 5.2.1 with VS2010 that will use ANGLE for Qt Quick 2.0. Using these configure options configure.bat -prefix %CD%\qtbase -make-tool jom -nomake examples -opensource -confirm-license -release -no-c++11 -icu -openssl -angle -no-opengl I get build errors

[Interest] Getting keypresses in a splashscreen on OSX

2014-05-14 Thread Glenn Ramsey
Hi, I am trying to get keypresses from QSplashScreen before my main window opens. My splash class inherits from QSplashScreen and overrides the keyPressEvent method. The code below works on Windows but on OSX the keypresses are not intercepted until the main window opens. Is there a

[Interest] QQuickView focus problem

2013-11-18 Thread Glenn Ramsey
Hi, I am having a problem getting a QML form with a text input to work properly when hosted by QQuickView. The problem is that the text input will only get the focus once. If the focus goes to another window on the desktop then clicking in the form does not return the focus to it. The issue

Re: [Interest] Mac 10.9 and Qt 5.1.1 : working ?

2013-10-26 Thread Glenn Ramsey
On 27/10/13 01:25, qtnext wrote: Hi, I have upgraded my Mac Os to 10.9. And now I can't start my apps developed with 5.1.1 /Quick2 apps (with embedded qml in qrc files) .. It crash with the following errors : Thread 5 Crashed:: QThread 0 QtQml 0x00010d3afcb3

Re: [Interest] Plans to support Mac 32 bit?

2013-09-01 Thread Glenn Ramsey
On 02/09/13 04:49, Thiago Macieira wrote: On domingo, 1 de setembro de 2013 09:57:18, Gil Moses wrote: Hi, are there any plans to bring back the support for 32 bits on Mac? Currenty all my 32 bit apps don't link with the current distributions, requiring massive migration to 64 bit on my

[Interest] Debugging an OSX app bundle with Qt5

2013-04-07 Thread Glenn Ramsey
Hi, I am having some trouble with an OSX app built by PyInstaller using PyQt4 and Qt5. It used to work with PyQt4 + Qt4 so I assume that my issue is related to Qt5. I'm developing on OSX 10.8.3. My test app, hello.py, simply shows a message box: import sys from PyQt4.QtGui import