Re: [Interest] Update widget geometry BEFORE window shown

2024-05-29 Thread John Weeks
e); > WMshow(); > WMhide(); > getQWidget()->setAttribute(Qt::WA_DontShowOnScreen, false); Maybe that helps. Setting the attribute prevents the screen flash. -John Weeks WaveMetrics, Inc. > On May 23, 2024, at 3:52 PM, David M. Cotter wrote: > > I need to do so

Re: [Interest] spurious breakpoints in Qt Creator

2022-05-16 Thread John Weeks
; breakpoints defined by me. > > I am using: > - Linux (version 5.10.0-14-amd64) > - GNOME (version 3.38.5) > - Qt Creator (4.14.1) > - Qt (version 6.3 compiled from source) > ___ > Interest mailing list > Interest@qt-project.or

[Interest] fixit in Creator 7.01

2022-05-04 Thread John Weeks
anted (adding parens) and it applied BOTH fixes! -John Weeks ___ Interest mailing list Interest@qt-project.org https://lists.qt-project.org/listinfo/interest

Re: [Interest] debugging on Macintosh

2022-04-29 Thread john
ike a sledge hammer but it did work. Interesting. That would ~.config/QtProject? And then you have to re-create all your kits, etc.? -John Weeks ___ Interest mailing list Interest@qt-project.org https://lists.qt-project.org/listinfo/interest

[Interest] debugging on Macintosh

2022-04-27 Thread John Weeks
. -John Weeks ___ Interest mailing list Interest@qt-project.org https://lists.qt-project.org/listinfo/interest

[Interest] alphabetize the symbol menu?

2022-04-27 Thread John Weeks
With the clangd code model in the latest versions of Qt Creator, we seem to have lost the ability to order the menu of symbols in an editor window alphabetically. That would be the menu in the bar above the area holding editor windows and views. Am I missing something? -John Weeks

Re: [Interest] QTextLayout::setPreeditArea()

2022-01-03 Thread John Weeks
Maybe something related to an input method? Input methods are used for things like composing Japanese characters. -John Weeks > On Jan 3, 2022, at 2:31 PM, Joshua Grauman wrote: > > Hi all, > > I am working on using QTextLayout and I was wondering if someone could giv

Re: [Interest] semi-modal dialog

2021-07-29 Thread John Weeks
> Interest mailing list > Interest@qt-project.org > https://lists.qt-project.org/listinfo/interest -John Weeks ___ Interest mailing list Interest@qt-project.org https://lists.qt-project.org/listinfo/interest

Re: [Interest] qSort replacement

2021-07-21 Thread John Weeks
Reeder, Jürgen Kesper > ___ > Interest mailing list > Interest@qt-project.org > https://lists.qt-project.org/listinfo/interest -John Weeks ___ Interest mailing list Interest@qt-project.org https://lists.qt-project.org/listinfo/interest

Re: [Interest] [EXTERNAL] Re: Send Data to JavaScript

2021-04-13 Thread John Schneiderman
'd have to convert it each time to get the QStringList? -- John Schneiderman Senior Software Engineer CDPR Squad GOG.com OpenPGP_0xB23C7A7C8E96CE3B.asc Description: OpenPGP public key OpenPGP_signature Description: OpenPGP digital signature ___ I

Re: [Interest] [EXTERNAL] Re: Send Data to JavaScript

2021-04-13 Thread John Schneiderman
" it a bit?     The only thing that I've been able to find is the mapping for JSON and QVariant. And it shows that QMap, QString, and QStringList all can be mapped into a QVariant. -- John Schneiderman Senior Software Engineer CDPR Squad GOG.com OpenPGP_0xB23C7A7C8E96CE3B.asc Description

Re: [Interest] [EXTERNAL] Re: Send Data to JavaScript

2021-04-12 Thread John Schneiderman
. I'm using QWebEngine and QWebChannel for communication between C++ and the JavaScript running. -- John Schneiderman Senior Software Engineer CDPR Squad GOG.com OpenPGP_0xB23C7A7C8E96CE3B.asc Description: OpenPGP public key OpenPGP_signature Descrip

[Interest] Send Data to JavaScript

