Re: [Interest] Understanding Qt Macros

2015-01-03 Thread Alejandro Exojo
El Saturday 03 January 2015, Reinhardt Behm escribió: > I have used them to put together a commonly used header (see attached > project.h), that I also use as a precompiled header. > This way all the required headers are automatically included. Why do such thing? Adding a `using namespace std` i

Re: [Interest] Understanding Qt Macros

2015-01-03 Thread Reinhardt Behm
On 03.01.2015 10:13, Alfredo Palhares wrote: Hello, First of all, let me say I am pretty new to this Qt and C++ thing. I recently adopted a Qt/C++ Linux desktop project. And I am currently looking on qmake builds the project itself. /usr/lib/qt4/bin/moc -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -

Re: [Interest] QML TableView style & Windows Phone

2015-01-03 Thread Alexander Ivash
While I would still like to find a proper solution, here is ugly workaround which allows to get rid of scrollbars and return scrolling-by-dragging behaviour to TableView on Windows Phone: TableViewStyle { Component.onCompleted: { if(Qt.platform.os == 'winphone') {

Re: [Interest] Understanding Qt Macros

2015-01-03 Thread Thiago Macieira
On Saturday 03 January 2015 11:30:01 René J.V. Bertin wrote: > On Saturday January 03 2015 03:13:41 Alfredo Palhares wrote: > >But qmake calls is it with all those macro definitions: > >- QT_GUI_LIB > >- QT_CORE_LIB > >- QT_SHARED > > > >What do these macros do ? I've tried to google the terms but

[Interest] QML TableView style & Windows Phone

2015-01-03 Thread Alexander Ivash
Is it possible to apply different style (for example android's) to TableView ? Not sure why, but on Windows Phone it looks like on desktop platforms: has desktop-like scrollbars and scrolling is possible only via scrollbars. What I need - is behaviour like on android platform: no scrollbars visible