/usr/share/qt4/mkspecs/features/static.prf is in qt4-qmake 4:4.8.1-0ubuntu4.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 | CONFIG -= shared dll
contains(TEMPLATE, ".*lib"):{
CONFIG += staticlib
unix {
QMAKE_CFLAGS += $$QMAKE_CFLAGS_STATIC_LIB
QMAKE_CXXFLAGS += $$QMAKE_CXXFLAGS_STATIC_LIB
}
}
mac {
QMAKE_LFLAGS += $$QMAKE_LFLAGS_STATIC_LIB
}
!static_and_shared:fix_output_dirs:fixExclusiveOutputDirs(static, shared)
|