2021-04-12 Thread John Schneiderman
{     "key" : ["abc", "def"]... } However, when I try to view the data in the emitted signal it's always null. Any suggestions where I should look for more answers or perhaps I'm going in an incorrect direction? Thanks, -- J

[Interest] Frame count from MediaPlayer QML while playing

2021-03-25 Thread Alex john
Hello, I would like to get the frame count of the video that's been played by the MediaPlayer in QML, but I didn't find any property that will provide it. As the video is made up of frames , I have corresponding annotations per frame in the database that I would like to fetch using the frame numbe

Re: [Interest] [Qt3d] Rendering 3D object with 2D coordinates

2021-03-25 Thread Alex john
On Mon, Mar 22, 2021 at 10:55 AM Alex john wrote: > Transform { > id: trefoilMeshTransform > translation:Qt.vector3d(Qt.vector2D(100, 100)).unproject( > modelView ,mainCam.projectionMatrix, forwardRenderer.viewportRect) > property real theta: 0.0 >

Re: [Interest] [Qt3d] Rendering 3D object with 2D coordinates

2021-03-24 Thread Alex john
On Mon, Mar 22, 2021 at 10:55 AM Alex john wrote: > > On Thu, Mar 18, 2021 at 5:22 AM Walter Rawdanik wrote: > > > > You can’t convert 2d coordinates to a 3d position because you are missing > > the z coordinate. > > I can have a dummy z value as 1 for the calcula

Re: [Interest] [Qt3d] Rendering 3D object with 2D coordinates

2021-03-21 Thread Alex john
On Thu, Mar 18, 2021 at 5:22 AM Walter Rawdanik wrote: > > You can’t convert 2d coordinates to a 3d position because you are missing the > z coordinate. I can have a dummy z value as 1 for the calculation. The problem is similar as described here https://community.khronos.org/t/getting-2d-to-3d

Re: [Interest] [Qt3d] Rendering 3D object with 2D coordinates

2021-03-16 Thread Alex john
lease confirm the changes and let me know the modelView matrix. On Mon, Mar 15, 2021 at 5:14 PM Alex john wrote: > > Going the other way round (back-projection) can be done by e.g. > QVector3D::unproject() > > Thanks, as I'm referring the the wireframe example I was able to ge

Re: [Interest] [Qt3d] Rendering 3D object with 2D coordinates

2021-03-15 Thread Alex john
As I have loaded my custom obj in wireframe example and using the same geometry and camera settings as its for wireframe, therefore can you please let me know how this can be done at QML side? I did try to find this in the documentation but didn't find the usage. > On Mon, Mar 15, 20

[Interest] [Qt3d] Rendering 3D object with 2D coordinates

2021-03-15 Thread Alex john
Hello , Im successessfully able to load the obj file in Scene3D, and by using fromEulerAngles I'm able to get the required yaw, pitch and roll.However, I'm not able to use the right translation to get the object rendered. I get the x,y coordinates in pixels from the other module and I need to rend

Re: [Interest] Drawing Frustum on Scene3D

2021-03-05 Thread Alex john
in quick3D that would be done with a class derived from QQuick3DGeometry > with primitives set to lines > "setPrimitiveType(QQuick3DGeometry::PrimitiveType::Lines)" > to construct a cube. Then register that class to qml and use it in your > View3D. Hope it helps. > > J

[Interest] Drawing Frustum on Scene3D

2021-03-05 Thread Alex john
Hello Qt I like to render a frustum as here https://imgur.com/a/BzmCQ2D on Scene3d. Can you let me know how it can be done? If I have to get the custom QML ,do I have to get it from the C++ and then push it to the QML context? Any pointers to basic code is appreciated. Thanks. ___

Re: [Interest] Rendering 3d object on webcam video

2021-03-04 Thread Alex john
to “transparent” ? > > > Mike > > > On 3 Mar 2021, at 14:28, Alex john wrote: > > > > > > Hello, > > > > I am trying to overlay a 3d object(.obj file) on top of the video, I could > > successfully load the .obj file and rendered it by referi

[Interest] Rendering 3d object on webcam video

2021-03-03 Thread Alex john
Hello, I am trying to overlay a 3d object(.obj file) on top of the video, I could successfully load the .obj file and rendered it by refering to example https://doc.qt.io/qt-5/qt3d-wireframe-example.html, later I changed the code in main.qml by raping Entity from main.qml into Scene3D and tried t

[Interest] Security message when I download Qt Creator?

2021-02-24 Thread John Weeks
properly, or perhaps this happens with any dmg these days? I did ultimately manage to download it by right-clicking, selecting Save Link As and then clicking the status tile at the bottom of the window, where there was a choice to go ahead anyway. -John Weeks

[Interest] Emit Signal From JavaScript

2020-09-24 Thread John M. Schneiderman
like unnecessary boilerplate. Is it possible to -- John Schneiderman Senior Software Engineer GOG.com ___ Interest mailing list Interest@qt-project.org https://lists.qt-project.org/listinfo/interest

Re: [Interest] Qt Creator debugger does not flush "Application Output" on every log call?

2020-09-21 Thread John Weeks
u nuts, please upvote this bug i've filed. Thanks. > > > -dave > ___ > Interest mailing list > Interest@qt-project.org > https://lists.qt-project.org/listinfo/interest -John Weeks WaveMetrics, Inc. ___ Interest mailing list Interest@qt-project.org https://lists.qt-project.org/listinfo/interest

Re: [Interest] Bug in QCodoaWindow?

2020-08-27 Thread john
nd something wrong: I've been getting what as far as I can tell are bad window state change events telling me that a window is maximized when it isn't. Plays dicky with certain parts of my code! > On Aug 27, 2020, at 2:25 PM, Andy wrote: > > Bitwise "&" has pre

[Interest] Bug in QCodoaWindow?

2020-08-27 Thread John Weeks
Isn't this a bug? bool QCocoaWindow::isTransitioningToFullScreen() const { NSWindow *window = m_view.window; return window.styleMask & NSWindowStyleMaskFullScreen && !window.qt_fullScreen; } Seems like the bitwise & needs parens. This is from Qt 5.12.9. Haven'

Re: [Interest] macOS Big Sur ARM Build

2020-06-24 Thread John Weeks
At the point where Apple almost released 64-bit Carbon, but reversed course and made us all switch to writing things with funny square brackets instead, Carbon had been largely ported to 64 bits. There is still quite a bit of Carbon under the hood in Cocoa. -John Weeks WaveMetrics, Inc. >

Re: [Interest] how to get 3 pixel focus ring?

2020-06-08 Thread John Weeks
7;t bad, but it doesn't look like either Windows or Macintosh. Hope this helps -John Weeks > On Jun 8, 2020, at 12:48 PM, David M. Cotter wrote: > > can anyone explain why tree view looks fine but table view only has 1 pixel? > > @adam did you download the example p

Re: [Interest] Qt Creator Application Output window

2020-04-29 Thread john
Maybe I was too specific here. This isn't just a problem with Address Sanitizer. It is a general problem with the output pane in Qt Creator. Its just that AddressSanitizer happens to put out lots of output. So I guess y'all don't see thi

[Interest] Qt Creator Application Output window

2020-04-22 Thread John Weeks
y? 2) Do others see this too? -John Weeks = ==2501==ERROR: AddressSanitizer: heap-use-after-free on address 0x60300112fe40 at pc 0x0001052ca5ac bp 0x7ffeefbfa430 sp 0x7ffeefbfa428 READ of size 8 at 0x60300112fe40 thread T0 2020-04-

