[Interest] `pkg-config --cflags Qt5Gui Qt5Widgets Qt5Core` with Qt 5.4.2 on Yosemite

2015-12-09 Thread Sherif Ghali
I be looking to fix this problem? I'm on OS X 10.10.5 (Yosemite). Sherif Ghali ___ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest

Re: [Interest] OS X and XCode 7.0: 'TargetConditionals.h' file not found

2015-10-07 Thread Sherif Ghali
Thanks, Thiago. Let me summarize what it was about on my side. A couple of issues are at play once one upgrades to XCode 7.0.x. The following solved them on Yosemite (10.10); YMMV. First off, to solve a problem that I no longer recall, I needed to add one of mac::QMAKE_MAC_SDK = macosx10.9

[Interest] OS X and XCode 7.0: 'TargetConditionals.h' file not found

2015-10-03 Thread Sherif Ghali
After clicking on the "Update all" button offered by App Store, XCode went up to version 7.0.1 and Command Line Tools went to 7.0. (Big mistake; I know.) After a fresh `qmake`, now running `make` on Qt5.4.2/Examples/Qt-5.4/opengl/legacy/hellogl complains that: /usr/local/Qt5.4.2/5.4/clang_64/lib/

[Interest] Qt4 --> Qt5: Forcing QGraphicsView::drawForeground() during QGraphicsView::mouseMoveEvent()

2014-04-17 Thread Sherif Ghali
With Qt4, QGraphicsView::drawForeground() is called with each QGraphicsView::update(), even during mouse move events. With Qt5, the update() requests are coalesced into a single repaint after mouseReleaseEvent(). How can I reenable QGraphicsView::drawForeground() during mouse move events? The brie

Re: [Interest] Console output on OS X

2012-05-11 Thread Sherif Ghali
In this example we know that the QPaintDevice * is a QPrinter *. We know that there is no rasterization for moveTo/lineTo on QPrinters. We also know from qt-everywhere-opensource-src-4.8.1/src/gui/painting/qpainterpath.cpp that the message should appear on all platforms (unless QT_NO_DEBUG is s

Re: [Interest] Console output on OS X

2012-05-11 Thread Sherif Ghali
To Oliver: By 'T'erminal and 'C'onsole I did indeed mean the applications with that name on OS X. I am avoiding an app_bundle while debugging to increase the chances I'd see the warning messages. Here are more details on the question: -- copy the two files to ~/console_output. -- Run the OS X Te

[Interest] Console output on OS X

2012-05-10 Thread Sherif Ghali
If I run the following program with a command-line parameter of 0.0 on Windows, the message QPainterPath::lineTo: Adding point where x or y is NaN or Inf, ignoring call is printed on the console. How should the project file or the program be modified to be able to see the same message in a Ter

[Interest] qmake -spec win32-msvc2010 generates Makefiles but no project file

2012-03-29 Thread Sherif Ghali
The title says it all. With Qt 4.7.x and Visual C++ 2008 one used to be able to generate a Visual Studio project file by running 'qmake -spec win32-msvc2008' from the Qt command window. Now with Qt 4.8.1 and Visual C++ 2010, running 'qmake -spec win32-msvc2010' only generates Makefile, Makefile.de