mercibac

QmlLanguage.pro

May 25th, 2021 (edited)
245
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. QT += quick
  2.  
  3. CONFIG += c++11
  4.  
  5. # You can make your code fail to compile if it uses deprecated APIs.
  6. # In order to do so, uncomment the following line.
  7. #DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0x060000    # disables all the APIs deprecated before Qt 6.0.0
  8.  
  9. SOURCES += \
  10.         main.cpp \
  11.         qmltranslator.cpp
  12.  
  13. lupdate_only {
  14.     SOURCES += main.qml
  15. }
  16.  
  17. RESOURCES += qml.qrc\
  18.     translations.qrc
  19.  
  20. TRANSLATIONS += QmlLanguage_ru_RU.ts
  21.  
  22.  
  23. # Additional import path used to resolve QML modules in Qt Creator's code model
  24. QML_IMPORT_PATH =
  25.  
  26. # Additional import path used to resolve QML modules just for Qt Quick Designer
  27. QML_DESIGNER_IMPORT_PATH =
  28.  
  29.  
  30. HEADERS += \
  31.     qmltranslator.h
  32.  
  33. # Default rules for deployment.
  34. qnx: target.path = /tmp/$${TARGET}/bin
  35. else: unix:!android: target.path = /opt/$${TARGET}/bin
  36. !isEmpty(target.path): INSTALLS += target
  37.  
  38. DISTFILES += \
  39.     QmlLanguage_ru_RU.qm \
  40.     QmlLanguage_ru_RU.ts
  41.  
Add Comment
Please, Sign In to add comment