Re: [Interest] Wrong position QStyleOptionProgressBar on macOS

2020-03-23 Thread john
Glad I could help! -John Weeks > On Mar 21, 2020, at 3:24 AM, Roman Wüger wrote: > > John, thank you very much, > > your solution worked as expected. > > Best Regards > Roma > >> Am 20.03.2020 um 20:46 schrieb John Weeks : >> >> Roman- >&

Re: [Interest] Wrong position QStyleOptionProgressBar on macOS

2020-03-20 Thread John Weeks
problems is to paint the QStyle object into a QImage or QPixmap, then draw that image wherever you need it. I have filed bugs against some of these problems, and gotten very little attention. -John Weeks > On Mar 20, 2020, at 12:02 PM, Roman Wüger wrote: > > Hello, > > I use

Re: [Interest] Troubles with debugging

2020-02-19 Thread john
ports on other applications. -John Weeks > On Feb 19, 2020, at 8:31 AM, Nils Jeisecke > wrote: > > Hi list, > > I'm seeing the same thing here. Not sure when troubles started. > Nobody else having problems with that? > > Nils > > Am 19.08.2019 um 11:37

Re: [Interest] Where does libGL get changed to absolute and how to stop?

2019-11-15 Thread John Cary
correctly. So it seems that it comes down to an incorrectly generated qtbase/src/gui/qtgui-config.pri, which I can fix post-facto, but I think there must be a better fix.  Perhaps your patch? ThanksJohn Cary ___ Interest mailing list Interest@qt

