Re: [Interest] Understanding Qt Macros

2015-01-05 Thread Francisco Ares
2015-01-05 10:22 GMT-02:00 Alfredo Palhares : > Excerpts from René J.V. Bertin's message of 2015-01-03 11:30:01 +0100: > > 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_SH

Re: [Interest] Understanding Qt Macros

2015-01-05 Thread Alfredo Palhares
Excerpts from René J.V. Bertin's message of 2015-01-03 11:30:01 +0100: > 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 t

Re: [Interest] Understanding Qt Macros

2015-01-04 Thread André Somers
Reinhardt Behm schreef op 4-1-2015 om 06:24: > The "using namespace std" is more of historic relict. When using Qt I > really do not use much of the std namespace anymore. Time to remove it > in 2014. Then you'd better be very, very quick about that. I fear y

Re: [Interest] Understanding Qt Macros

2015-01-04 Thread Reinhardt Behm
On 03.01.2015 21:40, Alejandro Exojo wrote: > 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. > W

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

Re: [Interest] Understanding Qt Macros

2015-01-02 Thread Guido Seifert
Hmm... Not sure myself, but if I am allowed to guess: None of your business. N, this is not meant aggressive. It was meant: If they are not documented, or even found in a google search, they are not meant to be used directly and are at best only of interest for developers of Qt itself. Or for d

[Interest] Understanding Qt Macros

2015-01-02 Thread Alfredo Palhares
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 -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/in