[Interest] Can't install Qt-5.11.2 on latest Windows 10

2018-10-17 Thread Patrick Stinson
Hello! I can’t seem to find any way to install qt-5.11.2 on Windows 10 from either the online installer or the all-in-one open source installer. Surely this isn’t happening for everyone? I am getting installer errors as in this bug report: https://bugreports.qt.io/browse/QTBUG-66853

[Interest] Strange unresolved external symbols in QtCore on windows

2018-11-03 Thread Patrick Stinson
My qmake-generated Visual studio project is complaining about the following QObject symbols referenced from my QObject subclass even though I am linking to Qt5Core.lib using a qt I built from the command line: 1>CUtil.obj : error LNK2001: unresolved external symbol "public: virtual void __this

Re: [Interest] Strange unresolved external symbols in QtCore on windows

2018-11-03 Thread Patrick Stinson
Woah. Any idea what this is all about? > On Nov 3, 2018, at 8:41 PM, Thiago Macieira wrote: > > On Saturday, 3 November 2018 14:31:12 PDT Patrick Stinson wrote: >> The output of dumpbin /symbols /linenumbers Qt5Core.lib shows these symbols >> as protected, not publi

Re: [Interest] Strange unresolved external symbols in QtCore on windows

2018-11-04 Thread Patrick Stinson
Looks like the only instances of that string are in tests. And only three. So that can’t be it. > On Nov 3, 2018, at 8:54 PM, Patrick Stinson wrote: > > Woah. Any idea what this is all about? > >> On Nov 3, 2018, at 8:41 PM, Thiago Macieira >> wrote: >> >

Re: [Interest] Strange unresolved external symbols in QtCore on windows

2018-11-06 Thread Patrick Stinson
cted public" > > is used by PyQt5 / sip source code to allow overriding protected methods from > Python derived classes. > > I don't know if they have support for disabling it. > > > >> On 4. Nov 2018, at 06:45, Patrick Stinson wrote: >> &g

Re: [Interest] How to get active button color in macOS?

2019-01-30 Thread Patrick Stinson
53 AM, Nils Jeisecke > wrote: > > Hi, > > Am 30.01.2019 um 02:27 hat Patrick Stinson geschrieben: >> Hello! >> >> I am trying to figure out how to get the following color for macOS >> (see screenshot) which is called “Accent Color" in the General s

[Interest] QListView ignoring ScrollPerPixel on Sierra, High Sierra (Qt-5.12.0)