[Interest] Where does libGL get changed to absolute and how to stop?

2019-11-15 Thread John Cary
path I specified with QMAKE_LIBDIR_OPENGL. Is there a way to stop this behavior? Where is the code that does this? ThxJohn Cary ___ Interest mailing list Interest@qt-project.org https://lists.qt-project.org/listinfo/interest

Re: [Interest] Q_NAMESPACE is not portable?

2019-08-27 Thread John Weeks
t;> I think "for instance" should be written out in this case, or use an >> established >> abbreviation, or dropped entirely: > > I had the same thought 😊 > > https://codereview.qt-project.org/c/qt/qtbase/+/271615 > > Kai > ___

[Interest] Troubles with debugging

2019-08-19 Thread John Weeks
ave seen? Is there a solution? Do I just have to use QDebug() statements liberally sprinkled about my code to debug? Any insight greatly appreciated. -John Weeks ___ Interest mailing list Interest@qt-project.org https://lists.qt-project.org/listinfo/interest

Re: [Interest] Two different layouts?

2019-08-16 Thread john
Thank you! That might be what I want. I'll check it out on Monday. > On Aug 16, 2019, at 3:24 PM, Israel Brewster wrote: > > On Aug 14, 2019, at 1:06 PM, John Weeks wrote: >> >> I have a moderately complex window (more than 50 QWidget- and >> QLayout-derived

[Interest] Two different layouts?

2019-08-14 Thread John Weeks
ht be. Has anyone developed a solution to this? Or do I need to make a wrapper class that has an accessor function for each of the widgets? That would be a pain to implement, and a source of bugs in the future when I change the layouts. Any ideas greatly appreci

Re: [Interest] Qt free software policy

2019-08-14 Thread John Weeks
ce we started using the LGPL version. That up-front cost is prohibitive, so we haven't done it. Perhaps, if you are trying to nudge folks toward commercial licensing, you could provide a path that isn't so expensive. Or maybe you have? We haven't bothered to look in

Re: [Interest] Finish QLineEdit editing when user clicks anywhere outside the QLineEdit

2019-08-14 Thread John Weeks
> Interest mailing list > Interest@qt-project.org > https://lists.qt-project.org/listinfo/interest -John ___ Interest mailing list Interest@qt-project.org https://lists.qt-project.org/listinfo/interest

Re: [Interest] Finish QLineEdit editing when user clicks anywhere outside the QLineEdit

2019-08-14 Thread John Weeks
> Interest mailing list > Interest@qt-project.org > https://lists.qt-project.org/listinfo/interest -John ___ Interest mailing list Interest@qt-project.org https://lists.qt-project.org/listinfo/interest

Re: [Interest] Odd crash with QPainter + QOpenGLWidget

2019-03-27 Thread John Weeks
aintEvent() requires some slight of hand to sync the GL buffers. Maybe the crash is a result of something like that. -John Weeks > On Mar 27, 2019, at 2:48 PM, Matthew Woehlke wrote: > > I've cargo-culted some code to render text over a QOpenGLWidget from > another pr

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

2018-11-16 Thread John Weeks
> I feel stupid! :D Heh. You can join the elite group of, what, nearly 100% of coders who have had this experience? :) Those that haven't are probably not doing serious work. -John Weeks WaveMetrics, Inc. ___ Interest mailing list Int

Re: [Interest] Calling QMainWindow::close() vs. clicking on close button in title bar

