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.content

[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

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

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

[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] 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] 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

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] 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:

[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

[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

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

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 t

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

[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

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

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

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

2019-06-26 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-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-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-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

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-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

[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

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

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

2019-06-15 Thread Patrick Stinson
cInteger' 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 passing -jn to make on macos? A build will be

[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!

[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

[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)

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

2019-01-30 Thread Patrick Stinson
{ return QApplication::palette().color(QPalette::Active, QPalette::ButtonText); } } > On Jan 30, 2019, at 2:53 AM, Nils Jeisecke > wrote: > > Hi, > > Am 30.01.2019 um 02:27 h

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

2018-11-06 Thread Patrick Stinson
ed 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: >> >> Loo

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-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

[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

[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

Re: [Interest] **SPAM**d Re: Setting current item text color via stylesheet in QTableView for SelectRows

2018-08-12 Thread Patrick Stinson
it works for me with this style. > > The attached picture show two selected rows (0 and 2) and one current, > unselected cell (1). > > -- > Best Regards > > Reinhardt Behm > > >> On Sunday 12 August 2018 21:06:28 Patrick Stinson wrote: >> Don’t forget to repl

Re: [Interest] Setting current item text color via stylesheet in QTableView for SelectRows

2018-08-12 Thread Patrick Stinson
Don’t forget to reply to all. Your example is interesting, and it does solve the problem of making the selected and current item stand out. I suppose there isn’t a way to do this and also show the current item when it is not selected. How strange that you can’t combine selectors as in CSS. >

Re: [Interest] Setting current item text color via stylesheet in QTableView for SelectRows

2018-08-11 Thread Patrick Stinson
It’s like there needs to be an extra rule to honor the selected and focus states simultaneously, but ::item:selected:focus doesn’t work. > On Aug 10, 2018, at 12:11 PM, Patrick Stinson wrote: > > Negative. “current” is not a valid pseudo state, as “focus” is the > appropriate

Re: [Interest] Setting current item text color via stylesheet in QTableView for SelectRows

2018-08-10 Thread Patrick Stinson
gt;> >>>>>> On Tuesday 07 August 2018 20:54:58 you wrote: >>>>>> Thanks for your reply, Reinhardt. Your code acknowledges the selected >>>>>> item >>>>>> but I am looking for the current item whether it is selected or n

Re: [Interest] How to change parent of scaled QGraphicsItem while retaining scene bounding rect?

2018-08-08 Thread Patrick Stinson
child.setTransform(lt) child.setScale(1.0) child.setRotation(0.0) child.setParentItem(parent) > On Aug 8, 2018, at 10:42 AM, Patrick Stinson wrote: > > Thanks for that. Though I am having some trouble. If you have PyQt, I wonder > what problem you see with this examp

Re: [Interest] How to change parent of scaled QGraphicsItem while retaining scene bounding rect?

2018-08-08 Thread Patrick Stinson
() app.exec() tests_QGI_parent_transform() > On Aug 7, 2018, at 10:05 PM, Christian Gagneraud wrote: > > On 8 August 2018 at 15:49, Patrick Stinson wrote: >> Thanks for the reply. I am just particularly dense in this sort of cognitive >> operation (something ab

Re: [Interest] How to change parent of scaled QGraphicsItem while retaining scene bounding rect?

2018-08-07 Thread Patrick Stinson
018, at 6:24 PM, Christian Gagneraud wrote: > > On 8 August 2018 at 11:08, Patrick Stinson wrote: >> Hello! >> >> I am trying to change the parent of a QGraphicsItem without it appearing to >> move or change size on the scene. Both the item, old parent, and new have &

[Interest] Setting current item text color via stylesheet in QTableView for SelectRows

2018-08-07 Thread Patrick Stinson
Hello! I have a vanilla QTableView with SingleSelection and SelectRows and am trying to figure out how to set the text color of the current item for both when the row is selected and when it isn’t. This is important so that the user knows which cell will be edited when they hit the enter key

[Interest] How to change parent of scaled QGraphicsItem while retaining scene bounding rect?

2018-08-07 Thread Patrick Stinson
Hello! I am trying to change the parent of a QGraphicsItem without it appearing to move or change size on the scene. Both the item, old parent, and new have arbitrary scale values set. How can this be done? Thanks! ___ Interest mailing list

[Interest] Clearing QMainWindow::setFilePath() on macOS

2018-07-19 Thread Patrick Stinson
Hello! I have set a file path on my QMainWindow with QWidget::setWindowFilePath() on macOS. I need to clear this setting, but it doesn’t work if I pass in “”. Is there another way to do this? Thanks! -Patrick ___ Interest mailing list

[Interest] Using QItemDelegate outside item views

2018-07-13 Thread Patrick Stinson
I sometimes present collections of objects my data type in a QTableView with a custom model and delegate, and sometimes present a single object of this data type in a conventional property sheet form. Considering I have a model and delegate already written for my table view, is it appropriate

Re: [Interest] Complex border from QPainterPath

2018-06-29 Thread Patrick Stinson
That is a wonderfully complete and portable example. Great job! > On Jun 29, 2018, at 1:04 PM, Christoph Feck wrote: > > On 29.06.2018 19:19, Patrick Stinson wrote: >> I am trying to construct a text callout QGraphicsItem. It is basically a >> rounded >> rect plus s

Re: [Interest] Disabling mysql support in build

2018-06-19 Thread Patrick Stinson
urse; but mysql doesn’t > ship with macOS so I guess it came from brew or some such, so maybe it’s more > a matter of the Qt build process not finding everything? > >> On 19 Jun 2018, at 08:38, Patrick Stinson wrote: >> >> Is there any way to prevent qt fr

[Interest] Disabling mysql support in build

2018-06-19 Thread Patrick Stinson
Is there any way to prevent qt from building the mysql plugin? I am getting the following compile errors in qt-5.11.0 on macOS-10.13.5. Disabling would be ideal because it would solve another problem that the mysql plugin is causing as well. Thanks! -Patrick

[Interest] Qt.PartiallyChecked broken for QListWidget in Qt 5.11?

2018-06-06 Thread Patrick Stinson
It appears as though QListWidget does not honor Qt::PartiallyChecked in Qt-5.11, though I could be making a mistake somewhere here. The following code accurately stores Qt::PartiallyChecked in the check state, and ‘1’ is printed by the print line. However, the painting does not reflect this

Re: [Interest] Persistence of editor for openPersistentEditor

2018-06-05 Thread Patrick Stinson
That is logically consistent, though it didn’t work for me. findChildren() still returns two objects. strange. > On Jun 5, 2018, at 3:42 AM, william.croc...@analog.com wrote: > > On 06/04/2018 05:08 PM, Patrick Stinson wrote: >> Hello! >> >> I am writing a unit tes

[Interest] Persistence of editor for openPersistentEditor

2018-06-04 Thread Patrick Stinson
Hello! I am writing a unit test for an item view and need to get . The code in qabstractitemview_p.h “releases” an editor created by a delegate by calling QObject::deleteLater() on it. However, in the following code the first editor is not deleted and so the second call to findChild still

[Interest] Tap-Select QGraphicsItem on iOS

2018-05-27 Thread Patrick Stinson
Hello! It appears that it is not possible to tap a QGraphicsItem on iOS to select it. Indeed, I cannot find any touch event implementation in QGraphicsView, only mouse events. Using the QGraphicsView's rubberband-select works fine, as it uses mouse events. Has anyone found a workaround to be

[Interest] How to scroll QScrollArea by number of pixels?

2018-04-10 Thread Patrick Stinson
Hello! Is there a way to scroll a QScrollArea by a precise number of pixels on the viewport widget? Or do you have to use relative units as calculated by the size fo the scrollbar handle and slider zone of the scroll bar? Thanks! -Patrick smime.p7s Description: S/MIME cryptographic signature

Re: [Interest] Determining dependencies for Qt modules

2018-03-03 Thread Patrick Stinson
> On Mar 2, 2018, at 10:28 PM, Thiago Macieira <thiago.macie...@intel.com> > wrote: > > On Friday, 2 March 2018 17:11:55 PST Patrick Stinson wrote: >> I am trying to create the minimum Qt build for QtWidgets, QtQuickControls, >> QtLocation, and QtPu

[Interest] Determining dependencies for Qt modules

2018-03-02 Thread Patrick Stinson
Hello! I am trying to create the minimum Qt build for QtWidgets, QtQuickControls, QtLocation, and QtPurchasing. But when I configure with the following command line: ./configure -opensource -debug-and-release -nomake examples -nomake tests -skip qtactiveqt -skip qtandroidextras -skip

Re: [Interest] Cross-platform alternatives to Apple App Store?

2017-12-06 Thread Patrick Stinson
store > as well. Not going to solve the "problem" of the stores taking their 30% cut, > but if technical concerns are the biggest barrier for you, then those are > your options. > > https://doc.qt.io/qt-5/qtpurchasing-index.html > >> On Dec 3, 2017, at 9:14 PM,

[Interest] Cross-platform alternatives to Apple App Store?

2017-12-03 Thread Patrick Stinson
Hi! While this may or may not pertain directly to Qt, does anyone have any experience with a cross platform alternative to the Apple App Store? Hopefully something that plays well with Qt, or at least doesn’t break it? I am at least looking for in-app subscription purchases for Mac, Windows,

[Interest] Embed MyScript editor in QWidget?

2017-11-09 Thread Patrick Stinson
Hello! Has anyone successfully embedded a MyScript UIView in a QWidget for handwriting recognition? I am no iOS expert, thought I would ask before I spend two weeks reading Apple docs to sort out the delegate/viewcontroller/etc mess. Thanks! -Patrick smime.p7s Description: S/MIME

[Interest] MyScript

2017-10-31 Thread Patrick Stinson
MyScript looks like an amazing handwriting-recognition toolkit. It also looks like the Qt Company partnered with them on an automotive project. Has anyone had success integrating MyScript into a Qt Application on macOS/iOS? Are you embedding their render view into a qwidget somehow? Thanks!

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

2017-10-08 Thread Patrick Stinson
view.setViewport(w); > > > > --- > Jean-Michaël Celerier > http://www.jcelerier.name <http://www.jcelerier.name/> > On Sat, Oct 7, 2017 at 7:36 PM, Patrick Stinson <patrickk...@gmail.com > <mailto:patrickk...@gmail.com>> wrote: > Interesting. Can

Re: [Interest] Synchronous painting on QGraphicsScene

2017-10-07 Thread Patrick Stinson
> On Oct 7, 2017, at 8:00 PM, Christian Gagneraud <chg...@gmail.com> wrote: > > On 8 October 2017 at 06:27, Patrick Stinson <patrickk...@gmail.com> wrote: >> Hmm. Actually, I think that the elastic node example is implemented in the >> same way as my app

Re: [Interest] Synchronous painting on QGraphicsScene

2017-10-07 Thread Patrick Stinson
is if it is 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 <chg...@gmail.com> wrote: > > On 7 October 2017 at 16:08, Patrick St

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

2017-10-07 Thread Patrick Stinson
> > --- > Jean-Michaël Celerier > http://www.jcelerier.name > >> On Sat, Oct 7, 2017 at 10:09 AM, Christian Gagneraud <chg...@gmail.com> >> wrote: >> On 7 October 2017 at 16:11, Patrick Stinson <patrickk...@gmail.com> wrote: >> > >>

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 <chg...@gmail.com> wrote: > >> On 7 October 2017 at 16:11, Patrick Stinson <patrickk...@gmail.com> wrote: &

[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

[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

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 <jake.petrou...@gmail.com> wrote: > > Likely https://codereview.qt-project.org/#/c/205954/ > >> On Sep 20, 2017, at 11:19 AM, P

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 <jake.petrou...@gmail.com> 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,

Re: [Interest] Building & Running on High Sierra

2017-09-20 Thread Patrick Stinson
se/QTBUG-63323 > <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

[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:

[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] 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

[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

[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

[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

[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

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 <patrickk...@gmail.com> wrote: > > Hello! > > I am seeing the antialiasing is still quite grainy using a QGraphicsView on

[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

[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 ___

[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

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 <chg...@gmail.com> wrote: > > > > On 25/07/2017 7:24 pm, "Patrick Stinson" <patrickk...@gmail.com > <mailto:patrickk...@gmail.com>> wrote: > Hi there! > > If I am setting a QGraphicsView's s

[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] sin wave with QPainterPath between two points

2017-07-20 Thread Patrick Stinson
s > >> >> >> >> >> >> --- >> Jean-Michaël Celerier >> http://www.jcelerier.name >> >> On Thu, Jul 20, 2017 at 9:47 AM, Patrick Stinson <patrickk...@gmail.com> >> wrote: >>> >>>

[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!

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:

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

2017-06-25 Thread Patrick Stinson
> On Jun 25, 2017, at 4:51 PM, Christian Gagneraud <chg...@gmail.com> wrote: > > On 26 June 2017 at 05:10, Patrick Stinson <patrickk...@gmail.com> wrote: >>def update(self, *args): >>if None in self.people: >>return > > y

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 <chg...@gmail.com> wrote: > > On 26 June 2017 at 05:10,

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ø <tor.arne.ves...@qt.io> wrote: > > https://bugreports.qt.io/browse/QTBUG-56768 > <https://bugreports.qt.io/browse/QTBUG-56768> > > On 13/05/2017 18:56, Patrick S

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 <patrickk...@gmail.com >> <mailto:patrickk...@gmail.com>> wrote: >> >

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 Ma

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. > > > > > >> On Ma

[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

[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

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

2017-04-20 Thread Patrick Stinson
uinta-feira, 20 de abril de 2017, à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 unn

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

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

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] 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

[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] 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

  1   2   >