2019-02-17 Thread Patrick Stinson
Hi there! This simple pyqt example demonstrates the problem. Any ideas on a workaround? import time app = QApplication(sys.argv) w = QListView() m = QStringListModel() m.setStringList([str(time.time()) for i in range(1000)]) w.setModel(m) w.setVerticalScrollMode(QAbstractItemView.ScrollPerPixe

[Interest] Animating viewable rect of QGraphicsView

2019-02-25 Thread Patrick Stinson
How can I animate the viewable scene rect of a QGraphicsView using screen coordinates? This means animating both center pos and scale. This is similar to Google Earth where the map scrolls and zooms smoothly from one point to another. I have searched for an answer for this several times in the l

[Interest] Qt-5.12.3: Compile errors passing -j to make on macos

2019-06-15 Thread Patrick Stinson
Has anyone else run into compile errors related to integer sizes on a 64 bit platform when passing -jn to make on macos? A build will be preceding just fine with one process, but when I increase the number it immediately bails with compile errors. Thanks! ___

Re: [Interest] Qt-5.12.3: Compile errors passing -j to make on macos

2019-06-15 Thread Patrick Stinson
ion of template class 'QAtomicInteger' requested here Q_STATIC_ASSERT(sizeof(QAtomicInteger)); ^ > On Jun 14, 2019, at 11:49 PM, Patrick Stinson wrote: > > Has anyone else run into compile errors related to integer sizes on a 64 bit > platform when passi

Re: [Interest] Qt-5.12.3: Compile errors passing -j to make on macos

2019-06-15 Thread Patrick Stinson
PYTHONPATH=~/dev/pkdiagram:~/dev/pkdiagram/server The build worked if I waited until after the qt build to set everything but SYSROOT. This is pretty strange, but I’ll drop this for now. > On Jun 15, 2019, at 10:42 AM, Thiago Macieira > wrote: > > On Saturday, 15 June 2019 00:52:44

[Interest] Q_ATOMIC_INT64_IS_SUPPORTED: Qt Compile errors on macOS

2019-06-21 Thread Patrick Stinson
(NOTE: I have started a new thread about this from an old one incorrectly associating this problem with “make -jn”) I am having a hard time pinning down the source of this error. I am getting it sporadically on Qt-5.12.0 - Qt-5.13.0. using make -jn flags or not using make -jn flags doesn’t seem

Re: [Interest] Q_ATOMIC_INT64_IS_SUPPORTED: Qt Compile errors on macOS

2019-06-21 Thread Patrick Stinson
#define QT_FEATURE_std_atomic64 -1 > On Jun 21, 2019, at 9:32 AM, Thiago Macieira > wrote: > > src/corelib/qtcore-config.h ___ Interest mailing list Interest@qt-project.org https://lists.qt-project.org/listinfo/interest

Re: [Interest] Q_ATOMIC_INT64_IS_SUPPORTED: Qt Compile errors on macOS

2019-06-21 Thread Patrick Stinson
019, at 12:13 PM, Thiago Macieira > wrote: > > On Friday, 21 June 2019 10:35:36 PDT Patrick Stinson wrote: >> #define QT_FEATURE_std_atomic64 -1 > > Can you check the config.log in the top-level dir to see what how the std- > atomic64 test failed? If you don't se

Re: [Interest] Q_ATOMIC_INT64_IS_SUPPORTED: Qt Compile errors on macOS

2019-06-21 Thread Patrick Stinson
I am building qt from a couple of different scripts so it would be great to be able to have them work on first run. > On Jun 21, 2019, at 8:50 PM, Patrick Stinson wrote: > > My config.log did not contain the string “std-atomic64.” It did report that > it could not find libatom

Re: [Interest] Q_ATOMIC_INT64_IS_SUPPORTED: Qt Compile errors on macOS

2019-06-22 Thread Patrick Stinson
Wow. Very strange. Maybe I should file a bug report, though I bet it will be very low priority. > On Jun 22, 2019, at 8:07 AM, Thiago Macieira > wrote: > >> On Friday, 21 June 2019 21:50:39 PDT Patrick Stinson wrote: >> So how do you account for that? Seems very odd t

[Interest] Flickering when resizing QOpenGLWidget on macOS

2019-06-23 Thread Patrick Stinson
It seems that QOpenGLWidget doesn’t keep up with its parent layout when resized. It flickers with a black gap, which causes very jitter behavior when child widgets are layed out within it. Is there any way to fix or work around this? See attached video (sorry for shading in second half). https:

Re: [Interest] Q_ATOMIC_INT64_IS_SUPPORTED: Qt Compile errors on macOS

2019-06-23 Thread Patrick Stinson
ago Macieira > wrote: > >> On Saturday, 22 June 2019 09:50:56 PDT Patrick Stinson wrote: >> Wow. Very strange. Maybe I should file a bug report, though I bet it will be >> very low priority. > > To whom? To Qt or to Apple? As far as I can tell, this is a compiler pr

Re: [Interest] Q_ATOMIC_INT64_IS_SUPPORTED: Qt Compile errors on macOS

2019-06-23 Thread Patrick Stinson
The qt configure script is predictably unable to find it on the first configure run but able to find it on the second run. The ask handy changed. Or were you considering that as well? > On Jun 23, 2019, at 9:07 PM, Thiago Macieira > wrote: > >> On Sunday, 23 June 2019 13:23

Re: [Interest] Q_ATOMIC_INT64_IS_SUPPORTED: Qt Compile errors on macOS

2019-06-25 Thread Patrick Stinson
Yep, it was a .qmake.stash file two dirs up. I deleted it and everything builds fine again. > On Jun 25, 2019, at 8:03 AM, Thiago Macieira > wrote: > > On Tuesday, 25 June 2019 02:51:58 PDT Alexandru Croitor wrote: >> If the stash file was in higher in the directory tree than you expected, it

Re: [Interest] Q_ATOMIC_INT64_IS_SUPPORTED: Qt Compile errors on macOS

2019-07-02 Thread Patrick Stinson
`rm -rf` on your build does not solve this issue because the .qmake.stash file often exists in a path above the build/source dir. On Wed, Jun 26, 2019 at 5:23 PM Thiago Macieira wrote: > On Wednesday, 26 June 2019 16:22:48 PDT Hamish Moffatt wrote: > > My point was that the file is entirely mana

Re: [Interest] Q_ATOMIC_INT64_IS_SUPPORTED: Qt Compile errors on macOS

2019-07-02 Thread Patrick Stinson
Aha! Very interesting. That does seem to make it a user-issue, albeit a very convoluted issue. > On Jul 2, 2019, at 4:08 PM, Thiago Macieira wrote: > > On Tuesday, 2 July 2019 16:41:30 -03 Patrick Stinson wrote: >> `rm -rf` on your build does not solve this issue because t

[Interest] How to set a non-global context property for a single QQmlComponent?

2019-07-17 Thread Patrick Stinson
Hello! Surely there must be a way to set a context property on a single component without having to set it globally on the entire QQmlEngine? Indeed, the QQmlContext documentation is silent on this point. Help?? ___ Interest mailing list Interest@qt-p

Re: [Interest] How to set a non-global context property for a single QQmlComponent?

2019-07-17 Thread Patrick Stinson
Shoot, you know at first pass it looks like that will work. Wow. I wonder if this is possible to do with QQuickWidget? Or if not how to show a component into a QWidget without QQuickWidget? > On Jul 17, 2019, at 1:35 AM, Sérgio Martins wrote: > > On 2019-07-17 10:15, Patrick Stin

Re: [Interest] How to set a non-global context property for a single QQmlComponent?

2019-07-17 Thread Patrick Stinson
Is there any way other than QQuickWidget to show a Qml Component in a QWidget? > On Jul 17, 2019, at 2:14 AM, Sérgio Martins wrote: > > On 2019-07-17 10:58, Patrick Stinson wrote: >> Shoot, you know at first pass it looks like that will work. Wow. >> I wonder if this i

Re: [Interest] How to set a non-global context property for a single QQmlComponent?

2019-07-17 Thread Patrick Stinson
Right, I did try that one but if I remember right I got an error setting the context property, or that it was the same as the engine root context. > On Jul 17, 2019, at 3:37 AM, Sérgio Martins wrote: > >> On 2019-07-17 10:58, Patrick Stinson wrote: >> Shoot, you know at f

[Interest] QDateTime uses different time zone offset prior to UNIX epoch?

2019-09-20 Thread Patrick Stinson
QDateTime initializes with a different time zone offset when passed a QDate before versus after Jan 1 1970. The following line says it all: QDateTime(QDate(1969, 10, 14)).offsetFromUtc() != QDateTime(QDate(1970, 10, 14)).offsetFromUtc() It seems to me that the offsets for these two QDateTime ob

[Interest] ASSERT failure in QCocoaScreen: "The application's primary screen should always be in sync with the main display"

2019-09-20 Thread Patrick Stinson
I received this error after upgrading from 5.13.0 to 5.13.1 and disconnecting my external monitor from my latest-model MacBook with Mojave: qcocoascreen.mm:557:None(): ASSERT failure in QCocoaScreen: "The application's primary screen should always be in sync with the main display", file qcocoas

[Interest] Assertions from QQuickTableView::forceLayout()

2019-09-20 Thread Patrick Stinson
TableView.forceLayout() seems prone to throwing assertions related to internal data structures being out of sync with the number of rows and columns from the QAbstractTableModel used. Some of these assertions were fixed in 5.13.0, more were fixed in 5.13.1. But this one still remains: items/qqu

Re: [Interest] QDateTime uses different time zone offset prior to UNIX epoch?

2019-09-21 Thread Patrick Stinson
Ah, I read your response in the forum differently. Thank you. > On Sep 21, 2019, at 2:18 AM, Christian Ehrlicher wrote: > > Am 21.09.2019 um 00:12 schrieb Thiago Macieira: >>> On Friday, 20 September 2019 14:20:40 PDT Patrick Stinson wrote: >>> QDateTime initializes

[Interest] Qml configured but not building on iOS?

2019-10-22 Thread Patrick Stinson
QtQml, QtQuick, etc are configured to build but are not being built for iOS. I have attached my config.summary. Is there something I am missing? Thanks! config.summary Description: Binary data ___ Interest mailing list Interest@qt-project.org https:

Re: [Interest] Qml configured but not building on iOS?

2019-10-23 Thread Patrick Stinson
t; Maybe the compilation runs into an error before even entering qtdeclarative? > Are you sure that make returned without an error? What happens if you go into > qtdeclarative subfolder and run make there? > > Kai > > From: Interest <mailto:interest-boun...@qt-project.org&g

[Interest] Customizing ui/rcc compiler in qmake

2020-04-21 Thread Patrick Stinson
Is there a way to customize the ui compiler to use a command other than rcc? For example, I am trying to set up my pyqt5 project using only qmake and want it to use the command pyrcc5 instead of rcc, and with a few custom command line arguments. Thanks! _

Re: [Interest] Customizing ui/rcc compiler in qmake

2020-04-21 Thread Patrick Stinson
Sorry, I meant uic not rcc. > On Apr 21, 2020, at 10:14 AM, Patrick Stinson wrote: > > Is there a way to customize the ui compiler to use a command other than rcc? > > For example, I am trying to set up my pyqt5 project using only qmake and want > it to use the command pyr

Re: [Interest] Customizing ui/rcc compiler in qmake

2020-04-22 Thread Patrick Stinson
pyrcc5.dependency_type = TYPE_RCC pyrcc5.CONFIG = no_link target_predeps dep_lines pyrcc5.commands = pyrcc5 ${QMAKE_FILE_NAME} -o ${QMAKE_FILE_OUT} QMAKE_EXTRA_COMPILERS += pyrcc5 > On Apr 21, 2020, at 10:50 AM, Patrick Stinson wrote: > > Sorry, I meant uic not rcc. > >> On Apr

[Interest] Seeking workaround for TableView contentX|contentY bug when hiding columns

2020-05-09 Thread Patrick Stinson
I found a rather serious bug where TableView.contentX and TableView.contentY gets corrupted when you hide and reshow columns or rows (bug report here: https://bugreports.qt.io/browse/QTBUG-82535 ). I'm looking for a workaround since this makes it imp

Re: [Interest] Seeking workaround for TableView contentX|contentY bug when hiding columns

2020-05-10 Thread Patrick Stinson
For what it's worth, emitting `modelReset` from the model does seem to reset the corruption, but then you loose any view state, scroll positions, etc. > On May 9, 2020, at 5:50 PM, Patrick Stinson wrote: > > I found a rather serious bug where TableView.contentX and TableView.co

[Interest] Status of Native iOS Look?

2017-02-10 Thread Patrick Stinson
Hello! What is the status for supporting native iOS gui elements in Qt? Or are most people just building apps from scratch with their own custom widgets. I mean, using a basic Qt scroll view for example is not really acceptable in an iOS app but the native iOS scrollbars are. Along the same lin

Re: [Interest] Status of Native iOS Look?

2017-02-10 Thread Patrick Stinson
ok-feel/ > >> On Feb 10, 2017, at 6:33 PM, Patrick Stinson wrote: >> >> Hello! What is the status for supporting native iOS gui elements in Qt? Or >> are most people just building apps from scratch with their own custom >> widgets. I mean, using a basic Qt scroll v

[Interest] Forum or mailing list?

2017-02-20 Thread Patrick Stinson
Qt’ers, I’m curious, what type of inquiries should go on the Qt-hosted forum, and which to this mailing list? It’s a little hard to tell the difference from the outset. Thanks! ___ Interest mailing list Interest@qt-project.org http://lists.qt-project

Re: [Interest] Trolltech sighting, Feb 2017, Colorado USA

2017-02-21 Thread Patrick Stinson
Good old version 1.44... > On Feb 20, 2017, at 10:52 PM, Phil Weinstein wrote: > > Trolltech sighting, Feb 2017, Colorado USA > http://www.thirdtablet.com/2017/Sightings/Trolltech.jpg > --- > > ___ > Interest mailing list > Interest@qt-project.org > h

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

2017-02-21 Thread Patrick Stinson
Hello! I am painting a series of connected QLineF's with varying vectors and widths. Is there any way to smooth them out to be more vector-ish, so you don't see the jagged transitions between the segments? This is for hand writing notes with the Apple Pencil. I have one segment per event with p

[Interest] Missing modules when building Qt-5.8 with -sdk iphonesimulator

2017-02-23 Thread Patrick Stinson
I am building qt with the following options, and it is not building QtBluetooth. Is this intentional? My configure line: ./configure -static -debug -xplatform macx-ios-clang -sdk iphonesimulator -nomake examples -nomake tests -developer-build -opensource -confirm-license Maybe the problem is -x

[Interest] Correct 5.8 static, debug config options for iphonesimulator?

2017-02-23 Thread Patrick Stinson
Configuring Qt-5.8 with the following command line: ./configure -sdk iphonesimulator produces the following error: ERROR: The OpenGL functionality tests failed! You might need to modify the include and library search paths by editing QMAKE_INCDIR_OPENGL[_ES2], QMAKE_LIBDIR_OPENGL[_ES2] and QMAK

[Interest] Excluding examples from make in dev dir

2017-02-24 Thread Patrick Stinson
Hello! Is there a way to exclude examples for “make” and “make clean” inside a qt module, e.g. qtbase? Looking at qtbase.pro took me ended up in my getting lost in a rabbit hole. Thanks! -P ___ Interest mailing list Interest@qt-project.org http://lis

Re: [Interest] Excluding examples from make in dev dir

2017-02-24 Thread Patrick Stinson
Excellent scholarship, Giuseppe. A much needed quality in the world of software. > On Feb 24, 2017, at 3:21 PM, Giuseppe D'Angelo > wrote: > > Il 24/02/2017 23:41, Patrick Stinson ha scritto: >> Right, I thought that this would take care of this as well, but it turns

Re: [Interest] https://www.qt.io/download/#Licence-anchor

2017-02-26 Thread Patrick Stinson
Bummer. > On Feb 26, 2017, at 7:07 AM, Alexander Dyagilev wrote: > > does not work > > i can't download qt > > ___ > Interest mailing list > Interest@qt-project.org > http://lists.qt-project.org/mailman/listinfo/interest

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

2017-02-28 Thread Patrick Stinson
iasing. Also, you might want to try a rounded join style on the QPen > you are using. Posting an example of what you are getting now would help > others help you. > >> On Tue, Feb 21, 2017 at 4:17 AM, Patrick Stinson >> wrote: >> Hello! >> I am painting a ser

[Interest] Calling "Open in..." dialog in iOS

2017-03-10 Thread Patrick Stinson
Safari and other apps have a share button that uses UIDocumentInteractionController to open a system dialog to open the current file in another app. What is the correct way to access this from Qt? I am writing a diagramming app that would export flattened PDFs and JPGs. FWIW, I'm actually using

Re: [Interest] Calling "Open in..." dialog in iOS

2017-03-10 Thread Patrick Stinson
Forgot to include this stackoverflow thread about this: http://stackoverflow.com/questions/8302593/iphone-open-in-in-sdk > On Mar 10, 2017, at 7:11 PM, Patrick Stinson wrote: > > Safari and other apps have a share button that uses > UIDocumentInteractionController to open a syst

[Interest] Double-buffering QGraphicsItem with QImage on retina display

2017-03-16 Thread Patrick Stinson
Hi there! I am implementing handwriting with the apple pencil and am double-buffering each stroke on a QImage before passing the resulting pixmap and bounding rect for the stroke to a QGraphicsItem. The problem is that painting to the QImage is not at retina resolution which is what you get whe

Re: [Interest] Double-buffering QGraphicsItem with QImage on retina display

2017-03-16 Thread Patrick Stinson
s wrote: > > On 17 March 2017 at 16:01, Patrick Stinson wrote: >> Hi there! >> >> I am implementing handwriting with the apple pencil and am double-buffering >> each stroke on a QImage before passing the resulting pixmap and bounding >> rect for the stroke to a QG

Re: [Interest] Double-buffering QGraphicsItem with QImage on retina display

2017-03-16 Thread Patrick Stinson
QImage.setDevicePixelRatio(2) seemed to do the trick along with a Image that is twice as large and manual translation of the appropriate coordinates. QPainter does the rest. Good to know. > On Mar 16, 2017, at 8:32 PM, Patrick Stinson wrote: > > That’s a good setting to know about,

[Interest] pinch+pan gesture

2017-03-17 Thread Patrick Stinson
Hello! Is it necessary to implement a custom gesture for simultaneous pinch + pan as is commonly used on iOS? I appears that QPanGesture is only for single-finger panning and the center of QPinchGesture isn’t updated during Qt.GestureUpdated. Is this correct? It’s a little hard to debug. I am u

[Interest] Mapping floating point screen coordinates to QGraphicsScene

2017-03-18 Thread Patrick Stinson
UITouch coordinates are floating point on iOS, for example for the Apple Pencil. Is there a way to map this? Seems like this would be easy to implement based on the QPoint version… // pks: apple pencil Q

Re: [Interest] Mapping floating point screen coordinates to QGraphicsScene

2017-03-18 Thread Patrick Stinson
> > On 19 March 2017 at 15:59, Patrick Stinson wrote: >> UITouch coordinates are floating point on iOS, for example for the Apple >> Pencil. Is there a way to map this? Seems like this would be easy to >> implement based on the QPoint version… >> > > In wh

Re: [Interest] Mapping floating point screen coordinates to QGraphicsScene

2017-03-18 Thread Patrick Stinson
It looks like making this change tightened up drawing with the apple pencil. I suppose I will incorporate this in my pull request if I can ever get around to understanding how to submit one. > On Mar 18, 2017, at 9:46 PM, Patrick Stinson wrote: > > That’s correct, the floating poi

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

2017-03-21 Thread Patrick Stinson
margin. qreal margin = penWidth * 1.42; splinePath.moveTo(points.at(0)); for (int i = 0; i < points.size() - 1; i++) { const QPointF &point = points.at(i + 1); splinePath.cubicTo(controlPoints[2 * i], controlPoints[2 * i + 1], point); } return splinePath; }

[Interest] pushing a WIP

2017-03-22 Thread Patrick Stinson
I am not new to git but am new to growing out of using git as if it were svn. I have a local work in progress branch (apple--pencil) based on dev, and want to know how to push it to a feature branch on dev. Should I just do git push origin dev ? Or is there another way to create a remote branc

[Interest] smoothest way to zoom/pan QGraphicsView?

2017-04-06 Thread Patrick Stinson
I am implementing a pan and zoom on pinch via raw touch events and am finding setTransform() to be very slow, even with an empty scene. The touch events are backed up in a queue by slow synchronous calls to QGraphicsView.setTransform(). Without stripping down my code into a runnable example, is

Re: [Interest] smoothest way to zoom/pan QGraphicsView?

2017-04-06 Thread Patrick Stinson
> On Apr 6, 2017, at 7:57 PM, Ch'Gans wrote: > > On 7 April 2017 at 14:38, Patrick Stinson wrote: >> I am implementing a pan and zoom on pinch via raw touch events and am >> finding setTransform() to be very slow, even with an empty scene. The touch >> events

Re: [Interest] smoothest way to zoom/pan QGraphicsView?

2017-04-06 Thread Patrick Stinson
2017 at 15:02, Patrick Stinson <mailto:patrickk...@gmail.com>> wrote: >> >>> On Apr 6, 2017, at 7:57 PM, Ch'Gans wrote: >>> >>> On 7 April 2017 at 14:38, Patrick Stinson wrote: >>>> I am implementing a pan and zoom on pinch via raw touch

[Interest] Prevent QGraphicsView calling fitInView() after addItem()

2017-04-06 Thread Patrick Stinson
Hi there! It appears that the default behavior for QGraphicsView is to call fitInView() to center all the items in the scene when a new item is added. Is there a way to prevent this? I don’t see anything in the docs. Thanks! -P ___ Interest mailing li

[Interest] iOS: QPropertyAnimation on QWidget.pos not hardware accelerated?

2017-04-08 Thread Patrick Stinson
Hi there! I have a simple QWidget with a single (empty) list view that I am trying to use for a fullscreen slide-in panel on iOS. The problem is that the animation of the ‘pos’ property doesn’t look hardware accelerated on iOS. It looks great on macOS, however. The slide-out widget is covering

[Interest] speeding up "make clean" in qt src on OS X?

2017-04-20 Thread Patrick Stinson
Hello! Running “make clean” in the root qt src dir calls xcodebuild a whole bunch of times and takes a really, really long time. Is there any faster way to do this? I am already excluding a lot of unnecessary builds in my configure line: ./configure -static -debug-and-release -nomake examples -

Re: [Interest] speeding up "make clean" in qt src on OS X?

2017-04-20 Thread Patrick Stinson
Ah! I was not aware that you could do that. Thank you! -P > On Apr 20, 2017, at 4:48 AM, Konstantin Tokarev wrote: > > out-of-tree smime.p7s Description: S/MIME cryptographic signature ___ Interest mailing list Interest@qt-project.org http://lists.

Re: [Interest] speeding up "make clean" in qt src on OS X?

2017-04-20 Thread Patrick Stinson
should one call the configure > command for that? > >> On 20 Apr 2017, at 09:58, Patrick Stinson > <mailto:patrickk...@gmail.com>> wrote: >> >> Ah! I was not aware that you could do that. Thank you! >> >> -P >> >>> On Apr 20, 20

Re: [Interest] speeding up "make clean" in qt src on OS X?

2017-04-20 Thread Patrick Stinson
, às 01:34:10 PDT, Patrick Stinson > escreveu: >> Running “make clean” in the root qt src dir calls xcodebuild a whole bunch >> of times and takes a really, really long time. Is there any faster way to >> do this? I am already excluding a lot of unnecessary builds in my configu

[Interest] Slow touch event sample rate after 10.3.1 iOS sdk

2017-04-23 Thread Patrick Stinson
Has anyone else noticed that the sample rate for touch events has dropped to 800ms since the last iOS SDK update? I have tested with both Qt-5.8.0 and Qt-dev and it’s happening on my iPhone as well as iPad pro. I read somewhere that you have to update the view in order to get the sample rate to

[Interest] black screen with iOS app over airplay?

2017-05-11 Thread Patrick Stinson
Hello! Has anyone else had a problem with Qt apps only showing as a black screen when mirroring an iOS device over airplay? Other apps display fine, but then the AirPlay display turns black when the Qt app is brought to the front. Granted, I am using Reflector 2 to show the iPad screen on my Mac

Re: [Interest] black screen with iOS app over airplay?

2017-05-12 Thread Patrick Stinson
st CGRect r = [[UIScreen mainScreen] bounds]; > return QRect(0, 0, r.size.width, r.size.height); > > > We had similar problem, black screen with AirPlay or with HDMI dongle. This > solved it for us. > > Regards, > Boris Ralchenko. > > > > > >> O

Re: [Interest] black screen with iOS app over airplay?

2017-05-12 Thread Patrick Stinson
Do you mean QMainWindow? That is the class that I am deriving from. > On May 12, 2017, at 1:38 PM, bralche...@ics.com wrote: > > On main window, in our case it was derived from QQuickView. > > Regards, > Boris Ralchenko. > > > > > >> On May 12, 2

Re: [Interest] black screen with iOS app over airplay?

2017-05-13 Thread Patrick Stinson
che...@ics.com wrote: > > Yes, I think that’s the one. > > > Regards, > Boris Ralchenko. > > > > > >> On May 12, 2017, at 5:08 PM, Patrick Stinson > <mailto:patrickk...@gmail.com>> wrote: >> >> Do you mean QMainWindow? That is the

Re: [Interest] black screen with iOS app over airplay?

2017-05-16 Thread Patrick Stinson
Mange takk, Tor Arne. I’ll follow the issue there. > On May 16, 2017, at 11:10 AM, Tor Arne Vestbø wrote: > > https://bugreports.qt.io/browse/QTBUG-56768 > <https://bugreports.qt.io/browse/QTBUG-56768> > > On 13/05/2017 18:56, Patrick Stinson wrote: >> Hmm. Thi

Re: [Interest] QGraphicsView selection not honoring QGraphicsItem::shape?

2017-06-25 Thread Patrick Stinson
Thanks for the important tips, I wasn’t aware of any of them! I implemented all of them. Unfortunately it is still selecting based on boundingRect. Any other thoughts? > On Jun 25, 2017, at 5:00 PM, Christian Gagneraud wrote: > > On 26 June 2017 at 05:10, Patrick Stinson <mai

Re: [Interest] QGraphicsView selection not honoring QGraphicsItem::shape?

2017-06-25 Thread Patrick Stinson
> On Jun 25, 2017, at 4:51 PM, Christian Gagneraud wrote: > > On 26 June 2017 at 05:10, Patrick Stinson wrote: >>def update(self, *args): >>if None in self.people: >>return > > you're missing a call to prepareGeometryCha

Re: [Interest] QGraphicsView selection not honoring QGraphicsItem::shape?

2017-06-25 Thread Patrick Stinson
Cool, thanks for digging into it a little more. Thanks for the tip on stroking the path for shape(), though I already do that as demonstrated in qgraphicsitemc.cpp - I just removed it from the example code I posted here :) Here is a video of it still not working but with your debug code: https