2018-10-30 Thread John Weeks
Our application needs to control how windows close pretty carefully- we handle QEvent::close by ignoring it, then doing whatever we feel like we need to do. That is, we take over management of the situation. -John Weeks WaveMetrics, Inc. > On Oct 30, 2018, at 5:53 AM, Andy wrote: > &

Re: [Interest] Find frontmost widget of specific type?

2018-10-22 Thread John Weeks
7;s windows. I have made it work pretty well, but I quake in my boots whenever I get a bug report about window order. We are now using Qt 5.9 and don't have any sort of replacement for my delicate and difficult code. -John Weeks WaveMetrics, Inc. > On Oct 22, 2018, at 11:37 AM, Israel

Re: [Interest] Can't debug on Android device anymore

2018-06-11 Thread John Weeks
a red herring and that I solved it accidentally in some way that I can't recall :) -John Weeks > On Jun 11, 2018, at 6:56 AM, René Hansen wrote: > > Hi, > > > Has anyone else starting seeing this error, when trying to run in debug mode > on device? > > "

Re: [Interest] Singleton application

2018-04-17 Thread John Weeks
-171. I see this in my bug report: I cloned it from http://qt.gitorious.org/qt-solutions August 6, 2013. Five years later it's still working for us. -John Weeks > On Apr 17, 2018, at 5:26 AM, Samuel Gaist wrote: > > >> On 17 Apr 2018, at 12:33, Hamish Moffatt wrote:

Re: [Interest] High-dpi fixing for Qt 5.5

2018-03-02 Thread John Weeks
Do it in the showEvent()? > On Mar 2, 2018, at 8:16 AM, Elvis Stansvik wrote: > > 2018-03-02 16:26 GMT+01:00 Martins, Sérgio : >> On 2018-03-02 15:21, Elvis Stansvik wrote: >>> >>> 2018-03-02 16:18 GMT+01:00 Elvis Stansvik : 2018-03-02 15:54 GMT+01:00 Nikos Chantziaras : > >

[Interest] SVG Full

2018-01-31 Thread John Weeks
this? Might QSvgRenderer one day implement SVG Full? Thanks for any insights. -John Weeks ___ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest

Re: [Interest] Qt Charts questions

2018-01-04 Thread John Weeks
not know if they support logarithmic > axes.) -John Weeks ___ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest

[Interest] Changing creator editor title bar

2017-11-29 Thread John Weeks
I never use the two menus that I can see there. I use the Symbols menu all the time, when I can get to it. Is there a way to select what's shown there, or to rearrange the elements to suit my needs? -John Weeks ___ Interest mailing list Interest

Re: [Interest] QT QFontMetrics boundingRect failed to textwordwrap, thanks!

2017-11-29 Thread John Weeks
Add returns in your text: QString text("1234567890123456789012345678901234567890\r" "1234567890123456789012345678901234567890\r" "1234567890123456789012345678901234567890\r" "123456789012345678901

Re: [Interest] QDockWidgets: how to get regular windows in detached (floating) mode?

2017-10-11 Thread John Weeks
You may need to call setVisible(true). IIRC, changing window flags makes the widget invisible. -John Weeks > On Oct 11, 2017, at 2:36 PM, René J.V. Bertin wrote: > > Hi, > > Dock widgets are very useful, but there are cases where I'd like to be able > to detach t

Re: [Interest] Building Qt 5.9.1 Expanded Path Too Long

2017-09-15 Thread John Schneiderman
>> Drop the -silent argument to configure. Thanks, that fixed the issue. ___ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest

[Interest] Building Qt 5.9.1 Expanded Path Too Long

2017-09-14 Thread John Schneiderman
top. NMAKE : fatal error U1077: 'cd' : return code '0x2' Stop. NMAKE : fatal error U1077: 'cd' : return code '0x2' Stop. Thanks, John Schneiderman Senior Software Engineer Galaxy Desktop Team GOG.com ___ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest

Re: [Interest] Windows 5.9 Build System Library Failures

2017-07-11 Thread John Schneiderman
I’ve attached the config.log file. John Schneiderman Senior Software Engineer Galaxy Desktop Team GOG.com From: Thiago Macieira Sent: poniedziałek, 10 lipca 2017 23:19 To: interest@qt-project.org Subject: Re: [Interest] Windows 5.9 Build System Library Failures On segunda-feira, 10 de julho de

[Interest] WindowStaysOnTopHint on Windows always on top?

2017-07-10 Thread John Weeks
a bug on this behavior. Qt 5.6.3 Windows 10 -John Weeks WaveMetrics, Inc. ___ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest

[Interest] Windows 5.9 Build System Library Failures

2017-07-10 Thread John Schneiderman
ho Failed to build. Error Code: %errorlevel% 1>&2 echo. popd pause exit 2 === Any assistance in fixing these errors would be greatly appreciated as I’ve hit a brick wall on this. I’ve confirmed the paths to the libraries are correct, both name and directory. Thanks, John Schneiderman Senior Software Engineer Galaxy Desktop Team GOG.com ___ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest

[Interest] QPainter draws text quads counterclockwise and other primitives clockwise

2016-10-06 Thread John Cox
ck on f->glEnable(GL_CULL_FACE); } } Bug or intentional? This isn't a show-stopper for me but it did cause some grief. -John Cox ___ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest

