Support Qt5 in Windows installer
With this CL, Qt5 runtime DLLs should be installed as follows, as
described in "Qt for Windows - Deployment" [1].
* Release build
- [TargetDir]\Qt5Core.dll
- [TargetDir]\Qt5Gui.dll
- [TargetDir]\Qt5Widgets.dll
- [TargetDir]\platforms\qwindows.dll
* Debug build
- [TargetDir]\Qt5Cored.dll
- [TargetDir]\Qt5Guid.dll
- [TargetDir]\Qt5Widgetsd.dll
- [TargetDir]\platforms\qwindowsd.dll
[1]: http://doc.qt.io/qt-5/windows-deployment.html
BUG=#327
TEST=manually done
REF_BUG=26887740
REF_CL=135074336,137662866
REF_TIME=2016-10-04T00:25:03-07:00
REF_TIME_RAW=1475565903 -0700
Yohei Yukawa
7 years ago
29 | 29 | |
30 | 30 | MAJOR=2 |
31 | 31 | MINOR=19 |
32 | BUILD=2626 | |
32 | BUILD=2627 | |
33 | 33 | REVISION=102 |
34 | 34 | # This version represents the version of Mozc IME engine (converter, predictor, |
35 | 35 | # etc.). This version info is included both in the Mozc server and in the Mozc |
63 | 63 | 'qtcored4_dll_path': '', |
64 | 64 | 'qtgui4_dll_path': '', |
65 | 65 | 'qtguid4_dll_path': '', |
66 | 'qt5core_dll_path': '', | |
67 | 'qt5cored_dll_path': '', | |
68 | 'qt5gui_dll_path': '', | |
69 | 'qt5guid_dll_path': '', | |
70 | 'qt5widgets_dll_path': '', | |
71 | 'qt5widgetsd_dll_path': '', | |
72 | 'qwindows_dll_path': '', | |
73 | 'qwindowsd_dll_path': '', | |
66 | 74 | 'mozc_zinnia_model_data_path': '', |
67 | 75 | 'conditions': [ |
68 | 76 | ['use_qt=="YES"', { |
77 | 'mozc_zinnia_model_data_path': '<(DEPTH)/third_party/zinnia/tomoe/handwriting-light-ja.model', | |
78 | }], | |
79 | ['use_qt=="YES" and qt_ver==4', { | |
69 | 80 | 'qtcore4_dll_path': '<(qt_dir)/bin/QtCore4.dll', |
70 | 81 | 'qtcored4_dll_path': '<(qt_dir)/bin/QtCored4.dll', |
71 | 82 | 'qtgui4_dll_path': '<(qt_dir)/bin/QtGui4.dll', |
72 | 83 | 'qtguid4_dll_path': '<(qt_dir)/bin/QtGuid4.dll', |
73 | 'mozc_zinnia_model_data_path': '<(DEPTH)/third_party/zinnia/tomoe/handwriting-light-ja.model', | |
84 | }], | |
85 | ['use_qt=="YES" and qt_ver==5', { | |
86 | 'qt5core_dll_path': '<(qt_dir)/bin/Qt5Core.dll', | |
87 | 'qt5cored_dll_path': '<(qt_dir)/bin/Qt5Cored.dll', | |
88 | 'qt5gui_dll_path': '<(qt_dir)/bin/Qt5Gui.dll', | |
89 | 'qt5guid_dll_path': '<(qt_dir)/bin/Qt5Guid.dll', | |
90 | 'qt5widgets_dll_path': '<(qt_dir)/bin/Qt5Widgets.dll', | |
91 | 'qt5widgetsd_dll_path': '<(qt_dir)/bin/Qt5Widgetsd.dll', | |
92 | 'qwindows_dll_path': '<(qt_dir)/plugins/platforms/qwindows.dll', | |
93 | 'qwindowsd_dll_path': '<(qt_dir)/plugins/platforms/qwindowsd.dll', | |
74 | 94 | }], |
75 | 95 | ], |
76 | 96 | }, |
82 | 102 | 'qtcored4_dll_path': '<(qtcored4_dll_path)', |
83 | 103 | 'qtgui4_dll_path': '<(qtgui4_dll_path)', |
84 | 104 | 'qtguid4_dll_path': '<(qtguid4_dll_path)', |
105 | 'qt5core_dll_path': '<(qt5core_dll_path)', | |
106 | 'qt5cored_dll_path': '<(qt5cored_dll_path)', | |
107 | 'qt5gui_dll_path': '<(qt5gui_dll_path)', | |
108 | 'qt5guid_dll_path': '<(qt5guid_dll_path)', | |
109 | 'qt5widgets_dll_path': '<(qt5widgets_dll_path)', | |
110 | 'qt5widgetsd_dll_path': '<(qt5widgetsd_dll_path)', | |
111 | 'qwindows_dll_path': '<(qwindows_dll_path)', | |
112 | 'qwindowsd_dll_path': '<(qwindowsd_dll_path)', | |
85 | 113 | 'mozc_zinnia_model_data_path': '<(mozc_zinnia_model_data_path)', |
86 | 114 | 'mozc_tool_path': '<(outdir32_dynamic)/GoogleIMEJaTool.exe', |
87 | 115 | 'mozc_broker32_path': '<(outdir32)/GoogleIMEJaBroker32.exe', |
66 | 66 | <?endif?> |
67 | 67 | <?ifndef QtGuid4DllPath ?> |
68 | 68 | <?define QtGuid4DllPath="" ?> |
69 | <?endif?> | |
70 | <?ifndef Qt5CoreDllPath ?> | |
71 | <?define Qt5CoreDllPath="" ?> | |
72 | <?endif?> | |
73 | <?ifndef Qt5CoredDllPath ?> | |
74 | <?define Qt5CoredDllPath="" ?> | |
75 | <?endif?> | |
76 | <?ifndef Qt5GuiDllPath ?> | |
77 | <?define Qt5GuiDllPath="" ?> | |
78 | <?endif?> | |
79 | <?ifndef Qt5GuidDllPath ?> | |
80 | <?define Qt5GuidDllPath="" ?> | |
81 | <?endif?> | |
82 | <?ifndef Qt5WidgetsDllPath ?> | |
83 | <?define Qt5WidgetsDllPath="" ?> | |
84 | <?endif?> | |
85 | <?ifndef Qt5WidgetsdDllPath ?> | |
86 | <?define Qt5WidgetsdDllPath="" ?> | |
87 | <?endif?> | |
88 | <?ifndef QWindowsDllPath ?> | |
89 | <?define QWindowsDllPath="" ?> | |
90 | <?endif?> | |
91 | <?ifndef QWindowsdDllPath ?> | |
92 | <?define QWindowsdDllPath="" ?> | |
69 | 93 | <?endif?> |
70 | 94 | |
71 | 95 | <Wix xmlns='http://schemas.microsoft.com/wix/2006/wi'> |
380 | 404 | Checksum='yes' Source='$(var.QtGuid4DllPath)' /> |
381 | 405 | </Component> |
382 | 406 | <?endif?> |
407 | <?if $(var.Qt5CoredDllPath) != "" ?> | |
408 | <Component Id='Qt5CoredDll' Guid='*'> | |
409 | <!-- Always overwrite: b/31845781 --> | |
410 | <RemoveFile Id='Qt5Cored.dll' Name='Qt5Cored.dll' On="install" /> | |
411 | <File Id='Qt5Cored.dll' | |
412 | Name='Qt5Cored.dll' DiskId='1' Vital='yes' | |
413 | Checksum='yes' Source='$(var.Qt5CoredDllPath)' /> | |
414 | </Component> | |
415 | <?endif?> | |
416 | <?if $(var.Qt5GuidDllPath) != "" ?> | |
417 | <Component Id='Qt5GuidDll' Guid='*'> | |
418 | <!-- Always overwrite: b/31845781 --> | |
419 | <RemoveFile Id='Qt5Guid.dll' Name='Qt5Guid.dll' On="install" /> | |
420 | <File Id='Qt5Guid.dll' | |
421 | Name='Qt5Guid.dll' DiskId='1' Vital='yes' | |
422 | Checksum='yes' Source='$(var.Qt5GuidDllPath)' /> | |
423 | </Component> | |
424 | <?endif?> | |
425 | <?if $(var.Qt5WidgetsdDllPath) != "" ?> | |
426 | <Component Id='Qt5WidgetsdDll' Guid='*'> | |
427 | <!-- Always overwrite: b/31845781 --> | |
428 | <RemoveFile Id='Qt5Widgetsd.dll' Name='Qt5Widgetsd.dll' On="install" /> | |
429 | <File Id='Qt5Widgetsd.dll' | |
430 | Name='Qt5Widgetsd.dll' DiskId='1' Vital='yes' | |
431 | Checksum='yes' Source='$(var.Qt5WidgetsdDllPath)' /> | |
432 | </Component> | |
433 | <?endif?> | |
383 | 434 | <?else?> |
384 | 435 | <?if $(var.QtCore4DllPath) != "" ?> |
385 | 436 | <Component Id='QtCore4Dll' Guid='*'> |
399 | 450 | Checksum='yes' Source='$(var.QtGui4DllPath)' /> |
400 | 451 | </Component> |
401 | 452 | <?endif?> |
453 | <?if $(var.Qt5CoreDllPath) != "" ?> | |
454 | <Component Id='Qt5CoreDll' Guid='*'> | |
455 | <!-- Always overwrite: b/31845781 --> | |
456 | <RemoveFile Id='Qt5Core.dll' Name='Qt5Core.dll' On="install" /> | |
457 | <File Id='Qt5Core.dll' | |
458 | Name='Qt5Core.dll' DiskId='1' Vital='yes' | |
459 | Checksum='yes' Source='$(var.Qt5CoreDllPath)' /> | |
460 | </Component> | |
461 | <?endif?> | |
462 | <?if $(var.Qt5GuiDllPath) != "" ?> | |
463 | <Component Id='Qt5GuiDll' Guid='*'> | |
464 | <!-- Always overwrite: b/31845781 --> | |
465 | <RemoveFile Id='Qt5Gui.dll' Name='Qt5Gui.dll' On="install" /> | |
466 | <File Id='Qt5Gui.dll' | |
467 | Name='Qt5Gui.dll' DiskId='1' Vital='yes' | |
468 | Checksum='yes' Source='$(var.Qt5GuiDllPath)' /> | |
469 | </Component> | |
470 | <?endif?> | |
471 | <?if $(var.Qt5WidgetsDllPath) != "" ?> | |
472 | <Component Id='Qt5WidgetsDll' Guid='*'> | |
473 | <!-- Always overwrite: b/31845781 --> | |
474 | <RemoveFile Id='Qt5Widgets.dll' Name='Qt5Widgets.dll' On="install" /> | |
475 | <File Id='Qt5Widgets.dll' | |
476 | Name='Qt5Widgets.dll' DiskId='1' Vital='yes' | |
477 | Checksum='yes' Source='$(var.Qt5WidgetsDllPath)' /> | |
478 | </Component> | |
479 | <?endif?> | |
402 | 480 | <?endif?> |
403 | 481 | <Directory Id='DocumentsDir' Name='documents'> |
404 | 482 | <Component Id='CreditsJa' Guid='*'> |
412 | 490 | Source='$(var.DocumentsDir)/credits_en.html' /> |
413 | 491 | </Component> |
414 | 492 | </Directory> |
493 | <?if ($(var.QWindowsdDllPath) != "") or ($(var.QWindowsDllPath) != "") ?> | |
494 | <Directory Id='QtPlatformsPluginDir' Name='platforms'> | |
495 | <?if ($(var.QWindowsdDllPath) != "") and ($(var.VSConfigurationName) = "Debug") ?> | |
496 | <Component Id='QWindowsdDll' Guid='*'> | |
497 | <!-- Always overwrite: b/31845781 --> | |
498 | <RemoveFile Id='qwindowsd.dll' Name='qwindowsd.dll' On="install" /> | |
499 | <File Id='qwindowsd.dll' | |
500 | Name='qwindowsd.dll' DiskId='1' Vital='yes' | |
501 | Checksum='yes' Source='$(var.QWindowsdDllPath)' /> | |
502 | </Component> | |
503 | <?endif?> | |
504 | <?if ($(var.QWindowsDllPath) != "") and ($(var.VSConfigurationName) != "Debug") ?> | |
505 | <Component Id='QWindowsDll' Guid='*'> | |
506 | <!-- Always overwrite: b/31845781 --> | |
507 | <RemoveFile Id='qwindows.dll' Name='qwindows.dll' On="install" /> | |
508 | <File Id='qwindows.dll' | |
509 | Name='qwindows.dll' DiskId='1' Vital='yes' | |
510 | Checksum='yes' Source='$(var.QWindowsDllPath)' /> | |
511 | </Component> | |
512 | <?endif?> | |
513 | </Directory> | |
514 | <?endif?> | |
415 | 515 | </Directory> |
416 | 516 | </Directory> |
417 | 517 | </Directory> |
605 | 705 | <?if $(var.QtGuid4DllPath) != "" ?> |
606 | 706 | <ComponentRef Id='QtGuid4Dll' /> |
607 | 707 | <?endif?> |
708 | <?if $(var.Qt5CoredDllPath) != "" ?> | |
709 | <ComponentRef Id='Qt5CoredDll' /> | |
710 | <?endif?> | |
711 | <?if $(var.Qt5GuidDllPath) != "" ?> | |
712 | <ComponentRef Id='Qt5GuidDll' /> | |
713 | <?endif?> | |
714 | <?if $(var.Qt5WidgetsdDllPath) != "" ?> | |
715 | <ComponentRef Id='Qt5WidgetsdDll' /> | |
716 | <?endif?> | |
717 | <?if $(var.QWindowsdDllPath) != "" ?> | |
718 | <ComponentRef Id='QWindowsdDll' /> | |
719 | <?endif?> | |
608 | 720 | <?else?> |
609 | 721 | <?if $(var.QtCore4DllPath) != "" ?> |
610 | 722 | <ComponentRef Id='QtCore4Dll' /> |
611 | 723 | <?endif?> |
612 | 724 | <?if $(var.QtGui4DllPath) != "" ?> |
613 | 725 | <ComponentRef Id='QtGui4Dll' /> |
726 | <?endif?> | |
727 | <?if $(var.Qt5CoreDllPath) != "" ?> | |
728 | <ComponentRef Id='Qt5CoreDll' /> | |
729 | <?endif?> | |
730 | <?if $(var.Qt5GuiDllPath) != "" ?> | |
731 | <ComponentRef Id='Qt5GuiDll' /> | |
732 | <?endif?> | |
733 | <?if $(var.Qt5WidgetsDllPath) != "" ?> | |
734 | <ComponentRef Id='Qt5WidgetsDll' /> | |
735 | <?endif?> | |
736 | <?if $(var.QWindowsDllPath) != "" ?> | |
737 | <ComponentRef Id='QWindowsDll' /> | |
614 | 738 | <?endif?> |
615 | 739 | <?endif?> |
616 | 740 | <ComponentRef Id='OmahaRegister' /> |
66 | 66 | <?endif?> |
67 | 67 | <?ifndef QtGuid4DllPath ?> |
68 | 68 | <?define QtGuid4DllPath="" ?> |
69 | <?endif?> | |
70 | <?ifndef Qt5CoreDllPath ?> | |
71 | <?define Qt5CoreDllPath="" ?> | |
72 | <?endif?> | |
73 | <?ifndef Qt5CoredDllPath ?> | |
74 | <?define Qt5CoredDllPath="" ?> | |
75 | <?endif?> | |
76 | <?ifndef Qt5GuiDllPath ?> | |
77 | <?define Qt5GuiDllPath="" ?> | |
78 | <?endif?> | |
79 | <?ifndef Qt5GuidDllPath ?> | |
80 | <?define Qt5GuidDllPath="" ?> | |
81 | <?endif?> | |
82 | <?ifndef Qt5WidgetsDllPath ?> | |
83 | <?define Qt5WidgetsDllPath="" ?> | |
84 | <?endif?> | |
85 | <?ifndef Qt5WidgetsdDllPath ?> | |
86 | <?define Qt5WidgetsdDllPath="" ?> | |
87 | <?endif?> | |
88 | <?ifndef QWindowsDllPath ?> | |
89 | <?define QWindowsDllPath="" ?> | |
90 | <?endif?> | |
91 | <?ifndef QWindowsdDllPath ?> | |
92 | <?define QWindowsdDllPath="" ?> | |
69 | 93 | <?endif?> |
70 | 94 | |
71 | 95 | <Wix xmlns='http://schemas.microsoft.com/wix/2006/wi'> |
397 | 421 | Checksum='yes' Source='$(var.QtGuid4DllPath)' /> |
398 | 422 | </Component> |
399 | 423 | <?endif?> |
424 | <?if $(var.Qt5CoredDllPath) != "" ?> | |
425 | <Component Id='Qt5CoredDll' Guid='*'> | |
426 | <!-- Always overwrite: b/31845781 --> | |
427 | <RemoveFile Id='Qt5Cored.dll' Name='Qt5Cored.dll' On="install" /> | |
428 | <File Id='Qt5Cored.dll' | |
429 | Name='Qt5Cored.dll' DiskId='1' Vital='yes' | |
430 | Checksum='yes' Source='$(var.Qt5CoredDllPath)' /> | |
431 | </Component> | |
432 | <?endif?> | |
433 | <?if $(var.Qt5GuidDllPath) != "" ?> | |
434 | <Component Id='Qt5GuidDll' Guid='*'> | |
435 | <!-- Always overwrite: b/31845781 --> | |
436 | <RemoveFile Id='Qt5Guid.dll' Name='Qt5Guid.dll' On="install" /> | |
437 | <File Id='Qt5Guid.dll' | |
438 | Name='Qt5Guid.dll' DiskId='1' Vital='yes' | |
439 | Checksum='yes' Source='$(var.Qt5GuidDllPath)' /> | |
440 | </Component> | |
441 | <?endif?> | |
442 | <?if $(var.Qt5WidgetsdDllPath) != "" ?> | |
443 | <Component Id='Qt5WidgetsdDll' Guid='*'> | |
444 | <!-- Always overwrite: b/31845781 --> | |
445 | <RemoveFile Id='Qt5Widgetsd.dll' Name='Qt5Widgetsd.dll' On="install" /> | |
446 | <File Id='Qt5Widgetsd.dll' | |
447 | Name='Qt5Widgetsd.dll' DiskId='1' Vital='yes' | |
448 | Checksum='yes' Source='$(var.Qt5WidgetsdDllPath)' /> | |
449 | </Component> | |
450 | <?endif?> | |
400 | 451 | <?else?> |
401 | 452 | <?if $(var.QtCore4DllPath) != "" ?> |
402 | 453 | <Component Id='QtCore4Dll' Guid='*'> |
416 | 467 | Checksum='yes' Source='$(var.QtGui4DllPath)' /> |
417 | 468 | </Component> |
418 | 469 | <?endif?> |
470 | <?if $(var.Qt5CoreDllPath) != "" ?> | |
471 | <Component Id='Qt5CoreDll' Guid='*'> | |
472 | <!-- Always overwrite: b/31845781 --> | |
473 | <RemoveFile Id='Qt5Core.dll' Name='Qt5Core.dll' On="install" /> | |
474 | <File Id='Qt5Core.dll' | |
475 | Name='Qt5Core.dll' DiskId='1' Vital='yes' | |
476 | Checksum='yes' Source='$(var.Qt5CoreDllPath)' /> | |
477 | </Component> | |
478 | <?endif?> | |
479 | <?if $(var.Qt5GuiDllPath) != "" ?> | |
480 | <Component Id='Qt5GuiDll' Guid='*'> | |
481 | <!-- Always overwrite: b/31845781 --> | |
482 | <RemoveFile Id='Qt5Gui.dll' Name='Qt5Gui.dll' On="install" /> | |
483 | <File Id='Qt5Gui.dll' | |
484 | Name='Qt5Gui.dll' DiskId='1' Vital='yes' | |
485 | Checksum='yes' Source='$(var.Qt5GuiDllPath)' /> | |
486 | </Component> | |
487 | <?endif?> | |
488 | <?if $(var.Qt5WidgetsDllPath) != "" ?> | |
489 | <Component Id='Qt5WidgetsDll' Guid='*'> | |
490 | <!-- Always overwrite: b/31845781 --> | |
491 | <RemoveFile Id='Qt5Widgets.dll' Name='Qt5Widgets.dll' On="install" /> | |
492 | <File Id='Qt5Widgets.dll' | |
493 | Name='Qt5Widgets.dll' DiskId='1' Vital='yes' | |
494 | Checksum='yes' Source='$(var.Qt5WidgetsDllPath)' /> | |
495 | </Component> | |
496 | <?endif?> | |
419 | 497 | <?endif?> |
420 | 498 | <Directory Id='DocumentsDir' Name='documents'> |
421 | 499 | <Component Id='CreditsJa' Guid='*'> |
429 | 507 | Source='$(var.DocumentsDir)/credits_en.html' /> |
430 | 508 | </Component> |
431 | 509 | </Directory> |
510 | <?if ($(var.QWindowsdDllPath) != "") or ($(var.QWindowsDllPath) != "") ?> | |
511 | <Directory Id='QtPlatformsPluginDir' Name='platforms'> | |
512 | <?if ($(var.QWindowsdDllPath) != "") and ($(var.VSConfigurationName) = "Debug") ?> | |
513 | <Component Id='QWindowsdDll' Guid='*'> | |
514 | <!-- Always overwrite: b/31845781 --> | |
515 | <RemoveFile Id='qwindowsd.dll' Name='qwindowsd.dll' On="install" /> | |
516 | <File Id='qwindowsd.dll' | |
517 | Name='qwindowsd.dll' DiskId='1' Vital='yes' | |
518 | Checksum='yes' Source='$(var.QWindowsdDllPath)' /> | |
519 | </Component> | |
520 | <?endif?> | |
521 | <?if ($(var.QWindowsDllPath) != "") and ($(var.VSConfigurationName) != "Debug") ?> | |
522 | <Component Id='QWindowsDll' Guid='*'> | |
523 | <!-- Always overwrite: b/31845781 --> | |
524 | <RemoveFile Id='qwindows.dll' Name='qwindows.dll' On="install" /> | |
525 | <File Id='qwindows.dll' | |
526 | Name='qwindows.dll' DiskId='1' Vital='yes' | |
527 | Checksum='yes' Source='$(var.QWindowsDllPath)' /> | |
528 | </Component> | |
529 | <?endif?> | |
530 | </Directory> | |
531 | <?endif?> | |
432 | 532 | </Directory> |
433 | 533 | </Directory> |
434 | 534 | </Directory> |
677 | 777 | <?if $(var.QtGuid4DllPath) != "" ?> |
678 | 778 | <ComponentRef Id='QtGuid4Dll' /> |
679 | 779 | <?endif?> |
780 | <?if $(var.Qt5CoredDllPath) != "" ?> | |
781 | <ComponentRef Id='Qt5CoredDll' /> | |
782 | <?endif?> | |
783 | <?if $(var.Qt5GuidDllPath) != "" ?> | |
784 | <ComponentRef Id='Qt5GuidDll' /> | |
785 | <?endif?> | |
786 | <?if $(var.Qt5WidgetsdDllPath) != "" ?> | |
787 | <ComponentRef Id='Qt5WidgetsdDll' /> | |
788 | <?endif?> | |
789 | <?if $(var.QWindowsdDllPath) != "" ?> | |
790 | <ComponentRef Id='QWindowsdDll' /> | |
791 | <?endif?> | |
680 | 792 | <?else?> |
681 | 793 | <?if $(var.QtCore4DllPath) != "" ?> |
682 | 794 | <ComponentRef Id='QtCore4Dll' /> |
683 | 795 | <?endif?> |
684 | 796 | <?if $(var.QtGui4DllPath) != "" ?> |
685 | 797 | <ComponentRef Id='QtGui4Dll' /> |
798 | <?endif?> | |
799 | <?if $(var.Qt5CoreDllPath) != "" ?> | |
800 | <ComponentRef Id='Qt5CoreDll' /> | |
801 | <?endif?> | |
802 | <?if $(var.Qt5GuiDllPath) != "" ?> | |
803 | <ComponentRef Id='Qt5GuiDll' /> | |
804 | <?endif?> | |
805 | <?if $(var.Qt5WidgetsDllPath) != "" ?> | |
806 | <ComponentRef Id='Qt5WidgetsDll' /> | |
807 | <?endif?> | |
808 | <?if $(var.QWindowsDllPath) != "" ?> | |
809 | <ComponentRef Id='QWindowsDll' /> | |
686 | 810 | <?endif?> |
687 | 811 | <?endif?> |
688 | 812 | <ComponentRef Id='OmahaRegister' /> |
93 | 93 | '-dQtGuid4DllPath=<(qtguid4_dll_path)', |
94 | 94 | ], |
95 | 95 | }], |
96 | ['qt5core_dll_path!=""', { | |
97 | 'additional_args': [ | |
98 | '-dQt5CoreDllPath=<(qt5core_dll_path)', | |
99 | ], | |
100 | }], | |
101 | ['qt5cored_dll_path!=""', { | |
102 | 'additional_args': [ | |
103 | '-dQt5CoredDllPath=<(qt5cored_dll_path)', | |
104 | ], | |
105 | }], | |
106 | ['qt5gui_dll_path!=""', { | |
107 | 'additional_args': [ | |
108 | '-dQt5GuiDllPath=<(qt5gui_dll_path)', | |
109 | ], | |
110 | }], | |
111 | ['qt5guid_dll_path!=""', { | |
112 | 'additional_args': [ | |
113 | '-dQt5GuidDllPath=<(qt5guid_dll_path)', | |
114 | ], | |
115 | }], | |
116 | ['qt5widgets_dll_path!=""', { | |
117 | 'additional_args': [ | |
118 | '-dQt5WidgetsDllPath=<(qt5widgets_dll_path)', | |
119 | ], | |
120 | }], | |
121 | ['qt5widgetsd_dll_path!=""', { | |
122 | 'additional_args': [ | |
123 | '-dQt5WidgetsdDllPath=<(qt5widgetsd_dll_path)', | |
124 | ], | |
125 | }], | |
126 | ['qwindows_dll_path!=""', { | |
127 | 'additional_args': [ | |
128 | '-dQWindowsDllPath=<(qwindows_dll_path)', | |
129 | ], | |
130 | }], | |
131 | ['qwindowsd_dll_path!=""', { | |
132 | 'additional_args': [ | |
133 | '-dQWindowsdDllPath=<(qwindowsd_dll_path)', | |
134 | ], | |
135 | }], | |
96 | 136 | ['MSVS_VERSION=="2015" and use_qt=="YES"', { |
97 | 137 | 'additional_args': [ |
98 | 138 | r'-dUCRTDir=C:\Program Files (x86)\Windows Kits\10\Redist\ucrt\DLLs\x86', |