[Interest] sin wave with QPainterPath between two points

2017-07-20 Thread Patrick Stinson
Hello! I want to figure out how to draw a sin wave between two QPointF’s using QPainterPath. Calculating the cubic control points seems like the best way, but I am far from mastering that theory. This is a diagramming app and the goal is to get a squiggly line between two objects. Thanks! smi

Re: [Interest] sin wave with QPainterPath between two points

2017-07-20 Thread Patrick Stinson
k he wanted to avoid an approximation with straight lines and > use cubic beziers. > > Jean-Michaël: There seems to be many pages explaining the theory > behind sine approximation using Beziers if you Google. > > Elvis > >> >> >> >> >>

[Interest] How to update QGraphicsView transform when scrolling view with wheel?

2017-07-25 Thread Patrick Stinson
Hi there! If I am setting a QGraphicsView's scale via setTransform() while scrolling up/down+left/right with two fingers on the trackpad, but the paint updates don’t come until after I stop moving my fingers which stops the wheel events. Is there a way to update the view with the new transform

Re: [Interest] How to update QGraphicsView transform when scrolling view with wheel?

2017-07-25 Thread Patrick Stinson
t; On Jul 25, 2017, at 12:27 AM, Christian Gagneraud wrote: > > > > On 25/07/2017 7:24 pm, "Patrick Stinson" <mailto:patrickk...@gmail.com>> wrote: > Hi there! > > If I am setting a QGraphicsView's scale via setTransform() while scrolling > up/