Re: [Interest] What don't you like about Qt?

2016-10-05 Thread John C. Turnbull
What SLAs or kinds of responses should I expect then? > On 5 Oct. 2016, at 18:07, Thiago Macieira wrote: > > Em quarta-feira, 5 de outubro de 2016, às 10:33:37 CEST, John C. Turnbull > escreveu: >> Thiago, it seems you have taken my comments as a personal attack on you and >>

Re: [Interest] What don't you like about Qt?

2016-10-04 Thread John C. Turnbull
aking. If that's the case then, again, I am sorry and please direct me to a more appropriate forum. To summarise, I am speaking from the perspective of a paying customer of a commercial entity. And I suspect I am not the only one. > On 5 Oct. 2016, at 10:09, Thiago Macieira wrote: >

Re: [Interest] What don't you like about Qt?

2016-10-04 Thread John C. Turnbull
Thiago, with all due respect, and I'm very aware of the significant contribution you personally have made to both the Qt product and the community, there is clearly a high degree of dissatisfaction with various aspects of Qt and the management of the SDLC. Your comments may be accurate but I'm

Re: [Interest] What don't you like about Qt?

2016-10-03 Thread John C. Turnbull
It's ironic in a way that every major graphical toolkit (and with many large software projects in general) that I've worked with over decades now, the attitude has commonly seemed to have been that "new" is better than "stable". The end result is a product full of both older and newer unstable f

Re: [Interest] QAudioDecoder mp3 problem

2016-09-01 Thread John Weeks
ce of a Qt plug-in that uses the platform support. The support on OS X is so minimal that we wound up writing a platform-specific bit of code using Core Audio (which is not pleasant!). It's also hard to figure what support is actually available on a given platform, and now I've forgott

[Interest] debugger thread display

2016-08-11 Thread John Weeks
her thread from the Threads menu, and I see the locals and expressions view change, but the stack trace remains showing the crashed thread. Do I simply need to get a newer Qt Creator? Or is there something I need to do differently? Thanks for any insigh

Re: [Interest] Design Issue with QAbstractItemModel & QTreeView

2016-08-05 Thread john
ons do is to tell the view that it should not update while you work on revising the model. I'm not really sure how I got into being an "expert" on this. I'm not really :] -John Weeks ___ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest

Re: [Interest] Design Issue with QAbstractItemModel & QTreeView

2016-08-04 Thread John Weeks
ItemModel is only a representation of the data, not the data itself, you don't care of the childAdded signal comes after a data item has been added. At that point you prepare a new row in your QAbstractItemModel subclass. Where does your data come from? How do you know when new data is added to the und

Re: [Interest] Design Issue with QAbstractItemModel & QTreeView

2016-08-04 Thread John Weeks
d, then calling childHasBeenAdded. The WillBe and HasBeen functions are used to inform the base class of what your code is doing. -John Weeks ___ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest

Re: [Interest] Relationship between a QEventLoop and QCoreApplication::exec().

