/examples/activeqt/qutlook/qutlook.pro

https://bitbucket.org/ultra_iter/qt-vtl · Prolog · 23 lines · 20 code · 3 blank · 0 comment · 1 complexity · 126e8ce0e926d36bba58269074132cdd MD5 · raw file

  1. #! [0] #! [1]
  2. TEMPLATE = app
  3. TARGET = qutlook
  4. CONFIG += qaxcontainer
  5. TYPELIBS = $$system(dumpcpp -getfile {00062FFF-0000-0000-C000-000000000046})
  6. #! [0]
  7. isEmpty(TYPELIBS) {
  8. message("Microsoft Outlook type library not found!")
  9. REQUIRES += Outlook
  10. } else {
  11. #! [1] #! [2]
  12. HEADERS = addressview.h
  13. SOURCES = addressview.cpp main.cpp
  14. }
  15. #! [2]
  16. # install
  17. target.path = $$[QT_INSTALL_EXAMPLES]/activeqt/qutlook
  18. sources.files = $$SOURCES $$HEADERS $$RESOURCES $$FORMS qutlook.pro
  19. sources.path = $$[QT_INSTALL_EXAMPLES]/activeqt/qutlook
  20. INSTALLS += target sources