[Interest] Terminating app due to uncaught exception 'CALayerInvalidGeometry', reason: 'CALayer position contains NaN: [nan nan]'

2017-07-25 Thread Patrick Stinson
Anyone seen this error? It looks like an automated QtWidgets test caught it back in 2015, but I can’t seem to nail it down to any particular cause in my own app. Thanks! turin:pkdiagram patrick$ make run 2017-07-25 13:16:36.669 python[1892:844774] *** Terminating app due to uncaught exception

[Interest] QMacCGContext:: Unsupported painter devtype type 1

2017-07-25 Thread Patrick Stinson
Does anyone get this warning output to console for every mouse event when using rubber band selection on QGraphicsView? QMacCGContext:: Unsupported painter devtype type 1 Thanks! -Patrick smime.p7s Description: S/MIME cryptographic signature ___ Inter

[Interest] Any way to achieve retina resolution on QGraphicsView?

2017-07-25 Thread Patrick Stinson
Hello! I am seeing the antialiasing is still quite grainy using a QGraphicsView on mac. Is it possible to increase the device pixel ratio, or something similar? Thanks! -P smime.p7s Description: S/MIME cryptographic signature ___ Interest mailing li

Re: [Interest] Any way to achieve retina resolution on QGraphicsView?

2017-07-25 Thread Patrick Stinson
Another screenshot. Note smoothness of retina button pixmaps at left VS jagged lines in middle. > On Jul 25, 2017, at 6:27 PM, Patrick Stinson wrote: > > Hello! > > I am seeing the antialiasing is still quite grainy using a QGraphicsView on > mac. Is it possible to i

