14 // On some linux systems with both Qt4 and Qt5 installed, the uic and moc
15 // executables for Qt5 need to be run as "uic-qt5"
16 // Expand the variable here to avoid the "undefined" warning from msvc.
23 includes += $(QT5_INCDIR)
24 libpaths += $(QT5_LIBDIR)
27 // On Linux at least, Qt5 by default requires position independent code
29 compile_flags += $(if $(PIC),$(PIC),-fPIC)
32 specific (prop:microsoft) {
33 // On Windows it's possible for Qt to include winsock.h through windows.h
34 // which will conflict with winsock2.h. This makes windows.h not include
36 macros += WIN32_LEAN_AND_MEAN
40 command = $(QT5_BINDIR)/uic$(QT5_SUFFIX)
50 command = $(QT5_BINDIR)/moc$(QT5_SUFFIX)
55 source_outputext = .cpp
59 command = $(QT5_BINDIR)/rcc$(QT5_SUFFIX)
61 commandflags = -name <%input_noext%>
65 source_outputext = .cpp