2016-08-04 Thread John Weeks
e of QDialog::exec() in the main thread, and QDialog can be used only in the main thread. -John Weeks ___ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest

Re: [Interest] Relationship between a QEventLoop and QCoreApplication::exec().

2016-08-04 Thread John Weeks
t-project.org > http://lists.qt-project.org/mailman/listinfo/interest Lambdas have always seemed like a great way to write large blocks of obscure code, but it seems like I'm missing something. Another example? -John ___ Interest mailing list

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

2016-07-12 Thread John C. Turnbull
Thanks very much Sze - they all look very helpful. Qt is awesome. But it can be "awesomer" ;-) > On 12 Jul 2016, at 19:41, Sze Howe Koh wrote: > >> On 12 July 2016 at 14:53, John C. Turnbull wrote: >> Thanks. I never thought of using Google ;-) >> >> S

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

2016-07-12 Thread John C. Turnbull
It's OK - they "do no evil" ;-) > On 12 Jul 2016, at 17:01, alexander golks wrote: > > Am Tue, 12 Jul 2016 16:53:25 +1000 > schrieb "John C. Turnbull" : > >> Thanks. I never thought of using Google ;-) >> >> Sadly Google show

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

2016-07-11 Thread John C. Turnbull
t; questions: > > http://doc.qt.io/qt-5/qtquick-visualcanvas-scenegraph.html > http://doc.qt.io/qt-5/qtquick-visualcanvas-scenegraph-renderer.html > > >> -Original Message- >> From: Interest [mailto:interest-bounces+mitch.curtis=qt...@qt-project.org] >> On Behalf

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

2016-07-11 Thread John C. Turnbull
Anyone? > On 10 Jul 2016, at 23:23, John C. Turnbull wrote: > > I am still new to Qt but am very interested in the technology and the deep > innards of how it functions. I have worked in a 3D animation studio and > learned a lot while I was there. > > Is there documenta

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

2016-07-10 Thread John C. Turnbull
I am still new to Qt but am very interested in the technology and the deep innards of how it functions. I have worked in a 3D animation studio and learned a lot while I was there. Is there documentation or articles that: 1) Describe in detail how the Qt Quick rendering pipeline is designed and

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

2016-07-06 Thread John C. Turnbull
e. -jct > On 6 Jul 2016, at 20:26, Sean Harmer wrote: > > > >> On 06/07/2016 10:41, John C. Turnbull wrote: >> Thanks - great to hear! >> >> I am a firm believer in the significance that Vulkan will play in the future >> of GPU based applications.

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

2016-07-06 Thread John C. Turnbull
Thanks - great to hear! I am a firm believer in the significance that Vulkan will play in the future of GPU based applications. > On 6 Jul 2016, at 18:33, Dmitry Volosnykh wrote: > > John, here you are: https://blog.qt.io/?s=vulkan&lang=en > >> On Wed, Jul 6, 2

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

2016-07-06 Thread John C. Turnbull
Just out of interest, has anyone within the Qt community or company considered Vulkan? It looks to me as though the future of low level graphics APIs is not OpenGL or Direct3D or Metal. It's Vulkan. > On 6 Jul 2016, at 17:53, Kai Koehne wrote: > > > >> -Original Message- >> From: I

Re: [Interest] Problem with ^ on a Macintosh with German keyboard layout

2016-06-14 Thread John Weeks
> On Jun 14, 2016, at 2:31 PM, Thiago Macieira > wrote: > > On terça-feira, 14 de junho de 2016 13:58:47 PDT John Weeks wrote: >> On a German keyboard on Macintosh, shift+6 is a combining (or dead key) ^ >> character. If you hit, for instance, shift+6 then

[Interest] Problem with ^ on a Macintosh with German keyboard layout

2016-06-14 Thread John Weeks
solicit some comment from the European folks using Qt, who might be more expert on this sort of issue! -John Weeks WaveMetrics, Inc. ___ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest

[Interest] QSvgRenderer::defaultSize() is wrong?

2016-06-02 Thread John Weeks
DPI unit and be assured that it will always be that way. -John Weeks ___ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest

Re: [Interest] Qt5.6: Mouse clicks on ScrollBars also gets passed to widgets behind them