[Interest] simple crash with QGraphicsScene

2017-07-29 Thread Patrick Stinson
Hello! I have reproduced a crash with QGraphicsView where you: - add a single item in the middle of the scene, - resize (shrink) the window with the mouse so the item is not fully visible - resize (grow) the window again - ***the issue happens right when item is fully visible again.*** Any idea h

[Interest] Child QWidget fade-in with QGraphicsOpacityEffect

2017-08-01 Thread Patrick Stinson
I have a QGraphicsView (under QMainWindow) with a pop-up QWidget for item properties which fades in with QGraphicsOpacity effect. The problem is that when I start the animation the outer frame border of the widget fades in as expected, but the contents of the widget remains transparent until I c

[Interest] Slow refresh rate on QPropertyAnimation => pos for child widget?

2017-08-02 Thread Patrick Stinson
Hello! I am getting pretty good refresh rates on QPropertyAnimation for QGraphicsScene, as the interval set in the qt source is for 60fps. But animating a child widget’s position looks more like 20fps. The widget in question is a child of the QGraphicsView. See the following screencast, which i

[Interest] QMake: Way to set capabilities for Xcode project?

2017-08-30 Thread Patrick Stinson
I am dependent on a tool that uses qmake to regenerate an xcodeproject whenever I add a source file, and so I always have to find the way to make any changes to the Xcode project within the .pro file. I have done well until this point with the Info.plist file. But now I need to be able to enabl

