PDA

View Full Version : .Pro Files



Atomic_Sheep
26th September 2014, 09:35
Just wondering a bit about .pro files:


win32 {
SOURCES += paintwidget_win.cpp
}


The above code will add the paintwidget_win.cpp file to the sources listed in the generated Makefile if qmake is used on a Windows platform. If qmake is used on a platform other than Windows, the define will be ignored.

I'm reading the above to mean not just windows but 32bit windows systems, otherwise it will be ignored. How do you specify for 64bit?

wysota
26th September 2014, 09:49
win32 also works for 64-bit systems.