2016-05-19 Thread John Weeks
> widget will come to focus. > > Is this the defined behavior? Or is it perhaps a bug? > > If this is the defined behavior, is there a way to disable it so that the > scroll bar consumes the event and prevents it from getting passed to any > widgets behind it? >

Re: [Interest] Menu causes problems on OS X

2016-05-11 Thread john
https://bugreports.qt.io/browse/QTBUG-53315 > On May 10, 2016, at 11:51 AM, John Weeks wrote: > > The very simple application posted below (it is a complete runnable example) > creates a window that puts up a menu on clicking in the window. If you select > "Open File..

[Interest] Menu causes problems on OS X

2016-05-10 Thread John Weeks
think, and if you might know of a work-around. Thanks! -John Weeks #include #include #include #include #include #include #include #include class MainWindow : public QMainWindow { public: explicit MainWindow(QWidget *parent = 0); ~

Re: [Interest] "Internal mouse button tracking invalid" messages

2016-03-22 Thread John Weeks
> On Mar 22, 2016, at 5:30 AM, René J. V. Bertin wrote: > > Any idea if the proposed changes in the code reviews are in any way > backportable > to 5.6? No idea at all. I only know about the bug because it affects us. -John Weeks _

Re: [Interest] "Internal mouse button tracking invalid" messages

2016-03-21 Thread John Weeks
or are they internal debugging messages that shouldn't really be printed in > production code? > > R. > ___ > Interest mailing list > Interest@qt-project.org > http://lists.qt-pro

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

2016-03-19 Thread John Weeks
Nobody's mentioned the fact that an overridden virtual slot requires an absolutely horrid cast in order to use the new PMF syntax. -John Weeks ___ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest

Re: [Interest] famous issue : setMouseTracking

2016-03-08 Thread John Weeks
u also get enterEvent() and leaveEvent(), though those are somewhat screwed up on Macintosh, even in 5.6. -John Weeks ___ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest

Re: [Interest] [OS X] maintaining a list of own WIds

2016-03-04 Thread John Weeks
name:@"NSWindowWillMiniaturizeNotification" object:cocoaWindow]; -John ___ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest

Re: [Interest] [OS X] maintaining a list of own WIds

2016-03-01 Thread John Weeks
non-Qt application? This: http://stackoverflow.com/questions/20453965/how-to-get-notified-when-nswindow-opens seems to indicate that you're not the only one that can't figure this out. -John Weeks ___ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest

Re: [Interest] [OS X] maintaining a list of own WIds

2016-02-29 Thread John Weeks
to get back nullptr. internalWinId() is undocumented, but a public API used lots of places in Qt code, so it's probably not going anywhere soon. -John Weeks WaveMetrics, Inc. ___ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest

Re: [Interest] Replacing icudtXX.dll without rebuilding Qt?

2016-01-17 Thread John Layt
rebuild Qt instead with the no ICU flag set. The only thing you loose on Windows are proper collation support for Win XP, proper toUpper/toLower support in tricky languages, and various Unicode look-up tables. If you're not worried about those then this is a better path for you. John. ___ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest

Re: [Interest] Display color managed image

2015-12-31 Thread John Layt
rn it on. On Linux, well it's a mess depending on which desktop you're running. In short, I don't think Qt itself applies anything, but the host platform might manage the result. John. ___ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest

[Interest] Drawing in a high DPI QImage on Windows

2015-12-03 Thread John Weeks
scale factor set by default to 2.5. Can someone show some example code or suggest API's to use for this? It appears that devicePixelRatio() will only return integer values. We are currently building against a pretty recent build of Qt 5.6. Thanks! -

Re: [Interest] Putting a define with spaces in the .pro file?

2015-11-13 Thread John Weeks
Our .pro files have things like this: DESTDIR = $$quote(../IgorPhoenixFolder) Does that provide any traction? -John Weeks WaveMetrics, Inc. ___ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest

Re: [Interest] qSwap or std::swap?

2015-10-26 Thread John Weeks via Interest
; > I think it's only less complex than overload resolution, but overloads are > better understood (you can't live without them). I mean, overloads without > templates... that gets complex again. Right. That's why Scott Meyers devotes quite a lot of space to it. And in C++11

  1   2   3   >