[Interest] QMake: How to add xcconfig file and set for target config

2017-08-30 Thread Patrick Stinson
I am generating an Xcode project from a .pro file and want to set an xcconfig file as the build configuration for a particular target in the project. This means that I need to edit the .pro file to: 1) add the xcconfig file to the project 2) set the xcconfig in the build settings for the target

[Interest] Pan-scroll gesture for QGraphicsView on iOS?

2017-09-19 Thread Patrick Stinson
The pan gesture scrolls qgraphicsview just fine on macOS, but the same code doesn't work on iOS. Is there something special I need to do there? Thank you! smime.p7s Description: S/MIME cryptographic signature ___ Interest mailing list Interest@qt-proje

[Interest] Building & Running on High Sierra

2017-09-20 Thread Patrick Stinson
Is there a version or commit that runs on high sierra? I am getting segfaults in a 300-or-so deep stack of calls in libqcocoa.dylib using the branch on git (need to try again to get a useful stack trace). Qt-5.9.1 fails to build in qcoregraphics.mm like so: dor/pyqt-sysroot-base/src/qt-everywh

Re: [Interest] Building & Running on High Sierra

2017-09-20 Thread Patrick Stinson
https://bugreports.qt.io/browse/QTBUG-63323> > > From: Interest [mailto:interest-bounces+mitch.curtis=qt...@qt-project.org > <mailto:interest-bounces+mitch.curtis=qt...@qt-project.org>] On Behalf Of > Patrick Stinson > Sent: Wednesday, 20 September 2017 4:56 PM > To: Qt

