diff --git a/Valentina.pro b/Valentina.pro index e37603bbc..496310cf8 100644 --- a/Valentina.pro +++ b/Valentina.pro @@ -21,7 +21,7 @@ CONFIG += c++11 DESTDIR = bin # files created moc -#MOC_DIR = moc +MOC_DIR = moc # objecs files OBJECTS_DIR = obj @@ -51,7 +51,6 @@ OTHER_FILES += share/resources/valentina.rc \ TRANSLATIONS += share/translations/valentina_ru.ts \ share/translations/valentina_uk.ts \ share/translations/valentina_de.ts -QMAKE_CXX = g++ unix { QMAKE_CXX = ccache g++ } @@ -68,8 +67,7 @@ CONFIG(debug, debug|release){ *-g++{ QMAKE_CXXFLAGS += -isystem "/usr/include/qt5" -isystem "/usr/include/qt5/QtWidgets" \ -isystem "/usr/include/qt5/QtXml" -isystem "/usr/include/qt5/QtGui" \ - -isystem "/usr/include/qt5/QtCore" -isystem "$${UI_DIR}" \ -# -isystem "$${MOC_DIR}" \ + -isystem "/usr/include/qt5/QtCore" -isystem "$${UI_DIR}" -isystem "$${MOC_DIR}" \ -isystem "$${RCC_DIR}" \ -Og -Wall -Wextra -pedantic -Weffc++ -Woverloaded-virtual -Wctor-dtor-privacy \ -Wnon-virtual-dtor -Wold-style-cast -Wconversion -Winit-self \ @@ -109,7 +107,7 @@ win32:RC_FILE = share/resources/valentina.rc QMAKE_DISTCLEAN += $${DESTDIR}/* \ $${OBJECTS_DIR}/* \ $${UI_DIR}/* \ -# $${MOC_DIR}/* \ + $${MOC_DIR}/* \ $${RCC_DIR}/* unix {