Re: [Interest] Building & Running on High Sierra

2017-09-20 Thread Patrick Stinson
Thank you. Any thoughts about the branch problem? > On Sep 20, 2017, at 10:45 AM, Jake Petroules wrote: > > This is QTBUG-62266, which has been fixed by > https://codereview.qt-project.org/#/c/201546/ for Qt 5.9.2. > >> On Sep 20, 2017, at 8:00 AM, Patrick Stinson wrote

Re: [Interest] Building & Running on High Sierra

2017-09-20 Thread Patrick Stinson
that looks like it. I guess i should have searched for 10.13 instead of high sierra > On Sep 20, 2017, at 11:28 AM, Jake Petroules wrote: > > Likely https://codereview.qt-project.org/#/c/205954/ > >> On Sep 20, 2017, at 11:19 AM, Patrick Stinson wrote: >> >>

[Interest] Project ERROR: Could not find feature static

2017-09-21 Thread Patrick Stinson
I pulled the 5.10 (also tried with ) branch from git into folder A, then configured and built qt from folder B like so: ../../../pyqt-sysroot-base/src/qt5-src/configure -opensource -confirm-license -nomake examples -nomake tests -prefix $PWD But when I try to run qmake on any project file I get

[Interest] Synchronous painting on QGraphicsScene

2017-10-06 Thread Patrick Stinson
Hi there! I have a graph-ish diagram app where dragging some objects (like nodes) necessitates dragging other objects (like connecting edges). However, if I update an edge from the mouse event or ItemChanged(position) event then the edge isn’t painted until the next paint event. At times, this

Re: [Interest] Poor retina support for QGraphicsView on macOS?

2017-10-07 Thread Patrick Stinson
That is correct, this did fix the antialiasing issue at the expense of performance. I suppose it is a trade off. > On Oct 7, 2017, at 1:09 AM, Christian Gagneraud wrote: > >> On 7 October 2017 at 16:11, Patrick Stinson wrote: >> >> Hello! >> >> I am se

Re: [Interest] Poor retina support for QGraphicsView on macOS?

2017-10-07 Thread Patrick Stinson
erier > http://www.jcelerier.name > >> On Sat, Oct 7, 2017 at 10:09 AM, Christian Gagneraud >> wrote: >> On 7 October 2017 at 16:11, Patrick Stinson wrote: >> > >> > Hello! >> > >> > I am seeing the antialiasing is still quite grainy

Re: [Interest] Synchronous painting on QGraphicsScene

2017-10-07 Thread Patrick Stinson
possible to implement painting in a synchronous way, where all paint events which result from a single mouse event are done in the same buffer frame. Make sense? > On Oct 7, 2017, at 1:01 AM, Christian Gagneraud wrote: > > On 7 October 2017 at 16:08, Patrick Stinson wrote: >> Hi there

  1   2   >