aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.gitignore7
-rw-r--r--Qt4VS2003/Doc/.gitignore1
-rw-r--r--Qt4VS2003/Doc/Tutorial/AddressBook/AddressBook.icobin2734 -> 0 bytes
-rw-r--r--Qt4VS2003/Doc/Tutorial/AddressBook/AddressBook.rc2
-rw-r--r--Qt4VS2003/Doc/Tutorial/AddressBook/AddressBook.vcproj393
-rw-r--r--Qt4VS2003/Doc/Tutorial/AddressBook/adddialog.cpp12
-rw-r--r--Qt4VS2003/Doc/Tutorial/AddressBook/adddialog.h18
-rw-r--r--Qt4VS2003/Doc/Tutorial/AddressBook/adddialog.ui126
-rw-r--r--Qt4VS2003/Doc/Tutorial/AddressBook/addressbook.cpp58
-rw-r--r--Qt4VS2003/Doc/Tutorial/AddressBook/addressbook.h24
-rw-r--r--Qt4VS2003/Doc/Tutorial/AddressBook/addressbook.ui86
-rw-r--r--Qt4VS2003/Doc/Tutorial/AddressBook/main.cpp10
-rw-r--r--Qt4VS2003/Doc/classic.css126
-rw-r--r--Qt4VS2003/Doc/externallinks.qdoc101
-rw-r--r--Qt4VS2003/Doc/templates/images/arrow_down.pngbin177 -> 0 bytes
-rw-r--r--Qt4VS2003/Doc/templates/images/bg_l.pngbin100 -> 0 bytes
-rw-r--r--Qt4VS2003/Doc/templates/images/bg_l_blank.pngbin84 -> 0 bytes
-rw-r--r--Qt4VS2003/Doc/templates/images/bg_ll_blank.pngbin320 -> 0 bytes
-rw-r--r--Qt4VS2003/Doc/templates/images/bg_r.pngbin96 -> 0 bytes
-rw-r--r--Qt4VS2003/Doc/templates/images/bg_ul_blank.pngbin304 -> 0 bytes
-rw-r--r--Qt4VS2003/Doc/templates/images/box_bg.pngbin89 -> 0 bytes
-rw-r--r--Qt4VS2003/Doc/templates/images/breadcrumb.pngbin134 -> 0 bytes
-rw-r--r--Qt4VS2003/Doc/templates/images/bullet_dn.pngbin230 -> 0 bytes
-rw-r--r--Qt4VS2003/Doc/templates/images/bullet_gt.pngbin124 -> 0 bytes
-rw-r--r--Qt4VS2003/Doc/templates/images/bullet_sq.pngbin74 -> 0 bytes
-rw-r--r--Qt4VS2003/Doc/templates/images/bullet_up.pngbin210 -> 0 bytes
-rw-r--r--Qt4VS2003/Doc/templates/images/feedbackground.pngbin263 -> 0 bytes
-rw-r--r--Qt4VS2003/Doc/templates/images/header.pngbin3768 -> 0 bytes
-rw-r--r--Qt4VS2003/Doc/templates/images/header_bg.pngbin114 -> 0 bytes
-rw-r--r--Qt4VS2003/Doc/templates/images/horBar.pngbin2807 -> 0 bytes
-rw-r--r--Qt4VS2003/Doc/templates/images/page.pngbin3102 -> 0 bytes
-rw-r--r--Qt4VS2003/Doc/templates/images/page_bg.pngbin84 -> 0 bytes
-rw-r--r--Qt4VS2003/Doc/templates/images/qt_icon.pngbin4775 -> 0 bytes
-rw-r--r--Qt4VS2003/Doc/templates/images/spinner.gifbin2037 -> 0 bytes
-rw-r--r--Qt4VS2003/Doc/templates/images/sprites-combined.pngbin62534 -> 0 bytes
-rw-r--r--Qt4VS2003/Doc/templates/scripts/functions.js194
-rw-r--r--Qt4VS2003/Doc/templates/scripts/jquery.js152
-rw-r--r--Qt4VS2003/Doc/templates/scripts/narrow.js89
-rw-r--r--Qt4VS2003/Doc/templates/scripts/superfish.js121
-rw-r--r--Qt4VS2003/Doc/templates/style/narrow.css270
-rw-r--r--Qt4VS2003/Doc/templates/style/offline.css675
-rw-r--r--Qt4VS2003/Doc/templates/style/style.css1592
-rw-r--r--Qt4VS2003/Doc/templates/style/style_ie6.css54
-rw-r--r--Qt4VS2003/Doc/templates/style/style_ie7.css19
-rw-r--r--Qt4VS2003/Doc/templates/style/style_ie8.css0
-rw-r--r--Qt4VS2003/Doc/templates/style/superfish.css51
-rw-r--r--Qt4VS2003/Doc/templates/style/superfish_skin.css83
-rw-r--r--Qt4VS2003/Doc/vs-addin.qdoc755
-rw-r--r--Qt4VS2003/Doc/vs-addin.qdocconf19
-rw-r--r--Qt4VS2003/Doc/vs-addressbook-adddialog.pngbin2060 -> 0 bytes
-rw-r--r--Qt4VS2003/Doc/vs-addressbook-mainwindow.pngbin2828 -> 0 bytes
-rw-r--r--Qt4VS2003/Doc/vs-export-project.pngbin6161 -> 0 bytes
-rw-r--r--Qt4VS2003/Doc/vs-options-builds.pngbin9327 -> 0 bytes
-rw-r--r--Qt4VS2003/Doc/vs-options-general.pngbin26690 -> 0 bytes
-rw-r--r--Qt4VS2003/Doc/vs-options-qt-versions.pngbin9202 -> 0 bytes
-rw-r--r--Qt4VS2003/Doc/vs-project-propertybrowser.pngbin9597 -> 0 bytes
-rw-r--r--Qt4VS2003/Doc/vs-qrc-editor.pngbin21647 -> 0 bytes
-rw-r--r--Qt4VS2003/Items/Qt5Class/1033/styles.css572
-rw-r--r--Qt4VS2003/Items/Qt5Class/HTML/1031/default.htm477
-rw-r--r--Qt4VS2003/Items/Qt5Class/HTML/1033/default.htm477
-rw-r--r--Qt4VS2003/Items/Qt5Class/Images/Qt5Class.gifbin4777 -> 0 bytes
-rw-r--r--Qt4VS2003/Items/Qt5Class/Qt5Class.icobin1078 -> 0 bytes
-rw-r--r--Qt4VS2003/Items/Qt5Class/Qt5Class.vcproj131
-rw-r--r--Qt4VS2003/Items/Qt5Class/Qt5Class.vsdir1
-rw-r--r--Qt4VS2003/Items/Qt5Class/Qt5Class.vsz6
-rw-r--r--Qt4VS2003/Items/Qt5Class/Scripts/1033/default.js125
-rw-r--r--Qt4VS2003/Items/Qt5Class/Templates/1033/class.cpp12
-rw-r--r--Qt4VS2003/Items/Qt5Class/Templates/1033/class.h14
-rw-r--r--Qt4VS2003/Items/Qt5GuiClass/1033/styles.css572
-rw-r--r--Qt4VS2003/Items/Qt5GuiClass/HTML/1031/default.htm539
-rw-r--r--Qt4VS2003/Items/Qt5GuiClass/HTML/1033/default.htm538
-rw-r--r--Qt4VS2003/Items/Qt5GuiClass/Images/Qt5GuiClass.gifbin4777 -> 0 bytes
-rw-r--r--Qt4VS2003/Items/Qt5GuiClass/Qt5GuiClass.icobin1078 -> 0 bytes
-rw-r--r--Qt4VS2003/Items/Qt5GuiClass/Qt5GuiClass.vcproj140
-rw-r--r--Qt4VS2003/Items/Qt5GuiClass/Qt5GuiClass.vsdir1
-rw-r--r--Qt4VS2003/Items/Qt5GuiClass/Qt5GuiClass.vsz6
-rw-r--r--Qt4VS2003/Items/Qt5GuiClass/Scripts/1033/default.js125
-rw-r--r--Qt4VS2003/Items/Qt5GuiClass/Templates/1033/class.cpp13
-rw-r--r--Qt4VS2003/Items/Qt5GuiClass/Templates/1033/class.h19
-rw-r--r--Qt4VS2003/Items/Qt5GuiClass/Templates/1033/form.ui23
-rw-r--r--Qt4VS2003/Items/Qt5GuiClass/Templates/1033/mi_class.cpp13
-rw-r--r--Qt4VS2003/Items/Qt5GuiClass/Templates/1033/mi_class.h16
-rw-r--r--Qt4VS2003/Items/Qt5GuiClass/Templates/1033/mp_class.cpp15
-rw-r--r--Qt4VS2003/Items/Qt5GuiClass/Templates/1033/mp_class.h19
-rw-r--r--Qt4VS2003/Items/qrcItems/newQrcFile.icobin766 -> 0 bytes
-rw-r--r--Qt4VS2003/Items/qrcItems/newQrcFile.qrc4
-rw-r--r--Qt4VS2003/Items/qrcItems/qrcFiles.vsdir1
-rw-r--r--Qt4VS2003/Items/uiItems/newUiDialogButtonsBottom.icobin7278 -> 0 bytes
-rw-r--r--Qt4VS2003/Items/uiItems/newUiDialogButtonsBottom.ui100
-rw-r--r--Qt4VS2003/Items/uiItems/newUiDialogButtonsRight.icobin7278 -> 0 bytes
-rw-r--r--Qt4VS2003/Items/uiItems/newUiDialogButtonsRight.ui100
-rw-r--r--Qt4VS2003/Items/uiItems/newUiMainWindow.icobin7278 -> 0 bytes
-rw-r--r--Qt4VS2003/Items/uiItems/newUiMainWindow.ui51
-rw-r--r--Qt4VS2003/Items/uiItems/newUiWidget.icobin7278 -> 0 bytes
-rw-r--r--Qt4VS2003/Items/uiItems/newUiWidget.ui24
-rw-r--r--Qt4VS2003/Items/uiItems/uiFiles.vsdir4
-rw-r--r--Qt4VS2003/Projects/Qt5ActiveQtServerProject/1033/styles.css574
-rw-r--r--Qt4VS2003/Projects/Qt5ActiveQtServerProject/HTML/1031/Page_2.htm569
-rw-r--r--Qt4VS2003/Projects/Qt5ActiveQtServerProject/HTML/1031/Page_3.htm467
-rw-r--r--Qt4VS2003/Projects/Qt5ActiveQtServerProject/HTML/1031/default.htm524
-rw-r--r--Qt4VS2003/Projects/Qt5ActiveQtServerProject/HTML/1033/Page_2.htm568
-rw-r--r--Qt4VS2003/Projects/Qt5ActiveQtServerProject/HTML/1033/Page_3.htm466
-rw-r--r--Qt4VS2003/Projects/Qt5ActiveQtServerProject/HTML/1033/default.htm522
-rw-r--r--Qt4VS2003/Projects/Qt5ActiveQtServerProject/Images/Qt5ActiveQtServerProject.jpgbin4074 -> 0 bytes
-rw-r--r--Qt4VS2003/Projects/Qt5ActiveQtServerProject/Qt5ActiveQtServerProject.icobin7278 -> 0 bytes
-rw-r--r--Qt4VS2003/Projects/Qt5ActiveQtServerProject/Qt5ActiveQtServerProject.vcproj196
-rw-r--r--Qt4VS2003/Projects/Qt5ActiveQtServerProject/Qt5ActiveQtServerProject.vsdir1
-rw-r--r--Qt4VS2003/Projects/Qt5ActiveQtServerProject/Qt5ActiveQtServerProject.vsz6
-rw-r--r--Qt4VS2003/Projects/Qt5ActiveQtServerProject/Scripts/1033/default.js188
-rw-r--r--Qt4VS2003/Projects/Qt5ActiveQtServerProject/Templates/1033/server.def8
-rw-r--r--Qt4VS2003/Projects/Qt5ActiveQtServerProject/Templates/1033/server.icobin766 -> 0 bytes
-rw-r--r--Qt4VS2003/Projects/Qt5ActiveQtServerProject/Templates/1033/server.rc2
-rw-r--r--Qt4VS2003/Projects/Qt5ActiveQtServerProject/Templates/1033/source.cpp16
-rw-r--r--Qt4VS2003/Projects/Qt5ActiveQtServerProject/Templates/1033/source.h20
-rw-r--r--Qt4VS2003/Projects/Qt5ActiveQtServerProject/Templates/1033/stdafx.cpp1
-rw-r--r--Qt4VS2003/Projects/Qt5ActiveQtServerProject/Templates/1033/stdafx.h1
-rw-r--r--Qt4VS2003/Projects/Qt5ActiveQtServerProject/Templates/1033/widget.ui20
-rw-r--r--Qt4VS2003/Projects/Qt5ConsoleProject/1033/styles.css574
-rw-r--r--Qt4VS2003/Projects/Qt5ConsoleProject/HTML/1031/Page_2.htm547
-rw-r--r--Qt4VS2003/Projects/Qt5ConsoleProject/HTML/1031/default.htm496
-rw-r--r--Qt4VS2003/Projects/Qt5ConsoleProject/HTML/1033/Page_2.htm548
-rw-r--r--Qt4VS2003/Projects/Qt5ConsoleProject/HTML/1033/default.htm492
-rw-r--r--Qt4VS2003/Projects/Qt5ConsoleProject/Images/Qt5ConsoleProject.jpgbin4074 -> 0 bytes
-rw-r--r--Qt4VS2003/Projects/Qt5ConsoleProject/Qt5ConsoleProject.icobin7278 -> 0 bytes
-rw-r--r--Qt4VS2003/Projects/Qt5ConsoleProject/Qt5ConsoleProject.vcproj143
-rw-r--r--Qt4VS2003/Projects/Qt5ConsoleProject/Qt5ConsoleProject.vsdir1
-rw-r--r--Qt4VS2003/Projects/Qt5ConsoleProject/Qt5ConsoleProject.vsz6
-rw-r--r--Qt4VS2003/Projects/Qt5ConsoleProject/Scripts/1033/default.js135
-rw-r--r--Qt4VS2003/Projects/Qt5ConsoleProject/Templates/1033/main.cpp9
-rw-r--r--Qt4VS2003/Projects/Qt5ConsoleProject/Templates/1033/stdafx.cpp1
-rw-r--r--Qt4VS2003/Projects/Qt5ConsoleProject/Templates/1033/stdafx.h0
-rw-r--r--Qt4VS2003/Projects/Qt5DesignerPluginProject/1033/styles.css574
-rw-r--r--Qt4VS2003/Projects/Qt5DesignerPluginProject/HTML/1031/Page_2.htm568
-rw-r--r--Qt4VS2003/Projects/Qt5DesignerPluginProject/HTML/1031/Page_3.htm567
-rw-r--r--Qt4VS2003/Projects/Qt5DesignerPluginProject/HTML/1031/default.htm532
-rw-r--r--Qt4VS2003/Projects/Qt5DesignerPluginProject/HTML/1033/Page_2.htm568
-rw-r--r--Qt4VS2003/Projects/Qt5DesignerPluginProject/HTML/1033/Page_3.htm577
-rw-r--r--Qt4VS2003/Projects/Qt5DesignerPluginProject/HTML/1033/default.htm531
-rw-r--r--Qt4VS2003/Projects/Qt5DesignerPluginProject/Images/Qt5DesignerPluginProject.jpgbin4074 -> 0 bytes
-rw-r--r--Qt4VS2003/Projects/Qt5DesignerPluginProject/Qt5DesignerPluginProject.icobin7278 -> 0 bytes
-rw-r--r--Qt4VS2003/Projects/Qt5DesignerPluginProject/Qt5DesignerPluginProject.vcproj166
-rw-r--r--Qt4VS2003/Projects/Qt5DesignerPluginProject/Qt5DesignerPluginProject.vsdir1
-rw-r--r--Qt4VS2003/Projects/Qt5DesignerPluginProject/Qt5DesignerPluginProject.vsz6
-rw-r--r--Qt4VS2003/Projects/Qt5DesignerPluginProject/Scripts/1033/default.js190
-rw-r--r--Qt4VS2003/Projects/Qt5DesignerPluginProject/Templates/1033/mywidget.cpp12
-rw-r--r--Qt4VS2003/Projects/Qt5DesignerPluginProject/Templates/1033/mywidget.h16
-rw-r--r--Qt4VS2003/Projects/Qt5DesignerPluginProject/Templates/1033/plugin.cpp79
-rw-r--r--Qt4VS2003/Projects/Qt5DesignerPluginProject/Templates/1033/plugin.h31
-rw-r--r--Qt4VS2003/Projects/Qt5DesignerPluginProject/Templates/1033/plugin.json1
-rw-r--r--Qt4VS2003/Projects/Qt5DesignerPluginProject/Templates/1033/stdafx.cpp1
-rw-r--r--Qt4VS2003/Projects/Qt5DesignerPluginProject/Templates/1033/stdafx.h1
-rw-r--r--Qt4VS2003/Projects/Qt5GuiProject/1033/styles.css574
-rw-r--r--Qt4VS2003/Projects/Qt5GuiProject/HTML/1031/Page_2.htm565
-rw-r--r--Qt4VS2003/Projects/Qt5GuiProject/HTML/1031/Page_3.htm545
-rw-r--r--Qt4VS2003/Projects/Qt5GuiProject/HTML/1031/default.htm526
-rw-r--r--Qt4VS2003/Projects/Qt5GuiProject/HTML/1033/Page_2.htm543
-rw-r--r--Qt4VS2003/Projects/Qt5GuiProject/HTML/1033/Page_3.htm549
-rw-r--r--Qt4VS2003/Projects/Qt5GuiProject/HTML/1033/default.htm525
-rw-r--r--Qt4VS2003/Projects/Qt5GuiProject/Images/Qt5GuiProject.jpgbin4074 -> 0 bytes
-rw-r--r--Qt4VS2003/Projects/Qt5GuiProject/Qt5GuiProject.icobin7278 -> 0 bytes
-rw-r--r--Qt4VS2003/Projects/Qt5GuiProject/Qt5GuiProject.vcproj187
-rw-r--r--Qt4VS2003/Projects/Qt5GuiProject/Qt5GuiProject.vsdir1
-rw-r--r--Qt4VS2003/Projects/Qt5GuiProject/Qt5GuiProject.vsz6
-rw-r--r--Qt4VS2003/Projects/Qt5GuiProject/Scripts/1033/default.js204
-rw-r--r--Qt4VS2003/Projects/Qt5GuiProject/Templates/1033/main.cpp10
-rw-r--r--Qt4VS2003/Projects/Qt5GuiProject/Templates/1033/mywidget.cpp12
-rw-r--r--Qt4VS2003/Projects/Qt5GuiProject/Templates/1033/mywidget.h19
-rw-r--r--Qt4VS2003/Projects/Qt5GuiProject/Templates/1033/stdafx.cpp1
-rw-r--r--Qt4VS2003/Projects/Qt5GuiProject/Templates/1033/stdafx.h1
-rw-r--r--Qt4VS2003/Projects/Qt5GuiProject/Templates/1033/widget.ui25
-rw-r--r--Qt4VS2003/Projects/Qt5GuiProject/Templates/1033/winapp.icobin2734 -> 0 bytes
-rw-r--r--Qt4VS2003/Projects/Qt5LibProject/1033/styles.css574
-rw-r--r--Qt4VS2003/Projects/Qt5LibProject/HTML/1031/Page_2.htm557
-rw-r--r--Qt4VS2003/Projects/Qt5LibProject/HTML/1031/Page_3.htm458
-rw-r--r--Qt4VS2003/Projects/Qt5LibProject/HTML/1031/default.htm523
-rw-r--r--Qt4VS2003/Projects/Qt5LibProject/HTML/1033/Page_2.htm559
-rw-r--r--Qt4VS2003/Projects/Qt5LibProject/HTML/1033/Page_3.htm464
-rw-r--r--Qt4VS2003/Projects/Qt5LibProject/HTML/1033/default.htm523
-rw-r--r--Qt4VS2003/Projects/Qt5LibProject/Images/Qt5LibProject.jpgbin4074 -> 0 bytes
-rw-r--r--Qt4VS2003/Projects/Qt5LibProject/Qt5LibProject.icobin7278 -> 0 bytes
-rw-r--r--Qt4VS2003/Projects/Qt5LibProject/Qt5LibProject.vcproj169
-rw-r--r--Qt4VS2003/Projects/Qt5LibProject/Qt5LibProject.vsdir1
-rw-r--r--Qt4VS2003/Projects/Qt5LibProject/Qt5LibProject.vsz6
-rw-r--r--Qt4VS2003/Projects/Qt5LibProject/Scripts/1033/default.js183
-rw-r--r--Qt4VS2003/Projects/Qt5LibProject/Templates/1033/defines.h12
-rw-r--r--Qt4VS2003/Projects/Qt5LibProject/Templates/1033/header.h16
-rw-r--r--Qt4VS2003/Projects/Qt5LibProject/Templates/1033/source.cpp11
-rw-r--r--Qt4VS2003/Projects/Qt5LibProject/Templates/1033/stdafx.cpp1
-rw-r--r--Qt4VS2003/Projects/Qt5LibProject/Templates/1033/stdafx.h0
-rw-r--r--Qt4VS2003/Projects/Qt5WinCELibProject/1033/styles.css574
-rw-r--r--Qt4VS2003/Projects/Qt5WinCELibProject/HTML/1031/Page_2.htm536
-rw-r--r--Qt4VS2003/Projects/Qt5WinCELibProject/HTML/1031/Page_3.htm434
-rw-r--r--Qt4VS2003/Projects/Qt5WinCELibProject/HTML/1031/default.htm570
-rw-r--r--Qt4VS2003/Projects/Qt5WinCELibProject/HTML/1033/Page_2.htm538
-rw-r--r--Qt4VS2003/Projects/Qt5WinCELibProject/HTML/1033/Page_3.htm431
-rw-r--r--Qt4VS2003/Projects/Qt5WinCELibProject/HTML/1033/default.htm570
-rw-r--r--Qt4VS2003/Projects/Qt5WinCELibProject/Images/Qt5WinCELibProject.jpgbin4074 -> 0 bytes
-rw-r--r--Qt4VS2003/Projects/Qt5WinCELibProject/Qt5WinCELibProject.icobin7278 -> 0 bytes
-rw-r--r--Qt4VS2003/Projects/Qt5WinCELibProject/Qt5WinCELibProject.vcproj260
-rw-r--r--Qt4VS2003/Projects/Qt5WinCELibProject/Qt5WinCELibProject.vsdir1
-rw-r--r--Qt4VS2003/Projects/Qt5WinCELibProject/Qt5WinCELibProject.vsz6
-rw-r--r--Qt4VS2003/Projects/Qt5WinCELibProject/Scripts/1033/default.js183
-rw-r--r--Qt4VS2003/Projects/Qt5WinCELibProject/Templates/1033/defines.h12
-rw-r--r--Qt4VS2003/Projects/Qt5WinCELibProject/Templates/1033/header.h16
-rw-r--r--Qt4VS2003/Projects/Qt5WinCELibProject/Templates/1033/source.cpp11
-rw-r--r--Qt4VS2003/Projects/Qt5WinCELibProject/Templates/1033/stdafx.cpp1
-rw-r--r--Qt4VS2003/Projects/Qt5WinCELibProject/Templates/1033/stdafx.h0
-rw-r--r--Qt4VS2003/Projects/Qt5WinCEProject/1033/styles.css574
-rw-r--r--Qt4VS2003/Projects/Qt5WinCEProject/HTML/1031/Page_2.htm541
-rw-r--r--Qt4VS2003/Projects/Qt5WinCEProject/HTML/1031/Page_3.htm524
-rw-r--r--Qt4VS2003/Projects/Qt5WinCEProject/HTML/1031/default.htm572
-rw-r--r--Qt4VS2003/Projects/Qt5WinCEProject/HTML/1033/Page_2.htm541
-rw-r--r--Qt4VS2003/Projects/Qt5WinCEProject/HTML/1033/Page_3.htm524
-rw-r--r--Qt4VS2003/Projects/Qt5WinCEProject/HTML/1033/default.htm571
-rw-r--r--Qt4VS2003/Projects/Qt5WinCEProject/Images/Qt5WinCEProject.jpgbin4074 -> 0 bytes
-rw-r--r--Qt4VS2003/Projects/Qt5WinCEProject/Qt5WinCEProject.icobin7278 -> 0 bytes
-rw-r--r--Qt4VS2003/Projects/Qt5WinCEProject/Qt5WinCEProject.vcproj284
-rw-r--r--Qt4VS2003/Projects/Qt5WinCEProject/Qt5WinCEProject.vsdir1
-rw-r--r--Qt4VS2003/Projects/Qt5WinCEProject/Qt5WinCEProject.vsz6
-rw-r--r--Qt4VS2003/Projects/Qt5WinCEProject/Scripts/1033/default.js204
-rw-r--r--Qt4VS2003/Projects/Qt5WinCEProject/Templates/1033/main.cpp10
-rw-r--r--Qt4VS2003/Projects/Qt5WinCEProject/Templates/1033/mywidget.cpp12
-rw-r--r--Qt4VS2003/Projects/Qt5WinCEProject/Templates/1033/mywidget.h19
-rw-r--r--Qt4VS2003/Projects/Qt5WinCEProject/Templates/1033/stdafx.cpp1
-rw-r--r--Qt4VS2003/Projects/Qt5WinCEProject/Templates/1033/stdafx.h1
-rw-r--r--Qt4VS2003/Projects/Qt5WinCEProject/Templates/1033/widget.ui46
-rw-r--r--Qt4VS2003/Projects/Qt5WinCEProject/Templates/1033/winapp.icobin2734 -> 0 bytes
-rw-r--r--Qt4VS2003/Qt4VSAddin/.gitignore1
-rw-r--r--Qt4VS2003/Qt4VSAddin/AddInEventHandler.cs1045
-rw-r--r--Qt4VS2003/Qt4VSAddin/AddQtVersionDialog.cs379
-rw-r--r--Qt4VS2003/Qt4VSAddin/AddQtVersionDialog.resx120
-rw-r--r--Qt4VS2003/Qt4VSAddin/AddTranslationDialog.cs273
-rw-r--r--Qt4VS2003/Qt4VSAddin/AddTranslationDialog.resx120
-rw-r--r--Qt4VS2003/Qt4VSAddin/AssemblyInfo.cs78
-rw-r--r--Qt4VS2003/Qt4VSAddin/Changes-1.0.111
-rw-r--r--Qt4VS2003/Qt4VSAddin/Changes-1.0.214
-rw-r--r--Qt4VS2003/Qt4VSAddin/Changes-1.1.026
-rw-r--r--Qt4VS2003/Qt4VSAddin/Changes-1.1.126
-rw-r--r--Qt4VS2003/Qt4VSAddin/Changes-1.1.1030
-rw-r--r--Qt4VS2003/Qt4VSAddin/Changes-1.1.1112
-rw-r--r--Qt4VS2003/Qt4VSAddin/Changes-1.1.220
-rw-r--r--Qt4VS2003/Qt4VSAddin/Changes-1.1.321
-rw-r--r--Qt4VS2003/Qt4VSAddin/Changes-1.1.424
-rw-r--r--Qt4VS2003/Qt4VSAddin/Changes-1.1.539
-rw-r--r--Qt4VS2003/Qt4VSAddin/Changes-1.1.622
-rw-r--r--Qt4VS2003/Qt4VSAddin/Changes-1.1.714
-rw-r--r--Qt4VS2003/Qt4VSAddin/Changes-1.1.827
-rw-r--r--Qt4VS2003/Qt4VSAddin/Changes-1.1.912
-rw-r--r--Qt4VS2003/Qt4VSAddin/Changes-1.2.011
-rw-r--r--Qt4VS2003/Qt4VSAddin/Changes-1.2.126
-rw-r--r--Qt4VS2003/Qt4VSAddin/Changes-1.2.29
-rw-r--r--Qt4VS2003/Qt4VSAddin/Changes-1.2.314
-rw-r--r--Qt4VS2003/Qt4VSAddin/Changes-1.2.47
-rw-r--r--Qt4VS2003/Qt4VSAddin/Changes-1.2.511
-rw-r--r--Qt4VS2003/Qt4VSAddin/CommandBar.resx442
-rw-r--r--Qt4VS2003/Qt4VSAddin/ExtLoader.cs513
-rw-r--r--Qt4VS2003/Qt4VSAddin/FormChangeQtVersion.Designer.cs104
-rw-r--r--Qt4VS2003/Qt4VSAddin/FormChangeQtVersion.cs106
-rw-r--r--Qt4VS2003/Qt4VSAddin/FormChangeQtVersion.resx120
-rw-r--r--Qt4VS2003/Qt4VSAddin/FormProjectQtSettings.Designer.cs532
-rw-r--r--Qt4VS2003/Qt4VSAddin/FormProjectQtSettings.cs238
-rw-r--r--Qt4VS2003/Qt4VSAddin/FormProjectQtSettings.resx120
-rw-r--r--Qt4VS2003/Qt4VSAddin/FormVSQtSettings.Designer.cs202
-rw-r--r--Qt4VS2003/Qt4VSAddin/FormVSQtSettings.cs182
-rw-r--r--Qt4VS2003/Qt4VSAddin/FormVSQtSettings.resx120
-rw-r--r--Qt4VS2003/Qt4VSAddin/Properties/AssemblyInfo.cs61
-rw-r--r--Qt4VS2003/Qt4VSAddin/QMakeWrapper.cs147
-rw-r--r--Qt4VS2003/Qt4VSAddin/Qt5VSAddin.AddIn18
-rw-r--r--Qt4VS2003/Qt4VSAddin/Qt5VSAddin2015.csproj209
-rw-r--r--Qt4VS2003/Qt4VSAddin/QtDefaultEditorsHelper.cs149
-rw-r--r--Qt4VS2003/Qt4VSAddin/QtItemContextMenu.cs159
-rw-r--r--Qt4VS2003/Qt4VSAddin/QtMainMenu.cs258
-rw-r--r--Qt4VS2003/Qt4VSAddin/QtMenus.vsct542
-rw-r--r--Qt4VS2003/Qt4VSAddin/QtProjectContextMenu.cs240
-rw-r--r--Qt4VS2003/Qt4VSAddin/QtSettings.cs289
-rw-r--r--Qt4VS2003/Qt4VSAddin/QtSolutionContextMenu.cs170
-rw-r--r--Qt4VS2003/Qt4VSAddin/QtVersionDialog.cs186
-rw-r--r--Qt4VS2003/Qt4VSAddin/QtVersionDialog.resx120
-rw-r--r--Qt4VS2003/Qt4VSAddin/ResClass.cs201
-rw-r--r--Qt4VS2003/Qt4VSAddin/Resource.cs145
-rw-r--r--Qt4VS2003/Qt4VSAddin/Resources/AboutIcon.icobin1078 -> 0 bytes
-rw-r--r--Qt4VS2003/Qt4VSAddin/Resources/Assistant.bmpbin822 -> 0 bytes
-rw-r--r--Qt4VS2003/Qt4VSAddin/Resources/Designer.bmpbin822 -> 0 bytes
-rw-r--r--Qt4VS2003/Qt4VSAddin/Resources/ExportPri.bmpbin822 -> 0 bytes
-rw-r--r--Qt4VS2003/Qt4VSAddin/Resources/ExportPro.bmpbin822 -> 0 bytes
-rw-r--r--Qt4VS2003/Qt4VSAddin/Resources/ImportPri.bmpbin822 -> 0 bytes
-rw-r--r--Qt4VS2003/Qt4VSAddin/Resources/ImportPro.bmpbin822 -> 0 bytes
-rw-r--r--Qt4VS2003/Qt4VSAddin/Resources/Linguist.bmpbin822 -> 0 bytes
-rw-r--r--Qt4VS2003/Qt4VSAddin/Resources/Qt.bmpbin822 -> 0 bytes
-rw-r--r--Qt4VS2003/Qt4VSAddin/Resources/menuimages.pngbin1210 -> 0 bytes
-rw-r--r--Qt4VS2003/Qt4VSAddin/Resources/qt.icobin370070 -> 0 bytes
-rw-r--r--Qt4VS2003/Qt4VSAddin/StringResources.de.resx778
-rw-r--r--Qt4VS2003/Qt4VSAddin/StringResources.resx775
-rw-r--r--Qt4VS2003/Qt4VSAddin/Translation.cs292
-rw-r--r--Qt4VS2003/Qt4VSAddin/VSPackage.resx173
-rw-r--r--Qt4VS2003/Qt4VSAddin/VSQtSettings.cs245
-rw-r--r--Qt4VS2003/Qt4VSAddin/Vsix.cs211
-rw-r--r--Qt4VS2003/Qt4VSAddin/preview.pngbin10411 -> 0 bytes
-rw-r--r--Qt4VS2003/Qt4VSAddin/qt.icobin370070 -> 0 bytes
-rw-r--r--Qt4VS2003/Qt4VSAddin/source.extension.vsixmanifest54
-rw-r--r--Qt4VS2003/Qt5VSAddin2015.sln34
-rw-r--r--Qt4VS2003/QtProjectEngine/AssemblyInfo.cs84
-rw-r--r--Qt4VS2003/QtProjectEngine/Qt5ProjectEngineLib2015.csproj146
-rw-r--r--Qt4VS2003/QtProjectEngine/QtProjectEngine.cs472
-rw-r--r--Qt4VS2003/QtProjectLib/AssemblyInfo.cs84
-rw-r--r--Qt4VS2003/QtProjectLib/CompilerToolWrapper.cs553
-rw-r--r--Qt4VS2003/QtProjectLib/CxxStreamReader.cs191
-rw-r--r--Qt4VS2003/QtProjectLib/DeploymentToolWrapper.cs121
-rw-r--r--Qt4VS2003/QtProjectLib/ExportProjectDialog.cs464
-rw-r--r--Qt4VS2003/QtProjectLib/ExportProjectDialog.de-DE.resx163
-rw-r--r--Qt4VS2003/QtProjectLib/ExportProjectDialog.resx301
-rw-r--r--Qt4VS2003/QtProjectLib/HelperClasses.cs187
-rw-r--r--Qt4VS2003/QtProjectLib/HelperFunctions.cs1831
-rw-r--r--Qt4VS2003/QtProjectLib/Images/delete.pngbin578 -> 0 bytes
-rw-r--r--Qt4VS2003/QtProjectLib/Images/delete_d.pngbin375 -> 0 bytes
-rw-r--r--Qt4VS2003/QtProjectLib/Images/newitem.pngbin239 -> 0 bytes
-rw-r--r--Qt4VS2003/QtProjectLib/Images/newitem_d.pngbin207 -> 0 bytes
-rw-r--r--Qt4VS2003/QtProjectLib/LinkerToolWrapper.cs182
-rw-r--r--Qt4VS2003/QtProjectLib/Messages.cs167
-rw-r--r--Qt4VS2003/QtProjectLib/MocCmdChecker.cs191
-rw-r--r--Qt4VS2003/QtProjectLib/ProjectExporter.cs1284
-rw-r--r--Qt4VS2003/QtProjectLib/ProjectImporter.cs402
-rw-r--r--Qt4VS2003/QtProjectLib/ProjectLibStringResources.de.resx344
-rw-r--r--Qt4VS2003/QtProjectLib/ProjectLibStringResources.resx342
-rw-r--r--Qt4VS2003/QtProjectLib/QMakeConf.cs208
-rw-r--r--Qt4VS2003/QtProjectLib/QMakeProcess.cs375
-rw-r--r--Qt4VS2003/QtProjectLib/QProcess.cs69
-rw-r--r--Qt4VS2003/QtProjectLib/QrcParser.cs168
-rw-r--r--Qt4VS2003/QtProjectLib/Qt5ProjectLib2015.csproj206
-rw-r--r--Qt4VS2003/QtProjectLib/QtConfig.cs102
-rw-r--r--Qt4VS2003/QtProjectLib/QtModules.cs304
-rw-r--r--Qt4VS2003/QtProjectLib/QtProject.cs3433
-rw-r--r--Qt4VS2003/QtProjectLib/QtVSIPSettings.cs636
-rw-r--r--Qt4VS2003/QtProjectLib/QtVersionManager.cs519
-rw-r--r--Qt4VS2003/QtProjectLib/RccOptions.cs183
-rw-r--r--Qt4VS2003/QtProjectLib/ResClass.cs168
-rw-r--r--Qt4VS2003/QtProjectLib/Resources.cs195
-rw-r--r--Qt4VS2003/QtProjectLib/VersionInformation.cs216
-rw-r--r--Qt4VS2003/ResourceItems/bitmap.bmpbin1270 -> 0 bytes
-rw-r--r--Qt4VS2003/ResourceItems/bmp.xml5
-rw-r--r--Qt4VS2003/ResourceItems/bmpicon.bmpbin1754 -> 0 bytes
-rw-r--r--Qt4VS2003/ResourceItems/form.ui18
-rw-r--r--Qt4VS2003/ResourceItems/htm.xml5
-rw-r--r--Qt4VS2003/ResourceItems/htmicon.bmpbin2102 -> 0 bytes
-rw-r--r--Qt4VS2003/ResourceItems/image.pngbin178 -> 0 bytes
-rw-r--r--Qt4VS2003/ResourceItems/page.htm10
-rw-r--r--Qt4VS2003/ResourceItems/png.xml5
-rw-r--r--Qt4VS2003/ResourceItems/pngicon.bmpbin2102 -> 0 bytes
-rw-r--r--Qt4VS2003/ResourceItems/text.txt1
-rw-r--r--Qt4VS2003/ResourceItems/txt.xml5
-rw-r--r--Qt4VS2003/ResourceItems/txticon.bmpbin1874 -> 0 bytes
-rw-r--r--Qt4VS2003/ResourceItems/ui.xml5
-rw-r--r--Qt4VS2003/ResourceItems/uiicon.bmpbin1910 -> 0 bytes
-rw-r--r--Qt4VS2003/ResourceItems/xml.xml5
-rw-r--r--Qt4VS2003/ResourceItems/xmlfile.xml1
-rw-r--r--Qt4VS2003/ResourceItems/xmlicon.bmpbin1838 -> 0 bytes
-rw-r--r--Qt4VS2003/Templates.txt46
-rw-r--r--Qt4VS2003/collectInstallerFiles.bat2
-rw-r--r--Qt4VS2003/collectInstallerFiles.pl426
-rw-r--r--Qt4VS2003/createCultureResources.cmd36
-rw-r--r--Qt4VS2003/createUserFiles.bat2
-rw-r--r--Qt4VS2003/createUserFiles.pl103
-rw-r--r--Qt4VS2003/createWizardFiles.bat2
-rw-r--r--Qt4VS2003/createWizardFiles.pl174
-rw-r--r--Qt4VS2003/ui.icobin2734 -> 0 bytes
-rw-r--r--tools/AutoTests/AddinAutoTest2005.csproj84
-rw-r--r--tools/AutoTests/AddinAutoTest2008.csproj85
-rw-r--r--tools/AutoTests/AddinAutoTest2010.csproj125
-rw-r--r--tools/AutoTests/AssemblyInfo.csbin6236 -> 0 bytes
-rw-r--r--tools/AutoTests/AutoTests2005.AddInbin1430 -> 0 bytes
-rw-r--r--tools/AutoTests/AutoTests2008.AddInbin1430 -> 0 bytes
-rw-r--r--tools/AutoTests/CompilerToolWrapper.cs296
-rw-r--r--tools/AutoTests/TemplateProjects2005/Test1/Check/Check.vcproj304
-rw-r--r--tools/AutoTests/TemplateProjects2005/Test1/Check/bar.cpp12
-rw-r--r--tools/AutoTests/TemplateProjects2005/Test1/Check/foo.cpp13
-rw-r--r--tools/AutoTests/TemplateProjects2005/Test1/Check/foo.h19
-rw-r--r--tools/AutoTests/TemplateProjects2005/Test1/Check/foo.qrc4
-rw-r--r--tools/AutoTests/TemplateProjects2005/Test1/Check/foo.ui23
-rw-r--r--tools/AutoTests/TemplateProjects2005/Test1/Check/main.cpp24
-rw-r--r--tools/AutoTests/TemplateProjects2005/Test1/Check/subfolder/sub.cpp12
-rw-r--r--tools/AutoTests/TemplateProjects2005/Test1/Check/test.cpp1
-rw-r--r--tools/AutoTests/TemplateProjects2005/Test1/Check/test.h0
-rw-r--r--tools/AutoTests/TemplateProjects2005/Test1/Test1.sln23
-rw-r--r--tools/AutoTests/TemplateProjects2005/Test1pch/Check/Check.vcproj322
-rw-r--r--tools/AutoTests/TemplateProjects2005/Test1pch/Check/bar.cpp12
-rw-r--r--tools/AutoTests/TemplateProjects2005/Test1pch/Check/foo.cpp14
-rw-r--r--tools/AutoTests/TemplateProjects2005/Test1pch/Check/foo.h19
-rw-r--r--tools/AutoTests/TemplateProjects2005/Test1pch/Check/foo.qrc4
-rw-r--r--tools/AutoTests/TemplateProjects2005/Test1pch/Check/foo.ui23
-rw-r--r--tools/AutoTests/TemplateProjects2005/Test1pch/Check/main.cpp25
-rw-r--r--tools/AutoTests/TemplateProjects2005/Test1pch/Check/pch.cpp1
-rw-r--r--tools/AutoTests/TemplateProjects2005/Test1pch/Check/pch.h0
-rw-r--r--tools/AutoTests/TemplateProjects2005/Test1pch/Check/subfolder/sub.cpp13
-rw-r--r--tools/AutoTests/TemplateProjects2005/Test1pch/Check/test.cpp1
-rw-r--r--tools/AutoTests/TemplateProjects2005/Test1pch/Check/test.h0
-rw-r--r--tools/AutoTests/TemplateProjects2005/Test1pch/Test1pch.sln20
-rw-r--r--tools/AutoTests/TemplateProjects2005/Test2/Check/Check.vcproj447
-rw-r--r--tools/AutoTests/TemplateProjects2005/Test2/Check/bar.cpp12
-rw-r--r--tools/AutoTests/TemplateProjects2005/Test2/Check/foo.cpp14
-rw-r--r--tools/AutoTests/TemplateProjects2005/Test2/Check/foo.h19
-rw-r--r--tools/AutoTests/TemplateProjects2005/Test2/Check/foo.qrc4
-rw-r--r--tools/AutoTests/TemplateProjects2005/Test2/Check/foo.ui23
-rw-r--r--tools/AutoTests/TemplateProjects2005/Test2/Check/main.cpp25
-rw-r--r--tools/AutoTests/TemplateProjects2005/Test2/Check/subfolder/sub.cpp13
-rw-r--r--tools/AutoTests/TemplateProjects2005/Test2/Check/test.cpp1
-rw-r--r--tools/AutoTests/TemplateProjects2005/Test2/Check/test.h0
-rw-r--r--tools/AutoTests/TemplateProjects2005/Test2/Test2.sln23
-rw-r--r--tools/AutoTests/TemplateProjects2005/Test2pch/Check/Check.vcproj463
-rw-r--r--tools/AutoTests/TemplateProjects2005/Test2pch/Check/bar.cpp12
-rw-r--r--tools/AutoTests/TemplateProjects2005/Test2pch/Check/foo.cpp15
-rw-r--r--tools/AutoTests/TemplateProjects2005/Test2pch/Check/foo.h19
-rw-r--r--tools/AutoTests/TemplateProjects2005/Test2pch/Check/foo.qrc4
-rw-r--r--tools/AutoTests/TemplateProjects2005/Test2pch/Check/foo.ui23
-rw-r--r--tools/AutoTests/TemplateProjects2005/Test2pch/Check/main.cpp26
-rw-r--r--tools/AutoTests/TemplateProjects2005/Test2pch/Check/pch.cpp1
-rw-r--r--tools/AutoTests/TemplateProjects2005/Test2pch/Check/pch.h0
-rw-r--r--tools/AutoTests/TemplateProjects2005/Test2pch/Check/subfolder/sub.cpp13
-rw-r--r--tools/AutoTests/TemplateProjects2005/Test2pch/Check/test.cpp2
-rw-r--r--tools/AutoTests/TemplateProjects2005/Test2pch/Check/test.h0
-rw-r--r--tools/AutoTests/TemplateProjects2005/Test2pch/Test2pch.sln23
-rw-r--r--tools/AutoTests/TemplateProjects2005/Test3/Check/Check.vcproj576
-rw-r--r--tools/AutoTests/TemplateProjects2005/Test3/Check/bar.cpp12
-rw-r--r--tools/AutoTests/TemplateProjects2005/Test3/Check/foo.cpp13
-rw-r--r--tools/AutoTests/TemplateProjects2005/Test3/Check/foo.h19
-rw-r--r--tools/AutoTests/TemplateProjects2005/Test3/Check/foo.qrc4
-rw-r--r--tools/AutoTests/TemplateProjects2005/Test3/Check/foo.ui23
-rw-r--r--tools/AutoTests/TemplateProjects2005/Test3/Check/main.cpp7
-rw-r--r--tools/AutoTests/TemplateProjects2005/Test3/Test3.sln23
-rw-r--r--tools/AutoTests/TemplateProjects2005/Test3pch/Check/Check.vcproj593
-rw-r--r--tools/AutoTests/TemplateProjects2005/Test3pch/Check/bar.cpp13
-rw-r--r--tools/AutoTests/TemplateProjects2005/Test3pch/Check/foo.cpp14
-rw-r--r--tools/AutoTests/TemplateProjects2005/Test3pch/Check/foo.h19
-rw-r--r--tools/AutoTests/TemplateProjects2005/Test3pch/Check/foo.qrc4
-rw-r--r--tools/AutoTests/TemplateProjects2005/Test3pch/Check/foo.ui23
-rw-r--r--tools/AutoTests/TemplateProjects2005/Test3pch/Check/main.cpp8
-rw-r--r--tools/AutoTests/TemplateProjects2005/Test3pch/Check/pch.cpp1
-rw-r--r--tools/AutoTests/TemplateProjects2005/Test3pch/Check/pch.h0
-rw-r--r--tools/AutoTests/TemplateProjects2005/Test3pch/Test3pch.sln26
-rw-r--r--tools/AutoTests/TemplateProjects2005/Test4/Check/Check.vcproj397
-rw-r--r--tools/AutoTests/TemplateProjects2005/Test4/Check/bar.cpp12
-rw-r--r--tools/AutoTests/TemplateProjects2005/Test4/Check/foo.cpp14
-rw-r--r--tools/AutoTests/TemplateProjects2005/Test4/Check/foo.h19
-rw-r--r--tools/AutoTests/TemplateProjects2005/Test4/Check/foo.qrc4
-rw-r--r--tools/AutoTests/TemplateProjects2005/Test4/Check/foo.ui23
-rw-r--r--tools/AutoTests/TemplateProjects2005/Test4/Check/main.cpp23
-rw-r--r--tools/AutoTests/TemplateProjects2005/Test4/Check/stdafx.cpp1
-rw-r--r--tools/AutoTests/TemplateProjects2005/Test4/Check/stdafx.h0
-rw-r--r--tools/AutoTests/TemplateProjects2005/Test4/Check/test.cpp1
-rw-r--r--tools/AutoTests/TemplateProjects2005/Test4/Check/test.h0
-rw-r--r--tools/AutoTests/TemplateProjects2005/Test4/Test4.sln23
-rw-r--r--tools/AutoTests/TemplateProjects2008/Test1/Check/Check.vcproj324
-rw-r--r--tools/AutoTests/TemplateProjects2008/Test1/Check/bar.cpp12
-rw-r--r--tools/AutoTests/TemplateProjects2008/Test1/Check/foo.cpp13
-rw-r--r--tools/AutoTests/TemplateProjects2008/Test1/Check/foo.h19
-rw-r--r--tools/AutoTests/TemplateProjects2008/Test1/Check/foo.qrc4
-rw-r--r--tools/AutoTests/TemplateProjects2008/Test1/Check/foo.ui23
-rw-r--r--tools/AutoTests/TemplateProjects2008/Test1/Check/main.cpp24
-rw-r--r--tools/AutoTests/TemplateProjects2008/Test1/Check/subfolder/sub.cpp12
-rw-r--r--tools/AutoTests/TemplateProjects2008/Test1/Check/test.cpp1
-rw-r--r--tools/AutoTests/TemplateProjects2008/Test1/Check/test.h0
-rw-r--r--tools/AutoTests/TemplateProjects2008/Test1/Test1.sln23
-rw-r--r--tools/AutoTests/TemplateProjects2008/Test1pch/Check/Check.vcproj342
-rw-r--r--tools/AutoTests/TemplateProjects2008/Test1pch/Check/bar.cpp12
-rw-r--r--tools/AutoTests/TemplateProjects2008/Test1pch/Check/foo.cpp14
-rw-r--r--tools/AutoTests/TemplateProjects2008/Test1pch/Check/foo.h19
-rw-r--r--tools/AutoTests/TemplateProjects2008/Test1pch/Check/foo.qrc4
-rw-r--r--tools/AutoTests/TemplateProjects2008/Test1pch/Check/foo.ui23
-rw-r--r--tools/AutoTests/TemplateProjects2008/Test1pch/Check/main.cpp25
-rw-r--r--tools/AutoTests/TemplateProjects2008/Test1pch/Check/pch.cpp1
-rw-r--r--tools/AutoTests/TemplateProjects2008/Test1pch/Check/pch.h0
-rw-r--r--tools/AutoTests/TemplateProjects2008/Test1pch/Check/subfolder/sub.cpp13
-rw-r--r--tools/AutoTests/TemplateProjects2008/Test1pch/Check/test.cpp1
-rw-r--r--tools/AutoTests/TemplateProjects2008/Test1pch/Check/test.h0
-rw-r--r--tools/AutoTests/TemplateProjects2008/Test1pch/Test1pch.sln23
-rw-r--r--tools/AutoTests/TemplateProjects2008/Test2/Check/Check.vcproj388
-rw-r--r--tools/AutoTests/TemplateProjects2008/Test2/Check/bar.cpp12
-rw-r--r--tools/AutoTests/TemplateProjects2008/Test2/Check/foo.cpp14
-rw-r--r--tools/AutoTests/TemplateProjects2008/Test2/Check/foo.h19
-rw-r--r--tools/AutoTests/TemplateProjects2008/Test2/Check/foo.qrc4
-rw-r--r--tools/AutoTests/TemplateProjects2008/Test2/Check/foo.ui23
-rw-r--r--tools/AutoTests/TemplateProjects2008/Test2/Check/main.cpp25
-rw-r--r--tools/AutoTests/TemplateProjects2008/Test2/Check/subfolder/sub.cpp13
-rw-r--r--tools/AutoTests/TemplateProjects2008/Test2/Check/test.cpp1
-rw-r--r--tools/AutoTests/TemplateProjects2008/Test2/Check/test.h0
-rw-r--r--tools/AutoTests/TemplateProjects2008/Test2/Test2.sln23
-rw-r--r--tools/AutoTests/TemplateProjects2008/Test2pch/Check/Check.vcproj406
-rw-r--r--tools/AutoTests/TemplateProjects2008/Test2pch/Check/bar.cpp12
-rw-r--r--tools/AutoTests/TemplateProjects2008/Test2pch/Check/foo.cpp15
-rw-r--r--tools/AutoTests/TemplateProjects2008/Test2pch/Check/foo.h19
-rw-r--r--tools/AutoTests/TemplateProjects2008/Test2pch/Check/foo.qrc4
-rw-r--r--tools/AutoTests/TemplateProjects2008/Test2pch/Check/foo.ui23
-rw-r--r--tools/AutoTests/TemplateProjects2008/Test2pch/Check/main.cpp26
-rw-r--r--tools/AutoTests/TemplateProjects2008/Test2pch/Check/pch.cpp1
-rw-r--r--tools/AutoTests/TemplateProjects2008/Test2pch/Check/pch.h0
-rw-r--r--tools/AutoTests/TemplateProjects2008/Test2pch/Check/subfolder/sub.cpp13
-rw-r--r--tools/AutoTests/TemplateProjects2008/Test2pch/Check/test.cpp2
-rw-r--r--tools/AutoTests/TemplateProjects2008/Test2pch/Check/test.h0
-rw-r--r--tools/AutoTests/TemplateProjects2008/Test2pch/Test2pch.sln23
-rw-r--r--tools/AutoTests/TemplateProjects2008/Test3/Check/Check.vcproj476
-rw-r--r--tools/AutoTests/TemplateProjects2008/Test3/Check/bar.cpp12
-rw-r--r--tools/AutoTests/TemplateProjects2008/Test3/Check/foo.cpp13
-rw-r--r--tools/AutoTests/TemplateProjects2008/Test3/Check/foo.h19
-rw-r--r--tools/AutoTests/TemplateProjects2008/Test3/Check/foo.qrc4
-rw-r--r--tools/AutoTests/TemplateProjects2008/Test3/Check/foo.ui23
-rw-r--r--tools/AutoTests/TemplateProjects2008/Test3/Check/main.cpp7
-rw-r--r--tools/AutoTests/TemplateProjects2008/Test3/Test3.sln23
-rw-r--r--tools/AutoTests/TemplateProjects2008/Test3pch/Check/Check.vcproj494
-rw-r--r--tools/AutoTests/TemplateProjects2008/Test3pch/Check/bar.cpp13
-rw-r--r--tools/AutoTests/TemplateProjects2008/Test3pch/Check/foo.cpp14
-rw-r--r--tools/AutoTests/TemplateProjects2008/Test3pch/Check/foo.h19
-rw-r--r--tools/AutoTests/TemplateProjects2008/Test3pch/Check/foo.qrc4
-rw-r--r--tools/AutoTests/TemplateProjects2008/Test3pch/Check/foo.ui23
-rw-r--r--tools/AutoTests/TemplateProjects2008/Test3pch/Check/main.cpp8
-rw-r--r--tools/AutoTests/TemplateProjects2008/Test3pch/Check/pch.cpp1
-rw-r--r--tools/AutoTests/TemplateProjects2008/Test3pch/Check/pch.h0
-rw-r--r--tools/AutoTests/TemplateProjects2008/Test3pch/Test3pch.sln26
-rw-r--r--tools/AutoTests/TemplateProjects2008/Test4/Check/Check.vcproj377
-rw-r--r--tools/AutoTests/TemplateProjects2008/Test4/Check/bar.cpp12
-rw-r--r--tools/AutoTests/TemplateProjects2008/Test4/Check/foo.cpp14
-rw-r--r--tools/AutoTests/TemplateProjects2008/Test4/Check/foo.h19
-rw-r--r--tools/AutoTests/TemplateProjects2008/Test4/Check/foo.qrc4
-rw-r--r--tools/AutoTests/TemplateProjects2008/Test4/Check/foo.ui23
-rw-r--r--tools/AutoTests/TemplateProjects2008/Test4/Check/main.cpp23
-rw-r--r--tools/AutoTests/TemplateProjects2008/Test4/Check/stdafx.cpp1
-rw-r--r--tools/AutoTests/TemplateProjects2008/Test4/Check/stdafx.h0
-rw-r--r--tools/AutoTests/TemplateProjects2008/Test4/Check/test.cpp1
-rw-r--r--tools/AutoTests/TemplateProjects2008/Test4/Check/test.h0
-rw-r--r--tools/AutoTests/TemplateProjects2008/Test4/Check/test.pchbin786432 -> 0 bytes
-rw-r--r--tools/AutoTests/TemplateProjects2008/Test4/Test4.sln23
-rw-r--r--tools/AutoTests/TemplateProjects2010/Test1/Check/Check.vcxproj134
-rw-r--r--tools/AutoTests/TemplateProjects2010/Test1/Check/Check.vcxproj.filters54
-rw-r--r--tools/AutoTests/TemplateProjects2010/Test1/Check/bar.cpp12
-rw-r--r--tools/AutoTests/TemplateProjects2010/Test1/Check/foo.cpp13
-rw-r--r--tools/AutoTests/TemplateProjects2010/Test1/Check/foo.h19
-rw-r--r--tools/AutoTests/TemplateProjects2010/Test1/Check/foo.qrc4
-rw-r--r--tools/AutoTests/TemplateProjects2010/Test1/Check/foo.ui23
-rw-r--r--tools/AutoTests/TemplateProjects2010/Test1/Check/main.cpp24
-rw-r--r--tools/AutoTests/TemplateProjects2010/Test1/Check/subfolder/sub.cpp12
-rw-r--r--tools/AutoTests/TemplateProjects2010/Test1/Check/test.cpp1
-rw-r--r--tools/AutoTests/TemplateProjects2010/Test1/Check/test.h0
-rw-r--r--tools/AutoTests/TemplateProjects2010/Test1/Test1.sln23
-rw-r--r--tools/AutoTests/TemplateProjects2010/Test1pch/Check/Check.vcxproj140
-rw-r--r--tools/AutoTests/TemplateProjects2010/Test1pch/Check/Check.vcxproj.filters60
-rw-r--r--tools/AutoTests/TemplateProjects2010/Test1pch/Check/bar.cpp12
-rw-r--r--tools/AutoTests/TemplateProjects2010/Test1pch/Check/foo.cpp14
-rw-r--r--tools/AutoTests/TemplateProjects2010/Test1pch/Check/foo.h19
-rw-r--r--tools/AutoTests/TemplateProjects2010/Test1pch/Check/foo.qrc4
-rw-r--r--tools/AutoTests/TemplateProjects2010/Test1pch/Check/foo.ui23
-rw-r--r--tools/AutoTests/TemplateProjects2010/Test1pch/Check/main.cpp25
-rw-r--r--tools/AutoTests/TemplateProjects2010/Test1pch/Check/pch.cpp1
-rw-r--r--tools/AutoTests/TemplateProjects2010/Test1pch/Check/pch.h0
-rw-r--r--tools/AutoTests/TemplateProjects2010/Test1pch/Check/subfolder/sub.cpp13
-rw-r--r--tools/AutoTests/TemplateProjects2010/Test1pch/Check/test.cpp1
-rw-r--r--tools/AutoTests/TemplateProjects2010/Test1pch/Check/test.h0
-rw-r--r--tools/AutoTests/TemplateProjects2010/Test1pch/Test1pch.sln23
-rw-r--r--tools/AutoTests/TemplateProjects2010/Test2/Check/Check.vcxproj180
-rw-r--r--tools/AutoTests/TemplateProjects2010/Test2/Check/Check.vcxproj.filters88
-rw-r--r--tools/AutoTests/TemplateProjects2010/Test2/Check/bar.cpp12
-rw-r--r--tools/AutoTests/TemplateProjects2010/Test2/Check/foo.cpp14
-rw-r--r--tools/AutoTests/TemplateProjects2010/Test2/Check/foo.h19
-rw-r--r--tools/AutoTests/TemplateProjects2010/Test2/Check/foo.qrc4
-rw-r--r--tools/AutoTests/TemplateProjects2010/Test2/Check/foo.ui23
-rw-r--r--tools/AutoTests/TemplateProjects2010/Test2/Check/main.cpp25
-rw-r--r--tools/AutoTests/TemplateProjects2010/Test2/Check/subfolder/sub.cpp13
-rw-r--r--tools/AutoTests/TemplateProjects2010/Test2/Check/test.cpp1
-rw-r--r--tools/AutoTests/TemplateProjects2010/Test2/Check/test.h0
-rw-r--r--tools/AutoTests/TemplateProjects2010/Test2/Test2.sln23
-rw-r--r--tools/AutoTests/TemplateProjects2010/Test2pch/Check/Check.vcxproj184
-rw-r--r--tools/AutoTests/TemplateProjects2010/Test2pch/Check/Check.vcxproj.filters94
-rw-r--r--tools/AutoTests/TemplateProjects2010/Test2pch/Check/bar.cpp12
-rw-r--r--tools/AutoTests/TemplateProjects2010/Test2pch/Check/foo.cpp15
-rw-r--r--tools/AutoTests/TemplateProjects2010/Test2pch/Check/foo.h19
-rw-r--r--tools/AutoTests/TemplateProjects2010/Test2pch/Check/foo.qrc4
-rw-r--r--tools/AutoTests/TemplateProjects2010/Test2pch/Check/foo.ui23
-rw-r--r--tools/AutoTests/TemplateProjects2010/Test2pch/Check/main.cpp26
-rw-r--r--tools/AutoTests/TemplateProjects2010/Test2pch/Check/pch.cpp1
-rw-r--r--tools/AutoTests/TemplateProjects2010/Test2pch/Check/pch.h0
-rw-r--r--tools/AutoTests/TemplateProjects2010/Test2pch/Check/subfolder/sub.cpp13
-rw-r--r--tools/AutoTests/TemplateProjects2010/Test2pch/Check/test.cpp2
-rw-r--r--tools/AutoTests/TemplateProjects2010/Test2pch/Check/test.h0
-rw-r--r--tools/AutoTests/TemplateProjects2010/Test2pch/Test2pch.sln23
-rw-r--r--tools/AutoTests/TemplateProjects2010/Test3/Check/Check.vcxproj223
-rw-r--r--tools/AutoTests/TemplateProjects2010/Test3/Check/Check.vcxproj.filters87
-rw-r--r--tools/AutoTests/TemplateProjects2010/Test3/Check/bar.cpp12
-rw-r--r--tools/AutoTests/TemplateProjects2010/Test3/Check/foo.cpp13
-rw-r--r--tools/AutoTests/TemplateProjects2010/Test3/Check/foo.h19
-rw-r--r--tools/AutoTests/TemplateProjects2010/Test3/Check/foo.qrc4
-rw-r--r--tools/AutoTests/TemplateProjects2010/Test3/Check/foo.ui23
-rw-r--r--tools/AutoTests/TemplateProjects2010/Test3/Check/main.cpp7
-rw-r--r--tools/AutoTests/TemplateProjects2010/Test3/Test3.sln26
-rw-r--r--tools/AutoTests/TemplateProjects2010/Test3pch/Check/Check.vcxproj227
-rw-r--r--tools/AutoTests/TemplateProjects2010/Test3pch/Check/Check.vcxproj.filters93
-rw-r--r--tools/AutoTests/TemplateProjects2010/Test3pch/Check/bar.cpp13
-rw-r--r--tools/AutoTests/TemplateProjects2010/Test3pch/Check/foo.cpp14
-rw-r--r--tools/AutoTests/TemplateProjects2010/Test3pch/Check/foo.h19
-rw-r--r--tools/AutoTests/TemplateProjects2010/Test3pch/Check/foo.qrc4
-rw-r--r--tools/AutoTests/TemplateProjects2010/Test3pch/Check/foo.ui23
-rw-r--r--tools/AutoTests/TemplateProjects2010/Test3pch/Check/main.cpp8
-rw-r--r--tools/AutoTests/TemplateProjects2010/Test3pch/Check/pch.cpp1
-rw-r--r--tools/AutoTests/TemplateProjects2010/Test3pch/Check/pch.h0
-rw-r--r--tools/AutoTests/TemplateProjects2010/Test3pch/Test3pch.sln23
-rw-r--r--tools/AutoTests/TemplateProjects2010/Test4/Check/Check.vcxproj162
-rw-r--r--tools/AutoTests/TemplateProjects2010/Test4/Check/Check.vcxproj.filters75
-rw-r--r--tools/AutoTests/TemplateProjects2010/Test4/Check/bar.cpp12
-rw-r--r--tools/AutoTests/TemplateProjects2010/Test4/Check/foo.cpp14
-rw-r--r--tools/AutoTests/TemplateProjects2010/Test4/Check/foo.h19
-rw-r--r--tools/AutoTests/TemplateProjects2010/Test4/Check/foo.qrc4
-rw-r--r--tools/AutoTests/TemplateProjects2010/Test4/Check/foo.ui23
-rw-r--r--tools/AutoTests/TemplateProjects2010/Test4/Check/main.cpp23
-rw-r--r--tools/AutoTests/TemplateProjects2010/Test4/Check/stdafx.cpp1
-rw-r--r--tools/AutoTests/TemplateProjects2010/Test4/Check/stdafx.h0
-rw-r--r--tools/AutoTests/TemplateProjects2010/Test4/Check/test.cpp1
-rw-r--r--tools/AutoTests/TemplateProjects2010/Test4/Check/test.h0
-rw-r--r--tools/AutoTests/TemplateProjects2010/Test4/Check/test.pchbin786432 -> 0 bytes
-rw-r--r--tools/AutoTests/TemplateProjects2010/Test4/Test4.sln23
-rw-r--r--tools/AutoTests/Tools/InstallIntegration.bat1
-rw-r--r--tools/AutoTests/Tools/UDPClient.exebin5120 -> 0 bytes
-rw-r--r--tools/AutoTests/Tools/vsipTest.bat17
-rw-r--r--tools/AutoTests/connect.cs2080
-rw-r--r--tools/Qt4EEAddin/autoexp.dat-autoexpand200513
-rw-r--r--tools/Qt4EEAddin/autoexp.dat-autoexpand200813
-rw-r--r--tools/Qt4EEAddin/autoexp.dat-autoexpand201013
-rw-r--r--tools/Qt4EEAddin/autoexp.dat-autoexpand201213
-rw-r--r--tools/Qt4EEAddin/autoexp.dat-autoexpand201313
-rw-r--r--tools/Qt4EEAddin/autoexp.dat-visualizer2005686
-rw-r--r--tools/Qt4EEAddin/autoexp.dat-visualizer20081511
-rw-r--r--tools/Qt4EEAddin/autoexp.dat-visualizer20101511
-rw-r--r--tools/Qt4EEAddin/autoexp.dat-visualizer20121511
-rw-r--r--tools/Qt4EEAddin/autoexp.dat-visualizer20131481
-rw-r--r--tools/Qt4EEAddin/autoexp.dat_entries.txt31
-rw-r--r--tools/Qt4EEAddin/qt5.natvis682
-rw-r--r--tools/Qt4EEAddin/test/main.cpp180
-rw-r--r--tools/Qt4EEAddin/test/test.pro13
-rw-r--r--tools/buildAddin/buildAddin.cmd156
-rw-r--r--tools/buildAddin/buildAddin_config.cmd_example14
-rw-r--r--tools/qmakefilereader/evalhandler.cpp54
-rw-r--r--tools/qmakefilereader/evalhandler.h46
-rw-r--r--tools/qmakefilereader/evaluator/README6
-rw-r--r--tools/qmakefilereader/evaluator/ioutils.cpp155
-rw-r--r--tools/qmakefilereader/evaluator/ioutils.h70
-rw-r--r--tools/qmakefilereader/evaluator/proitems.cpp450
-rw-r--r--tools/qmakefilereader/evaluator/proitems.h384
-rw-r--r--tools/qmakefilereader/evaluator/qmake_global.h55
-rw-r--r--tools/qmakefilereader/evaluator/qmakebuiltins.cpp1635
-rw-r--r--tools/qmakefilereader/evaluator/qmakeevaluator.cpp2026
-rw-r--r--tools/qmakefilereader/evaluator/qmakeevaluator.h294
-rw-r--r--tools/qmakefilereader/evaluator/qmakeevaluator_p.h94
-rw-r--r--tools/qmakefilereader/evaluator/qmakeglobals.cpp355
-rw-r--r--tools/qmakefilereader/evaluator/qmakeglobals.h160
-rw-r--r--tools/qmakefilereader/evaluator/qmakeparser.cpp1212
-rw-r--r--tools/qmakefilereader/evaluator/qmakeparser.h210
-rw-r--r--tools/qmakefilereader/main.cpp87
-rw-r--r--tools/qmakefilereader/qmakedataprovider.cpp142
-rw-r--r--tools/qmakefilereader/qmakedataprovider.h56
-rw-r--r--tools/qmakefilereader/qmakefilereader.pri25
-rw-r--r--tools/qmakefilereader/qmakefilereader.pro16
-rw-r--r--tools/qrceditor/main.cpp40
-rw-r--r--tools/qrceditor/mainwindow.cpp229
-rw-r--r--tools/qrceditor/mainwindow.h67
-rw-r--r--tools/qrceditor/qrceditor.icobin5974 -> 0 bytes
-rw-r--r--tools/qrceditor/qrceditor.pro20
-rw-r--r--tools/qrceditor/qrceditor.rc1
-rw-r--r--tools/qrceditor/shared/qrceditor.cpp423
-rw-r--r--tools/qrceditor/shared/qrceditor.h105
-rw-r--r--tools/qrceditor/shared/qrceditor.pri20
-rw-r--r--tools/qrceditor/shared/qrceditor.ui127
-rw-r--r--tools/qrceditor/shared/resourcefile.cpp992
-rw-r--r--tools/qrceditor/shared/resourcefile_p.h262
-rw-r--r--tools/qrceditor/shared/resourceview.cpp663
-rw-r--r--tools/qrceditor/shared/resourceview.h180
-rw-r--r--tools/qrceditor/shared/undocommands.cpp185
-rw-r--r--tools/qrceditor/shared/undocommands_p.h160
-rw-r--r--tools/qtappwrapper/EditorServer.cs333
-rw-r--r--tools/qtappwrapper/Program.cs82
-rw-r--r--tools/qtappwrapper/Properties/AssemblyInfo.cs64
-rw-r--r--tools/qtappwrapper/Properties/Resources.Designer.cs63
-rw-r--r--tools/qtappwrapper/Properties/Resources.resx117
-rw-r--r--tools/qtappwrapper/Properties/Settings.Designer.cs26
-rw-r--r--tools/qtappwrapper/Properties/Settings.settings7
-rw-r--r--tools/qtappwrapper/qt5appwrapper2008.csproj137
-rw-r--r--tools/qtappwrapper/qt5appwrapper2008.sln20
-rw-r--r--tools/qtappwrapper/qt5appwrapper2010.csproj144
-rw-r--r--tools/qtappwrapper/qt5appwrapper2010.sln20
-rw-r--r--tools/qtappwrapper/qt5appwrapper2012.csproj144
-rw-r--r--tools/qtappwrapper/qt5appwrapper2012.sln20
-rw-r--r--tools/qtappwrapper/qt5appwrapper2013.csproj144
-rw-r--r--tools/qtappwrapper/qt5appwrapper2013.sln22
-rw-r--r--tools/qtappwrapper/qtappwrapper.icobin5974 -> 0 bytes
-rw-r--r--tools/tools.pro5
689 files changed, 0 insertions, 96482 deletions
diff --git a/.gitignore b/.gitignore
index 8334acab..a613ece4 100644
--- a/.gitignore
+++ b/.gitignore
@@ -15,13 +15,6 @@ release/
Release/
GeneratedFiles/
help/test
-Qt4VS2003/Qt4VS2003Ui/PlatformDefs.h
-Qt4VS2003/ComWrappers/FormEditor/FormEditor.vcproj*
-Qt4VS2003/ComWrappers/FormEditor/FormEditor.sln
-Qt4VS2003/ComWrappers/FormEditor/*.dll
-Qt4VS2003/ComWrappers/qmakewrapper/*.dll
-Qt4VS2003/Doc/html
-Qt4VS2003/Qt4VSAddin/StringResources*.resources
*.UnmanagedRegistration.cache
Trolltech.Qt4VS200?Base.xml
*_wrapper.bat
diff --git a/Qt4VS2003/Doc/.gitignore b/Qt4VS2003/Doc/.gitignore
deleted file mode 100644
index 9b1ca59c..00000000
--- a/Qt4VS2003/Doc/.gitignore
+++ /dev/null
@@ -1 +0,0 @@
-stupid_include_hack.qdocconf
diff --git a/Qt4VS2003/Doc/Tutorial/AddressBook/AddressBook.ico b/Qt4VS2003/Doc/Tutorial/AddressBook/AddressBook.ico
deleted file mode 100644
index 21311e58..00000000
--- a/Qt4VS2003/Doc/Tutorial/AddressBook/AddressBook.ico
+++ /dev/null
Binary files differ
diff --git a/Qt4VS2003/Doc/Tutorial/AddressBook/AddressBook.rc b/Qt4VS2003/Doc/Tutorial/AddressBook/AddressBook.rc
deleted file mode 100644
index 403ed0bd..00000000
--- a/Qt4VS2003/Doc/Tutorial/AddressBook/AddressBook.rc
+++ /dev/null
@@ -1,2 +0,0 @@
-IDI_ICON1 ICON DISCARDABLE "AddressBook.ico"
-
diff --git a/Qt4VS2003/Doc/Tutorial/AddressBook/AddressBook.vcproj b/Qt4VS2003/Doc/Tutorial/AddressBook/AddressBook.vcproj
deleted file mode 100644
index 21a05ade..00000000
--- a/Qt4VS2003/Doc/Tutorial/AddressBook/AddressBook.vcproj
+++ /dev/null
@@ -1,393 +0,0 @@
-<?xml version="1.0" encoding="Windows-1252"?>
-<VisualStudioProject
- ProjectType="Visual C++"
- Version="9.00"
- Name="AddressBook"
- ProjectGUID="{4EF43CC5-BD22-479F-BDAB-6B28011DB195}"
- Keyword="Qt4VSv1.0"
- TargetFrameworkVersion="131072"
- >
- <Platforms>
- <Platform
- Name="Win32"
- />
- </Platforms>
- <ToolFiles>
- </ToolFiles>
- <Configurations>
- <Configuration
- Name="Release|Win32"
- OutputDirectory="$(SolutionDir)$(ConfigurationName)"
- ConfigurationType="1"
- InheritedPropertySheets="$(VCInstallDir)VCProjectDefaults\UpgradeFromVC71.vsprops"
- >
- <Tool
- Name="VCPreBuildEventTool"
- />
- <Tool
- Name="VCCustomBuildTool"
- />
- <Tool
- Name="VCXMLDataGeneratorTool"
- />
- <Tool
- Name="VCWebServiceProxyGeneratorTool"
- />
- <Tool
- Name="VCMIDLTool"
- />
- <Tool
- Name="VCCLCompilerTool"
- AdditionalIncludeDirectories="GeneratedFiles, $(QTDIR)\include, .\GeneratedFiles\Release,$(QTDIR)\include\QtCore,$(QTDIR)\include\QtGui"
- RuntimeLibrary="2"
- DebugInformationFormat="0"
- />
- <Tool
- Name="VCManagedResourceCompilerTool"
- />
- <Tool
- Name="VCResourceCompilerTool"
- />
- <Tool
- Name="VCPreLinkEventTool"
- />
- <Tool
- Name="VCLinkerTool"
- AdditionalDependencies="qtmain.lib QtCore4.lib QtGui4.lib"
- OutputFile="$(OutDir)\$(ProjectName).exe"
- AdditionalLibraryDirectories="$(QTDIR)\lib"
- GenerateDebugInformation="false"
- SubSystem="2"
- RandomizedBaseAddress="1"
- DataExecutionPrevention="0"
- />
- <Tool
- Name="VCALinkTool"
- />
- <Tool
- Name="VCManifestTool"
- />
- <Tool
- Name="VCXDCMakeTool"
- />
- <Tool
- Name="VCBscMakeTool"
- />
- <Tool
- Name="VCFxCopTool"
- />
- <Tool
- Name="VCAppVerifierTool"
- />
- <Tool
- Name="VCPostBuildEventTool"
- />
- </Configuration>
- <Configuration
- Name="Debug|Win32"
- OutputDirectory="$(SolutionDir)$(ConfigurationName)"
- IntermediateDirectory="$(ConfigurationName)"
- ConfigurationType="1"
- InheritedPropertySheets="$(VCInstallDir)VCProjectDefaults\UpgradeFromVC71.vsprops"
- >
- <Tool
- Name="VCPreBuildEventTool"
- />
- <Tool
- Name="VCCustomBuildTool"
- />
- <Tool
- Name="VCXMLDataGeneratorTool"
- />
- <Tool
- Name="VCWebServiceProxyGeneratorTool"
- />
- <Tool
- Name="VCMIDLTool"
- />
- <Tool
- Name="VCCLCompilerTool"
- AdditionalIncludeDirectories="GeneratedFiles, $(QTDIR)\include, .\GeneratedFiles\Debug,$(QTDIR)\include\QtCore,$(QTDIR)\include\QtGui"
- RuntimeLibrary="3"
- DebugInformationFormat="3"
- />
- <Tool
- Name="VCManagedResourceCompilerTool"
- />
- <Tool
- Name="VCResourceCompilerTool"
- />
- <Tool
- Name="VCPreLinkEventTool"
- />
- <Tool
- Name="VCLinkerTool"
- AdditionalDependencies="qtmaind.lib QtCored4.lib QtGuid4.lib"
- OutputFile="$(OutDir)\$(ProjectName).exe"
- AdditionalLibraryDirectories="$(QTDIR)\lib"
- GenerateDebugInformation="true"
- SubSystem="2"
- RandomizedBaseAddress="1"
- DataExecutionPrevention="0"
- />
- <Tool
- Name="VCALinkTool"
- />
- <Tool
- Name="VCManifestTool"
- />
- <Tool
- Name="VCXDCMakeTool"
- />
- <Tool
- Name="VCBscMakeTool"
- />
- <Tool
- Name="VCFxCopTool"
- />
- <Tool
- Name="VCAppVerifierTool"
- />
- <Tool
- Name="VCPostBuildEventTool"
- />
- </Configuration>
- </Configurations>
- <References>
- </References>
- <Files>
- <Filter
- Name="Source Files"
- Filter="cpp;cxx;c;def"
- UniqueIdentifier="{4FC737F1-C7A5-4376-A066-2A32D752A2FF}"
- >
- <File
- RelativePath=".\adddialog.cpp"
- >
- </File>
- <File
- RelativePath=".\addressbook.cpp"
- >
- </File>
- <File
- RelativePath=".\main.cpp"
- >
- </File>
- </Filter>
- <Filter
- Name="Header Files"
- Filter="h"
- UniqueIdentifier="{93995380-89BD-4b04-88EB-625FBE52EBFB}"
- >
- <File
- RelativePath=".\adddialog.h"
- >
- <FileConfiguration
- Name="Release|Win32"
- >
- <Tool
- Name="VCCustomBuildTool"
- Description="Moc&apos;ing adddialog.h..."
- CommandLine="$(QTDIR)\bin\moc.exe -IGeneratedFiles -I$(QTDIR)\include -I.\GeneratedFiles\Release -I$(QTDIR)\include\QtCore -I$(QTDIR)\include\QtGui &quot;.\adddialog.h&quot; -o &quot;GeneratedFiles\Release\moc_adddialog.cpp&quot;&#x0D;&#x0A;"
- AdditionalDependencies="$(QTDIR)\bin\moc.exe;.\adddialog.h"
- Outputs="&quot;GeneratedFiles\Release\moc_adddialog.cpp&quot;"
- />
- </FileConfiguration>
- <FileConfiguration
- Name="Debug|Win32"
- >
- <Tool
- Name="VCCustomBuildTool"
- Description="Moc&apos;ing adddialog.h..."
- CommandLine="$(QTDIR)\bin\moc.exe -IGeneratedFiles -I$(QTDIR)\include -I.\GeneratedFiles\Debug -I$(QTDIR)\include\QtCore -I$(QTDIR)\include\QtGui &quot;.\adddialog.h&quot; -o &quot;GeneratedFiles\Debug\moc_adddialog.cpp&quot;&#x0D;&#x0A;"
- AdditionalDependencies="$(QTDIR)\bin\moc.exe;.\adddialog.h"
- Outputs="&quot;GeneratedFiles\Debug\moc_adddialog.cpp&quot;"
- />
- </FileConfiguration>
- </File>
- <File
- RelativePath=".\addressbook.h"
- >
- <FileConfiguration
- Name="Release|Win32"
- >
- <Tool
- Name="VCCustomBuildTool"
- Description="Moc&apos;ing addressbook.h..."
- CommandLine="$(QTDIR)\bin\moc.exe -IGeneratedFiles -I$(QTDIR)\include -I.\GeneratedFiles\Release -I$(QTDIR)\include\QtCore -I$(QTDIR)\include\QtGui &quot;.\addressbook.h&quot; -o &quot;GeneratedFiles\Release\moc_addressbook.cpp&quot;&#x0D;&#x0A;"
- AdditionalDependencies="$(QTDIR)\bin\moc.exe;.\addressbook.h"
- Outputs="&quot;GeneratedFiles\Release\moc_addressbook.cpp&quot;"
- />
- </FileConfiguration>
- <FileConfiguration
- Name="Debug|Win32"
- >
- <Tool
- Name="VCCustomBuildTool"
- Description="Moc&apos;ing addressbook.h..."
- CommandLine="$(QTDIR)\bin\moc.exe -IGeneratedFiles -I$(QTDIR)\include -I.\GeneratedFiles\Debug -I$(QTDIR)\include\QtCore -I$(QTDIR)\include\QtGui &quot;.\addressbook.h&quot; -o &quot;GeneratedFiles\Debug\moc_addressbook.cpp&quot;&#x0D;&#x0A;"
- AdditionalDependencies="$(QTDIR)\bin\moc.exe;.\addressbook.h"
- Outputs="&quot;GeneratedFiles\Debug\moc_addressbook.cpp&quot;"
- />
- </FileConfiguration>
- </File>
- </Filter>
- <Filter
- Name="Form Files"
- Filter="ui"
- UniqueIdentifier="{99349809-55BA-4b9d-BF79-8FDBB0286EB3}"
- >
- <File
- RelativePath=".\adddialog.ui"
- >
- <FileConfiguration
- Name="Release|Win32"
- >
- <Tool
- Name="VCCustomBuildTool"
- Description="Uic&apos;ing adddialog.ui..."
- CommandLine="&quot;$(QTDIR)\bin\uic.exe&quot; -o &quot;GeneratedFiles\ui_adddialog.h&quot; &quot;.\adddialog.ui&quot;&#x0D;&#x0A;"
- AdditionalDependencies="$(QTDIR)\bin\uic.exe"
- Outputs="&quot;GeneratedFiles\ui_adddialog.h&quot;"
- />
- </FileConfiguration>
- <FileConfiguration
- Name="Debug|Win32"
- >
- <Tool
- Name="VCCustomBuildTool"
- Description="Uic&apos;ing adddialog.ui..."
- CommandLine="&quot;$(QTDIR)\bin\uic.exe&quot; -o &quot;GeneratedFiles\ui_adddialog.h&quot; &quot;.\adddialog.ui&quot;&#x0D;&#x0A;"
- AdditionalDependencies="$(QTDIR)\bin\uic.exe"
- Outputs="&quot;GeneratedFiles\ui_adddialog.h&quot;"
- />
- </FileConfiguration>
- </File>
- <File
- RelativePath=".\addressbook.ui"
- >
- <FileConfiguration
- Name="Release|Win32"
- >
- <Tool
- Name="VCCustomBuildTool"
- Description="Uic&apos;ing addressbook.ui..."
- CommandLine="&quot;$(QTDIR)\bin\uic.exe&quot; -o &quot;GeneratedFiles\ui_addressbook.h&quot; &quot;.\addressbook.ui&quot;&#x0D;&#x0A;"
- AdditionalDependencies="$(QTDIR)\bin\uic.exe"
- Outputs="&quot;GeneratedFiles\ui_addressbook.h&quot;"
- />
- </FileConfiguration>
- <FileConfiguration
- Name="Debug|Win32"
- >
- <Tool
- Name="VCCustomBuildTool"
- Description="Uic&apos;ing addressbook.ui..."
- CommandLine="&quot;$(QTDIR)\bin\uic.exe&quot; -o &quot;GeneratedFiles\ui_addressbook.h&quot; &quot;.\addressbook.ui&quot;&#x0D;&#x0A;"
- AdditionalDependencies="$(QTDIR)\bin\uic.exe"
- Outputs="&quot;GeneratedFiles\ui_addressbook.h&quot;"
- />
- </FileConfiguration>
- </File>
- </Filter>
- <Filter
- Name="Resource Files"
- Filter="qrc;*"
- UniqueIdentifier="{D9D6E242-F8AF-46E4-B9FD-80ECBC20BA3E}"
- ParseFiles="false"
- >
- </Filter>
- <Filter
- Name="Generated Files"
- Filter="moc;h;cpp"
- UniqueIdentifier="{71ED8ED8-ACB9-4CE9-BBE1-E00B30144E11}"
- >
- <File
- RelativePath=".\generatedfiles\debug\moc_adddialog.cpp"
- >
- <FileConfiguration
- Name="Release|Win32"
- ExcludedFromBuild="true"
- >
- <Tool
- Name="VCCLCompilerTool"
- />
- </FileConfiguration>
- </File>
- <File
- RelativePath=".\generatedfiles\release\moc_adddialog.cpp"
- >
- <FileConfiguration
- Name="Debug|Win32"
- ExcludedFromBuild="true"
- >
- <Tool
- Name="VCCLCompilerTool"
- />
- </FileConfiguration>
- </File>
- <File
- RelativePath=".\generatedfiles\debug\moc_addressbook.cpp"
- >
- <FileConfiguration
- Name="Release|Win32"
- ExcludedFromBuild="true"
- >
- <Tool
- Name="VCCLCompilerTool"
- />
- </FileConfiguration>
- </File>
- <File
- RelativePath=".\generatedfiles\release\moc_addressbook.cpp"
- >
- <FileConfiguration
- Name="Debug|Win32"
- ExcludedFromBuild="true"
- >
- <Tool
- Name="VCCLCompilerTool"
- />
- </FileConfiguration>
- </File>
- <File
- RelativePath=".\GeneratedFiles\ui_adddialog.h"
- >
- </File>
- <File
- RelativePath=".\GeneratedFiles\ui_addressbook.h"
- >
- </File>
- </Filter>
- <File
- RelativePath=".\AddressBook.ico"
- >
- <FileConfiguration
- Name="Release|Win32"
- >
- <Tool
- Name="VCCustomBuildTool"
- Description="Creating windows resources..."
- CommandLine="rc.exe /fo &quot;AddressBook.res&quot; &quot;AddressBook.rc&quot;&#x0D;&#x0A;"
- Outputs="AddressBook.res"
- />
- </FileConfiguration>
- <FileConfiguration
- Name="Debug|Win32"
- >
- <Tool
- Name="VCCustomBuildTool"
- Description="Creating windows resources..."
- CommandLine="rc.exe /fo &quot;AddressBook.res&quot; &quot;AddressBook.rc&quot;&#x0D;&#x0A;"
- Outputs="AddressBook.res"
- />
- </FileConfiguration>
- </File>
- </Files>
- <Globals>
- <Global
- Name="QtVersion"
- Value="qt-4.0"
- />
- </Globals>
-</VisualStudioProject>
diff --git a/Qt4VS2003/Doc/Tutorial/AddressBook/adddialog.cpp b/Qt4VS2003/Doc/Tutorial/AddressBook/adddialog.cpp
deleted file mode 100644
index 4094f597..00000000
--- a/Qt4VS2003/Doc/Tutorial/AddressBook/adddialog.cpp
+++ /dev/null
@@ -1,12 +0,0 @@
-#include "adddialog.h"
-
-AddDialog::AddDialog(QWidget *parent)
- : QDialog(parent)
-{
- setupUi(this);
-}
-
-AddDialog::~AddDialog()
-{
-
-}
diff --git a/Qt4VS2003/Doc/Tutorial/AddressBook/adddialog.h b/Qt4VS2003/Doc/Tutorial/AddressBook/adddialog.h
deleted file mode 100644
index 9cca0ea3..00000000
--- a/Qt4VS2003/Doc/Tutorial/AddressBook/adddialog.h
+++ /dev/null
@@ -1,18 +0,0 @@
-#ifndef ADDDIALOG_H
-#define ADDDIALOG_H
-
-#include <QDialog>
-#include "ui_adddialog.h"
-
-using namespace Ui;
-
-class AddDialog : public QDialog, public AddDialogClass
-{
- Q_OBJECT
-
-public:
- AddDialog(QWidget *parent = 0);
- ~AddDialog();
-};
-
-#endif // ADDDIALOG_H
diff --git a/Qt4VS2003/Doc/Tutorial/AddressBook/adddialog.ui b/Qt4VS2003/Doc/Tutorial/AddressBook/adddialog.ui
deleted file mode 100644
index 88b3c015..00000000
--- a/Qt4VS2003/Doc/Tutorial/AddressBook/adddialog.ui
+++ /dev/null
@@ -1,126 +0,0 @@
-<ui version="4.0" >
- <author></author>
- <comment></comment>
- <exportmacro></exportmacro>
- <class>AddDialogClass</class>
- <widget class="QDialog" name="AddDialogClass" >
- <property name="geometry" >
- <rect>
- <x>0</x>
- <y>0</y>
- <width>321</width>
- <height>113</height>
- </rect>
- </property>
- <property name="windowTitle" >
- <string>AddDialog</string>
- </property>
- <layout class="QVBoxLayout" >
- <property name="margin" >
- <number>8</number>
- </property>
- <property name="spacing" >
- <number>6</number>
- </property>
- <item>
- <layout class="QGridLayout" >
- <property name="margin" >
- <number>0</number>
- </property>
- <property name="spacing" >
- <number>6</number>
- </property>
- <item row="1" column="1" >
- <widget class="QLineEdit" name="emailEdit" />
- </item>
- <item row="1" column="0" >
- <widget class="QLabel" name="emailText" >
- <property name="text" >
- <string>Email:</string>
- </property>
- </widget>
- </item>
- <item row="0" column="1" >
- <widget class="QLineEdit" name="nameEdit" />
- </item>
- <item row="0" column="0" >
- <widget class="QLabel" name="nameText" >
- <property name="text" >
- <string>Name:</string>
- </property>
- </widget>
- </item>
- </layout>
- </item>
- <item>
- <spacer>
- <property name="orientation" >
- <enum>Qt::Vertical</enum>
- </property>
- <property name="sizeHint" >
- <size>
- <width>20</width>
- <height>40</height>
- </size>
- </property>
- </spacer>
- </item>
- <item>
- <layout class="QHBoxLayout" >
- <property name="margin" >
- <number>0</number>
- </property>
- <property name="spacing" >
- <number>6</number>
- </property>
- <item>
- <spacer>
- <property name="orientation" >
- <enum>Qt::Horizontal</enum>
- </property>
- <property name="sizeHint" >
- <size>
- <width>40</width>
- <height>20</height>
- </size>
- </property>
- </spacer>
- </item>
- <item>
- <widget class="QPushButton" name="okButton" >
- <property name="text" >
- <string>OK</string>
- </property>
- </widget>
- </item>
- </layout>
- </item>
- </layout>
- </widget>
- <layoutdefault spacing="6" margin="11" />
- <pixmapfunction></pixmapfunction>
- <tabstops>
- <tabstop>nameEdit</tabstop>
- <tabstop>emailEdit</tabstop>
- <tabstop>okButton</tabstop>
- </tabstops>
- <resources/>
- <connections>
- <connection>
- <sender>okButton</sender>
- <signal>clicked()</signal>
- <receiver>AddDialogClass</receiver>
- <slot>accept()</slot>
- <hints>
- <hint type="sourcelabel" >
- <x>290</x>
- <y>92</y>
- </hint>
- <hint type="destinationlabel" >
- <x>201</x>
- <y>59</y>
- </hint>
- </hints>
- </connection>
- </connections>
-</ui>
diff --git a/Qt4VS2003/Doc/Tutorial/AddressBook/addressbook.cpp b/Qt4VS2003/Doc/Tutorial/AddressBook/addressbook.cpp
deleted file mode 100644
index 6f382b21..00000000
--- a/Qt4VS2003/Doc/Tutorial/AddressBook/addressbook.cpp
+++ /dev/null
@@ -1,58 +0,0 @@
-#include "addressbook.h"
-#include "adddialog.h"
-
-AddressBook::AddressBook(QWidget *parent)
- : QWidget(parent)
-{
- ui.setupUi(this);
-}
-
-AddressBook::~AddressBook()
-{
-
-}
-
-void AddressBook::on_addButton_clicked()
-{
- AddDialog dialog(this);
-
- if (dialog.exec()) {
- QString name = dialog.nameEdit->text();
- QString email = dialog.emailEdit->text();
-
- if (!name.isEmpty() && !email.isEmpty()) {
- QListWidgetItem *item = new QListWidgetItem(name, ui.addressList);
- item->setData(Qt::UserRole, email);
- ui.addressList->setCurrentItem(item);
- }
- }
-}
-
-void AddressBook::on_addressList_currentItemChanged()
-{
- QListWidgetItem *curItem = ui.addressList->currentItem();
-
- if (curItem) {
- ui.nameLabel->setText("Name: " + curItem->text());
- ui.emailLabel->setText("Email: " + curItem->data(Qt::UserRole).toString());
- } else {
- ui.nameLabel->setText("<No item selected>");
- ui.emailLabel->clear();
- }
-}
-
-void AddressBook::on_deleteButton_clicked()
-{
- QListWidgetItem *curItem = ui.addressList->currentItem();
-
- if (curItem) {
- int row = ui.addressList->row(curItem);
- ui.addressList->takeItem(row);
- delete curItem;
-
- if (ui.addressList->count() > 0)
- ui.addressList->setCurrentRow(0);
- else
- on_addressList_currentItemChanged();
- }
-}
diff --git a/Qt4VS2003/Doc/Tutorial/AddressBook/addressbook.h b/Qt4VS2003/Doc/Tutorial/AddressBook/addressbook.h
deleted file mode 100644
index 0f31a2e1..00000000
--- a/Qt4VS2003/Doc/Tutorial/AddressBook/addressbook.h
+++ /dev/null
@@ -1,24 +0,0 @@
-#ifndef ADDRESSBOOK_H
-#define ADDRESSBOOK_H
-
-#include <QtGui/QWidget>
-#include "ui_addressbook.h"
-
-class AddressBook : public QWidget
-{
- Q_OBJECT
-
-public:
- AddressBook(QWidget *parent = 0);
- ~AddressBook();
-
-private:
- Ui::AddressBookClass ui;
-
-private slots:
- void on_deleteButton_clicked();
- void on_addButton_clicked();
- void on_addressList_currentItemChanged();
-};
-
-#endif // ADDRESSBOOK_H
diff --git a/Qt4VS2003/Doc/Tutorial/AddressBook/addressbook.ui b/Qt4VS2003/Doc/Tutorial/AddressBook/addressbook.ui
deleted file mode 100644
index 66aad7a0..00000000
--- a/Qt4VS2003/Doc/Tutorial/AddressBook/addressbook.ui
+++ /dev/null
@@ -1,86 +0,0 @@
-<ui version="4.0" >
- <author></author>
- <comment></comment>
- <exportmacro></exportmacro>
- <class>AddressBookClass</class>
- <widget class="QWidget" name="AddressBookClass" >
- <property name="geometry" >
- <rect>
- <x>0</x>
- <y>0</y>
- <width>365</width>
- <height>256</height>
- </rect>
- </property>
- <property name="windowTitle" >
- <string>AddressBook</string>
- </property>
- <layout class="QGridLayout" >
- <property name="margin" >
- <number>8</number>
- </property>
- <property name="spacing" >
- <number>6</number>
- </property>
- <item row="0" column="1" >
- <layout class="QVBoxLayout" >
- <property name="margin" >
- <number>0</number>
- </property>
- <property name="spacing" >
- <number>6</number>
- </property>
- <item>
- <widget class="QPushButton" name="addButton" >
- <property name="text" >
- <string>Add</string>
- </property>
- </widget>
- </item>
- <item>
- <widget class="QPushButton" name="deleteButton" >
- <property name="text" >
- <string>Delete</string>
- </property>
- </widget>
- </item>
- <item>
- <spacer>
- <property name="orientation" >
- <enum>Qt::Vertical</enum>
- </property>
- <property name="sizeHint" >
- <size>
- <width>20</width>
- <height>40</height>
- </size>
- </property>
- </spacer>
- </item>
- </layout>
- </item>
- <item row="2" column="0" colspan="2" >
- <widget class="QLabel" name="emailLabel" />
- </item>
- <item row="1" column="0" colspan="2" >
- <widget class="QLabel" name="nameLabel" >
- <property name="text" >
- <string>&lt;No items selected></string>
- </property>
- </widget>
- </item>
- <item row="0" column="0" >
- <widget class="QListWidget" name="addressList" />
- </item>
- </layout>
- </widget>
- <layoutdefault spacing="6" margin="11" />
- <pixmapfunction></pixmapfunction>
- <tabstops>
- <tabstop>addressList</tabstop>
- <tabstop>addButton</tabstop>
- <tabstop>deleteButton</tabstop>
- </tabstops>
- <resources/>
- <connections/>
-</ui>
diff --git a/Qt4VS2003/Doc/Tutorial/AddressBook/main.cpp b/Qt4VS2003/Doc/Tutorial/AddressBook/main.cpp
deleted file mode 100644
index 437a1c83..00000000
--- a/Qt4VS2003/Doc/Tutorial/AddressBook/main.cpp
+++ /dev/null
@@ -1,10 +0,0 @@
-#include <QtGui/QApplication>
-#include "addressbook.h"
-
-int main(int argc, char *argv[])
-{
- QApplication a(argc, argv);
- AddressBook w;
- w.show();
- return a.exec();
-}
diff --git a/Qt4VS2003/Doc/classic.css b/Qt4VS2003/Doc/classic.css
deleted file mode 100644
index f1486f7f..00000000
--- a/Qt4VS2003/Doc/classic.css
+++ /dev/null
@@ -1,126 +0,0 @@
-h3.fn,span.fn
-{
- margin-left: 1cm;
- text-indent: -1cm;
-}
-
-a:link
-{
- color: #004faf;
- text-decoration: none
-}
-
-a:visited
-{
- color: #672967;
- text-decoration: none
-}
-
-a.obsolete
-{
- color: #aa5500;
- text-decoration: none
-}
-
-a.compat
-{
- color: #00aa55;
- text-decoration: none
-}
-
-a.obsolete:visited
-{
- color: #777700;
- text-decoration: none
-}
-
-a.compat:visited
-{
- color: #007777;
- text-decoration: none
-}
-
-td.postheader
-{
- font-family: sans-serif
-}
-
-tr.address
-{
- font-family: sans-serif
-}
-
-body
-{
- background: #ffffff;
- color: black
-}
-
-table tr.odd {
- background: #f0f0f0;
- color: black;
-}
-
-table tr.even {
- background: #e4e4e4;
- color: black;
-}
-
-table.annotated th {
- padding: 3px;
- text-align: left
-}
-
-table.annotated td {
- padding: 3px;
-}
-
-table tr pre
-{
- padding-top: none;
- padding-bottom: none;
- padding-left: none;
- padding-right: none;
- border: none;
- background: none
-}
-
-tr.qt-style
-{
- background: #a2c511;
- color: black
-}
-
-body pre
-{
- padding: 0.2em;
- border: #e7e7e7 1px solid;
- background: #f1f1f1;
- color: black
-}
-
-span.preprocessor, span.preprocessor a
-{
- color: darkblue;
-}
-
-span.comment
-{
- color: darkred;
- font-style: italic
-}
-
-span.string,span.char
-{
- color: darkgreen;
-}
-
-.subtitle
-{
- font-size: 0.8em
-}
-
-.small-subtitle
-{
- font-size: 0.65em
-}
diff --git a/Qt4VS2003/Doc/externallinks.qdoc b/Qt4VS2003/Doc/externallinks.qdoc
deleted file mode 100644
index 2cfb2add..00000000
--- a/Qt4VS2003/Doc/externallinks.qdoc
+++ /dev/null
@@ -1,101 +0,0 @@
-/****************************************************************************
-**
-** Copyright (C) 2016 The Qt Company Ltd.
-** Contact: https://www.qt.io/licensing/
-**
-** This file is part of the documentation of the Qt Toolkit.
-**
-** $QT_BEGIN_LICENSE:FDL$
-** Commercial License Usage
-** Licensees holding valid commercial Qt licenses may use this file in
-** accordance with the commercial license agreement provided with the
-** Software or, alternatively, in accordance with the terms contained in
-** a written agreement between you and The Qt Company. For licensing terms
-** and conditions see https://www.qt.io/terms-conditions. For further
-** information use the contact form at https://www.qt.io/contact-us.
-**
-** GNU Free Documentation License Usage
-** Alternatively, this file may be used under the terms of the GNU Free
-** Documentation License version 1.3 as published by the Free Software
-** Foundation and appearing in the file included in the packaging of
-** this file. Please review the following information to ensure
-** the GNU Free Documentation License version 1.3 requirements
-** will be met: https://www.gnu.org/licenses/fdl-1.3.html.
-** $QT_END_LICENSE$
-**
-****************************************************************************/
-
-/*!
-\externalpage http://doc.qt.io/qt-5/qtdesigner-manual.html
-\title Qt Designer Manual
-*/
-
-/*!
-\externalpage http://doc.qt.io/qt-5/qlistwidget.html
-\title QListWidget
-*/
-
-/*!
-\externalpage http://doc.qt.io/qt-5/qdialog.html
-\title QDialog
-*/
-
-/*!
-\externalpage http://doc.qt.io/qt-5/qlabel.html
-\title QLabel
-*/
-
-/*!
-\externalpage http://doc.qt.io/qt-5/qlineedit.html
-\title QLineEdit
-*/
-
-/*!
-\externalpage http://doc.qt.io/qt-5/qpushbutton.html
-\title QPushButton
-*/
-
-/*!
-\externalpage http://doc.qt.io/qt-5/qabstractbutton.html#clicked
-\title Buttonclicked
-*/
-
-/*!
-\externalpage http://doc.qt.io/qt-5/qdialog.html#accept
-\title QDialog::accept
-*/
-
-/*!
-\externalpage http://doc.qt.io/qt-5/designer-connection-mode.html
-\title Signal and Slots Editing Mode
-*/
-
-/*!
-\externalpage http://doc.qt.io/qt-5/qmetaobject.html#connectSlotsByName
-\title QMetaObject::connectSlotsByName
-*/
-
-/*!
-\externalpage http://doc.qt.io/qt-5/qstring.html
-\title QString
-*/
-
-/*!
-\externalpage http://doc.qt.io/qt-5/qlistwidgetitem.html
-\title QListWidgetItem
-*/
-
-/*!
-\externalpage http://doc.qt.io/qt-5/qlistwidget.html#currentItemChanged
-\title QListWidget::currentItemChanged
-*/
-
-/*!
-\externalpage http://doc.qt.io/qt-5/resources.html
-\title Qt Resource System
-*/
-
-/*!
-\externalpage http://doc.qt.io/qt-5/qtlinguist-index.html
-\title Qt Linguist Manual
-*/
diff --git a/Qt4VS2003/Doc/templates/images/arrow_down.png b/Qt4VS2003/Doc/templates/images/arrow_down.png
deleted file mode 100644
index 9d01e97f..00000000
--- a/Qt4VS2003/Doc/templates/images/arrow_down.png
+++ /dev/null
Binary files differ
diff --git a/Qt4VS2003/Doc/templates/images/bg_l.png b/Qt4VS2003/Doc/templates/images/bg_l.png
deleted file mode 100644
index 90b1da10..00000000
--- a/Qt4VS2003/Doc/templates/images/bg_l.png
+++ /dev/null
Binary files differ
diff --git a/Qt4VS2003/Doc/templates/images/bg_l_blank.png b/Qt4VS2003/Doc/templates/images/bg_l_blank.png
deleted file mode 100644
index 5a9673d8..00000000
--- a/Qt4VS2003/Doc/templates/images/bg_l_blank.png
+++ /dev/null
Binary files differ
diff --git a/Qt4VS2003/Doc/templates/images/bg_ll_blank.png b/Qt4VS2003/Doc/templates/images/bg_ll_blank.png
deleted file mode 100644
index 95a1c45e..00000000
--- a/Qt4VS2003/Doc/templates/images/bg_ll_blank.png
+++ /dev/null
Binary files differ
diff --git a/Qt4VS2003/Doc/templates/images/bg_r.png b/Qt4VS2003/Doc/templates/images/bg_r.png
deleted file mode 100644
index f0fb121d..00000000
--- a/Qt4VS2003/Doc/templates/images/bg_r.png
+++ /dev/null
Binary files differ
diff --git a/Qt4VS2003/Doc/templates/images/bg_ul_blank.png b/Qt4VS2003/Doc/templates/images/bg_ul_blank.png
deleted file mode 100644
index 70512614..00000000
--- a/Qt4VS2003/Doc/templates/images/bg_ul_blank.png
+++ /dev/null
Binary files differ
diff --git a/Qt4VS2003/Doc/templates/images/box_bg.png b/Qt4VS2003/Doc/templates/images/box_bg.png
deleted file mode 100644
index 3322f923..00000000
--- a/Qt4VS2003/Doc/templates/images/box_bg.png
+++ /dev/null
Binary files differ
diff --git a/Qt4VS2003/Doc/templates/images/breadcrumb.png b/Qt4VS2003/Doc/templates/images/breadcrumb.png
deleted file mode 100644
index 0ded5514..00000000
--- a/Qt4VS2003/Doc/templates/images/breadcrumb.png
+++ /dev/null
Binary files differ
diff --git a/Qt4VS2003/Doc/templates/images/bullet_dn.png b/Qt4VS2003/Doc/templates/images/bullet_dn.png
deleted file mode 100644
index f7762472..00000000
--- a/Qt4VS2003/Doc/templates/images/bullet_dn.png
+++ /dev/null
Binary files differ
diff --git a/Qt4VS2003/Doc/templates/images/bullet_gt.png b/Qt4VS2003/Doc/templates/images/bullet_gt.png
deleted file mode 100644
index 7561b4ed..00000000
--- a/Qt4VS2003/Doc/templates/images/bullet_gt.png
+++ /dev/null
Binary files differ
diff --git a/Qt4VS2003/Doc/templates/images/bullet_sq.png b/Qt4VS2003/Doc/templates/images/bullet_sq.png
deleted file mode 100644
index a84845e3..00000000
--- a/Qt4VS2003/Doc/templates/images/bullet_sq.png
+++ /dev/null
Binary files differ
diff --git a/Qt4VS2003/Doc/templates/images/bullet_up.png b/Qt4VS2003/Doc/templates/images/bullet_up.png
deleted file mode 100644
index 7de2f069..00000000
--- a/Qt4VS2003/Doc/templates/images/bullet_up.png
+++ /dev/null
Binary files differ
diff --git a/Qt4VS2003/Doc/templates/images/feedbackground.png b/Qt4VS2003/Doc/templates/images/feedbackground.png
deleted file mode 100644
index 3a38d995..00000000
--- a/Qt4VS2003/Doc/templates/images/feedbackground.png
+++ /dev/null
Binary files differ
diff --git a/Qt4VS2003/Doc/templates/images/header.png b/Qt4VS2003/Doc/templates/images/header.png
deleted file mode 100644
index 3c68d9c5..00000000
--- a/Qt4VS2003/Doc/templates/images/header.png
+++ /dev/null
Binary files differ
diff --git a/Qt4VS2003/Doc/templates/images/header_bg.png b/Qt4VS2003/Doc/templates/images/header_bg.png
deleted file mode 100644
index a436aa61..00000000
--- a/Qt4VS2003/Doc/templates/images/header_bg.png
+++ /dev/null
Binary files differ
diff --git a/Qt4VS2003/Doc/templates/images/horBar.png b/Qt4VS2003/Doc/templates/images/horBar.png
deleted file mode 100644
index 100fe91c..00000000
--- a/Qt4VS2003/Doc/templates/images/horBar.png
+++ /dev/null
Binary files differ
diff --git a/Qt4VS2003/Doc/templates/images/page.png b/Qt4VS2003/Doc/templates/images/page.png
deleted file mode 100644
index 1db151bd..00000000
--- a/Qt4VS2003/Doc/templates/images/page.png
+++ /dev/null
Binary files differ
diff --git a/Qt4VS2003/Doc/templates/images/page_bg.png b/Qt4VS2003/Doc/templates/images/page_bg.png
deleted file mode 100644
index 9b3bd999..00000000
--- a/Qt4VS2003/Doc/templates/images/page_bg.png
+++ /dev/null
Binary files differ
diff --git a/Qt4VS2003/Doc/templates/images/qt_icon.png b/Qt4VS2003/Doc/templates/images/qt_icon.png
deleted file mode 100644
index fbaee358..00000000
--- a/Qt4VS2003/Doc/templates/images/qt_icon.png
+++ /dev/null
Binary files differ
diff --git a/Qt4VS2003/Doc/templates/images/spinner.gif b/Qt4VS2003/Doc/templates/images/spinner.gif
deleted file mode 100644
index 1ed786f2..00000000
--- a/Qt4VS2003/Doc/templates/images/spinner.gif
+++ /dev/null
Binary files differ
diff --git a/Qt4VS2003/Doc/templates/images/sprites-combined.png b/Qt4VS2003/Doc/templates/images/sprites-combined.png
deleted file mode 100644
index 3a48b21f..00000000
--- a/Qt4VS2003/Doc/templates/images/sprites-combined.png
+++ /dev/null
Binary files differ
diff --git a/Qt4VS2003/Doc/templates/scripts/functions.js b/Qt4VS2003/Doc/templates/scripts/functions.js
deleted file mode 100644
index faa4ca49..00000000
--- a/Qt4VS2003/Doc/templates/scripts/functions.js
+++ /dev/null
@@ -1,194 +0,0 @@
-/* START non link areas where cursor should change to pointing hand */
-$('.t_button').mouseover(function() {
- $('.t_button').css('cursor','pointer');
- /*document.getElementById(this.id).style.cursor='pointer';*/
-});
-/* END non link areas */
-$('#smallA').click(function() {
- $('.content .heading,.content h1, .content h2, .content h3, .content p, .content li, .content table').css('font-size','smaller');
- $('.t_button').removeClass('active')
- $(this).addClass('active')
-});
-
-$('#medA').click(function() {
- $('.content .heading').css('font','600 16px/1 Arial');
- $('.content h1').css('font','600 18px/1.2 Arial');
- $('.content h2').css('font','600 16px/1.2 Arial');
- $('.content h3').css('font','600 14px/1.2 Arial');
- $('.content p').css('font','13px/20px Verdana');
- $('.content li').css('font','400 13px/1 Verdana');
- $('.content li').css('line-height','14px');
- $('.content .toc li').css('font', 'normal 10px/1.2 Verdana');
- $('.content table').css('font','13px/1.2 Verdana');
- $('.content .heading').css('font','600 16px/1 Arial');
- $('.content .indexboxcont li').css('font','600 13px/1 Verdana');
- $('.t_button').removeClass('active')
- $(this).addClass('active')
-});
-
-$('#bigA').click(function() {
- $('.content .heading,.content h1, .content h2, .content h3, .content p, .content li, .content table').css('font-size','large');
- $('.content .heading,.content h1, .content h2, .content h3, .content p, .content li, .content table').css('line-height','25px');
- $('.t_button').removeClass('active')
- $(this).addClass('active')
-});
-
-$('.feedclose').click(function() {
- $('.bd').show();
- $('.hd').show();
- $('.footer').show();
- $('#feedbackBox').hide();
- $('#blurpage').hide();
-});
-
-$('.feedback').click(function() {
- $('.bd').hide();
- $('.hd').hide();
- $('.footer').hide();
- $('#feedbackBox').show();
- $('#blurpage').show();
-});
-var lookupCount = 0;
-var articleCount = 0;
-var exampleCount = 0;
-var qturl = ""; // change from "http://doc.qt.nokia.com/4.6/" to 0 so we can have relative links
-
-function processNokiaData(response){
- var propertyTags = response.getElementsByTagName('page');
-
- for (var i=0; i< propertyTags.length; i++) {
- var linkStart = "<li class=\"liveResult\"><a href='"+qturl+"";
- var linkEnd = "</a></li>";
-
- if(propertyTags[i].getElementsByTagName('pageType')[0].firstChild.nodeValue == 'APIPage'){
- lookupCount++;
-
- for (var j=0; j< propertyTags[i].getElementsByTagName('pageWords').length; j++){
- full_li_element = linkStart + propertyTags[i].getElementsByTagName('pageUrl')[j].firstChild.nodeValue;
- full_li_element = full_li_element + "'>" + propertyTags[i].getElementsByTagName('pageTitle')[0].firstChild.nodeValue + linkEnd;
- $('#ul001').append(full_li_element);
- $('#ul001 .defaultLink').css('display','none');
-
- }
- }
-
- if(propertyTags[i].getElementsByTagName('pageType')[0].firstChild.nodeValue == 'Article'){
- articleCount++;
-
- for (var j=0; j< propertyTags[i].getElementsByTagName('pageWords').length; j++){
- full_li_element = linkStart + propertyTags[i].getElementsByTagName('pageUrl')[j].firstChild.nodeValue;
- full_li_element =full_li_element + "'>" + propertyTags[i].getElementsByTagName('pageTitle')[0].firstChild.nodeValue + linkEnd ;
-
- $('#ul002').append(full_li_element);
- $('#ul002 .defaultLink').css('display','none');
-
- }
- }
- if(propertyTags[i].getElementsByTagName('pageType')[0].firstChild.nodeValue == 'Example'){
- exampleCount++;
-
-
- for (var j=0; j< propertyTags[i].getElementsByTagName('pageWords').length; j++){
- full_li_element = linkStart + propertyTags[i].getElementsByTagName('pageUrl')[j].firstChild.nodeValue;
- full_li_element =full_li_element + "'>" + propertyTags[i].getElementsByTagName('pageTitle')[0].firstChild.nodeValue + linkEnd ;
-
- $('#ul003').append(full_li_element);
- $('#ul003 .defaultLink').css('display','none');
-
- }
- }
- if(i==propertyTags.length){$('#pageType').removeClass('loading');}
-
- }
- if(lookupCount > 0){$('#ul001 .menuAlert').remove();$('#ul001').prepend('<li class=\"menuAlert liveResult hit\">Found ' + lookupCount + ' hits</li>');$('#ul001 li').css('display','block');$('.sidebar .search form input').removeClass('loading');}
- if(articleCount > 0){$('#ul002 .menuAlert').remove();$('#ul002').prepend('<li class=\"menuAlert liveResult hit\">Found ' + articleCount + ' hits</li>');$('#ul002 li').css('display','block');}
- if(exampleCount > 0){$('#ul003 .menuAlert').remove();$('#ul003').prepend('<li class=\"menuAlert liveResult hit\">Found ' + articleCount + ' hits</li>');$('#ul003 li').css('display','block');}
-
- if(lookupCount == 0){$('#ul001 .menuAlert').remove();$('#ul001').prepend('<li class=\"menuAlert liveResult noMatch\">Found no result</li>');$('#ul001 li').css('display','block');$('.sidebar .search form input').removeClass('loading');}
- if(articleCount == 0){$('#ul002 .menuAlert').remove();$('#ul002').prepend('<li class=\"menuAlert liveResult noMatch\">Found no result</li>');$('#ul002 li').css('display','block');}
- if(exampleCount == 0){$('#ul003 .menuAlert').remove();$('#ul003').prepend('<li class=\"menuAlert liveResult noMatch\">Found no result</li>');$('#ul003 li').css('display','block');}
- // reset count variables;
- lookupCount=0;
- articleCount = 0;
- exampleCount = 0;
-
-}
-//build regular expression object to find empty string or any number of blank
-var blankRE=/^\s*$/;
-function CheckEmptyAndLoadList()
-{
- var pageUrl = window.location.href;
- var pageVal = $('title').html();
- $('#feedUrl').remove();
- $('#pageVal').remove();
- $('.menuAlert').remove();
- $('#feedform').append('<input id="feedUrl" name="feedUrl" value="'+pageUrl+'" style="display:none;">');
- $('#feedform').append('<input id="pageVal" name="pageVal" value="'+pageVal+'" style="display:none;">');
- $('.liveResult').remove();
- $('.defaultLink').css('display','block');
- var value = document.getElementById('pageType').value;
- if((blankRE.test(value)) || (value.length < 3))
- {
- //empty inputbox
- // load default li elements into the ul if empty
- // loadAllList(); // replaced
- $('.defaultLink').css('display','block');
- // $('.liveResult').css('display','none');
- }else{
- $('.defaultLink').css('display','none');
- }
-}
-/*
-$(window).resize(function(){
-if($(window).width()<400)
- $('body').addClass('offline');
-else
- $('body').removeClass('offline');
- });
- */
-// Loads on doc ready
- $(document).ready(function () {
- //alert(pageUrl);
- //$('#pageUrl').attr('foo',pageUrl);
- var pageTitle = $('title').html();
- var currentString = $('#pageType').val() ;
- if(currentString.length < 1){
- $('.defaultLink').css('display','block');
- CheckEmptyAndLoadList();
- }
-
- $('#pageType').keyup(function () {
- var searchString = $('#pageType').val() ;
- if ((searchString == null) || (searchString.length < 3)) {
- $('#pageType').removeClass('loading');
- $('.liveResult').remove();
- $('.searching').remove();
- CheckEmptyAndLoadList();
- $('.report').remove();
- // debug$('.content').prepend('<li>too short or blank</li>'); // debug
- return;
- }
- if (this.timer) clearTimeout(this.timer);
- this.timer = setTimeout(function () {
- $('#pageType').addClass('loading');
- $('.searching').remove();
- $('.list ul').prepend('<li class="menuAlert searching">Searching...</li>');
- $.ajax({
- contentType: "application/x-www-form-urlencoded",
- url: 'http://' + location.host + '/nokiasearch/GetDataServlet',
- data: 'searchString='+searchString,
- dataType:'xml',
- type: 'post',
- success: function (response, textStatus) {
-
- $('.liveResult').remove();
- $('.searching').remove();
- $('#pageType').removeClass('loading');
- $('.list ul').prepend('<li class="menuAlert searching">Searching...</li>');
- processNokiaData(response);
-
- }
- });
- }, 500);
- });
- });
diff --git a/Qt4VS2003/Doc/templates/scripts/jquery.js b/Qt4VS2003/Doc/templates/scripts/jquery.js
deleted file mode 100644
index 0c7294c9..00000000
--- a/Qt4VS2003/Doc/templates/scripts/jquery.js
+++ /dev/null
@@ -1,152 +0,0 @@
-/*!
- * jQuery JavaScript Library v1.4.1
- * http://jquery.com/
- *
- * Copyright 2010, John Resig
- * Dual licensed under the MIT or GPL Version 2 licenses.
- * http://jquery.org/license
- *
- * Includes Sizzle.js
- * http://sizzlejs.com/
- * Copyright 2010, The Dojo Foundation
- * Released under the MIT, BSD, and GPL Licenses.
- *
- * Date: Mon Jan 25 19:43:33 2010 -0500
- */
-(function(z,v){function la(){if(!c.isReady){try{r.documentElement.doScroll("left")}catch(a){setTimeout(la,1);return}c.ready()}}function Ma(a,b){b.src?c.ajax({url:b.src,async:false,dataType:"script"}):c.globalEval(b.text||b.textContent||b.innerHTML||"");b.parentNode&&b.parentNode.removeChild(b)}function X(a,b,d,f,e,i){var j=a.length;if(typeof b==="object"){for(var n in b)X(a,n,b[n],f,e,d);return a}if(d!==v){f=!i&&f&&c.isFunction(d);for(n=0;n<j;n++)e(a[n],b,f?d.call(a[n],n,e(a[n],b)):d,i);return a}return j?
-e(a[0],b):null}function J(){return(new Date).getTime()}function Y(){return false}function Z(){return true}function ma(a,b,d){d[0].type=a;return c.event.handle.apply(b,d)}function na(a){var b,d=[],f=[],e=arguments,i,j,n,o,m,s,x=c.extend({},c.data(this,"events").live);if(!(a.button&&a.type==="click")){for(o in x){j=x[o];if(j.live===a.type||j.altLive&&c.inArray(a.type,j.altLive)>-1){i=j.data;i.beforeFilter&&i.beforeFilter[a.type]&&!i.beforeFilter[a.type](a)||f.push(j.selector)}else delete x[o]}i=c(a.target).closest(f,
-a.currentTarget);m=0;for(s=i.length;m<s;m++)for(o in x){j=x[o];n=i[m].elem;f=null;if(i[m].selector===j.selector){if(j.live==="mouseenter"||j.live==="mouseleave")f=c(a.relatedTarget).closest(j.selector)[0];if(!f||f!==n)d.push({elem:n,fn:j})}}m=0;for(s=d.length;m<s;m++){i=d[m];a.currentTarget=i.elem;a.data=i.fn.data;if(i.fn.apply(i.elem,e)===false){b=false;break}}return b}}function oa(a,b){return"live."+(a?a+".":"")+b.replace(/\./g,"`").replace(/ /g,"&")}function pa(a){return!a||!a.parentNode||a.parentNode.nodeType===
-11}function qa(a,b){var d=0;b.each(function(){if(this.nodeName===(a[d]&&a[d].nodeName)){var f=c.data(a[d++]),e=c.data(this,f);if(f=f&&f.events){delete e.handle;e.events={};for(var i in f)for(var j in f[i])c.event.add(this,i,f[i][j],f[i][j].data)}}})}function ra(a,b,d){var f,e,i;if(a.length===1&&typeof a[0]==="string"&&a[0].length<512&&a[0].indexOf("<option")<0&&(c.support.checkClone||!sa.test(a[0]))){e=true;if(i=c.fragments[a[0]])if(i!==1)f=i}if(!f){b=b&&b[0]?b[0].ownerDocument||b[0]:r;f=b.createDocumentFragment();
-c.clean(a,b,f,d)}if(e)c.fragments[a[0]]=i?f:1;return{fragment:f,cacheable:e}}function K(a,b){var d={};c.each(ta.concat.apply([],ta.slice(0,b)),function(){d[this]=a});return d}function ua(a){return"scrollTo"in a&&a.document?a:a.nodeType===9?a.defaultView||a.parentWindow:false}var c=function(a,b){return new c.fn.init(a,b)},Na=z.jQuery,Oa=z.$,r=z.document,S,Pa=/^[^<]*(<[\w\W]+>)[^>]*$|^#([\w-]+)$/,Qa=/^.[^:#\[\.,]*$/,Ra=/\S/,Sa=/^(\s|\u00A0)+|(\s|\u00A0)+$/g,Ta=/^<(\w+)\s*\/?>(?:<\/\1>)?$/,O=navigator.userAgent,
-va=false,P=[],L,$=Object.prototype.toString,aa=Object.prototype.hasOwnProperty,ba=Array.prototype.push,Q=Array.prototype.slice,wa=Array.prototype.indexOf;c.fn=c.prototype={init:function(a,b){var d,f;if(!a)return this;if(a.nodeType){this.context=this[0]=a;this.length=1;return this}if(typeof a==="string")if((d=Pa.exec(a))&&(d[1]||!b))if(d[1]){f=b?b.ownerDocument||b:r;if(a=Ta.exec(a))if(c.isPlainObject(b)){a=[r.createElement(a[1])];c.fn.attr.call(a,b,true)}else a=[f.createElement(a[1])];else{a=ra([d[1]],
-[f]);a=(a.cacheable?a.fragment.cloneNode(true):a.fragment).childNodes}}else{if(b=r.getElementById(d[2])){if(b.id!==d[2])return S.find(a);this.length=1;this[0]=b}this.context=r;this.selector=a;return this}else if(!b&&/^\w+$/.test(a)){this.selector=a;this.context=r;a=r.getElementsByTagName(a)}else return!b||b.jquery?(b||S).find(a):c(b).find(a);else if(c.isFunction(a))return S.ready(a);if(a.selector!==v){this.selector=a.selector;this.context=a.context}return c.isArray(a)?this.setArray(a):c.makeArray(a,
-this)},selector:"",jquery:"1.4.1",length:0,size:function(){return this.length},toArray:function(){return Q.call(this,0)},get:function(a){return a==null?this.toArray():a<0?this.slice(a)[0]:this[a]},pushStack:function(a,b,d){a=c(a||null);a.prevObject=this;a.context=this.context;if(b==="find")a.selector=this.selector+(this.selector?" ":"")+d;else if(b)a.selector=this.selector+"."+b+"("+d+")";return a},setArray:function(a){this.length=0;ba.apply(this,a);return this},each:function(a,b){return c.each(this,
-a,b)},ready:function(a){c.bindReady();if(c.isReady)a.call(r,c);else P&&P.push(a);return this},eq:function(a){return a===-1?this.slice(a):this.slice(a,+a+1)},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},slice:function(){return this.pushStack(Q.apply(this,arguments),"slice",Q.call(arguments).join(","))},map:function(a){return this.pushStack(c.map(this,function(b,d){return a.call(b,d,b)}))},end:function(){return this.prevObject||c(null)},push:ba,sort:[].sort,splice:[].splice};
-c.fn.init.prototype=c.fn;c.extend=c.fn.extend=function(){var a=arguments[0]||{},b=1,d=arguments.length,f=false,e,i,j,n;if(typeof a==="boolean"){f=a;a=arguments[1]||{};b=2}if(typeof a!=="object"&&!c.isFunction(a))a={};if(d===b){a=this;--b}for(;b<d;b++)if((e=arguments[b])!=null)for(i in e){j=a[i];n=e[i];if(a!==n)if(f&&n&&(c.isPlainObject(n)||c.isArray(n))){j=j&&(c.isPlainObject(j)||c.isArray(j))?j:c.isArray(n)?[]:{};a[i]=c.extend(f,j,n)}else if(n!==v)a[i]=n}return a};c.extend({noConflict:function(a){z.$=
-Oa;if(a)z.jQuery=Na;return c},isReady:false,ready:function(){if(!c.isReady){if(!r.body)return setTimeout(c.ready,13);c.isReady=true;if(P){for(var a,b=0;a=P[b++];)a.call(r,c);P=null}c.fn.triggerHandler&&c(r).triggerHandler("ready")}},bindReady:function(){if(!va){va=true;if(r.readyState==="complete")return c.ready();if(r.addEventListener){r.addEventListener("DOMContentLoaded",L,false);z.addEventListener("load",c.ready,false)}else if(r.attachEvent){r.attachEvent("onreadystatechange",L);z.attachEvent("onload",
-c.ready);var a=false;try{a=z.frameElement==null}catch(b){}r.documentElement.doScroll&&a&&la()}}},isFunction:function(a){return $.call(a)==="[object Function]"},isArray:function(a){return $.call(a)==="[object Array]"},isPlainObject:function(a){if(!a||$.call(a)!=="[object Object]"||a.nodeType||a.setInterval)return false;if(a.constructor&&!aa.call(a,"constructor")&&!aa.call(a.constructor.prototype,"isPrototypeOf"))return false;var b;for(b in a);return b===v||aa.call(a,b)},isEmptyObject:function(a){for(var b in a)return false;
-return true},error:function(a){throw a;},parseJSON:function(a){if(typeof a!=="string"||!a)return null;if(/^[\],:{}\s]*$/.test(a.replace(/\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4})/g,"@").replace(/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,"]").replace(/(?:^|:|,)(?:\s*\[)+/g,"")))return z.JSON&&z.JSON.parse?z.JSON.parse(a):(new Function("return "+a))();else c.error("Invalid JSON: "+a)},noop:function(){},globalEval:function(a){if(a&&Ra.test(a)){var b=r.getElementsByTagName("head")[0]||
-r.documentElement,d=r.createElement("script");d.type="text/javascript";if(c.support.scriptEval)d.appendChild(r.createTextNode(a));else d.text=a;b.insertBefore(d,b.firstChild);b.removeChild(d)}},nodeName:function(a,b){return a.nodeName&&a.nodeName.toUpperCase()===b.toUpperCase()},each:function(a,b,d){var f,e=0,i=a.length,j=i===v||c.isFunction(a);if(d)if(j)for(f in a){if(b.apply(a[f],d)===false)break}else for(;e<i;){if(b.apply(a[e++],d)===false)break}else if(j)for(f in a){if(b.call(a[f],f,a[f])===false)break}else for(d=
-a[0];e<i&&b.call(d,e,d)!==false;d=a[++e]);return a},trim:function(a){return(a||"").replace(Sa,"")},makeArray:function(a,b){b=b||[];if(a!=null)a.length==null||typeof a==="string"||c.isFunction(a)||typeof a!=="function"&&a.setInterval?ba.call(b,a):c.merge(b,a);return b},inArray:function(a,b){if(b.indexOf)return b.indexOf(a);for(var d=0,f=b.length;d<f;d++)if(b[d]===a)return d;return-1},merge:function(a,b){var d=a.length,f=0;if(typeof b.length==="number")for(var e=b.length;f<e;f++)a[d++]=b[f];else for(;b[f]!==
-v;)a[d++]=b[f++];a.length=d;return a},grep:function(a,b,d){for(var f=[],e=0,i=a.length;e<i;e++)!d!==!b(a[e],e)&&f.push(a[e]);return f},map:function(a,b,d){for(var f=[],e,i=0,j=a.length;i<j;i++){e=b(a[i],i,d);if(e!=null)f[f.length]=e}return f.concat.apply([],f)},guid:1,proxy:function(a,b,d){if(arguments.length===2)if(typeof b==="string"){d=a;a=d[b];b=v}else if(b&&!c.isFunction(b)){d=b;b=v}if(!b&&a)b=function(){return a.apply(d||this,arguments)};if(a)b.guid=a.guid=a.guid||b.guid||c.guid++;return b},
-uaMatch:function(a){a=a.toLowerCase();a=/(webkit)[ \/]([\w.]+)/.exec(a)||/(opera)(?:.*version)?[ \/]([\w.]+)/.exec(a)||/(msie) ([\w.]+)/.exec(a)||!/compatible/.test(a)&&/(mozilla)(?:.*? rv:([\w.]+))?/.exec(a)||[];return{browser:a[1]||"",version:a[2]||"0"}},browser:{}});O=c.uaMatch(O);if(O.browser){c.browser[O.browser]=true;c.browser.version=O.version}if(c.browser.webkit)c.browser.safari=true;if(wa)c.inArray=function(a,b){return wa.call(b,a)};S=c(r);if(r.addEventListener)L=function(){r.removeEventListener("DOMContentLoaded",
-L,false);c.ready()};else if(r.attachEvent)L=function(){if(r.readyState==="complete"){r.detachEvent("onreadystatechange",L);c.ready()}};(function(){c.support={};var a=r.documentElement,b=r.createElement("script"),d=r.createElement("div"),f="script"+J();d.style.display="none";d.innerHTML=" <link/><table></table><a href='/a' style='color:red;float:left;opacity:.55;'>a</a><input type='checkbox'/>";var e=d.getElementsByTagName("*"),i=d.getElementsByTagName("a")[0];if(!(!e||!e.length||!i)){c.support=
-{leadingWhitespace:d.firstChild.nodeType===3,tbody:!d.getElementsByTagName("tbody").length,htmlSerialize:!!d.getElementsByTagName("link").length,style:/red/.test(i.getAttribute("style")),hrefNormalized:i.getAttribute("href")==="/a",opacity:/^0.55$/.test(i.style.opacity),cssFloat:!!i.style.cssFloat,checkOn:d.getElementsByTagName("input")[0].value==="on",optSelected:r.createElement("select").appendChild(r.createElement("option")).selected,checkClone:false,scriptEval:false,noCloneEvent:true,boxModel:null};
-b.type="text/javascript";try{b.appendChild(r.createTextNode("window."+f+"=1;"))}catch(j){}a.insertBefore(b,a.firstChild);if(z[f]){c.support.scriptEval=true;delete z[f]}a.removeChild(b);if(d.attachEvent&&d.fireEvent){d.attachEvent("onclick",function n(){c.support.noCloneEvent=false;d.detachEvent("onclick",n)});d.cloneNode(true).fireEvent("onclick")}d=r.createElement("div");d.innerHTML="<input type='radio' name='radiotest' checked='checked'/>";a=r.createDocumentFragment();a.appendChild(d.firstChild);
-c.support.checkClone=a.cloneNode(true).cloneNode(true).lastChild.checked;c(function(){var n=r.createElement("div");n.style.width=n.style.paddingLeft="1px";r.body.appendChild(n);c.boxModel=c.support.boxModel=n.offsetWidth===2;r.body.removeChild(n).style.display="none"});a=function(n){var o=r.createElement("div");n="on"+n;var m=n in o;if(!m){o.setAttribute(n,"return;");m=typeof o[n]==="function"}return m};c.support.submitBubbles=a("submit");c.support.changeBubbles=a("change");a=b=d=e=i=null}})();c.props=
-{"for":"htmlFor","class":"className",readonly:"readOnly",maxlength:"maxLength",cellspacing:"cellSpacing",rowspan:"rowSpan",colspan:"colSpan",tabindex:"tabIndex",usemap:"useMap",frameborder:"frameBorder"};var G="jQuery"+J(),Ua=0,xa={},Va={};c.extend({cache:{},expando:G,noData:{embed:true,object:true,applet:true},data:function(a,b,d){if(!(a.nodeName&&c.noData[a.nodeName.toLowerCase()])){a=a==z?xa:a;var f=a[G],e=c.cache;if(!b&&!f)return null;f||(f=++Ua);if(typeof b==="object"){a[G]=f;e=e[f]=c.extend(true,
-{},b)}else e=e[f]?e[f]:typeof d==="undefined"?Va:(e[f]={});if(d!==v){a[G]=f;e[b]=d}return typeof b==="string"?e[b]:e}},removeData:function(a,b){if(!(a.nodeName&&c.noData[a.nodeName.toLowerCase()])){a=a==z?xa:a;var d=a[G],f=c.cache,e=f[d];if(b){if(e){delete e[b];c.isEmptyObject(e)&&c.removeData(a)}}else{try{delete a[G]}catch(i){a.removeAttribute&&a.removeAttribute(G)}delete f[d]}}}});c.fn.extend({data:function(a,b){if(typeof a==="undefined"&&this.length)return c.data(this[0]);else if(typeof a==="object")return this.each(function(){c.data(this,
-a)});var d=a.split(".");d[1]=d[1]?"."+d[1]:"";if(b===v){var f=this.triggerHandler("getData"+d[1]+"!",[d[0]]);if(f===v&&this.length)f=c.data(this[0],a);return f===v&&d[1]?this.data(d[0]):f}else return this.trigger("setData"+d[1]+"!",[d[0],b]).each(function(){c.data(this,a,b)})},removeData:function(a){return this.each(function(){c.removeData(this,a)})}});c.extend({queue:function(a,b,d){if(a){b=(b||"fx")+"queue";var f=c.data(a,b);if(!d)return f||[];if(!f||c.isArray(d))f=c.data(a,b,c.makeArray(d));else f.push(d);
-return f}},dequeue:function(a,b){b=b||"fx";var d=c.queue(a,b),f=d.shift();if(f==="inprogress")f=d.shift();if(f){b==="fx"&&d.unshift("inprogress");f.call(a,function(){c.dequeue(a,b)})}}});c.fn.extend({queue:function(a,b){if(typeof a!=="string"){b=a;a="fx"}if(b===v)return c.queue(this[0],a);return this.each(function(){var d=c.queue(this,a,b);a==="fx"&&d[0]!=="inprogress"&&c.dequeue(this,a)})},dequeue:function(a){return this.each(function(){c.dequeue(this,a)})},delay:function(a,b){a=c.fx?c.fx.speeds[a]||
-a:a;b=b||"fx";return this.queue(b,function(){var d=this;setTimeout(function(){c.dequeue(d,b)},a)})},clearQueue:function(a){return this.queue(a||"fx",[])}});var ya=/[\n\t]/g,ca=/\s+/,Wa=/\r/g,Xa=/href|src|style/,Ya=/(button|input)/i,Za=/(button|input|object|select|textarea)/i,$a=/^(a|area)$/i,za=/radio|checkbox/;c.fn.extend({attr:function(a,b){return X(this,a,b,true,c.attr)},removeAttr:function(a){return this.each(function(){c.attr(this,a,"");this.nodeType===1&&this.removeAttribute(a)})},addClass:function(a){if(c.isFunction(a))return this.each(function(o){var m=
-c(this);m.addClass(a.call(this,o,m.attr("class")))});if(a&&typeof a==="string")for(var b=(a||"").split(ca),d=0,f=this.length;d<f;d++){var e=this[d];if(e.nodeType===1)if(e.className)for(var i=" "+e.className+" ",j=0,n=b.length;j<n;j++){if(i.indexOf(" "+b[j]+" ")<0)e.className+=" "+b[j]}else e.className=a}return this},removeClass:function(a){if(c.isFunction(a))return this.each(function(o){var m=c(this);m.removeClass(a.call(this,o,m.attr("class")))});if(a&&typeof a==="string"||a===v)for(var b=(a||"").split(ca),
-d=0,f=this.length;d<f;d++){var e=this[d];if(e.nodeType===1&&e.className)if(a){for(var i=(" "+e.className+" ").replace(ya," "),j=0,n=b.length;j<n;j++)i=i.replace(" "+b[j]+" "," ");e.className=i.substring(1,i.length-1)}else e.className=""}return this},toggleClass:function(a,b){var d=typeof a,f=typeof b==="boolean";if(c.isFunction(a))return this.each(function(e){var i=c(this);i.toggleClass(a.call(this,e,i.attr("class"),b),b)});return this.each(function(){if(d==="string")for(var e,i=0,j=c(this),n=b,o=
-a.split(ca);e=o[i++];){n=f?n:!j.hasClass(e);j[n?"addClass":"removeClass"](e)}else if(d==="undefined"||d==="boolean"){this.className&&c.data(this,"__className__",this.className);this.className=this.className||a===false?"":c.data(this,"__className__")||""}})},hasClass:function(a){a=" "+a+" ";for(var b=0,d=this.length;b<d;b++)if((" "+this[b].className+" ").replace(ya," ").indexOf(a)>-1)return true;return false},val:function(a){if(a===v){var b=this[0];if(b){if(c.nodeName(b,"option"))return(b.attributes.value||
-{}).specified?b.value:b.text;if(c.nodeName(b,"select")){var d=b.selectedIndex,f=[],e=b.options;b=b.type==="select-one";if(d<0)return null;var i=b?d:0;for(d=b?d+1:e.length;i<d;i++){var j=e[i];if(j.selected){a=c(j).val();if(b)return a;f.push(a)}}return f}if(za.test(b.type)&&!c.support.checkOn)return b.getAttribute("value")===null?"on":b.value;return(b.value||"").replace(Wa,"")}return v}var n=c.isFunction(a);return this.each(function(o){var m=c(this),s=a;if(this.nodeType===1){if(n)s=a.call(this,o,m.val());
-if(typeof s==="number")s+="";if(c.isArray(s)&&za.test(this.type))this.checked=c.inArray(m.val(),s)>=0;else if(c.nodeName(this,"select")){var x=c.makeArray(s);c("option",this).each(function(){this.selected=c.inArray(c(this).val(),x)>=0});if(!x.length)this.selectedIndex=-1}else this.value=s}})}});c.extend({attrFn:{val:true,css:true,html:true,text:true,data:true,width:true,height:true,offset:true},attr:function(a,b,d,f){if(!a||a.nodeType===3||a.nodeType===8)return v;if(f&&b in c.attrFn)return c(a)[b](d);
-f=a.nodeType!==1||!c.isXMLDoc(a);var e=d!==v;b=f&&c.props[b]||b;if(a.nodeType===1){var i=Xa.test(b);if(b in a&&f&&!i){if(e){b==="type"&&Ya.test(a.nodeName)&&a.parentNode&&c.error("type property can't be changed");a[b]=d}if(c.nodeName(a,"form")&&a.getAttributeNode(b))return a.getAttributeNode(b).nodeValue;if(b==="tabIndex")return(b=a.getAttributeNode("tabIndex"))&&b.specified?b.value:Za.test(a.nodeName)||$a.test(a.nodeName)&&a.href?0:v;return a[b]}if(!c.support.style&&f&&b==="style"){if(e)a.style.cssText=
-""+d;return a.style.cssText}e&&a.setAttribute(b,""+d);a=!c.support.hrefNormalized&&f&&i?a.getAttribute(b,2):a.getAttribute(b);return a===null?v:a}return c.style(a,b,d)}});var ab=function(a){return a.replace(/[^\w\s\.\|`]/g,function(b){return"\\"+b})};c.event={add:function(a,b,d,f){if(!(a.nodeType===3||a.nodeType===8)){if(a.setInterval&&a!==z&&!a.frameElement)a=z;if(!d.guid)d.guid=c.guid++;if(f!==v){d=c.proxy(d);d.data=f}var e=c.data(a,"events")||c.data(a,"events",{}),i=c.data(a,"handle"),j;if(!i){j=
-function(){return typeof c!=="undefined"&&!c.event.triggered?c.event.handle.apply(j.elem,arguments):v};i=c.data(a,"handle",j)}if(i){i.elem=a;b=b.split(/\s+/);for(var n,o=0;n=b[o++];){var m=n.split(".");n=m.shift();if(o>1){d=c.proxy(d);if(f!==v)d.data=f}d.type=m.slice(0).sort().join(".");var s=e[n],x=this.special[n]||{};if(!s){s=e[n]={};if(!x.setup||x.setup.call(a,f,m,d)===false)if(a.addEventListener)a.addEventListener(n,i,false);else a.attachEvent&&a.attachEvent("on"+n,i)}if(x.add)if((m=x.add.call(a,
-d,f,m,s))&&c.isFunction(m)){m.guid=m.guid||d.guid;m.data=m.data||d.data;m.type=m.type||d.type;d=m}s[d.guid]=d;this.global[n]=true}a=null}}},global:{},remove:function(a,b,d){if(!(a.nodeType===3||a.nodeType===8)){var f=c.data(a,"events"),e,i,j;if(f){if(b===v||typeof b==="string"&&b.charAt(0)===".")for(i in f)this.remove(a,i+(b||""));else{if(b.type){d=b.handler;b=b.type}b=b.split(/\s+/);for(var n=0;i=b[n++];){var o=i.split(".");i=o.shift();var m=!o.length,s=c.map(o.slice(0).sort(),ab);s=new RegExp("(^|\\.)"+
-s.join("\\.(?:.*\\.)?")+"(\\.|$)");var x=this.special[i]||{};if(f[i]){if(d){j=f[i][d.guid];delete f[i][d.guid]}else for(var A in f[i])if(m||s.test(f[i][A].type))delete f[i][A];x.remove&&x.remove.call(a,o,j);for(e in f[i])break;if(!e){if(!x.teardown||x.teardown.call(a,o)===false)if(a.removeEventListener)a.removeEventListener(i,c.data(a,"handle"),false);else a.detachEvent&&a.detachEvent("on"+i,c.data(a,"handle"));e=null;delete f[i]}}}}for(e in f)break;if(!e){if(A=c.data(a,"handle"))A.elem=null;c.removeData(a,
-"events");c.removeData(a,"handle")}}}},trigger:function(a,b,d,f){var e=a.type||a;if(!f){a=typeof a==="object"?a[G]?a:c.extend(c.Event(e),a):c.Event(e);if(e.indexOf("!")>=0){a.type=e=e.slice(0,-1);a.exclusive=true}if(!d){a.stopPropagation();this.global[e]&&c.each(c.cache,function(){this.events&&this.events[e]&&c.event.trigger(a,b,this.handle.elem)})}if(!d||d.nodeType===3||d.nodeType===8)return v;a.result=v;a.target=d;b=c.makeArray(b);b.unshift(a)}a.currentTarget=d;(f=c.data(d,"handle"))&&f.apply(d,
-b);f=d.parentNode||d.ownerDocument;try{if(!(d&&d.nodeName&&c.noData[d.nodeName.toLowerCase()]))if(d["on"+e]&&d["on"+e].apply(d,b)===false)a.result=false}catch(i){}if(!a.isPropagationStopped()&&f)c.event.trigger(a,b,f,true);else if(!a.isDefaultPrevented()){d=a.target;var j;if(!(c.nodeName(d,"a")&&e==="click")&&!(d&&d.nodeName&&c.noData[d.nodeName.toLowerCase()])){try{if(d[e]){if(j=d["on"+e])d["on"+e]=null;this.triggered=true;d[e]()}}catch(n){}if(j)d["on"+e]=j;this.triggered=false}}},handle:function(a){var b,
-d;a=arguments[0]=c.event.fix(a||z.event);a.currentTarget=this;d=a.type.split(".");a.type=d.shift();b=!d.length&&!a.exclusive;var f=new RegExp("(^|\\.)"+d.slice(0).sort().join("\\.(?:.*\\.)?")+"(\\.|$)");d=(c.data(this,"events")||{})[a.type];for(var e in d){var i=d[e];if(b||f.test(i.type)){a.handler=i;a.data=i.data;i=i.apply(this,arguments);if(i!==v){a.result=i;if(i===false){a.preventDefault();a.stopPropagation()}}if(a.isImmediatePropagationStopped())break}}return a.result},props:"altKey attrChange attrName bubbles button cancelable charCode clientX clientY ctrlKey currentTarget data detail eventPhase fromElement handler keyCode layerX layerY metaKey newValue offsetX offsetY originalTarget pageX pageY prevValue relatedNode relatedTarget screenX screenY shiftKey srcElement target toElement view wheelDelta which".split(" "),
-fix:function(a){if(a[G])return a;var b=a;a=c.Event(b);for(var d=this.props.length,f;d;){f=this.props[--d];a[f]=b[f]}if(!a.target)a.target=a.srcElement||r;if(a.target.nodeType===3)a.target=a.target.parentNode;if(!a.relatedTarget&&a.fromElement)a.relatedTarget=a.fromElement===a.target?a.toElement:a.fromElement;if(a.pageX==null&&a.clientX!=null){b=r.documentElement;d=r.body;a.pageX=a.clientX+(b&&b.scrollLeft||d&&d.scrollLeft||0)-(b&&b.clientLeft||d&&d.clientLeft||0);a.pageY=a.clientY+(b&&b.scrollTop||
-d&&d.scrollTop||0)-(b&&b.clientTop||d&&d.clientTop||0)}if(!a.which&&(a.charCode||a.charCode===0?a.charCode:a.keyCode))a.which=a.charCode||a.keyCode;if(!a.metaKey&&a.ctrlKey)a.metaKey=a.ctrlKey;if(!a.which&&a.button!==v)a.which=a.button&1?1:a.button&2?3:a.button&4?2:0;return a},guid:1E8,proxy:c.proxy,special:{ready:{setup:c.bindReady,teardown:c.noop},live:{add:function(a,b){c.extend(a,b||{});a.guid+=b.selector+b.live;b.liveProxy=a;c.event.add(this,b.live,na,b)},remove:function(a){if(a.length){var b=
-0,d=new RegExp("(^|\\.)"+a[0]+"(\\.|$)");c.each(c.data(this,"events").live||{},function(){d.test(this.type)&&b++});b<1&&c.event.remove(this,a[0],na)}},special:{}},beforeunload:{setup:function(a,b,d){if(this.setInterval)this.onbeforeunload=d;return false},teardown:function(a,b){if(this.onbeforeunload===b)this.onbeforeunload=null}}}};c.Event=function(a){if(!this.preventDefault)return new c.Event(a);if(a&&a.type){this.originalEvent=a;this.type=a.type}else this.type=a;this.timeStamp=J();this[G]=true};
-c.Event.prototype={preventDefault:function(){this.isDefaultPrevented=Z;var a=this.originalEvent;if(a){a.preventDefault&&a.preventDefault();a.returnValue=false}},stopPropagation:function(){this.isPropagationStopped=Z;var a=this.originalEvent;if(a){a.stopPropagation&&a.stopPropagation();a.cancelBubble=true}},stopImmediatePropagation:function(){this.isImmediatePropagationStopped=Z;this.stopPropagation()},isDefaultPrevented:Y,isPropagationStopped:Y,isImmediatePropagationStopped:Y};var Aa=function(a){for(var b=
-a.relatedTarget;b&&b!==this;)try{b=b.parentNode}catch(d){break}if(b!==this){a.type=a.data;c.event.handle.apply(this,arguments)}},Ba=function(a){a.type=a.data;c.event.handle.apply(this,arguments)};c.each({mouseenter:"mouseover",mouseleave:"mouseout"},function(a,b){c.event.special[a]={setup:function(d){c.event.add(this,b,d&&d.selector?Ba:Aa,a)},teardown:function(d){c.event.remove(this,b,d&&d.selector?Ba:Aa)}}});if(!c.support.submitBubbles)c.event.special.submit={setup:function(a,b,d){if(this.nodeName.toLowerCase()!==
-"form"){c.event.add(this,"click.specialSubmit."+d.guid,function(f){var e=f.target,i=e.type;if((i==="submit"||i==="image")&&c(e).closest("form").length)return ma("submit",this,arguments)});c.event.add(this,"keypress.specialSubmit."+d.guid,function(f){var e=f.target,i=e.type;if((i==="text"||i==="password")&&c(e).closest("form").length&&f.keyCode===13)return ma("submit",this,arguments)})}else return false},remove:function(a,b){c.event.remove(this,"click.specialSubmit"+(b?"."+b.guid:""));c.event.remove(this,
-"keypress.specialSubmit"+(b?"."+b.guid:""))}};if(!c.support.changeBubbles){var da=/textarea|input|select/i;function Ca(a){var b=a.type,d=a.value;if(b==="radio"||b==="checkbox")d=a.checked;else if(b==="select-multiple")d=a.selectedIndex>-1?c.map(a.options,function(f){return f.selected}).join("-"):"";else if(a.nodeName.toLowerCase()==="select")d=a.selectedIndex;return d}function ea(a,b){var d=a.target,f,e;if(!(!da.test(d.nodeName)||d.readOnly)){f=c.data(d,"_change_data");e=Ca(d);if(a.type!=="focusout"||
-d.type!=="radio")c.data(d,"_change_data",e);if(!(f===v||e===f))if(f!=null||e){a.type="change";return c.event.trigger(a,b,d)}}}c.event.special.change={filters:{focusout:ea,click:function(a){var b=a.target,d=b.type;if(d==="radio"||d==="checkbox"||b.nodeName.toLowerCase()==="select")return ea.call(this,a)},keydown:function(a){var b=a.target,d=b.type;if(a.keyCode===13&&b.nodeName.toLowerCase()!=="textarea"||a.keyCode===32&&(d==="checkbox"||d==="radio")||d==="select-multiple")return ea.call(this,a)},beforeactivate:function(a){a=
-a.target;a.nodeName.toLowerCase()==="input"&&a.type==="radio"&&c.data(a,"_change_data",Ca(a))}},setup:function(a,b,d){for(var f in T)c.event.add(this,f+".specialChange."+d.guid,T[f]);return da.test(this.nodeName)},remove:function(a,b){for(var d in T)c.event.remove(this,d+".specialChange"+(b?"."+b.guid:""),T[d]);return da.test(this.nodeName)}};var T=c.event.special.change.filters}r.addEventListener&&c.each({focus:"focusin",blur:"focusout"},function(a,b){function d(f){f=c.event.fix(f);f.type=b;return c.event.handle.call(this,
-f)}c.event.special[b]={setup:function(){this.addEventListener(a,d,true)},teardown:function(){this.removeEventListener(a,d,true)}}});c.each(["bind","one"],function(a,b){c.fn[b]=function(d,f,e){if(typeof d==="object"){for(var i in d)this[b](i,f,d[i],e);return this}if(c.isFunction(f)){e=f;f=v}var j=b==="one"?c.proxy(e,function(n){c(this).unbind(n,j);return e.apply(this,arguments)}):e;return d==="unload"&&b!=="one"?this.one(d,f,e):this.each(function(){c.event.add(this,d,j,f)})}});c.fn.extend({unbind:function(a,
-b){if(typeof a==="object"&&!a.preventDefault){for(var d in a)this.unbind(d,a[d]);return this}return this.each(function(){c.event.remove(this,a,b)})},trigger:function(a,b){return this.each(function(){c.event.trigger(a,b,this)})},triggerHandler:function(a,b){if(this[0]){a=c.Event(a);a.preventDefault();a.stopPropagation();c.event.trigger(a,b,this[0]);return a.result}},toggle:function(a){for(var b=arguments,d=1;d<b.length;)c.proxy(a,b[d++]);return this.click(c.proxy(a,function(f){var e=(c.data(this,"lastToggle"+
-a.guid)||0)%d;c.data(this,"lastToggle"+a.guid,e+1);f.preventDefault();return b[e].apply(this,arguments)||false}))},hover:function(a,b){return this.mouseenter(a).mouseleave(b||a)}});c.each(["live","die"],function(a,b){c.fn[b]=function(d,f,e){var i,j=0;if(c.isFunction(f)){e=f;f=v}for(d=(d||"").split(/\s+/);(i=d[j++])!=null;){i=i==="focus"?"focusin":i==="blur"?"focusout":i==="hover"?d.push("mouseleave")&&"mouseenter":i;b==="live"?c(this.context).bind(oa(i,this.selector),{data:f,selector:this.selector,
-live:i},e):c(this.context).unbind(oa(i,this.selector),e?{guid:e.guid+this.selector+i}:null)}return this}});c.each("blur focus focusin focusout load resize scroll unload click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup error".split(" "),function(a,b){c.fn[b]=function(d){return d?this.bind(b,d):this.trigger(b)};if(c.attrFn)c.attrFn[b]=true});z.attachEvent&&!z.addEventListener&&z.attachEvent("onunload",function(){for(var a in c.cache)if(c.cache[a].handle)try{c.event.remove(c.cache[a].handle.elem)}catch(b){}});
-(function(){function a(g){for(var h="",k,l=0;g[l];l++){k=g[l];if(k.nodeType===3||k.nodeType===4)h+=k.nodeValue;else if(k.nodeType!==8)h+=a(k.childNodes)}return h}function b(g,h,k,l,q,p){q=0;for(var u=l.length;q<u;q++){var t=l[q];if(t){t=t[g];for(var y=false;t;){if(t.sizcache===k){y=l[t.sizset];break}if(t.nodeType===1&&!p){t.sizcache=k;t.sizset=q}if(t.nodeName.toLowerCase()===h){y=t;break}t=t[g]}l[q]=y}}}function d(g,h,k,l,q,p){q=0;for(var u=l.length;q<u;q++){var t=l[q];if(t){t=t[g];for(var y=false;t;){if(t.sizcache===
-k){y=l[t.sizset];break}if(t.nodeType===1){if(!p){t.sizcache=k;t.sizset=q}if(typeof h!=="string"){if(t===h){y=true;break}}else if(o.filter(h,[t]).length>0){y=t;break}}t=t[g]}l[q]=y}}}var f=/((?:\((?:\([^()]+\)|[^()]+)+\)|\[(?:\[[^[\]]*\]|['"][^'"]*['"]|[^[\]'"]+)+\]|\\.|[^ >+~,(\[\\]+)+|[>+~])(\s*,\s*)?((?:.|\r|\n)*)/g,e=0,i=Object.prototype.toString,j=false,n=true;[0,0].sort(function(){n=false;return 0});var o=function(g,h,k,l){k=k||[];var q=h=h||r;if(h.nodeType!==1&&h.nodeType!==9)return[];if(!g||
-typeof g!=="string")return k;for(var p=[],u,t,y,R,H=true,M=w(h),I=g;(f.exec(""),u=f.exec(I))!==null;){I=u[3];p.push(u[1]);if(u[2]){R=u[3];break}}if(p.length>1&&s.exec(g))if(p.length===2&&m.relative[p[0]])t=fa(p[0]+p[1],h);else for(t=m.relative[p[0]]?[h]:o(p.shift(),h);p.length;){g=p.shift();if(m.relative[g])g+=p.shift();t=fa(g,t)}else{if(!l&&p.length>1&&h.nodeType===9&&!M&&m.match.ID.test(p[0])&&!m.match.ID.test(p[p.length-1])){u=o.find(p.shift(),h,M);h=u.expr?o.filter(u.expr,u.set)[0]:u.set[0]}if(h){u=
-l?{expr:p.pop(),set:A(l)}:o.find(p.pop(),p.length===1&&(p[0]==="~"||p[0]==="+")&&h.parentNode?h.parentNode:h,M);t=u.expr?o.filter(u.expr,u.set):u.set;if(p.length>0)y=A(t);else H=false;for(;p.length;){var D=p.pop();u=D;if(m.relative[D])u=p.pop();else D="";if(u==null)u=h;m.relative[D](y,u,M)}}else y=[]}y||(y=t);y||o.error(D||g);if(i.call(y)==="[object Array]")if(H)if(h&&h.nodeType===1)for(g=0;y[g]!=null;g++){if(y[g]&&(y[g]===true||y[g].nodeType===1&&E(h,y[g])))k.push(t[g])}else for(g=0;y[g]!=null;g++)y[g]&&
-y[g].nodeType===1&&k.push(t[g]);else k.push.apply(k,y);else A(y,k);if(R){o(R,q,k,l);o.uniqueSort(k)}return k};o.uniqueSort=function(g){if(C){j=n;g.sort(C);if(j)for(var h=1;h<g.length;h++)g[h]===g[h-1]&&g.splice(h--,1)}return g};o.matches=function(g,h){return o(g,null,null,h)};o.find=function(g,h,k){var l,q;if(!g)return[];for(var p=0,u=m.order.length;p<u;p++){var t=m.order[p];if(q=m.leftMatch[t].exec(g)){var y=q[1];q.splice(1,1);if(y.substr(y.length-1)!=="\\"){q[1]=(q[1]||"").replace(/\\/g,"");l=m.find[t](q,
-h,k);if(l!=null){g=g.replace(m.match[t],"");break}}}}l||(l=h.getElementsByTagName("*"));return{set:l,expr:g}};o.filter=function(g,h,k,l){for(var q=g,p=[],u=h,t,y,R=h&&h[0]&&w(h[0]);g&&h.length;){for(var H in m.filter)if((t=m.leftMatch[H].exec(g))!=null&&t[2]){var M=m.filter[H],I,D;D=t[1];y=false;t.splice(1,1);if(D.substr(D.length-1)!=="\\"){if(u===p)p=[];if(m.preFilter[H])if(t=m.preFilter[H](t,u,k,p,l,R)){if(t===true)continue}else y=I=true;if(t)for(var U=0;(D=u[U])!=null;U++)if(D){I=M(D,t,U,u);var Da=
-l^!!I;if(k&&I!=null)if(Da)y=true;else u[U]=false;else if(Da){p.push(D);y=true}}if(I!==v){k||(u=p);g=g.replace(m.match[H],"");if(!y)return[];break}}}if(g===q)if(y==null)o.error(g);else break;q=g}return u};o.error=function(g){throw"Syntax error, unrecognized expression: "+g;};var m=o.selectors={order:["ID","NAME","TAG"],match:{ID:/#((?:[\w\u00c0-\uFFFF-]|\\.)+)/,CLASS:/\.((?:[\w\u00c0-\uFFFF-]|\\.)+)/,NAME:/\[name=['"]*((?:[\w\u00c0-\uFFFF-]|\\.)+)['"]*\]/,ATTR:/\[\s*((?:[\w\u00c0-\uFFFF-]|\\.)+)\s*(?:(\S?=)\s*(['"]*)(.*?)\3|)\s*\]/,
-TAG:/^((?:[\w\u00c0-\uFFFF\*-]|\\.)+)/,CHILD:/:(only|nth|last|first)-child(?:\((even|odd|[\dn+-]*)\))?/,POS:/:(nth|eq|gt|lt|first|last|even|odd)(?:\((\d*)\))?(?=[^-]|$)/,PSEUDO:/:((?:[\w\u00c0-\uFFFF-]|\\.)+)(?:\((['"]?)((?:\([^\)]+\)|[^\(\)]*)+)\2\))?/},leftMatch:{},attrMap:{"class":"className","for":"htmlFor"},attrHandle:{href:function(g){return g.getAttribute("href")}},relative:{"+":function(g,h){var k=typeof h==="string",l=k&&!/\W/.test(h);k=k&&!l;if(l)h=h.toLowerCase();l=0;for(var q=g.length,
-p;l<q;l++)if(p=g[l]){for(;(p=p.previousSibling)&&p.nodeType!==1;);g[l]=k||p&&p.nodeName.toLowerCase()===h?p||false:p===h}k&&o.filter(h,g,true)},">":function(g,h){var k=typeof h==="string";if(k&&!/\W/.test(h)){h=h.toLowerCase();for(var l=0,q=g.length;l<q;l++){var p=g[l];if(p){k=p.parentNode;g[l]=k.nodeName.toLowerCase()===h?k:false}}}else{l=0;for(q=g.length;l<q;l++)if(p=g[l])g[l]=k?p.parentNode:p.parentNode===h;k&&o.filter(h,g,true)}},"":function(g,h,k){var l=e++,q=d;if(typeof h==="string"&&!/\W/.test(h)){var p=
-h=h.toLowerCase();q=b}q("parentNode",h,l,g,p,k)},"~":function(g,h,k){var l=e++,q=d;if(typeof h==="string"&&!/\W/.test(h)){var p=h=h.toLowerCase();q=b}q("previousSibling",h,l,g,p,k)}},find:{ID:function(g,h,k){if(typeof h.getElementById!=="undefined"&&!k)return(g=h.getElementById(g[1]))?[g]:[]},NAME:function(g,h){if(typeof h.getElementsByName!=="undefined"){var k=[];h=h.getElementsByName(g[1]);for(var l=0,q=h.length;l<q;l++)h[l].getAttribute("name")===g[1]&&k.push(h[l]);return k.length===0?null:k}},
-TAG:function(g,h){return h.getElementsByTagName(g[1])}},preFilter:{CLASS:function(g,h,k,l,q,p){g=" "+g[1].replace(/\\/g,"")+" ";if(p)return g;p=0;for(var u;(u=h[p])!=null;p++)if(u)if(q^(u.className&&(" "+u.className+" ").replace(/[\t\n]/g," ").indexOf(g)>=0))k||l.push(u);else if(k)h[p]=false;return false},ID:function(g){return g[1].replace(/\\/g,"")},TAG:function(g){return g[1].toLowerCase()},CHILD:function(g){if(g[1]==="nth"){var h=/(-?)(\d*)n((?:\+|-)?\d*)/.exec(g[2]==="even"&&"2n"||g[2]==="odd"&&
-"2n+1"||!/\D/.test(g[2])&&"0n+"+g[2]||g[2]);g[2]=h[1]+(h[2]||1)-0;g[3]=h[3]-0}g[0]=e++;return g},ATTR:function(g,h,k,l,q,p){h=g[1].replace(/\\/g,"");if(!p&&m.attrMap[h])g[1]=m.attrMap[h];if(g[2]==="~=")g[4]=" "+g[4]+" ";return g},PSEUDO:function(g,h,k,l,q){if(g[1]==="not")if((f.exec(g[3])||"").length>1||/^\w/.test(g[3]))g[3]=o(g[3],null,null,h);else{g=o.filter(g[3],h,k,true^q);k||l.push.apply(l,g);return false}else if(m.match.POS.test(g[0])||m.match.CHILD.test(g[0]))return true;return g},POS:function(g){g.unshift(true);
-return g}},filters:{enabled:function(g){return g.disabled===false&&g.type!=="hidden"},disabled:function(g){return g.disabled===true},checked:function(g){return g.checked===true},selected:function(g){return g.selected===true},parent:function(g){return!!g.firstChild},empty:function(g){return!g.firstChild},has:function(g,h,k){return!!o(k[3],g).length},header:function(g){return/h\d/i.test(g.nodeName)},text:function(g){return"text"===g.type},radio:function(g){return"radio"===g.type},checkbox:function(g){return"checkbox"===
-g.type},file:function(g){return"file"===g.type},password:function(g){return"password"===g.type},submit:function(g){return"submit"===g.type},image:function(g){return"image"===g.type},reset:function(g){return"reset"===g.type},button:function(g){return"button"===g.type||g.nodeName.toLowerCase()==="button"},input:function(g){return/input|select|textarea|button/i.test(g.nodeName)}},setFilters:{first:function(g,h){return h===0},last:function(g,h,k,l){return h===l.length-1},even:function(g,h){return h%2===
-0},odd:function(g,h){return h%2===1},lt:function(g,h,k){return h<k[3]-0},gt:function(g,h,k){return h>k[3]-0},nth:function(g,h,k){return k[3]-0===h},eq:function(g,h,k){return k[3]-0===h}},filter:{PSEUDO:function(g,h,k,l){var q=h[1],p=m.filters[q];if(p)return p(g,k,h,l);else if(q==="contains")return(g.textContent||g.innerText||a([g])||"").indexOf(h[3])>=0;else if(q==="not"){h=h[3];k=0;for(l=h.length;k<l;k++)if(h[k]===g)return false;return true}else o.error("Syntax error, unrecognized expression: "+
-q)},CHILD:function(g,h){var k=h[1],l=g;switch(k){case "only":case "first":for(;l=l.previousSibling;)if(l.nodeType===1)return false;if(k==="first")return true;l=g;case "last":for(;l=l.nextSibling;)if(l.nodeType===1)return false;return true;case "nth":k=h[2];var q=h[3];if(k===1&&q===0)return true;h=h[0];var p=g.parentNode;if(p&&(p.sizcache!==h||!g.nodeIndex)){var u=0;for(l=p.firstChild;l;l=l.nextSibling)if(l.nodeType===1)l.nodeIndex=++u;p.sizcache=h}g=g.nodeIndex-q;return k===0?g===0:g%k===0&&g/k>=
-0}},ID:function(g,h){return g.nodeType===1&&g.getAttribute("id")===h},TAG:function(g,h){return h==="*"&&g.nodeType===1||g.nodeName.toLowerCase()===h},CLASS:function(g,h){return(" "+(g.className||g.getAttribute("class"))+" ").indexOf(h)>-1},ATTR:function(g,h){var k=h[1];g=m.attrHandle[k]?m.attrHandle[k](g):g[k]!=null?g[k]:g.getAttribute(k);k=g+"";var l=h[2];h=h[4];return g==null?l==="!=":l==="="?k===h:l==="*="?k.indexOf(h)>=0:l==="~="?(" "+k+" ").indexOf(h)>=0:!h?k&&g!==false:l==="!="?k!==h:l==="^="?
-k.indexOf(h)===0:l==="$="?k.substr(k.length-h.length)===h:l==="|="?k===h||k.substr(0,h.length+1)===h+"-":false},POS:function(g,h,k,l){var q=m.setFilters[h[2]];if(q)return q(g,k,h,l)}}},s=m.match.POS;for(var x in m.match){m.match[x]=new RegExp(m.match[x].source+/(?![^\[]*\])(?![^\(]*\))/.source);m.leftMatch[x]=new RegExp(/(^(?:.|\r|\n)*?)/.source+m.match[x].source.replace(/\\(\d+)/g,function(g,h){return"\\"+(h-0+1)}))}var A=function(g,h){g=Array.prototype.slice.call(g,0);if(h){h.push.apply(h,g);return h}return g};
-try{Array.prototype.slice.call(r.documentElement.childNodes,0)}catch(B){A=function(g,h){h=h||[];if(i.call(g)==="[object Array]")Array.prototype.push.apply(h,g);else if(typeof g.length==="number")for(var k=0,l=g.length;k<l;k++)h.push(g[k]);else for(k=0;g[k];k++)h.push(g[k]);return h}}var C;if(r.documentElement.compareDocumentPosition)C=function(g,h){if(!g.compareDocumentPosition||!h.compareDocumentPosition){if(g==h)j=true;return g.compareDocumentPosition?-1:1}g=g.compareDocumentPosition(h)&4?-1:g===
-h?0:1;if(g===0)j=true;return g};else if("sourceIndex"in r.documentElement)C=function(g,h){if(!g.sourceIndex||!h.sourceIndex){if(g==h)j=true;return g.sourceIndex?-1:1}g=g.sourceIndex-h.sourceIndex;if(g===0)j=true;return g};else if(r.createRange)C=function(g,h){if(!g.ownerDocument||!h.ownerDocument){if(g==h)j=true;return g.ownerDocument?-1:1}var k=g.ownerDocument.createRange(),l=h.ownerDocument.createRange();k.setStart(g,0);k.setEnd(g,0);l.setStart(h,0);l.setEnd(h,0);g=k.compareBoundaryPoints(Range.START_TO_END,
-l);if(g===0)j=true;return g};(function(){var g=r.createElement("div"),h="script"+(new Date).getTime();g.innerHTML="<a name='"+h+"'/>";var k=r.documentElement;k.insertBefore(g,k.firstChild);if(r.getElementById(h)){m.find.ID=function(l,q,p){if(typeof q.getElementById!=="undefined"&&!p)return(q=q.getElementById(l[1]))?q.id===l[1]||typeof q.getAttributeNode!=="undefined"&&q.getAttributeNode("id").nodeValue===l[1]?[q]:v:[]};m.filter.ID=function(l,q){var p=typeof l.getAttributeNode!=="undefined"&&l.getAttributeNode("id");
-return l.nodeType===1&&p&&p.nodeValue===q}}k.removeChild(g);k=g=null})();(function(){var g=r.createElement("div");g.appendChild(r.createComment(""));if(g.getElementsByTagName("*").length>0)m.find.TAG=function(h,k){k=k.getElementsByTagName(h[1]);if(h[1]==="*"){h=[];for(var l=0;k[l];l++)k[l].nodeType===1&&h.push(k[l]);k=h}return k};g.innerHTML="<a href='#'></a>";if(g.firstChild&&typeof g.firstChild.getAttribute!=="undefined"&&g.firstChild.getAttribute("href")!=="#")m.attrHandle.href=function(h){return h.getAttribute("href",
-2)};g=null})();r.querySelectorAll&&function(){var g=o,h=r.createElement("div");h.innerHTML="<p class='TEST'></p>";if(!(h.querySelectorAll&&h.querySelectorAll(".TEST").length===0)){o=function(l,q,p,u){q=q||r;if(!u&&q.nodeType===9&&!w(q))try{return A(q.querySelectorAll(l),p)}catch(t){}return g(l,q,p,u)};for(var k in g)o[k]=g[k];h=null}}();(function(){var g=r.createElement("div");g.innerHTML="<div class='test e'></div><div class='test'></div>";if(!(!g.getElementsByClassName||g.getElementsByClassName("e").length===
-0)){g.lastChild.className="e";if(g.getElementsByClassName("e").length!==1){m.order.splice(1,0,"CLASS");m.find.CLASS=function(h,k,l){if(typeof k.getElementsByClassName!=="undefined"&&!l)return k.getElementsByClassName(h[1])};g=null}}})();var E=r.compareDocumentPosition?function(g,h){return g.compareDocumentPosition(h)&16}:function(g,h){return g!==h&&(g.contains?g.contains(h):true)},w=function(g){return(g=(g?g.ownerDocument||g:0).documentElement)?g.nodeName!=="HTML":false},fa=function(g,h){var k=[],
-l="",q;for(h=h.nodeType?[h]:h;q=m.match.PSEUDO.exec(g);){l+=q[0];g=g.replace(m.match.PSEUDO,"")}g=m.relative[g]?g+"*":g;q=0;for(var p=h.length;q<p;q++)o(g,h[q],k);return o.filter(l,k)};c.find=o;c.expr=o.selectors;c.expr[":"]=c.expr.filters;c.unique=o.uniqueSort;c.getText=a;c.isXMLDoc=w;c.contains=E})();var bb=/Until$/,cb=/^(?:parents|prevUntil|prevAll)/,db=/,/;Q=Array.prototype.slice;var Ea=function(a,b,d){if(c.isFunction(b))return c.grep(a,function(e,i){return!!b.call(e,i,e)===d});else if(b.nodeType)return c.grep(a,
-function(e){return e===b===d});else if(typeof b==="string"){var f=c.grep(a,function(e){return e.nodeType===1});if(Qa.test(b))return c.filter(b,f,!d);else b=c.filter(b,f)}return c.grep(a,function(e){return c.inArray(e,b)>=0===d})};c.fn.extend({find:function(a){for(var b=this.pushStack("","find",a),d=0,f=0,e=this.length;f<e;f++){d=b.length;c.find(a,this[f],b);if(f>0)for(var i=d;i<b.length;i++)for(var j=0;j<d;j++)if(b[j]===b[i]){b.splice(i--,1);break}}return b},has:function(a){var b=c(a);return this.filter(function(){for(var d=
-0,f=b.length;d<f;d++)if(c.contains(this,b[d]))return true})},not:function(a){return this.pushStack(Ea(this,a,false),"not",a)},filter:function(a){return this.pushStack(Ea(this,a,true),"filter",a)},is:function(a){return!!a&&c.filter(a,this).length>0},closest:function(a,b){if(c.isArray(a)){var d=[],f=this[0],e,i={},j;if(f&&a.length){e=0;for(var n=a.length;e<n;e++){j=a[e];i[j]||(i[j]=c.expr.match.POS.test(j)?c(j,b||this.context):j)}for(;f&&f.ownerDocument&&f!==b;){for(j in i){e=i[j];if(e.jquery?e.index(f)>
--1:c(f).is(e)){d.push({selector:j,elem:f});delete i[j]}}f=f.parentNode}}return d}var o=c.expr.match.POS.test(a)?c(a,b||this.context):null;return this.map(function(m,s){for(;s&&s.ownerDocument&&s!==b;){if(o?o.index(s)>-1:c(s).is(a))return s;s=s.parentNode}return null})},index:function(a){if(!a||typeof a==="string")return c.inArray(this[0],a?c(a):this.parent().children());return c.inArray(a.jquery?a[0]:a,this)},add:function(a,b){a=typeof a==="string"?c(a,b||this.context):c.makeArray(a);b=c.merge(this.get(),
-a);return this.pushStack(pa(a[0])||pa(b[0])?b:c.unique(b))},andSelf:function(){return this.add(this.prevObject)}});c.each({parent:function(a){return(a=a.parentNode)&&a.nodeType!==11?a:null},parents:function(a){return c.dir(a,"parentNode")},parentsUntil:function(a,b,d){return c.dir(a,"parentNode",d)},next:function(a){return c.nth(a,2,"nextSibling")},prev:function(a){return c.nth(a,2,"previousSibling")},nextAll:function(a){return c.dir(a,"nextSibling")},prevAll:function(a){return c.dir(a,"previousSibling")},
-nextUntil:function(a,b,d){return c.dir(a,"nextSibling",d)},prevUntil:function(a,b,d){return c.dir(a,"previousSibling",d)},siblings:function(a){return c.sibling(a.parentNode.firstChild,a)},children:function(a){return c.sibling(a.firstChild)},contents:function(a){return c.nodeName(a,"iframe")?a.contentDocument||a.contentWindow.document:c.makeArray(a.childNodes)}},function(a,b){c.fn[a]=function(d,f){var e=c.map(this,b,d);bb.test(a)||(f=d);if(f&&typeof f==="string")e=c.filter(f,e);e=this.length>1?c.unique(e):
-e;if((this.length>1||db.test(f))&&cb.test(a))e=e.reverse();return this.pushStack(e,a,Q.call(arguments).join(","))}});c.extend({filter:function(a,b,d){if(d)a=":not("+a+")";return c.find.matches(a,b)},dir:function(a,b,d){var f=[];for(a=a[b];a&&a.nodeType!==9&&(d===v||a.nodeType!==1||!c(a).is(d));){a.nodeType===1&&f.push(a);a=a[b]}return f},nth:function(a,b,d){b=b||1;for(var f=0;a;a=a[d])if(a.nodeType===1&&++f===b)break;return a},sibling:function(a,b){for(var d=[];a;a=a.nextSibling)a.nodeType===1&&a!==
-b&&d.push(a);return d}});var Fa=/ jQuery\d+="(?:\d+|null)"/g,V=/^\s+/,Ga=/(<([\w:]+)[^>]*?)\/>/g,eb=/^(?:area|br|col|embed|hr|img|input|link|meta|param)$/i,Ha=/<([\w:]+)/,fb=/<tbody/i,gb=/<|&\w+;/,sa=/checked\s*(?:[^=]|=\s*.checked.)/i,Ia=function(a,b,d){return eb.test(d)?a:b+"></"+d+">"},F={option:[1,"<select multiple='multiple'>","</select>"],legend:[1,"<fieldset>","</fieldset>"],thead:[1,"<table>","</table>"],tr:[2,"<table><tbody>","</tbody></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],
-col:[2,"<table><tbody></tbody><colgroup>","</colgroup></table>"],area:[1,"<map>","</map>"],_default:[0,"",""]};F.optgroup=F.option;F.tbody=F.tfoot=F.colgroup=F.caption=F.thead;F.th=F.td;if(!c.support.htmlSerialize)F._default=[1,"div<div>","</div>"];c.fn.extend({text:function(a){if(c.isFunction(a))return this.each(function(b){var d=c(this);d.text(a.call(this,b,d.text()))});if(typeof a!=="object"&&a!==v)return this.empty().append((this[0]&&this[0].ownerDocument||r).createTextNode(a));return c.getText(this)},
-wrapAll:function(a){if(c.isFunction(a))return this.each(function(d){c(this).wrapAll(a.call(this,d))});if(this[0]){var b=c(a,this[0].ownerDocument).eq(0).clone(true);this[0].parentNode&&b.insertBefore(this[0]);b.map(function(){for(var d=this;d.firstChild&&d.firstChild.nodeType===1;)d=d.firstChild;return d}).append(this)}return this},wrapInner:function(a){if(c.isFunction(a))return this.each(function(b){c(this).wrapInner(a.call(this,b))});return this.each(function(){var b=c(this),d=b.contents();d.length?
-d.wrapAll(a):b.append(a)})},wrap:function(a){return this.each(function(){c(this).wrapAll(a)})},unwrap:function(){return this.parent().each(function(){c.nodeName(this,"body")||c(this).replaceWith(this.childNodes)}).end()},append:function(){return this.domManip(arguments,true,function(a){this.nodeType===1&&this.appendChild(a)})},prepend:function(){return this.domManip(arguments,true,function(a){this.nodeType===1&&this.insertBefore(a,this.firstChild)})},before:function(){if(this[0]&&this[0].parentNode)return this.domManip(arguments,
-false,function(b){this.parentNode.insertBefore(b,this)});else if(arguments.length){var a=c(arguments[0]);a.push.apply(a,this.toArray());return this.pushStack(a,"before",arguments)}},after:function(){if(this[0]&&this[0].parentNode)return this.domManip(arguments,false,function(b){this.parentNode.insertBefore(b,this.nextSibling)});else if(arguments.length){var a=this.pushStack(this,"after",arguments);a.push.apply(a,c(arguments[0]).toArray());return a}},clone:function(a){var b=this.map(function(){if(!c.support.noCloneEvent&&
-!c.isXMLDoc(this)){var d=this.outerHTML,f=this.ownerDocument;if(!d){d=f.createElement("div");d.appendChild(this.cloneNode(true));d=d.innerHTML}return c.clean([d.replace(Fa,"").replace(V,"")],f)[0]}else return this.cloneNode(true)});if(a===true){qa(this,b);qa(this.find("*"),b.find("*"))}return b},html:function(a){if(a===v)return this[0]&&this[0].nodeType===1?this[0].innerHTML.replace(Fa,""):null;else if(typeof a==="string"&&!/<script/i.test(a)&&(c.support.leadingWhitespace||!V.test(a))&&!F[(Ha.exec(a)||
-["",""])[1].toLowerCase()]){a=a.replace(Ga,Ia);try{for(var b=0,d=this.length;b<d;b++)if(this[b].nodeType===1){c.cleanData(this[b].getElementsByTagName("*"));this[b].innerHTML=a}}catch(f){this.empty().append(a)}}else c.isFunction(a)?this.each(function(e){var i=c(this),j=i.html();i.empty().append(function(){return a.call(this,e,j)})}):this.empty().append(a);return this},replaceWith:function(a){if(this[0]&&this[0].parentNode){if(c.isFunction(a))return this.each(function(b){var d=c(this),f=d.html();d.replaceWith(a.call(this,
-b,f))});else a=c(a).detach();return this.each(function(){var b=this.nextSibling,d=this.parentNode;c(this).remove();b?c(b).before(a):c(d).append(a)})}else return this.pushStack(c(c.isFunction(a)?a():a),"replaceWith",a)},detach:function(a){return this.remove(a,true)},domManip:function(a,b,d){function f(s){return c.nodeName(s,"table")?s.getElementsByTagName("tbody")[0]||s.appendChild(s.ownerDocument.createElement("tbody")):s}var e,i,j=a[0],n=[];if(!c.support.checkClone&&arguments.length===3&&typeof j===
-"string"&&sa.test(j))return this.each(function(){c(this).domManip(a,b,d,true)});if(c.isFunction(j))return this.each(function(s){var x=c(this);a[0]=j.call(this,s,b?x.html():v);x.domManip(a,b,d)});if(this[0]){e=a[0]&&a[0].parentNode&&a[0].parentNode.nodeType===11?{fragment:a[0].parentNode}:ra(a,this,n);if(i=e.fragment.firstChild){b=b&&c.nodeName(i,"tr");for(var o=0,m=this.length;o<m;o++)d.call(b?f(this[o],i):this[o],e.cacheable||this.length>1||o>0?e.fragment.cloneNode(true):e.fragment)}n&&c.each(n,
-Ma)}return this}});c.fragments={};c.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(a,b){c.fn[a]=function(d){var f=[];d=c(d);for(var e=0,i=d.length;e<i;e++){var j=(e>0?this.clone(true):this).get();c.fn[b].apply(c(d[e]),j);f=f.concat(j)}return this.pushStack(f,a,d.selector)}});c.each({remove:function(a,b){if(!a||c.filter(a,[this]).length){if(!b&&this.nodeType===1){c.cleanData(this.getElementsByTagName("*"));c.cleanData([this])}this.parentNode&&
-this.parentNode.removeChild(this)}},empty:function(){for(this.nodeType===1&&c.cleanData(this.getElementsByTagName("*"));this.firstChild;)this.removeChild(this.firstChild)}},function(a,b){c.fn[a]=function(){return this.each(b,arguments)}});c.extend({clean:function(a,b,d,f){b=b||r;if(typeof b.createElement==="undefined")b=b.ownerDocument||b[0]&&b[0].ownerDocument||r;var e=[];c.each(a,function(i,j){if(typeof j==="number")j+="";if(j){if(typeof j==="string"&&!gb.test(j))j=b.createTextNode(j);else if(typeof j===
-"string"){j=j.replace(Ga,Ia);var n=(Ha.exec(j)||["",""])[1].toLowerCase(),o=F[n]||F._default,m=o[0];i=b.createElement("div");for(i.innerHTML=o[1]+j+o[2];m--;)i=i.lastChild;if(!c.support.tbody){m=fb.test(j);n=n==="table"&&!m?i.firstChild&&i.firstChild.childNodes:o[1]==="<table>"&&!m?i.childNodes:[];for(o=n.length-1;o>=0;--o)c.nodeName(n[o],"tbody")&&!n[o].childNodes.length&&n[o].parentNode.removeChild(n[o])}!c.support.leadingWhitespace&&V.test(j)&&i.insertBefore(b.createTextNode(V.exec(j)[0]),i.firstChild);
-j=c.makeArray(i.childNodes)}if(j.nodeType)e.push(j);else e=c.merge(e,j)}});if(d)for(a=0;e[a];a++)if(f&&c.nodeName(e[a],"script")&&(!e[a].type||e[a].type.toLowerCase()==="text/javascript"))f.push(e[a].parentNode?e[a].parentNode.removeChild(e[a]):e[a]);else{e[a].nodeType===1&&e.splice.apply(e,[a+1,0].concat(c.makeArray(e[a].getElementsByTagName("script"))));d.appendChild(e[a])}return e},cleanData:function(a){for(var b=0,d;(d=a[b])!=null;b++){c.event.remove(d);c.removeData(d)}}});var hb=/z-?index|font-?weight|opacity|zoom|line-?height/i,
-Ja=/alpha\([^)]*\)/,Ka=/opacity=([^)]*)/,ga=/float/i,ha=/-([a-z])/ig,ib=/([A-Z])/g,jb=/^-?\d+(?:px)?$/i,kb=/^-?\d/,lb={position:"absolute",visibility:"hidden",display:"block"},mb=["Left","Right"],nb=["Top","Bottom"],ob=r.defaultView&&r.defaultView.getComputedStyle,La=c.support.cssFloat?"cssFloat":"styleFloat",ia=function(a,b){return b.toUpperCase()};c.fn.css=function(a,b){return X(this,a,b,true,function(d,f,e){if(e===v)return c.curCSS(d,f);if(typeof e==="number"&&!hb.test(f))e+="px";c.style(d,f,e)})};
-c.extend({style:function(a,b,d){if(!a||a.nodeType===3||a.nodeType===8)return v;if((b==="width"||b==="height")&&parseFloat(d)<0)d=v;var f=a.style||a,e=d!==v;if(!c.support.opacity&&b==="opacity"){if(e){f.zoom=1;b=parseInt(d,10)+""==="NaN"?"":"alpha(opacity="+d*100+")";a=f.filter||c.curCSS(a,"filter")||"";f.filter=Ja.test(a)?a.replace(Ja,b):b}return f.filter&&f.filter.indexOf("opacity=")>=0?parseFloat(Ka.exec(f.filter)[1])/100+"":""}if(ga.test(b))b=La;b=b.replace(ha,ia);if(e)f[b]=d;return f[b]},css:function(a,
-b,d,f){if(b==="width"||b==="height"){var e,i=b==="width"?mb:nb;function j(){e=b==="width"?a.offsetWidth:a.offsetHeight;f!=="border"&&c.each(i,function(){f||(e-=parseFloat(c.curCSS(a,"padding"+this,true))||0);if(f==="margin")e+=parseFloat(c.curCSS(a,"margin"+this,true))||0;else e-=parseFloat(c.curCSS(a,"border"+this+"Width",true))||0})}a.offsetWidth!==0?j():c.swap(a,lb,j);return Math.max(0,Math.round(e))}return c.curCSS(a,b,d)},curCSS:function(a,b,d){var f,e=a.style;if(!c.support.opacity&&b==="opacity"&&
-a.currentStyle){f=Ka.test(a.currentStyle.filter||"")?parseFloat(RegExp.$1)/100+"":"";return f===""?"1":f}if(ga.test(b))b=La;if(!d&&e&&e[b])f=e[b];else if(ob){if(ga.test(b))b="float";b=b.replace(ib,"-$1").toLowerCase();e=a.ownerDocument.defaultView;if(!e)return null;if(a=e.getComputedStyle(a,null))f=a.getPropertyValue(b);if(b==="opacity"&&f==="")f="1"}else if(a.currentStyle){d=b.replace(ha,ia);f=a.currentStyle[b]||a.currentStyle[d];if(!jb.test(f)&&kb.test(f)){b=e.left;var i=a.runtimeStyle.left;a.runtimeStyle.left=
-a.currentStyle.left;e.left=d==="fontSize"?"1em":f||0;f=e.pixelLeft+"px";e.left=b;a.runtimeStyle.left=i}}return f},swap:function(a,b,d){var f={};for(var e in b){f[e]=a.style[e];a.style[e]=b[e]}d.call(a);for(e in b)a.style[e]=f[e]}});if(c.expr&&c.expr.filters){c.expr.filters.hidden=function(a){var b=a.offsetWidth,d=a.offsetHeight,f=a.nodeName.toLowerCase()==="tr";return b===0&&d===0&&!f?true:b>0&&d>0&&!f?false:c.curCSS(a,"display")==="none"};c.expr.filters.visible=function(a){return!c.expr.filters.hidden(a)}}var pb=
-J(),qb=/<script(.|\s)*?\/script>/gi,rb=/select|textarea/i,sb=/color|date|datetime|email|hidden|month|number|password|range|search|tel|text|time|url|week/i,N=/=\?(&|$)/,ja=/\?/,tb=/(\?|&)_=.*?(&|$)/,ub=/^(\w+:)?\/\/([^\/?#]+)/,vb=/%20/g;c.fn.extend({_load:c.fn.load,load:function(a,b,d){if(typeof a!=="string")return this._load(a);else if(!this.length)return this;var f=a.indexOf(" ");if(f>=0){var e=a.slice(f,a.length);a=a.slice(0,f)}f="GET";if(b)if(c.isFunction(b)){d=b;b=null}else if(typeof b==="object"){b=
-c.param(b,c.ajaxSettings.traditional);f="POST"}var i=this;c.ajax({url:a,type:f,dataType:"html",data:b,complete:function(j,n){if(n==="success"||n==="notmodified")i.html(e?c("<div />").append(j.responseText.replace(qb,"")).find(e):j.responseText);d&&i.each(d,[j.responseText,n,j])}});return this},serialize:function(){return c.param(this.serializeArray())},serializeArray:function(){return this.map(function(){return this.elements?c.makeArray(this.elements):this}).filter(function(){return this.name&&!this.disabled&&
-(this.checked||rb.test(this.nodeName)||sb.test(this.type))}).map(function(a,b){a=c(this).val();return a==null?null:c.isArray(a)?c.map(a,function(d){return{name:b.name,value:d}}):{name:b.name,value:a}}).get()}});c.each("ajaxStart ajaxStop ajaxComplete ajaxError ajaxSuccess ajaxSend".split(" "),function(a,b){c.fn[b]=function(d){return this.bind(b,d)}});c.extend({get:function(a,b,d,f){if(c.isFunction(b)){f=f||d;d=b;b=null}return c.ajax({type:"GET",url:a,data:b,success:d,dataType:f})},getScript:function(a,
-b){return c.get(a,null,b,"script")},getJSON:function(a,b,d){return c.get(a,b,d,"json")},post:function(a,b,d,f){if(c.isFunction(b)){f=f||d;d=b;b={}}return c.ajax({type:"POST",url:a,data:b,success:d,dataType:f})},ajaxSetup:function(a){c.extend(c.ajaxSettings,a)},ajaxSettings:{url:location.href,global:true,type:"GET",contentType:"application/x-www-form-urlencoded",processData:true,async:true,xhr:z.XMLHttpRequest&&(z.location.protocol!=="file:"||!z.ActiveXObject)?function(){return new z.XMLHttpRequest}:
-function(){try{return new z.ActiveXObject("Microsoft.XMLHTTP")}catch(a){}},accepts:{xml:"application/xml, text/xml",html:"text/html",script:"text/javascript, application/javascript",json:"application/json, text/javascript",text:"text/plain",_default:"*/*"}},lastModified:{},etag:{},ajax:function(a){function b(){e.success&&e.success.call(o,n,j,w);e.global&&f("ajaxSuccess",[w,e])}function d(){e.complete&&e.complete.call(o,w,j);e.global&&f("ajaxComplete",[w,e]);e.global&&!--c.active&&c.event.trigger("ajaxStop")}
-function f(q,p){(e.context?c(e.context):c.event).trigger(q,p)}var e=c.extend(true,{},c.ajaxSettings,a),i,j,n,o=a&&a.context||e,m=e.type.toUpperCase();if(e.data&&e.processData&&typeof e.data!=="string")e.data=c.param(e.data,e.traditional);if(e.dataType==="jsonp"){if(m==="GET")N.test(e.url)||(e.url+=(ja.test(e.url)?"&":"?")+(e.jsonp||"callback")+"=?");else if(!e.data||!N.test(e.data))e.data=(e.data?e.data+"&":"")+(e.jsonp||"callback")+"=?";e.dataType="json"}if(e.dataType==="json"&&(e.data&&N.test(e.data)||
-N.test(e.url))){i=e.jsonpCallback||"jsonp"+pb++;if(e.data)e.data=(e.data+"").replace(N,"="+i+"$1");e.url=e.url.replace(N,"="+i+"$1");e.dataType="script";z[i]=z[i]||function(q){n=q;b();d();z[i]=v;try{delete z[i]}catch(p){}A&&A.removeChild(B)}}if(e.dataType==="script"&&e.cache===null)e.cache=false;if(e.cache===false&&m==="GET"){var s=J(),x=e.url.replace(tb,"$1_="+s+"$2");e.url=x+(x===e.url?(ja.test(e.url)?"&":"?")+"_="+s:"")}if(e.data&&m==="GET")e.url+=(ja.test(e.url)?"&":"?")+e.data;e.global&&!c.active++&&
-c.event.trigger("ajaxStart");s=(s=ub.exec(e.url))&&(s[1]&&s[1]!==location.protocol||s[2]!==location.host);if(e.dataType==="script"&&m==="GET"&&s){var A=r.getElementsByTagName("head")[0]||r.documentElement,B=r.createElement("script");B.src=e.url;if(e.scriptCharset)B.charset=e.scriptCharset;if(!i){var C=false;B.onload=B.onreadystatechange=function(){if(!C&&(!this.readyState||this.readyState==="loaded"||this.readyState==="complete")){C=true;b();d();B.onload=B.onreadystatechange=null;A&&B.parentNode&&
-A.removeChild(B)}}}A.insertBefore(B,A.firstChild);return v}var E=false,w=e.xhr();if(w){e.username?w.open(m,e.url,e.async,e.username,e.password):w.open(m,e.url,e.async);try{if(e.data||a&&a.contentType)w.setRequestHeader("Content-Type",e.contentType);if(e.ifModified){c.lastModified[e.url]&&w.setRequestHeader("If-Modified-Since",c.lastModified[e.url]);c.etag[e.url]&&w.setRequestHeader("If-None-Match",c.etag[e.url])}s||w.setRequestHeader("X-Requested-With","XMLHttpRequest");w.setRequestHeader("Accept",
-e.dataType&&e.accepts[e.dataType]?e.accepts[e.dataType]+", */*":e.accepts._default)}catch(fa){}if(e.beforeSend&&e.beforeSend.call(o,w,e)===false){e.global&&!--c.active&&c.event.trigger("ajaxStop");w.abort();return false}e.global&&f("ajaxSend",[w,e]);var g=w.onreadystatechange=function(q){if(!w||w.readyState===0||q==="abort"){E||d();E=true;if(w)w.onreadystatechange=c.noop}else if(!E&&w&&(w.readyState===4||q==="timeout")){E=true;w.onreadystatechange=c.noop;j=q==="timeout"?"timeout":!c.httpSuccess(w)?
-"error":e.ifModified&&c.httpNotModified(w,e.url)?"notmodified":"success";var p;if(j==="success")try{n=c.httpData(w,e.dataType,e)}catch(u){j="parsererror";p=u}if(j==="success"||j==="notmodified")i||b();else c.handleError(e,w,j,p);d();q==="timeout"&&w.abort();if(e.async)w=null}};try{var h=w.abort;w.abort=function(){w&&h.call(w);g("abort")}}catch(k){}e.async&&e.timeout>0&&setTimeout(function(){w&&!E&&g("timeout")},e.timeout);try{w.send(m==="POST"||m==="PUT"||m==="DELETE"?e.data:null)}catch(l){c.handleError(e,
-w,null,l);d()}e.async||g();return w}},handleError:function(a,b,d,f){if(a.error)a.error.call(a.context||a,b,d,f);if(a.global)(a.context?c(a.context):c.event).trigger("ajaxError",[b,a,f])},active:0,httpSuccess:function(a){try{return!a.status&&location.protocol==="file:"||a.status>=200&&a.status<300||a.status===304||a.status===1223||a.status===0}catch(b){}return false},httpNotModified:function(a,b){var d=a.getResponseHeader("Last-Modified"),f=a.getResponseHeader("Etag");if(d)c.lastModified[b]=d;if(f)c.etag[b]=
-f;return a.status===304||a.status===0},httpData:function(a,b,d){var f=a.getResponseHeader("content-type")||"",e=b==="xml"||!b&&f.indexOf("xml")>=0;a=e?a.responseXML:a.responseText;e&&a.documentElement.nodeName==="parsererror"&&c.error("parsererror");if(d&&d.dataFilter)a=d.dataFilter(a,b);if(typeof a==="string")if(b==="json"||!b&&f.indexOf("json")>=0)a=c.parseJSON(a);else if(b==="script"||!b&&f.indexOf("javascript")>=0)c.globalEval(a);return a},param:function(a,b){function d(j,n){if(c.isArray(n))c.each(n,
-function(o,m){b?f(j,m):d(j+"["+(typeof m==="object"||c.isArray(m)?o:"")+"]",m)});else!b&&n!=null&&typeof n==="object"?c.each(n,function(o,m){d(j+"["+o+"]",m)}):f(j,n)}function f(j,n){n=c.isFunction(n)?n():n;e[e.length]=encodeURIComponent(j)+"="+encodeURIComponent(n)}var e=[];if(b===v)b=c.ajaxSettings.traditional;if(c.isArray(a)||a.jquery)c.each(a,function(){f(this.name,this.value)});else for(var i in a)d(i,a[i]);return e.join("&").replace(vb,"+")}});var ka={},wb=/toggle|show|hide/,xb=/^([+-]=)?([\d+-.]+)(.*)$/,
-W,ta=[["height","marginTop","marginBottom","paddingTop","paddingBottom"],["width","marginLeft","marginRight","paddingLeft","paddingRight"],["opacity"]];c.fn.extend({show:function(a,b){if(a||a===0)return this.animate(K("show",3),a,b);else{a=0;for(b=this.length;a<b;a++){var d=c.data(this[a],"olddisplay");this[a].style.display=d||"";if(c.css(this[a],"display")==="none"){d=this[a].nodeName;var f;if(ka[d])f=ka[d];else{var e=c("<"+d+" />").appendTo("body");f=e.css("display");if(f==="none")f="block";e.remove();
-ka[d]=f}c.data(this[a],"olddisplay",f)}}a=0;for(b=this.length;a<b;a++)this[a].style.display=c.data(this[a],"olddisplay")||"";return this}},hide:function(a,b){if(a||a===0)return this.animate(K("hide",3),a,b);else{a=0;for(b=this.length;a<b;a++){var d=c.data(this[a],"olddisplay");!d&&d!=="none"&&c.data(this[a],"olddisplay",c.css(this[a],"display"))}a=0;for(b=this.length;a<b;a++)this[a].style.display="none";return this}},_toggle:c.fn.toggle,toggle:function(a,b){var d=typeof a==="boolean";if(c.isFunction(a)&&
-c.isFunction(b))this._toggle.apply(this,arguments);else a==null||d?this.each(function(){var f=d?a:c(this).is(":hidden");c(this)[f?"show":"hide"]()}):this.animate(K("toggle",3),a,b);return this},fadeTo:function(a,b,d){return this.filter(":hidden").css("opacity",0).show().end().animate({opacity:b},a,d)},animate:function(a,b,d,f){var e=c.speed(b,d,f);if(c.isEmptyObject(a))return this.each(e.complete);return this[e.queue===false?"each":"queue"](function(){var i=c.extend({},e),j,n=this.nodeType===1&&c(this).is(":hidden"),
-o=this;for(j in a){var m=j.replace(ha,ia);if(j!==m){a[m]=a[j];delete a[j];j=m}if(a[j]==="hide"&&n||a[j]==="show"&&!n)return i.complete.call(this);if((j==="height"||j==="width")&&this.style){i.display=c.css(this,"display");i.overflow=this.style.overflow}if(c.isArray(a[j])){(i.specialEasing=i.specialEasing||{})[j]=a[j][1];a[j]=a[j][0]}}if(i.overflow!=null)this.style.overflow="hidden";i.curAnim=c.extend({},a);c.each(a,function(s,x){var A=new c.fx(o,i,s);if(wb.test(x))A[x==="toggle"?n?"show":"hide":x](a);
-else{var B=xb.exec(x),C=A.cur(true)||0;if(B){x=parseFloat(B[2]);var E=B[3]||"px";if(E!=="px"){o.style[s]=(x||1)+E;C=(x||1)/A.cur(true)*C;o.style[s]=C+E}if(B[1])x=(B[1]==="-="?-1:1)*x+C;A.custom(C,x,E)}else A.custom(C,x,"")}});return true})},stop:function(a,b){var d=c.timers;a&&this.queue([]);this.each(function(){for(var f=d.length-1;f>=0;f--)if(d[f].elem===this){b&&d[f](true);d.splice(f,1)}});b||this.dequeue();return this}});c.each({slideDown:K("show",1),slideUp:K("hide",1),slideToggle:K("toggle",
-1),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"}},function(a,b){c.fn[a]=function(d,f){return this.animate(b,d,f)}});c.extend({speed:function(a,b,d){var f=a&&typeof a==="object"?a:{complete:d||!d&&b||c.isFunction(a)&&a,duration:a,easing:d&&b||b&&!c.isFunction(b)&&b};f.duration=c.fx.off?0:typeof f.duration==="number"?f.duration:c.fx.speeds[f.duration]||c.fx.speeds._default;f.old=f.complete;f.complete=function(){f.queue!==false&&c(this).dequeue();c.isFunction(f.old)&&f.old.call(this)};return f},easing:{linear:function(a,
-b,d,f){return d+f*a},swing:function(a,b,d,f){return(-Math.cos(a*Math.PI)/2+0.5)*f+d}},timers:[],fx:function(a,b,d){this.options=b;this.elem=a;this.prop=d;if(!b.orig)b.orig={}}});c.fx.prototype={update:function(){this.options.step&&this.options.step.call(this.elem,this.now,this);(c.fx.step[this.prop]||c.fx.step._default)(this);if((this.prop==="height"||this.prop==="width")&&this.elem.style)this.elem.style.display="block"},cur:function(a){if(this.elem[this.prop]!=null&&(!this.elem.style||this.elem.style[this.prop]==
-null))return this.elem[this.prop];return(a=parseFloat(c.css(this.elem,this.prop,a)))&&a>-10000?a:parseFloat(c.curCSS(this.elem,this.prop))||0},custom:function(a,b,d){function f(i){return e.step(i)}this.startTime=J();this.start=a;this.end=b;this.unit=d||this.unit||"px";this.now=this.start;this.pos=this.state=0;var e=this;f.elem=this.elem;if(f()&&c.timers.push(f)&&!W)W=setInterval(c.fx.tick,13)},show:function(){this.options.orig[this.prop]=c.style(this.elem,this.prop);this.options.show=true;this.custom(this.prop===
-"width"||this.prop==="height"?1:0,this.cur());c(this.elem).show()},hide:function(){this.options.orig[this.prop]=c.style(this.elem,this.prop);this.options.hide=true;this.custom(this.cur(),0)},step:function(a){var b=J(),d=true;if(a||b>=this.options.duration+this.startTime){this.now=this.end;this.pos=this.state=1;this.update();this.options.curAnim[this.prop]=true;for(var f in this.options.curAnim)if(this.options.curAnim[f]!==true)d=false;if(d){if(this.options.display!=null){this.elem.style.overflow=
-this.options.overflow;a=c.data(this.elem,"olddisplay");this.elem.style.display=a?a:this.options.display;if(c.css(this.elem,"display")==="none")this.elem.style.display="block"}this.options.hide&&c(this.elem).hide();if(this.options.hide||this.options.show)for(var e in this.options.curAnim)c.style(this.elem,e,this.options.orig[e]);this.options.complete.call(this.elem)}return false}else{e=b-this.startTime;this.state=e/this.options.duration;a=this.options.easing||(c.easing.swing?"swing":"linear");this.pos=
-c.easing[this.options.specialEasing&&this.options.specialEasing[this.prop]||a](this.state,e,0,1,this.options.duration);this.now=this.start+(this.end-this.start)*this.pos;this.update()}return true}};c.extend(c.fx,{tick:function(){for(var a=c.timers,b=0;b<a.length;b++)a[b]()||a.splice(b--,1);a.length||c.fx.stop()},stop:function(){clearInterval(W);W=null},speeds:{slow:600,fast:200,_default:400},step:{opacity:function(a){c.style(a.elem,"opacity",a.now)},_default:function(a){if(a.elem.style&&a.elem.style[a.prop]!=
-null)a.elem.style[a.prop]=(a.prop==="width"||a.prop==="height"?Math.max(0,a.now):a.now)+a.unit;else a.elem[a.prop]=a.now}}});if(c.expr&&c.expr.filters)c.expr.filters.animated=function(a){return c.grep(c.timers,function(b){return a===b.elem}).length};c.fn.offset="getBoundingClientRect"in r.documentElement?function(a){var b=this[0];if(a)return this.each(function(e){c.offset.setOffset(this,a,e)});if(!b||!b.ownerDocument)return null;if(b===b.ownerDocument.body)return c.offset.bodyOffset(b);var d=b.getBoundingClientRect(),
-f=b.ownerDocument;b=f.body;f=f.documentElement;return{top:d.top+(self.pageYOffset||c.support.boxModel&&f.scrollTop||b.scrollTop)-(f.clientTop||b.clientTop||0),left:d.left+(self.pageXOffset||c.support.boxModel&&f.scrollLeft||b.scrollLeft)-(f.clientLeft||b.clientLeft||0)}}:function(a){var b=this[0];if(a)return this.each(function(s){c.offset.setOffset(this,a,s)});if(!b||!b.ownerDocument)return null;if(b===b.ownerDocument.body)return c.offset.bodyOffset(b);c.offset.initialize();var d=b.offsetParent,f=
-b,e=b.ownerDocument,i,j=e.documentElement,n=e.body;f=(e=e.defaultView)?e.getComputedStyle(b,null):b.currentStyle;for(var o=b.offsetTop,m=b.offsetLeft;(b=b.parentNode)&&b!==n&&b!==j;){if(c.offset.supportsFixedPosition&&f.position==="fixed")break;i=e?e.getComputedStyle(b,null):b.currentStyle;o-=b.scrollTop;m-=b.scrollLeft;if(b===d){o+=b.offsetTop;m+=b.offsetLeft;if(c.offset.doesNotAddBorder&&!(c.offset.doesAddBorderForTableAndCells&&/^t(able|d|h)$/i.test(b.nodeName))){o+=parseFloat(i.borderTopWidth)||
-0;m+=parseFloat(i.borderLeftWidth)||0}f=d;d=b.offsetParent}if(c.offset.subtractsBorderForOverflowNotVisible&&i.overflow!=="visible"){o+=parseFloat(i.borderTopWidth)||0;m+=parseFloat(i.borderLeftWidth)||0}f=i}if(f.position==="relative"||f.position==="static"){o+=n.offsetTop;m+=n.offsetLeft}if(c.offset.supportsFixedPosition&&f.position==="fixed"){o+=Math.max(j.scrollTop,n.scrollTop);m+=Math.max(j.scrollLeft,n.scrollLeft)}return{top:o,left:m}};c.offset={initialize:function(){var a=r.body,b=r.createElement("div"),
-d,f,e,i=parseFloat(c.curCSS(a,"marginTop",true))||0;c.extend(b.style,{position:"absolute",top:0,left:0,margin:0,border:0,width:"1px",height:"1px",visibility:"hidden"});b.innerHTML="<div style='position:absolute;top:0;left:0;margin:0;border:5px solid #000;padding:0;width:1px;height:1px;'><div></div></div><table style='position:absolute;top:0;left:0;margin:0;border:5px solid #000;padding:0;width:1px;height:1px;' cellpadding='0' cellspacing='0'><tr><td></td></tr></table>";a.insertBefore(b,a.firstChild);
-d=b.firstChild;f=d.firstChild;e=d.nextSibling.firstChild.firstChild;this.doesNotAddBorder=f.offsetTop!==5;this.doesAddBorderForTableAndCells=e.offsetTop===5;f.style.position="fixed";f.style.top="20px";this.supportsFixedPosition=f.offsetTop===20||f.offsetTop===15;f.style.position=f.style.top="";d.style.overflow="hidden";d.style.position="relative";this.subtractsBorderForOverflowNotVisible=f.offsetTop===-5;this.doesNotIncludeMarginInBodyOffset=a.offsetTop!==i;a.removeChild(b);c.offset.initialize=c.noop},
-bodyOffset:function(a){var b=a.offsetTop,d=a.offsetLeft;c.offset.initialize();if(c.offset.doesNotIncludeMarginInBodyOffset){b+=parseFloat(c.curCSS(a,"marginTop",true))||0;d+=parseFloat(c.curCSS(a,"marginLeft",true))||0}return{top:b,left:d}},setOffset:function(a,b,d){if(/static/.test(c.curCSS(a,"position")))a.style.position="relative";var f=c(a),e=f.offset(),i=parseInt(c.curCSS(a,"top",true),10)||0,j=parseInt(c.curCSS(a,"left",true),10)||0;if(c.isFunction(b))b=b.call(a,d,e);d={top:b.top-e.top+i,left:b.left-
-e.left+j};"using"in b?b.using.call(a,d):f.css(d)}};c.fn.extend({position:function(){if(!this[0])return null;var a=this[0],b=this.offsetParent(),d=this.offset(),f=/^body|html$/i.test(b[0].nodeName)?{top:0,left:0}:b.offset();d.top-=parseFloat(c.curCSS(a,"marginTop",true))||0;d.left-=parseFloat(c.curCSS(a,"marginLeft",true))||0;f.top+=parseFloat(c.curCSS(b[0],"borderTopWidth",true))||0;f.left+=parseFloat(c.curCSS(b[0],"borderLeftWidth",true))||0;return{top:d.top-f.top,left:d.left-f.left}},offsetParent:function(){return this.map(function(){for(var a=
-this.offsetParent||r.body;a&&!/^body|html$/i.test(a.nodeName)&&c.css(a,"position")==="static";)a=a.offsetParent;return a})}});c.each(["Left","Top"],function(a,b){var d="scroll"+b;c.fn[d]=function(f){var e=this[0],i;if(!e)return null;if(f!==v)return this.each(function(){if(i=ua(this))i.scrollTo(!a?f:c(i).scrollLeft(),a?f:c(i).scrollTop());else this[d]=f});else return(i=ua(e))?"pageXOffset"in i?i[a?"pageYOffset":"pageXOffset"]:c.support.boxModel&&i.document.documentElement[d]||i.document.body[d]:e[d]}});
-c.each(["Height","Width"],function(a,b){var d=b.toLowerCase();c.fn["inner"+b]=function(){return this[0]?c.css(this[0],d,false,"padding"):null};c.fn["outer"+b]=function(f){return this[0]?c.css(this[0],d,false,f?"margin":"border"):null};c.fn[d]=function(f){var e=this[0];if(!e)return f==null?null:this;if(c.isFunction(f))return this.each(function(i){var j=c(this);j[d](f.call(this,i,j[d]()))});return"scrollTo"in e&&e.document?e.document.compatMode==="CSS1Compat"&&e.document.documentElement["client"+b]||
-e.document.body["client"+b]:e.nodeType===9?Math.max(e.documentElement["client"+b],e.body["scroll"+b],e.documentElement["scroll"+b],e.body["offset"+b],e.documentElement["offset"+b]):f===v?c.css(e,d):this.css(d,typeof f==="string"?f:f+"px")}});z.jQuery=z.$=c})(window);
diff --git a/Qt4VS2003/Doc/templates/scripts/narrow.js b/Qt4VS2003/Doc/templates/scripts/narrow.js
deleted file mode 100644
index 35c81bf4..00000000
--- a/Qt4VS2003/Doc/templates/scripts/narrow.js
+++ /dev/null
@@ -1,89 +0,0 @@
-var narrowInit = function() {
- /* TODO:
- Could probably be more efficient, not hardcoding each element to be created
- */
- // 1: Create search form
- var narrowSearch = $('<div id="narrowsearch"></div>');
- var searchform = $("#qtdocsearch");
- narrowSearch.append(searchform);
- $("#qtdocheader .content .qtref").after(narrowSearch);
-
- // 2: Create dropdowns
- var narrowmenu = $('<ul id="narrowmenu" class="sf-menu"></ul>');
-
- // Lookup
- var lookuptext = $("#lookup h2").attr("title");
- $("#lookup ul").removeAttr("id");
- $("#lookup ul li").removeAttr("class");
- $("#lookup ul li").removeAttr("style");
- var lookupul = $("#lookup ul");
- var lookuplist = $('<li></li>');
- var lookuplink = $('<a href="#"></a>');
- lookuplink.append(lookuptext);
- lookuplist.append(lookuplink);
- lookuplist.append(lookupul);
- narrowmenu.append(lookuplist);
-
- // Topics
- var topicstext = $("#topics h2").attr("title");
- $("#topics ul").removeAttr("id");
- $("#topics ul li").removeAttr("class");
- $("#topics ul li").removeAttr("style");
- var topicsul = $("#topics ul");
- var topicslist = $('<li></li>');
- var topicslink = $('<a href="#"></a>');
- topicslink.append(topicstext);
- topicslist.append(topicslink);
- topicslist.append(topicsul);
- narrowmenu.append(topicslist);
-
- // Examples
- var examplestext = $("#examples h2").attr("title");
- $("#examples ul").removeAttr("id");
- $("#examples ul li").removeAttr("class");
- $("#examples ul li").removeAttr("style");
- var examplesul = $("#examples ul");
- var exampleslist = $('<li></li>');
- var exampleslink = $('<a href="#"></a>');
- exampleslink.append(examplestext);
- exampleslist.append(exampleslink);
- exampleslist.append(examplesul);
- narrowmenu.append(exampleslist);
-
- $("#shortCut").after(narrowmenu);
- $('ul#narrowmenu').superfish({
- delay: 100,
- autoArrows: false,
- disableHI: true
- });
-}
-
-$(document).ready(function(){
-/* if ($('body').hasClass('narrow')) {
- narrowInit();
- }
- */
- if($(window).width()<600) {
- $('body').addClass('narrow');
-
- if ($("#narrowsearch").length == 0) {
- narrowInit();
- }
- }
- else {
- $('body').removeClass('narrow');
- }
-});
-
-$(window).bind('resize', function () {
- if($(window).width()<600) {
- $('body').addClass('narrow');
-
- if ($("#narrowsearch").length == 0) {
- narrowInit();
- }
- }
- else {
- $('body').removeClass('narrow');
- }
-}); \ No newline at end of file
diff --git a/Qt4VS2003/Doc/templates/scripts/superfish.js b/Qt4VS2003/Doc/templates/scripts/superfish.js
deleted file mode 100644
index c6a9c7de..00000000
--- a/Qt4VS2003/Doc/templates/scripts/superfish.js
+++ /dev/null
@@ -1,121 +0,0 @@
-
-/*
- * Superfish v1.4.8 - jQuery menu widget
- * Copyright (c) 2008 Joel Birch
- *
- * Dual licensed under the MIT and GPL licenses:
- * http://www.opensource.org/licenses/mit-license.php
- * http://www.gnu.org/licenses/gpl.html
- *
- * CHANGELOG: http://users.tpg.com.au/j_birch/plugins/superfish/changelog.txt
- */
-
-;(function($){
- $.fn.superfish = function(op){
-
- var sf = $.fn.superfish,
- c = sf.c,
- $arrow = $(['<span class="',c.arrowClass,'"> &#187;</span>'].join('')),
- over = function(){
- var $$ = $(this), menu = getMenu($$);
- clearTimeout(menu.sfTimer);
- $$.showSuperfishUl().siblings().hideSuperfishUl();
- },
- out = function(){
- var $$ = $(this), menu = getMenu($$), o = sf.op;
- clearTimeout(menu.sfTimer);
- menu.sfTimer=setTimeout(function(){
- o.retainPath=($.inArray($$[0],o.$path)>-1);
- $$.hideSuperfishUl();
- if (o.$path.length && $$.parents(['li.',o.hoverClass].join('')).length<1){over.call(o.$path);}
- },o.delay);
- },
- getMenu = function($menu){
- var menu = $menu.parents(['ul.',c.menuClass,':first'].join(''))[0];
- sf.op = sf.o[menu.serial];
- return menu;
- },
- addArrow = function($a){ $a.addClass(c.anchorClass).append($arrow.clone()); };
-
- return this.each(function() {
- var s = this.serial = sf.o.length;
- var o = $.extend({},sf.defaults,op);
- o.$path = $('li.'+o.pathClass,this).slice(0,o.pathLevels).each(function(){
- $(this).addClass([o.hoverClass,c.bcClass].join(' '))
- .filter('li:has(ul)').removeClass(o.pathClass);
- });
- sf.o[s] = sf.op = o;
-
- $('li:has(ul)',this)[($.fn.hoverIntent && !o.disableHI) ? 'hoverIntent' : 'hover'](over,out).each(function() {
- if (o.autoArrows) addArrow( $('>a:first-child',this) );
- })
- .not('.'+c.bcClass)
- .hideSuperfishUl();
-
- var $a = $('a',this);
- $a.each(function(i){
- var $li = $a.eq(i).parents('li');
- $a.eq(i).focus(function(){over.call($li);}).blur(function(){out.call($li);});
- });
- o.onInit.call(this);
-
- }).each(function() {
- var menuClasses = [c.menuClass];
- if (sf.op.dropShadows && !($.browser.msie && $.browser.version < 7)) menuClasses.push(c.shadowClass);
- $(this).addClass(menuClasses.join(' '));
- });
- };
-
- var sf = $.fn.superfish;
- sf.o = [];
- sf.op = {};
- sf.IE7fix = function(){
- var o = sf.op;
- if ($.browser.msie && $.browser.version > 6 && o.dropShadows && o.animation.opacity!=undefined)
- this.toggleClass(sf.c.shadowClass+'-off');
- };
- sf.c = {
- bcClass : 'sf-breadcrumb',
- menuClass : 'sf-js-enabled',
- anchorClass : 'sf-with-ul',
- arrowClass : 'sf-sub-indicator',
- shadowClass : 'sf-shadow'
- };
- sf.defaults = {
- hoverClass : 'sfHover',
- pathClass : 'overideThisToUse',
- pathLevels : 1,
- delay : 800,
- animation : {opacity:'show'},
- speed : 'normal',
- autoArrows : true,
- dropShadows : true,
- disableHI : false, // true disables hoverIntent detection
- onInit : function(){}, // callback functions
- onBeforeShow: function(){},
- onShow : function(){},
- onHide : function(){}
- };
- $.fn.extend({
- hideSuperfishUl : function(){
- var o = sf.op,
- not = (o.retainPath===true) ? o.$path : '';
- o.retainPath = false;
- var $ul = $(['li.',o.hoverClass].join(''),this).add(this).not(not).removeClass(o.hoverClass)
- .find('>ul').hide().css('visibility','hidden');
- o.onHide.call($ul);
- return this;
- },
- showSuperfishUl : function(){
- var o = sf.op,
- sh = sf.c.shadowClass+'-off',
- $ul = this.addClass(o.hoverClass)
- .find('>ul:hidden').css('visibility','visible');
- sf.IE7fix.call($ul);
- o.onBeforeShow.call($ul);
- $ul.animate(o.animation,o.speed,function(){ sf.IE7fix.call($ul); o.onShow.call($ul); });
- return this;
- }
- });
-
-})(jQuery);
diff --git a/Qt4VS2003/Doc/templates/style/narrow.css b/Qt4VS2003/Doc/templates/style/narrow.css
deleted file mode 100644
index de5b0a09..00000000
--- a/Qt4VS2003/Doc/templates/style/narrow.css
+++ /dev/null
@@ -1,270 +0,0 @@
- /* start narrow mode */
-
- body.narrow
- {
- background-image: none;
- }
-
- .narrow a {
- color: #44a51c;
- }
-
- .narrow .header, .narrow .header .content, .narrow .footer, .narrow .wrapper {
- margin: 0 7px;
- min-width: 300px;
- }
-
- .narrow .footer {
- margin: 0px;
- }
-
- .creator .header, .creator .header .content, .creator .footer, .creator .wrapper {
- margin: 0px;
- min-width: 300px;
- }
- .narrow .header
- {
- width: 100%;
- margin: 0;
- height: auto;
- background: #fff url(../images/header_bg.png) repeat-x 0 100%;
- padding: 10px 0 5px 0;
- overflow: visible;
- }
-
- .narrow .header .content
- {
- }
-
- .narrow .header #nav-logo
- {
- display: none;
- }
-
- .narrow .header .qtref
- {
- width: auto;
- height: auto;
- color: #363534;
- position: static;
- float: left;
- margin-left: 25px;
- font: bold 18px/1 Arial;
- }
-
- .narrow .header .qtref a
- {
- color: #00732F;
- }
-
- .narrow .header .qtref span
- {
- background-image: none;
- text-indent: 0;
- }
-
- .narrow .header #nav-topright
- {
- display: none;
- }
-
- .narrow .header #shortCut
- {
- clear: both;
- font-weight: normal;
- position: static;
- float: left;
- margin: 15px 0 0 25px;
- overflow: hidden;
- padding: 0;
- height: auto;
- }
-
- .narrow .header #shortCut ul
- {
- float: none;
- margin: 0;
- width: auto;
- font-size: 11px;
- }
-
- .narrow .header #shortCut ul li
- {
- background-image: none;
- }
-
- .narrow .header #shortCut ul .shortCut-topleft-active,
- .narrow .header #shortCut ul .shortCut-topleft-inactive
- {
- background-image: none;
- height: auto;
- padding: 0;
- width: auto;
- }
- .narrow .header #shortCut ul li a
- {
- color: #00732F;
- }
-
- .narrow .wrapper .hd
- {
- background: url(../images/bg_ul_blank.png) no-repeat 0 0;
- }
-
- .narrow .wrapper .bd
- {
- background: url(../images/bg_l_blank.png) repeat-y 0 0;
- }
-
- .narrow .wrapper .ft
- {
- background: url(../images/bg_ll_blank.png) no-repeat 0 0;
- }
-
- .narrow .sidebar
- {
- display: none;
- }
-
- .narrow .wrap
- {
- margin: 0 5px 0 5px;
- }
-
- .creator .wrap
- {
- margin: 0px;
- background:#FFFFFF;
- }
- .narrow .wrap .toolbar
- {
- border-bottom: none;
- }
-
- .narrow .wrap .content
- {
- padding-top: 15px;
- }
- .creator .wrap .content
- {
- padding-top: 10px;
- }
- .creator .wrap .content .guide
- {
- padding-top: 15px;
- }
- .narrow .wrap .feedback
- {
- display: none;
- }
-
- .narrow .wrap .breadcrumb ul li {
- font-weight: normal;
- }
-
- .narrow .wrap .breadcrumb ul li a {
- color: #44a51c;
- }
-
- .narrow .wrap .breadcrumb ul li.last a {
- color: #363534;
- }
-
- #narrowsearch {
- display: none;
- }
-
- .narrow #narrowsearch {
- display: block;
- float: right;
- margin-right: 25px;
- _position: relative;
- }
-
- .narrow #narrowsearch fieldset {
- _position: absolute;
- _margin-top: -1px;
- }
-
- .narrow #narrowsearch {
- background: url("http://doc.qt.nokia.com/prototype/html/images/sprites-combined.png") no-repeat scroll -6px -348px transparent;
- height: 21px;
- padding: 2px 0 0 5px;
- width: 167px;
- }
-
- .narrow #narrowsearch input {
- border: none;
- font: 13px/1.2 Verdana;
- height: 19px;
- outline: none;
- padding: 0;
- width: 158px;
- *border: 1px solid #fff;
- *height: 17px;
- _height: 18px;
- /* to be fixed */
- display: none;
- /* to be fixed */
- }
-
- .narrow .indexbox .indexIcon {
- display: none;
- }
-
- .narrow .indexboxcont .section {
- width: 64%;
- padding-left: 0;
- }
-
- .narrow .indexboxcont .sectionlist {
- width: 32.5%;
- }
-
- #narrowmenu {
- display: none;
- float: right;
- margin: 15px 40px 0 0;
- font-size: 11px;
- }
-
- .narrow #narrowmenu {
- display: block;
- }
-
- #narrowmenu a {
- line-height: 1.1;
- background: url(../images/arrow_down.png) no-repeat 100% 50%;
- white-space: nowrap;
- padding: 0 16px 0 5px;
- }
-
- #narrowmenu li {
- margin-left: 20px;
- }
-
- #narrowmenu li li {
- margin: 0 0 5px 0;
- }
-
- #narrowmenu li li a {
- padding: 0;
- background-image: none;
- }
-
- #narrowmenu li,
- #narrowmenu li ul {
- background-color: #fff;
- margin-top:-1px;
- }
-
- #narrowmenu li ul {
- width: auto;
- padding: 5px;
- }
-
- .sf-menu li:hover ul, .sf-menu li.sfHover ul {
- top: 1.2em;
- }
-
- /* end narrow mode */
diff --git a/Qt4VS2003/Doc/templates/style/offline.css b/Qt4VS2003/Doc/templates/style/offline.css
deleted file mode 100644
index c3f90c36..00000000
--- a/Qt4VS2003/Doc/templates/style/offline.css
+++ /dev/null
@@ -1,675 +0,0 @@
-@media screen
-{
-
-/* basic elements */
- html
- {
- color: #000000;
- background: #FFFFFF;
- }
- table
- {
- border-collapse: collapse;
- border-spacing: 0;
- }
- fieldset, img
- {
- border: 0;
- max-width:100%;
- }
- address, caption, cite, code, dfn, em, strong, th, var, optgroup
- {
- font-style: inherit;
- font-weight: inherit;
- }
- del, ins
- {
- text-decoration: none;
- }
- ol li
- {
- list-style: decimal;
- }
- ul li
- {
- list-style: none;
- }
- caption, th
- {
- text-align: left;
- }
- h1, h2, h3, h4, h5, h6
- {
- font-size: 100%;
- }
- q:before, q:after
- {
- content: '';
- }
- abbr, acronym
- {
- border: 0;
- font-variant: normal;
- }
- sup, sub
- {
- vertical-align: baseline;
- }
- tt, .qmlreadonly span, .qmldefault span
- {
- word-spacing:0.5em;
- }
- legend
- {
- color: #000000;
- }
- strong
- {
- font-weight: bold;
- }
- em
- {
- font-style: italic;
- }
-
- body
- {
- margin-left: 0.5em;
- margin-right: 0.5em;
- font-family: sans-serif;
- line-height: normal
- }
- a
- {
- color: #00732F;
- text-decoration: none;
- }
- hr
- {
- background-color: #E6E6E6;
- border: 1px solid #E6E6E6;
- height: 1px;
- width: 100%;
- text-align: left;
- margin: 1.5em 0 1.5em 0;
- }
-
- pre
- {
- border: 1px solid #DDDDDD;
- -moz-border-radius: 0.7em 0.7em 0.7em 0.7em;
- -webkit-border-radius: 0.7em 0.7em 0.7em 0.7em;
- border-radius: 0.7em 0.7em 0.7em 0.7em;
- margin: 0 1.5em 1em 1em;
- padding: 1em 1em 1em 1em;
- overflow-x: auto;
- }
- table, pre
- {
- -moz-border-radius: 0.7em 0.7em 0.7em 0.7em;
- -webkit-border-radius: 0.7em 0.7em 0.7em 0.7em;
- border-radius: 0.7em 0.7em 0.7em 0.7em;
- background-color: #F6F6F6;
- border: 1px solid #E6E6E6;
- border-collapse: separate;
- margin-bottom: 2.5em;
- }
- pre {
- font-size: 90%;
- display: block;
- overflow:hidden;
- }
- thead
- {
- margin-top: 0.5em;
- font-weight: bold
- }
- th
- {
- padding: 0.5em 1.5em 0.5em 1em;
- background-color: #E1E1E1;
- border-left: 1px solid #E6E6E6;
- }
- td
- {
- padding: 0.25em 1.5em 0.25em 1em;
- }
-
- td.rightAlign
- {
- padding: 0.25em 0.5em 0.25em 1em;
- }
- table tr.odd
- {
- border-left: 1px solid #E6E6E6;
- background-color: #F6F6F6;
- color: #66666E;
- }
- table tr.even
- {
- border-left: 1px solid #E6E6E6;
- background-color: #ffffff;
- color: #66666E;
- }
-
- div.float-left
- {
- float: left; margin-right: 2em
- }
- div.float-right
- {
- float: right; margin-left: 2em
- }
-
- span.comment
- {
- color: #008B00;
- }
- span.string, span.char
- {
- color: #000084;
- }
- span.number
- {
- color: #a46200;
- }
- span.operator
- {
- color: #202020;
- }
- span.keyword
- {
- color: #840000;
- }
- span.name
- {
- color: black
- }
- span.type
- {
- font-weight: bold
- }
- span.type a:visited
- {
- color: #0F5300;
- }
- span.preprocessor
- {
- color: #404040
- }
-/* end basic elements */
-
-/* font style elements */
- .heading
- {
- font-weight: bold;
- font-size: 125%;
- }
- .subtitle
- {
- font-size: 110%
- }
- .small-subtitle
- {
- font-size: 100%
- }
- .red
- {
- color:red;
- }
-/* end font style elements */
-
-/* global settings*/
- .header, .footer
- {
- display: block;
- clear: both;
- overflow: hidden;
- }
-/* end global settings*/
-
-/* header elements */
- .header .qtref
- {
- color: #00732F;
- font-weight: bold;
- font-size: 130%;
- }
-
- .header .content
- {
- margin-bottom: 0.5em
- }
-
- .header .breadcrumb
- {
- font-size: 90%;
- padding: 0.5em 0 0.5em 1em;
- margin: 0;
- background-color: #fafafa;
- height: 1.35em;
- border-bottom: 1px solid #d1d1d1;
- }
-
- .header .breadcrumb ul
- {
- margin: 0;
- padding: 0;
- }
-
- .header .content
- {
- word-wrap: break-word;
- }
-
- .header .breadcrumb ul li
- {
- float: left;
- background: url(../images/breadcrumb.png) no-repeat 0 3px;
- padding-left: 1.5em;
- margin-left: 1.5em;
- }
-
- .header .breadcrumb ul li.last
- {
- font-weight: normal;
- }
-
- .header .breadcrumb ul li a
- {
- color: #00732F;
- }
-
- .header .breadcrumb ul li.first
- {
- background-image: none;
- padding-left: 0;
- margin-left: 0;
- }
-
- .header .content ol li {
- background: none;
- margin-bottom: 1.0em;
- margin-left: 1.2em;
- padding-left: 0
- }
-
- .header .content li
- {
- background: url(../images/bullet_sq.png) no-repeat 0 5px;
- margin-bottom: 1em;
- padding-left: 1.2em;
- }
-
-/* end header elements */
-
-/* content elements */
- .content h1
- {
- font-weight: bold;
- font-size: 130%
- }
-
- .content h2
- {
- font-weight: bold;
- font-size: 120%;
- width: 100%;
- }
- .content h3
- {
- font-weight: bold;
- font-size: 110%;
- width: 100%;
- }
- .content table p
- {
- margin: 0
- }
- .content ul
- {
- padding-left: 2.5em;
- }
- .content li
- {
- padding-top: 0.25em;
- padding-bottom: 0.25em;
- }
- .content ul img {
- vertical-align: middle;
- }
-
- .content a:visited
- {
- color: #4c0033;
- text-decoration: none;
- }
-
- .content a:visited:hover
- {
- color: #4c0033;
- text-decoration: underline;
- }
-
- a:hover
- {
- color: #4c0033;
- text-decoration: underline;
- }
- descr p a
- {
- text-decoration: underline;
- }
-
- .descr p a:visited
- {
- text-decoration: underline;
- }
-
- .alphaChar{
- width:95%;
- background-color:#F6F6F6;
- border:1px solid #E6E6E6;
- -moz-border-radius: 7px 7px 7px 7px;
- border-radius: 7px 7px 7px 7px;
- -webkit-border-radius: 7px 7px 7px 7px;
- font-size:12pt;
- padding-left:10px;
- margin-top:10px;
- margin-bottom:10px;
- }
- .flowList{
- /*vertical-align:top;*/
- /*margin:20px auto;*/
-
- column-count:3;
- -webkit-column-count:3;
- -moz-column-count:3;
-/*
- column-width:100%;
- -webkit-column-width:200px;
- -col-column-width:200px;
-*/
- column-gap:41px;
- -webkit-column-gap:41px;
- -moz-column-gap:41px;
-
- column-rule: 1px dashed #ccc;
- -webkit-column-rule: 1px dashed #ccc;
- -moz-column-rule: 1px dashed #ccc;
- }
-
- .flowList dl{
- }
- .flowList dd{
- /*display:inline-block;*/
- margin-left:10px;
- min-width:250px;
- line-height: 1.5;
- min-width:100%;
- min-height:15px;
- }
-
- .flowList dd a{
- }
-
- .content .flowList p{
- padding:0px;
- }
-
- .content .alignedsummary
- {
- margin: 15px;
- }
-
-
- .qmltype
- {
- text-align: center;
- font-size: 120%;
- }
- .qmlreadonly
- {
- padding-left: 5px;
- float: right;
- color: #254117;
- }
-
- .qmldefault
- {
- padding-left: 5px;
- float: right;
- color: red;
- }
-
- .qmldoc
- {
- }
-
- .generic .alphaChar{
- margin-top:5px;
- }
-
- .generic .odd .alphaChar{
- background-color: #F6F6F6;
- }
-
- .generic .even .alphaChar{
- background-color: #FFFFFF;
- }
-
- .memItemRight{
- padding: 0.25em 1.5em 0.25em 0;
- }
- .highlightedCode
- {
- margin: 1.0em;
- }
- .annotated td {
- padding: 0.25em 0.5em 0.25em 0.5em;
- }
-
- .toc
- {
- font-size: 80%
- }
-
- .header .content .toc ul
- {
- padding-left: 0px;
- }
-
- .content .toc h3 {
- border-bottom: 0px;
- margin-top: 0px;
- }
-
- .content .toc h3 a:hover {
- color: #00732F;
- text-decoration: none;
- }
-
- .content .toc .level2
- {
- margin-left: 1.5em;
- }
-
- .content .toc .level3
- {
- margin-left: 3.0em;
- }
-
- .content ul li
- {
- background: url(../images/bullet_sq.png) no-repeat 0 0.7em;
- padding-left: 1em
- }
-
- .content .toc li
- {
- background: url(../images/bullet_dn.png) no-repeat 0 5px;
- padding-left: 1em
- }
-
- .relpage
- {
- -moz-border-radius: 7px 7px 7px 7px;
- -webkit-border-radius: 7px 7px 7px 7px;
- border-radius: 7px 7px 7px 7px;
- border: 1px solid #DDDDDD;
- padding: 25px 25px;
- clear: both;
- }
- .relpage ul
- {
- float: none;
- padding: 1.5em;
- }
-
- h3.fn, span.fn
- {
- -moz-border-radius:7px 7px 7px 7px;
- -webkit-border-radius:7px 7px 7px 7px;
- border-radius:7px 7px 7px 7px;
- background-color: #F6F6F6;
- border-width: 1px;
- border-style: solid;
- border-color: #E6E6E6;
- font-weight: bold;
- word-spacing:3px;
- padding:3px 5px;
- }
-
- .functionIndex {
- font-size:12pt;
- word-spacing:10px;
- margin-bottom:10px;
- background-color: #F6F6F6;
- border-width: 1px;
- border-style: solid;
- border-color: #E6E6E6;
- -moz-border-radius: 7px 7px 7px 7px;
- -webkit-border-radius: 7px 7px 7px 7px;
- border-radius: 7px 7px 7px 7px;
- width:100%;
- }
-
- .centerAlign
- {
- text-align:center;
- }
-
- .rightAlign
- {
- text-align:right;
- }
-
- .leftAlign
- {
- text-align:left;
- }
-
- .topAlign{
- vertical-align:top
- }
-
- .functionIndex a{
- display:inline-block;
- }
-
-/* end content elements */
-/* footer elements */
-
- .footer
- {
- color: #393735;
- font-size: 0.75em;
- text-align: center;
- padding-top: 1.5em;
- padding-bottom: 1em;
- background-color: #E6E7E8;
- margin: 0;
- }
- .footer p
- {
- margin: 0.25em
- }
- .small
- {
- font-size: 0.5em;
- }
-/* end footer elements */
-
- .item {
- float: left;
- position: relative;
- width: 100%;
- overflow: hidden;
- }
-
-
- .item .primary {
- margin-right: 220px;
- position: relative;
- }
-
- .item hr {
- margin-left: -220px;
- }
-
- .item .secondary {
- float: right;
- width: 200px;
- position: relative;
- }
-
- .item .cols {
- clear: both;
- display: block;
- }
-
- .item .cols .col {
- float: left;
- margin-left: 1.5%;
- }
-
- .item .cols .col.first {
- margin-left: 0;
- }
-
- .item .cols.two .col {
- width: 45%;
- }
-
- .item .box {
- margin: 0 0 10px 0;
- }
-
- .item .box h3 {
- margin: 0 0 10px 0;
- }
-
- .cols.unclear {
- clear:none;
- }
-}
-
-/* end of screen media */
-
-/* start of print media */
-
-@media print
-{
- input, textarea, .header, .footer, .toolbar, .feedback, .wrapper .hd, .wrapper .bd .sidebar, .wrapper .ft, #feedbackBox, #blurpage, .toc, .breadcrumb, .toolbar, .floatingResult
- {
- display: none;
- background: none;
- }
- .content
- {
- background: none;
- display: block;
- width: 100%; margin: 0; float: none;
- }
-}
-/* end of print media */
diff --git a/Qt4VS2003/Doc/templates/style/style.css b/Qt4VS2003/Doc/templates/style/style.css
deleted file mode 100644
index af16d41e..00000000
--- a/Qt4VS2003/Doc/templates/style/style.css
+++ /dev/null
@@ -1,1592 +0,0 @@
-@media screen
-{
-
-/* basic elements */
- html
- {
- color: #000000;
- background: #FFFFFF;
- }
- body, div, dl, dt, dd, ul, ol, li, h1, h2, h3, h4, h5, h6, pre, code, form, fieldset, legend, input, button, textarea, p, blockquote, th, td
- {
- margin: 0;
- padding: 0;
- }
- table
- {
- border-collapse: collapse;
- border-spacing: 0;
- }
- fieldset, img
- {
- border: 0;
- max-width:100%;
- }
- address, caption, cite, code, dfn, em, strong, th, var, optgroup
- {
- font-style: inherit;
- font-weight: inherit;
- }
- del, ins
- {
- text-decoration: none;
- }
- li
- {
- list-style: none;
- }
- ol li
- {
- list-style: decimal;
- }
- caption, th
- {
- text-align: left;
- }
- h1, h2, h3, h4, h5, h6
- {
- font-size: 100%;
- }
- q:before, q:after
- {
- content: '';
- }
- abbr, acronym
- {
- border: 0;
- font-variant: normal;
- }
- sup, sub
- {
- vertical-align: baseline;
- }
- tt, .qmlreadonly span, .qmldefault span
- {
- word-spacing:5px;
- }
- legend
- {
- color: #000000;
- }
- input, button, textarea, select, optgroup, option
- {
- font-family: inherit;
- font-size: inherit;
- font-style: inherit;
- font-weight: inherit;
- }
- input, button, textarea, select
- {
- font-size: 100%;
- }
- strong
- {
- font-weight: bold;
- }
- em
- {
- font-style: italic;
- }
-
- /* adding Qt theme */
- html
- {
- /* background-color: #e5e5e5;*/
- }
- body
- {
- background: #e6e7e8 url(../images/page_bg.png) repeat-x 0 0;
- font: normal 13px/1.2 Verdana;
- color: #363534;
- }
- a
- {
- color: #00732f;
- text-decoration: none;
- }
- hr
- {
- background-color: #E6E6E6;
- border: 1px solid #E6E6E6;
- height: 1px;
- width: 100%;
- text-align: left;
- margin: 15px 0px 15px 0px;
- }
-
- pre
- {
- border: 1px solid #DDDDDD;
- -moz-border-radius: 7px 7px 7px 7px;
- -webkit-border-radius: 7px 7px 7px 7px;
- border-radius: 7px 7px 7px 7px;
- margin: 0 20px 10px 10px;
- padding: 20px 15px 20px 20px;
- overflow-x: auto;
- }
- table, pre
- {
- -moz-border-radius: 7px 7px 7px 7px;
- -webkit-border-radius: 7px 7px 7px 7px;
- border-radius: 7px 7px 7px 7px;
- background-color: #F6F6F6;
- border: 1px solid #E6E6E6;
- border-collapse: separate;
- font-size: 11px;
- margin-bottom: 25px;
- }
- pre.highlightedCode {
- display: block;
- overflow:hidden;
- }
- thead
- {
- margin-top: 5px;
- font:600 12px/1.2 Arial;
- }
- th
- {
- padding: 5px 15px 5px 15px;
- background-color: #E1E1E1;
- border-left: 1px solid #E6E6E6;
- }
- td
- {
- padding: 3px 15px 3px 15px;
- }
- tr.odd td:hover, tr.even td:hover {}
-
- td.rightAlign
- {
- padding: 3px 5px 3px 10px;
- }
- table tr.odd
- {
- border-left: 1px solid #E6E6E6;
- background-color: #F6F6F6;
- color: #66666E;
- }
- table tr.even
- {
- border-left: 1px solid #E6E6E6;
- background-color: #ffffff;
- color: #66666E;
- }
- table tr.odd td:hover, table tr.even td:hover
- {
- /* background-color: #E6E6E6;*/ /* disabled until further notice */
- }
-
- span.comment
- {
- color: #8B0000;
- font-style: italic;
- }
- span.string, span.char
- {
- color: #254117;
- }
-
-
-/* end basic elements */
-
-/* font style elements */
- .heading
- {
- font: normal bold 16px/1.2 Arial;
- padding-bottom: 15px;
- }
- .subtitle
- {
- font-size: 13px;
- }
- .small-subtitle
- {
- font-size: 13px;
- }
-/* end font style elements */
-
-/* global settings*/
- .header, .footer, .wrapper
- {
- min-width: 600px;
- max-width: 1500px;
- margin: 0 30px;
- }
- .header, .footer
- {
- display: block;
- clear: both;
- overflow: hidden;
- }
- .header:after, .footer:after, .breadcrumb:after, .wrap .content:after, .group:after
- {
- content: ".";
- display: block;
- height: 0;
- clear: both;
- visibility: hidden;
- }
-
-/* end global settings*/
-/* header elements */
- .header
- {
- height: 115px;
- position: relative;
- }
- .header .icon
- {
- position: absolute;
- top: 13px;
- left: 0;
- }
- .header .qtref
- {
- position: absolute;
- top: 28px;
- left: 88px;
- width: 302px;
- height: 22px;
- }
- .header .qtref span
- {
- display: block;
- width: 302px;
- height: 22px;
- text-indent: -999em;
- background: url(../images/sprites-combined.png) no-repeat -78px -235px;
- }
- .content a:visited
- {
- color: #4c0033;
- text-decoration: none;
- }
- .content a:visited:hover
- {
- color: #4c0033;
- text-decoration: underline;
- }
-
- #nav-topright
- {
- height: 70px;
- }
-
- #nav-topright ul
- {
- list-style-type: none;
- float: right;
- width: 370px;
- margin-top: 11px;
- }
-
- #nav-topright li
- {
- display: inline-block;
- margin-right: 20px;
- float: left;
- }
-
- #nav-topright li.nav-topright-last
- {
- margin-right: 0;
- }
-
- #nav-topright li a
- {
- background: transparent url(../images/sprites-combined.png) no-repeat;
- height: 18px;
- display: block;
- overflow: hidden;
- text-indent: -9999px;
- }
-
- #nav-topright li.nav-topright-home a
- {
- width: 65px;
- background-position: -2px -91px;
- }
-
- #nav-topright li.nav-topright-home a:hover
- {
- background-position: -2px -117px;
- }
-
-
- #nav-topright li.nav-topright-dev a
- {
- width: 30px;
- background-position: -76px -91px;
- }
-
- #nav-topright li.nav-topright-dev a:hover
- {
- background-position: -76px -117px;
- }
-
-
- #nav-topright li.nav-topright-labs a
- {
- width: 40px;
- background-position: -114px -91px;
- }
-
- #nav-topright li.nav-topright-labs a:hover
- {
- background-position: -114px -117px;
- }
-
- #nav-topright li.nav-topright-doc a
- {
- width: 32px;
- background-position: -162px -91px;
- }
-
- #nav-topright li.nav-topright-doc a:hover, #nav-topright li.nav-topright-doc-active a
- {
- background-position: -162px -117px;
- }
-
- #nav-topright li.nav-topright-blog a
- {
- width: 40px;
- background-position: -203px -91px;
- }
-
- #nav-topright li.nav-topright-blog a:hover, #nav-topright li.nav-topright-blog-active a
- {
- background-position: -203px -117px;
- }
-
- #nav-topright li.nav-topright-shop a
- {
- width: 40px;
- background-position: -252px -91px;
- }
-
- #nav-topright li.nav-topright-shop a:hover, #nav-topright li.nav-topright-shop-active a
- {
- background-position: -252px -117px;
- }
-
- #nav-logo
- {
- background: transparent url(../images/sprites-combined.png ) no-repeat 0 -225px;
- left: -3px;
- position: absolute;
- width: 75px;
- height: 75px;
- top: 13px;
- }
- #nav-logo a
- {
- width: 75px;
- height: 75px;
- display: block;
- text-indent: -9999px;
- overflow: hidden;
- }
-
-
- .shortCut-topleft-inactive
- {
- padding-left: 3px;
- padding-right: 3px;
- background: transparent url( ../images/sprites-combined.png) no-repeat 0px -58px;
- height: 20px;
- }
- .shortCut-topleft-inactive span
- {
- font-variant: normal;
- }
- .shortCut-topleft-inactive span a:hover, .shortCut-topleft-active a:hover
- {
- text-decoration:none;
- }
- #shortCut
- {
- padding-top: 10px;
- font-weight: bolder;
- color: #b0adab;
- }
- #shortCut ul
- {
- list-style-type: none;
- float: left;
- width: 347px;
- margin-left: 100px;
- }
- #shortCut li
- {
- display: inline-block;
- margin-right: 25px;
- float: left;
- white-space: nowrap;
- }
- #shortCut li a
- {
- color: #b0adab;
- }
- #shortCut li a:hover
- {
- color: #44a51c;
- }
-
-
-
-/* end header elements */
-/* content and sidebar elements */
- .wrapper
- {
- background: url(../images/bg_r.png) repeat-y 100% 0;
- }
- .wrapper .hd
- {
- padding-left: 216px;
- height: 15px;
- background: url(../images/page.png) no-repeat 0 0;
- overflow: hidden;
- }
-
-
-
-
- .wrapper .hd span
- {
- height: 15px;
- display: block;
- overflow: hidden;
- background: url(../images/page.png) no-repeat 100% -30px;
- }
- .wrapper .bd
- {
- background: url(../images/bg_l.png) repeat-y 0 0;
- position: relative;
- }
-
-
-
-
- .wrapper .ft
- {
- padding-left: 216px;
- height: 15px;
- background: url(../images/page.png) no-repeat 0 -75px;
- overflow: hidden;
- }
-
-
-
-
- .wrapper .ft span
- {
- height: 15px;
- display: block;
- background: url(../images/page.png) no-repeat 100% -60px;
- overflow: hidden;
- }
- .navTop{
- float:right;
- display:block;
- padding-right:15px;
-
-
- }
-
-
-
-/* end content and sidebar elements */
-/* sidebar elements */
- .sidebar
- {
- float: left;
- margin-left: 5px;
- width: 200px;
- font-size: 11px;
- }
-
-
-
-
-
-
- .sidebar .searchlabel
- {
- padding: 0 0 2px 17px;
- font: normal bold 11px/1.2 Verdana;
- }
-
- .sidebar .search
- {
- padding: 0 15px 0 16px;
- }
-
- .sidebar .search form
- {
- background: url(../images/sprites-combined.png) no-repeat -6px -348px;
- height:21px;
- padding:2px 0 0 5px;
- width:167px;
- }
-
- .sidebar .search form input#pageType
- {
- width: 158px;
- height: 19px;
- padding: 0;
- border: 0px;
- outline: none;
- font: 13px/1.2 Verdana;
- }
-
- .sidebar .box
- {
- padding: 17px 15px 5px 16px;
- }
-
- .sidebar .box .first
- {
- background-image: none;
- }
-
- .sidebar .box h2
- {
- font: bold 16px/1.2 Arial;
- padding: 0;
- }
- .sidebar .box h2 span
- {
- overflow: hidden;
- display: inline-block;
- }
- .sidebar .box#lookup h2
- {
- background-image: none;
- }
- .sidebar #lookup.box h2 span
- {
- }
- .sidebar .box#topics h2
- {
- background-image: none;
- }
- .sidebar #topics.box h2 span
- {
- }
- .sidebar .box#examples h2
- {
- background-image: none;
- }
- .sidebar #examples.box h2 span
- {
- }
-
- .sidebar .box .list
- {
- display: block;
- max-height:200px;
- min-height:120px;
- overflow-y:auto;
- overflow-x:none;
- }
- .list li a:hover
- {
- text-decoration: underline;
- }
- .sidebar .box ul
- {
- padding-bottom:5px;
- padding-left:10px;
- padding-top:5px;
- }
- .sidebar .box ul li
- {
- padding-left: 12px;
- background: url(../images/bullet_gt.png) no-repeat 0 5px;
- margin-bottom: 5px;
- }
- .sidebar .bottombar
- {
- background: url(../images/box_bg.png) repeat-x 0 bottom;
- }
- .sidebar .box ul li.noMatch
- {
- background: none;
- color:#FF2A00;
- font-style:italic;
- }
- .sidebar .box ul li.hit
- {
- background: none;
- color:#AAD2F0;
- font-style:italic;
- }
- .sidebar .search form input.loading
- {
- background:url("../images/spinner.gif") no-repeat scroll right center transparent;
- }
-
-.floatingResult{
- z-index:1;
- position:relative;
- padding-top:0px;
- background-color:white;
- border:solid 1px black;
- height:250px;
- width:600px;
- overflow-x:hidden;
- overflow-y:auto;
-}
-
- .floatingResult:hover{
- display:block;
- }
- .floatingResult:hover{
- }
-
-/* end sidebar elements */
-/* content elements */
- .wrap
- {
- margin: 0 5px 0 208px;
- overflow: visible;
- }
-
-
-
-
- .wrap .toolbar
- {
- background-color: #fafafa;
- border-bottom: 1px solid #d1d1d1;
- height: 20px;
- position: relative;
- }
- .wrap .toolbar .toolblock
- {
- position: absolute;
- }
- .wrap .toolbar .breadcrumb
- {
- font-size: 11px;
- line-height: 1.2;
- padding: 0 0 10px 21px;
- height: 10px;
- }
- .wrap .toolbar .toolbuttons
- {
- padding: 0 0 10px 21px;
- right: 5px;
- vertical-align: middle;
- overflow: hidden;
- }
- .wrap .toolbar .toolbuttons .active
- {
- color: #00732F;
- }
- .wrap .toolbar .toolbuttons ul
- {
- float: right;
- }
- .wrap .toolbar .toolbuttons li
- {
- float: left;
- text-indent: -10px;
- margin-top: -5px;
- margin-right: 15px;
- font-weight: bold;
- color: #B0ADAB;
- }
-
- .toolbuttons #print
- {
- border-left: 1px solid #c5c4c4;
- margin-top: 0;
- padding-left: 7px;
- text-indent: 0;
- }
- .toolbuttons #print a
- {
- width: 16px;
- height: 16px;
- }
-
- .toolbuttons #print a span
- {
- width: 16px;
- height: 16px;
- text-indent: -999em;
- display: block;
- overflow: hidden;
- background: url(../images/sprites-combined.png) no-repeat -137px -311px;
- }
-
- .toolbuttons #smallA
- {
- font-size: 10pt;
- }
- .toolbuttons #medA
- {
- font-size: 12pt;
- }
- .toolbuttons #bigA
- {
- font-size: 14pt;
- margin-right: 7px;
- }
-
- #smallA:hover, #medA:hover, #bigA:hover
- {
- color: #00732F;
- }
-
-
- .wrap .content
- {
- padding: 30px;
- word-wrap:break-word;
- }
-
- .wrap .breadcrumb ul
- {
- }
- .wrap .breadcrumb ul li
- {
- float: left;
- background: url(../images/breadcrumb.png) no-repeat 0 3px;
- padding-left: 15px;
- margin-left: 15px;
- font-weight: bold;
- }
- .wrap .breadcrumb ul li.last
- {
- font-weight: normal;
- }
- .wrap .breadcrumb ul li a
- {
- color: #363534;
- }
- .wrap .breadcrumb ul li.first
- {
- background-image: none;
- padding-left: 0;
- margin-left: 0;
- }
-
-
-
-
- .wrap .content ol li {
- background:none;
- font:normal 10pt/1.2 Verdana;
-
- margin-bottom:10px;
- margin-left:12px;
- /*list-style-type:disc;*/
- }
-
- .wrap .content ol li
- {
- background:none;
- margin-bottom: 10px;
- padding-left:0px;
- margin-left:52px;
- }
-
- .wrap .content li
- {
- background: url(../images/bullet_sq.png) no-repeat 0 5px;
- font: normal 400 10pt/1.2 Verdana;
- margin-bottom: 10px;
- padding-left:12px;
- }
-
- .content li:hover {}
-
- .wrap .content h1
- {
- font: bold 18px/1.2 Arial;
- }
- .wrap .content h2
- {
- border-bottom:1px solid #DDDDDD;
- font:600 16px/1.2 Arial;
- margin-top:15px;
- width:100%;
- }
- .wrap .content h3
- {
- font: bold 14px/1.2 Arial;
- font:600 16px/1.2 Arial;
- margin-top:15px;
- width:100%;
- }
- .wrap .content p
- {
- line-height: 20px;
- padding: 5px;
- }
- .wrap .content table p
- {
- line-height: 20px;
- /* padding: 0px;*/
- }
- .wrap .content ul
- {
- padding-left: 25px;
- padding-top: 10px;
- }
- .wrap .content ul img {
- vertical-align:middle;
- }
- a:hover
- {
- color: #4c0033;
- text-decoration: underline;
- }
- .feedback
- {
- float: none;
- position: absolute;
- right: 15px;
- bottom: 10px;
- font: normal 8px/1 Verdana;
- color: #B0ADAB;
- }
- .feedback:hover
- {
- float: right;
- font: normal 8px/1 Verdana;
- color: #00732F;
- text-decoration: underline;
- }
- .alphaChar{
- width:95%;
- background-color:#F6F6F6;
- border:1px solid #E6E6E6;
- -moz-border-radius: 7px 7px 7px 7px;
- border-radius: 7px 7px 7px 7px;
- -webkit-border-radius: 7px 7px 7px 7px;
- font-size:12pt;
- padding-left:10px;
- margin-top:10px;
- margin-bottom:10px;
- }
- .flowList{
- /*vertical-align:top;*/
- /*margin:20px auto;*/
-
- column-count:3;
- -webkit-column-count:3;
- -moz-column-count:3;
-/*
- column-width:100%;
- -webkit-column-width:200px;
- -col-column-width:200px;
-*/
- column-gap:41px;
- -webkit-column-gap:41px;
- -moz-column-gap:41px;
-
- column-rule: 1px dashed #ccc;
- -webkit-column-rule: 1px dashed #ccc;
- -moz-column-rule: 1px dashed #ccc;
- }
-
- .flowList dl{
- }
- .flowList dd{
- /*display:inline-block;*/
- margin-left:10px;
- min-width:250px;
- line-height: 1.2;
- min-width:100%;
-
- }
-
- .flowList dd a{
- }
-
- .wrap .content .flowList p{
- padding:0px;
- }
-
- .content .alignedsummary
- {
- margin: 15px;
- }
-
-
- .qmltype
- {
- text-align: center;
- font-size: 160%;
- }
- .qmlreadonly
- {
- padding-left: 5px;
- float: right;
- color: #254117;
- }
-
- .qmldefault
- {
- padding-left: 5px;
- float: right;
- color: red;
- }
-
- .qmldoc
- {
- }
-
- *.qmlitem p
- {
- }
- #feedbackBox
- {
- display: none;
- -moz-border-radius: 7px 7px 7px 7px;
- -webkit-border-radius: 7px 7px 7px 7px;
- border-radius: 7px 7px 7px 7px;
- border: 1px solid #DDDDDD;
- position: fixed;
- top: 100px;
- left: 33%;
- height: 230px;
- width: 400px;
- padding: 5px;
- background-color: #e6e7e8;
- z-index: 4;
- }
- #feedcloseX
- {
- display: inline;
- padding: 5px 5px 0 0;
- margin-bottom: 3px;
- color: #363534;
- font-weight: bold;
- float: right;
- text-decoration: none;
- }
-
- #feedbox
- {
- display: inline;
- width: 370px;
- height: 120px;
- margin: 0px 25px 10px 15px;
- }
- #noteHead
- {
- font-weight:bold;
- padding:10px 10px 10px 20px;
- }
- #feedsubmit
- {
- display: inline;
- float: right;
- margin: 4px 32px 0 0;
- }
-
- .note
- {
- font-size:7pt;
- padding-bottom:3px;
- padding-left:20px;
- }
-
- #blurpage
- {
- display: none;
- position: fixed;
- float: none;
- top: 0px;
- left: 0px;
- right: 0px;
- bottom: 0px;
- background: transparent url(../images/feedbackground.png) 0 0;
- z-index: 3;
- }
- .toc
- {
- float: right;
- -moz-border-radius: 7px 7px 7px 7px;
- -webkit-border-radius: 7px 7px 7px 7px;
- border-radius: 7px 7px 7px 7px;
- background-color: #F6F6F6;
- border: 1px solid #DDDDDD;
- margin: 0 20px 10px 10px;
- padding: 20px 15px 20px 20px;
- height: auto;
- width: 200px;
- }
-
- .toc h3, .generic a
- {
- font: bold 12px/1.2 Arial;
- }
-
- .generic{
- }
- .generic td{
- /* padding:5px;*/
- }
- .generic .alphaChar{
- margin-top:5px;
- }
-
- .generic .odd .alphaChar{
- background-color: #F6F6F6;
- }
-
- .generic .even .alphaChar{
- background-color: #FFFFFF;
- }
-
- .alignedsummary{}
- .propsummary{}
- .memItemLeft{}
- .memItemRight{
- padding:3px 15px 3px 0;
- }
- .bottomAlign{}
- .highlightedCode
- {
- margin:10px;
- }
- .LegaleseLeft{}
- .valuelist{}
- .annotated td{
- padding: 3px 5px 3px 5px;
- }
- .obsolete{}
- .compat{}
- .flags{}
- .qmlsummary{}
- .qmlitem{}
- .qmlproto{}
- .qmlname{}
- .qmlreadonly{}
- .qmldefault{}
- .qmldoc{}
- .qt-style{}
- .redFont{}
- code{}
-
- .wrap .content .toc ul
- {
- padding-left: 0px;
- }
-
- .wrap .content .toc h3{
- border-bottom:0px;
- margin-top:0px;
- }
-
- .wrap .content .toc h3 a:hover{
- color:#00732F;
- text-decoration:none;
- }
-
-
- .wrap .content .toc .level2
- {
- margin-left: 15px;
- }
-
- .wrap .content .toc .level3
- {
- margin-left: 30px;
- }
-
- .content .toc li
- {
- font: normal 10px/1.2 Verdana;
- background: url(../images/bullet_dn.png) no-repeat 0 5px;
- }
- .relpage
- {
- -moz-border-radius: 7px 7px 7px 7px;
- -webkit-border-radius: 7px 7px 7px 7px;
- border-radius: 7px 7px 7px 7px;
- border: 1px solid #DDDDDD;
- padding: 25px 25px;
- clear: both;
- }
- .relpage ul
- {
- float: none;
- padding: 15px;
- }
- .content .relpage li
- {
- font: normal 11px/1.2 Verdana;
- }
- h3.fn, span.fn
- {
- -moz-border-radius:7px 7px 7px 7px;
- -webkit-border-radius:7px 7px 7px 7px;
- border-radius:7px 7px 7px 7px;
- background-color: #F6F6F6;
- border-width: 1px;
- border-style: solid;
- border-color: #E6E6E6;
- font-weight: bold;
- word-spacing:3px;
- padding:3px 5px;
- }
-
- .functionIndex {
- font-size:12pt;
- word-spacing:10px;
- margin-bottom:10px;
- background-color: #F6F6F6;
- border-width: 1px;
- border-style: solid;
- border-color: #E6E6E6;
- -moz-border-radius: 7px 7px 7px 7px;
- -webkit-border-radius: 7px 7px 7px 7px;
- border-radius: 7px 7px 7px 7px;
- width:100%;
- }
-
- .centerAlign
- {
- text-align:center;
- }
-
- .rightAlign
- {
- text-align:right;
- }
-
-
- .leftAlign
- {
- text-align:left;
- }
-
- .topAlign{
- vertical-align:top
- }
-
- .functionIndex a{
- display:inline-block;
- }
-
-/* end content elements */
-/* footer elements */
-
- .footer
- {
- min-height: 100px;
- color: #797775;
- font: normal 9px/1 Verdana;
- text-align: center;
- padding-top: 40px;
- background-color: #E6E7E8;
- margin: 0;
- }
-/* end footer elements */
-
-
-
-
- /* start index box */
- .indexbox
- {
- width: 100%;
- display:inline-block;
- }
-
- .indexboxcont
- {
- display: block;
-
- }
-
- .indexboxbar
- {
- background: transparent url(../images/horBar.png ) repeat-x left bottom;
- margin-bottom: 25px;
-
-
- }
-
- .indexboxcont .section
- {
- display: inline-block;
- width: 49%;
- *width:42%;
- _width:42%;
- padding:0 2% 0 1%;
- vertical-align:top;
-
-}
-
- .indexboxcont .indexIcon
- {
- width: 11%;
- *width:18%;
- _width:18%;
- overflow:hidden;
-
-}
-
-.indexboxcont .section {
- float: left;
-}
-
- .indexboxcont .section p
- {
- padding-top: 20px;
- padding-bottom: 20px;
- }
- .indexboxcont .sectionlist
- {
- display: inline-block;
- vertical-align:top;
- width: 32.5%;
- padding: 0;
- }
- .indexboxcont .sectionlist ul
- {
- margin-bottom: 20px;
- }
-
- .indexboxcont .sectionlist ul li
- {
- line-height: 12px;
- }
-
- .content .indexboxcont li
- {
- font: normal bold 13px/1 Verdana;
- }
-
- .indexbox a:hover, .indexbox a:visited:hover
- {
- color: #4c0033;
- text-decoration: underline;
- }
-
- .indexbox a:visited
- {
- color: #00732f;
- text-decoration: none;
- }
-
- .indexbox .indexIcon {
- width: 11%;
- }
-
-
- .indexbox .indexIcon span
- {
- display: block;
- }
-
- .indexbox.guide .indexIcon span
- {
- width: 96px;
- height: 137px;
- background: url(../images/sprites-combined.png) no-repeat -5px -376px;
- padding: 0;
- }
-
- .indexbox.tools .indexIcon span
- {
- width: 115px;
- height: 137px;
- background: url(../images/sprites-combined.png) no-repeat -111px -376px;
- padding: 0;
- }
- .indexboxcont:after
- {
- content: ".";
- display: block;
- height: 0;
- clear: both;
- visibility: hidden;
- }
-
-
-
-/* start of creator spec*/
- .creator
- {
- margin-left:0px;
- margin-right:0px;
- padding-left:0px;
- padding-right:0px;
- }
- .creator .wrap .content ol li {
- list-style-type:decimal;
-
- }
- .creator .header .icon,
- .creator .feedback,
- .creator .t_button,
- .creator .feedback,
- .creator #feedbackBox,
- .creator #feedback,
- .creator #blurpage,
- /*.creator .indexbox .indexIcon span,*/
- .creator .wrapper .hd,
-/* .creator .indexbox .indexIcon,*/
- .creator .header #nav-logo,
- .creator #offlinemenu,
- .creator #offlinesearch,
- .creator .header #nav-topright,
- .creator .header #shortCut ,
- .creator .wrapper .hd,
- .creator .wrapper .ft,
- .creator .sidebar,
- .creator .wrap .feedback
- {
- display:none;
- }
-
- body.creator
- {
- background: none;
-
- font: normal 13px/1.2 Verdana;
- color: #363534;
- background-color: #FAFAFA;
- }
-
- .wrap .content ol li {
-
- }
-
-
- .creator .header, .footer, .wrapper
- {
- max-width: 1500px;
- margin: 0px;
- }
-
- .creator .wrapper
- {
- position:relative;
- top:5px;
- }
- .creator .wrapper .bd
- {
-
- background:#FFFFFF;
- }
-
-
- .creator .header, .footer
- {
- display: block;
- clear: both;
- overflow: hidden;
- }
- .creator .wrap .content p
-
- {
- line-height: 20px;
- padding: 5px;
- }
-
- .creator .header .qtref span
- {
- background:none;
- }
-
-
-
- .creator .footer
- {
- border-top:1px solid #E5E5E5;
- height: 50px;
- margin:0px;
- padding:10px;
- }
-
- .creator .footer p
- {
- text-align:justify;
- max-width:900px;
- }
-
- .creator .wrap
- {
-
- padding:0 5px 0 5px;
- margin: 0px;
- }
- .creator .wrap .toolbar
- {
-
-
- border-bottom:1px solid #E5E5E5;
- /*width:100%;*/
- margin-left:-5px;
- margin-right:-5px;
- }
- .creator .wrap .breadcrumb ul li a
- {
- /* color: #363534;*/
- color: #00732F;
- }
-
- .creator .wrap .content
- {
- padding: 0px;
- word-wrap:break-word;
- }
-
- .creator .wrap .content ol li {
- background:none;
- font: inherit;
- padding-left: 0px;
- }
-
- .creator .wrap .content .descr ol li {
- margin-left: 45px;
-
- }
- .creator .content .alignedsummary
- {
- margin: 5px;
- width:100%;
- }
- .creator .generic{
- max-width:75%;
- }
- .creator .generic td{
- /* padding:0;*/
- }
- .creator .indexboxbar
- {
- border-bottom:1px solid #E5E5E5;
- margin-bottom: 25px;
- background: none;
- }
-
-
-
- .creator .header
- {
- width: 100%;
- margin: 0;
- height: auto;
- background-color: #ffffff;
- padding: 10px 0 5px 0;
- overflow: visible;
- border-bottom: solid #E5E5E5 1px;
- z-index:1;
-
-
-
-
-
-
-
-
- /* position:fixed;*/
- }
-
-
- .creator .header .content
- {
- }
- .creator .header .qtref
- {
- color: #00732F;
- position: static;
- float: left;
- margin-left: 5px;
- font: bold 18px/1 Arial;
- }
-
- .creator .header .qtref:visited
- {
- color: #00732F;
- }
- .creator .header .qtref:hover
- {
- color: #00732F;
- text-decoration:none;
- }
- .creator .header .qtref span
- {
- background-image: none;
- text-indent: 0;
- text-decoration:none;
- }
-
-
-
-
-
-
- .creator .wrap .toolbar
- {
- display:block;
- padding-top:0px;
- }
-
-
-
- .creator .wrap .breadcrumb ul li {
- font-weight: normal;
- }
-
- .creator .wrap .breadcrumb ul li a {
- /*color: #44a51c;*/
- }
-
- .creator .wrap .breadcrumb ul li.last a {
- /*color: #363534;*/
- }
-
- .creator #narrowmenu ul
- {
- border-bottom:solid 1px #E5E5E5;
- border-left:solid 1px #E5E5E5;
- border-right:solid 1px #E5E5E5;
- }
-
- .creator #narrowmenu li ul {
- margin-top:-15px;
- }
-
-
- .creator .toc {
- margin:10px 20px 10px 10px;
- }
-
- .creator #narrowsearch, .creator #narrowmenu{
- display:none;
- }
-/* end of creator spec*/
-
-}
-
-/* end of screen media */
-
-/* start of print media */
-
-@media print
-{
- input, textarea, .header, .footer, .toolbar, .feedback, .wrapper .hd, .wrapper .bd .sidebar, .wrapper .ft, #feedbackBox, #blurpage, .toc, .breadcrumb, .toolbar, .floatingResult
- {
- display: none;
- background: none;
- }
- .content
- {
- background: none;
- display: block;
- width: 100%; margin: 0; float: none;
-
- }
-}
-/* end of print media */
diff --git a/Qt4VS2003/Doc/templates/style/style_ie6.css b/Qt4VS2003/Doc/templates/style/style_ie6.css
deleted file mode 100644
index 16fb8505..00000000
--- a/Qt4VS2003/Doc/templates/style/style_ie6.css
+++ /dev/null
@@ -1,54 +0,0 @@
-.indexbox, .indexboxcont, .group {
- zoom: 1;
- height: 1%;
-}
-
-.sidebar {
- margin-left: 3px;
- width: 199px;
- overflow: hidden;
-}
-
-.sidebar .search form {
- position: relative;
-}
-
-.sidebar .search form fieldset {
- position: absolute;
- margin-top: -1px;
-}
-
-.sidebar .search form input#searchstring {
- border: 1px solid #fff;
- height: 18px;
-}
-
-.wrap {
- zoom: 1;
-}
-
-.content,
-.toolbar {
- zoom: 1;
- margin-left: -3px;
- position: relative;
-}
-
-.indexbox {
- clear: both;
-}
-
-.indexboxcont .section {
- zoom: 1;
- float: left;
-}
-
-.indexboxcont .sectionlist {
- zoom: 1;
- float: left;
-}
-
-.wrap .toolbar .toolbuttons li {
- text-indent: 0;
- margin-right: 8px;
-} \ No newline at end of file
diff --git a/Qt4VS2003/Doc/templates/style/style_ie7.css b/Qt4VS2003/Doc/templates/style/style_ie7.css
deleted file mode 100644
index afbff5f8..00000000
--- a/Qt4VS2003/Doc/templates/style/style_ie7.css
+++ /dev/null
@@ -1,19 +0,0 @@
-.indexbox, .indexboxcont, .group {
- min-height: 1px;
-}
-
-.sidebar .search form input#searchstring {
- border: 1px solid #fff;
- height: 17px;
-}
-
-
-.indexboxcont .section {
- zoom: 1;
- float: left;
-}
-
-.indexboxcont .sectionlist {
- zoom: 1;
- float: left;
-}
diff --git a/Qt4VS2003/Doc/templates/style/style_ie8.css b/Qt4VS2003/Doc/templates/style/style_ie8.css
deleted file mode 100644
index e69de29b..00000000
--- a/Qt4VS2003/Doc/templates/style/style_ie8.css
+++ /dev/null
diff --git a/Qt4VS2003/Doc/templates/style/superfish.css b/Qt4VS2003/Doc/templates/style/superfish.css
deleted file mode 100644
index 2bdaef4d..00000000
--- a/Qt4VS2003/Doc/templates/style/superfish.css
+++ /dev/null
@@ -1,51 +0,0 @@
-.sf-menu, .sf-menu * {
- margin: 0;
- padding: 0;
- list-style: none;
-}
-.sf-menu {
- line-height: 1.0;
-}
-.sf-menu ul {
- position: absolute;
- top: -999em;
- width: 10em; /* left offset of submenus need to match (see below) */
-}
-.sf-menu ul li {
- width: 100%;
-}
-.sf-menu li:hover {
- visibility: inherit; /* fixes IE7 'sticky bug' */
-}
-.sf-menu li {
- float: left;
- position: relative;
-}
-.sf-menu a {
- display: block;
- position: relative;
-}
-.sf-menu li:hover ul,
-.sf-menu li.sfHover ul {
- left: 0;
- top: 2.5em; /* match top ul list item height */
- z-index: 99;
-}
-ul.sf-menu li:hover li ul,
-ul.sf-menu li.sfHover li ul {
- top: -999em;
-}
-ul.sf-menu li li:hover ul,
-ul.sf-menu li li.sfHover ul {
- left: 10em; /* match ul width */
- top: 0;
-}
-ul.sf-menu li li:hover li ul,
-ul.sf-menu li li.sfHover li ul {
- top: -999em;
-}
-ul.sf-menu li li li:hover ul,
-ul.sf-menu li li li.sfHover ul {
- left: 10em; /* match ul width */
- top: 0;
-}
diff --git a/Qt4VS2003/Doc/templates/style/superfish_skin.css b/Qt4VS2003/Doc/templates/style/superfish_skin.css
deleted file mode 100644
index 8d84827c..00000000
--- a/Qt4VS2003/Doc/templates/style/superfish_skin.css
+++ /dev/null
@@ -1,83 +0,0 @@
-
-/*** DEMO SKIN ***/
-.sf-menu {
- float: left;
- margin-bottom: 1em;
-}
-.sf-menu a {
- border-left: 1px solid #fff;
- border-top: 1px solid #CFDEFF;
- padding: .75em 1em;
- text-decoration:none;
-}
-.sf-menu a, .sf-menu a:visited { /* visited pseudo selector so IE6 applies text colour*/
- color: #13a;
-}
-.sf-menu li {
- background: #BDD2FF;
-}
-.sf-menu li li {
- background: #AABDE6;
-}
-.sf-menu li li li {
- background: #9AAEDB;
-}
-.sf-menu li:hover, .sf-menu li.sfHover,
-.sf-menu a:focus, .sf-menu a:hover, .sf-menu a:active {
- background: #CFDEFF;
- outline: 0;
-}
-
-/*** arrows **/
-.sf-menu a.sf-with-ul {
- padding-right: 2.25em;
- min-width: 1px; /* trigger IE7 hasLayout so spans position accurately */
-}
-.sf-sub-indicator {
- position: absolute;
- display: block;
- right: .75em;
- top: 1.05em; /* IE6 only */
- width: 10px;
- height: 10px;
- text-indent: -999em;
- overflow: hidden;
- background: url('../images/arrows-ffffff.png') no-repeat -10px -100px; /* 8-bit indexed alpha png. IE6 gets solid image only */
-}
-a > .sf-sub-indicator { /* give all except IE6 the correct values */
- top: .8em;
- background-position: 0 -100px; /* use translucent arrow for modern browsers*/
-}
-/* apply hovers to modern browsers */
-a:focus > .sf-sub-indicator,
-a:hover > .sf-sub-indicator,
-a:active > .sf-sub-indicator,
-li:hover > a > .sf-sub-indicator,
-li.sfHover > a > .sf-sub-indicator {
- background-position: -10px -100px; /* arrow hovers for modern browsers*/
-}
-
-/* point right for anchors in subs */
-.sf-menu ul .sf-sub-indicator { background-position: -10px 0; }
-.sf-menu ul a > .sf-sub-indicator { background-position: 0 0; }
-/* apply hovers to modern browsers */
-.sf-menu ul a:focus > .sf-sub-indicator,
-.sf-menu ul a:hover > .sf-sub-indicator,
-.sf-menu ul a:active > .sf-sub-indicator,
-.sf-menu ul li:hover > a > .sf-sub-indicator,
-.sf-menu ul li.sfHover > a > .sf-sub-indicator {
- background-position: -10px 0; /* arrow hovers for modern browsers*/
-}
-
-/*** shadows for all but IE6 ***/
-.sf-shadow ul {
- background: url('../images/shadow.png') no-repeat bottom right;
- padding: 0 8px 9px 0;
- -moz-border-radius-bottomleft: 17px;
- -moz-border-radius-topright: 17px;
- -webkit-border-top-right-radius: 17px;
- -webkit-border-bottom-left-radius: 17px;
-}
-.sf-shadow ul.sf-shadow-off {
- background: transparent;
-}
diff --git a/Qt4VS2003/Doc/vs-addin.qdoc b/Qt4VS2003/Doc/vs-addin.qdoc
deleted file mode 100644
index f932d8db..00000000
--- a/Qt4VS2003/Doc/vs-addin.qdoc
+++ /dev/null
@@ -1,755 +0,0 @@
-/****************************************************************************
-**
-** Copyright (C) 2016 The Qt Company Ltd.
-** Contact: https://www.qt.io/licensing/
-**
-** This file is part of the documentation of the Qt Toolkit.
-**
-** $QT_BEGIN_LICENSE:FDL$
-** Commercial License Usage
-** Licensees holding valid commercial Qt licenses may use this file in
-** accordance with the commercial license agreement provided with the
-** Software or, alternatively, in accordance with the terms contained in
-** a written agreement between you and The Qt Company. For licensing terms
-** and conditions see https://www.qt.io/terms-conditions. For further
-** information use the contact form at https://www.qt.io/contact-us.
-**
-** GNU Free Documentation License Usage
-** Alternatively, this file may be used under the terms of the GNU Free
-** Documentation License version 1.3 as published by the Free Software
-** Foundation and appearing in the file included in the packaging of
-** this file. Please review the following information to ensure
-** the GNU Free Documentation License version 1.3 requirements
-** will be met: https://www.gnu.org/licenses/fdl-1.3.html.
-** $QT_END_LICENSE$
-**
-****************************************************************************/
-
-/*!
- \page vsaddin-index.html
- \nextpage Getting Started
- \title Qt Visual Studio Add-in
-
- The Qt development tools are seamlessly integrated to Microsoft Visual
- Studio 2008 and later. The Qt Visual Studio Add-in allows developers to use
- the standard development environment without having to worry about any
- Qt-related build steps or tools.
-
- The main features of the add-in are:
-
- \list
- \li Wizards for creating new Qt projects and classes.
- \li Automated build setup for the Meta-Object Compiler(\c moc), the User
- Interface Compiler (\c uic), and the Resource Compiler (\c rcc).
- \li Import and export of Qt Project {\c .pro} and Project Include
- {\c .pri} files.
- \li Automated conversion of VS add-in to QMake project or the other way
- around.
- \li Integrated Qt resource management.
- \li Integrated Qt documentation.
- \li Debugging extensions for Qt data types.
- \endlist
-
- \note The Qt Visual Studio Add-in will not work on Visual Studio Express
- editions.
-
- Table of contents:
-
- \list 1
- \li \l{Getting Started}
- \li \l{Managing Projects}
- \li \l{Adding Form Files to the Project}
- \li \l{Managing Resources}
- \li \l{Creating Qt Translation Files for the Project}
- \li \l{Frequently Asked Questions}
- \endlist
-*/
-
-/*!
- \page vs-addin-getting-started.html
- \contentspage {Qt Visual Studio Add-in}{Contents}
- \previouspage Qt Visual Studio Add-in
- \nextpage Managing Projects
- \title Getting Started
-
- In this tutorial, we will create an address book application step-by-step
- using the Qt Visual Studio Add-in. We will also outline how to
- create a basic project using the Qt5 project wizard and design a form
- with \QD. In addition, we will also show you how to convert
- a Visual Studio project file into a \c{qmake} compatible \c{.pro} file.
-
- \section1 Prerequisite
-
- To create a Qt VS Add-in project, at least one Qt version must be added.
- Adding a Qt version enables you to choose the modules required for the
- project. For more details, see \l{Managing Projects}.
-
- \section1 Creating a Skeleton Qt Application
-
- The first step is to create a trivial project. To do so, select the
- \uicontrol{New Project} dialog in Visual Studio and click the \uicontrol{Qt5 Projects}
- folder. Then select the \uicontrol{Qt Application} item and type "AddressBook"
- in the \uicontrol{Name} field.
-
- When you click \uicontrol{OK}, a project wizard will appear. This wizard has a
- page listing Qt modules you can link your project against, followed by a
- page that enables you to specify the name of a skeleton class that will
- be generated by the wizard as a starting point. For this Address Book
- example, we will use the default values.
-
- Now, we have a small working Qt application. Press \key{F5} to try it out.
- The result is an empty window.
-
- \section1 Designing the Main Dialog
-
- Next, we will design the application's main dialog using \QD. See the
- \l{Qt Designer Manual} for
- more information.
-
- We begin by adding the widgets and setting their properties. These
- widgets are then put into layouts. The result is shown below.
-
- \image vs-addressbook-mainwindow.png Screenshot of the AddressBook's main dialog
-
-
- \section2 Adding the Widgets
-
- We launch \QD by double-clicking on the \c{Form Files\addressbook.ui} file
- in Visual Studio's Solution Explorer.
-
- First, we add the \l QListWidget. Expand the \uicontrol{Item-Based Widgets} group in
- the Widget Box, then click on the \uicontrol{List Widget} subitem and drag it to
- the top-left corner of the form. The \uicontrol{Property Editor} will now display
- the properties for the \l QListWidget object. Using this editor, set the
- \c ObjectName property to "addressList".
-
- Next, we insert the \uicontrol{Add} and \uicontrol{Delete} buttons. Expand the
- \uicontrol{Buttons} group in the Widget Box and drag two \uicontrol{Push Button}s to
- the top-right corner of the form. Rename the buttons to "addButton" and
- "deleteButton", and their \c Text property to "Add" and "Delete".
-
- Finally, we add two QLabel objects to display the selected item in the
- list by dragging the \uicontrol{Label} item from the \uicontrol{Display Widgets} group
- onto the form, once for each label.
-
- Rename the first label to "nameLabel" and change its \c Text property to
- "<No item selected>"; rename the second label to "emailLabel" and leave
- its \c Text property empty.
-
- Try to position the widgets as they appear in the screenshot above.
-
-
- \section2 Adding the Layouts
-
- In order to properly position the widgets and ensure that they resize
- accordingly when the form is resized, we need to add layouts to the form.
-
- We require a vertical layout for the buttons as well as a spacer to push
- the buttons to the top of the layout. To add a spacer, drag the
- \uicontrol{Vertical Spacer} item from the \uicontrol{Spacers} group onto the form.
- Then, select the buttons and the spacer (click on each widget while holding
- \key{Shift}) and click \uicontrol{Form|Layout Vertically}.
-
- The window also needs a layout to manage the positioning of other widgets
- as well as the button layout. So we add another layout by selecting the
- list widgets, the two labels and the button layout, and then clicking
- \uicontrol{Form|Layout in a Grid}.
-
- \note Make sure that the labels are almost as wide as the form;
- otherwise the grid layout will make them only as wide as the address list.
-
- To preview your form without compiling it, click \uicontrol{Form|Preview...}.
- To build and run the application, leave \QD after saving the form and press
- \key{F5} in Visual Studio.
-
- \section1 Adding an "Add Address" Dialog
-
- Now that the main dialog is done, we move on to add functionality to our
- address book application. We would like to have an application that
- pops up a dialog when the user clicks the \uicontrol{Add} button. Hence, we
- require an "Add Address" dialog.
-
- \section2 Designing the Dialog
-
- We start by designing the dialog. This time, there is no ready-made
- \c{.ui} file available in the project. So, we select
- \uicontrol{Project|Add Class...|Qt5 Classes|Qt5GuiClass}. This will invoke a
- wizard requesting for a class name. Enter "AddDialog" as the name
- and "\l{QDialog}" as the base class. Then, check the "Multiple Inheritance"
- checkbox and click on the \uicontrol{Finish} button.
-
- You will now have an \c{adddialog.ui} file in the project's
- \uicontrol{Form Files} folder.
-
- \image vs-addressbook-adddialog.png Screenshot of the Add Address Dialog
-
- To set the properties of the dialog, double-click on \c{adddialog.ui} to
- open the form in \QD. Then, click on the form and set its \c WindowTitle
- property to "Add Address". Next, create the following widgets and set
- their \c ObjectName and \c Text properties according to values listed in
- the table below.
-
- \table
- \header
- \li Widget
- \li \c ObjectName
- \li \c Text
- \row
- \li \l QLabel
- \li "nameText"
- \li "Name:"
- \row
- \li \l QLabel
- \li "emailText"
- \li "Email:"
- \row
- \li \l QLineEdit
- \li "nameEdit"
- \li ""
- \row
- \li \l QLineEdit
- \li "emailEdit"
- \li ""
- \row
- \li \l QPushButton
- \li "okButton"
- \li "OK"
- \endtable
-
- Now you can lay out your widgets. Use a grid layout for the labels and
- line edits.
-
-
- \section2 Connecting to the Dialog's OK Button
-
- We want the \uicontrol{OK} button to invoke the QDialog::accept() slot, and we
- do this by clicking on the \uicontrol{Edit Signals/Slots} toolbar button. You will
- then enter \QD's \l{Signal and Slots Editing Mode}.
-
- Click on the \uicontrol{OK} button and drag the mouse cursor to an empty area of
- the form and release the mouse button. The \uicontrol{Configure Connection}
- dialog will pop up, allowing you to establish a signal-slot connection
- between the \uicontrol{OK} button and the form. Connect the button's
- \l{Buttonclicked}{QPushButton::clicked()} signal to the form's QDialog::accept()
- slot.
-
-
- \section2 Displaying the "Add Address" Dialog from the Application
-
- Once we have completed designing the dialog, we have to invoke it when the
- user clicks the main dialog's \uicontrol{Add} button. To achieve this behavior,
- we add a slot to the \c AddressBook class and invoke the \c AddDialog from
- this slot.
-
- Forms created using \QD call QMetaObject::connectSlotsByName() to
- establish connections between signals emitted by the form's child widgets
- and slots that follow the naming convention \c{on_<sender>_<signal>()}.
- To react on clicking the add button you must implement a slot
- called \c{on_addButton_clicked()}. Type
- in the following lines of code in the slot's body:
-
- \badcode
- AddDialog dialog(this);
- dialog.exec();
- \endcode
-
- If we want to connect to another signal, instead of
- \l{Buttonclicked}{QPushButton::clicked()}, we have to add another signal to
- the \c AddressBook class. This requires editing both the header file
- (\c addressbook.h) and the implementation file (\c addressbook.cpp).
-
- Next, we include \c adddialog.h to \c{addressbook.cpp}:
-
- \badcode
- #include "adddialog.h"
- \endcode
-
- Build and run the program now. If you click on the \uicontrol{Add} button, the
- \uicontrol{Add Address} dialog will pop up. If you click on \uicontrol{OK}, the dialog
- will disappear.
-
-
- \section1 Adding Items to the List Widget
-
- When the user clicks \uicontrol{OK}, we would like to add an item to the
- QListWidget. To do so, modify the code in the \c{on_addButton_clicked()}
- slot to the following:
-
- \code
- AddDialog dialog(this);
-
- if (dialog.exec()) {
- QString name = dialog.nameEdit->text();
- QString email = dialog.emailEdit->text();
-
- if (!name.isEmpty() && !email.isEmpty()) {
- QListWidgetItem *item = new QListWidgetItem(name, ui.addressList);
- item->setData(Qt::UserRole, email);
- ui.addressList->setCurrentItem(item);
- }
- }
- \endcode
-
- We execute the dialog. If the dialog is accepted, for example, \uicontrol{OK} is
- clicked, we extract the \uicontrol{Name} and \uicontrol{Email} fields and create a
- QListWidgetItem with the given information.
-
- Try out the application. Click \uicontrol{Add}, enter "John Doe" for the name and
- "john@johndoe.de" for the email. Click \uicontrol{OK}. The list widget should now
- contain the new item.
-
-
- \section1 Displaying the Selected Item
-
- When the user selects an item in the list widget, we would like to update
- the \c nameLabel and \c emailLabel at the bottom of the form. This behavior
- requires another slot to be added to the \c AddressBook class.
-
- In the \c addressbook.h file, add the following code in the
- \c{private slots} section of the class:
-
- \badcode
- void on_addressList_currentItemChanged();
- \endcode
-
- Then, add the block of code below to \c addressbook.cpp:
-
- \code
- void AddressBook::on_addressList_currentItemChanged()
- {
- QListWidgetItem *curItem = ui.addressList->currentItem();
-
- if (curItem) {
- ui.nameLabel->setText("Name: " + curItem->text());
- ui.emailLabel->setText("Email: " +
- curItem->data(Qt::UserRole).toString());
- } else {
- ui.nameLabel->setText("<No item selected>");
- ui.emailLabel->clear();
- }
- }
- \endcode
-
- Thanks to the naming convention, this slot will automatically be connected
- to \c{addressList}'s QListWidget::currentItemChanged() signal, and
- will be invoked whenever the selected item in the list changes.
-
-
- \section1 Adding Functionality for the Delete Button
-
- Similar to the \uicontrol{Add} button, we implement a slot for the \uicontrol{Delete}
- button. Open the \c addressbook.h file and add a new slot declaration
- \c{on_deleteButton_clicked()}. Then open \c addressbook.cpp and add the slot
- definition for \c{on_deleteButton_clicked()}.
- Type the following code in the slot's body:
-
- \code
- QListWidgetItem *curItem = ui.addressList->currentItem();
-
- if (curItem) {
- int row = ui.addressList->row(curItem);
- ui.addressList->takeItem(row);
- delete curItem;
-
- if (ui.addressList->count() > 0)
- ui.addressList->setCurrentRow(0);
- else
- on_addressList_currentItemChanged();
- }
- \endcode
-
- Your application is now complete!
-
-
- \section1 Creating Qt Project File
-
- If you want to build this application on other platforms, you need to
- create a \c .pro file for the project. A simple way to do this is to let
- the Visual Studio Add-in create a basic \c .pro file for you by clicking
- \uicontrol{Qt|Create Basic .pro File}. When the \uicontrol{Export Project} dialog shows
- up, ensure that the \uicontrol{Create .pri File} option is checked, then click
- \uicontrol{OK}. Visual Studio will then ask you where to save the \c .pri file.
- The default location and name is usually sufficient, so just click
- \uicontrol{Save}. For more information about \c .pro files and their associated
- \c .pri files, see \l{Managing Projects}.
-
- That's it! You should now have a working \c .pro file and \c .pri file for
- your project. For more complex projects, manually editing the \c .pro file
- is required to make it work on all plaforms; however, for our simple
- project the generated \c .pro file is sufficient.
-*/
-
-
-/*!
- \page vs-addin-managing-projects.html
- \contentspage {Qt Visual Studio Add-in}{Contents}
- \previouspage Getting Started
- \nextpage Adding Form Files to the Project
- \title Managing Projects
-
-
- \section1 Creating New Qt Projects
-
- Once you have installed the add-in, Visual Studio's \uicontrol{New Project}
- dialog will contain a \uicontrol{Qt5 Projects} folder with the following project
- templates:
-
- \list 1
- \li \e{Qt Application:} A simple Qt GUI Application with one form.
- \li \e{Qt Quick2 Application:} A simple Hello World application.
- \li \e{Qt5 Designer Plugin:} A Qt Designer custom widget plugin.
- \li \e{Qt Console Application:} A basic Qt console application.
- \li \e{Qt Library:} A basic Qt-based dynamic library.
- \li \e{ActiveQt Server:} A simple ActiveX server.
- \endlist
-
- If you're using Visual Studio 2008, then two additional project
- types are available:
-
- \list 1
- \li \e{Qt WindowsCE Application:} A simple Qt GUI Application for
- Windows CE with one form.
- \li \e{Qt WindowsCE Library:} A basic Qt-based dynamic library for
- Windows CE.
- \endlist
-
- Each Qt project provides a wizard that allows you to specify the Qt modules
- required for your project. For some projects, the wizard will also generate
- a skeleton class that you can use to get started.
-
- If you have used the installer for the binary version of Qt, you are now
- ready to write Qt code and build your projects. Alternatively, if you have
- built Qt from source, then you must tell Visual Studio where to find Qt.
- This step is further explained in the \l{Basic Qt Version Management}
- section.
-
-
- \section1 Modifying Project Properties
-
- Qt related project properties can be modified by opening the Qt Project
- Settings dialog.
- To display this dialog, select the respective Qt project in
- the solution explorer and select \uicontrol{Qt5|Qt Project Settings}.
-
- \image vs-project-propertybrowser.png Screenshot of the property browser when selecting a Qt project
-
- The following Qt project settings can be changed:
-
- \table
- \header
- \li Property
- \li Description
- \row
- \li lreleaseoptions
- \li Additional command-line options for the lrelease tool.
- \row
- \li lupdateonbuild
- \li A flag that determines whether to create the translation files
- while building the project.
- \row
- \li lupdateoptions
- \li Additional command-line options for the lupdate tool.
- \row
- \li Version
- \li The Qt version to use for this project (see
- \l{Basic Qt Version Management}).
- \row
- \li MocDirectory
- \li The directory (relative to the project) where the generated
- \c moc files are put. This directory must include the
- \c $(ConfigurationName) variable, to ensure that the \c moc
- files for different configurations (e.g., \c debug or
- \c release) do not collide.
- You may use the variable \c $(PlatformName) to put generated files
- for different platforms into separate directories.
- \row
- \li MocOptions
- \li Additional command-line options for the moc build step.
- \row
- \li UicDirectory
- \li The directory (relative to the project) where the \c uic
- generated header files are put.
- \row
- \li RccDirectory
- \li The directory (relative to the project) where the \c rcc
- generated source files are put.
- \endtable
-
- When a Qt project is created, these properties are initialized to default
- values based on the last entered information found in the
- the \uicontrol{Qt|Qt Project Settings} dialog.
-
-
- \section1 Basic Qt Version Management
-
- The Visual Studio Add-in offers its own simple Qt version management,
- enabling you to use multiple versions of Qt 5 in parallel. For example,
- Qt 5.3.2 and 5.4.1. When you install the add-in, the information about Qt
- versions is added to the user registry hive. So, another user will have to
- add a new Qt version since no default version will be set.
-
- To add or remove Qt versions, click \uicontrol{Qt5|Qt Options} and select the
- \uicontrol{Qt Versions} page. Click \uicontrol{Add}, then enter a name for the Qt
- version and the path to Qt's root directory, for example,
- \c{C:\\Qt5.4.1\\5.4"}. The first added Qt version is automatically
- the default version which will be used when creating new projects or
- importing a project from a \c{.pro} file. The default versions for Qt
- Windows or Windows CE projects can be changed using the combo boxes
- located under the \uicontrol{Qt Builds} list.
-
- It is also possible to use the Qt version set in the QTDIR environment
- variable. In order to do so create a version named \c{$(QTDIR)}. As the
- path is not needed the \uicontrol{Path} field will be grayed out.
-
- \image vs-options-qt-versions.png Screenshot of Qt versions configuration dialog
-
- To specify which Qt version a project should use, select the project node
- of a Qt project (for example, "Project1") in the Solution Explorer, and set
- its \c Version property using the Qt Project Settings.
-
- Changing the Qt version for all projects in the solution can be done by
- invoking the context menu of the solution and activating the \uicontrol{Change
- Solutions' Qt Version} item. You can then select your desired Qt version
- in the dialog listing all available Qt versions.
-
- \note When you set a Qt version for the solution, this version becomes the
- default version if you add new projects to the solution.
-
- Using the Qt Visual Studio Add-in does not require a globally set Qt
- environment variable. The Add-in will always overwrite the existing
- global Qt environment variable.
-
- \note If the build of your Qt projects fails with the error message
- \tt{The following environment variables were not found: $(QTDIR)},
- then the project is probably referencing an invalid Qt build.
- This can happen after uninstalling an old Qt version.
- To correct this, change the Qt version of your project to a
- valid one.
-
-
- \section1 Changing The Target Platform of Your Project
-
- If you are developing on the Windows CE platform, Visual Studio Add-in
- enables you to switch between Windows and Windows CE easily. It is possible
- to create a standard Windows project, develop and test your application on
- your desktop PC, then later convert it into a Qt on Windows CE version.
-
- The Visual Studio Add-in handles everything you need in order to create
- applications for Windows and Windows CE. There is no need to add a platform
- manually using the Visual Studio Configuration Manager. Just assign a
- Qt version to your project and the Add-in will create the according
- platform if needed.
-
- To switch between platforms choose the appropriate Qt version in the
- \uicontrol{Version} property using the property browser, as described above.
-
-
- \section1 Importing and Exporting Projects
-
- Qt and Visual Studio use different file formats to save projects. If you
- build your application on multiple platforms, you probably already use
- Qt \c .pro files with \c qmake; otherwise, you might use \c .vcproj files
- and Visual Studio to build your project, usually convenient for Windows-
- only development.
-
- Qt's Visual Studio add-in provides a way to combine both approaches
- - you do not have to manually maintain \c .pro files and \c .vcproj files
- in parallel. You start by creating a \c .vcproj file as usual. When you
- want a \c qmake \c .pro file, select \uicontrol{Qt5|Create Basic .pro File} to
- generate a \c .pro file where you can store Unix and/or OS X specific
- settings.
-
- \image vs-export-project.png Screenshot of export dialog
-
- If you have multiple Qt projects in one Visual Studio solution, the basic
- \c .pro file generator can create a master \c .pro file of type \c subdirs
- that includes all of the projects.
-
- The generated \c .pro file is not meant to be a complete file, but a simple
- starting point for porting to other platforms. Having said, these files
- should be sufficient for compiling the skeleton projects created by the
- predefined Qt project wizards. The \c .pro file includes a \c .pri file.
-
- The \c .pri file contains the list of source files, header files, \c .ui
- files, and \c .qrc files in the project. To generate the \c .pri file,
- select \uicontrol{Qt5|Export Project to .pri File}. Whenever you add or remove a
- file from the Visual Studio project file, you must regenerate the \c .pri
- file to ensure that the application can still be build on other platforms.
-
- Also, ensure that the included \c .pri file in the \c .pro file points to
- the right file. If you saved the \c .pri file in the suggested path and
- name, this should be correct.
-
- Developers on platforms other than Windows can add or remove files to the
- project by editing the \c .pri file. When this happens, Windows developers
- must select \uicontrol{Qt5|Import .pri File to Project} to bring the Visual Studio
- project file in sync with the \c .pri file.
-
- If your project contains platform-specific source files, these files should
- be listed in the \c .pro file so that they are not overwritten by the
- Visual Studio Add-in.
-
- In summary, a cross-platform Qt project consists of the following files:
-
- \list
- \li A \c .vcproj file containing Windows-specific settings and listing
- the files in the project.
- \li A \c .pro file containing Unix and/or OS X specific settings.
- \li A \c .pri file (a \c qmake include file) listing the files in the
- project.
- \endlist
-
- If you already have a \c .pro file but not a \c .vcproj file, select
- \uicontrol{Qt|Open Qt Project File (.pro)...} to convert your \c .pro file to a
- \c .vcproj file. Be aware that the generated \c .vcproj only contains
- Windows-specific settings. Also, there is no way to convert a \c .vcproj
- file back to a \c .pro file format, apart from the basic \c .pro mechanism
- described above.
-*/
-
-
-/*!
- \page vs-addin-adding-form-files.html
- \contentspage {Qt Visual Studio Add-in}{Contents}
- \previouspage Managing Projects
- \nextpage Managing Resources
- \title Adding Form Files to the Project
-
- The Visual Studio Add-in lets you launch \QD simply by double-clicking on a
- \c .ui file. See the \l{Qt Designer Manual} for more information.
-
- To add a new \c .ui file to the project, select \uicontrol{Project|Add New Item}
- and then select the \uicontrol{Qt Widget Form} or the \uicontrol{Qt Dialog Form}
- template from the \uicontrol{Qt Project Items} folder.
-
- Normally, you will need to wrap the code generated for the form file into
- a QWidget subclass to add signals or slots to it. A convenient way to do
- this is to select \uicontrol{Project|Add Class} and then select \uicontrol{Qt5GuiClass}
- from the \uicontrol{Qt5Classes} folder. This will create a \c .ui file, a \c .h
- file, and a \c .cpp file for you.
-
- \section1 Creating Form Templates
-
- You can add customized form templates by following these steps:
- \list
- \li Create a form in the \QD and save the \c{.ui} file
- (e.g. \c{mydialog.ui}).
- \li Copy \c{mydialog.ui} to the \c{uiItems\} directory within the
- Qt Visual Studio Add-in installation directory.
- \li Create an icon file named \c{mydialog.ico}.
- It should have a size of 32x32 pixels.
- \endlist
-
- After the next start of Visual Studio you can add new forms using
- your custom template.
-*/
-
-/*!
- \page vs-addin-managing-resources.html
- \contentspage {Qt Visual Studio Add-in}{Contents}
- \previouspage Adding Form Files to the Project
- \nextpage Creating Qt Translation Files for the Project
- \title Managing Resources
-
- Adding new resources to a Qt project is similar to adding resources to a
- normal C++ project, the main difference being that \c .qrc files (Qt
- resource files) are used instead of Windows \c .rc files. Unlike \c .rc
- files, \c .qrc files work on all platforms supported by Qt and are trivial
- to load from Qt code.
-
- \image vs-qrc-editor.png Screenshot of the .qrc editor
-
- To add new resources, you must first create a new \c .qrc file. To do this,
- open the \uicontrol{Add New Item} dialog, select \uicontrol{Qt Resource File} from the
- \uicontrol{Qt Project Items} folder, and click \uicontrol{Open}. The newly created
- \c .qrc file will be displayed in the Qrc Editor, which is part of the
- Add-in installation.
-
- At this point, the \c .qrc file only contains a prefix named after the
- project. You can add resources under that prefix by selecting it and
- clicking on the \uicontrol{Add} button on the right hand side. Then click
- \uicontrol{Add File} in the context menu. Now the \uicontrol{Resource Editor} will
- display a dialog that allows you to add an existing file.
-
- When referring to the resources later on from Qt code, you must prepend the
- prefix, the file name, and a colon. For example, \c{:/MyProject/print.bmp}.
- Using the context menu, you can rename the predefined prefix or add other
- prefixes to the \c .qrc file.
-
- For more information see the \l{Qt Resource System}{Qt resource system}
- topic.
-*/
-
-/*!
- \page vs-addin-creating-translation-files.html
- \contentspage {Qt Visual Studio Add-in}{Contents}
- \previouspage Managing Resources
- \nextpage Frequently Asked Questions
- \title Creating Qt Translation Files for the Project
-
- To add a new translation file to the project, select
- \uicontrol{Qt|Create New Translation File}. In the \uicontrol{Add Translation} dialog,
- you can choose the language to create a translation file. A suggested file
- name is provided, and will be created when you click \uicontrol{OK}. The
- translation file is placed in the \uicontrol{Translation Files} folder in Visual
- Studio's Solution Explorer. Right-clicking on a translation file displays
- a menu that allows you to invoke \c lupdate, \c lrelease, and \QL.
-
- For more information on Qt's translation tools, see the
- \l{Qt Linguist Manual}{Qt Linguist manual}.
-*/
-
-
-/*!
- \page vs-addin-faq.html
- \contentspage {Qt Visual Studio Add-in}{Contents}
- \previouspage Creating Qt Translation Files for the Project
- \title Frequently Asked Questions
-
- \section1 Why is code completion not working?
-
- \section2 You're implementing a slot...
-
- Visual Studio can only provide code completion as long as it understands
- the code. Unfortunately, it does not know how to handle the Qt keyword
- \c slots in the header file. This means that the respective function body
- is foreign to the code model and no code completion will be provided. You
- can workaround the problem be placing a \c{';'} after the colon of the
- \c slots keyword in the class declaration.
-
- \note Remember to remove the \c ';' when exporting the project as the code
- might not compile with older Unix compilers.
-
- \badcode
- class MyClass {
- Q_OBJECT
-
- public slots:;
- void doSomething();
-
- ...
- };
- \endcode
-
-
- \section2 You are referencing objects from a \c{.ui} file
-
- The Visual Studio code model parser only parses C++ sources, meaning that
- widgets or objects defined in \c{.ui} files will not be accessible. To
- workaround the problem, the Qt Visual Studio Add-in automatically
- generates C++ code from the \c{.ui} file by saving the file and running
- \c{uic} on it. This step is done everytime the project is built. If the
- code completion does not work, try to rebuild the project. It is possible that
- you have to wait some time, before code completion fully works after updating an
- \c{.ui} file. For more information, you can refer to the
- \l{Managing Projects#Modifying Project Properties}{Modifying Project Properties}
- section.
-
-
- \section2 It still does not work
-
- You should refresh the code model, Intellisense. This is done by opening
- the solution explorer, invoking the context menu of the project and
- activating the item \uicontrol{Update Intellisense}.
-*/
-
diff --git a/Qt4VS2003/Doc/vs-addin.qdocconf b/Qt4VS2003/Doc/vs-addin.qdocconf
deleted file mode 100644
index 511f560d..00000000
--- a/Qt4VS2003/Doc/vs-addin.qdocconf
+++ /dev/null
@@ -1,19 +0,0 @@
-# We can not have variable names in an include directive.
-# That's why we generate a file, which contains the right includes.
-include($QT_INSTALL_DOCS/global/qt-module-defaults.qdocconf)
-
-sourcedirs = $$QTVSDIR/Qt4VS2003/Doc
-imagedirs = $$QTVSDIR/Qt4VS2003/Doc
-outputdir = $$QTVSDIR/Qt4VS2003/Doc/html
-project = vsAddin
-version = 1.2.4
-description = Qt Visual Studio Add-in
-naturallanguage = en_US
-
-qhp.projects = vsAddin
-qhp.vsAddin.file = vs-addin.qhp
-qhp.vsAddin.namespace = io.qt.vsaddin
-qhp.vsAddin.virtualFolder = vsaddin
-qhp.vsAddin.indexTitle = Qt VS Add-in Documentation
-qhp.vsAddin.indexRoot =
-
diff --git a/Qt4VS2003/Doc/vs-addressbook-adddialog.png b/Qt4VS2003/Doc/vs-addressbook-adddialog.png
deleted file mode 100644
index dfa02714..00000000
--- a/Qt4VS2003/Doc/vs-addressbook-adddialog.png
+++ /dev/null
Binary files differ
diff --git a/Qt4VS2003/Doc/vs-addressbook-mainwindow.png b/Qt4VS2003/Doc/vs-addressbook-mainwindow.png
deleted file mode 100644
index 449b5dcf..00000000
--- a/Qt4VS2003/Doc/vs-addressbook-mainwindow.png
+++ /dev/null
Binary files differ
diff --git a/Qt4VS2003/Doc/vs-export-project.png b/Qt4VS2003/Doc/vs-export-project.png
deleted file mode 100644
index 2bec1f50..00000000
--- a/Qt4VS2003/Doc/vs-export-project.png
+++ /dev/null
Binary files differ
diff --git a/Qt4VS2003/Doc/vs-options-builds.png b/Qt4VS2003/Doc/vs-options-builds.png
deleted file mode 100644
index 5f2e793b..00000000
--- a/Qt4VS2003/Doc/vs-options-builds.png
+++ /dev/null
Binary files differ
diff --git a/Qt4VS2003/Doc/vs-options-general.png b/Qt4VS2003/Doc/vs-options-general.png
deleted file mode 100644
index 837bf935..00000000
--- a/Qt4VS2003/Doc/vs-options-general.png
+++ /dev/null
Binary files differ
diff --git a/Qt4VS2003/Doc/vs-options-qt-versions.png b/Qt4VS2003/Doc/vs-options-qt-versions.png
deleted file mode 100644
index 948e06e2..00000000
--- a/Qt4VS2003/Doc/vs-options-qt-versions.png
+++ /dev/null
Binary files differ
diff --git a/Qt4VS2003/Doc/vs-project-propertybrowser.png b/Qt4VS2003/Doc/vs-project-propertybrowser.png
deleted file mode 100644
index 4fc2bd07..00000000
--- a/Qt4VS2003/Doc/vs-project-propertybrowser.png
+++ /dev/null
Binary files differ
diff --git a/Qt4VS2003/Doc/vs-qrc-editor.png b/Qt4VS2003/Doc/vs-qrc-editor.png
deleted file mode 100644
index d4ddcf05..00000000
--- a/Qt4VS2003/Doc/vs-qrc-editor.png
+++ /dev/null
Binary files differ
diff --git a/Qt4VS2003/Items/Qt5Class/1033/styles.css b/Qt4VS2003/Items/Qt5Class/1033/styles.css
deleted file mode 100644
index 9a37fe86..00000000
--- a/Qt4VS2003/Items/Qt5Class/1033/styles.css
+++ /dev/null
@@ -1,572 +0,0 @@
-/******************************************************************************/
-/*DEFAULT STYLES FOR ALL SECTIONS**********************************************/
-/******************************************************************************/
-body { font-family: Tahoma, Verdana, Arial, Sans Serif;
- font-weight: normal;
- font-size: 8pt;
- color: buttontext;
- background-color: buttonface;
- margin-top: 0px;
- margin-left: 0px;
- margin-right: 0px;
- margin-bottom: 0px;
- overflow: visible; }
-
-a:link { color: captiontext;
- text-decoration: none; }
-
-a:visited { color: captiontext;
- text-decoration: none; }
-
-a:active { color: captiontext;
- text-decoration: none; }
-
-a:hover { color: captiontext;
- text-decoration: underline; }
-
-table { font-family: Tahoma, Verdana, Arial, Sans Serif;
- font-weight: normal;
- font-size: 8pt;
- color: buttontext;
- width: 100%; }
-
-table.one { table-layout: fixed;
- height: 100%;
- width: 100%; }
-
-
-/*DEFAULT STYLES FOR THE 'INTRODUCTION' TABLE**********************************/
-/******************************************************************************/
-
-table.two { table-layout: fixed;
- height: 79px;
- width: 100%;
- background-color: window; }
-
-td.image { text-align: right; }
-
-td.rule { background-color: window; }
-
-h1.head { font-weight: bold;
- font-size: 10pt;
- color: windowtext;
- margin-top: -3px; }
-
-p.subhead { color: windowtext;
- margin-top: -12px;
- margin-left: 10px; }
-
-img.smallest { background-color: #a6ce39;
- z-index: 1; }
-
-img.small { z-index: 1; }
-
-/*DEFAULT STYLES FOR THE 'NAVIGATION' TABLE************************************/
-/******************************************************************************/
-
-table.three { table-layout: fixed;
- height: 100%;
- width: 178px; }
-
-td.three { background-attachment: fixed;
- background-repeat: no-repeat;
- background-position: bottom left;
- background-color: #a6ce39; }
-
-td.dottedline { background: url(Images/DottedHori.gif) repeat; }
-
-table.linktextselected { font-weight: bold;
- width: 157px;
- height: 30px;
- position: relative;
- left: 10px;
- z-index: 2; }
-
-table.linktextselectedindent { font-weight: bold;
- width: 148px;
- height: 30px;
- position: relative;
- left: 18px;
- z-index: 2; }
-
-table.linktext { width: 157px;
- height: 30px;
- position: relative;
- left: 10px;
- z-index: 2; }
-
-table.linktextindent { width: 148px;
- height: 30px;
- position: relative;
- left: 18px;
- z-index: 2; }
-
-div.linkselected { background-color: buttonface;
- height: 30px;
- width: 166px;
- position: relative;
- left: 0px;
- right: 0px;
- z-index: 1; }
-
-div.link { height: 30px;
- width: 166px;
- position: relative;
- left: 0px;
- right: 0px;
- z-index: 1; }
-
-div.vertline { background: url(Images/DottedVert.gif) repeat;
- height: 125%;
- width: 1px;
- position: relative;
- top: -12px;
- left: -1px; }
-
-span.vertline1 { background: url(Images/DottedVert.gif) repeat;
- height: 100%;
- width: 1px;
- position: absolute;
- top: 0px;
- left: -1px;
- bottom: 0px;
- z-index: 2; }
-
-span.horiline1 { height: 30px;
- width: 166px;
- position: absolute;
- top: -1px;
- left: -1px;
- bottom: -1px;
- z-index: 2; }
-
-span.activelink { color: captiontext;
- text-decoration: none;
- cursor: hand; }
-
-span.activelink2 { color: captiontext;
- text-decoration: underline;
- cursor: hand; }
-
-span.inactivelink { color: buttonface;
- text-decoration: none;
- cursor: default; }
-
-
-/*DEFAULT STYLES FOR THE ALL BUTTONS AND THE 'BUTTONS' TABLE*******************/
-/******************************************************************************/
-
-button { font-family: Tahoma, Verdana, Arial, Sans Serif;
- font-weight: normal;
- font-size: 8pt;
- height: 23px;
- cursor: hand; }
-
-.buttons { width: 75px; }
-
-/*DEFAULT STYLES FOR THE 'CONTENT' TABLE***************************************/
-/******************************************************************************/
-
-table.content { table-layout: fixed;
- height: 100%;
- width: 422px; }
-
-table.content1 { table-layout: fixed;
- height: 100%;
- width: 398px; }
-
-table.content2 { table-layout: fixed;
- height: 100%;
- width: 193px; }
-
-ol { font-family: Tahoma, Verdana, Arial, Sans Serif;
- font-weight: normal;
- font-size: 8pt;
- color: buttontext;
- margin-top: -1px;
- margin-bottom: 16px; }
-
-ul { font-family: Tahoma, Verdana, Arial, Sans Serif;
- font-weight: normal;
- font-size: 8pt;
- color: buttontext;
- margin-top: -1px;
- margin-bottom: 16px; }
-
-li { font-family: Tahoma, Verdana, Arial, Sans Serif;
- font-weight: normal;
- font-size: 8pt;
- color: buttontext;
- position: relative;
- left: -15px;
- margin-bottom: 1px; }
-
-span.itemtext { position: relative;
- top: -3px; }
-
-span.itemtextindent { position: relative;
- left: 17px;
- top: -3px; }
-
-span.itemtextindentA { position: relative;
- left: 25px;
- top: -3px; }
-
-span.itemtextindent1 { position: relative;
- left: 8px;
- top: -3px; }
-
-span.sidebtnhidden { width: 100%;
- margin-top: 3px;
- margin-bottom: 0px; }
-
-div.itemtextradioB { position: relative;
- top: -19px;
- left: 25px;
- margin-bottom: -25px; }
-
-div.itemtextradioindentA { position: relative;
- top: -17px;
- left: 30px;
- margin-bottom: -25px; }
-
-div.itemtextradioindentB { position: relative;
- top: -19px;
- left: 42px;
- margin-bottom: -25px; }
-
-div.itemtextcheckboxA { position: relative;
- top: -17px;
- left: 17px;
- margin-bottom: -23px; }
-
-div.itemtextcheckboxB { position: relative;
- top: -18px;
- left: 25px;
- margin-bottom: -25px; }
-
-div.itemtextcheckboxindentB { position: relative;
- top: -16px;
- left: 42px;
- margin-bottom: -25px; }
-
-div.inlineA { position: relative;
- top: 4px;
- width: 100%;
- height:1px;
- border-top: solid buttonshadow 1px; }
-
-div.inlineB { position: relative;
- top: -9px;
- margin-bottom: -20px;
- width: 100%;
- height:1px;
- border-top: solid threedhighlight 1px; }
-
-input { font-family: Tahoma, Verdana, Arial, Sans Serif;
- font-weight: normal;
- font-size: 8pt;
- color: buttontext; }
-
-.radio { position: relative;
- top: -2px;
- left: 4px; }
-
-.radioIndentA { margin-top: -2px;
- margin-left: 9px; }
-
-.radioIndent { margin-top: -2px;
- margin-left: 17px; }
-
-.checkboxA { position: relative;
- top: -2px;
- left: 4px; }
-
-.checkbox { position: relative;
- top: -1px;
- margin-left: -4px;
- z-index: 2; }
-
-.checkboxIndent { margin-top: -1px;
- margin-left: 21px; }
-
-.comment { width: 566px;
- position: relative;
- top: 5px;
- left: 8px;
- bottom: 6px; }
-
-.comment2 { width: 391px;
- position: relative;
- top: 5px;
- left: 8px;
- bottom: 6px; }
-
-/****THIS IS THE STANDARD INPUT BOX********************************************/
-input.sidebtn { width: 173px;
- position: relative;
- top: 5px;
- left: 8px; }
-
-/****THIS IS AN INPUT BOX INDENTED UNDER A CHECKBOX SECTION*******************/
-input.sidebtnIndent { width: 163px;
- position: relative;
- top: 5px;
- left: 18px;
- bottom: 6px; }
-
-/****THIS INPUT BOX HAS IS INDENTED UNDER A HEADING AND RULE SECTION***********/
-input.sidebtnB { width: 164px;
- position: relative;
- top: 5px;
- left: 8px;
- bottom: 6px; }
-
-/****THIS INPUT BOX HAS A "..." BUTTON BESIDE IT*******************************/
-input.sidebtn2 { width: 149px;
- position: relative;
- top: 5px;
- left: 8px;
- bottom: 6px; }
-
-/****THIS INPUT BOX HAS A "..." BUTTON BESIDE IT AND IT'S UNDER A CHECKBOX*****/
-input.sidebtn2Indent { width: 139px;
- position: relative;
- top: 5px;
- left: 18px;
- bottom: 6px; }
-
-input.sidebtn21 { width: 141px;
- position: relative;
- top: 5px;
- left: 8px;
- bottom: 6px; }
-
-input.sidebtn2Long { width: 253px;
- position: relative;
- top: 5px;
- left: 8px;
- bottom: 6px; }
-
-input.sidebtn2A { width: 140px;
- position: relative;
- top: 5px;
- left: 8px;
- bottom: 6px; }
-
-input.sidebtn2B { width: 156px;
- position: relative;
- top: 6px;
- left: 8px;
- bottom: 0px;
- margin-bottom: -3px; }
-
-select { font-family: Tahoma, Verdana, Arial, Sans Serif;
- font-weight: normal;
- font-size: 8pt;
- color: buttontext; }
-
-/****THIS IS THE STANDARD SELECTION BOX****************************************/
-select.sidebtn { width: 173px;
- position: relative;
- top: 6px;
- left: 8px;
- bottom: 0px;
- margin-bottom: -3px; }
-
-/****THIS IS THE STANDARD SELECTION BOX****************************************/
-span.sidebtn { position: relative;
- top: 6px;
- left: 8px;
- bottom: 0px;
- margin-bottom: -3px; }
-
-/****THIS IS THE STANDARD SELECTION BOX****************************************/
-span.itemtextspecial { position: relative;
- top: -20px;
- left: 16px;
- bottom: 0px;
- margin-bottom: -3px; }
-
-/****THIS IS THE STANDARD SELECTION BOX****************************************/
-span.sidebtnspecial { position: relative;
- top: -2px;
- left: 54px;
- bottom: 0px;
- margin-bottom: -3px; }
-
-/****THIS SELECTION BOX IS INDENTED UNDER A HEADING AND RULE SECTION***********/
-select.sidebtnB { width: 164px;
- position: relative;
- top: 6px;
- left: 8px;
- bottom: 0px;
- margin-bottom: -3px; }
-
-/****THIS SELECTION BOX IS BELOW AND ASSOCIATED WITH A CHECKBOX****************/
-select.sidebtn2 { width: 164px;
- position: relative;
- top: 13px;
- left: 17px;
- bottom: 0px;
- margin-bottom: -3px; }
-
-/****THIS SELECTION BOX IS BELOW AND ASSOCIATED WITH A CHECKBOX AND HEADING****/
-select.sidebtn2A { width: 156px;
- position: relative;
- top: 13px;
- left: 25px;
- bottom: 0px;
- margin-bottom: -3px; }
-
-/****THIS SELECTION BOX IS BELOW AND ASSOCIATED WITH A CHECKBOX AND HEADING****/
-select.sidebtn2ALong { width: 277px;
- position: relative;
- top: 6px;
- left: 25px;
- bottom: 0px;
- margin-bottom: -3px; }
-
-select.sidebtn2B { width: 156px;
- position: relative;
- top: 6px;
- left: 8px;
- bottom: 0px;
- margin-bottom: -3px; }
-
-/****THIS SELECTION BOX HAS "..." BUTTONS BESIDE THEM**************************/
-select.sidebtn2C { width: 149px;
- position: relative;
- top: 5px;
- left: 8px;
- bottom: 6px; }
-
-select.sidebtn2CLong { width: 253px;
- position: relative;
- top: 5px;
- left: 8px;
- bottom: 6px; }
-
-select.sidebtn3 { width: 150px;
- position: relative;
- top: 6px;
- bottom: 0px;
- margin-bottom: -3px; }
-
-/****THIS SELECTION BOX IS FOR HORIZONTAL ADD/REMOVE SECTIONS******************/
-select.sidebtn4Long { width: 574px;
- position: relative;
- top: 6px;
- left: 8px;
- bottom: 0px;
- margin-bottom: -3px; }
-
-object.itemtext { font-family: Tahoma, Verdana, Arial, Sans Serif;
- font-weight: normal;
- font-size: 8pt;
- color: buttontext;
- width: 173px;
- height: 19px;
- position: relative;
- top: 6px;
- left: 8px;
- margin-bottom: 2px; }
-
-.dropdowncombo { font-family: Tahoma, Verdana, Arial, Sans Serif;
- font-weight: normal;
- font-size: 8pt;
- color: buttontext; }
-
-/****THIS DEFINES A STANDARD BUTTON IN THE CONTENT SECTION*********************/
-.buttonclass { margin-top: 2px;
- margin-left: 8px;
- margin-bottom: -6px;
- padding: 2px; }
-
-/****THIS DEFINES ADD/REMOVE BUTTONS IN THE CONTENT SECTION********************/
-.buttonclass2 { margin-top: 8px;
- margin-left: 8px;
- z-index: 1;
- cursor: hand; }
-
-/****THIS DEFINES A "..." BUTTON IN THE CONTENT SECTION************************/
-.buttonclass3 { height: 19px;
- width: 20px;
- position: relative;
- top: 2px; }
-
-/****THIS DEFINES A "..." BUTTON IN THE CONTENT SECTION AND UNDER A CHECKBOX***/
-.buttonclass3Indent { height: 19px;
- width: 20px;
- position: relative;
- top: 2px;
- left: 10px; }
-
-.buttonclass31 { height: 19px;
- width: 20px;
- position: relative;
- top: 2px;
- left:8px; }
-
-.buttonclass3A { height: 19px;
- width: 20px;
- position: relative;
- top: 5px; }
-
-/****THIS DEFINES A ">>" BUTTON IN THE CONTENT SECTION************************/
-.buttonclass4 { margin-bottom: 4px;
- width: 75px;
- height: 23px; }
-
-/****THIS DEFINES ADD/REMOVE BUTTONS HORIZONTALLY IN THE CONTENT SECTION******/
-.buttonclass5 { margin-left: 4px; }
-
-/****THIS DEFINES FIRST ADD/REMOVE BUTTONS HORIZONTALLY IN CONTENT SECTION****/
-.buttonclass5A { margin-left: 8px; }
-
-/****THIS SETS THE LEFT MARGIN FOR THE REMOVE BUTTON***************************/
-#removebtn { margin-left: 4px; }
-
-
-
-/****THIS SETS THE LEFT MARGIN FOR INDENTED SECTION UNDER CHECKBOXES***********/
-label.indent { margin-left: 18px; }
-
-/****THIS SETS THE LEFT MARGIN FOR INDENTED SECTION UNDER CHECKBOXES***********/
-label.indent2 { margin-left: 26px; }
-
-
-/****THESE ARE CUSTOM SPACING ELEMENTS*****************************************/
-p.spacer { margin-bottom: -28px; }
-
-p.elementspacer { margin-bottom: -12px; }
-
-p.elementspacer2 { margin-bottom: -19px; }
-
-p.elementspacer3 { margin-bottom: -3px; }
-
-p.elementspacer4 { margin-bottom: 7px; }
-
-p.elementspacer5 { margin-bottom: 5px; }
-
-p.elementspacer6 { margin-bottom: -24px; }
-
-p.elementspacer7 { margin-bottom: -11px; }
-
-p.elementspacer8 { margin-bottom: -14px; }
-
-p.elementspacer9 { margin-bottom: -7px; }
-
-p.elementspacer10 { margin-bottom: 6px; }
-
-p.elementspacer11 { margin-bottom: 22px; }
-
-p.elementspacer12 { margin-bottom: -17px; }
-
-p.elementspacer13 { margin-bottom: -23px; }
-
-p.elementspacer14 { margin-bottom: -25px; }
-
-
-/*CUSTOM STYLES FOR THE 'CONTENT' FRAME****************************************/
-/******************************************************************************/ \ No newline at end of file
diff --git a/Qt4VS2003/Items/Qt5Class/HTML/1031/default.htm b/Qt4VS2003/Items/Qt5Class/HTML/1031/default.htm
deleted file mode 100644
index ec67e3de..00000000
--- a/Qt4VS2003/Items/Qt5Class/HTML/1031/default.htm
+++ /dev/null
@@ -1,477 +0,0 @@
-<html dir="ltr">
-<head>
- <title>'Qt5Class'</title>
- <meta name="vs_snapToGrid" content="False">
- <meta name="vs_showGrid" content="True">
- <meta name="vs_targetSchema" content="http://schemas.microsoft.com/intellisense/ie5">
- <link id="LINKURL" rel="stylesheet" href="../../1033/styles.css">
- <!-- -->
- <!-- The SYMBOL tag is used to set the default values for the user-defined symbols.-->
- <!-- -->
- <symbol name='WIZARD_DIALOG_TITLE' type="text" value='Qt5Class'></symbol>
- <symbol name='INSERT_QOBJECT' type="checkbox" value="true"></symbol>
- <symbol name='CLASS_NAME' type="text" value=''></symbol>
- <symbol name='BASECLASS_NAME' type="text" value='QObject'></symbol>
- <symbol name='CPP_NAME' type="text" value=''></symbol>
- <symbol name='H_NAME' type="text" value=''></symbol>
- <symbol name='SIGNATURE' type="text" value=''></symbol>
- <symbol name='LOCATION' type="text" value=''></symbol>
-</head>
-<body bgcolor="buttonface" topmargin="0" leftmargin="0" rightmargin="0" bottommargin="0"
- onload="InitDocument(document);" onkeydown="OnKey();" onkeypress="OnPress();">
- <table class="ONE" height="100%" width="100%" border="0" cellpadding="0" cellspacing="0">
- <colgroup>
- <col width="100%">
- <!--OPEN OF INTRODUCTORY INFORMATION TABLE//-->
- <tr valign="top">
- <td height="79" width="100%" colspan="2">
- <table class="TWO" border="0" cellpadding="0" cellspacing="0">
- <colgroup>
- <col width="12">
- <col>
- <col width="12">
- <tr>
- <td valign="top" height="12" width="12">
- &nbsp;
- </td>
- <td valign="top" height="12">
- &nbsp;
- </td>
- <td valign="top" height="12" width="12">
- &nbsp;
- </td>
- <td class="IMAGE" valign="bottom" width="110" rowspan="2">
- <div class="SMALLA" id="Layer0">
- <img class="SMALLEST" src="../../Images/Qt5Class.gif" width="63" height="63" alt=""
- border="0">
- </div>
- </td>
- <td valign="top" height="12" width="6" rowspan="2">
- &nbsp;
- </td>
- </tr>
- <tr>
- <td valign="top" height="65" width="12">
- &nbsp;
- </td>
- <td valign="top" height="65">
- <h4 class="HEAD" id="HEAD">
- Willkommen zum Qt5 Klassenwizard</h4>
- <p class="SUBHEAD" id="SUBHEAD">
- Dieser Wizard hilft Ihnen eine neue Qt5 Klasse zu Ihrem Projekt hinzuzufgen. Es
- werden eine .h und .cpp Datei erstellt.</p>
- </td>
- <td valign="top" height="65" width="12">
- &nbsp;
- </td>
- </tr>
- <tr>
- <td valign="top" class="RULE" colspan="5" height="2">
- <table border="0" width="100%" height="1" cellpadding="0" cellspacing="0">
- <tr valign="top">
- <td height="1" width="100%" bgcolor="buttonshadow">
- <img src="../../Images/spacer.gif" height="1" width="1" alt="">
- </td>
- <td height="1" width="1" bgcolor="window">
- <img src="../../Images/spacer.gif" height="1" width="1" alt="">
- </td>
- </tr>
- </table>
- </td>
- </tr>
- </table>
- </td>
- </tr>
- <!--CLOSE OF INTRODUCTORY INFORMATION TABLE//-->
- <!--OPEN OF NAVIGATION, CONTENT, AND BUTTON TABLES//-->
- <tr valign="top">
- <td valign="top" height="100%">
- <!--OPEN OF CONTENT AND BUTTON TABLE//-->
- <table class="ONE" border="0" cellpadding="0" cellspacing="0">
- <colgroup>
- <col width="100%">
- <tr valign="top">
- <td height="100%">
- <!--OPEN OF CONTENT//-->
- <table class="CONTENT" border="0" cellpadding="0" cellspacing="0">
- <colgroup>
- <col width="12">
- <col width="185">
- <col width="12">
- <col width="185">
- <col width="12">
- <col width="185">
- <col width="12">
- <tr>
- <td valign="top" colspan="7" height="12">
- &nbsp;
- </td>
- </tr>
- <tr valign="top">
- <td valign="top" width="12" style="height: 19px">
- </td>
- <td valign="top" style="width: 169px; height: 19px">
- Klassenname:
- </td>
- <td valign="top" colspan="2" style="width: 168px; height: 19px">
- .h Datei:
- </td>
- <td valign="top" colspan="2" style="height: 19px">
- .cpp&nbsp;Datei:
- </td>
- <td valign="top" width="12" style="height: 19px">
- &nbsp;
- </td>
- </tr>
- <tr>
- <td valign="top" width="12" style="height: 32px">
- </td>
- <td valign="top" style="width: 169px; height: 32px">
- <input id="CLASS_NAME" type="text" name="Text4" onpropertychange="ClassNameChanged();">
- </td>
- <td valign="top" colspan="2" style="width: 168px; height: 32px">
- <input id="H_NAME" type="text" name="Text1">
- </td>
- <td valign="top" colspan="2" style="height: 32px">
- <input id="CPP_NAME" type="text" name="Text3">
- </td>
- <td valign="top" width="12" style="height: 32px">
- </td>
- </tr>
- <tr>
- <td valign="top" width="12" style="height: 19px">
- </td>
- <td valign="top" style="width: 169px; height: 19px">
- Basisklasse:
- </td>
- <td valign="top" colspan="2" style="width: 168px; height: 19px">
- Konstruktorsignatur:
- </td>
- <td valign="top" colspan="2" style="height: 19px">
- </td>
- <td valign="top" width="12" style="height: 19px">
- </td>
- </tr>
- <tr>
- <td valign="top" width="12" style="height: 25px">
- </td>
- <td valign="top" style="width: 169px; height: 25px">
- <input id="BASECLASS_NAME" type="text" name="Text5" onpropertychange="BaseClassNameChanged();">
- </td>
- <td valign="top" colspan="2" style="width: 168px; height: 25px">
- <select id="SIGNATURE" name="Select1" disabled style="width: 120px">
- <option value="1" selected>QObject *parent</option>
- <option value="2">QWidget *parent</option>
- <option value="3"></option>
- </select>
- </td>
- <td valign="top" colspan="2" style="height: 25px">
- <input id="INSERT_QOBJECT" type="checkbox" name="Checkbox1" checked>Q_OBJECT einfgen
- </td>
- <td valign="top" width="12" style="height: 25px">
- </td>
- </tr>
- <tr>
- <td valign="top" width="12">
- </td>
- <td valign="top" colspan="3">
- <p id="ERROR_FIELD" align="center">
- </p>
- </td>
- <td valign="top" colspan="2">
- <input id="LOWER_CASE" type="checkbox" checked name="Checkbox2" onpropertychange="LowerCaseChanged();">Nur
- Kleinbuchstaben im Dateinamen verwenden
- </td>
- <td valign="top" width="12">
- </td>
- </tr>
- <tr>
- <td valign="top" height="50px">
- &nbsp;
- </td>
- </tr>
- <tr>
- <td valign="top" width="12" style="height: 25px">
- </td>
- <td valign="top" style="width: 500px; height: 25px" colspan="3">
- Speicherort:
- <input id="LOCATION" type="text" name="Text6" style="width: 310px" size="36">
- </td>
- <td style="height: 25px" valign="top" colspan="2">
- <input id="Button1" type="button" name="button" value="Durchsuchen..." onclick="ShowBrowseDialog();">
- </tr>
- <tr>
- <td valign="top" height="100%">
- &nbsp;
- </td>
- </tr>
- </table>
- <!--CLOSE OF CONTENT//-->
- </td>
- </tr>
- <tr valign="bottom">
- <td height="48">
- <!--OPEN OF BUTTON HTML//-->
- <table height="48" border="0" cellpadding="0" cellspacing="0">
- <colgroup>
- <col width="12">
- <col>
- <col width="75">
- <col width="4">
- <col width="75">
- <col width="4">
- <col width="75">
- <col width="12">
- <tr>
- <td valign="top" class="RULE" colspan="8" height="2">
- <table border="0" width="100%" height="1" cellpadding="0" cellspacing="0">
- <tr valign="top">
- </tr>
- </table>
- </td>
- </tr>
- <tr>
- <td valign="top" height="11" colspan="8">
- &nbsp;
- </td>
- </tr>
- <tr>
- <td valign="middle" height="23" width="12">
- &nbsp;
- </td>
- <td valign="top" height="23">
- &nbsp;
- </td>
- <td valign="middle" height="23" width="75">
- <button class="BUTTONS" id="FinishBtn" accesskey="B" onclick="OnFinish(document);"
- type="button">
- <u>B</u>eenden</button>
- </td>
- <td valign="middle" height="23" width="4">
- &nbsp;
- </td>
- <td valign="middle" height="23" width="75">
- <button class="BUTTONS" id="CancelBtn" accesskey="A" onclick="window.external.Finish(document, 'cancel');"
- type="button">
- <u>A</u>bbrechen</button>
- </td>
- <td valign="middle" height="23" width="4">
- &nbsp;
- </td>
- <td valign="middle" height="23" width="75">
- <button class="BUTTONS" id="HelpBtn" accesskey="H" onclick="window.external.OnHelp('vc.appwiz.custom.overview');"
- type="button" disabled>
- <u>H</u>ilfe</button>
- </td>
- <td valign="middle" height="23" width="12">
- &nbsp;
- </td>
- </tr>
- <tr>
- <td valign="top" height="12" colspan="8">
- &nbsp;
- </td>
- </tr>
- </table>
- <!--CLOSE OF BUTTON HTML//-->
- </td>
- </tr>
- </table>
- <!--CLOSE OF NAVIGATION, CONTENT, AND BUTTON TABLES//-->
- </td>
- </tr>
- </table>
-</body>
-</html>
-<script language="JSCRIPT">
- var QtEngine;
- var dte;
- // Called when the class name changes
- function ClassNameChanged() {
- LowerCaseChanged();
- }
-
- function LowerCaseChanged() {
- var strClassName = CLASS_NAME.value;
- var idx = strClassName.lastIndexOf('::');
- if (idx >= 0)
- strClassName = strClassName.substr(idx + 2);
-
- if (LOWER_CASE.checked) {
- strClassName = strClassName.toLowerCase();
- }
-
- H_NAME.value = strClassName + ".h";
- CPP_NAME.value = strClassName + ".cpp";
- }
-
- function BaseClassNameChanged() {
- if (BASECLASS_NAME.value == "") {
- SIGNATURE.disabled = true;
- } else {
- SIGNATURE.disabled = false;
- }
- }
-
- function ShowBrowseDialog() {
- LOCATION.value = QtEngine.ShowOpenFolderDialog(LOCATION.value);
- }
-
- function IsValid() {
- var testVal = CLASS_NAME.value;
- var idx = testVal.lastIndexOf('::');
- if (idx >= 0)
- testVal = testVal.substr(idx + 2);
-
- if (!window.external.dte.VCLanguageManager.ValidateIdentifier(testVal) ||
- window.external.dte.VCLanguageManager.IsReservedName(testVal)) {
- window.external.ReportError("Ungltiger Klassenname!");
- CLASS_NAME.focus();
- return false;
- }
-
- testVal = H_NAME.value;
- if (!window.external.dte.VCLanguageManager.ValidateFileName(testVal) ||
- window.external.ProjectObject.Object.Files.Item(testVal)) {
- window.external.ReportError("Ungltiger .h Dateiname!");
- H_NAME.focus();
- return false;
- }
-
- testVal = CPP_NAME.value;
- if (!window.external.dte.VCLanguageManager.ValidateFileName(testVal) ||
- window.external.ProjectObject.Object.Files.Item(testVal)) {
- window.external.ReportError("Ungltiger .cpp Dateiname!");
- CPP_NAME.focus();
- return false;
- }
-
- testVal = LOCATION.value;
- if (testVal.length == 0) {
- window.external.ReportError("Ungltiges Verzeichnis!");
- LOCATION.focus();
- return false;
- }
-
- return true;
- }
-
- // This is an example of a function which initializes the page
- //
- function InitDocument(document) {
- setDirection();
-
- dte = window.external.dte;
- if (!dte) {
- window.external.ReportError("Cannot find automation object!");
- return false;
- }
- var version = dte.version;
- if (version == "8.0")
- QtEngine = new ActiveXObject("Digia.Qt5ProjectEngine80");
- else if (version == "9.0")
- QtEngine = new ActiveXObject("Digia.Qt5ProjectEngine90");
- else if (version == "10.0")
- QtEngine = new ActiveXObject("Digia.Qt5ProjectEngine100");
- else if (version == "11.0")
- QtEngine = new ActiveXObject("Digia.Qt5ProjectEngine110");
- else if (version == "12.0")
- QtEngine = new ActiveXObject("Digia.Qt5ProjectEngine120");
- else {
- window.external.ReportError("Cannot instantiate QtProjectEngine object!");
- return false;
- }
-
- if (window.external.FindSymbol('DOCUMENT_FIRST_LOAD')) {
- // This function sets the default symbols based
- // on the values specified in the SYMBOL tags above
- //
- window.external.SetDefaults(document);
- }
-
- // Load the document and initialize the controls
- // with the appropriate symbol values
- //
- window.external.Load(document);
- InitControls();
- var projFile = window.external.ProjectObject.FullName;
- var i = projFile.lastIndexOf("\\");
- LOCATION.value = projFile.substring(0, i);
- }
-
- function InitControls() {
- if (!QtEngine.IsSelectedProjectQt(dte)) {
- DisableControls();
- ERROR_FIELD.innerHTML = "<font size=3 color=#990000><BR>Zu diesem Projekt kann keine QtKlasse hinzugef&uuml;gt werden"
- + ", da es sich nicht um ein Qt5VSAddin-Projekt handelt.</font>";
- }
- }
-
- function DisableControls() {
- FinishBtn.disabled = true;
- CLASS_NAME.disabled = true;
- BASECLASS_NAME.disabled = true;
- CPP_NAME.disabled = true;
- H_NAME.disabled = true;
- INSERT_QOBJECT.disabled = true;
- LOCATION.disabled = true;
- SIGNATURE.disabled = true;
- LOWER_CASE.disabled = true;
- Button1.disabled = true;
- }
-
- // If the wizard has more than 1 page, this
- // function will browse to the page specified
- //
- function Next(document, linkto) {
- window.external.Next(document, linkto);
- }
-
- // This is an example of a function which
- // gets called when the user clicks on 'Finish'
- //
- function OnFinish(document) {
- if (!IsValid())
- return;
-
- OnWizFinish(document);
- }
-
-</script>
-<script id="INCLUDE_SCRIPT" language="JSCRIPT"></script>
-<script id="INCLUDE_COMMON" language="JSCRIPT"></script>
-<!--
-Common.js is a script file which contains the helper functions
-used by the wizards. Include this line if you want to
-call these functions from your html scripts.
-//-->
-<script>
- var strPath = window.external.FindSymbol("PRODUCT_INSTALLATION_DIR");
- strPath += "VCWizards/";
- strPath += window.external.GetHostLocale();
-
- // verify if the locale folder really exists
- var fso = new ActiveXObject("Scripting.FileSystemObject");
- var found = fso.FolderExists(strPath)
- if (found == false) {
- strPath = window.external.FindSymbol("PRODUCT_INSTALLATION_DIR");
- strPath += "VCWizards/";
- var folder = fso.GetFolder(strPath);
- for (subfolders = new Enumerator(folder.SubFolders); !subfolders.atEnd(); subfolders.moveNext()) {
- for (files = new Enumerator(subfolders.item().files); !files.atEnd(); files.moveNext()) {
- if (files.item().name.toLowerCase().localeCompare("common.js") == 0) {
- found = true;
- strPath += subfolders.item().name;
- break;
- }
- }
- if (found == true)
- break;
- }
- }
-
- var strScriptPath = strPath + "/Script.js";
- var strCommonPath = strPath + "/Common.js";
- document.scripts("INCLUDE_SCRIPT").src = strScriptPath;
- document.scripts("INCLUDE_COMMON").src = strCommonPath;
-</script>
diff --git a/Qt4VS2003/Items/Qt5Class/HTML/1033/default.htm b/Qt4VS2003/Items/Qt5Class/HTML/1033/default.htm
deleted file mode 100644
index 0c8868b4..00000000
--- a/Qt4VS2003/Items/Qt5Class/HTML/1033/default.htm
+++ /dev/null
@@ -1,477 +0,0 @@
-<html dir="ltr">
-<head>
- <title>'Qt5Class'</title>
- <meta name="vs_snapToGrid" content="False">
- <meta name="vs_showGrid" content="True">
- <meta name="vs_targetSchema" content="http://schemas.microsoft.com/intellisense/ie5">
- <link id="LINKURL" rel="stylesheet" href="../../1033/styles.css">
- <!-- -->
- <!-- The SYMBOL tag is used to set the default values for the user-defined symbols.-->
- <!-- -->
- <symbol name='WIZARD_DIALOG_TITLE' type="text" value='Qt5Class'></symbol>
- <symbol name='INSERT_QOBJECT' type="checkbox" value="true"></symbol>
- <symbol name='CLASS_NAME' type="text" value=''></symbol>
- <symbol name='BASECLASS_NAME' type="text" value='QObject'></symbol>
- <symbol name='CPP_NAME' type="text" value=''></symbol>
- <symbol name='H_NAME' type="text" value=''></symbol>
- <symbol name='SIGNATURE' type="text" value=''></symbol>
- <symbol name='LOCATION' type="text" value=''></symbol>
-</head>
-<body bgcolor="buttonface" topmargin="0" leftmargin="0" rightmargin="0" bottommargin="0"
- onload="InitDocument(document);" onkeydown="OnKey();" onkeypress="OnPress();">
- <table class="ONE" height="100%" width="100%" border="0" cellpadding="0" cellspacing="0">
- <colgroup>
- <col width="100%">
- <!--OPEN OF INTRODUCTORY INFORMATION TABLE//-->
- <tr valign="top">
- <td height="79" width="100%" colspan="2">
- <table class="TWO" border="0" cellpadding="0" cellspacing="0">
- <colgroup>
- <col width="12">
- <col>
- <col width="12">
- <tr>
- <td valign="top" height="12" width="12">
- &nbsp;
- </td>
- <td valign="top" height="12">
- &nbsp;
- </td>
- <td valign="top" height="12" width="12">
- &nbsp;
- </td>
- <td class="IMAGE" valign="bottom" width="110" rowspan="2">
- <div class="SMALLA" id="Layer0">
- <img class="SMALLEST" src="../../Images/Qt5Class.gif" width="63" height="63" alt=""
- border="0">
- </div>
- </td>
- <td valign="top" height="12" width="6" rowspan="2">
- &nbsp;
- </td>
- </tr>
- <tr>
- <td valign="top" height="65" width="12">
- &nbsp;
- </td>
- <td valign="top" height="65">
- <h4 class="HEAD" id="HEAD">
- Welcome to the Qt5 Class Wizard</h4>
- <p class="SUBHEAD" id="SUBHEAD">
- This wizard will add a new Qt5 class to your project. The wizard creates a .h and .cpp file.</p>
- </td>
- <td valign="top" height="65" width="12">
- &nbsp;
- </td>
- </tr>
- <tr>
- <td valign="top" class="RULE" colspan="5" height="2">
- <table border="0" width="100%" height="1" cellpadding="0" cellspacing="0">
- <tr valign="top">
- <td height="1" width="100%" bgcolor="buttonshadow">
- <img src="../../Images/spacer.gif" height="1" width="1" alt="">
- </td>
- <td height="1" width="1" bgcolor="window">
- <img src="../../Images/spacer.gif" height="1" width="1" alt="">
- </td>
- </tr>
- </table>
- </td>
- </tr>
- </table>
- </td>
- </tr>
- <!--CLOSE OF INTRODUCTORY INFORMATION TABLE//-->
- <!--OPEN OF NAVIGATION, CONTENT, AND BUTTON TABLES//-->
- <tr valign="top">
- <td valign="top" height="100%">
- <!--OPEN OF CONTENT AND BUTTON TABLE//-->
- <table class="ONE" border="0" cellpadding="0" cellspacing="0">
- <colgroup>
- <col width="100%">
- <tr valign="top">
- <td height="100%">
- <!--OPEN OF CONTENT//-->
- <table class="CONTENT" border="0" cellpadding="0" cellspacing="0">
- <colgroup>
- <col width="12">
- <col width="185">
- <col width="12">
- <col width="185">
- <col width="12">
- <col width="185">
- <col width="12">
- <tr>
- <td valign="top" colspan="7" height="12">
- &nbsp;
- </td>
- </tr>
- <tr valign="top">
- <td valign="top" width="12" style="height: 19px">
- </td>
- <td valign="top" style="width: 169px; height: 19px">
- Class name:
- </td>
- <td valign="top" colspan="2" style="width: 168px; height: 19px">
- .h file:
- </td>
- <td valign="top" colspan="2" style="height: 19px">
- .cpp&nbsp;file:
- </td>
- <td valign="top" width="12" style="height: 19px">
- &nbsp;
- </td>
- </tr>
- <tr>
- <td valign="top" width="12" style="height: 32px">
- </td>
- <td valign="top" style="width: 169px; height: 32px">
- <input id="CLASS_NAME" type="text" name="Text4" onpropertychange="ClassNameChanged();">
- </td>
- <td valign="top" colspan="2" style="width: 168px; height: 32px">
- <input id="H_NAME" type="text" name="Text1">
- </td>
- <td valign="top" colspan="2" style="height: 32px">
- <input id="CPP_NAME" type="text" name="Text3">
- </td>
- <td valign="top" width="12" style="height: 32px">
- </td>
- </tr>
- <tr>
- <td valign="top" width="12" style="height: 19px">
- </td>
- <td valign="top" style="width: 169px; height: 19px">
- Base class:
- </td>
- <td valign="top" colspan="2" style="width: 168px; height: 19px">
- Constructor signature:
- </td>
- <td valign="top" colspan="2" style="height: 19px">
- </td>
- <td valign="top" width="12" style="height: 19px">
- </td>
- </tr>
- <tr>
- <td valign="top" width="12" style="height: 25px">
- </td>
- <td valign="top" style="width: 169px; height: 25px">
- <input id="BASECLASS_NAME" type="text" name="Text5" onpropertychange="BaseClassNameChanged();">
- </td>
- <td valign="top" colspan="2" style="width: 168px; height: 25px">
- <select id="SIGNATURE" name="Select1" disabled style="width: 120px">
- <option value="1" selected>QObject *parent</option>
- <option value="2">QWidget *parent</option>
- <option value="3"></option>
- </select>
- </td>
- <td valign="top" colspan="2" style="height: 25px">
- <input id="INSERT_QOBJECT" type="checkbox" name="Checkbox1" checked>Insert Q_OBJECT
- </td>
- <td valign="top" width="12" style="height: 25px">
- </td>
- </tr>
- <tr>
- <td width="12">
- </td>
- <td valign="top" colspan="3">
- <p id="ERROR_FIELD" align="center">
- </p>
- </td>
- <td valign="top" colspan="2">
- <input id="LOWER_CASE" type="checkbox" checked name="Checkbox2" onpropertychange="LowerCaseChanged();">Lower
- case file names
- </td>
- <td valign="top" width="12">
- </td>
- </tr>
- <tr>
- <td valign="top" height="50px">
- &nbsp;
- </td>
- </tr>
- <tr>
- <td valign="top" width="12" style="height: 25px">
- </td>
- <td valign="top" style="width: 500px; height: 25px" colspan="3">
- Location:
- <input id="LOCATION" type="text" name="Text6" style="width: 330px" size="36">
- </td>
- <td style="height: 25px" valign="top" colspan="2">
- <input id="Button1" type="button" name="button" value="Browse..." onclick="ShowBrowseDialog();">
- </tr>
- <tr>
- <td valign="top" height="100%">
- &nbsp;
- </td>
- </tr>
- </table>
- <!--CLOSE OF CONTENT//-->
- </td>
- </tr>
- <tr valign="bottom">
- <td height="48">
- <!--OPEN OF BUTTON HTML//-->
- <table height="48" border="0" cellpadding="0" cellspacing="0">
- <colgroup>
- <col width="12">
- <col>
- <col width="75">
- <col width="4">
- <col width="75">
- <col width="4">
- <col width="75">
- <col width="12">
- <tr>
- <td valign="top" class="RULE" colspan="8" height="2">
- <table border="0" width="100%" height="1" cellpadding="0" cellspacing="0">
- <tr valign="top">
- </tr>
- </table>
- </td>
- </tr>
- <tr>
- <td valign="top" height="11" colspan="8">
- &nbsp;
- </td>
- </tr>
- <tr>
- <td valign="middle" height="23" width="12">
- &nbsp;
- </td>
- <td valign="top" height="23">
- &nbsp;
- </td>
- <td valign="middle" height="23" width="75">
- <button class="BUTTONS" id="FinishBtn" accesskey="F" onclick="OnFinish(document);"
- type="button">
- <u>F</u>inish</button>
- </td>
- <td valign="middle" height="23" width="4">
- &nbsp;
- </td>
- <td valign="middle" height="23" width="75">
- <button class="BUTTONS" id="CancelBtn" accesskey="C" onclick="window.external.Finish(document, 'cancel');"
- type="button">
- <u>C</u>ancel</button>
- </td>
- <td valign="middle" height="23" width="4">
- &nbsp;
- </td>
- <td valign="middle" height="23" width="75">
- <button class="BUTTONS" id="HelpBtn" accesskey="H" onclick="window.external.OnHelp('vc.appwiz.custom.overview');"
- type="button" disabled>
- <u>H</u>elp</button>
- </td>
- <td valign="middle" height="23" width="12">
- &nbsp;
- </td>
- </tr>
- <tr>
- <td valign="top" height="12" colspan="8">
- &nbsp;
- </td>
- </tr>
- </table>
- <!--CLOSE OF BUTTON HTML//-->
- </td>
- </tr>
- </table>
- <!--CLOSE OF NAVIGATION, CONTENT, AND BUTTON TABLES//-->
- </td>
- </tr>
- </table>
- <script language="JSCRIPT">
-
- var QtEngine;
- var dte;
- // Called when the class name changes
- function ClassNameChanged() {
- LowerCaseChanged();
- }
-
- function LowerCaseChanged() {
- var strClassName = CLASS_NAME.value;
- var idx = strClassName.lastIndexOf('::');
- if (idx >= 0)
- strClassName = strClassName.substr(idx + 2);
-
- if (LOWER_CASE.checked) {
- strClassName = strClassName.toLowerCase();
- }
-
- H_NAME.value = strClassName + ".h";
- CPP_NAME.value = strClassName + ".cpp";
- }
-
- function BaseClassNameChanged() {
- if (BASECLASS_NAME.value == "") {
- SIGNATURE.disabled = true;
- } else {
- SIGNATURE.disabled = false;
- }
- }
-
- function ShowBrowseDialog() {
- LOCATION.value = QtEngine.ShowOpenFolderDialog(LOCATION.value);
- }
-
- function IsValid() {
- var testVal = CLASS_NAME.value;
- var idx = testVal.lastIndexOf('::');
- if (idx >= 0)
- testVal = testVal.substr(idx + 2);
-
- if (!window.external.dte.VCLanguageManager.ValidateIdentifier(testVal) ||
- window.external.dte.VCLanguageManager.IsReservedName(testVal)) {
- window.external.ReportError("Not a valid class name!");
- CLASS_NAME.focus();
- return false;
- }
-
- testVal = H_NAME.value;
- if (!window.external.dte.VCLanguageManager.ValidateFileName(testVal) ||
- window.external.ProjectObject.Object.Files.Item(testVal)) {
- window.external.ReportError("Not a valid .h file name!");
- H_NAME.focus();
- return false;
- }
-
- testVal = CPP_NAME.value;
- if (!window.external.dte.VCLanguageManager.ValidateFileName(testVal) ||
- window.external.ProjectObject.Object.Files.Item(testVal)) {
- window.external.ReportError("Not a valid .cpp file name!");
- CPP_NAME.focus();
- return false;
- }
-
- testVal = LOCATION.value;
- if (testVal.length == 0) {
- window.external.ReportError("Not a valid location directory!");
- LOCATION.focus();
- return false;
- }
-
- return true;
- }
-
- // This is an example of a function which initializes the page
- //
- function InitDocument(document) {
- setDirection();
-
- dte = window.external.dte;
- if (!dte) {
- window.external.ReportError("Cannot find automation object!");
- return false;
- }
- var version = dte.version;
- if (version == "8.0")
- QtEngine = new ActiveXObject("Digia.Qt5ProjectEngine80");
- else if (version == "9.0")
- QtEngine = new ActiveXObject("Digia.Qt5ProjectEngine90");
- else if (version == "10.0")
- QtEngine = new ActiveXObject("Digia.Qt5ProjectEngine100");
- else if (version == "11.0")
- QtEngine = new ActiveXObject("Digia.Qt5ProjectEngine110");
- else if (version == "12.0")
- QtEngine = new ActiveXObject("Digia.Qt5ProjectEngine120");
- else {
- window.external.ReportError("Cannot instantiate QtProjectEngine object!");
- return false;
- }
-
- if (window.external.FindSymbol('DOCUMENT_FIRST_LOAD')) {
- // This function sets the default symbols based
- // on the values specified in the SYMBOL tags above
- //
- window.external.SetDefaults(document);
- }
-
- // Load the document and initialize the controls
- // with the appropriate symbol values
- //
- window.external.Load(document);
- InitControls();
- var projFile = window.external.ProjectObject.FullName;
- var i = projFile.lastIndexOf("\\");
- LOCATION.value = projFile.substring(0, i);
- }
-
- function InitControls() {
- if (!QtEngine.IsSelectedProjectQt(dte)) {
- DisableControls();
- ERROR_FIELD.innerHTML = "<font size=3 color=#990000><BR>It is impossible to add a QtClass to the current project"
- + ", as it was not created using the Qt5VSAddin.</font>";
- }
- }
-
- function DisableControls() {
- FinishBtn.disabled = true;
- CLASS_NAME.disabled = true;
- BASECLASS_NAME.disabled = true;
- CPP_NAME.disabled = true;
- H_NAME.disabled = true;
- INSERT_QOBJECT.disabled = true;
- LOCATION.disabled = true;
- SIGNATURE.disabled = true;
- LOWER_CASE.disabled = true;
- Button1.disabled = true;
- }
-
- // If the wizard has more than 1 page, this
- // function will browse to the page specified
- //
- function Next(document, linkto) {
- window.external.Next(document, linkto);
- }
-
- // This is an example of a function which
- // gets called when the user clicks on 'Finish'
- //
- function OnFinish(document) {
- if (!IsValid())
- return;
-
- OnWizFinish(document);
- }
-
- </script>
- <script id="INCLUDE_SCRIPT" language="JSCRIPT"></script>
- <script id="INCLUDE_COMMON" language="JSCRIPT"></script>
- <!--
-Common.js is a script file which contains the helper functions
-used by the wizards. Include this line if you want to
-call these functions from your html scripts.
-//-->
- <script>
- var strPath = window.external.FindSymbol("PRODUCT_INSTALLATION_DIR");
- strPath += "VCWizards/";
- strPath += window.external.GetHostLocale();
-
- // verify if the locale folder really exists
- var fso = new ActiveXObject("Scripting.FileSystemObject");
- var found = fso.FolderExists(strPath)
- if (found == false) {
- strPath = window.external.FindSymbol("PRODUCT_INSTALLATION_DIR");
- strPath += "VCWizards/";
- var folder = fso.GetFolder(strPath);
- for (subfolders = new Enumerator(folder.SubFolders); !subfolders.atEnd(); subfolders.moveNext()) {
- for (files = new Enumerator(subfolders.item().files); !files.atEnd(); files.moveNext()) {
- if (files.item().name.toLowerCase().localeCompare("common.js") == 0) {
- found = true;
- strPath += subfolders.item().name;
- break;
- }
- }
- if (found == true)
- break;
- }
- }
-
- var strScriptPath = strPath + "/Script.js";
- var strCommonPath = strPath + "/Common.js";
- document.scripts("INCLUDE_SCRIPT").src = strScriptPath;
- document.scripts("INCLUDE_COMMON").src = strCommonPath;
- </script>
-</body>
-</html>
diff --git a/Qt4VS2003/Items/Qt5Class/Images/Qt5Class.gif b/Qt4VS2003/Items/Qt5Class/Images/Qt5Class.gif
deleted file mode 100644
index 4f19b7e1..00000000
--- a/Qt4VS2003/Items/Qt5Class/Images/Qt5Class.gif
+++ /dev/null
Binary files differ
diff --git a/Qt4VS2003/Items/Qt5Class/Qt5Class.ico b/Qt4VS2003/Items/Qt5Class/Qt5Class.ico
deleted file mode 100644
index 3814710c..00000000
--- a/Qt4VS2003/Items/Qt5Class/Qt5Class.ico
+++ /dev/null
Binary files differ
diff --git a/Qt4VS2003/Items/Qt5Class/Qt5Class.vcproj b/Qt4VS2003/Items/Qt5Class/Qt5Class.vcproj
deleted file mode 100644
index 7b739264..00000000
--- a/Qt4VS2003/Items/Qt5Class/Qt5Class.vcproj
+++ /dev/null
@@ -1,131 +0,0 @@
-<?xml version="1.0" encoding="Windows-1252"?>
-<VisualStudioProject
- ProjectType="Visual C++"
- Version="7.10"
- Name="Qt5Class"
- ProjectGUID="{AB6B3B4B-75BD-4E32-B795-56E1FEBA40E3}"
- Keyword="CustomAppWizProj">
- <Platforms>
- <Platform
- Name="Win32"/>
- </Platforms>
- <Configurations>
- <Configuration
- Name="Debug|Win32"
- OutputDirectory="$(SolutionDir)$(ConfigurationName)"
- IntermediateDirectory="$(ConfigurationName)"
- ConfigurationType="1">
- <Tool
- Name="VCCLCompilerTool"/>
- <Tool
- Name="VCCustomBuildTool"/>
- <Tool
- Name="VCLinkerTool"/>
- <Tool
- Name="VCMIDLTool"/>
- <Tool
- Name="VCPostBuildEventTool"/>
- <Tool
- Name="VCPreBuildEventTool"/>
- <Tool
- Name="VCPreLinkEventTool"/>
- <Tool
- Name="VCResourceCompilerTool"/>
- <Tool
- Name="VCWebServiceProxyGeneratorTool"/>
- <Tool
- Name="VCXMLDataGeneratorTool"/>
- <Tool
- Name="VCWebDeploymentTool"/>
- <Tool
- Name="VCManagedWrapperGeneratorTool"/>
- <Tool
- Name="VCAuxiliaryManagedWrapperGeneratorTool"/>
- </Configuration>
- <Configuration
- Name="Release|Win32"
- IntermediateDirectory="$(ConfigurationName)"
- ConfigurationType="1">
- <Tool
- Name="VCCLCompilerTool"/>
- <Tool
- Name="VCCustomBuildTool"/>
- <Tool
- Name="VCLinkerTool"/>
- <Tool
- Name="VCMIDLTool"/>
- <Tool
- Name="VCPostBuildEventTool"/>
- <Tool
- Name="VCPreBuildEventTool"/>
- <Tool
- Name="VCPreLinkEventTool"/>
- <Tool
- Name="VCResourceCompilerTool"/>
- <Tool
- Name="VCWebServiceProxyGeneratorTool"/>
- <Tool
- Name="VCXMLDataGeneratorTool"/>
- <Tool
- Name="VCWebDeploymentTool"/>
- <Tool
- Name="VCManagedWrapperGeneratorTool"/>
- <Tool
- Name="VCAuxiliaryManagedWrapperGeneratorTool"/>
- </Configuration>
- </Configurations>
- <References>
- </References>
- <Files>
- <Filter
- Name="Template Files"
- Filter="txt">
- <File
- RelativePath=".\Templates\1033\class.cpp">
- </File>
- <File
- RelativePath=".\Templates\1033\class.h">
- </File>
- </Filter>
- <Filter
- Name="HTML Files"
- Filter="htm">
- <File
- RelativePath=".\Html\1033\default.htm"
- DeploymentContent="TRUE">
- </File>
- </Filter>
- <Filter
- Name="Image Files"
- Filter="bmp">
- <File
- RelativePath=".\Images\Qt5Class.gif">
- </File>
- </Filter>
- <Filter
- Name="Script Files"
- Filter="js">
- <File
- RelativePath=".\Scripts\1033\default.js">
- </File>
- </Filter>
- <Filter
- Name="Miscellaneous Files"
- Filter="vsz;vsdir;ico;vcproj;csproj;css;inf">
- <File
- RelativePath=".\Qt5Class.ico">
- </File>
- <File
- RelativePath=".\Qt5Class.vsdir">
- </File>
- <File
- RelativePath=".\Qt5Class.vsz">
- </File>
- <File
- RelativePath=".\1033\styles.css">
- </File>
- </Filter>
- </Files>
- <Globals>
- </Globals>
-</VisualStudioProject>
diff --git a/Qt4VS2003/Items/Qt5Class/Qt5Class.vsdir b/Qt4VS2003/Items/Qt5Class/Qt5Class.vsdir
deleted file mode 100644
index a264bf32..00000000
--- a/Qt4VS2003/Items/Qt5Class/Qt5Class.vsdir
+++ /dev/null
@@ -1 +0,0 @@
-Qt5Class.vsz| |Qt5Class|1|Qt5 Class| | |8224|Qt5Class
diff --git a/Qt4VS2003/Items/Qt5Class/Qt5Class.vsz b/Qt4VS2003/Items/Qt5Class/Qt5Class.vsz
deleted file mode 100644
index 5fcb5c9d..00000000
--- a/Qt4VS2003/Items/Qt5Class/Qt5Class.vsz
+++ /dev/null
@@ -1,6 +0,0 @@
-VSWIZARD 7.0
-Wizard=VsWizard.VsWizardEngine.7.1
-
-Param="WIZARD_NAME = Qt5Class"
-Param="ABSOLUTE_PATH = C:\depot\QtVSTools\main\Qt4VS2003\Items\Qt5Class"
-Param="FALLBACK_LCID = 1033" \ No newline at end of file
diff --git a/Qt4VS2003/Items/Qt5Class/Scripts/1033/default.js b/Qt4VS2003/Items/Qt5Class/Scripts/1033/default.js
deleted file mode 100644
index 25a5f007..00000000
--- a/Qt4VS2003/Items/Qt5Class/Scripts/1033/default.js
+++ /dev/null
@@ -1,125 +0,0 @@
-var QtEngine;
-
-function GetNameFromFile(strFile) {
- var nPos = strFile.lastIndexOf(".");
- return strFile.substr(0, nPos);
-}
-
-function OnFinish(selProj, selObj) {
- try {
- // load right project engine
- var dte = wizard.dte;
- var version = dte.version;
- if (version == "8.0")
- QtEngine = new ActiveXObject("Digia.Qt5ProjectEngine80");
- else if (version == "9.0")
- QtEngine = new ActiveXObject("Digia.Qt5ProjectEngine90");
- else if (version == "10.0")
- QtEngine = new ActiveXObject("Digia.Qt5ProjectEngine100");
- else if (version == "11.0")
- QtEngine = new ActiveXObject("Digia.Qt5ProjectEngine110");
- else if (version == "12.0")
- QtEngine = new ActiveXObject("Digia.Qt5ProjectEngine120");
-
- var strTemplatePath = wizard.FindSymbol('TEMPLATES_PATH') + "\\";
-
- var vcfileTmp;
- var fileTmp;
- var strClass = wizard.FindSymbol('CLASS_NAME');
- var strHeader = wizard.FindSymbol('H_NAME');
- var strSource = wizard.FindSymbol('CPP_NAME');
- var strBase = wizard.FindSymbol('BASECLASS_NAME');
- var strSignature = wizard.FindSymbol('SIGNATURE');
- var bInsertQObject = wizard.FindSymbol('INSERT_QOBJECT');
- var strFolder = wizard.FindSymbol('LOCATION');
-
- var lstNamespaces = strClass.split('::');
- strClass = lstNamespaces.pop();
-
- var strTmp = "";
- var strNamespacesBegin = "";
- var strNamespacesEnd = "";
- for (i in lstNamespaces) {
- strNamespacesBegin += "namespace " + lstNamespaces[i] + " {\r\n";
- strNamespacesEnd = "} // namespace " + lstNamespaces[i] + "\r\n" + strNamespacesEnd;
- }
-
- if (strBase == "") {
- strSignature = 0;
- bInsertQObject = false;
- }
-
- var regexp = /\W/g;
- var strDef = QtEngine.GetFileName(strHeader).toUpperCase().replace(regexp, "_");
-
- QtEngine.UseSelectedProject(wizard.dte);
-
- fileTmp = QtEngine.CopyFileToFolder(strTemplatePath + "class.cpp", strFolder, strSource);
-
- if (QtEngine.UsesPrecompiledHeaders()) {
- var pchFile = QtEngine.GetPrecompiledHeaderThrough();
- QtEngine.ReplaceTokenInFile(fileTmp, "%INCLUDE%", pchFile + "\"\n#include \"%INCLUDE%");
- }
- QtEngine.ReplaceTokenInFile(fileTmp, "%INCLUDE%", strHeader);
- QtEngine.ReplaceTokenInFile(fileTmp, "%CLASS%", strClass);
- if (strSignature == 1) {
- QtEngine.ReplaceTokenInFile(fileTmp, "%BASEIMPL%", "\r\n\t: " + strBase + "(parent)");
- QtEngine.ReplaceTokenInFile(fileTmp, "%CTORSIG%", "QObject *parent");
- } else if (strSignature == 2) {
- QtEngine.ReplaceTokenInFile(fileTmp, "%BASEIMPL%", "\r\n\t: " + strBase + "(parent)");
- QtEngine.ReplaceTokenInFile(fileTmp, "%CTORSIG%", "QWidget *parent");
- } else {
- var baseImplReplacement = "";
- if (strBase != "")
- baseImplReplacement = "\r\n\t: " + strBase + "()";
- QtEngine.ReplaceTokenInFile(fileTmp, "%BASEIMPL%", baseImplReplacement);
- QtEngine.ReplaceTokenInFile(fileTmp, "%CTORSIG%", "");
- }
- strTmp = strNamespacesBegin;
- if (strTmp != "")
- strTmp += "\r\n";
- QtEngine.ReplaceTokenInFile(fileTmp, "%NAMESPACE_BEGIN%", strTmp);
- strTmp = strNamespacesEnd;
- if (strTmp != "")
- strTmp = "\r\n" + strTmp;
- QtEngine.ReplaceTokenInFile(fileTmp, "%NAMESPACE_END%", strTmp);
- vcfileTmp = QtEngine.AddFileToProject(fileTmp, "QT_SOURCE_FILTER");
-
- fileTmp = QtEngine.CopyFileToFolder(strTemplatePath + "class.h", strFolder, strHeader);
- QtEngine.ReplaceTokenInFile(fileTmp, "%PRE_DEF%", strDef);
- QtEngine.ReplaceTokenInFile(fileTmp, "%CLASS%", strClass);
- QtEngine.ReplaceTokenInFile(fileTmp, "%BASECLASS%", strBase);
- if (strBase == "") {
- QtEngine.ReplaceTokenInFile(fileTmp, "%BASEDECL%", "");
- QtEngine.ReplaceTokenInFile(fileTmp, "%BASECLASSINCLUDE%", "");
- } else {
- QtEngine.ReplaceTokenInFile(fileTmp, "%BASEDECL%", " : public " + strBase);
- QtEngine.ReplaceTokenInFile(fileTmp, "%BASECLASSINCLUDE%", "#include <" + strBase + ">\r\n\r\n");
- }
- if (bInsertQObject)
- QtEngine.ReplaceTokenInFile(fileTmp, "%Q_OBJECT%", "\r\n\tQ_OBJECT\r\n");
- else
- QtEngine.ReplaceTokenInFile(fileTmp, "%Q_OBJECT%", "");
- if (strSignature == 1)
- QtEngine.ReplaceTokenInFile(fileTmp, "%CTORSIG%", "QObject *parent");
- else if (strSignature == 2)
- QtEngine.ReplaceTokenInFile(fileTmp, "%CTORSIG%", "QWidget *parent");
- else
- QtEngine.ReplaceTokenInFile(fileTmp, "%CTORSIG%", "");
- strTmp = strNamespacesBegin;
- if (strTmp != "")
- strTmp += "\r\n";
- QtEngine.ReplaceTokenInFile(fileTmp, "%NAMESPACE_BEGIN%", strTmp);
- strTmp = strNamespacesEnd;
- if (strTmp != "")
- strTmp += "\r\n";
- QtEngine.ReplaceTokenInFile(fileTmp, "%NAMESPACE_END%", strTmp);
- vcfileTmp = QtEngine.AddFileToProject(fileTmp, "QT_HEADER_FILTER");
- }
- catch (e) {
- wizard.ReportError("Exception in 'default.js'");
- if (e.description.length != 0)
- SetErrorInfo(e);
- return e.number
- }
-}
diff --git a/Qt4VS2003/Items/Qt5Class/Templates/1033/class.cpp b/Qt4VS2003/Items/Qt5Class/Templates/1033/class.cpp
deleted file mode 100644
index 25a162d9..00000000
--- a/Qt4VS2003/Items/Qt5Class/Templates/1033/class.cpp
+++ /dev/null
@@ -1,12 +0,0 @@
-#include "%INCLUDE%"
-
-%NAMESPACE_BEGIN%%CLASS%::%CLASS%(%CTORSIG%)%BASEIMPL%
-{
-
-}
-
-%CLASS%::~%CLASS%()
-{
-
-}
-%NAMESPACE_END% \ No newline at end of file
diff --git a/Qt4VS2003/Items/Qt5Class/Templates/1033/class.h b/Qt4VS2003/Items/Qt5Class/Templates/1033/class.h
deleted file mode 100644
index 8f038079..00000000
--- a/Qt4VS2003/Items/Qt5Class/Templates/1033/class.h
+++ /dev/null
@@ -1,14 +0,0 @@
-#ifndef %PRE_DEF%
-#define %PRE_DEF%
-
-%BASECLASSINCLUDE%%NAMESPACE_BEGIN%class %CLASS%%BASEDECL%
-{%Q_OBJECT%
-public:
- %CLASS%(%CTORSIG%);
- ~%CLASS%();
-
-private:
-
-};
-
-%NAMESPACE_END%#endif // %PRE_DEF%
diff --git a/Qt4VS2003/Items/Qt5GuiClass/1033/styles.css b/Qt4VS2003/Items/Qt5GuiClass/1033/styles.css
deleted file mode 100644
index 9a37fe86..00000000
--- a/Qt4VS2003/Items/Qt5GuiClass/1033/styles.css
+++ /dev/null
@@ -1,572 +0,0 @@
-/******************************************************************************/
-/*DEFAULT STYLES FOR ALL SECTIONS**********************************************/
-/******************************************************************************/
-body { font-family: Tahoma, Verdana, Arial, Sans Serif;
- font-weight: normal;
- font-size: 8pt;
- color: buttontext;
- background-color: buttonface;
- margin-top: 0px;
- margin-left: 0px;
- margin-right: 0px;
- margin-bottom: 0px;
- overflow: visible; }
-
-a:link { color: captiontext;
- text-decoration: none; }
-
-a:visited { color: captiontext;
- text-decoration: none; }
-
-a:active { color: captiontext;
- text-decoration: none; }
-
-a:hover { color: captiontext;
- text-decoration: underline; }
-
-table { font-family: Tahoma, Verdana, Arial, Sans Serif;
- font-weight: normal;
- font-size: 8pt;
- color: buttontext;
- width: 100%; }
-
-table.one { table-layout: fixed;
- height: 100%;
- width: 100%; }
-
-
-/*DEFAULT STYLES FOR THE 'INTRODUCTION' TABLE**********************************/
-/******************************************************************************/
-
-table.two { table-layout: fixed;
- height: 79px;
- width: 100%;
- background-color: window; }
-
-td.image { text-align: right; }
-
-td.rule { background-color: window; }
-
-h1.head { font-weight: bold;
- font-size: 10pt;
- color: windowtext;
- margin-top: -3px; }
-
-p.subhead { color: windowtext;
- margin-top: -12px;
- margin-left: 10px; }
-
-img.smallest { background-color: #a6ce39;
- z-index: 1; }
-
-img.small { z-index: 1; }
-
-/*DEFAULT STYLES FOR THE 'NAVIGATION' TABLE************************************/
-/******************************************************************************/
-
-table.three { table-layout: fixed;
- height: 100%;
- width: 178px; }
-
-td.three { background-attachment: fixed;
- background-repeat: no-repeat;
- background-position: bottom left;
- background-color: #a6ce39; }
-
-td.dottedline { background: url(Images/DottedHori.gif) repeat; }
-
-table.linktextselected { font-weight: bold;
- width: 157px;
- height: 30px;
- position: relative;
- left: 10px;
- z-index: 2; }
-
-table.linktextselectedindent { font-weight: bold;
- width: 148px;
- height: 30px;
- position: relative;
- left: 18px;
- z-index: 2; }
-
-table.linktext { width: 157px;
- height: 30px;
- position: relative;
- left: 10px;
- z-index: 2; }
-
-table.linktextindent { width: 148px;
- height: 30px;
- position: relative;
- left: 18px;
- z-index: 2; }
-
-div.linkselected { background-color: buttonface;
- height: 30px;
- width: 166px;
- position: relative;
- left: 0px;
- right: 0px;
- z-index: 1; }
-
-div.link { height: 30px;
- width: 166px;
- position: relative;
- left: 0px;
- right: 0px;
- z-index: 1; }
-
-div.vertline { background: url(Images/DottedVert.gif) repeat;
- height: 125%;
- width: 1px;
- position: relative;
- top: -12px;
- left: -1px; }
-
-span.vertline1 { background: url(Images/DottedVert.gif) repeat;
- height: 100%;
- width: 1px;
- position: absolute;
- top: 0px;
- left: -1px;
- bottom: 0px;
- z-index: 2; }
-
-span.horiline1 { height: 30px;
- width: 166px;
- position: absolute;
- top: -1px;
- left: -1px;
- bottom: -1px;
- z-index: 2; }
-
-span.activelink { color: captiontext;
- text-decoration: none;
- cursor: hand; }
-
-span.activelink2 { color: captiontext;
- text-decoration: underline;
- cursor: hand; }
-
-span.inactivelink { color: buttonface;
- text-decoration: none;
- cursor: default; }
-
-
-/*DEFAULT STYLES FOR THE ALL BUTTONS AND THE 'BUTTONS' TABLE*******************/
-/******************************************************************************/
-
-button { font-family: Tahoma, Verdana, Arial, Sans Serif;
- font-weight: normal;
- font-size: 8pt;
- height: 23px;
- cursor: hand; }
-
-.buttons { width: 75px; }
-
-/*DEFAULT STYLES FOR THE 'CONTENT' TABLE***************************************/
-/******************************************************************************/
-
-table.content { table-layout: fixed;
- height: 100%;
- width: 422px; }
-
-table.content1 { table-layout: fixed;
- height: 100%;
- width: 398px; }
-
-table.content2 { table-layout: fixed;
- height: 100%;
- width: 193px; }
-
-ol { font-family: Tahoma, Verdana, Arial, Sans Serif;
- font-weight: normal;
- font-size: 8pt;
- color: buttontext;
- margin-top: -1px;
- margin-bottom: 16px; }
-
-ul { font-family: Tahoma, Verdana, Arial, Sans Serif;
- font-weight: normal;
- font-size: 8pt;
- color: buttontext;
- margin-top: -1px;
- margin-bottom: 16px; }
-
-li { font-family: Tahoma, Verdana, Arial, Sans Serif;
- font-weight: normal;
- font-size: 8pt;
- color: buttontext;
- position: relative;
- left: -15px;
- margin-bottom: 1px; }
-
-span.itemtext { position: relative;
- top: -3px; }
-
-span.itemtextindent { position: relative;
- left: 17px;
- top: -3px; }
-
-span.itemtextindentA { position: relative;
- left: 25px;
- top: -3px; }
-
-span.itemtextindent1 { position: relative;
- left: 8px;
- top: -3px; }
-
-span.sidebtnhidden { width: 100%;
- margin-top: 3px;
- margin-bottom: 0px; }
-
-div.itemtextradioB { position: relative;
- top: -19px;
- left: 25px;
- margin-bottom: -25px; }
-
-div.itemtextradioindentA { position: relative;
- top: -17px;
- left: 30px;
- margin-bottom: -25px; }
-
-div.itemtextradioindentB { position: relative;
- top: -19px;
- left: 42px;
- margin-bottom: -25px; }
-
-div.itemtextcheckboxA { position: relative;
- top: -17px;
- left: 17px;
- margin-bottom: -23px; }
-
-div.itemtextcheckboxB { position: relative;
- top: -18px;
- left: 25px;
- margin-bottom: -25px; }
-
-div.itemtextcheckboxindentB { position: relative;
- top: -16px;
- left: 42px;
- margin-bottom: -25px; }
-
-div.inlineA { position: relative;
- top: 4px;
- width: 100%;
- height:1px;
- border-top: solid buttonshadow 1px; }
-
-div.inlineB { position: relative;
- top: -9px;
- margin-bottom: -20px;
- width: 100%;
- height:1px;
- border-top: solid threedhighlight 1px; }
-
-input { font-family: Tahoma, Verdana, Arial, Sans Serif;
- font-weight: normal;
- font-size: 8pt;
- color: buttontext; }
-
-.radio { position: relative;
- top: -2px;
- left: 4px; }
-
-.radioIndentA { margin-top: -2px;
- margin-left: 9px; }
-
-.radioIndent { margin-top: -2px;
- margin-left: 17px; }
-
-.checkboxA { position: relative;
- top: -2px;
- left: 4px; }
-
-.checkbox { position: relative;
- top: -1px;
- margin-left: -4px;
- z-index: 2; }
-
-.checkboxIndent { margin-top: -1px;
- margin-left: 21px; }
-
-.comment { width: 566px;
- position: relative;
- top: 5px;
- left: 8px;
- bottom: 6px; }
-
-.comment2 { width: 391px;
- position: relative;
- top: 5px;
- left: 8px;
- bottom: 6px; }
-
-/****THIS IS THE STANDARD INPUT BOX********************************************/
-input.sidebtn { width: 173px;
- position: relative;
- top: 5px;
- left: 8px; }
-
-/****THIS IS AN INPUT BOX INDENTED UNDER A CHECKBOX SECTION*******************/
-input.sidebtnIndent { width: 163px;
- position: relative;
- top: 5px;
- left: 18px;
- bottom: 6px; }
-
-/****THIS INPUT BOX HAS IS INDENTED UNDER A HEADING AND RULE SECTION***********/
-input.sidebtnB { width: 164px;
- position: relative;
- top: 5px;
- left: 8px;
- bottom: 6px; }
-
-/****THIS INPUT BOX HAS A "..." BUTTON BESIDE IT*******************************/
-input.sidebtn2 { width: 149px;
- position: relative;
- top: 5px;
- left: 8px;
- bottom: 6px; }
-
-/****THIS INPUT BOX HAS A "..." BUTTON BESIDE IT AND IT'S UNDER A CHECKBOX*****/
-input.sidebtn2Indent { width: 139px;
- position: relative;
- top: 5px;
- left: 18px;
- bottom: 6px; }
-
-input.sidebtn21 { width: 141px;
- position: relative;
- top: 5px;
- left: 8px;
- bottom: 6px; }
-
-input.sidebtn2Long { width: 253px;
- position: relative;
- top: 5px;
- left: 8px;
- bottom: 6px; }
-
-input.sidebtn2A { width: 140px;
- position: relative;
- top: 5px;
- left: 8px;
- bottom: 6px; }
-
-input.sidebtn2B { width: 156px;
- position: relative;
- top: 6px;
- left: 8px;
- bottom: 0px;
- margin-bottom: -3px; }
-
-select { font-family: Tahoma, Verdana, Arial, Sans Serif;
- font-weight: normal;
- font-size: 8pt;
- color: buttontext; }
-
-/****THIS IS THE STANDARD SELECTION BOX****************************************/
-select.sidebtn { width: 173px;
- position: relative;
- top: 6px;
- left: 8px;
- bottom: 0px;
- margin-bottom: -3px; }
-
-/****THIS IS THE STANDARD SELECTION BOX****************************************/
-span.sidebtn { position: relative;
- top: 6px;
- left: 8px;
- bottom: 0px;
- margin-bottom: -3px; }
-
-/****THIS IS THE STANDARD SELECTION BOX****************************************/
-span.itemtextspecial { position: relative;
- top: -20px;
- left: 16px;
- bottom: 0px;
- margin-bottom: -3px; }
-
-/****THIS IS THE STANDARD SELECTION BOX****************************************/
-span.sidebtnspecial { position: relative;
- top: -2px;
- left: 54px;
- bottom: 0px;
- margin-bottom: -3px; }
-
-/****THIS SELECTION BOX IS INDENTED UNDER A HEADING AND RULE SECTION***********/
-select.sidebtnB { width: 164px;
- position: relative;
- top: 6px;
- left: 8px;
- bottom: 0px;
- margin-bottom: -3px; }
-
-/****THIS SELECTION BOX IS BELOW AND ASSOCIATED WITH A CHECKBOX****************/
-select.sidebtn2 { width: 164px;
- position: relative;
- top: 13px;
- left: 17px;
- bottom: 0px;
- margin-bottom: -3px; }
-
-/****THIS SELECTION BOX IS BELOW AND ASSOCIATED WITH A CHECKBOX AND HEADING****/
-select.sidebtn2A { width: 156px;
- position: relative;
- top: 13px;
- left: 25px;
- bottom: 0px;
- margin-bottom: -3px; }
-
-/****THIS SELECTION BOX IS BELOW AND ASSOCIATED WITH A CHECKBOX AND HEADING****/
-select.sidebtn2ALong { width: 277px;
- position: relative;
- top: 6px;
- left: 25px;
- bottom: 0px;
- margin-bottom: -3px; }
-
-select.sidebtn2B { width: 156px;
- position: relative;
- top: 6px;
- left: 8px;
- bottom: 0px;
- margin-bottom: -3px; }
-
-/****THIS SELECTION BOX HAS "..." BUTTONS BESIDE THEM**************************/
-select.sidebtn2C { width: 149px;
- position: relative;
- top: 5px;
- left: 8px;
- bottom: 6px; }
-
-select.sidebtn2CLong { width: 253px;
- position: relative;
- top: 5px;
- left: 8px;
- bottom: 6px; }
-
-select.sidebtn3 { width: 150px;
- position: relative;
- top: 6px;
- bottom: 0px;
- margin-bottom: -3px; }
-
-/****THIS SELECTION BOX IS FOR HORIZONTAL ADD/REMOVE SECTIONS******************/
-select.sidebtn4Long { width: 574px;
- position: relative;
- top: 6px;
- left: 8px;
- bottom: 0px;
- margin-bottom: -3px; }
-
-object.itemtext { font-family: Tahoma, Verdana, Arial, Sans Serif;
- font-weight: normal;
- font-size: 8pt;
- color: buttontext;
- width: 173px;
- height: 19px;
- position: relative;
- top: 6px;
- left: 8px;
- margin-bottom: 2px; }
-
-.dropdowncombo { font-family: Tahoma, Verdana, Arial, Sans Serif;
- font-weight: normal;
- font-size: 8pt;
- color: buttontext; }
-
-/****THIS DEFINES A STANDARD BUTTON IN THE CONTENT SECTION*********************/
-.buttonclass { margin-top: 2px;
- margin-left: 8px;
- margin-bottom: -6px;
- padding: 2px; }
-
-/****THIS DEFINES ADD/REMOVE BUTTONS IN THE CONTENT SECTION********************/
-.buttonclass2 { margin-top: 8px;
- margin-left: 8px;
- z-index: 1;
- cursor: hand; }
-
-/****THIS DEFINES A "..." BUTTON IN THE CONTENT SECTION************************/
-.buttonclass3 { height: 19px;
- width: 20px;
- position: relative;
- top: 2px; }
-
-/****THIS DEFINES A "..." BUTTON IN THE CONTENT SECTION AND UNDER A CHECKBOX***/
-.buttonclass3Indent { height: 19px;
- width: 20px;
- position: relative;
- top: 2px;
- left: 10px; }
-
-.buttonclass31 { height: 19px;
- width: 20px;
- position: relative;
- top: 2px;
- left:8px; }
-
-.buttonclass3A { height: 19px;
- width: 20px;
- position: relative;
- top: 5px; }
-
-/****THIS DEFINES A ">>" BUTTON IN THE CONTENT SECTION************************/
-.buttonclass4 { margin-bottom: 4px;
- width: 75px;
- height: 23px; }
-
-/****THIS DEFINES ADD/REMOVE BUTTONS HORIZONTALLY IN THE CONTENT SECTION******/
-.buttonclass5 { margin-left: 4px; }
-
-/****THIS DEFINES FIRST ADD/REMOVE BUTTONS HORIZONTALLY IN CONTENT SECTION****/
-.buttonclass5A { margin-left: 8px; }
-
-/****THIS SETS THE LEFT MARGIN FOR THE REMOVE BUTTON***************************/
-#removebtn { margin-left: 4px; }
-
-
-
-/****THIS SETS THE LEFT MARGIN FOR INDENTED SECTION UNDER CHECKBOXES***********/
-label.indent { margin-left: 18px; }
-
-/****THIS SETS THE LEFT MARGIN FOR INDENTED SECTION UNDER CHECKBOXES***********/
-label.indent2 { margin-left: 26px; }
-
-
-/****THESE ARE CUSTOM SPACING ELEMENTS*****************************************/
-p.spacer { margin-bottom: -28px; }
-
-p.elementspacer { margin-bottom: -12px; }
-
-p.elementspacer2 { margin-bottom: -19px; }
-
-p.elementspacer3 { margin-bottom: -3px; }
-
-p.elementspacer4 { margin-bottom: 7px; }
-
-p.elementspacer5 { margin-bottom: 5px; }
-
-p.elementspacer6 { margin-bottom: -24px; }
-
-p.elementspacer7 { margin-bottom: -11px; }
-
-p.elementspacer8 { margin-bottom: -14px; }
-
-p.elementspacer9 { margin-bottom: -7px; }
-
-p.elementspacer10 { margin-bottom: 6px; }
-
-p.elementspacer11 { margin-bottom: 22px; }
-
-p.elementspacer12 { margin-bottom: -17px; }
-
-p.elementspacer13 { margin-bottom: -23px; }
-
-p.elementspacer14 { margin-bottom: -25px; }
-
-
-/*CUSTOM STYLES FOR THE 'CONTENT' FRAME****************************************/
-/******************************************************************************/ \ No newline at end of file
diff --git a/Qt4VS2003/Items/Qt5GuiClass/HTML/1031/default.htm b/Qt4VS2003/Items/Qt5GuiClass/HTML/1031/default.htm
deleted file mode 100644
index f6d99ebf..00000000
--- a/Qt4VS2003/Items/Qt5GuiClass/HTML/1031/default.htm
+++ /dev/null
@@ -1,539 +0,0 @@
-<html dir="ltr">
-<head>
- <title>'Qt5GuiClass'</title>
- <meta name="vs_targetSchema" content="http://schemas.microsoft.com/intellisense/ie5">
- <link id="LINKURL" rel="stylesheet" href="../../1033/styles.css">
- <!-- -->
- <!-- The SYMBOL tag is used to set the default values for the user-defined symbols.-->
- <!-- -->
- <symbol name='WIZARD_DIALOG_TITLE' type="text" value='Qt5GuiClass'></symbol>
- <symbol name='MEMBER' type="checkbox" value="true"></symbol>
- <symbol name='MULTIPLEINHERITANCE' type="checkbox" value="false"></symbol>
- <symbol name='MEMBERPOINTER' type="checkbox" value="false"></symbol>
- <symbol name='CLASS_NAME' type="text" value=''></symbol>
- <symbol name='BASECLASS_NAME' type="text" value='QWidget'></symbol>
- <symbol name='CPP_NAME' type="text" value=''></symbol>
- <symbol name='H_NAME' type="text" value=''></symbol>
- <symbol name='UI_NAME' type="text" value=''></symbol>
- <symbol name='LOCATION' type="text" value=''></symbol>
-</head>
-<body bgcolor="buttonface" topmargin="0" leftmargin="0" rightmargin="0" bottommargin="0"
- onload="InitDocument(document);" onkeydown="OnKey();" onkeypress="OnPress();">
- <table class="ONE" height="100%" width="100%" border="0" cellpadding="0" cellspacing="0">
- <colgroup>
- <col width="100%">
- <!--OPEN OF INTRODUCTORY INFORMATION TABLE//-->
- <tr valign="top">
- <td height="79" width="100%" colspan="2">
- <table class="TWO" border="0" cellpadding="0" cellspacing="0">
- <colgroup>
- <col width="12">
- <col>
- <col width="12">
- <tr>
- <td valign="top" height="12" width="12">
- &nbsp;
- </td>
- <td valign="top" height="12">
- &nbsp;
- </td>
- <td valign="top" height="12" width="12">
- &nbsp;
- </td>
- <td class="IMAGE" valign="bottom" width="110" rowspan="2">
- <div class="SMALLA" id="Layer0">
- <img class="SMALLEST" src="../../Images/Qt5GuiClass.gif" width="63" height="63" alt=""
- border="0">
- </div>
- </td>
- <td valign="top" height="12" width="6" rowspan="2">
- &nbsp;
- </td>
- </tr>
- <tr>
- <td valign="top" height="65" width="12">
- &nbsp;
- </td>
- <td valign="top" height="65">
- <h4 class="HEAD" id="HEAD">
- Willkommen zum Qt5 GUI Klassenwizard</h4>
- <p class="SUBHEAD" id="SUBHEAD">
- Dieser Wizard hilft Ihnen eine neue Qt5 GUI Klasse zu Ihrem Projekt hinzuzufgen.
- Es werden eine .h und .cpp Datei erstellt, sowie eine neue leere Form.</p>
- </td>
- <td valign="top" height="65" width="12">
- &nbsp;
- </td>
- </tr>
- <tr>
- <td valign="top" class="RULE" colspan="5" height="2">
- <table border="0" width="100%" height="1" cellpadding="0" cellspacing="0">
- <tr valign="top">
- <td height="1" width="100%" bgcolor="buttonshadow">
- <img src="../../Images/spacer.gif" height="1" width="1" alt="">
- </td>
- <td height="1" width="1" bgcolor="window">
- <img src="../../Images/spacer.gif" height="1" width="1" alt="">
- </td>
- </tr>
- </table>
- </td>
- </tr>
- </table>
- </td>
- </tr>
- <!--CLOSE OF INTRODUCTORY INFORMATION TABLE//-->
- <!--OPEN OF NAVIGATION, CONTENT, AND BUTTON TABLES//-->
- <tr valign="top">
- <td valign="top" height="100%">
- <!--OPEN OF CONTENT AND BUTTON TABLE//-->
- <table class="ONE" border="0" cellpadding="0" cellspacing="0">
- <colgroup>
- <col width="100%">
- <tr valign="top">
- <td height="100%">
- <!--OPEN OF CONTENT//-->
- <table class="CONTENT" border="0" cellpadding="0" cellspacing="0">
- <colgroup>
- <col width="12">
- <col width="185">
- <col width="12">
- <col width="185">
- <col width="12">
- <col width="185">
- <col width="12">
- <tr>
- <td valign="top" colspan="7" height="12">
- &nbsp;
- </td>
- </tr>
- <tr valign="top">
- <td valign="top" width="12">
- </td>
- <td valign="top">
- Klassenname:
- </td>
- <td valign="top" colspan="2">
- .h Datei:
- </td>
- <td valign="top" colspan="2">
- .ui Datei:
- </td>
- <td valign="top" width="12">
- &nbsp;
- </td>
- </tr>
- <tr>
- <td valign="top" width="12">
- </td>
- <td valign="top">
- <input id="CLASS_NAME" type="text" name="Text4" onpropertychange="ClassNameChanged();">
- </td>
- <td valign="top" colspan="2">
- <input id="H_NAME" type="text" name="Text1">
- </td>
- <td valign="top" colspan="2">
- <input id="UI_NAME" type="text" name="Text3">
- </td>
- <td valign="top" width="12">
- </td>
- </tr>
- <tr>
- <td valign="top" width="12">
- </td>
- <td valign="top">
- Basisklasse:
- </td>
- <td valign="top" colspan="2">
- .cpp Datei:
- </td>
- <td valign="top" colspan="2">
- </td>
- <td valign="top" width="12">
- </td>
- </tr>
- <tr>
- <td valign="top" width="12">
- </td>
- <td valign="top">
- <input id="BASECLASS_NAME" type="text" name="Text5">
- </td>
- <td valign="top" colspan="2">
- <input id="CPP_NAME" type="text" name="Text2">
- </td>
- <td valign="top" colspan="2">
- Ui Class einbinden als:
- </td>
- <td valign="top" width="12">
- </td>
- </tr>
- <tr>
- <td valign="top" width="12">
- </td>
- <td valign="top" rowspan="4" colspan="3">
- <p id="ERROR_FIELD" align="center">
- </p>
- </td>
- <td valign="top" colspan="1">
- </td>
- <td valign="top" colspan="2">
- <input id="MEMBER" type="radio" name="inclusion" checked>
- Member
- </td>
- <td valign="top" width="12">
- </td>
- </tr>
- <tr>
- <td valign="top" width="12">
- </td>
- <td valign="top" colspan="1">
- </td>
- <td valign="top" colspan="2">
- <input id="MULTIPLEINHERITANCE" type="radio" name="inclusion">
- Mehrfachvererbung
- </td>
- <td valign="top" width="12">
- </td>
- </tr>
- <tr>
- <td valign="top" width="12">
- </td>
- <td valign="top" colspan="1">
- </td>
- <td valign="top" colspan="2">
- <input id="MEMBERPOINTER" type="radio" name="inclusion">
- Member-Pointer
- </td>
- <td valign="top" width="12">
- </td>
- </tr>
- <tr>
- <td style="height: 20px" valign="top" width="12">
- </td>
- <td style="height: 20px" valign="top" colspan="1">
- </td>
- <td style="height: 20px" valign="top" colspan="2">
- <input id="LOWER_CASE" type="checkbox" checked name="Checkbox2" onpropertychange="LowerCaseChanged();">Nur
- Kleinbuchstaben im Dateinamen verwenden
- </td>
- <td style="height: 20px" valign="top" width="12">
- </td>
- </tr>
- <tr>
- <td valign="top" height="50px">
- &nbsp;
- </td>
- </tr>
- <tr>
- <td valign="top" width="12" style="height: 25px">
- </td>
- <td valign="top" style="width: 500px; height: 25px" colspan="3">
- Speicherort:
- <input id="LOCATION" type="text" name="Text6" style="width: 310px" size="36">
- </td>
- <td style="height: 25px" valign="top" colspan="2">
- <input id="Button1" type="button" name="button" value="Durchsuchen..." onclick="ShowBrowseDialog();">
- </tr>
- <tr>
- <td valign="top" height="100%">
- &nbsp;
- </td>
- </tr>
- </table>
- <!--CLOSE OF CONTENT//-->
- </td>
- </tr>
- <tr valign="bottom">
- <td height="48">
- <!--OPEN OF BUTTON HTML//-->
- <table height="48" border="0" cellpadding="0" cellspacing="0">
- <colgroup>
- <col width="12">
- <col>
- <col width="75">
- <col width="4">
- <col width="75">
- <col width="4">
- <col width="75">
- <col width="12">
- <tr>
- <td valign="top" class="RULE" colspan="8" height="2">
- <table border="0" width="100%" height="1" cellpadding="0" cellspacing="0">
- <tr valign="top">
- </tr>
- </table>
- </td>
- </tr>
- <tr>
- <td valign="top" height="11" colspan="8">
- &nbsp;
- </td>
- </tr>
- <tr>
- <td valign="middle" height="23" width="12">
- &nbsp;
- </td>
- <td valign="top" height="23">
- &nbsp;
- </td>
- <td valign="middle" height="23" width="75">
- <button class="BUTTONS" id="FinishBtn" accesskey="B" onclick="OnFinish(document);"
- type="button">
- <u>B</u>eenden</button>
- </td>
- <td valign="middle" height="23" width="4">
- &nbsp;
- </td>
- <td valign="middle" height="23" width="75">
- <button class="BUTTONS" id="CancelBtn" accesskey="A" onclick="window.external.Finish(document, 'cancel');"
- type="button">
- <u>A</u>bbrechen</button>
- </td>
- <td valign="middle" height="23" width="4">
- &nbsp;
- </td>
- <td valign="middle" height="23" width="75">
- <button class="BUTTONS" id="HelpBtn" accesskey="H" onclick="window.external.OnHelp('vc.appwiz.custom.overview');"
- type="button" disabled>
- <u>H</u>ilfe</button>
- </td>
- <td valign="middle" height="23" width="12">
- &nbsp;
- </td>
- </tr>
- <tr>
- <td valign="top" height="12" colspan="8">
- &nbsp;
- </td>
- </tr>
- </table>
- <!--CLOSE OF BUTTON HTML//-->
- </td>
- </tr>
- </table>
- <!--CLOSE OF NAVIGATION, CONTENT, AND BUTTON TABLES//-->
- </td>
- </tr>
- </table>
-</body>
-</html>
-<script language="JSCRIPT">
-
- var QtEngine;
- var dte;
- // Called when the class name changes
- function ClassNameChanged() {
- LowerCaseChanged();
- }
-
- function LowerCaseChanged() {
- var strClassName = CLASS_NAME.value;
- var idx = strClassName.lastIndexOf('::');
- if (idx >= 0)
- strClassName = strClassName.substr(idx + 2);
-
- if (LOWER_CASE.checked) {
- strClassName = strClassName.toLowerCase();
- }
-
- H_NAME.value = strClassName + ".h";
- CPP_NAME.value = strClassName + ".cpp";
- UI_NAME.value = strClassName + ".ui";
- }
-
- function ShowBrowseDialog() {
- LOCATION.value = QtEngine.ShowOpenFolderDialog(LOCATION.value);
- }
-
- function IsValid() {
- var testVal = CLASS_NAME.value;
- var idx = testVal.lastIndexOf('::');
- if (idx >= 0)
- testVal = testVal.substr(idx + 2);
-
- if (!window.external.dte.VCLanguageManager.ValidateIdentifier(testVal) ||
- window.external.dte.VCLanguageManager.IsReservedName(testVal)) {
- window.external.ReportError("Ungltiger Klassenname!");
- CLASS_NAME.focus();
- return false;
- }
-
- testVal = BASECLASS_NAME.value;
- if (!window.external.dte.VCLanguageManager.ValidateIdentifier(testVal) ||
- window.external.dte.VCLanguageManager.IsReservedName(testVal)) {
- window.external.ReportError("Ungltiger Basisklassenname!");
- BASECLASS_NAME.focus();
- return false;
- }
-
- testVal = H_NAME.value;
- if (!window.external.dte.VCLanguageManager.ValidateFileName(testVal)) {
- window.external.ReportError("Ungltiger .h Dateiname");
- H_NAME.focus();
- return false;
- }
-
- if (window.external.ProjectObject.Object.Files.Item(testVal)) {
- window.external.ReportError(".h Datei ist bereits vorhanden");
- H_NAME.focus();
- return false;
- }
-
- testVal = UI_NAME.value;
- if (window.external.ProjectObject.Object.Files.Item(testVal)) {
- window.external.ReportError(".ui Datei ist bereits vorhanden");
- UI_NAME.focus();
- return false;
- }
- testVal = testVal.toLowerCase().replace(".h", ".x"); // don't validate .h files...
- testVal = testVal.replace(".ui", ".h");
- if (!window.external.dte.VCLanguageManager.ValidateFileName(testVal)) {
- window.external.ReportError("Ungltiger .ui Dateiname");
- UI_NAME.focus();
- return false;
- }
-
- testVal = CPP_NAME.value;
- if (!window.external.dte.VCLanguageManager.ValidateFileName(testVal)) {
- window.external.ReportError("Ungltiger .cpp Dateiname");
- CPP_NAME.focus();
- return false;
- }
-
- if (window.external.ProjectObject.Object.Files.Item(testVal)) {
- window.external.ReportError(".cpp Datei ist bereits vorhanden");
- CPP_NAME.focus();
- return false;
- }
-
- testVal = LOCATION.value;
- if (testVal.length == 0) {
- window.external.ReportError("Ungltiges Verzeichnis!");
- LOCATION.focus();
- return false;
- }
-
- return true;
- }
-
- // This is an example of a function which initializes the page
- //
- function InitDocument(document) {
- setDirection();
-
- dte = window.external.dte;
- if (!dte) {
- window.external.ReportError("Cannot find automation object!");
- return false;
- }
- var version = dte.version;
- if (version == "8.0")
- QtEngine = new ActiveXObject("Digia.Qt5ProjectEngine80");
- else if (version == "9.0")
- QtEngine = new ActiveXObject("Digia.Qt5ProjectEngine90");
- else if (version == "10.0")
- QtEngine = new ActiveXObject("Digia.Qt5ProjectEngine100");
- else if (version == "11.0")
- QtEngine = new ActiveXObject("Digia.Qt5ProjectEngine110");
- else if (version == "12.0")
- QtEngine = new ActiveXObject("Digia.Qt5ProjectEngine120");
- else {
- window.external.ReportError("Cannot instantiate QtProjectEngine object!");
- return false;
- }
-
- if (window.external.FindSymbol('DOCUMENT_FIRST_LOAD')) {
- // This function sets the default symbols based
- // on the values specified in the SYMBOL tags above
- //
- window.external.SetDefaults(document);
- }
-
- // Load the document and initialize the controls
- // with the appropriate symbol values
- //
- window.external.Load(document);
- InitControls();
- var projFile = window.external.ProjectObject.FullName;
- var i = projFile.lastIndexOf("\\");
- LOCATION.value = projFile.substring(0, i);
- }
-
- function InitControls() {
- if (!QtEngine.IsSelectedProjectQt(dte)) {
- DisableControls();
- ERROR_FIELD.innerHTML = "<font size=3 color=#990000><BR>Zu diesem Projekt kann keine QtGuiKlasse hinzugef&uuml;gt werden"
- + ", da es sich nicht um ein Qt5VSAddin-Projekt handelt.</font>";
- }
- }
-
- function DisableControls() {
- FinishBtn.disabled = true;
- CLASS_NAME.disabled = true;
- BASECLASS_NAME.disabled = true;
- CPP_NAME.disabled = true;
- H_NAME.disabled = true;
- UI_NAME.disabled = true;
- LOCATION.disabled = true;
- MEMBER.disabled = true;
- MULTIPLEINHERITANCE.disabled = true;
- MEMBERPOINTER.disabled = true;
- LOWER_CASE.disabled = true;
- Button1.disabled = true;
- }
-
- // If the wizard has more than 1 page, this
- // function will browse to the page specified
- //
- function Next(document, linkto) {
- window.external.Next(document, linkto);
- }
-
- // This is an example of a function which
- // gets called when the user clicks on 'Finish'
- //
- function OnFinish(document) {
- if (!IsValid())
- return;
-
- OnWizFinish(document);
- }
-
-</script>
-<script id="INCLUDE_SCRIPT" language="JSCRIPT"></script>
-<script id="INCLUDE_COMMON" language="JSCRIPT"></script>
-<!--
-Common.js is a script file which contains the helper functions
-used by the wizards. Include this line if you want to
-call these functions from your html scripts.
-//-->
-<script>
- var strPath = window.external.FindSymbol("PRODUCT_INSTALLATION_DIR");
- strPath += "VCWizards/";
- strPath += window.external.GetHostLocale();
-
- // verify if the locale folder really exists
- var fso = new ActiveXObject("Scripting.FileSystemObject");
- var found = fso.FolderExists(strPath)
- if (found == false) {
- strPath = window.external.FindSymbol("PRODUCT_INSTALLATION_DIR");
- strPath += "VCWizards/";
- var folder = fso.GetFolder(strPath);
- for (subfolders = new Enumerator(folder.SubFolders); !subfolders.atEnd(); subfolders.moveNext()) {
- for (files = new Enumerator(subfolders.item().files); !files.atEnd(); files.moveNext()) {
- if (files.item().name.toLowerCase().localeCompare("common.js") == 0) {
- found = true;
- strPath += subfolders.item().name;
- break;
- }
- }
- if (found == true)
- break;
- }
- }
-
- var strScriptPath = strPath + "/Script.js";
- var strCommonPath = strPath + "/Common.js";
- document.scripts("INCLUDE_SCRIPT").src = strScriptPath;
- document.scripts("INCLUDE_COMMON").src = strCommonPath;
-</script>
diff --git a/Qt4VS2003/Items/Qt5GuiClass/HTML/1033/default.htm b/Qt4VS2003/Items/Qt5GuiClass/HTML/1033/default.htm
deleted file mode 100644
index 6dac84e8..00000000
--- a/Qt4VS2003/Items/Qt5GuiClass/HTML/1033/default.htm
+++ /dev/null
@@ -1,538 +0,0 @@
-<html dir="ltr">
-<head>
- <title>'Qt5GuiClass'</title>
- <meta name="vs_targetSchema" content="http://schemas.microsoft.com/intellisense/ie5">
- <link id="LINKURL" rel="stylesheet" href="../../1033/styles.css">
- <!-- -->
- <!-- The SYMBOL tag is used to set the default values for the user-defined symbols.-->
- <!-- -->
- <symbol name='WIZARD_DIALOG_TITLE' type="text" value='Qt5GuiClass'></symbol>
- <symbol name='MEMBER' type="checkbox" value="true"></symbol>
- <symbol name='MULTIPLEINHERITANCE' type="checkbox" value="false"></symbol>
- <symbol name='MEMBERPOINTER' type="checkbox" value="false"></symbol>
- <symbol name='CLASS_NAME' type="text" value=''></symbol>
- <symbol name='BASECLASS_NAME' type="text" value='QWidget'></symbol>
- <symbol name='CPP_NAME' type="text" value=''></symbol>
- <symbol name='H_NAME' type="text" value=''></symbol>
- <symbol name='UI_NAME' type="text" value=''></symbol>
- <symbol name='LOCATION' type="text" value=''></symbol>
-</head>
-<body bgcolor="buttonface" topmargin="0" leftmargin="0" rightmargin="0" bottommargin="0"
- onload="InitDocument(document);" onkeydown="OnKey();" onkeypress="OnPress();">
- <table class="ONE" height="100%" width="100%" border="0" cellpadding="0" cellspacing="0">
- <colgroup>
- <col width="100%">
- <!--OPEN OF INTRODUCTORY INFORMATION TABLE//-->
- <tr valign="top">
- <td height="79" width="100%" colspan="2">
- <table class="TWO" border="0" cellpadding="0" cellspacing="0">
- <colgroup>
- <col width="12">
- <col>
- <col width="12">
- <tr>
- <td valign="top" height="12" width="12">
- &nbsp;
- </td>
- <td valign="top" height="12">
- &nbsp;
- </td>
- <td valign="top" height="12" width="12">
- &nbsp;
- </td>
- <td class="IMAGE" valign="bottom" width="110" rowspan="2">
- <div class="SMALLA" id="Layer0">
- <img class="SMALLEST" src="../../Images/Qt5GuiClass.gif" width="63" height="63" alt=""
- border="0">
- </div>
- </td>
- <td valign="top" height="12" width="6" rowspan="2">
- &nbsp;
- </td>
- </tr>
- <tr>
- <td valign="top" height="65" width="12">
- &nbsp;
- </td>
- <td valign="top" height="65">
- <h4 class="HEAD" id="HEAD">
- Welcome to the Qt5 GUI Class Wizard</h4>
- <p class="SUBHEAD" id="SUBHEAD">
- This wizard will add a new Qt5 GUI class to your project. The wizard creates a .h
- and .cpp file. It also creates a new empty form.</p>
- </td>
- <td valign="top" height="65" width="12">
- &nbsp;
- </td>
- </tr>
- <tr>
- <td valign="top" class="RULE" colspan="5" height="2">
- <table border="0" width="100%" height="1" cellpadding="0" cellspacing="0">
- <tr valign="top">
- <td height="1" width="100%" bgcolor="buttonshadow">
- <img src="../../Images/spacer.gif" height="1" width="1" alt="">
- </td>
- <td height="1" width="1" bgcolor="window">
- <img src="../../Images/spacer.gif" height="1" width="1" alt="">
- </td>
- </tr>
- </table>
- </td>
- </tr>
- </table>
- </td>
- </tr>
- <!--CLOSE OF INTRODUCTORY INFORMATION TABLE//-->
- <!--OPEN OF NAVIGATION, CONTENT, AND BUTTON TABLES//-->
- <tr valign="top">
- <td valign="top" height="100%">
- <!--OPEN OF CONTENT AND BUTTON TABLE//-->
- <table class="ONE" border="0" cellpadding="0" cellspacing="0">
- <colgroup>
- <col width="100%">
- <tr valign="top">
- <td height="100%">
- <!--OPEN OF CONTENT//-->
- <table class="CONTENT" border="0" cellpadding="0" cellspacing="0">
- <colgroup>
- <col width="12">
- <col width="185">
- <col width="12">
- <col width="185">
- <col width="12">
- <col width="185">
- <col width="12">
- <tr>
- <td valign="top" colspan="7" height="12">
- &nbsp;
- </td>
- </tr>
- <tr valign="top">
- <td valign="top" width="12">
- </td>
- <td valign="top">
- Class name:
- </td>
- <td valign="top" colspan="2">
- .h file:
- </td>
- <td valign="top" colspan="2">
- .ui file:
- </td>
- <td valign="top" width="12">
- &nbsp;
- </td>
- </tr>
- <tr>
- <td valign="top" width="12">
- </td>
- <td valign="top">
- <input id="CLASS_NAME" type="text" name="Text4" onpropertychange="ClassNameChanged();">
- </td>
- <td valign="top" colspan="2">
- <input id="H_NAME" type="text" name="Text1">
- </td>
- <td valign="top" colspan="2">
- <input id="UI_NAME" type="text" name="Text3">
- </td>
- <td valign="top" width="12">
- </td>
- </tr>
- <tr>
- <td valign="top" width="12">
- </td>
- <td valign="top">
- Base class:
- </td>
- <td valign="top" colspan="2">
- .cpp file:
- </td>
- <td valign="top" colspan="2">
- </td>
- <td valign="top" width="12">
- </td>
- </tr>
- <tr>
- <td valign="top" width="12">
- </td>
- <td valign="top">
- <input id="BASECLASS_NAME" type="text" name="Text5">
- </td>
- <td valign="top" colspan="2">
- <input id="CPP_NAME" type="text" name="Text2">
- </td>
- <td valign="top" colspan="2">
- Ui Class Inclusion as:
- </td>
- <td valign="top" width="12">
- </td>
- </tr>
- <tr>
- <td valign="top" width="12">
- </td>
- <td valign="top" rowspan="4" colspan="3">
- <p id="ERROR_FIELD" align="center">
- </p>
- </td>
- <td valign="top" colspan="1">
- </td>
- <td valign="top" colspan="2">
- <input id="MEMBER" type="radio" name="inclusion" checked>
- member
- </td>
- <td valign="top" width="12">
- </td>
- </tr>
- <tr>
- <td valign="top" width="12">
- </td>
- <td valign="top" colspan="1">
- </td>
- <td valign="top" colspan="2">
- <input id="MULTIPLEINHERITANCE" type="radio" name="inclusion">
- multiple Inheritance
- </td>
- <td valign="top" width="12">
- </td>
- </tr>
- <tr>
- <td valign="top" width="12">
- </td>
- <td valign="top" colspan="1">
- </td>
- <td valign="top" colspan="2">
- <input id="MEMBERPOINTER" type="radio" name="inclusion">
- member pointer
- </td>
- <td valign="top" width="12">
- </td>
- </tr>
- <tr>
- <td style="height: 20px" valign="top" width="12">
- </td>
- <td style="height: 20px" valign="top" colspan="1">
- </td>
- <td style="height: 20px" valign="top" colspan="2">
- <input id="LOWER_CASE" type="checkbox" checked name="Checkbox2" onpropertychange="LowerCaseChanged();">Lower
- case file names
- </td>
- <td style="height: 20px" valign="top" width="12">
- </td>
- </tr>
- <tr>
- <td valign="top" height="50px">
- &nbsp;
- </td>
- </tr>
- <tr>
- <td valign="top" width="12" style="height: 25px">
- </td>
- <td valign="top" style="width: 500px; height: 25px" colspan="3">
- Location:
- <input id="LOCATION" type="text" name="Text6" style="width: 330px" size="36">
- </td>
- <td style="height: 25px" valign="top" colspan="2">
- <input id="Button1" type="button" name="button" value="Browse..." onclick="ShowBrowseDialog();">
- </tr>
- <tr>
- <td valign="top" height="100%">
- &nbsp;
- </td>
- </tr>
- </table>
- <!--CLOSE OF CONTENT//-->
- </td>
- </tr>
- <tr valign="bottom">
- <td height="48">
- <!--OPEN OF BUTTON HTML//-->
- <table height="48" border="0" cellpadding="0" cellspacing="0">
- <colgroup>
- <col width="12">
- <col>
- <col width="75">
- <col width="4">
- <col width="75">
- <col width="4">
- <col width="75">
- <col width="12">
- <tr>
- <td valign="top" class="RULE" colspan="8" height="2">
- <table border="0" width="100%" height="1" cellpadding="0" cellspacing="0">
- <tr valign="top">
- </tr>
- </table>
- </td>
- </tr>
- <tr>
- <td valign="top" height="11" colspan="8">
- &nbsp;
- </td>
- </tr>
- <tr>
- <td valign="middle" height="23" width="12">
- &nbsp;
- </td>
- <td valign="top" height="23">
- &nbsp;
- </td>
- <td valign="middle" height="23" width="75">
- <button class="BUTTONS" id="FinishBtn" accesskey="F" onclick="OnFinish(document);"
- type="button">
- <u>F</u>inish</button>
- </td>
- <td valign="middle" height="23" width="4">
- &nbsp;
- </td>
- <td valign="middle" height="23" width="75">
- <button class="BUTTONS" id="CancelBtn" accesskey="C" onclick="window.external.Finish(document, 'cancel');"
- type="button">
- <u>C</u>ancel</button>
- </td>
- <td valign="middle" height="23" width="4">
- &nbsp;
- </td>
- <td valign="middle" height="23" width="75">
- <button class="BUTTONS" id="HelpBtn" accesskey="H" onclick="window.external.OnHelp('vc.appwiz.custom.overview');"
- type="button" disabled>
- <u>H</u>elp</button>
- </td>
- <td valign="middle" height="23" width="12">
- &nbsp;
- </td>
- </tr>
- <tr>
- <td valign="top" height="12" colspan="8">
- &nbsp;
- </td>
- </tr>
- </table>
- <!--CLOSE OF BUTTON HTML//-->
- </td>
- </tr>
- </table>
- <!--CLOSE OF NAVIGATION, CONTENT, AND BUTTON TABLES//-->
- </td>
- </tr>
- </table>
-</body>
-</html>
-<script language="JSCRIPT">
- var QtEngine;
- var dte;
- // Called when the class name changes
- function ClassNameChanged() {
- LowerCaseChanged();
- }
-
- function LowerCaseChanged() {
- var strClassName = CLASS_NAME.value;
- var idx = strClassName.lastIndexOf('::');
- if (idx >= 0)
- strClassName = strClassName.substr(idx + 2);
-
- if (LOWER_CASE.checked) {
- strClassName = strClassName.toLowerCase();
- }
-
- H_NAME.value = strClassName + ".h";
- CPP_NAME.value = strClassName + ".cpp";
- UI_NAME.value = strClassName + ".ui";
- }
-
- function ShowBrowseDialog() {
- LOCATION.value = QtEngine.ShowOpenFolderDialog(LOCATION.value);
- }
-
- function IsValid() {
- var testVal = CLASS_NAME.value;
- var idx = testVal.lastIndexOf('::');
- if (idx >= 0)
- testVal = testVal.substr(idx + 2);
-
- if (!window.external.dte.VCLanguageManager.ValidateIdentifier(testVal) ||
- window.external.dte.VCLanguageManager.IsReservedName(testVal)) {
- window.external.ReportError("Not a valid class name");
- CLASS_NAME.focus();
- return false;
- }
-
- testVal = BASECLASS_NAME.value;
- if (!window.external.dte.VCLanguageManager.ValidateIdentifier(testVal) ||
- window.external.dte.VCLanguageManager.IsReservedName(testVal)) {
- window.external.ReportError("Not a valid base class name");
- BASECLASS_NAME.focus();
- return false;
- }
-
- testVal = H_NAME.value;
- if (!window.external.dte.VCLanguageManager.ValidateFileName(testVal)) {
- window.external.ReportError("Not a valid .h file name");
- H_NAME.focus();
- return false;
- }
-
- if (window.external.ProjectObject.Object.Files.Item(testVal)) {
- window.external.ReportError(".h File already exists");
- H_NAME.focus();
- return false;
- }
-
- testVal = UI_NAME.value;
- if (window.external.ProjectObject.Object.Files.Item(testVal)) {
- window.external.ReportError(".ui File already exists");
- UI_NAME.focus();
- return false;
- }
- testVal = testVal.toLowerCase().replace(".h", ".x"); // don't validate .h files...
- testVal = testVal.replace(".ui", ".h");
- if (!window.external.dte.VCLanguageManager.ValidateFileName(testVal)) {
- window.external.ReportError("Not a valid .ui file name");
- UI_NAME.focus();
- return false;
- }
-
- testVal = CPP_NAME.value;
- if (!window.external.dte.VCLanguageManager.ValidateFileName(testVal)) {
- window.external.ReportError("Not a valid .cpp file name");
- CPP_NAME.focus();
- return false;
- }
-
- if (window.external.ProjectObject.Object.Files.Item(testVal)) {
- window.external.ReportError(".cpp File already exists");
- CPP_NAME.focus();
- return false;
- }
-
- testVal = LOCATION.value;
- if (testVal.length == 0) {
- window.external.ReportError("Not a valid location directory!");
- LOCATION.focus();
- return false;
- }
-
- return true;
- }
-
- // This is an example of a function which initializes the page
- //
- function InitDocument(document) {
- setDirection();
-
- dte = window.external.dte;
- if (!dte) {
- window.external.ReportError("Cannot find automation object!");
- return false;
- }
- var version = dte.version;
- if (version == "8.0")
- QtEngine = new ActiveXObject("Digia.Qt5ProjectEngine80");
- else if (version == "9.0")
- QtEngine = new ActiveXObject("Digia.Qt5ProjectEngine90");
- else if (version == "10.0")
- QtEngine = new ActiveXObject("Digia.Qt5ProjectEngine100");
- else if (version == "11.0")
- QtEngine = new ActiveXObject("Digia.Qt5ProjectEngine110");
- else if (version == "12.0")
- QtEngine = new ActiveXObject("Digia.Qt5ProjectEngine120");
- else {
- window.external.ReportError("Cannot instantiate QtProjectEngine object!");
- return false;
- }
-
- if (window.external.FindSymbol('DOCUMENT_FIRST_LOAD')) {
- // This function sets the default symbols based
- // on the values specified in the SYMBOL tags above
- //
- window.external.SetDefaults(document);
- }
-
- // Load the document and initialize the controls
- // with the appropriate symbol values
- //
- InitControls();
- window.external.Load(document);
- var projFile = window.external.ProjectObject.FullName;
- var i = projFile.lastIndexOf("\\");
- LOCATION.value = projFile.substring(0, i);
- }
-
- function InitControls() {
- if (!QtEngine.IsSelectedProjectQt(dte)) {
- DisableControls();
- ERROR_FIELD.innerHTML = "<font size=3 color=#990000><BR>It is impossible to add a QtGuiClass to the current project"
- + ", as it was not created using Qt5VSAddin.</font>";
- }
- }
-
- function DisableControls() {
- FinishBtn.disabled = true;
- CLASS_NAME.disabled = true;
- BASECLASS_NAME.disabled = true;
- CPP_NAME.disabled = true;
- H_NAME.disabled = true;
- UI_NAME.disabled = true;
- LOCATION.disabled = true;
- MEMBER.disabled = true;
- MULTIPLEINHERITANCE.disabled = true;
- MEMBERPOINTER.disabled = true;
- LOWER_CASE.disabled = true;
- Button1.disabled = true;
- }
-
- // If the wizard has more than 1 page, this
- // function will browse to the page specified
- //
- function Next(document, linkto) {
- window.external.Next(document, linkto);
- }
-
- // This is an example of a function which
- // gets called when the user clicks on 'Finish'
- //
- function OnFinish(document) {
- if (!IsValid())
- return;
-
- OnWizFinish(document);
- }
-
-</script>
-<script id="INCLUDE_SCRIPT" language="JSCRIPT"></script>
-<script id="INCLUDE_COMMON" language="JSCRIPT"></script>
-<!--
-Common.js is a script file which contains the helper functions
-used by the wizards. Include this line if you want to
-call these functions from your html scripts.
-//-->
-<script>
- var strPath = window.external.FindSymbol("PRODUCT_INSTALLATION_DIR");
- strPath += "VCWizards/";
- strPath += window.external.GetHostLocale();
-
- // verify if the locale folder really exists
- var fso = new ActiveXObject("Scripting.FileSystemObject");
- var found = fso.FolderExists(strPath)
- if (found == false) {
- strPath = window.external.FindSymbol("PRODUCT_INSTALLATION_DIR");
- strPath += "VCWizards/";
- var folder = fso.GetFolder(strPath);
- for (subfolders = new Enumerator(folder.SubFolders); !subfolders.atEnd(); subfolders.moveNext()) {
- for (files = new Enumerator(subfolders.item().files); !files.atEnd(); files.moveNext()) {
- if (files.item().name.toLowerCase().localeCompare("common.js") == 0) {
- found = true;
- strPath += subfolders.item().name;
- break;
- }
- }
- if (found == true)
- break;
- }
- }
-
- var strScriptPath = strPath + "/Script.js";
- var strCommonPath = strPath + "/Common.js";
- document.scripts("INCLUDE_SCRIPT").src = strScriptPath;
- document.scripts("INCLUDE_COMMON").src = strCommonPath;
-</script>
diff --git a/Qt4VS2003/Items/Qt5GuiClass/Images/Qt5GuiClass.gif b/Qt4VS2003/Items/Qt5GuiClass/Images/Qt5GuiClass.gif
deleted file mode 100644
index 4f19b7e1..00000000
--- a/Qt4VS2003/Items/Qt5GuiClass/Images/Qt5GuiClass.gif
+++ /dev/null
Binary files differ
diff --git a/Qt4VS2003/Items/Qt5GuiClass/Qt5GuiClass.ico b/Qt4VS2003/Items/Qt5GuiClass/Qt5GuiClass.ico
deleted file mode 100644
index 3814710c..00000000
--- a/Qt4VS2003/Items/Qt5GuiClass/Qt5GuiClass.ico
+++ /dev/null
Binary files differ
diff --git a/Qt4VS2003/Items/Qt5GuiClass/Qt5GuiClass.vcproj b/Qt4VS2003/Items/Qt5GuiClass/Qt5GuiClass.vcproj
deleted file mode 100644
index ccdd25ad..00000000
--- a/Qt4VS2003/Items/Qt5GuiClass/Qt5GuiClass.vcproj
+++ /dev/null
@@ -1,140 +0,0 @@
-<?xml version="1.0" encoding="Windows-1252"?>
-<VisualStudioProject
- ProjectType="Visual C++"
- Version="7.10"
- Name="Qt5GuiClass"
- ProjectGUID="{AB6B3B4B-75BD-4E32-B795-56E1FEBA40E2}"
- Keyword="CustomAppWizProj">
- <Platforms>
- <Platform
- Name="Win32"/>
- </Platforms>
- <Configurations>
- <Configuration
- Name="Debug|Win32"
- OutputDirectory="$(SolutionDir)$(ConfigurationName)"
- IntermediateDirectory="$(ConfigurationName)"
- ConfigurationType="1">
- <Tool
- Name="VCCLCompilerTool"/>
- <Tool
- Name="VCCustomBuildTool"/>
- <Tool
- Name="VCLinkerTool"/>
- <Tool
- Name="VCMIDLTool"/>
- <Tool
- Name="VCPostBuildEventTool"/>
- <Tool
- Name="VCPreBuildEventTool"/>
- <Tool
- Name="VCPreLinkEventTool"/>
- <Tool
- Name="VCResourceCompilerTool"/>
- <Tool
- Name="VCWebServiceProxyGeneratorTool"/>
- <Tool
- Name="VCXMLDataGeneratorTool"/>
- <Tool
- Name="VCWebDeploymentTool"/>
- <Tool
- Name="VCManagedWrapperGeneratorTool"/>
- <Tool
- Name="VCAuxiliaryManagedWrapperGeneratorTool"/>
- </Configuration>
- <Configuration
- Name="Release|Win32"
- IntermediateDirectory="$(ConfigurationName)"
- ConfigurationType="1">
- <Tool
- Name="VCCLCompilerTool"/>
- <Tool
- Name="VCCustomBuildTool"/>
- <Tool
- Name="VCLinkerTool"/>
- <Tool
- Name="VCMIDLTool"/>
- <Tool
- Name="VCPostBuildEventTool"/>
- <Tool
- Name="VCPreBuildEventTool"/>
- <Tool
- Name="VCPreLinkEventTool"/>
- <Tool
- Name="VCResourceCompilerTool"/>
- <Tool
- Name="VCWebServiceProxyGeneratorTool"/>
- <Tool
- Name="VCXMLDataGeneratorTool"/>
- <Tool
- Name="VCWebDeploymentTool"/>
- <Tool
- Name="VCManagedWrapperGeneratorTool"/>
- <Tool
- Name="VCAuxiliaryManagedWrapperGeneratorTool"/>
- </Configuration>
- </Configurations>
- <References>
- </References>
- <Files>
- <Filter
- Name="Template Files"
- Filter="txt">
- <File
- RelativePath=".\Templates\1033\class.cpp">
- </File>
- <File
- RelativePath=".\Templates\1033\class.h">
- </File>
- <File
- RelativePath=".\Templates\1033\form.ui">
- </File>
- <File
- RelativePath=".\Templates\1033\mi_class.cpp">
- </File>
- <File
- RelativePath=".\Templates\1033\mi_class.h">
- </File>
- </Filter>
- <Filter
- Name="HTML Files"
- Filter="htm">
- <File
- RelativePath=".\Html\1033\default.htm"
- DeploymentContent="TRUE">
- </File>
- </Filter>
- <Filter
- Name="Image Files"
- Filter="bmp">
- <File
- RelativePath=".\Images\Qt5GuiClass.gif">
- </File>
- </Filter>
- <Filter
- Name="Script Files"
- Filter="js">
- <File
- RelativePath=".\Scripts\1033\default.js">
- </File>
- </Filter>
- <Filter
- Name="Miscellaneous Files"
- Filter="vsz;vsdir;ico;vcproj;csproj;css;inf">
- <File
- RelativePath=".\Qt5GuiClass.ico">
- </File>
- <File
- RelativePath=".\Qt5GuiClass.vsdir">
- </File>
- <File
- RelativePath=".\Qt5GuiClass.vsz">
- </File>
- <File
- RelativePath=".\1033\styles.css">
- </File>
- </Filter>
- </Files>
- <Globals>
- </Globals>
-</VisualStudioProject>
diff --git a/Qt4VS2003/Items/Qt5GuiClass/Qt5GuiClass.vsdir b/Qt4VS2003/Items/Qt5GuiClass/Qt5GuiClass.vsdir
deleted file mode 100644
index 8e86ece5..00000000
--- a/Qt4VS2003/Items/Qt5GuiClass/Qt5GuiClass.vsdir
+++ /dev/null
@@ -1 +0,0 @@
-Qt5GuiClass.vsz| |Qt5GuiClass|1|Qt5 GUI Class| | |8224|Qt5GuiClass
diff --git a/Qt4VS2003/Items/Qt5GuiClass/Qt5GuiClass.vsz b/Qt4VS2003/Items/Qt5GuiClass/Qt5GuiClass.vsz
deleted file mode 100644
index 00dcc319..00000000
--- a/Qt4VS2003/Items/Qt5GuiClass/Qt5GuiClass.vsz
+++ /dev/null
@@ -1,6 +0,0 @@
-VSWIZARD 7.0
-Wizard=VsWizard.VsWizardEngine.7.1
-
-Param="WIZARD_NAME = Qt5GuiClass"
-Param="ABSOLUTE_PATH = C:\depot\QtVSTools\main\Qt4VS2003\Items\Qt5GuiClass"
-Param="FALLBACK_LCID = 1033" \ No newline at end of file
diff --git a/Qt4VS2003/Items/Qt5GuiClass/Scripts/1033/default.js b/Qt4VS2003/Items/Qt5GuiClass/Scripts/1033/default.js
deleted file mode 100644
index d70e7c97..00000000
--- a/Qt4VS2003/Items/Qt5GuiClass/Scripts/1033/default.js
+++ /dev/null
@@ -1,125 +0,0 @@
-var QtEngine;
-
-function GetNameFromFile(strFile) {
- var nPos = strFile.lastIndexOf(".");
- return strFile.substr(0, nPos);
-}
-
-function OnFinish(selProj, selObj) {
- try {
- // load right project engine
- var dte = wizard.dte;
- var version = dte.version;
- if (version == "8.0")
- QtEngine = new ActiveXObject("Digia.Qt5ProjectEngine80");
- else if (version == "9.0")
- QtEngine = new ActiveXObject("Digia.Qt5ProjectEngine90");
- else if (version == "10.0")
- QtEngine = new ActiveXObject("Digia.Qt5ProjectEngine100");
- else if (version == "11.0")
- QtEngine = new ActiveXObject("Digia.Qt5ProjectEngine110");
- else if (version == "12.0")
- QtEngine = new ActiveXObject("Digia.Qt5ProjectEngine120");
-
- var strTemplatePath = wizard.FindSymbol('TEMPLATES_PATH') + "\\";
-
- var vcfileTmp;
- var fileTmp;
- var strClass = wizard.FindSymbol('CLASS_NAME');
- var lstNamespaces = strClass.split('::');
- strClass = lstNamespaces.pop();
- var strHeader = wizard.FindSymbol('H_NAME');
- var strSource = wizard.FindSymbol('CPP_NAME');
- var strBase = wizard.FindSymbol('BASECLASS_NAME');
- var strForm = wizard.FindSymbol('UI_NAME');
- var strFolder = wizard.FindSymbol('LOCATION');
- var bMember = wizard.FindSymbol('MEMBER');
- var bMultipleInher = wizard.FindSymbol('MULTIPLEINHERITANCE');
- var bMemberPointer = wizard.FindSymbol('MEMBERPOINTER');
-
- var strTmp = "";
- var strNamespacesBegin = "";
- var strNamespacesEnd = "";
- for (i in lstNamespaces) {
- strNamespacesBegin += "namespace " + lstNamespaces[i] + " {\r\n";
- strNamespacesEnd = "} // namespace " + lstNamespaces[i] + "\r\n" + strNamespacesEnd;
- }
-
- var regexp = /\W/g;
- var strDef = QtEngine.GetFileName(strHeader).toUpperCase().replace(regexp, "_");
-
- var strFormName = GetNameFromFile(strForm);
-
- QtEngine.UseSelectedProject(wizard.dte);
-
- // class.cpp
- if (bMember)
- fileTmp = QtEngine.CopyFileToFolder(strTemplatePath + "class.cpp", strFolder, strSource);
- else if (bMultipleInher)
- fileTmp = QtEngine.CopyFileToFolder(strTemplatePath + "mi_class.cpp", strFolder, strSource);
- else if (bMemberPointer)
- fileTmp = QtEngine.CopyFileToFolder(strTemplatePath + "mp_class.cpp", strFolder, strSource);
- if (QtEngine.UsesPrecompiledHeaders()) {
- var pchFile = QtEngine.GetPrecompiledHeaderThrough();
- QtEngine.ReplaceTokenInFile(fileTmp, "%INCLUDE%", pchFile + "\"\n#include \"%INCLUDE%");
- }
- QtEngine.ReplaceTokenInFile(fileTmp, "%INCLUDE%", strHeader);
- QtEngine.ReplaceTokenInFile(fileTmp, "%CLASS%", strClass);
- QtEngine.ReplaceTokenInFile(fileTmp, "%BASECLASS%", strBase);
- QtEngine.ReplaceTokenInFile(fileTmp, "%UI_HDR%", "ui_" + QtEngine.GetFileName(strFormName) + ".h");
- strTmp = strNamespacesBegin;
- if (strTmp != "")
- strTmp += "\r\n";
- QtEngine.ReplaceTokenInFile(fileTmp, "%NAMESPACE_BEGIN%", strTmp);
- strTmp = strNamespacesEnd;
- if (strTmp != "")
- strTmp = "\r\n" + strTmp;
- QtEngine.ReplaceTokenInFile(fileTmp, "%NAMESPACE_END%", strTmp);
- vcfileTmp = QtEngine.AddFileToProject(fileTmp, "QT_SOURCE_FILTER");
-
- // class.h
- if (bMember)
- fileTmp = QtEngine.CopyFileToFolder(strTemplatePath + "class.h", strFolder, strHeader);
- else if (bMultipleInher)
- fileTmp = QtEngine.CopyFileToFolder(strTemplatePath + "mi_class.h", strFolder, strHeader);
- else if (bMemberPointer)
- fileTmp = QtEngine.CopyFileToFolder(strTemplatePath + "mp_class.h", strFolder, strHeader);
- QtEngine.ReplaceTokenInFile(fileTmp, "%PRE_DEF%", strDef);
- QtEngine.ReplaceTokenInFile(fileTmp, "%CLASS%", strClass);
- QtEngine.ReplaceTokenInFile(fileTmp, "%BASECLASS%", strBase);
- QtEngine.ReplaceTokenInFile(fileTmp, "%UI_HDR%", "ui_" + QtEngine.GetFileName(strFormName) + ".h");
- strTmp = strNamespacesBegin;
- if (strTmp != "")
- strTmp += "\r\n";
- QtEngine.ReplaceTokenInFile(fileTmp, "%NAMESPACE_BEGIN%", strTmp);
- strTmp = strNamespacesEnd;
- if (strTmp != "")
- strTmp += "\r\n";
- QtEngine.ReplaceTokenInFile(fileTmp, "%NAMESPACE_END%", strTmp);
- vcfileTmp = QtEngine.AddFileToProject(fileTmp, "QT_HEADER_FILTER");
-
- // form.ui
- fileTmp = QtEngine.CopyFileToFolder(strTemplatePath + "form.ui", strFolder, strForm);
- QtEngine.ReplaceTokenInFile(fileTmp, "%CLASS%", strClass);
- QtEngine.ReplaceTokenInFile(fileTmp, "%BASECLASS%", strBase);
- if (strBase == "QMainWindow") {
- QtEngine.ReplaceTokenInFile(fileTmp, "%CENTRAL_WIDGET%",
- "\r\n <widget class=\"QMenuBar\" name=\"menuBar\" />" +
- "\r\n <widget class=\"QToolBar\" name=\"mainToolBar\" />" +
- "\r\n <widget class=\"QWidget\" name=\"centralWidget\" />" +
- "\r\n <widget class=\"QStatusBar\" name=\"statusBar\" />");
- } else if (strBase == "QDockWidget") {
- QtEngine.ReplaceTokenInFile(fileTmp, "%CENTRAL_WIDGET%",
- "\r\n <widget class=\"QWidget\" name=\"widget\" />");
- } else {
- QtEngine.ReplaceTokenInFile(fileTmp, "%CENTRAL_WIDGET%", "");
- }
- vcfileTmp = QtEngine.AddFileToProject(fileTmp, "QT_FORM_FILTER");
- }
- catch (e) {
- wizard.ReportError("Exception in 'default.js'");
- if (e.description.length != 0)
- SetErrorInfo(e);
- return e.number
- }
-}
diff --git a/Qt4VS2003/Items/Qt5GuiClass/Templates/1033/class.cpp b/Qt4VS2003/Items/Qt5GuiClass/Templates/1033/class.cpp
deleted file mode 100644
index 9578a17f..00000000
--- a/Qt4VS2003/Items/Qt5GuiClass/Templates/1033/class.cpp
+++ /dev/null
@@ -1,13 +0,0 @@
-#include "%INCLUDE%"
-
-%NAMESPACE_BEGIN%%CLASS%::%CLASS%(QWidget *parent)
- : %BASECLASS%(parent)
-{
- ui.setupUi(this);
-}
-
-%CLASS%::~%CLASS%()
-{
-
-}
-%NAMESPACE_END% \ No newline at end of file
diff --git a/Qt4VS2003/Items/Qt5GuiClass/Templates/1033/class.h b/Qt4VS2003/Items/Qt5GuiClass/Templates/1033/class.h
deleted file mode 100644
index cc7ee2b4..00000000
--- a/Qt4VS2003/Items/Qt5GuiClass/Templates/1033/class.h
+++ /dev/null
@@ -1,19 +0,0 @@
-#ifndef %PRE_DEF%
-#define %PRE_DEF%
-
-#include <%BASECLASS%>
-#include "%UI_HDR%"
-
-%NAMESPACE_BEGIN%class %CLASS% : public %BASECLASS%
-{
- Q_OBJECT
-
-public:
- %CLASS%(QWidget *parent = 0);
- ~%CLASS%();
-
-private:
- Ui::%CLASS% ui;
-};
-
-%NAMESPACE_END%#endif // %PRE_DEF%
diff --git a/Qt4VS2003/Items/Qt5GuiClass/Templates/1033/form.ui b/Qt4VS2003/Items/Qt5GuiClass/Templates/1033/form.ui
deleted file mode 100644
index 49a60d49..00000000
--- a/Qt4VS2003/Items/Qt5GuiClass/Templates/1033/form.ui
+++ /dev/null
@@ -1,23 +0,0 @@
-<UI version="4.0" >
- <class>%CLASS%</class>
- <widget class="%BASECLASS%" name="%CLASS%" >
- <property name="objectName" >
- <string notr="true">%CLASS%</string>
- </property>
- <property name="geometry" >
- <rect>
- <x>0</x>
- <y>0</y>
- <width>400</width>
- <height>300</height>
- </rect>
- </property>
- <property name="windowTitle" >
- <string>%CLASS%</string>
- </property>%CENTRAL_WIDGET%
- </widget>
- <layoutDefault spacing="6" margin="11" />
- <pixmapfunction></pixmapfunction>
- <resources/>
- <connections/>
-</UI>
diff --git a/Qt4VS2003/Items/Qt5GuiClass/Templates/1033/mi_class.cpp b/Qt4VS2003/Items/Qt5GuiClass/Templates/1033/mi_class.cpp
deleted file mode 100644
index cb3f0877..00000000
--- a/Qt4VS2003/Items/Qt5GuiClass/Templates/1033/mi_class.cpp
+++ /dev/null
@@ -1,13 +0,0 @@
-#include "%INCLUDE%"
-
-%NAMESPACE_BEGIN%%CLASS%::%CLASS%(QWidget *parent)
- : %BASECLASS%(parent)
-{
- setupUi(this);
-}
-
-%CLASS%::~%CLASS%()
-{
-
-}
-%NAMESPACE_END% \ No newline at end of file
diff --git a/Qt4VS2003/Items/Qt5GuiClass/Templates/1033/mi_class.h b/Qt4VS2003/Items/Qt5GuiClass/Templates/1033/mi_class.h
deleted file mode 100644
index d8c2a86d..00000000
--- a/Qt4VS2003/Items/Qt5GuiClass/Templates/1033/mi_class.h
+++ /dev/null
@@ -1,16 +0,0 @@
-#ifndef %PRE_DEF%
-#define %PRE_DEF%
-
-#include <%BASECLASS%>
-#include "%UI_HDR%"
-
-%NAMESPACE_BEGIN%class %CLASS% : public %BASECLASS%, public Ui::%CLASS%
-{
- Q_OBJECT
-
-public:
- %CLASS%(QWidget *parent = 0);
- ~%CLASS%();
-};
-
-%NAMESPACE_END%#endif // %PRE_DEF%
diff --git a/Qt4VS2003/Items/Qt5GuiClass/Templates/1033/mp_class.cpp b/Qt4VS2003/Items/Qt5GuiClass/Templates/1033/mp_class.cpp
deleted file mode 100644
index 2ddb389f..00000000
--- a/Qt4VS2003/Items/Qt5GuiClass/Templates/1033/mp_class.cpp
+++ /dev/null
@@ -1,15 +0,0 @@
-#include "%INCLUDE%"
-#include "%UI_HDR%"
-
-%NAMESPACE_BEGIN%%CLASS%::%CLASS%(QWidget *parent)
- : %BASECLASS%(parent)
-{
- ui = new Ui::%CLASS%();
- ui->setupUi(this);
-}
-
-%CLASS%::~%CLASS%()
-{
- delete ui;
-}
-%NAMESPACE_END%
diff --git a/Qt4VS2003/Items/Qt5GuiClass/Templates/1033/mp_class.h b/Qt4VS2003/Items/Qt5GuiClass/Templates/1033/mp_class.h
deleted file mode 100644
index 9a93ca43..00000000
--- a/Qt4VS2003/Items/Qt5GuiClass/Templates/1033/mp_class.h
+++ /dev/null
@@ -1,19 +0,0 @@
-#ifndef %PRE_DEF%
-#define %PRE_DEF%
-
-#include <%BASECLASS%>
-namespace Ui {class %CLASS%;};
-
-%NAMESPACE_BEGIN%class %CLASS% : public %BASECLASS%
-{
- Q_OBJECT
-
-public:
- %CLASS%(QWidget *parent = 0);
- ~%CLASS%();
-
-private:
- Ui::%CLASS% *ui;
-};
-
-%NAMESPACE_END%#endif // %PRE_DEF%
diff --git a/Qt4VS2003/Items/qrcItems/newQrcFile.ico b/Qt4VS2003/Items/qrcItems/newQrcFile.ico
deleted file mode 100644
index f2cd68fc..00000000
--- a/Qt4VS2003/Items/qrcItems/newQrcFile.ico
+++ /dev/null
Binary files differ
diff --git a/Qt4VS2003/Items/qrcItems/newQrcFile.qrc b/Qt4VS2003/Items/qrcItems/newQrcFile.qrc
deleted file mode 100644
index f09efbc6..00000000
--- a/Qt4VS2003/Items/qrcItems/newQrcFile.qrc
+++ /dev/null
@@ -1,4 +0,0 @@
-<RCC>
- <qresource prefix="/new/prefix1">
- </qresource>
-</RCC>
diff --git a/Qt4VS2003/Items/qrcItems/qrcFiles.vsdir b/Qt4VS2003/Items/qrcItems/qrcFiles.vsdir
deleted file mode 100644
index 39e08215..00000000
--- a/Qt4VS2003/Items/qrcItems/qrcFiles.vsdir
+++ /dev/null
@@ -1 +0,0 @@
-newQrcFile.qrc|{6A7385B4-1D62-46e0-A4E3-AED4475371F0}|Qt Resource|83|Qt Resource (.qrc)| | |4096|resource.qrc
diff --git a/Qt4VS2003/Items/uiItems/newUiDialogButtonsBottom.ico b/Qt4VS2003/Items/uiItems/newUiDialogButtonsBottom.ico
deleted file mode 100644
index ac18e1ee..00000000
--- a/Qt4VS2003/Items/uiItems/newUiDialogButtonsBottom.ico
+++ /dev/null
Binary files differ
diff --git a/Qt4VS2003/Items/uiItems/newUiDialogButtonsBottom.ui b/Qt4VS2003/Items/uiItems/newUiDialogButtonsBottom.ui
deleted file mode 100644
index 2413393e..00000000
--- a/Qt4VS2003/Items/uiItems/newUiDialogButtonsBottom.ui
+++ /dev/null
@@ -1,100 +0,0 @@
-<ui version="4.0" >
- <author></author>
- <comment></comment>
- <exportmacro></exportmacro>
- <class>Dialog</class>
- <widget class="QDialog" name="Dialog" >
- <property name="geometry" >
- <rect>
- <x>0</x>
- <y>0</y>
- <width>400</width>
- <height>300</height>
- </rect>
- </property>
- <property name="windowTitle" >
- <string>Dialog</string>
- </property>
- <widget class="QWidget" name="layoutWidget" >
- <property name="geometry" >
- <rect>
- <x>20</x>
- <y>250</y>
- <width>351</width>
- <height>33</height>
- </rect>
- </property>
- <layout class="QHBoxLayout" >
- <property name="margin" >
- <number>0</number>
- </property>
- <property name="spacing" >
- <number>6</number>
- </property>
- <item>
- <spacer>
- <property name="orientation" >
- <enum>Qt::Horizontal</enum>
- </property>
- <property name="sizeHint" >
- <size>
- <width>131</width>
- <height>31</height>
- </size>
- </property>
- </spacer>
- </item>
- <item>
- <widget class="QPushButton" name="okButton" >
- <property name="text" >
- <string>OK</string>
- </property>
- </widget>
- </item>
- <item>
- <widget class="QPushButton" name="cancelButton" >
- <property name="text" >
- <string>Cancel</string>
- </property>
- </widget>
- </item>
- </layout>
- </widget>
- </widget>
- <pixmapfunction></pixmapfunction>
- <resources/>
- <connections>
- <connection>
- <sender>okButton</sender>
- <signal>clicked()</signal>
- <receiver>Dialog</receiver>
- <slot>accept()</slot>
- <hints>
- <hint type="sourcelabel" >
- <x>278</x>
- <y>253</y>
- </hint>
- <hint type="destinationlabel" >
- <x>96</x>
- <y>254</y>
- </hint>
- </hints>
- </connection>
- <connection>
- <sender>cancelButton</sender>
- <signal>clicked()</signal>
- <receiver>Dialog</receiver>
- <slot>reject()</slot>
- <hints>
- <hint type="sourcelabel" >
- <x>369</x>
- <y>253</y>
- </hint>
- <hint type="destinationlabel" >
- <x>179</x>
- <y>282</y>
- </hint>
- </hints>
- </connection>
- </connections>
-</ui>
diff --git a/Qt4VS2003/Items/uiItems/newUiDialogButtonsRight.ico b/Qt4VS2003/Items/uiItems/newUiDialogButtonsRight.ico
deleted file mode 100644
index ac18e1ee..00000000
--- a/Qt4VS2003/Items/uiItems/newUiDialogButtonsRight.ico
+++ /dev/null
Binary files differ
diff --git a/Qt4VS2003/Items/uiItems/newUiDialogButtonsRight.ui b/Qt4VS2003/Items/uiItems/newUiDialogButtonsRight.ui
deleted file mode 100644
index 57d81913..00000000
--- a/Qt4VS2003/Items/uiItems/newUiDialogButtonsRight.ui
+++ /dev/null
@@ -1,100 +0,0 @@
-<ui version="4.0" >
- <author></author>
- <comment></comment>
- <exportmacro></exportmacro>
- <class>Dialog</class>
- <widget class="QDialog" name="Dialog" >
- <property name="geometry" >
- <rect>
- <x>0</x>
- <y>0</y>
- <width>400</width>
- <height>300</height>
- </rect>
- </property>
- <property name="windowTitle" >
- <string>Dialog</string>
- </property>
- <widget class="QWidget" name="layoutWidget" >
- <property name="geometry" >
- <rect>
- <x>300</x>
- <y>20</y>
- <width>77</width>
- <height>106</height>
- </rect>
- </property>
- <layout class="QVBoxLayout" >
- <property name="margin" >
- <number>0</number>
- </property>
- <property name="spacing" >
- <number>6</number>
- </property>
- <item>
- <widget class="QPushButton" name="okButton" >
- <property name="text" >
- <string>OK</string>
- </property>
- </widget>
- </item>
- <item>
- <widget class="QPushButton" name="cancelButton" >
- <property name="text" >
- <string>Cancel</string>
- </property>
- </widget>
- </item>
- <item>
- <spacer>
- <property name="orientation" >
- <enum>Qt::Vertical</enum>
- </property>
- <property name="sizeHint" >
- <size>
- <width>20</width>
- <height>40</height>
- </size>
- </property>
- </spacer>
- </item>
- </layout>
- </widget>
- </widget>
- <pixmapfunction></pixmapfunction>
- <resources/>
- <connections>
- <connection>
- <sender>okButton</sender>
- <signal>clicked()</signal>
- <receiver>Dialog</receiver>
- <slot>accept()</slot>
- <hints>
- <hint type="sourcelabel" >
- <x>351</x>
- <y>38</y>
- </hint>
- <hint type="destinationlabel" >
- <x>233</x>
- <y>29</y>
- </hint>
- </hints>
- </connection>
- <connection>
- <sender>cancelButton</sender>
- <signal>clicked()</signal>
- <receiver>Dialog</receiver>
- <slot>reject()</slot>
- <hints>
- <hint type="sourcelabel" >
- <x>330</x>
- <y>66</y>
- </hint>
- <hint type="destinationlabel" >
- <x>197</x>
- <y>125</y>
- </hint>
- </hints>
- </connection>
- </connections>
-</ui>
diff --git a/Qt4VS2003/Items/uiItems/newUiMainWindow.ico b/Qt4VS2003/Items/uiItems/newUiMainWindow.ico
deleted file mode 100644
index c7d65b7f..00000000
--- a/Qt4VS2003/Items/uiItems/newUiMainWindow.ico
+++ /dev/null
Binary files differ
diff --git a/Qt4VS2003/Items/uiItems/newUiMainWindow.ui b/Qt4VS2003/Items/uiItems/newUiMainWindow.ui
deleted file mode 100644
index dfa10d9c..00000000
--- a/Qt4VS2003/Items/uiItems/newUiMainWindow.ui
+++ /dev/null
@@ -1,51 +0,0 @@
-<ui version="4.0" >
- <author></author>
- <comment></comment>
- <exportmacro></exportmacro>
- <class>MainWindow</class>
- <widget class="QMainWindow" name="MainWindow" >
- <property name="geometry" >
- <rect>
- <x>0</x>
- <y>0</y>
- <width>800</width>
- <height>600</height>
- </rect>
- </property>
- <property name="windowTitle" >
- <string>MainWindow</string>
- </property>
- <widget class="QWidget" name="centralwidget" >
- <property name="geometry" >
- <rect>
- <x>0</x>
- <y>21</y>
- <width>800</width>
- <height>560</height>
- </rect>
- </property>
- </widget>
- <widget class="QMenuBar" name="menubar" >
- <property name="geometry" >
- <rect>
- <x>0</x>
- <y>0</y>
- <width>800</width>
- <height>21</height>
- </rect>
- </property>
- </widget>
- <widget class="QStatusBar" name="statusbar" >
- <property name="geometry" >
- <rect>
- <x>0</x>
- <y>581</y>
- <width>800</width>
- <height>19</height>
- </rect>
- </property>
- </widget>
- </widget>
- <pixmapfunction></pixmapfunction>
- <connections/>
-</ui>
diff --git a/Qt4VS2003/Items/uiItems/newUiWidget.ico b/Qt4VS2003/Items/uiItems/newUiWidget.ico
deleted file mode 100644
index c7d65b7f..00000000
--- a/Qt4VS2003/Items/uiItems/newUiWidget.ico
+++ /dev/null
Binary files differ
diff --git a/Qt4VS2003/Items/uiItems/newUiWidget.ui b/Qt4VS2003/Items/uiItems/newUiWidget.ui
deleted file mode 100644
index d03fae38..00000000
--- a/Qt4VS2003/Items/uiItems/newUiWidget.ui
+++ /dev/null
@@ -1,24 +0,0 @@
-<ui version="4.0" >
- <author></author>
- <comment></comment>
- <exportmacro></exportmacro>
- <class>Form</class>
- <widget class="QWidget" name="Form" >
- <property name="objectName" >
- <string notr="true" >Form</string>
- </property>
- <property name="geometry" >
- <rect>
- <x>0</x>
- <y>0</y>
- <width>400</width>
- <height>300</height>
- </rect>
- </property>
- <property name="windowTitle" >
- <string>Form</string>
- </property>
- </widget>
- <pixmapfunction></pixmapfunction>
- <connections/>
-</ui>
diff --git a/Qt4VS2003/Items/uiItems/uiFiles.vsdir b/Qt4VS2003/Items/uiItems/uiFiles.vsdir
deleted file mode 100644
index a94ae8aa..00000000
--- a/Qt4VS2003/Items/uiItems/uiFiles.vsdir
+++ /dev/null
@@ -1,4 +0,0 @@
-newUiWidget.ui|{6A7385B4-1D62-46e0-A4E3-AED4475371F0}|Qt Widget Form|80|Qt Widget Form File (.ui)| | |4096|form.ui
-newUiDialogButtonsRight.ui|{6A7385B4-1D62-46e0-A4E3-AED4475371F0}|Qt Dialog Form (Buttons right)|81|Qt Dialog Form File (.ui) with two buttons on the right side.| | |4096|form.ui
-newUiDialogButtonsBottom.ui|{6A7385B4-1D62-46e0-A4E3-AED4475371F0}|Qt Dialog Form (.ui) with two buttons on the bottom.|81|Qt Dialog Form (.ui) with two buttons on the bottom.| | |4096|form.ui
-newUiMainWindow.ui|{6A7385B4-1D62-46e0-A4E3-AED4475371F0}|Qt MainWindow Form|82|Qt MainWindow Form File (.ui)| | |4096|form.ui
diff --git a/Qt4VS2003/Projects/Qt5ActiveQtServerProject/1033/styles.css b/Qt4VS2003/Projects/Qt5ActiveQtServerProject/1033/styles.css
deleted file mode 100644
index 730bade4..00000000
--- a/Qt4VS2003/Projects/Qt5ActiveQtServerProject/1033/styles.css
+++ /dev/null
@@ -1,574 +0,0 @@
-/******************************************************************************/
-/*DEFAULT STYLES FOR ALL SECTIONS**********************************************/
-/******************************************************************************/
-body { font-family: Tahoma, Verdana, Arial, Sans Serif;
- font-weight: normal;
- font-size: 8pt;
- color: buttontext;
- background-color: buttonface;
- margin-top: 0px;
- margin-left: 0px;
- margin-right: 0px;
- margin-bottom: 0px;
- overflow: visible; }
-
-a:link { color: captiontext;
- text-decoration: none; }
-
-a:visited { color: captiontext;
- text-decoration: none; }
-
-a:active { color: captiontext;
- text-decoration: none; }
-
-a:hover { color: captiontext;
- text-decoration: underline; }
-
-table { font-family: Tahoma, Verdana, Arial, Sans Serif;
- font-weight: normal;
- font-size: 8pt;
- color: buttontext;
- width: 100%; }
-
-td.addon_disabled { color: #808080; }
-
-table.one { table-layout: fixed;
- height: 100%;
- width: 100%; }
-
-
-/*DEFAULT STYLES FOR THE 'INTRODUCTION' TABLE**********************************/
-/******************************************************************************/
-
-table.two { table-layout: fixed;
- height: 79px;
- width: 100%;
- background-color: window; }
-
-td.image { text-align: right; }
-
-td.rule { background-color: window; }
-
-h1.head { font-weight: bold;
- font-size: 10pt;
- color: windowtext;
- margin-top: -3px; }
-
-p.subhead { color: windowtext;
- margin-top: -12px;
- margin-left: 10px; }
-
-img.smallest { background-color: #a6ce39;
- z-index: 1; }
-
-img.small { z-index: 1; }
-
-/*DEFAULT STYLES FOR THE 'NAVIGATION' TABLE************************************/
-/******************************************************************************/
-
-table.three { table-layout: fixed;
- height: 100%;
- width: 178px; }
-
-td.three { background-attachment: fixed;
- background-repeat: no-repeat;
- background-position: bottom left;
- background-color: #66b036; }
-
-td.dottedline { background: url(Images/DottedHori.gif) repeat; }
-
-table.linktextselected { font-weight: bold;
- width: 157px;
- height: 30px;
- position: relative;
- left: 10px;
- z-index: 2; }
-
-table.linktextselectedindent { font-weight: bold;
- width: 148px;
- height: 30px;
- position: relative;
- left: 18px;
- z-index: 2; }
-
-table.linktext { width: 157px;
- height: 30px;
- position: relative;
- left: 10px;
- z-index: 2; }
-
-table.linktextindent { width: 148px;
- height: 30px;
- position: relative;
- left: 18px;
- z-index: 2; }
-
-div.linkselected { background-color: buttonface;
- height: 30px;
- width: 166px;
- position: relative;
- left: 0px;
- right: 0px;
- z-index: 1; }
-
-div.link { height: 30px;
- width: 166px;
- position: relative;
- left: 0px;
- right: 0px;
- z-index: 1; }
-
-div.vertline { background: url(Images/DottedVert.gif) repeat;
- height: 125%;
- width: 1px;
- position: relative;
- top: -12px;
- left: -1px; }
-
-span.vertline1 { background: url(Images/DottedVert.gif) repeat;
- height: 100%;
- width: 1px;
- position: absolute;
- top: 0px;
- left: -1px;
- bottom: 0px;
- z-index: 2; }
-
-span.horiline1 { height: 30px;
- width: 166px;
- position: absolute;
- top: -1px;
- left: -1px;
- bottom: -1px;
- z-index: 2; }
-
-span.activelink { color: captiontext;
- text-decoration: none;
- cursor: hand; }
-
-span.activelink2 { color: captiontext;
- text-decoration: underline;
- cursor: hand; }
-
-span.inactivelink { color: buttonface;
- text-decoration: none;
- cursor: default; }
-
-
-/*DEFAULT STYLES FOR THE ALL BUTTONS AND THE 'BUTTONS' TABLE*******************/
-/******************************************************************************/
-
-button { font-family: Tahoma, Verdana, Arial, Sans Serif;
- font-weight: normal;
- font-size: 8pt;
- height: 23px;
- cursor: hand; }
-
-.buttons { width: 75px; }
-
-/*DEFAULT STYLES FOR THE 'CONTENT' TABLE***************************************/
-/******************************************************************************/
-
-table.content { table-layout: fixed;
- height: 100%;
- width: 422px; }
-
-table.content1 { table-layout: fixed;
- height: 100%;
- width: 398px; }
-
-table.content2 { table-layout: fixed;
- height: 100%;
- width: 193px; }
-
-ol { font-family: Tahoma, Verdana, Arial, Sans Serif;
- font-weight: normal;
- font-size: 8pt;
- color: buttontext;
- margin-top: -1px;
- margin-bottom: 16px; }
-
-ul { font-family: Tahoma, Verdana, Arial, Sans Serif;
- font-weight: normal;
- font-size: 8pt;
- color: buttontext;
- margin-top: -1px;
- margin-bottom: 16px; }
-
-li { font-family: Tahoma, Verdana, Arial, Sans Serif;
- font-weight: normal;
- font-size: 8pt;
- color: buttontext;
- position: relative;
- left: -15px;
- margin-bottom: 1px; }
-
-span.itemtext { position: relative;
- top: -3px; }
-
-span.itemtextindent { position: relative;
- left: 17px;
- top: -3px; }
-
-span.itemtextindentA { position: relative;
- left: 25px;
- top: -3px; }
-
-span.itemtextindent1 { position: relative;
- left: 8px;
- top: -3px; }
-
-span.sidebtnhidden { width: 100%;
- margin-top: 3px;
- margin-bottom: 0px; }
-
-div.itemtextradioB { position: relative;
- top: -19px;
- left: 25px;
- margin-bottom: -25px; }
-
-div.itemtextradioindentA { position: relative;
- top: -17px;
- left: 30px;
- margin-bottom: -25px; }
-
-div.itemtextradioindentB { position: relative;
- top: -19px;
- left: 42px;
- margin-bottom: -25px; }
-
-div.itemtextcheckboxA { position: relative;
- top: -17px;
- left: 17px;
- margin-bottom: -23px; }
-
-div.itemtextcheckboxB { position: relative;
- top: -18px;
- left: 25px;
- margin-bottom: -25px; }
-
-div.itemtextcheckboxindentB { position: relative;
- top: -16px;
- left: 42px;
- margin-bottom: -25px; }
-
-div.inlineA { position: relative;
- top: 4px;
- width: 100%;
- height:1px;
- border-top: solid buttonshadow 1px; }
-
-div.inlineB { position: relative;
- top: -9px;
- margin-bottom: -20px;
- width: 100%;
- height:1px;
- border-top: solid threedhighlight 1px; }
-
-input { font-family: Tahoma, Verdana, Arial, Sans Serif;
- font-weight: normal;
- font-size: 8pt;
- color: buttontext; }
-
-.radio { position: relative;
- top: -2px;
- left: 4px; }
-
-.radioIndentA { margin-top: -2px;
- margin-left: 9px; }
-
-.radioIndent { margin-top: -2px;
- margin-left: 17px; }
-
-.checkboxA { position: relative;
- top: -2px;
- left: 4px; }
-
-.checkbox { position: relative;
- top: -1px;
- margin-left: -4px;
- z-index: 2; }
-
-.checkboxIndent { margin-top: -1px;
- margin-left: 21px; }
-
-.comment { width: 566px;
- position: relative;
- top: 5px;
- left: 8px;
- bottom: 6px; }
-
-.comment2 { width: 391px;
- position: relative;
- top: 5px;
- left: 8px;
- bottom: 6px; }
-
-/****THIS IS THE STANDARD INPUT BOX********************************************/
-input.sidebtn { width: 173px;
- position: relative;
- top: 5px;
- left: 8px; }
-
-/****THIS IS AN INPUT BOX INDENTED UNDER A CHECKBOX SECTION*******************/
-input.sidebtnIndent { width: 163px;
- position: relative;
- top: 5px;
- left: 18px;
- bottom: 6px; }
-
-/****THIS INPUT BOX HAS IS INDENTED UNDER A HEADING AND RULE SECTION***********/
-input.sidebtnB { width: 164px;
- position: relative;
- top: 5px;
- left: 8px;
- bottom: 6px; }
-
-/****THIS INPUT BOX HAS A "..." BUTTON BESIDE IT*******************************/
-input.sidebtn2 { width: 149px;
- position: relative;
- top: 5px;
- left: 8px;
- bottom: 6px; }
-
-/****THIS INPUT BOX HAS A "..." BUTTON BESIDE IT AND IT'S UNDER A CHECKBOX*****/
-input.sidebtn2Indent { width: 139px;
- position: relative;
- top: 5px;
- left: 18px;
- bottom: 6px; }
-
-input.sidebtn21 { width: 141px;
- position: relative;
- top: 5px;
- left: 8px;
- bottom: 6px; }
-
-input.sidebtn2Long { width: 253px;
- position: relative;
- top: 5px;
- left: 8px;
- bottom: 6px; }
-
-input.sidebtn2A { width: 140px;
- position: relative;
- top: 5px;
- left: 8px;
- bottom: 6px; }
-
-input.sidebtn2B { width: 156px;
- position: relative;
- top: 6px;
- left: 8px;
- bottom: 0px;
- margin-bottom: -3px; }
-
-select { font-family: Tahoma, Verdana, Arial, Sans Serif;
- font-weight: normal;
- font-size: 8pt;
- color: buttontext; }
-
-/****THIS IS THE STANDARD SELECTION BOX****************************************/
-select.sidebtn { width: 173px;
- position: relative;
- top: 6px;
- left: 8px;
- bottom: 0px;
- margin-bottom: -3px; }
-
-/****THIS IS THE STANDARD SELECTION BOX****************************************/
-span.sidebtn { position: relative;
- top: 6px;
- left: 8px;
- bottom: 0px;
- margin-bottom: -3px; }
-
-/****THIS IS THE STANDARD SELECTION BOX****************************************/
-span.itemtextspecial { position: relative;
- top: -20px;
- left: 16px;
- bottom: 0px;
- margin-bottom: -3px; }
-
-/****THIS IS THE STANDARD SELECTION BOX****************************************/
-span.sidebtnspecial { position: relative;
- top: -2px;
- left: 54px;
- bottom: 0px;
- margin-bottom: -3px; }
-
-/****THIS SELECTION BOX IS INDENTED UNDER A HEADING AND RULE SECTION***********/
-select.sidebtnB { width: 164px;
- position: relative;
- top: 6px;
- left: 8px;
- bottom: 0px;
- margin-bottom: -3px; }
-
-/****THIS SELECTION BOX IS BELOW AND ASSOCIATED WITH A CHECKBOX****************/
-select.sidebtn2 { width: 164px;
- position: relative;
- top: 13px;
- left: 17px;
- bottom: 0px;
- margin-bottom: -3px; }
-
-/****THIS SELECTION BOX IS BELOW AND ASSOCIATED WITH A CHECKBOX AND HEADING****/
-select.sidebtn2A { width: 156px;
- position: relative;
- top: 13px;
- left: 25px;
- bottom: 0px;
- margin-bottom: -3px; }
-
-/****THIS SELECTION BOX IS BELOW AND ASSOCIATED WITH A CHECKBOX AND HEADING****/
-select.sidebtn2ALong { width: 277px;
- position: relative;
- top: 6px;
- left: 25px;
- bottom: 0px;
- margin-bottom: -3px; }
-
-select.sidebtn2B { width: 156px;
- position: relative;
- top: 6px;
- left: 8px;
- bottom: 0px;
- margin-bottom: -3px; }
-
-/****THIS SELECTION BOX HAS "..." BUTTONS BESIDE THEM**************************/
-select.sidebtn2C { width: 149px;
- position: relative;
- top: 5px;
- left: 8px;
- bottom: 6px; }
-
-select.sidebtn2CLong { width: 253px;
- position: relative;
- top: 5px;
- left: 8px;
- bottom: 6px; }
-
-select.sidebtn3 { width: 150px;
- position: relative;
- top: 6px;
- bottom: 0px;
- margin-bottom: -3px; }
-
-/****THIS SELECTION BOX IS FOR HORIZONTAL ADD/REMOVE SECTIONS******************/
-select.sidebtn4Long { width: 574px;
- position: relative;
- top: 6px;
- left: 8px;
- bottom: 0px;
- margin-bottom: -3px; }
-
-object.itemtext { font-family: Tahoma, Verdana, Arial, Sans Serif;
- font-weight: normal;
- font-size: 8pt;
- color: buttontext;
- width: 173px;
- height: 19px;
- position: relative;
- top: 6px;
- left: 8px;
- margin-bottom: 2px; }
-
-.dropdowncombo { font-family: Tahoma, Verdana, Arial, Sans Serif;
- font-weight: normal;
- font-size: 8pt;
- color: buttontext; }
-
-/****THIS DEFINES A STANDARD BUTTON IN THE CONTENT SECTION*********************/
-.buttonclass { margin-top: 2px;
- margin-left: 8px;
- margin-bottom: -6px;
- padding: 2px; }
-
-/****THIS DEFINES ADD/REMOVE BUTTONS IN THE CONTENT SECTION********************/
-.buttonclass2 { margin-top: 8px;
- margin-left: 8px;
- z-index: 1;
- cursor: hand; }
-
-/****THIS DEFINES A "..." BUTTON IN THE CONTENT SECTION************************/
-.buttonclass3 { height: 19px;
- width: 20px;
- position: relative;
- top: 2px; }
-
-/****THIS DEFINES A "..." BUTTON IN THE CONTENT SECTION AND UNDER A CHECKBOX***/
-.buttonclass3Indent { height: 19px;
- width: 20px;
- position: relative;
- top: 2px;
- left: 10px; }
-
-.buttonclass31 { height: 19px;
- width: 20px;
- position: relative;
- top: 2px;
- left:8px; }
-
-.buttonclass3A { height: 19px;
- width: 20px;
- position: relative;
- top: 5px; }
-
-/****THIS DEFINES A ">>" BUTTON IN THE CONTENT SECTION************************/
-.buttonclass4 { margin-bottom: 4px;
- width: 75px;
- height: 23px; }
-
-/****THIS DEFINES ADD/REMOVE BUTTONS HORIZONTALLY IN THE CONTENT SECTION******/
-.buttonclass5 { margin-left: 4px; }
-
-/****THIS DEFINES FIRST ADD/REMOVE BUTTONS HORIZONTALLY IN CONTENT SECTION****/
-.buttonclass5A { margin-left: 8px; }
-
-/****THIS SETS THE LEFT MARGIN FOR THE REMOVE BUTTON***************************/
-#removebtn { margin-left: 4px; }
-
-
-
-/****THIS SETS THE LEFT MARGIN FOR INDENTED SECTION UNDER CHECKBOXES***********/
-label.indent { margin-left: 18px; }
-
-/****THIS SETS THE LEFT MARGIN FOR INDENTED SECTION UNDER CHECKBOXES***********/
-label.indent2 { margin-left: 26px; }
-
-
-/****THESE ARE CUSTOM SPACING ELEMENTS*****************************************/
-p.spacer { margin-bottom: -28px; }
-
-p.elementspacer { margin-bottom: -12px; }
-
-p.elementspacer2 { margin-bottom: -19px; }
-
-p.elementspacer3 { margin-bottom: -3px; }
-
-p.elementspacer4 { margin-bottom: 7px; }
-
-p.elementspacer5 { margin-bottom: 5px; }
-
-p.elementspacer6 { margin-bottom: -24px; }
-
-p.elementspacer7 { margin-bottom: -11px; }
-
-p.elementspacer8 { margin-bottom: -14px; }
-
-p.elementspacer9 { margin-bottom: -7px; }
-
-p.elementspacer10 { margin-bottom: 6px; }
-
-p.elementspacer11 { margin-bottom: 22px; }
-
-p.elementspacer12 { margin-bottom: -17px; }
-
-p.elementspacer13 { margin-bottom: -23px; }
-
-p.elementspacer14 { margin-bottom: -25px; }
-
-
-/*CUSTOM STYLES FOR THE 'CONTENT' FRAME****************************************/
-/******************************************************************************/
diff --git a/Qt4VS2003/Projects/Qt5ActiveQtServerProject/HTML/1031/Page_2.htm b/Qt4VS2003/Projects/Qt5ActiveQtServerProject/HTML/1031/Page_2.htm
deleted file mode 100644
index e931844e..00000000
--- a/Qt4VS2003/Projects/Qt5ActiveQtServerProject/HTML/1031/Page_2.htm
+++ /dev/null
@@ -1,569 +0,0 @@
-<html dir="ltr">
-<head>
- <title>'Qt5ActiveQtServerProject'</title>
- <meta content="http://schemas.microsoft.com/intellisense/ie5" name="vs_targetSchema">
- <link id="LINKURL" rel="stylesheet" href="../../1033/styles.css">
-</head>
-<body onkeypress="OnPress();" onkeydown="OnKey();" bottommargin="0" bgcolor="buttonface"
- leftmargin="0" topmargin="0" onload="InitDocument(document);" rightmargin="0">
- <table class="ONE" height="100%" cellspacing="0" cellpadding="0" width="100%" border="0">
- <colgroup>
- <col width="178">
- <col>
- <!--OPEN OF INTRODUCTORY INFORMATION TABLE//-->
- <tr valign="top">
- <td width="100%" colspan="2" height="79">
- <table class="TWO" cellspacing="0" cellpadding="0" border="0">
- <colgroup>
- <col width="12">
- <col>
- <col width="12">
- <tr>
- <td valign="top" width="12" height="12">
- &nbsp;
- </td>
- <td valign="top" height="12">
- &nbsp;
- </td>
- <td valign="top" width="12" height="12">
- &nbsp;
- </td>
- <td class="IMAGE" valign="bottom" width="110" rowspan="2">
- <div class="SMALLA" id="Layer0">
- <img class="SMALLEST" height="63" alt="" src="..\..\Images\Qt5ActiveQtServerProject.jpg"
- width="63" border="0">
- </div>
- </td>
- <td valign="top" width="6" height="12" rowspan="2">
- &nbsp;
- </td>
- </tr>
- <tr>
- <td valign="top" width="12" height="65">
- &nbsp;
- </td>
- <td valign="top" height="65">
- <h4 class="HEAD" id="HEAD">
- Willkommen zum Qt5&nbsp;ActiveQt Serverprojektwizard</h4>
- <p class="SUBHEAD" id="SUBHEAD">
- Dieser Wizard erstellt ein&nbsp;Qt5&nbsp;ActiveQt Server Projekt. Es wird ein einfaches
- ActiveQt&nbsp;Widget mit den entsprechenden Dateien erstellt.</p>
- </td>
- <td valign="top" width="12" height="65">
- &nbsp;
- </td>
- </tr>
- <tr>
- <td class="RULE" valign="top" colspan="5" height="2">
- <table height="1" cellspacing="0" cellpadding="0" width="100%" border="0">
- <tr valign="top">
- <td width="100%" bgcolor="buttonshadow" height="1">
- <img height="1" alt="" src="../../Images/spacer.gif" width="1">
- </td>
- <td width="1" bgcolor="window" height="1">
- <img height="1" alt="" src="../../Images/spacer.gif" width="1">
- </td>
- </tr>
- </table>
- </td>
- </tr>
- </table>
- </td>
- </tr>
- <!--CLOSE OF INTRODUCTORY INFORMATION TABLE//-->
- <!--OPEN OF NAVIGATION, CONTENT, AND BUTTON TABLES//-->
- <tr valign="top">
- <td class="THREE" valign="top" width="178" height="100%">
- <!--OPEN OF NAVIGATION TABLE//-->
- <table class="THREE" cellspacing="0" cellpadding="0" border="0">
- <colgroup>
- <col width="12">
- <col width="166">
- <col width="1">
- <tr>
- <td valign="top" colspan="3" height="12">
- &nbsp;
- </td>
- </tr>
- <tr>
- <td valign="top" width="12" height="100%">
- &nbsp;
- </td>
- <td valign="top" width="165" height="100%">
- <!--OPEN OF NAVIGATIONAL LINKS//-->
- <div class="LINK">
- <table class="LINKTEXT" height="28" cellspacing="0" cellpadding="0" width="166" border="0">
- <tr valign="middle">
- <td width="162">
- <span class="ACTIVELINK" id="Default" title="" onclick="Next(document, 'default.htm');"
- tabindex="1">bersicht</span>
- </td>
- <td width="4">
- <img height="1" src="../../Images/spacer.gif" width="4">
- </td>
- </tr>
- </table>
- </div>
- <div class="LINKSELECTED">
- <span class="VERTLINE1">
- <img height="1" alt="" src="../../Images/spacer.gif" width="1" border="0">
- </span><span class="HORILINE1">
- <table height="100%" cellspacing="0" cellpadding="0" width="167" border="0">
- <tr valign="top">
- <td class="DOTTEDLINE" height="1">
- </td>
- </tr>
- <tr valign="top">
- <td height="100%">
- <img height="28" alt="" src="../../Images/spacer.gif" width="1" border="0">
- </td>
- </tr>
- <tr valign="top">
- <td class="DOTTEDLINE" height="1">
- </td>
- </tr>
- </table>
- </span>
- <table class="LINKTEXTSELECTED" height="28" cellspacing="0" cellpadding="0" width="160"
- border="0">
- <tr valign="middle">
- <td width="162">
- <span id="Page_2" title="" onclick="Next(document, 'Page_2.htm');" tabindex="1">Projekteinstellungen</span>
- </td>
- <td width="4">
- <img height="1" src="../../Images/spacer.gif" width="4">
- </td>
- </tr>
- </table>
- </div>
- <div class="LINK">
- <table class="LINKTEXT" height="28" cellspacing="0" cellpadding="0" width="166" border="0"
- id="Table1">
- <tr valign="middle">
- <td width="162">
- <span class="ACTIVELINK" id="Page_3" title="" onclick="Next(document, 'Page_3.htm');"
- tabindex="1">Generierte Klassen</span>
- </td>
- <td width="4">
- <img height="1" src="../../Images/spacer.gif" width="4">
- </td>
- </tr>
- </table>
- </div>
- <!--CLOSE OF NAVIGATIONAL LINKS//-->
- </td>
- <td width="1">
- <div class="VERTLINE">
- <img height="1" alt="" src="../../Images/spacer.gif" width="1" border="0">
- </div>
- </td>
- </tr>
- </table>
- <!--CLOSE OF NAVIGATION TABLE//-->
- </td>
- <td valign="top" height="100%">
- <!--OPEN OF CONTENT AND BUTTON TABLE//-->
- <table class="ONE" cellspacing="0" cellpadding="0" border="0">
- <colgroup>
- <col width="100%">
- <tr valign="top">
- <td valign="top" height="100%">
- <!--OPEN OF CONTENT//-->
- <table class="CONTENT" cellspacing="0" cellpadding="0" border="0" id="Table2">
- <colgroup>
- <tr>
- <td width="12" height="12">
- </td>
- <td height="12">
- </td>
- <td height="12">
- </td>
- <td height="12">
- </td>
- <td width="12" height="12">
- </td>
- </tr>
- <tr>
- <td valign="top" width="12">
- </td>
- <td valign="top" colspan="3">
- <p>
- Selektieren Sie die Module, die zum Projekt hinzugefgt werden sollen. Die empfohlenen
- Module sind bereits ausgewhlt.<br />
- <br />
- </p>
- </td>
- <td valign="top" width="12">
- </td>
- </tr>
- <tr>
- <td width="12" height="12">
- </td>
- <td height="12">
- </td>
- <td height="12">
- </td>
- <td height="12">
- </td>
- <td width="12" height="12">
- </td>
- </tr>
-<!-- {ADB367FB-48AA-488e-9102-B037297CFCDB} -->
-<!-- -->
-<!-- START. GENERATED WITH SCRIPT, DO NOT EDIT -->
-<!-- -->
-<tr><td valign="top" width="12"></td><td valign="top" colspan="3"></td><td valign="top" width="12"></td></tr>
-<tr>
-<td valign="top" width="12"></td>
-<td valign="top"><input id="THREED_MODULE" title="Select this if you want to include the 3D library" type="checkbox" name="THREED_MODULE_NAME">&nbsp;3D</td>
-<td valign="top"><input id="NETWORK_MODULE" title="Select this if you want to include the Network library" type="checkbox" name="NETWORK_MODULE_NAME">&nbsp;Network</td>
-<td valign="top"><input id="SVG_MODULE" title="Select this if you want to include the SVG library" type="checkbox" name="SVG_MODULE_NAME">&nbsp;SVG</td>
-<td valign="top" width="12"></td>
-</tr>
-<tr>
-<td valign="top" width="12"></td>
-<td valign="top"><input id="AQCONTAINER_MODULE" title="Select this if you want to include the ActiveQt container library" type="checkbox" name="AQCONTAINER_MODULE_NAME">&nbsp;ActiveQt container&nbsp;</td>
-<td valign="top"><input id="NFC_MODULE" title="Select this if you want to include the NFC library" type="checkbox" name="NFC_MODULE_NAME">&nbsp;NFC</td>
-<td valign="top"><input id="TEST_MODULE" title="Select this if you want to include the Test library" type="checkbox" name="TEST_MODULE_NAME">&nbsp;Test</td>
-<td valign="top" width="12"></td>
-</tr>
-<tr>
-<td valign="top" width="12"></td>
-<td valign="top"><input id="AQSERVER_MODULE" title="Select this if you want to include the ActiveQt server library" type="checkbox" name="AQSERVER_MODULE_NAME">&nbsp;ActiveQt&nbsp;server&nbsp;</td>
-<td valign="top"><input id="OPENGL_MODULE" title="Select this if you want to include the OpenGL library" type="checkbox" name="OPENGL_MODULE_NAME">&nbsp;OpenGL</td>
-<td valign="top"><input id="UITOOLS_MODULE" title="Select this if you want to include the UI Tools" type="checkbox" name="UITOOLS_MODULE_NAME">&nbsp;UI Tools</td>
-<td valign="top" width="12"></td>
-</tr>
-<tr>
-<td valign="top" width="12"></td>
-<td valign="top"><input id="BLUETOOTH_MODULE" title="Select this if you want to include the Bluetooth library" type="checkbox" name="BLUETOOTH_MODULE_NAME">&nbsp;Bluetooth</td>
-<td valign="top"><input id="POSITIONING_MODULE" title="Select this if you want to include the Positioning library" type="checkbox" name="POSITIONING_MODULE_NAME">&nbsp;Positioning</td>
-<td valign="top"><input id="WEBCHANNEL_MODULE" title="Select this if you want to include the Web Channel library" type="checkbox" name="WEBCHANNEL_MODULE_NAME">&nbsp;Web Channel</td>
-<td valign="top" width="12"></td>
-</tr>
-<tr>
-<td valign="top" width="12"></td>
-<td valign="top"><input id="CONCURRENT_MODULE" title="Select this if you want to include the Concurrent library" type="checkbox" name="CONCURRENT_MODULE_NAME">&nbsp;Concurrent</td>
-<td valign="top"><input id="PRINTSUPPORT_MODULE" title="Select this if you want to include the Print Support library" type="checkbox" name="PRINTSUPPORT_MODULE_NAME">&nbsp;Print Support</td>
-<td valign="top"><input id="WEBKIT_MODULE" title="Select this if you want to include the WebKit library" type="checkbox" name="WEBKIT_MODULE_NAME">&nbsp;WebKit</td>
-<td valign="top" width="12"></td>
-</tr>
-<tr>
-<td valign="top" width="12"></td>
-<td valign="top"><input id="CORE_MODULE" title="Select this if you want to include the core library" type="checkbox" name="CORE_MODULE_NAME">&nbsp;Core</td>
-<td valign="top"><input id="QML_MODULE" title="Select this if you want to include the QML library" type="checkbox" name="QML_MODULE_NAME">&nbsp;QML</td>
-<td valign="top"><input id="WEBKITWIDGETS_MODULE" title="Select this if you want to include the Webkit Widgets library" type="checkbox" name="WEBKITWIDGETS_MODULE_NAME">&nbsp;Webkit Widgets</td>
-<td valign="top" width="12"></td>
-</tr>
-<tr>
-<td valign="top" width="12"></td>
-<td valign="top"><input id="ENGINIO_MODULE" title="Select this if you want to include the Enginio library" type="checkbox" name="ENGINIO_MODULE_NAME">&nbsp;Enginio</td>
-<td valign="top"><input id="QUICK_MODULE" title="Select this if you want to include the Quick library" type="checkbox" name="QUICK_MODULE_NAME">&nbsp;Quick</td>
-<td valign="top"><input id="WEBSOCKETS_MODULE" title="Select this if you want to include the Web Sockets library" type="checkbox" name="WEBSOCKETS_MODULE_NAME">&nbsp;Web Sockets</td>
-<td valign="top" width="12"></td>
-</tr>
-<tr>
-<td valign="top" width="12"></td>
-<td valign="top"><input id="DECLARATIVE_MODULE" title="Select this if you want to include the Declarative library" type="checkbox" name="DECLARATIVE_MODULE_NAME">&nbsp;Declarative</td>
-<td valign="top"><input id="QUICKWIDGETS_MODULE" title="Select this if you want to include the Quick Widgets library" type="checkbox" name="QUICKWIDGETS_MODULE_NAME">&nbsp;Quick Widgets</td>
-<td valign="top"><input id="WIDGETS_MODULE" title="Select this if you want to include the Widgets library" type="checkbox" name="WIDGETS_MODULE_NAME">&nbsp;Widgets</td>
-<td valign="top" width="12"></td>
-</tr>
-<tr>
-<td valign="top" width="12"></td>
-<td valign="top"><input id="GUI_MODULE" title="Select this if you want to include the GUI library" type="checkbox" name="GUI_MODULE_NAME">&nbsp;GUI</td>
-<td valign="top"><input id="SCRIPT_MODULE" title="Select this if you want to include the Script library" type="checkbox" name="SCRIPT_MODULE_NAME">&nbsp;Script</td>
-<td valign="top"><input id="WINDOWSEXTRAS_MODULE" title="Select this if you want to include the Windows Extras library" type="checkbox" name="WINDOWSEXTRAS_MODULE_NAME">&nbsp;Windows Extras</td>
-<td valign="top" width="12"></td>
-</tr>
-<tr>
-<td valign="top" width="12"></td>
-<td valign="top"><input id="HELP_MODULE" title="Select this if you want to include the Help library" type="checkbox" name="HELP_MODULE_NAME">&nbsp;Help</td>
-<td valign="top"><input id="SCRIPTTOOLS_MODULE" title="Select this if you want to include the Script Tools" type="checkbox" name="SCRIPTTOOLS_MODULE_NAME">&nbsp;Script Tools</td>
-<td valign="top"><input id="XML_MODULE" title="Select this if you want to include the XML library" type="checkbox" name="XML_MODULE_NAME">&nbsp;XML</td>
-<td valign="top" width="12"></td>
-</tr>
-<tr>
-<td valign="top" width="12"></td>
-<td valign="top"><input id="LOCATION_MODULE" title="Select this if you want to include the Location library" type="checkbox" name="LOCATION_MODULE_NAME">&nbsp;Location</td>
-<td valign="top"><input id="SENSORS_MODULE" title="Select this if you want to include the Sensors library" type="checkbox" name="SENSORS_MODULE_NAME">&nbsp;Sensors</td>
-<td valign="top"><input id="XMLPATTERNS_MODULE" title="Select this if you want to include the XML Patterns library" type="checkbox" name="XMLPATTERNS_MODULE_NAME">&nbsp;XML Patterns</td>
-<td valign="top" width="12"></td>
-</tr>
-<tr>
-<td valign="top" width="12"></td>
-<td valign="top"><input id="MULTIMEDIA_MODULE" title="Select this if you want to include the Multimedia library" type="checkbox" name="MULTIMEDIA_MODULE_NAME">&nbsp;Multimedia</td>
-<td valign="top"><input id="SERIALPORT_MODULE" title="Select this if you want to include the Serial Port library" type="checkbox" name="SERIALPORT_MODULE_NAME">&nbsp;Serial Port</td>
-<td valign="top" width="12"></td>
-<td valign="top" width="12"></td>
-</tr>
-<tr>
-<td valign="top" width="12"></td>
-<td valign="top"><input id="MULTIMEDIAWIDGETS_MODULE" title="Select this if you want to include the Multimedia Widgets library" type="checkbox" name="MULTIMEDIAWIDGETS_MODULE_NAME">&nbsp;Multimedia Widgets</td>
-<td valign="top"><input id="SQL_MODULE" title="Select this if you want to include the SQL library" type="checkbox" name="SQL_MODULE_NAME">&nbsp;SQL</td>
-<td valign="top" width="12"></td>
-<td valign="top" width="12"></td>
-</tr>
-<!-- -->
-<!-- END. GENERATED WITH SCRIPT, DO NOT EDIT -->
-<!-- -->
-<!-- {ADB367FB-48AA-488e-9102-B037297CFCDB} -->
-
-
-
-
- <tr>
- <td valign="top" width="12">
- </td>
- <td valign="top" colspan="3">
- <p>
- &nbsp;</p>
- </td>
- <td valign="top" width="12">
- </td>
- </tr>
- <tr>
- <td valign="top" width="12" height="100%">
- </td>
- <td valign="top" height="100%">
- </td>
- <td valign="top" height="100%">
- </td>
- <td valign="top" height="100%">
- </td>
- <td valign="top" width="12" height="100%">
- </td>
- </tr>
- </table>
- <!--CLOSE OF CONTENT//-->
- </TD> </TR>
- <tr valign="bottom">
- <td height="48">
- <!--OPEN OF BUTTON HTML//-->
- <table height="48" cellspacing="0" cellpadding="0" border="0">
- <colgroup>
- <col width="12">
- <col>
- <col width="75">
- <col width="4">
- <col width="75">
- <col width="4">
- <col width="75">
- <col width="12">
- <tr>
- <td class="RULE" valign="top" colspan="8" height="2">
- <table height="1" cellspacing="0" cellpadding="0" width="100%" border="0">
- <tr valign="top">
- </tr>
- </table>
- </td>
- </tr>
- <tr>
- <td valign="top" colspan="8" height="11">
- &nbsp;
- </td>
- </tr>
- <tr>
- <td valign="middle" width="12" height="23">
- &nbsp;
- </td>
- <td valign="top" height="23">
- &nbsp;
- </td>
- <td valign="middle" width="75" height="23">
- <button class="BUTTONS" id="FinishBtn" accesskey="B" onclick="OnFinish(document);"
- type="button">
- <u>B</u>eenden</button>
- </td>
- <td valign="middle" width="4" height="23">
- &nbsp;
- </td>
- <td valign="middle" width="75" height="23">
- <button class="BUTTONS" id="CancelBtn" accesskey="A" onclick="window.external.Finish(document, 'cancel');"
- type="button">
- <u>A</u>bbrechen</button>
- </td>
- <td valign="middle" width="4" height="23">
- &nbsp;
- </td>
- <td valign="middle" width="75" height="23">
- <button class="BUTTONS" id="HelpBtn" disabled accesskey="H" onclick="window.external.OnHelp('vc.appwiz.custom.overview');"
- type="button">
- <u>H</u>ilfe</button>
- </td>
- <td valign="middle" width="12" height="23">
- &nbsp;
- </td>
- </tr>
- <tr>
- <td valign="top" colspan="8" height="12">
- &nbsp;
- </td>
- </tr>
- </table>
- <!--CLOSE OF BUTTON HTML//-->
- </td>
- </tr>
- </TABLE>
- <!--CLOSE OF NAVIGATION, CONTENT, AND BUTTON TABLES//-->
- </TD> </TR> </TABLE>
-</body>
-</html>
-<script language="JSCRIPT">
-
- var QtEngine;
- var tab_array = new Array();
- tab_array[0] = Default;
- tab_array[1] = Page_2;
-
- // This is an example of a function which initializes the page
- //
- function InitDocument(document) {
- var dte = window.external.dte;
- var version = dte.version;
- if (version == "8.0")
- QtEngine = new ActiveXObject("Digia.Qt5ProjectEngine80");
- else if (version == "9.0")
- QtEngine = new ActiveXObject("Digia.Qt5ProjectEngine90");
- else if (version == "10.0")
- QtEngine = new ActiveXObject("Digia.Qt5ProjectEngine100");
- else if (version == "11.0")
- QtEngine = new ActiveXObject("Digia.Qt5ProjectEngine110");
- else if (version == "12.0")
- QtEngine = new ActiveXObject("Digia.Qt5ProjectEngine120");
- else {
- window.external.ReportError("Cannot instantiate QtProjectEngine object!");
- return false;
- }
-
- setDirection();
- if (window.external.FindSymbol('DOCUMENT_FIRST_LOAD')) {
- // This function sets the default symbols based
- // on the values specified in the SYMBOL tags above
- //
- window.external.SetDefaults(document);
- }
- // Load the document and initialize the controls
- // with the appropriate symbol values
- //
- window.external.Load(document);
-
- // Disable Essential modules which are not installed (Should not found any?)
- DisableUninstalled(THREED_MODULE_NAME, "Qt3D", QtEngine);
- DisableUninstalled(CORE_MODULE_NAME, "QtCore", QtEngine);
- DisableUninstalled(GUI_MODULE_NAME, "QtGui", QtEngine);
- DisableUninstalled(LOCATION_MODULE_NAME, "QtLocation", QtEngine);
- DisableUninstalled(MULTIMEDIA_MODULE_NAME, "QtMultimedia", QtEngine);
- DisableUninstalled(MULTIMEDIAWIDGETS_MODULE_NAME, "QtMultimediaWidgets", QtEngine);
- DisableUninstalled(NETWORK_MODULE_NAME, "QtNetwork", QtEngine);
- DisableUninstalled(QML_MODULE_NAME, "QtQml", QtEngine);
- DisableUninstalled(QUICK_MODULE_NAME, "QtQuick", QtEngine);
- DisableUninstalled(SQL_MODULE_NAME, "QtSql", QtEngine);
- DisableUninstalled(TEST_MODULE_NAME, "QtTest", QtEngine);
- DisableUninstalled(WEBKIT_MODULE_NAME, "QtWebkit", QtEngine);
-
- // Disable Add-on modules which are not installed
- DisableUninstalled(AQCONTAINER_MODULE_NAME, "QtAxContainer", QtEngine);
- DisableUninstalled(AQSERVER_MODULE_NAME, "QtAxServer", QtEngine);
- DisableUninstalled(BLUETOOTH_MODULE_NAME, "QtBluetooth", QtEngine);
- DisableUninstalled(CONCURRENT_MODULE_NAME, "QtConcurrent", QtEngine);
- DisableUninstalled(DECLARATIVE_MODULE_NAME, "QtDeclarative", QtEngine);
- DisableUninstalled(ENGINIO_MODULE_NAME, "Enginio", QtEngine);
- DisableUninstalled(HELP_MODULE_NAME, "QtHelp", QtEngine);
- DisableUninstalled(NFC_MODULE_NAME, "QtNfc", QtEngine);
- DisableUninstalled(OPENGL_MODULE_NAME, "QtOpenGL", QtEngine);
- DisableUninstalled(POSITIONING_MODULE_NAME, "QtPositioning", QtEngine);
- DisableUninstalled(PRINTSUPPORT_MODULE_NAME, "QtPrintSupport", QtEngine);
- DisableUninstalled(QUICKWIDGETS_MODULE_NAME, "QtQuickWidgets", QtEngine);
- DisableUninstalled(SCRIPT_MODULE_NAME, "QtScript", QtEngine);
- DisableUninstalled(SCRIPTTOOLS_MODULE_NAME, "QtScriptTools", QtEngine);
- DisableUninstalled(SENSORS_MODULE_NAME, "QtSensors", QtEngine);
- DisableUninstalled(SERIALPORT_MODULE_NAME, "QtSerialPort", QtEngine);
- DisableUninstalled(SVG_MODULE_NAME, "QtSvg", QtEngine);
- DisableUninstalled(UITOOLS_MODULE_NAME, "QtUiTools", QtEngine);
- DisableUninstalled(WEBCHANNEL_MODULE_NAME, "QtWebChannel", QtEngine);
- DisableUninstalled(WEBKITWIDGETS_MODULE_NAME, "QtWebkitWidgets", QtEngine);
- DisableUninstalled(WEBSOCKETS_MODULE_NAME, "QtWebSockets", QtEngine);
- DisableUninstalled(WIDGETS_MODULE_NAME, "QtWidgets", QtEngine);
- DisableUninstalled(WINDOWSEXTRAS_MODULE_NAME, "QtWinExtras", QtEngine);
- DisableUninstalled(XML_MODULE_NAME, "QtXml", QtEngine);
- DisableUninstalled(XMLPATTERNS_MODULE_NAME, "QtXmlPatterns", QtEngine);
-
- // Disable these cause mandatory for this wizard
- CORE_MODULE_NAME.disabled = true;
- GUI_MODULE_NAME.disabled = true;
- AQSERVER_MODULE_NAME.disabled = true;
- WIDGETS_MODULE_NAME.disabled = true;
- }
-
- function DisableUninstalled(element, lib_name, engine) {
- var not_installed = !engine.IsModuleInstalled(lib_name);
- element.disabled = not_installed;
- if (not_installed) {
- element.title = ""; // Not installed so don't show title
- element.parentNode.className = "addon_disabled";
- }
- return not_installed;
- }
-
-
- // If the wizard has more than 1 page, this
- // function will browse to the page specified
- //
- function Next(document, linkto) {
- CORE_MODULE_NAME.disabled = false;
- GUI_MODULE_NAME.disabled = false;
- AQSERVER_MODULE_NAME.disabled = false;
- WIDGETS_MODULE_NAME.disabled = false;
- window.external.Next(document, linkto);
- }
-
- // This is an example of a function which
- // gets called when the user clicks on 'Finish'
- //
- function OnFinish(document) {
- CORE_MODULE_NAME.disabled = false;
- GUI_MODULE_NAME.disabled = false;
- AQSERVER_MODULE_NAME.disabled = false;
- WIDGETS_MODULE_NAME.disabled = false;
- OnWizFinish(document);
- }
-
-</script>
-<script language="JSCRIPT" id="INCLUDE_SCRIPT"></script>
-<script language="JSCRIPT" id="INCLUDE_COMMON"></script>
-<!--
-Common.js is a script file which contains the helper functions
-used by the wizards. Include this line if you want to
-call these functions from your html scripts.
-//-->
-<script>
- var strPath = window.external.FindSymbol("PRODUCT_INSTALLATION_DIR");
- strPath += "VCWizards/";
- strPath += window.external.GetHostLocale();
-
- // verify if the locale folder really exists
- var fso = new ActiveXObject("Scripting.FileSystemObject");
- var found = fso.FolderExists(strPath)
- if (found == false) {
- strPath = window.external.FindSymbol("PRODUCT_INSTALLATION_DIR");
- strPath += "VCWizards/";
- var folder = fso.GetFolder(strPath);
- for (subfolders = new Enumerator(folder.SubFolders); !subfolders.atEnd(); subfolders.moveNext()) {
- for (files = new Enumerator(subfolders.item().files); !files.atEnd(); files.moveNext()) {
- if (files.item().name.toLowerCase().localeCompare("common.js") == 0) {
- found = true;
- strPath += subfolders.item().name;
- break;
- }
- }
- if (found == true)
- break;
- }
- }
-
- var strScriptPath = strPath + "/Script.js";
- var strCommonPath = strPath + "/Common.js";
- document.scripts("INCLUDE_SCRIPT").src = strScriptPath;
- document.scripts("INCLUDE_COMMON").src = strCommonPath;
-</script>
diff --git a/Qt4VS2003/Projects/Qt5ActiveQtServerProject/HTML/1031/Page_3.htm b/Qt4VS2003/Projects/Qt5ActiveQtServerProject/HTML/1031/Page_3.htm
deleted file mode 100644
index 8b29b978..00000000
--- a/Qt4VS2003/Projects/Qt5ActiveQtServerProject/HTML/1031/Page_3.htm
+++ /dev/null
@@ -1,467 +0,0 @@
-<html dir="ltr">
-<head>
- <title>'Qt5ActiveQtServerProject'</title>
- <meta content="http://schemas.microsoft.com/intellisense/ie5" name="vs_targetSchema">
- <link id="LINKURL" rel="stylesheet" href="../../1033/styles.css">
-</head>
-<body onkeypress="OnPress();" onkeydown="OnKey();" bottommargin="0" bgcolor="buttonface"
- leftmargin="0" topmargin="0" onload="InitDocument(document);" rightmargin="0">
- <table class="ONE" height="100%" cellspacing="0" cellpadding="0" width="100%" border="0">
- <colgroup>
- <col width="178">
- <col>
- <!--OPEN OF INTRODUCTORY INFORMATION TABLE//-->
- <tr valign="top">
- <td width="100%" colspan="2" height="79">
- <table class="TWO" cellspacing="0" cellpadding="0" border="0">
- <colgroup>
- <col width="12">
- <col>
- <col width="12">
- <tr>
- <td valign="top" width="12" height="12">
- &nbsp;
- </td>
- <td valign="top" height="12">
- &nbsp;
- </td>
- <td valign="top" width="12" height="12">
- &nbsp;
- </td>
- <td class="IMAGE" valign="bottom" width="110" rowspan="2">
- <div class="SMALLA" id="Layer0">
- <img class="SMALLEST" height="63" alt="" src="..\..\Images\Qt5ActiveQtServerProject.jpg"
- width="63" border="0">
- </div>
- </td>
- <td valign="top" width="6" height="12" rowspan="2">
- &nbsp;
- </td>
- </tr>
- <tr>
- <td valign="top" width="12" height="65">
- &nbsp;
- </td>
- <td valign="top" height="65">
- <h4 class="HEAD" id="HEAD">
- Willkommen zum Qt5&nbsp;ActiveQt Serverprojektwizard</h4>
- <p class="SUBHEAD" id="SUBHEAD">
- Dieser Wizard erstellt ein&nbsp;Qt5&nbsp;ActiveQt Server Projekt. Es wird ein einfaches
- ActiveQt&nbsp;Widget mit den entsprechenden Dateien erstellt.</p>
- </td>
- <td valign="top" width="12" height="65">
- &nbsp;
- </td>
- </tr>
- <tr>
- <td class="RULE" valign="top" colspan="5" height="2">
- <table height="1" cellspacing="0" cellpadding="0" width="100%" border="0">
- <tr valign="top">
- <td width="100%" bgcolor="buttonshadow" height="1">
- <img height="1" alt="" src="../../Images/spacer.gif" width="1">
- </td>
- <td width="1" bgcolor="window" height="1">
- <img height="1" alt="" src="../../Images/spacer.gif" width="1">
- </td>
- </tr>
- </table>
- </td>
- </tr>
- </table>
- </td>
- </tr>
- <!--CLOSE OF INTRODUCTORY INFORMATION TABLE//-->
- <!--OPEN OF NAVIGATION, CONTENT, AND BUTTON TABLES//-->
- <tr valign="top">
- <td class="THREE" valign="top" width="178" height="100%">
- <!--OPEN OF NAVIGATION TABLE//-->
- <table class="THREE" cellspacing="0" cellpadding="0" border="0">
- <colgroup>
- <col width="12">
- <col width="166">
- <col width="1">
- <tr>
- <td valign="top" colspan="3" height="12">
- &nbsp;
- </td>
- </tr>
- <tr>
- <td valign="top" width="12" height="100%">
- &nbsp;
- </td>
- <td valign="top" width="165" height="100%">
- <!--OPEN OF NAVIGATIONAL LINKS//-->
- <div class="LINK">
- <table class="LINKTEXT" height="28" cellspacing="0" cellpadding="0" width="166" border="0">
- <tr valign="middle">
- <td width="162">
- <span class="ACTIVELINK" id="Page_1" title="" onclick="Next(document, 'default.htm');"
- tabindex="1">bersicht</span>
- </td>
- <td width="4">
- <img height="1" src="../../Images/spacer.gif" width="4">
- </td>
- </tr>
- </table>
- </div>
- <div class="LINK">
- <table class="LINKTEXT" height="28" cellspacing="0" cellpadding="0" width="166" border="0"
- id="Table1">
- <tr valign="middle">
- <td width="162">
- <span class="ACTIVELINK" id="Page_2" title="" onclick="Next(document, 'Page_2.htm');"
- tabindex="1">Projekteinstellungen</span>
- </td>
- <td width="4">
- <img height="1" src="../../Images/spacer.gif" width="4">
- </td>
- </tr>
- </table>
- </div>
- <div class="LINKSELECTED">
- <span class="VERTLINE1">
- <img height="1" alt="" src="../../Images/spacer.gif" width="1" border="0">
- </span><span class="HORILINE1">
- <table height="100%" cellspacing="0" cellpadding="0" width="167" border="0">
- <tr valign="top">
- <td class="DOTTEDLINE" height="1">
- </td>
- </tr>
- <tr valign="top">
- <td height="100%">
- <img height="28" alt="" src="../../Images/spacer.gif" width="1" border="0">
- </td>
- </tr>
- <tr valign="top">
- <td class="DOTTEDLINE" height="1">
- </td>
- </tr>
- </table>
- </span>
- <table class="LINKTEXTSELECTED" height="28" cellspacing="0" cellpadding="0" width="160"
- border="0">
- <tr valign="middle">
- <td width="162">
- <span id="Page_3" title="" onclick="Next(document, 'Page_2.htm');" tabindex="1">Generierte
- Klassen</span>
- </td>
- <td width="4">
- <img height="1" src="../../Images/spacer.gif" width="4">
- </td>
- </tr>
- </table>
- </div>
- <!--CLOSE OF NAVIGATIONAL LINKS//-->
- </td>
- <td width="1">
- <div class="VERTLINE">
- <img height="1" alt="" src="../../Images/spacer.gif" width="1" border="0">
- </div>
- </td>
- </tr>
- </table>
- <!--CLOSE OF NAVIGATION TABLE//-->
- </td>
- <td valign="top" height="100%">
- <!--OPEN OF CONTENT AND BUTTON TABLE//-->
- <table class="ONE" cellspacing="0" cellpadding="0" border="0">
- <colgroup>
- <col width="100%">
- <tr valign="top">
- <td valign="top" height="100%">
- <!--OPEN OF CONTENT//-->
- <table class="CONTENT" cellspacing="0" cellpadding="0" border="0">
- <colgroup>
- <tr>
- <td width="12" height="12">
- </td>
- <td height="12">
- </td>
- <td height="12">
- </td>
- <td width="12" height="12">
- </td>
- </tr>
- <tr>
- <td valign="top" width="12">
- </td>
- <td valign="top">
- Klassenname:
- </td>
- <td valign="top">
- .h&nbsp;Datei:
- </td>
- <td valign="top" width="12">
- </td>
- </tr>
- <tr>
- <td valign="top" width="12">
- </td>
- <td valign="top">
- <input id="CLASSNAME_TEXT" type="text" name="className" onpropertychange="ClassNameChanged();">
- </td>
- <td valign="top">
- <input id="HFILE_TEXT" type="text" name="hFile">
- </td>
- <td valign="top" width="12">
- </td>
- </tr>
- <tr>
- <td valign="top" width="12">
- </td>
- <td valign="top">
- .cpp&nbsp;Datei:
- </td>
- <td valign="top">
- <p>
- .ui&nbsp;Datei:</p>
- </td>
- <td valign="top" width="12">
- </td>
- </tr>
- <tr>
- <td valign="top" width="12">
- </td>
- <td valign="top">
- <input id="CPPFILE_TEXT" type="text" name="cppFile">
- </td>
- <td valign="top">
- <input id="UIFILE_TEXT" type="text" name="uiFile">
- </td>
- <td valign="top" width="12">
- </td>
- </tr>
- <tr>
- <td width="12" height="24">
- </td>
- <td height="12" colspan="2">
- <input id="PRECOMPILED_HEADERS" title="Vorkompilierte Header verwenden" type="checkbox"
- name="precompiledHeaders">Vorkompilierte Header verwenden
- </td>
- <td width="12" height="12">
- </td>
- </tr>
- <tr>
- <td valign="top" width="12" height="100%">
- </td>
- <td valign="top" height="100%">
- </td>
- <td valign="top" height="100%">
- </td>
- <td valign="top" width="12" height="100%">
- </td>
- </tr>
- </table>
- <!--CLOSE OF CONTENT//-->
- </td>
- </tr>
- <tr valign="bottom">
- <td height="48">
- <!--OPEN OF BUTTON HTML//-->
- <table height="48" cellspacing="0" cellpadding="0" border="0">
- <colgroup>
- <col width="12">
- <col>
- <col width="75">
- <col width="4">
- <col width="75">
- <col width="4">
- <col width="75">
- <col width="12">
- <tr>
- <td class="RULE" valign="top" colspan="8" height="2">
- <table height="1" cellspacing="0" cellpadding="0" width="100%" border="0">
- <tr valign="top">
- </tr>
- </table>
- </td>
- </tr>
- <tr>
- <td valign="top" colspan="8" height="11">
- &nbsp;
- </td>
- </tr>
- <tr>
- <td valign="middle" width="12" height="23">
- &nbsp;
- </td>
- <td valign="top" height="23">
- &nbsp;
- </td>
- <td valign="middle" width="75" height="23">
- <button class="BUTTONS" id="FinishBtn" accesskey="B" onclick="OnFinish(document);"
- type="button">
- <u>B</u>eenden</button>
- </td>
- <td valign="middle" width="4" height="23">
- &nbsp;
- </td>
- <td valign="middle" width="75" height="23">
- <button class="BUTTONS" id="CancelBtn" accesskey="A" onclick="window.external.Finish(document, 'cancel');"
- type="button">
- <u>A</u>bbrechen</button>
- </td>
- <td valign="middle" width="4" height="23">
- &nbsp;
- </td>
- <td valign="middle" width="75" height="23">
- <button class="BUTTONS" id="HelpBtn" disabled accesskey="H" onclick="window.external.OnHelp('vc.appwiz.custom.overview');"
- type="button">
- <u>H</u>ilfe</button>
- </td>
- <td valign="middle" width="12" height="23">
- &nbsp;
- </td>
- </tr>
- <tr>
- <td valign="top" colspan="8" height="12">
- &nbsp;
- </td>
- </tr>
- </table>
- <!--CLOSE OF BUTTON HTML//-->
- </td>
- </tr>
- </table>
- <!--CLOSE OF NAVIGATION, CONTENT, AND BUTTON TABLES//-->
- </td>
- </tr>
- </table>
-</body>
-</html>
-<script language="JSCRIPT">
-
- var tab_array = new Array();
- tab_array[0] = Page_1;
- tab_array[1] = Page_2;
-
- // This is an example of a function which initializes the page
- //
- function InitDocument(document) {
- setDirection();
-
- if (window.external.FindSymbol('DOCUMENT_FIRST_LOAD')) {
- // This function sets the default symbols based
- // on the values specified in the SYMBOL tags above
- //
- window.external.SetDefaults(document);
- }
-
- // Load the document and initialize the controls
- // with the appropriate symbol values
- //
- window.external.Load(document);
- }
-
- function ClassNameChanged() {
- HFILE_TEXT.value = CLASSNAME_TEXT.value.toLowerCase() + ".h";
- CPPFILE_TEXT.value = CLASSNAME_TEXT.value.toLowerCase() + ".cpp";
- UIFILE_TEXT.value = CLASSNAME_TEXT.value.toLowerCase() + ".ui";
- }
-
- function ValidateAndUpdate() {
- var Inputs = document.all.tags("INPUT");
-
- var regexp = /\s/g;
- var proName = window.external.FindSymbol('PROJECT_NAME').replace(regexp, "");
-
- var field = Inputs.item("className");
- if (!window.external.dte.VCLanguageManager.ValidateIdentifier(field.value) ||
- window.external.dte.VCLanguageManager.IsReservedName(field.value)) {
- window.external.ReportError("Ungltiger Klassenname!");
- field.value = proName;
- return false;
- }
-
- field = Inputs.item("hFile");
- if (!ValidateFileName(field.value)) {
- window.external.ReportError("Ungltiger Dateiname!");
- field.value = proName.toLowerCase() + ".h";
- return false;
- }
-
- field = Inputs.item("cppFile");
- if (!ValidateFileName(field.value)) {
- window.external.ReportError("Ungltiger Dateiname!");
- field.value = proName.toLowerCase() + ".cpp";
- return false;
- }
-
- field = Inputs.item("uiFile");
- var strFile = field.value.toLowerCase().replace(".h", ".x"); // don't validate .h files...
- var strFile = strFile.replace(".ui", ".h");
- if (!ValidateFileName(strFile)) {
- window.external.ReportError("Ungltiger Dateiname!");
- field.value = proName.toLowerCase() + ".ui";
- return false;
- }
-
- return true;
- }
-
- function ValidateFileName(FileName) {
- if (!window.external.dte.VCLanguageManager.ValidateFileName(FileName))
- return false;
- if (FileName.search(/[\\\/\:\*\?\"\<\>\|]/g) != -1)
- return false;
- return true;
- }
-
- // If the wizard has more than 1 page, this
- // function will browse to the page specified
- //
- function Next(document, linkto) {
- if (!ValidateAndUpdate())
- return;
-
- window.external.Next(document, linkto);
- }
-
- // This is an example of a function which
- // gets called when the user clicks on 'Finish'
- //
- function OnFinish(document) {
- if (!ValidateAndUpdate())
- return;
-
- OnWizFinish(document);
- }
-
-</script>
-<script language="JSCRIPT" id="INCLUDE_SCRIPT"></script>
-<script language="JSCRIPT" id="INCLUDE_COMMON"></script>
-<!--
-Common.js is a script file which contains the helper functions
-used by the wizards. Include this line if you want to
-call these functions from your html scripts.
-//-->
-<script>
- var strPath = window.external.FindSymbol("PRODUCT_INSTALLATION_DIR");
- strPath += "VCWizards/";
- strPath += window.external.GetHostLocale();
-
- // verify if the locale folder really exists
- var fso = new ActiveXObject("Scripting.FileSystemObject");
- var found = fso.FolderExists(strPath)
- if (found == false) {
- strPath = window.external.FindSymbol("PRODUCT_INSTALLATION_DIR");
- strPath += "VCWizards/";
- var folder = fso.GetFolder(strPath);
- for (subfolders = new Enumerator(folder.SubFolders); !subfolders.atEnd(); subfolders.moveNext()) {
- for (files = new Enumerator(subfolders.item().files); !files.atEnd(); files.moveNext()) {
- if (files.item().name.toLowerCase().localeCompare("common.js") == 0) {
- found = true;
- strPath += subfolders.item().name;
- break;
- }
- }
- if (found == true)
- break;
- }
- }
-
- var strScriptPath = strPath + "/Script.js";
- var strCommonPath = strPath + "/Common.js";
- document.scripts("INCLUDE_SCRIPT").src = strScriptPath;
- document.scripts("INCLUDE_COMMON").src = strCommonPath;
-</script>
diff --git a/Qt4VS2003/Projects/Qt5ActiveQtServerProject/HTML/1031/default.htm b/Qt4VS2003/Projects/Qt5ActiveQtServerProject/HTML/1031/default.htm
deleted file mode 100644
index d4d15602..00000000
--- a/Qt4VS2003/Projects/Qt5ActiveQtServerProject/HTML/1031/default.htm
+++ /dev/null
@@ -1,524 +0,0 @@
-<html dir="ltr">
-<head>
- <title>'Qt5ActiveQtServerProject'</title>
- <meta content="http://schemas.microsoft.com/intellisense/ie5" name="vs_targetSchema">
- <link id="LINKURL" rel="stylesheet" href="../../1033/styles.css">
- <!-- -->
- <!-- The SYMBOL tag is used to set the default values for the user-defined symbols.-->
- <!-- -->
- <symbol name="WIZARD_DIALOG_TITLE" type="text" value="Qt5 ActiveQt Server"></symbol>
- <symbol name="THREED_MODULE" type="checkbox" value="false"></symbol>
- <symbol name="AQCONTAINER_MODULE" type="checkbox" value="false"></symbol>
- <symbol name="AQSERVER_MODULE" type="checkbox" value="true"></symbol>
- <symbol name="BLUETOOTH_MODULE" type="checkbox" value="false"></symbol>
- <symbol name="CONCURRENT_MODULE" type="checkbox" value="false"></symbol>
- <symbol name="CORE_MODULE" type="checkbox" value="true"></symbol>
- <symbol name="ENGINIO_MODULE" type="checkbox" value="false"></symbol>
- <symbol name="DECLARATIVE_MODULE" type="checkbox" value="false"></symbol>
- <symbol name="GUI_MODULE" type="checkbox" value="true"></symbol>
- <symbol name="HELP_MODULE" type="checkbox" value="true"></symbol>
- <symbol name="LOCATION_MODULE" type="checkbox" value="false"></symbol>
- <symbol name="MULTIMEDIA_MODULE" type="checkbox" value="false"></symbol>
- <symbol name="MULTIMEDIAWIDGETS_MODULE" type="checkbox" value="false"></symbol>
- <symbol name="NETWORK_MODULE" type="checkbox" value="false"></symbol>
- <symbol name="NFC_MODULE" type="checkbox" value="false"></symbol>
- <symbol name="OPENGL_MODULE" type="checkbox" value="false"></symbol>
- <symbol name="POSITIONING_MODULE" type="checkbox" value="false"></symbol>
- <symbol name="PRINTSUPPORT_MODULE" type="checkbox" value="false"></symbol>
- <symbol name="QML_MODULE" type="checkbox" value="false"></symbol>
- <symbol name="QUICK_MODULE" type="checkbox" value="false"></symbol>
- <symbol name="QUICKWIDGETS_MODULE" type="checkbox" value="false"></symbol>
- <symbol name="SCRIPT_MODULE" type="checkbox" value="false"></symbol>
- <symbol name="SCRIPTTOOLS_MODULE" type="checkbox" value="false"></symbol>
- <symbol name="SENSORS_MODULE" type="checkbox" value="false"></symbol>
- <symbol name="SERIALPORT_MODULE" type="checkbox" value="false"></symbol>
- <symbol name="SQL_MODULE" type="checkbox" value="false"></symbol>
- <symbol name="SVG_MODULE" type="checkbox" value="false"></symbol>
- <symbol name="TEST_MODULE" type="checkbox" value="false"></symbol>
- <symbol name="UITOOLS_MODULE" type="checkbox" value="false"></symbol>
- <symbol name="WEBCHANNEL_MODULE" type="checkbox" value="false"></symbol>
- <symbol name="WEBKIT_MODULE" type="checkbox" value="false"></symbol>
- <symbol name="WEBKITWIDGETS_MODULE" type="checkbox" value="false"></symbol>
- <symbol name="WEBSOCKETS_MODULE" type="checkbox" value="false"></symbol>
- <symbol name="WIDGETS_MODULE" type="checkbox" value="true"></symbol>
- <symbol name="WINDOWSEXTRAS_MODULE" type="checkbox" value="false"></symbol>
- <symbol name="XML_MODULE" type="checkbox" value="false"></symbol>
- <symbol name="XMLPATTERNS_MODULE" type="checkbox" value="false"></symbol>
- <symbol name="CLASSNAME_TEXT" type="text" value=""></symbol>
- <symbol name="HFILE_TEXT" type="text" value=""></symbol>
- <symbol name="CPPFILE_TEXT" type="text" value=""></symbol>
- <symbol name="UIFILE_TEXT" type="text" value=""></symbol>
- <symbol name="APP_TYPE_SUMMARY" type="text" value="Qt5 ActiveQt Server"></symbol>
-</head>
-<body onkeypress="OnPress();" onkeydown="OnKey();" bottommargin="0" bgcolor="buttonface"
- leftmargin="0" topmargin="0" onload="InitDocument(document);" rightmargin="0">
- <table class="ONE" height="100%" cellspacing="0" cellpadding="0" width="100%" border="0">
- <colgroup>
- <col width="178">
- <col>
- <!--OPEN OF INTRODUCTORY INFORMATION TABLE//-->
- <tr valign="top">
- <td width="100%" colspan="2" height="79">
- <table class="TWO" cellspacing="0" cellpadding="0" border="0">
- <colgroup>
- <col width="12">
- <col>
- <col width="12">
- <tr>
- <td valign="top" width="12" height="12">
- &nbsp;
- </td>
- <td valign="top" height="12">
- &nbsp;
- </td>
- <td valign="top" width="12" height="12">
- &nbsp;
- </td>
- <td class="IMAGE" valign="bottom" width="110" rowspan="2">
- <div class="SMALLA" id="Layer0">
- <img class="SMALLEST" height="63" alt="" src="../../Images/Qt5ActiveQtServerProject.jpg"
- width="63" border="0">
- </div>
- </td>
- <td valign="top" width="6" height="12" rowspan="2">
- &nbsp;
- </td>
- </tr>
- <tr>
- <td valign="top" width="12" height="65">
- &nbsp;
- </td>
- <td valign="top" height="65">
- <h4 class="HEAD" id="HEAD">
- Willkommen zum Qt5&nbsp;ActiveQt Serverprojektwizard</h4>
- <p class="SUBHEAD" id="SUBHEAD">
- Dieser Wizard erstellt ein&nbsp;Qt5&nbsp;ActiveQt Server Projekt. Es wird ein einfaches
- ActiveQt&nbsp;Widget mit den entsprechenden Dateien erstellt.</p>
- </td>
- <td valign="top" width="12" height="65">
- &nbsp;
- </td>
- </tr>
- <tr>
- <td class="RULE" valign="top" colspan="5" height="2">
- <table height="1" cellspacing="0" cellpadding="0" width="100%" border="0">
- <tr valign="top">
- <td width="100%" bgcolor="buttonshadow" height="1">
- <img height="1" alt="" src="../../Images/spacer.gif" width="1">
- </td>
- <td width="1" bgcolor="window" height="1">
- <img height="1" alt="" src="../../Images/spacer.gif" width="1">
- </td>
- </tr>
- </table>
- </td>
- </tr>
- </table>
- </td>
- </tr>
- <!--CLOSE OF INTRODUCTORY INFORMATION TABLE//-->
- <!--OPEN OF NAVIGATION, CONTENT, AND BUTTON TABLES//-->
- <tr valign="top">
- <td class="THREE" valign="top" width="178" height="100%">
- <!--OPEN OF NAVIGATION TABLE//-->
- <table class="THREE" cellspacing="0" cellpadding="0" border="0">
- <colgroup>
- <col width="12">
- <col width="166">
- <col width="1">
- <tr>
- <td valign="top" colspan="3" height="12">
- &nbsp;
- </td>
- </tr>
- <tr>
- <td valign="top" width="12" height="100%">
- &nbsp;
- </td>
- <td valign="top" width="165" height="100%">
- <!--OPEN OF NAVIGATIONAL LINKS//-->
- <div class="LINKSELECTED">
- <span class="VERTLINE1">
- <img height="1" alt="" src="../../Images/spacer.gif" width="1" border="0">
- </span><span class="HORILINE1">
- <table height="100%" cellspacing="0" cellpadding="0" width="167" border="0">
- <tr valign="top">
- <td class="DOTTEDLINE" height="1">
- </td>
- </tr>
- <tr valign="top">
- <td height="100%">
- <img height="28" alt="" src="../../Images/spacer.gif" width="1" border="0">
- </td>
- </tr>
- <tr valign="top">
- <td class="DOTTEDLINE" height="1">
- </td>
- </tr>
- </table>
- </span>
- <table class="LINKTEXTSELECTED" height="28" cellspacing="0" cellpadding="0" width="160"
- border="0">
- <tr valign="middle">
- <td width="156">
- <span id="Page_1" title="" onclick="Next(document, 'default.htm');" tabindex="1">bersicht</span>
- </td>
- <td width="4">
- <img height="1" src="../../Images/spacer.gif" width="4">
- </td>
- </tr>
- </table>
- </div>
- <div class="LINK">
- <table class="LINKTEXT" height="28" cellspacing="0" cellpadding="0" width="166" border="0">
- <tr valign="middle">
- <td width="162">
- <span class="ACTIVELINK" id="Page_2" title="" onclick="Next(document, 'Page_2.htm');"
- tabindex="1">Projekteinstellungen</span>
- </td>
- <td width="4">
- <img height="1" src="../../Images/spacer.gif" width="4">
- </td>
- </tr>
- </table>
- </div>
- <div class="LINK">
- <table class="LINKTEXT" height="28" cellspacing="0" cellpadding="0" width="166" border="0"
- id="Table1">
- <tr valign="middle">
- <td width="162">
- <span class="ACTIVELINK" id="Page_3" title="" onclick="Next(document, 'Page_3.htm');"
- tabindex="1">Generierte Klassen</span>
- </td>
- <td width="4">
- <img height="1" src="../../Images/spacer.gif" width="4">
- </td>
- </tr>
- </table>
- </div>
- <!--CLOSE OF NAVIGATIONAL LINKS//-->
- </td>
- <td width="1">
- <div class="VERTLINE">
- <img height="1" alt="" src="../../Images/spacer.gif" width="1" border="0">
- </div>
- </td>
- </tr>
- </table>
- <!--CLOSE OF NAVIGATION TABLE//-->
- </td>
- <td valign="top" height="100%">
- <!--OPEN OF CONTENT AND BUTTON TABLE//-->
- <table class="ONE" cellspacing="0" cellpadding="0" border="0">
- <colgroup>
- <col width="100%">
- <tr valign="top">
- <td height="100%">
- <!--OPEN OF CONTENT//-->
- <table class="CONTENT" cellspacing="0" cellpadding="0" border="0">
- <colgroup>
- <col width="12">
- <col width="185">
- <col width="12">
- <col width="185">
- <col width="12">
- <col width="185">
- <col width="12">
- <tr>
- <td valign="top" colspan="5" height="12">
- &nbsp;
- </td>
- </tr>
- <tr valign="top">
- <td valign="top" width="12">
- &nbsp;
- </td>
- <td valign="top" colspan="3">
- <p>
- <span class="ItemTextTop" id="PROJECT_SETTINGS_SPAN">Die momentan selektierten Qt Module
- sind:</span></p>
- <p>
- <span class="ItemTextTop"></span><span class="ItemText" id="QTMODULES" title="">
- </span>
- </p>
- <p>
- <span class="ItemText" title=""></span><span class="ItemText" id="FinishText">Klicken
- Sie <b>Beenden</b> von jeder beliebigen Wizardseite um die aktuellen Einstellungen
- zu bernehmen und das Projekt zu erstellen.</span>
- </p>
- </td>
- <td valign="top" width="12">
- &nbsp;
- </td>
- </tr>
- <tr>
- <td valign="top" colspan="7" height="100%">
- &nbsp;
- </td>
- </tr>
- </table>
- <!--CLOSE OF CONTENT//-->
- </td>
- </tr>
- <tr valign="bottom">
- <td height="48">
- <!--OPEN OF BUTTON HTML//-->
- <table height="48" cellspacing="0" cellpadding="0" border="0">
- <colgroup>
- <col width="12">
- <col>
- <col width="75">
- <col width="4">
- <col width="75">
- <col width="4">
- <col width="75">
- <col width="12">
- <tr>
- <td class="RULE" valign="top" colspan="8" height="2">
- <table height="1" cellspacing="0" cellpadding="0" width="100%" border="0">
- <tr valign="top">
- </tr>
- </table>
- </td>
- </tr>
- <tr>
- <td valign="top" colspan="8" height="11">
- &nbsp;
- </td>
- </tr>
- <tr>
- <td valign="middle" width="12" height="23">
- &nbsp;
- </td>
- <td valign="top" height="23">
- &nbsp;
- </td>
- <td valign="middle" width="75" height="23">
- <button class="BUTTONS" id="FinishBtn" accesskey="B" onclick="OnFinish(document);"
- type="button">
- <u>B</u>eenden</button>
- </td>
- <td valign="middle" width="4" height="23">
- &nbsp;
- </td>
- <td valign="middle" width="75" height="23">
- <button class="BUTTONS" id="CancelBtn" accesskey="A" onclick="window.external.Finish(document, 'cancel');"
- type="button">
- <u>A</u>bbrechen</button>
- </td>
- <td valign="middle" width="4" height="23">
- &nbsp;
- </td>
- <td valign="middle" width="75" height="23">
- <button class="BUTTONS" id="HelpBtn" disabled accesskey="H" onclick="window.external.OnHelp('vc.appwiz.custom.overview');"
- type="button">
- <u>H</u>ilfe</button>
- </td>
- <td valign="middle" width="12" height="23">
- &nbsp;
- </td>
- </tr>
- <tr>
- <td valign="top" colspan="8" height="12">
- &nbsp;
- </td>
- </tr>
- </table>
- <!--CLOSE OF BUTTON HTML//-->
- </td>
- </tr>
- </table>
- <!--CLOSE OF NAVIGATION, CONTENT, AND BUTTON TABLES//-->
- </td>
- </tr>
- </table>
-</body>
-</html>
-<script language="JSCRIPT">
-
- var tab_array = new Array();
- tab_array[0] = Page_1;
- tab_array[1] = Page_2;
-
- // This is an example of a function which initializes the page
- //
- function InitDocument(document) {
- setDirection();
-
- if (window.external.FindSymbol('DOCUMENT_FIRST_LOAD')) {
- // This function sets the default symbols based
- // on the values specified in the SYMBOL tags above
- //
- window.external.SetDefaults(document);
- UpdateFields();
- }
-
- // Load the document and initialize the controls
- // with the appropriate symbol values
- //
- window.external.Load(document);
- InitControls();
- }
-
- function UpdateFields() {
- var regexp = /\s/g;
- var proName = window.external.FindSymbol('PROJECT_NAME').replace(regexp, "");
-
- if (!window.external.dte.VCLanguageManager.ValidateIdentifier(proName) ||
- window.external.dte.VCLanguageManager.IsReservedName(proName)) {
- window.external.AddSymbol("CLASSNAME_TEXT", "MyClass"); // fall back on myclass
- window.external.AddSymbol("HFILE_TEXT", "myclass.h");
- window.external.AddSymbol("CPPFILE_TEXT", "myclass.cpp");
- window.external.AddSymbol("UIFILE_TEXT", "myclass.ui");
-
- } else {
- window.external.AddSymbol("CLASSNAME_TEXT", proName);
- window.external.AddSymbol("HFILE_TEXT", proName.toLowerCase() + ".h");
- window.external.AddSymbol("CPPFILE_TEXT", proName.toLowerCase() + ".cpp");
- window.external.AddSymbol("UIFILE_TEXT", proName.toLowerCase() + ".ui");
- }
- }
-
- function InitControls() {
- var strModules = "";
-
- // Essentials
- if (window.external.FindSymbol('THREED_MODULE'))
- strModules += "3D, ";
- if (window.external.FindSymbol('CORE_MODULE'))
- strModules += "Core, ";
- if (window.external.FindSymbol('GUI_MODULE'))
- strModules += "GUI, ";
- if (window.external.FindSymbol('LOCATION_MODULE'))
- strModules += "Location, ";
- if (window.external.FindSymbol('MULTIMEDIA_MODULE'))
- strModules += "Multimedia, ";
- if (window.external.FindSymbol('MULTIMEDIAWIDGETS_MODULE'))
- strModules += "Multimedia Widgets, ";
- if (window.external.FindSymbol('NETWORK_MODULE'))
- strModules += "Network, ";
- if (window.external.FindSymbol('QML_MODULE'))
- strModules += "Qml, ";
- if (window.external.FindSymbol('QUICK_MODULE'))
- strModules += "Quick, ";
- if (window.external.FindSymbol('SQL_MODULE'))
- strModules += "SQL, ";
- if (window.external.FindSymbol('TEST_MODULE'))
- strModules += "Test, ";
- if (window.external.FindSymbol('WEBKIT_MODULE'))
- strModules += "WebKit, ";
-
- // Add-ons
- // Active Qt better split to server and container
- if (window.external.FindSymbol('AQSERVER_MODULE'))
- strModules += "ActiveQt Server, ";
- if (window.external.FindSymbol('AQCONTAINER_MODULE'))
- strModules += "ActiveQt Container, ";
-
- if (window.external.FindSymbol('BLUETOOTH_MODULE'))
- strModules += "Bluetooth, ";
- if (window.external.FindSymbol('CONCURRENT_MODULE'))
- strModules += "Concurrent, ";
- if (window.external.FindSymbol('DECLARATIVE_MODULE'))
- strModules += "Declarative, ";
- if (window.external.FindSymbol('ENGINIO_MODULE'))
- strModules += "Enginio, ";
- if (window.external.FindSymbol('HELP_MODULE'))
- strModules += "Help, ";
- if (window.external.FindSymbol('NFC_MODULE'))
- strModules += "NFC, ";
- if (window.external.FindSymbol('OPENGL_MODULE'))
- strModules += "OpenGL, ";
- if (window.external.FindSymbol('POSITIONING_MODULE'))
- strModules += "Positioning, ";
- if (window.external.FindSymbol('PRINTSUPPORT_MODULE'))
- strModules += "Print Support, ";
- if (window.external.FindSymbol('QUICKWIDGETS_MODULE'))
- strModules += "Quick Widgets, ";
- if (window.external.FindSymbol('SCRIPT_MODULE'))
- strModules += "Script, ";
- if (window.external.FindSymbol('SCRIPTTOOLS_MODULE'))
- strModules += "Script Tools, ";
- if (window.external.FindSymbol('SENSORS_MODULE'))
- strModules += "Sensors, ";
- if (window.external.FindSymbol('SERIALPORT_MODULE'))
- strModules += "Serial Port, ";
- if (window.external.FindSymbol('SVG_MODULE'))
- strModules += "SVG, ";
- if (window.external.FindSymbol('UITOOLS_MODULE'))
- strModules += "UI Tools, ";
- if (window.external.FindSymbol('WEBCHANNEL_MODULE'))
- strModules += "Web Channel, ";
- if (window.external.FindSymbol('WEBKITWIDGETS_MODULE'))
- strModules += "Webkit Widgets, ";
- if (window.external.FindSymbol('WEBSOCKETS_MODULE'))
- strModules += "Web Sockets, ";
- if (window.external.FindSymbol('WIDGETS_MODULE'))
- strModules += "Widgets, ";
- if (window.external.FindSymbol('WINDOWSEXTRAS_MODULE'))
- strModules += "Windows Extras, ";
- if (window.external.FindSymbol('XML_MODULE'))
- strModules += "XML, ";
- if (window.external.FindSymbol('XMLPATTERNS_MODULE'))
- strModules += "XML Patterns, ";
-
- if (strModules.length < 1)
- strModules = "None selected";
- else
- strModules = strModules.slice(0, strModules.length - 2);
-
- QTMODULES.innerText = strModules;
- }
-
- // If the wizard has more than 1 page, this
- // function will browse to the page specified
- //
- function Next(document, linkto) {
- window.external.Next(document, linkto);
- }
-
- // This is an example of a function which
- // gets called when the user clicks on 'Finish'
- //
- function OnFinish(document) {
- OnWizFinish(document);
- }
-
-</script>
-<script language="JSCRIPT" id="INCLUDE_SCRIPT"></script>
-<script language="JSCRIPT" id="INCLUDE_COMMON"></script>
-<!--
-Common.js is a script file which contains the helper functions
-used by the wizards. Include this line if you want to
-call these functions from your html scripts.
-//-->
-<script>
- var strPath = window.external.FindSymbol("PRODUCT_INSTALLATION_DIR");
- strPath += "VCWizards/";
- strPath += window.external.GetHostLocale();
-
- // verify if the locale folder really exists
- var fso = new ActiveXObject("Scripting.FileSystemObject");
- var found = fso.FolderExists(strPath)
- if (found == false) {
- strPath = window.external.FindSymbol("PRODUCT_INSTALLATION_DIR");
- strPath += "VCWizards/";
- var folder = fso.GetFolder(strPath);
- for (subfolders = new Enumerator(folder.SubFolders); !subfolders.atEnd(); subfolders.moveNext()) {
- for (files = new Enumerator(subfolders.item().files); !files.atEnd(); files.moveNext()) {
- if (files.item().name.toLowerCase().localeCompare("common.js") == 0) {
- found = true;
- strPath += subfolders.item().name;
- break;
- }
- }
- if (found == true)
- break;
- }
- }
-
- var strScriptPath = strPath + "/Script.js";
- var strCommonPath = strPath + "/Common.js";
- document.scripts("INCLUDE_SCRIPT").src = strScriptPath;
- document.scripts("INCLUDE_COMMON").src = strCommonPath;
-</script>
diff --git a/Qt4VS2003/Projects/Qt5ActiveQtServerProject/HTML/1033/Page_2.htm b/Qt4VS2003/Projects/Qt5ActiveQtServerProject/HTML/1033/Page_2.htm
deleted file mode 100644
index c14fcf93..00000000
--- a/Qt4VS2003/Projects/Qt5ActiveQtServerProject/HTML/1033/Page_2.htm
+++ /dev/null
@@ -1,568 +0,0 @@
-<html dir="ltr">
-<head>
- <title>'Qt5ActiveQtServerProject'</title>
- <meta content="http://schemas.microsoft.com/intellisense/ie5" name="vs_targetSchema">
- <link id="LINKURL" rel="stylesheet" href="../../1033/styles.css">
-</head>
-<body onkeypress="OnPress();" onkeydown="OnKey();" bottommargin="0" bgcolor="buttonface"
- leftmargin="0" topmargin="0" onload="InitDocument(document);" rightmargin="0">
- <table class="ONE" height="100%" cellspacing="0" cellpadding="0" width="100%" border="0">
- <colgroup>
- <col width="178">
- <col>
- <!--OPEN OF INTRODUCTORY INFORMATION TABLE//-->
- <tr valign="top">
- <td width="100%" colspan="2" height="79">
- <table class="TWO" cellspacing="0" cellpadding="0" border="0">
- <colgroup>
- <col width="12">
- <col>
- <col width="12">
- <tr>
- <td valign="top" width="12" height="12">
- &nbsp;
- </td>
- <td valign="top" height="12">
- &nbsp;
- </td>
- <td valign="top" width="12" height="12">
- &nbsp;
- </td>
- <td class="IMAGE" valign="bottom" width="110" rowspan="2">
- <div class="SMALLA" id="Layer0">
- <img class="SMALLEST" height="63" alt="" src="..\..\Images\Qt5ActiveQtServerProject.jpg"
- width="63" border="0">
- </div>
- </td>
- <td valign="top" width="6" height="12" rowspan="2">
- &nbsp;
- </td>
- </tr>
- <tr>
- <td valign="top" width="12" height="65">
- &nbsp;
- </td>
- <td valign="top" height="65">
- <h4 class="HEAD" id="HEAD">
- Welcome to the Qt5&nbsp;ActiveQt server&nbsp;project wizard</h4>
- <p class="SUBHEAD" id="SUBHEAD">
- This wizard generates a&nbsp;Qt5&nbsp;ActiveQt server project. It creates a simple
- ActiveQt&nbsp;widget with the required files.&nbsp;</p>
- </td>
- <td valign="top" width="12" height="65">
- &nbsp;
- </td>
- </tr>
- <tr>
- <td class="RULE" valign="top" colspan="5" height="2">
- <table height="1" cellspacing="0" cellpadding="0" width="100%" border="0">
- <tr valign="top">
- <td width="100%" bgcolor="buttonshadow" height="1">
- <img height="1" alt="" src="../../Images/spacer.gif" width="1">
- </td>
- <td width="1" bgcolor="window" height="1">
- <img height="1" alt="" src="../../Images/spacer.gif" width="1">
- </td>
- </tr>
- </table>
- </td>
- </tr>
- </table>
- </td>
- </tr>
- <!--CLOSE OF INTRODUCTORY INFORMATION TABLE//-->
- <!--OPEN OF NAVIGATION, CONTENT, AND BUTTON TABLES//-->
- <tr valign="top">
- <td class="THREE" valign="top" width="178" height="100%">
- <!--OPEN OF NAVIGATION TABLE//-->
- <table class="THREE" cellspacing="0" cellpadding="0" border="0">
- <colgroup>
- <col width="12">
- <col width="166">
- <col width="1">
- <tr>
- <td valign="top" colspan="3" height="12">
- &nbsp;
- </td>
- </tr>
- <tr>
- <td valign="top" width="12" height="100%">
- &nbsp;
- </td>
- <td valign="top" width="165" height="100%">
- <!--OPEN OF NAVIGATIONAL LINKS//-->
- <div class="LINK">
- <table class="LINKTEXT" height="28" cellspacing="0" cellpadding="0" width="166" border="0">
- <tr valign="middle">
- <td width="162">
- <span class="ACTIVELINK" id="Default" title="" onclick="Next(document, 'default.htm');"
- tabindex="1">Overview</span>
- </td>
- <td width="4">
- <img height="1" src="../../Images/spacer.gif" width="4">
- </td>
- </tr>
- </table>
- </div>
- <div class="LINKSELECTED">
- <span class="VERTLINE1">
- <img height="1" alt="" src="../../Images/spacer.gif" width="1" border="0">
- </span><span class="HORILINE1">
- <table height="100%" cellspacing="0" cellpadding="0" width="167" border="0">
- <tr valign="top">
- <td class="DOTTEDLINE" height="1">
- </td>
- </tr>
- <tr valign="top">
- <td height="100%">
- <img height="28" alt="" src="../../Images/spacer.gif" width="1" border="0">
- </td>
- </tr>
- <tr valign="top">
- <td class="DOTTEDLINE" height="1">
- </td>
- </tr>
- </table>
- </span>
- <table class="LINKTEXTSELECTED" height="28" cellspacing="0" cellpadding="0" width="160"
- border="0">
- <tr valign="middle">
- <td width="162">
- <span id="Page_2" title="" onclick="Next(document, 'Page_2.htm');" tabindex="1">Project
- Settings</span>
- </td>
- <td width="4">
- <img height="1" src="../../Images/spacer.gif" width="4">
- </td>
- </tr>
- </table>
- </div>
- <div class="LINK">
- <table class="LINKTEXT" height="28" cellspacing="0" cellpadding="0" width="166" border="0"
- id="Table1">
- <tr valign="middle">
- <td width="162">
- <span class="ACTIVELINK" id="Page_3" title="" onclick="Next(document, 'Page_3.htm');"
- tabindex="1">Generated Class</span>
- </td>
- <td width="4">
- <img height="1" src="../../Images/spacer.gif" width="4">
- </td>
- </tr>
- </table>
- </div>
- <!--CLOSE OF NAVIGATIONAL LINKS//-->
- </td>
- <td width="1">
- <div class="VERTLINE">
- <img height="1" alt="" src="../../Images/spacer.gif" width="1" border="0">
- </div>
- </td>
- </tr>
- </table>
- <!--CLOSE OF NAVIGATION TABLE//-->
- </td>
- <td valign="top" height="100%">
- <!--OPEN OF CONTENT AND BUTTON TABLE//-->
- <table class="ONE" cellspacing="0" cellpadding="0" border="0">
- <colgroup>
- <col width="100%">
- <tr valign="top">
- <td valign="top" height="100%">
- <!--OPEN OF CONTENT//-->
- <table class="CONTENT" cellspacing="0" cellpadding="0" border="0" id="Table2">
- <colgroup>
- <tr>
- <td width="12" height="12">
- </td>
- <td height="12">
- </td>
- <td height="12">
- </td>
- <td height="12">
- </td>
- <td width="12" height="12">
- </td>
- </tr>
- <tr>
- <td valign="top" width="12">
- </td>
- <td valign="top" colspan="3">
- <p>
- Select the modules you want to include in your project. The recommended modules
- for this project are selected by default.</p>
- <!--<P>&nbsp;</P>-->
- </td>
- <td valign="top" width="12">
- </td>
- </tr>
- <tr>
- <td width="12" height="12">
- </td>
- <td height="12">
- </td>
- <td height="12">
- </td>
- <td height="12">
- </td>
- <td width="12" height="12">
- </td>
- </tr>
-<!-- {ADB367FB-48AA-488e-9102-B037297CFCDB} -->
-<!-- -->
-<!-- START. GENERATED WITH SCRIPT, DO NOT EDIT -->
-<!-- -->
-<tr><td valign="top" width="12"></td><td valign="top" colspan="3"></td><td valign="top" width="12"></td></tr>
-<tr>
-<td valign="top" width="12"></td>
-<td valign="top"><input id="THREED_MODULE" title="Select this if you want to include the 3D library" type="checkbox" name="THREED_MODULE_NAME">&nbsp;3D</td>
-<td valign="top"><input id="NETWORK_MODULE" title="Select this if you want to include the Network library" type="checkbox" name="NETWORK_MODULE_NAME">&nbsp;Network</td>
-<td valign="top"><input id="SVG_MODULE" title="Select this if you want to include the SVG library" type="checkbox" name="SVG_MODULE_NAME">&nbsp;SVG</td>
-<td valign="top" width="12"></td>
-</tr>
-<tr>
-<td valign="top" width="12"></td>
-<td valign="top"><input id="AQCONTAINER_MODULE" title="Select this if you want to include the ActiveQt container library" type="checkbox" name="AQCONTAINER_MODULE_NAME">&nbsp;ActiveQt container&nbsp;</td>
-<td valign="top"><input id="NFC_MODULE" title="Select this if you want to include the NFC library" type="checkbox" name="NFC_MODULE_NAME">&nbsp;NFC</td>
-<td valign="top"><input id="TEST_MODULE" title="Select this if you want to include the Test library" type="checkbox" name="TEST_MODULE_NAME">&nbsp;Test</td>
-<td valign="top" width="12"></td>
-</tr>
-<tr>
-<td valign="top" width="12"></td>
-<td valign="top"><input id="AQSERVER_MODULE" title="Select this if you want to include the ActiveQt server library" type="checkbox" name="AQSERVER_MODULE_NAME">&nbsp;ActiveQt&nbsp;server&nbsp;</td>
-<td valign="top"><input id="OPENGL_MODULE" title="Select this if you want to include the OpenGL library" type="checkbox" name="OPENGL_MODULE_NAME">&nbsp;OpenGL</td>
-<td valign="top"><input id="UITOOLS_MODULE" title="Select this if you want to include the UI Tools" type="checkbox" name="UITOOLS_MODULE_NAME">&nbsp;UI Tools</td>
-<td valign="top" width="12"></td>
-</tr>
-<tr>
-<td valign="top" width="12"></td>
-<td valign="top"><input id="BLUETOOTH_MODULE" title="Select this if you want to include the Bluetooth library" type="checkbox" name="BLUETOOTH_MODULE_NAME">&nbsp;Bluetooth</td>
-<td valign="top"><input id="POSITIONING_MODULE" title="Select this if you want to include the Positioning library" type="checkbox" name="POSITIONING_MODULE_NAME">&nbsp;Positioning</td>
-<td valign="top"><input id="WEBCHANNEL_MODULE" title="Select this if you want to include the Web Channel library" type="checkbox" name="WEBCHANNEL_MODULE_NAME">&nbsp;Web Channel</td>
-<td valign="top" width="12"></td>
-</tr>
-<tr>
-<td valign="top" width="12"></td>
-<td valign="top"><input id="CONCURRENT_MODULE" title="Select this if you want to include the Concurrent library" type="checkbox" name="CONCURRENT_MODULE_NAME">&nbsp;Concurrent</td>
-<td valign="top"><input id="PRINTSUPPORT_MODULE" title="Select this if you want to include the Print Support library" type="checkbox" name="PRINTSUPPORT_MODULE_NAME">&nbsp;Print Support</td>
-<td valign="top"><input id="WEBKIT_MODULE" title="Select this if you want to include the WebKit library" type="checkbox" name="WEBKIT_MODULE_NAME">&nbsp;WebKit</td>
-<td valign="top" width="12"></td>
-</tr>
-<tr>
-<td valign="top" width="12"></td>
-<td valign="top"><input id="CORE_MODULE" title="Select this if you want to include the core library" type="checkbox" name="CORE_MODULE_NAME">&nbsp;Core</td>
-<td valign="top"><input id="QML_MODULE" title="Select this if you want to include the QML library" type="checkbox" name="QML_MODULE_NAME">&nbsp;QML</td>
-<td valign="top"><input id="WEBKITWIDGETS_MODULE" title="Select this if you want to include the Webkit Widgets library" type="checkbox" name="WEBKITWIDGETS_MODULE_NAME">&nbsp;Webkit Widgets</td>
-<td valign="top" width="12"></td>
-</tr>
-<tr>
-<td valign="top" width="12"></td>
-<td valign="top"><input id="ENGINIO_MODULE" title="Select this if you want to include the Enginio library" type="checkbox" name="ENGINIO_MODULE_NAME">&nbsp;Enginio</td>
-<td valign="top"><input id="QUICK_MODULE" title="Select this if you want to include the Quick library" type="checkbox" name="QUICK_MODULE_NAME">&nbsp;Quick</td>
-<td valign="top"><input id="WEBSOCKETS_MODULE" title="Select this if you want to include the Web Sockets library" type="checkbox" name="WEBSOCKETS_MODULE_NAME">&nbsp;Web Sockets</td>
-<td valign="top" width="12"></td>
-</tr>
-<tr>
-<td valign="top" width="12"></td>
-<td valign="top"><input id="DECLARATIVE_MODULE" title="Select this if you want to include the Declarative library" type="checkbox" name="DECLARATIVE_MODULE_NAME">&nbsp;Declarative</td>
-<td valign="top"><input id="QUICKWIDGETS_MODULE" title="Select this if you want to include the Quick Widgets library" type="checkbox" name="QUICKWIDGETS_MODULE_NAME">&nbsp;Quick Widgets</td>
-<td valign="top"><input id="WIDGETS_MODULE" title="Select this if you want to include the Widgets library" type="checkbox" name="WIDGETS_MODULE_NAME">&nbsp;Widgets</td>
-<td valign="top" width="12"></td>
-</tr>
-<tr>
-<td valign="top" width="12"></td>
-<td valign="top"><input id="GUI_MODULE" title="Select this if you want to include the GUI library" type="checkbox" name="GUI_MODULE_NAME">&nbsp;GUI</td>
-<td valign="top"><input id="SCRIPT_MODULE" title="Select this if you want to include the Script library" type="checkbox" name="SCRIPT_MODULE_NAME">&nbsp;Script</td>
-<td valign="top"><input id="WINDOWSEXTRAS_MODULE" title="Select this if you want to include the Windows Extras library" type="checkbox" name="WINDOWSEXTRAS_MODULE_NAME">&nbsp;Windows Extras</td>
-<td valign="top" width="12"></td>
-</tr>
-<tr>
-<td valign="top" width="12"></td>
-<td valign="top"><input id="HELP_MODULE" title="Select this if you want to include the Help library" type="checkbox" name="HELP_MODULE_NAME">&nbsp;Help</td>
-<td valign="top"><input id="SCRIPTTOOLS_MODULE" title="Select this if you want to include the Script Tools" type="checkbox" name="SCRIPTTOOLS_MODULE_NAME">&nbsp;Script Tools</td>
-<td valign="top"><input id="XML_MODULE" title="Select this if you want to include the XML library" type="checkbox" name="XML_MODULE_NAME">&nbsp;XML</td>
-<td valign="top" width="12"></td>
-</tr>
-<tr>
-<td valign="top" width="12"></td>
-<td valign="top"><input id="LOCATION_MODULE" title="Select this if you want to include the Location library" type="checkbox" name="LOCATION_MODULE_NAME">&nbsp;Location</td>
-<td valign="top"><input id="SENSORS_MODULE" title="Select this if you want to include the Sensors library" type="checkbox" name="SENSORS_MODULE_NAME">&nbsp;Sensors</td>
-<td valign="top"><input id="XMLPATTERNS_MODULE" title="Select this if you want to include the XML Patterns library" type="checkbox" name="XMLPATTERNS_MODULE_NAME">&nbsp;XML Patterns</td>
-<td valign="top" width="12"></td>
-</tr>
-<tr>
-<td valign="top" width="12"></td>
-<td valign="top"><input id="MULTIMEDIA_MODULE" title="Select this if you want to include the Multimedia library" type="checkbox" name="MULTIMEDIA_MODULE_NAME">&nbsp;Multimedia</td>
-<td valign="top"><input id="SERIALPORT_MODULE" title="Select this if you want to include the Serial Port library" type="checkbox" name="SERIALPORT_MODULE_NAME">&nbsp;Serial Port</td>
-<td valign="top" width="12"></td>
-<td valign="top" width="12"></td>
-</tr>
-<tr>
-<td valign="top" width="12"></td>
-<td valign="top"><input id="MULTIMEDIAWIDGETS_MODULE" title="Select this if you want to include the Multimedia Widgets library" type="checkbox" name="MULTIMEDIAWIDGETS_MODULE_NAME">&nbsp;Multimedia Widgets</td>
-<td valign="top"><input id="SQL_MODULE" title="Select this if you want to include the SQL library" type="checkbox" name="SQL_MODULE_NAME">&nbsp;SQL</td>
-<td valign="top" width="12"></td>
-<td valign="top" width="12"></td>
-</tr>
-<!-- -->
-<!-- END. GENERATED WITH SCRIPT, DO NOT EDIT -->
-<!-- -->
-<!-- {ADB367FB-48AA-488e-9102-B037297CFCDB} -->
-
-
-
-
- <tr>
- <td valign="top" width="12">
- </td>
- <td valign="top" colspan="3">
- <p>
- &nbsp;</p>
- </td>
- <td valign="top" width="12">
- </td>
- </tr>
- <tr>
- <td valign="top" width="12" height="100%">
- </td>
- <td valign="top" height="100%">
- </td>
- <td valign="top" height="100%">
- </td>
- <td valign="top" height="100%">
- </td>
- <td valign="top" width="12" height="100%">
- </td>
- </tr>
- </table>
- <!--CLOSE OF CONTENT//-->
- </TD> </TR>
- <tr valign="bottom">
- <td height="48">
- <!--OPEN OF BUTTON HTML//-->
- <table height="48" cellspacing="0" cellpadding="0" border="0">
- <colgroup>
- <col width="12">
- <col>
- <col width="75">
- <col width="4">
- <col width="75">
- <col width="4">
- <col width="75">
- <col width="12">
- <tr>
- <td class="RULE" valign="top" colspan="8" height="2">
- <table height="1" cellspacing="0" cellpadding="0" width="100%" border="0">
- <tr valign="top">
- </tr>
- </table>
- </td>
- </tr>
- <tr>
- <td valign="top" colspan="8" height="11">
- &nbsp;
- </td>
- </tr>
- <tr>
- <td valign="middle" width="12" height="23">
- &nbsp;
- </td>
- <td valign="top" height="23">
- &nbsp;
- </td>
- <td valign="middle" width="75" height="23">
- <button class="BUTTONS" id="FinishBtn" accesskey="F" onclick="OnFinish(document);"
- type="button">
- <u>F</u>inish</button>
- </td>
- <td valign="middle" width="4" height="23">
- &nbsp;
- </td>
- <td valign="middle" width="75" height="23">
- <button class="BUTTONS" id="CancelBtn" accesskey="C" onclick="window.external.Finish(document, 'cancel');"
- type="button">
- <u>C</u>ancel</button>
- </td>
- <td valign="middle" width="4" height="23">
- &nbsp;
- </td>
- <td valign="middle" width="75" height="23">
- <button class="BUTTONS" id="HelpBtn" disabled accesskey="H" onclick="window.external.OnHelp('vc.appwiz.custom.overview');"
- type="button">
- <u>H</u>elp</button>
- </td>
- <td valign="middle" width="12" height="23">
- &nbsp;
- </td>
- </tr>
- <tr>
- <td valign="top" colspan="8" height="12">
- &nbsp;
- </td>
- </tr>
- </table>
- <!--CLOSE OF BUTTON HTML//-->
- </td>
- </tr>
- </TABLE>
- <!--CLOSE OF NAVIGATION, CONTENT, AND BUTTON TABLES//-->
- </TD> </TR> </TABLE>
-</body>
-</html>
-<script language="JSCRIPT">
-
- var QtEngine;
- var tab_array = new Array();
- tab_array[0] = Default;
- tab_array[1] = Page_2;
-
- // This is an example of a function which initializes the page
- //
- function InitDocument(document) {
- var dte = window.external.dte;
- var version = dte.version;
- if (version == "8.0")
- QtEngine = new ActiveXObject("Digia.Qt5ProjectEngine80");
- else if (version == "9.0")
- QtEngine = new ActiveXObject("Digia.Qt5ProjectEngine90");
- else if (version == "10.0")
- QtEngine = new ActiveXObject("Digia.Qt5ProjectEngine100");
- else if (version == "11.0")
- QtEngine = new ActiveXObject("Digia.Qt5ProjectEngine110");
- else if (version == "12.0")
- QtEngine = new ActiveXObject("Digia.Qt5ProjectEngine120");
- else {
- window.external.ReportError("Cannot instantiate QtProjectEngine object!");
- return false;
- }
-
- setDirection();
- if (window.external.FindSymbol('DOCUMENT_FIRST_LOAD')) {
- // This function sets the default symbols based
- // on the values specified in the SYMBOL tags above
- //
- window.external.SetDefaults(document);
- }
- // Load the document and initialize the controls
- // with the appropriate symbol values
- //
- window.external.Load(document);
-
- // Disable Essential modules which are not installed (Should not found any?)
- DisableUninstalled(THREED_MODULE_NAME, "Qt3D", QtEngine);
- DisableUninstalled(CORE_MODULE_NAME, "QtCore", QtEngine);
- DisableUninstalled(GUI_MODULE_NAME, "QtGui", QtEngine);
- DisableUninstalled(LOCATION_MODULE_NAME, "QtLocation", QtEngine);
- DisableUninstalled(MULTIMEDIA_MODULE_NAME, "QtMultimedia", QtEngine);
- DisableUninstalled(MULTIMEDIAWIDGETS_MODULE_NAME, "QtMultimediaWidgets", QtEngine);
- DisableUninstalled(NETWORK_MODULE_NAME, "QtNetwork", QtEngine);
- DisableUninstalled(QML_MODULE_NAME, "QtQml", QtEngine);
- DisableUninstalled(QUICK_MODULE_NAME, "QtQuick", QtEngine);
- DisableUninstalled(SQL_MODULE_NAME, "QtSql", QtEngine);
- DisableUninstalled(TEST_MODULE_NAME, "QtTest", QtEngine);
- DisableUninstalled(WEBKIT_MODULE_NAME, "QtWebkit", QtEngine);
-
- // Disable Add-on modules which are not installed
- DisableUninstalled(AQCONTAINER_MODULE_NAME, "QtAxContainer", QtEngine);
- DisableUninstalled(AQSERVER_MODULE_NAME, "QtAxServer", QtEngine);
- DisableUninstalled(BLUETOOTH_MODULE_NAME, "QtBluetooth", QtEngine);
- DisableUninstalled(CONCURRENT_MODULE_NAME, "QtConcurrent", QtEngine);
- DisableUninstalled(DECLARATIVE_MODULE_NAME, "QtDeclarative", QtEngine);
- DisableUninstalled(ENGINIO_MODULE_NAME, "Enginio", QtEngine);
- DisableUninstalled(HELP_MODULE_NAME, "QtHelp", QtEngine);
- DisableUninstalled(NFC_MODULE_NAME, "QtNfc", QtEngine);
- DisableUninstalled(OPENGL_MODULE_NAME, "QtOpenGL", QtEngine);
- DisableUninstalled(POSITIONING_MODULE_NAME, "QtPositioning", QtEngine);
- DisableUninstalled(PRINTSUPPORT_MODULE_NAME, "QtPrintSupport", QtEngine);
- DisableUninstalled(QUICKWIDGETS_MODULE_NAME, "QtQuickWidgets", QtEngine);
- DisableUninstalled(SCRIPT_MODULE_NAME, "QtScript", QtEngine);
- DisableUninstalled(SCRIPTTOOLS_MODULE_NAME, "QtScriptTools", QtEngine);
- DisableUninstalled(SENSORS_MODULE_NAME, "QtSensors", QtEngine);
- DisableUninstalled(SERIALPORT_MODULE_NAME, "QtSerialPort", QtEngine);
- DisableUninstalled(SVG_MODULE_NAME, "QtSvg", QtEngine);
- DisableUninstalled(UITOOLS_MODULE_NAME, "QtUiTools", QtEngine);
- DisableUninstalled(WEBCHANNEL_MODULE_NAME, "QtWebChannel", QtEngine);
- DisableUninstalled(WEBKITWIDGETS_MODULE_NAME, "QtWebkitWidgets", QtEngine);
- DisableUninstalled(WEBSOCKETS_MODULE_NAME, "QtWebSockets", QtEngine);
- DisableUninstalled(WIDGETS_MODULE_NAME, "QtWidgets", QtEngine);
- DisableUninstalled(WINDOWSEXTRAS_MODULE_NAME, "QtWinExtras", QtEngine);
- DisableUninstalled(XML_MODULE_NAME, "QtXml", QtEngine);
- DisableUninstalled(XMLPATTERNS_MODULE_NAME, "QtXmlPatterns", QtEngine);
-
- // Disable these cause mandatory for this wizard
- CORE_MODULE_NAME.disabled = true;
- GUI_MODULE_NAME.disabled = true;
- AQSERVER_MODULE_NAME.disabled = true;
- WIDGETS_MODULE_NAME.disabled = true;
- }
-
- function DisableUninstalled(element, lib_name, engine) {
- var not_installed = !engine.IsModuleInstalled(lib_name);
- element.disabled = not_installed;
- if (not_installed) {
- element.title = ""; // Not installed so don't show title
- element.parentNode.className = "addon_disabled";
- }
- return not_installed;
- }
-
- // If the wizard has more than 1 page, this
- // function will browse to the page specified
- //
- function Next(document, linkto) {
- CORE_MODULE_NAME.disabled = false;
- GUI_MODULE_NAME.disabled = false;
- AQSERVER_MODULE_NAME.disabled = false;
- WIDGETS_MODULE_NAME.disabled = false;
- window.external.Next(document, linkto);
- }
-
- // This is an example of a function which
- // gets called when the user clicks on 'Finish'
- //
- function OnFinish(document) {
- CORE_MODULE_NAME.disabled = false;
- GUI_MODULE_NAME.disabled = false;
- AQSERVER_MODULE_NAME.disabled = false;
- WIDGETS_MODULE_NAME.disabled = false;
- OnWizFinish(document);
- }
-
-</script>
-<script language="JSCRIPT" id="INCLUDE_SCRIPT"></script>
-<script language="JSCRIPT" id="INCLUDE_COMMON"></script>
-<!--
-Common.js is a script file which contains the helper functions
-used by the wizards. Include this line if you want to
-call these functions from your html scripts.
-//-->
-<script>
- var strPath = window.external.FindSymbol("PRODUCT_INSTALLATION_DIR");
- strPath += "VCWizards/";
- strPath += window.external.GetHostLocale();
-
- // verify if the locale folder really exists
- var fso = new ActiveXObject("Scripting.FileSystemObject");
- var found = fso.FolderExists(strPath)
- if (found == false) {
- strPath = window.external.FindSymbol("PRODUCT_INSTALLATION_DIR");
- strPath += "VCWizards/";
- var folder = fso.GetFolder(strPath);
- for (subfolders = new Enumerator(folder.SubFolders); !subfolders.atEnd(); subfolders.moveNext()) {
- for (files = new Enumerator(subfolders.item().files); !files.atEnd(); files.moveNext()) {
- if (files.item().name.toLowerCase().localeCompare("common.js") == 0) {
- found = true;
- strPath += subfolders.item().name;
- break;
- }
- }
- if (found == true)
- break;
- }
- }
-
- var strScriptPath = strPath + "/Script.js";
- var strCommonPath = strPath + "/Common.js";
- document.scripts("INCLUDE_SCRIPT").src = strScriptPath;
- document.scripts("INCLUDE_COMMON").src = strCommonPath;
-</script>
diff --git a/Qt4VS2003/Projects/Qt5ActiveQtServerProject/HTML/1033/Page_3.htm b/Qt4VS2003/Projects/Qt5ActiveQtServerProject/HTML/1033/Page_3.htm
deleted file mode 100644
index 04e36155..00000000
--- a/Qt4VS2003/Projects/Qt5ActiveQtServerProject/HTML/1033/Page_3.htm
+++ /dev/null
@@ -1,466 +0,0 @@
-<html dir="ltr">
-<head>
- <title>'Qt5ActiveQtServerProject'</title>
- <meta content="http://schemas.microsoft.com/intellisense/ie5" name="vs_targetSchema">
- <link id="LINKURL" rel="stylesheet" href="../../1033/styles.css">
-</head>
-<body onkeypress="OnPress();" onkeydown="OnKey();" bottommargin="0" bgcolor="buttonface"
- leftmargin="0" topmargin="0" onload="InitDocument(document);" rightmargin="0">
- <table class="ONE" height="100%" cellspacing="0" cellpadding="0" width="100%" border="0">
- <colgroup>
- <col width="178">
- <col>
- <!--OPEN OF INTRODUCTORY INFORMATION TABLE//-->
- <tr valign="top">
- <td width="100%" colspan="2" height="79">
- <table class="TWO" cellspacing="0" cellpadding="0" border="0">
- <colgroup>
- <col width="12">
- <col>
- <col width="12">
- <tr>
- <td valign="top" width="12" height="12">
- &nbsp;
- </td>
- <td valign="top" height="12">
- &nbsp;
- </td>
- <td valign="top" width="12" height="12">
- &nbsp;
- </td>
- <td class="IMAGE" valign="bottom" width="110" rowspan="2">
- <div class="SMALLA" id="Layer0">
- <img class="SMALLEST" height="63" alt="" src="..\..\Images\Qt5ActiveQtServerProject.jpg"
- width="63" border="0">
- </div>
- </td>
- <td valign="top" width="6" height="12" rowspan="2">
- &nbsp;
- </td>
- </tr>
- <tr>
- <td valign="top" width="12" height="65">
- &nbsp;
- </td>
- <td valign="top" height="65">
- <h4 class="HEAD" id="HEAD">
- Welcome to the Qt5&nbsp;ActiveQt server&nbsp;project wizard</h4>
- <p class="SUBHEAD" id="SUBHEAD">
- This wizard generates a&nbsp;Qt5&nbsp;ActiveQt server project. It creates a simple
- ActiveQt&nbsp;widget with the required files.&nbsp;</p>
- </td>
- <td valign="top" width="12" height="65">
- &nbsp;
- </td>
- </tr>
- <tr>
- <td class="RULE" valign="top" colspan="5" height="2">
- <table height="1" cellspacing="0" cellpadding="0" width="100%" border="0">
- <tr valign="top">
- <td width="100%" bgcolor="buttonshadow" height="1">
- <img height="1" alt="" src="../../Images/spacer.gif" width="1">
- </td>
- <td width="1" bgcolor="window" height="1">
- <img height="1" alt="" src="../../Images/spacer.gif" width="1">
- </td>
- </tr>
- </table>
- </td>
- </tr>
- </table>
- </td>
- </tr>
- <!--CLOSE OF INTRODUCTORY INFORMATION TABLE//-->
- <!--OPEN OF NAVIGATION, CONTENT, AND BUTTON TABLES//-->
- <tr valign="top">
- <td class="THREE" valign="top" width="178" height="100%">
- <!--OPEN OF NAVIGATION TABLE//-->
- <table class="THREE" cellspacing="0" cellpadding="0" border="0">
- <colgroup>
- <col width="12">
- <col width="166">
- <col width="1">
- <tr>
- <td valign="top" colspan="3" height="12">
- &nbsp;
- </td>
- </tr>
- <tr>
- <td valign="top" width="12" height="100%">
- &nbsp;
- </td>
- <td valign="top" width="165" height="100%">
- <!--OPEN OF NAVIGATIONAL LINKS//-->
- <div class="LINK">
- <table class="LINKTEXT" height="28" cellspacing="0" cellpadding="0" width="166" border="0">
- <tr valign="middle">
- <td width="162">
- <span class="ACTIVELINK" id="Page_1" title="" onclick="Next(document, 'default.htm');"
- tabindex="1">Overview</span>
- </td>
- <td width="4">
- <img height="1" src="../../Images/spacer.gif" width="4">
- </td>
- </tr>
- </table>
- </div>
- <div class="LINK">
- <table class="LINKTEXT" height="28" cellspacing="0" cellpadding="0" width="166" border="0"
- id="Table1">
- <tr valign="middle">
- <td width="162">
- <span class="ACTIVELINK" id="Page_2" title="" onclick="Next(document, 'Page_2.htm');"
- tabindex="1">Project Settings</span>
- </td>
- <td width="4">
- <img height="1" src="../../Images/spacer.gif" width="4">
- </td>
- </tr>
- </table>
- </div>
- <div class="LINKSELECTED">
- <span class="VERTLINE1">
- <img height="1" alt="" src="../../Images/spacer.gif" width="1" border="0">
- </span><span class="HORILINE1">
- <table height="100%" cellspacing="0" cellpadding="0" width="167" border="0">
- <tr valign="top">
- <td class="DOTTEDLINE" height="1">
- </td>
- </tr>
- <tr valign="top">
- <td height="100%">
- <img height="28" alt="" src="../../Images/spacer.gif" width="1" border="0">
- </td>
- </tr>
- <tr valign="top">
- <td class="DOTTEDLINE" height="1">
- </td>
- </tr>
- </table>
- </span>
- <table class="LINKTEXTSELECTED" height="28" cellspacing="0" cellpadding="0" width="160"
- border="0">
- <tr valign="middle">
- <td width="162">
- <span id="Page_3" title="" onclick="Next(document, 'Page_2.htm');" tabindex="1">Generated
- Class</span>
- </td>
- <td width="4">
- <img height="1" src="../../Images/spacer.gif" width="4">
- </td>
- </tr>
- </table>
- </div>
- <!--CLOSE OF NAVIGATIONAL LINKS//-->
- </td>
- <td width="1">
- <div class="VERTLINE">
- <img height="1" alt="" src="../../Images/spacer.gif" width="1" border="0">
- </div>
- </td>
- </tr>
- </table>
- <!--CLOSE OF NAVIGATION TABLE//-->
- </td>
- <td valign="top" height="100%">
- <!--OPEN OF CONTENT AND BUTTON TABLE//-->
- <table class="ONE" cellspacing="0" cellpadding="0" border="0">
- <colgroup>
- <col width="100%">
- <tr valign="top">
- <td valign="top" height="100%">
- <!--OPEN OF CONTENT//-->
- <table class="CONTENT" cellspacing="0" cellpadding="0" border="0">
- <colgroup>
- <tr>
- <td width="12" height="12">
- </td>
- <td height="12">
- </td>
- <td height="12">
- </td>
- <td width="12" height="12">
- </td>
- </tr>
- <tr>
- <td valign="top" width="12">
- </td>
- <td valign="top">
- Class name:
- </td>
- <td valign="top">
- .h&nbsp;file:
- </td>
- <td valign="top" width="12">
- </td>
- </tr>
- <tr>
- <td valign="top" width="12">
- </td>
- <td valign="top">
- <input id="CLASSNAME_TEXT" type="text" name="className" onpropertychange="ClassNameChanged();">
- </td>
- <td valign="top">
- <input id="HFILE_TEXT" type="text" name="hFile">
- </td>
- <td valign="top" width="12">
- </td>
- </tr>
- <tr>
- <td valign="top" width="12">
- </td>
- <td valign="top">
- .cpp&nbsp;file:
- </td>
- <td valign="top">
- <p>
- .ui&nbsp;file:</p>
- </td>
- <td valign="top" width="12">
- </td>
- </tr>
- <tr>
- <td valign="top" width="12">
- </td>
- <td valign="top">
- <input id="CPPFILE_TEXT" type="text" name="cppFile">
- </td>
- <td valign="top">
- <input id="UIFILE_TEXT" type="text" name="uiFile">
- </td>
- <td valign="top" width="12">
- </td>
- </tr>
- <tr>
- <td width="12" height="24">
- </td>
- <td height="12" colspan="2">
- <input id="PRECOMPILED_HEADERS" title="Use Precompiled Headers" type="checkbox" name="precompiledHeaders">Use
- Precompiled Headers
- </td>
- <td width="12" height="12">
- </td>
- </tr>
- <tr>
- <td valign="top" width="12" height="100%">
- </td>
- <td valign="top" height="100%">
- </td>
- <td valign="top" height="100%">
- </td>
- <td valign="top" width="12" height="100%">
- </td>
- </tr>
- </table>
- <!--CLOSE OF CONTENT//-->
- </td>
- </tr>
- <tr valign="bottom">
- <td height="48">
- <!--OPEN OF BUTTON HTML//-->
- <table height="48" cellspacing="0" cellpadding="0" border="0">
- <colgroup>
- <col width="12">
- <col>
- <col width="75">
- <col width="4">
- <col width="75">
- <col width="4">
- <col width="75">
- <col width="12">
- <tr>
- <td class="RULE" valign="top" colspan="8" height="2">
- <table height="1" cellspacing="0" cellpadding="0" width="100%" border="0">
- <tr valign="top">
- </tr>
- </table>
- </td>
- </tr>
- <tr>
- <td valign="top" colspan="8" height="11">
- &nbsp;
- </td>
- </tr>
- <tr>
- <td valign="middle" width="12" height="23">
- &nbsp;
- </td>
- <td valign="top" height="23">
- &nbsp;
- </td>
- <td valign="middle" width="75" height="23">
- <button class="BUTTONS" id="FinishBtn" accesskey="F" onclick="OnFinish(document);"
- type="button">
- <u>F</u>inish</button>
- </td>
- <td valign="middle" width="4" height="23">
- &nbsp;
- </td>
- <td valign="middle" width="75" height="23">
- <button class="BUTTONS" id="CancelBtn" accesskey="C" onclick="window.external.Finish(document, 'cancel');"
- type="button">
- <u>C</u>ancel</button>
- </td>
- <td valign="middle" width="4" height="23">
- &nbsp;
- </td>
- <td valign="middle" width="75" height="23">
- <button class="BUTTONS" id="HelpBtn" disabled accesskey="H" onclick="window.external.OnHelp('vc.appwiz.custom.overview');"
- type="button">
- <u>H</u>elp</button>
- </td>
- <td valign="middle" width="12" height="23">
- &nbsp;
- </td>
- </tr>
- <tr>
- <td valign="top" colspan="8" height="12">
- &nbsp;
- </td>
- </tr>
- </table>
- <!--CLOSE OF BUTTON HTML//-->
- </td>
- </tr>
- </table>
- <!--CLOSE OF NAVIGATION, CONTENT, AND BUTTON TABLES//-->
- </td>
- </tr>
- </table>
-</body>
-</html>
-<script language="JSCRIPT">
-
- var tab_array = new Array();
- tab_array[0] = Page_1;
- tab_array[1] = Page_2;
-
- // This is an example of a function which initializes the page
- //
- function InitDocument(document) {
- setDirection();
-
- if (window.external.FindSymbol('DOCUMENT_FIRST_LOAD')) {
- // This function sets the default symbols based
- // on the values specified in the SYMBOL tags above
- //
- window.external.SetDefaults(document);
- }
-
- // Load the document and initialize the controls
- // with the appropriate symbol values
- //
- window.external.Load(document);
- }
-
- function ClassNameChanged() {
- HFILE_TEXT.value = CLASSNAME_TEXT.value.toLowerCase() + ".h";
- CPPFILE_TEXT.value = CLASSNAME_TEXT.value.toLowerCase() + ".cpp";
- UIFILE_TEXT.value = CLASSNAME_TEXT.value.toLowerCase() + ".ui";
- }
-
- function ValidateAndUpdate() {
- var Inputs = document.all.tags("INPUT");
-
- var regexp = /\s/g;
- var proName = window.external.FindSymbol('PROJECT_NAME').replace(regexp, "");
-
- var field = Inputs.item("className");
- if (!window.external.dte.VCLanguageManager.ValidateIdentifier(field.value) ||
- window.external.dte.VCLanguageManager.IsReservedName(field.value)) {
- window.external.ReportError("Not a valid class name!");
- field.value = proName;
- return false;
- }
-
- field = Inputs.item("hFile");
- if (!ValidateFileName(field.value)) {
- window.external.ReportError("Not a valid file name!");
- field.value = proName.toLowerCase() + ".h";
- return false;
- }
-
- field = Inputs.item("cppFile");
- if (!ValidateFileName(field.value)) {
- window.external.ReportError("Not a valid file name!");
- field.value = proName.toLowerCase() + ".cpp";
- return false;
- }
-
- field = Inputs.item("uiFile");
- var strFile = field.value.toLowerCase().replace(".h", ".x"); // don't validate .h files...
- var strFile = strFile.replace(".ui", ".h");
- if (!ValidateFileName(strFile)) {
- window.external.ReportError("Not a valid file name!");
- field.value = proName.toLowerCase() + ".ui";
- return false;
- }
-
- return true;
- }
-
- function ValidateFileName(FileName) {
- if (!window.external.dte.VCLanguageManager.ValidateFileName(FileName))
- return false;
- if (FileName.search(/[\\\/\:\*\?\"\<\>\|]/g) != -1)
- return false;
- return true;
- }
-
- // If the wizard has more than 1 page, this
- // function will browse to the page specified
- //
- function Next(document, linkto) {
- if (!ValidateAndUpdate())
- return;
-
- window.external.Next(document, linkto);
- }
-
- // This is an example of a function which
- // gets called when the user clicks on 'Finish'
- //
- function OnFinish(document) {
- if (!ValidateAndUpdate())
- return;
- OnWizFinish(document);
- }
-
-</script>
-<script language="JSCRIPT" id="INCLUDE_SCRIPT"></script>
-<script language="JSCRIPT" id="INCLUDE_COMMON"></script>
-<!--
-Common.js is a script file which contains the helper functions
-used by the wizards. Include this line if you want to
-call these functions from your html scripts.
-//-->
-<script>
- var strPath = window.external.FindSymbol("PRODUCT_INSTALLATION_DIR");
- strPath += "VCWizards/";
- strPath += window.external.GetHostLocale();
-
- // verify if the locale folder really exists
- var fso = new ActiveXObject("Scripting.FileSystemObject");
- var found = fso.FolderExists(strPath)
- if (found == false) {
- strPath = window.external.FindSymbol("PRODUCT_INSTALLATION_DIR");
- strPath += "VCWizards/";
- var folder = fso.GetFolder(strPath);
- for (subfolders = new Enumerator(folder.SubFolders); !subfolders.atEnd(); subfolders.moveNext()) {
- for (files = new Enumerator(subfolders.item().files); !files.atEnd(); files.moveNext()) {
- if (files.item().name.toLowerCase().localeCompare("common.js") == 0) {
- found = true;
- strPath += subfolders.item().name;
- break;
- }
- }
- if (found == true)
- break;
- }
- }
-
- var strScriptPath = strPath + "/Script.js";
- var strCommonPath = strPath + "/Common.js";
- document.scripts("INCLUDE_SCRIPT").src = strScriptPath;
- document.scripts("INCLUDE_COMMON").src = strCommonPath;
-</script>
diff --git a/Qt4VS2003/Projects/Qt5ActiveQtServerProject/HTML/1033/default.htm b/Qt4VS2003/Projects/Qt5ActiveQtServerProject/HTML/1033/default.htm
deleted file mode 100644
index 71752837..00000000
--- a/Qt4VS2003/Projects/Qt5ActiveQtServerProject/HTML/1033/default.htm
+++ /dev/null
@@ -1,522 +0,0 @@
-<html dir="ltr">
-<head>
- <title>'Qt5ActiveQtServerProject'</title>
- <meta content="http://schemas.microsoft.com/intellisense/ie5" name="vs_targetSchema">
- <link id="LINKURL" rel="stylesheet" href="../../1033/styles.css">
- <!-- -->
- <!-- The SYMBOL tag is used to set the default values for the user-defined symbols.-->
- <!-- -->
- <symbol name="WIZARD_DIALOG_TITLE" type="text" value="Qt5 ActiveQt Server"></symbol>
- <symbol name="THREED_MODULE" type="checkbox" value="false"></symbol>
- <symbol name="AQCONTAINER_MODULE" type="checkbox" value="false"></symbol>
- <symbol name="AQSERVER_MODULE" type="checkbox" value="true"></symbol>
- <symbol name="BLUETOOTH_MODULE" type="checkbox" value="false"></symbol>
- <symbol name="CONCURRENT_MODULE" type="checkbox" value="false"></symbol>
- <symbol name="CORE_MODULE" type="checkbox" value="true"></symbol>
- <symbol name="ENGINIO_MODULE" type="checkbox" value="false"></symbol>
- <symbol name="DECLARATIVE_MODULE" type="checkbox" value="false"></symbol>
- <symbol name="GUI_MODULE" type="checkbox" value="true"></symbol>
- <symbol name="HELP_MODULE" type="checkbox" value="true"></symbol>
- <symbol name="LOCATION_MODULE" type="checkbox" value="false"></symbol>
- <symbol name="MULTIMEDIA_MODULE" type="checkbox" value="false"></symbol>
- <symbol name="MULTIMEDIAWIDGETS_MODULE" type="checkbox" value="false"></symbol>
- <symbol name="NETWORK_MODULE" type="checkbox" value="false"></symbol>
- <symbol name="NFC_MODULE" type="checkbox" value="false"></symbol>
- <symbol name="OPENGL_MODULE" type="checkbox" value="false"></symbol>
- <symbol name="POSITIONING_MODULE" type="checkbox" value="false"></symbol>
- <symbol name="PRINTSUPPORT_MODULE" type="checkbox" value="false"></symbol>
- <symbol name="QML_MODULE" type="checkbox" value="false"></symbol>
- <symbol name="QUICK_MODULE" type="checkbox" value="false"></symbol>
- <symbol name="QUICKWIDGETS_MODULE" type="checkbox" value="false"></symbol>
- <symbol name="SCRIPT_MODULE" type="checkbox" value="false"></symbol>
- <symbol name="SCRIPTTOOLS_MODULE" type="checkbox" value="false"></symbol>
- <symbol name="SENSORS_MODULE" type="checkbox" value="false"></symbol>
- <symbol name="SERIALPORT_MODULE" type="checkbox" value="false"></symbol>
- <symbol name="SQL_MODULE" type="checkbox" value="false"></symbol>
- <symbol name="SVG_MODULE" type="checkbox" value="false"></symbol>
- <symbol name="TEST_MODULE" type="checkbox" value="false"></symbol>
- <symbol name="UITOOLS_MODULE" type="checkbox" value="false"></symbol>
- <symbol name="WEBCHANNEL_MODULE" type="checkbox" value="false"></symbol>
- <symbol name="WEBKIT_MODULE" type="checkbox" value="false"></symbol>
- <symbol name="WEBKITWIDGETS_MODULE" type="checkbox" value="false"></symbol>
- <symbol name="WEBSOCKETS_MODULE" type="checkbox" value="false"></symbol>
- <symbol name="WIDGETS_MODULE" type="checkbox" value="true"></symbol>
- <symbol name="WINDOWSEXTRAS_MODULE" type="checkbox" value="false"></symbol>
- <symbol name="XML_MODULE" type="checkbox" value="false"></symbol>
- <symbol name="XMLPATTERNS_MODULE" type="checkbox" value="false"></symbol>
- <symbol name="CLASSNAME_TEXT" type="text" value=""></symbol>
- <symbol name="HFILE_TEXT" type="text" value=""></symbol>
- <symbol name="CPPFILE_TEXT" type="text" value=""></symbol>
- <symbol name="UIFILE_TEXT" type="text" value=""></symbol>
- <symbol name="APP_TYPE_SUMMARY" type="text" value="Qt5 ActiveQt Server"></symbol>
-</head>
-<body onkeypress="OnPress();" onkeydown="OnKey();" bottommargin="0" bgcolor="buttonface"
- leftmargin="0" topmargin="0" onload="InitDocument(document);" rightmargin="0">
- <table class="ONE" height="100%" cellspacing="0" cellpadding="0" width="100%" border="0">
- <colgroup>
- <col width="178">
- <col>
- <!--OPEN OF INTRODUCTORY INFORMATION TABLE//-->
- <tr valign="top">
- <td width="100%" colspan="2" height="79">
- <table class="TWO" cellspacing="0" cellpadding="0" border="0">
- <colgroup>
- <col width="12">
- <col>
- <col width="12">
- <tr>
- <td valign="top" width="12" height="12">
- &nbsp;
- </td>
- <td valign="top" height="12">
- &nbsp;
- </td>
- <td valign="top" width="12" height="12">
- &nbsp;
- </td>
- <td class="IMAGE" valign="bottom" width="110" rowspan="2">
- <div class="SMALLA" id="Layer0">
- <img class="SMALLEST" height="63" alt="" src="../../Images/Qt5ActiveQtServerProject.jpg"
- width="63" border="0">
- </div>
- </td>
- <td valign="top" width="6" height="12" rowspan="2">
- &nbsp;
- </td>
- </tr>
- <tr>
- <td valign="top" width="12" height="65">
- &nbsp;
- </td>
- <td valign="top" height="65">
- <h4 class="HEAD" id="HEAD">
- Welcome to the Qt5&nbsp;ActiveQt server&nbsp;project wizard</h4>
- <p class="SUBHEAD" id="SUBHEAD">
- This wizard generates a&nbsp;Qt5&nbsp;ActiveQt server project. It creates a simple
- ActiveQt&nbsp;widget with the required files.</p>
- </td>
- <td valign="top" width="12" height="65">
- &nbsp;
- </td>
- </tr>
- <tr>
- <td class="RULE" valign="top" colspan="5" height="2">
- <table height="1" cellspacing="0" cellpadding="0" width="100%" border="0">
- <tr valign="top">
- <td width="100%" bgcolor="buttonshadow" height="1">
- <img height="1" alt="" src="../../Images/spacer.gif" width="1">
- </td>
- <td width="1" bgcolor="window" height="1">
- <img height="1" alt="" src="../../Images/spacer.gif" width="1">
- </td>
- </tr>
- </table>
- </td>
- </tr>
- </table>
- </td>
- </tr>
- <!--CLOSE OF INTRODUCTORY INFORMATION TABLE//-->
- <!--OPEN OF NAVIGATION, CONTENT, AND BUTTON TABLES//-->
- <tr valign="top">
- <td class="THREE" valign="top" width="178" height="100%">
- <!--OPEN OF NAVIGATION TABLE//-->
- <table class="THREE" cellspacing="0" cellpadding="0" border="0">
- <colgroup>
- <col width="12">
- <col width="166">
- <col width="1">
- <tr>
- <td valign="top" colspan="3" height="12">
- &nbsp;
- </td>
- </tr>
- <tr>
- <td valign="top" width="12" height="100%">
- &nbsp;
- </td>
- <td valign="top" width="165" height="100%">
- <!--OPEN OF NAVIGATIONAL LINKS//-->
- <div class="LINKSELECTED">
- <span class="VERTLINE1">
- <img height="1" alt="" src="../../Images/spacer.gif" width="1" border="0">
- </span><span class="HORILINE1">
- <table height="100%" cellspacing="0" cellpadding="0" width="167" border="0">
- <tr valign="top">
- <td class="DOTTEDLINE" height="1">
- </td>
- </tr>
- <tr valign="top">
- <td height="100%">
- <img height="28" alt="" src="../../Images/spacer.gif" width="1" border="0">
- </td>
- </tr>
- <tr valign="top">
- <td class="DOTTEDLINE" height="1">
- </td>
- </tr>
- </table>
- </span>
- <table class="LINKTEXTSELECTED" height="28" cellspacing="0" cellpadding="0" width="160"
- border="0">
- <tr valign="middle">
- <td width="156">
- <span id="Page_1" title="" onclick="Next(document, 'default.htm');" tabindex="1">Overview</span>
- </td>
- <td width="4">
- <img height="1" src="../../Images/spacer.gif" width="4">
- </td>
- </tr>
- </table>
- </div>
- <div class="LINK">
- <table class="LINKTEXT" height="28" cellspacing="0" cellpadding="0" width="166" border="0">
- <tr valign="middle">
- <td width="162">
- <span class="ACTIVELINK" id="Page_2" title="" onclick="Next(document, 'Page_2.htm');"
- tabindex="1">Project Settings</span>
- </td>
- <td width="4">
- <img height="1" src="../../Images/spacer.gif" width="4">
- </td>
- </tr>
- </table>
- </div>
- <div class="LINK">
- <table class="LINKTEXT" height="28" cellspacing="0" cellpadding="0" width="166" border="0"
- id="Table1">
- <tr valign="middle">
- <td width="162">
- <span class="ACTIVELINK" id="Page_3" title="" onclick="Next(document, 'Page_3.htm');"
- tabindex="1">Generated Class</span>
- </td>
- <td width="4">
- <img height="1" src="../../Images/spacer.gif" width="4">
- </td>
- </tr>
- </table>
- </div>
- <!--CLOSE OF NAVIGATIONAL LINKS//-->
- </td>
- <td width="1">
- <div class="VERTLINE">
- <img height="1" alt="" src="../../Images/spacer.gif" width="1" border="0">
- </div>
- </td>
- </tr>
- </table>
- <!--CLOSE OF NAVIGATION TABLE//-->
- </td>
- <td valign="top" height="100%">
- <!--OPEN OF CONTENT AND BUTTON TABLE//-->
- <table class="ONE" cellspacing="0" cellpadding="0" border="0">
- <colgroup>
- <col width="100%">
- <tr valign="top">
- <td height="100%">
- <!--OPEN OF CONTENT//-->
- <table class="CONTENT" cellspacing="0" cellpadding="0" border="0">
- <colgroup>
- <col width="12">
- <col width="185">
- <col width="12">
- <col width="185">
- <col width="12">
- <col width="185">
- <col width="12">
- <tr>
- <td valign="top" colspan="5" height="12">
- &nbsp;
- </td>
- </tr>
- <tr valign="top">
- <td valign="top" width="12">
- &nbsp;
- </td>
- <td valign="top" colspan="3">
- <p>
- <span class="ItemTextTop" id="PROJECT_SETTINGS_SPAN">These are currently selected Qt
- modules:</span></p>
- <p>
- <span class="ItemTextTop"></span><span class="ItemText" id="QTMODULES" title="">
- </span>
- </p>
- <p>
- <span class="ItemText" title=""></span><span class="ItemText" id="FinishText">Click
- <b>Finish</b> from any window to accept the current settings.</span>
- </p>
- </td>
- <td valign="top" width="12">
- &nbsp;
- </td>
- </tr>
- <tr>
- <td valign="top" colspan="7" height="100%">
- &nbsp;
- </td>
- </tr>
- </table>
- <!--CLOSE OF CONTENT//-->
- </td>
- </tr>
- <tr valign="bottom">
- <td height="48">
- <!--OPEN OF BUTTON HTML//-->
- <table height="48" cellspacing="0" cellpadding="0" border="0">
- <colgroup>
- <col width="12">
- <col>
- <col width="75">
- <col width="4">
- <col width="75">
- <col width="4">
- <col width="75">
- <col width="12">
- <tr>
- <td class="RULE" valign="top" colspan="8" height="2">
- <table height="1" cellspacing="0" cellpadding="0" width="100%" border="0">
- <tr valign="top">
- </tr>
- </table>
- </td>
- </tr>
- <tr>
- <td valign="top" colspan="8" height="11">
- &nbsp;
- </td>
- </tr>
- <tr>
- <td valign="middle" width="12" height="23">
- &nbsp;
- </td>
- <td valign="top" height="23">
- &nbsp;
- </td>
- <td valign="middle" width="75" height="23">
- <button class="BUTTONS" id="FinishBtn" accesskey="F" onclick="OnFinish(document);"
- type="button">
- <u>F</u>inish</button>
- </td>
- <td valign="middle" width="4" height="23">
- &nbsp;
- </td>
- <td valign="middle" width="75" height="23">
- <button class="BUTTONS" id="CancelBtn" accesskey="C" onclick="window.external.Finish(document, 'cancel');"
- type="button">
- <u>C</u>ancel</button>
- </td>
- <td valign="middle" width="4" height="23">
- &nbsp;
- </td>
- <td valign="middle" width="75" height="23">
- <button class="BUTTONS" id="HelpBtn" disabled accesskey="H" onclick="window.external.OnHelp('vc.appwiz.custom.overview');"
- type="button">
- <u>H</u>elp</button>
- </td>
- <td valign="middle" width="12" height="23">
- &nbsp;
- </td>
- </tr>
- <tr>
- <td valign="top" colspan="8" height="12">
- &nbsp;
- </td>
- </tr>
- </table>
- <!--CLOSE OF BUTTON HTML//-->
- </td>
- </tr>
- </table>
- <!--CLOSE OF NAVIGATION, CONTENT, AND BUTTON TABLES//-->
- </td>
- </tr>
- </table>
-</body>
-</html>
-<script language="JSCRIPT">
-
- var tab_array = new Array();
- tab_array[0] = Page_1;
- tab_array[1] = Page_2;
-
- // This is an example of a function which initializes the page
- //
- function InitDocument(document) {
- setDirection();
-
- if (window.external.FindSymbol('DOCUMENT_FIRST_LOAD')) {
- // This function sets the default symbols based
- // on the values specified in the SYMBOL tags above
- //
- window.external.SetDefaults(document);
- UpdateFields();
- }
-
- // Load the document and initialize the controls
- // with the appropriate symbol values
- //
- window.external.Load(document);
- InitControls();
- }
-
- function UpdateFields() {
- var regexp = /\s/g;
- var proName = window.external.FindSymbol('PROJECT_NAME').replace(regexp, "");
-
- if (!window.external.dte.VCLanguageManager.ValidateIdentifier(proName) ||
- window.external.dte.VCLanguageManager.IsReservedName(proName)) {
- window.external.AddSymbol("CLASSNAME_TEXT", "MyClass"); // fall back on myclass
- window.external.AddSymbol("HFILE_TEXT", "myclass.h");
- window.external.AddSymbol("CPPFILE_TEXT", "myclass.cpp");
- window.external.AddSymbol("UIFILE_TEXT", "myclass.ui");
- } else {
- window.external.AddSymbol("CLASSNAME_TEXT", proName);
- window.external.AddSymbol("HFILE_TEXT", proName.toLowerCase() + ".h");
- window.external.AddSymbol("CPPFILE_TEXT", proName.toLowerCase() + ".cpp");
- window.external.AddSymbol("UIFILE_TEXT", proName.toLowerCase() + ".ui");
- }
- }
-
- function InitControls() {
- var strModules = "";
-
- // Essentials
- if (window.external.FindSymbol('THREED_MODULE'))
- strModules += "3D, ";
- if (window.external.FindSymbol('CORE_MODULE'))
- strModules += "Core, ";
- if (window.external.FindSymbol('GUI_MODULE'))
- strModules += "GUI, ";
- if (window.external.FindSymbol('LOCATION_MODULE'))
- strModules += "Location, ";
- if (window.external.FindSymbol('MULTIMEDIA_MODULE'))
- strModules += "Multimedia, ";
- if (window.external.FindSymbol('MULTIMEDIAWIDGETS_MODULE'))
- strModules += "Multimedia Widgets, ";
- if (window.external.FindSymbol('NETWORK_MODULE'))
- strModules += "Network, ";
- if (window.external.FindSymbol('QML_MODULE'))
- strModules += "Qml, ";
- if (window.external.FindSymbol('QUICK_MODULE'))
- strModules += "Quick, ";
- if (window.external.FindSymbol('SQL_MODULE'))
- strModules += "SQL, ";
- if (window.external.FindSymbol('TEST_MODULE'))
- strModules += "Test, ";
- if (window.external.FindSymbol('WEBKIT_MODULE'))
- strModules += "WebKit, ";
-
- // Add-ons
- // Active Qt better split to server and container
- if (window.external.FindSymbol('AQSERVER_MODULE'))
- strModules += "ActiveQt Server, ";
- if (window.external.FindSymbol('AQCONTAINER_MODULE'))
- strModules += "ActiveQt Container, ";
-
- if (window.external.FindSymbol('BLUETOOTH_MODULE'))
- strModules += "Bluetooth, ";
- if (window.external.FindSymbol('CONCURRENT_MODULE'))
- strModules += "Concurrent, ";
- if (window.external.FindSymbol('DECLARATIVE_MODULE'))
- strModules += "Declarative, ";
- if (window.external.FindSymbol('ENGINIO_MODULE'))
- strModules += "Enginio, ";
- if (window.external.FindSymbol('HELP_MODULE'))
- strModules += "Help, ";
- if (window.external.FindSymbol('NFC_MODULE'))
- strModules += "NFC, ";
- if (window.external.FindSymbol('OPENGL_MODULE'))
- strModules += "OpenGL, ";
- if (window.external.FindSymbol('POSITIONING_MODULE'))
- strModules += "Positioning, ";
- if (window.external.FindSymbol('PRINTSUPPORT_MODULE'))
- strModules += "Print Support, ";
- if (window.external.FindSymbol('QUICKWIDGETS_MODULE'))
- strModules += "Quick Widgets, ";
- if (window.external.FindSymbol('SCRIPT_MODULE'))
- strModules += "Script, ";
- if (window.external.FindSymbol('SCRIPTTOOLS_MODULE'))
- strModules += "Script Tools, ";
- if (window.external.FindSymbol('SENSORS_MODULE'))
- strModules += "Sensors, ";
- if (window.external.FindSymbol('SERIALPORT_MODULE'))
- strModules += "Serial Port, ";
- if (window.external.FindSymbol('SVG_MODULE'))
- strModules += "SVG, ";
- if (window.external.FindSymbol('UITOOLS_MODULE'))
- strModules += "UI Tools, ";
- if (window.external.FindSymbol('WEBCHANNEL_MODULE'))
- strModules += "Web Channel, ";
- if (window.external.FindSymbol('WEBKITWIDGETS_MODULE'))
- strModules += "Webkit Widgets, ";
- if (window.external.FindSymbol('WEBSOCKETS_MODULE'))
- strModules += "Web Sockets, ";
- if (window.external.FindSymbol('WIDGETS_MODULE'))
- strModules += "Widgets, ";
- if (window.external.FindSymbol('WINDOWSEXTRAS_MODULE'))
- strModules += "Windows Extras, ";
- if (window.external.FindSymbol('XML_MODULE'))
- strModules += "XML, ";
- if (window.external.FindSymbol('XMLPATTERNS_MODULE'))
- strModules += "XML Patterns, ";
-
- if (strModules.length < 1)
- strModules = "None selected";
- else
- strModules = strModules.slice(0, strModules.length - 2);
-
- QTMODULES.innerText = strModules;
- }
-
- // If the wizard has more than 1 page, this
- // function will browse to the page specified
- //
- function Next(document, linkto) {
- window.external.Next(document, linkto);
- }
-
- // This is an example of a function which
- // gets called when the user clicks on 'Finish'
- //
- function OnFinish(document) {
- OnWizFinish(document);
- }
-
-</script>
-<script language="JSCRIPT" id="INCLUDE_SCRIPT"></script>
-<script language="JSCRIPT" id="INCLUDE_COMMON"></script>
-<!--
-Common.js is a script file which contains the helper functions
-used by the wizards. Include this line if you want to
-call these functions from your html scripts.
-//-->
-<script>
- var strPath = window.external.FindSymbol("PRODUCT_INSTALLATION_DIR");
- strPath += "VCWizards/";
- strPath += window.external.GetHostLocale();
-
- // verify if the locale folder really exists
- var fso = new ActiveXObject("Scripting.FileSystemObject");
- var found = fso.FolderExists(strPath)
- if (found == false) {
- strPath = window.external.FindSymbol("PRODUCT_INSTALLATION_DIR");
- strPath += "VCWizards/";
- var folder = fso.GetFolder(strPath);
- for (subfolders = new Enumerator(folder.SubFolders); !subfolders.atEnd(); subfolders.moveNext()) {
- for (files = new Enumerator(subfolders.item().files); !files.atEnd(); files.moveNext()) {
- if (files.item().name.toLowerCase().localeCompare("common.js") == 0) {
- found = true;
- strPath += subfolders.item().name;
- break;
- }
- }
- if (found == true)
- break;
- }
- }
-
- var strScriptPath = strPath + "/Script.js";
- var strCommonPath = strPath + "/Common.js";
- document.scripts("INCLUDE_SCRIPT").src = strScriptPath;
- document.scripts("INCLUDE_COMMON").src = strCommonPath;
-</script>
diff --git a/Qt4VS2003/Projects/Qt5ActiveQtServerProject/Images/Qt5ActiveQtServerProject.jpg b/Qt4VS2003/Projects/Qt5ActiveQtServerProject/Images/Qt5ActiveQtServerProject.jpg
deleted file mode 100644
index c95946d3..00000000
--- a/Qt4VS2003/Projects/Qt5ActiveQtServerProject/Images/Qt5ActiveQtServerProject.jpg
+++ /dev/null
Binary files differ
diff --git a/Qt4VS2003/Projects/Qt5ActiveQtServerProject/Qt5ActiveQtServerProject.ico b/Qt4VS2003/Projects/Qt5ActiveQtServerProject/Qt5ActiveQtServerProject.ico
deleted file mode 100644
index 69401845..00000000
--- a/Qt4VS2003/Projects/Qt5ActiveQtServerProject/Qt5ActiveQtServerProject.ico
+++ /dev/null
Binary files differ
diff --git a/Qt4VS2003/Projects/Qt5ActiveQtServerProject/Qt5ActiveQtServerProject.vcproj b/Qt4VS2003/Projects/Qt5ActiveQtServerProject/Qt5ActiveQtServerProject.vcproj
deleted file mode 100644
index e3b85322..00000000
--- a/Qt4VS2003/Projects/Qt5ActiveQtServerProject/Qt5ActiveQtServerProject.vcproj
+++ /dev/null
@@ -1,196 +0,0 @@
-<?xml version="1.0" encoding="Windows-1252"?>
-<VisualStudioProject
- ProjectType="Visual C++"
- Version="7.10"
- Name="Qt5ActiveQtServerProject"
- ProjectGUID="{AB6B3B4B-75BD-4E32-B795-56E1FEBA40E2}"
- Keyword="CustomAppWizProj">
- <Platforms>
- <Platform
- Name="Win32"/>
- </Platforms>
- <Configurations>
- <Configuration
- Name="Debug|Win32"
- OutputDirectory="$(SolutionDir)$(ConfigurationName)"
- IntermediateDirectory="$(ConfigurationName)"
- ConfigurationType="1">
- <Tool
- Name="VCCLCompilerTool"/>
- <Tool
- Name="VCCustomBuildTool"/>
- <Tool
- Name="VCLinkerTool"/>
- <Tool
- Name="VCMIDLTool"/>
- <Tool
- Name="VCPostBuildEventTool"/>
- <Tool
- Name="VCPreBuildEventTool"/>
- <Tool
- Name="VCPreLinkEventTool"/>
- <Tool
- Name="VCResourceCompilerTool"/>
- <Tool
- Name="VCWebServiceProxyGeneratorTool"/>
- <Tool
- Name="VCXMLDataGeneratorTool"/>
- <Tool
- Name="VCWebDeploymentTool"/>
- <Tool
- Name="VCManagedWrapperGeneratorTool"/>
- <Tool
- Name="VCAuxiliaryManagedWrapperGeneratorTool"/>
- </Configuration>
- <Configuration
- Name="Release|Win32"
- IntermediateDirectory="$(ConfigurationName)"
- ConfigurationType="1">
- <Tool
- Name="VCCLCompilerTool"/>
- <Tool
- Name="VCCustomBuildTool"/>
- <Tool
- Name="VCLinkerTool"/>
- <Tool
- Name="VCMIDLTool"/>
- <Tool
- Name="VCPostBuildEventTool"/>
- <Tool
- Name="VCPreBuildEventTool"/>
- <Tool
- Name="VCPreLinkEventTool"/>
- <Tool
- Name="VCResourceCompilerTool"/>
- <Tool
- Name="VCWebServiceProxyGeneratorTool"/>
- <Tool
- Name="VCXMLDataGeneratorTool"/>
- <Tool
- Name="VCWebDeploymentTool"/>
- <Tool
- Name="VCManagedWrapperGeneratorTool"/>
- <Tool
- Name="VCAuxiliaryManagedWrapperGeneratorTool"/>
- </Configuration>
- </Configurations>
- <References>
- </References>
- <Files>
- <Filter
- Name="Template Files"
- Filter="txt">
- <File
- RelativePath=".\Templates\1033\server.def">
- <FileConfiguration
- Name="Debug|Win32"
- ExcludedFromBuild="TRUE">
- <Tool
- Name="VCCustomBuildTool"/>
- </FileConfiguration>
- </File>
- <File
- RelativePath=".\Templates\1033\server.ico">
- <FileConfiguration
- Name="Debug|Win32"
- ExcludedFromBuild="TRUE">
- <Tool
- Name="VCCustomBuildTool"/>
- </FileConfiguration>
- </File>
- <File
- RelativePath=".\Templates\1033\server.rc">
- <FileConfiguration
- Name="Debug|Win32"
- ExcludedFromBuild="TRUE">
- <Tool
- Name="VCResourceCompilerTool"/>
- </FileConfiguration>
- </File>
- <File
- RelativePath=".\Templates\1033\source.cpp">
- <FileConfiguration
- Name="Debug|Win32"
- ExcludedFromBuild="TRUE">
- <Tool
- Name="VCCLCompilerTool"/>
- </FileConfiguration>
- </File>
- <File
- RelativePath=".\Templates\1033\source.h">
- <FileConfiguration
- Name="Debug|Win32"
- ExcludedFromBuild="TRUE">
- <Tool
- Name="VCCustomBuildTool"/>
- </FileConfiguration>
- </File>
- <File
- RelativePath=".\Templates\1033\widget.ui">
- <FileConfiguration
- Name="Debug|Win32"
- ExcludedFromBuild="TRUE">
- <Tool
- Name="VCCustomBuildTool"/>
- </FileConfiguration>
- </File>
- </Filter>
- <Filter
- Name="HTML Files"
- Filter="htm">
- <File
- RelativePath=".\Html\1033\default.htm"
- DeploymentContent="TRUE">
- </File>
- <File
- RelativePath=".\Html\1033\Page_2.htm"
- DeploymentContent="TRUE">
- </File>
- <File
- RelativePath=".\Html\1033\Page_3.htm"
- DeploymentContent="TRUE">
- <FileConfiguration
- Name="Debug|Win32"
- ExcludedFromBuild="TRUE">
- <Tool
- Name="VCCustomBuildTool"/>
- </FileConfiguration>
- </File>
- </Filter>
- <Filter
- Name="Image Files"
- Filter="bmp">
- <File
- RelativePath=".\Images\Qt5ActiveQtServerProject.gif">
- </File>
- <File
- RelativePath=".\Images\Qt5ActiveQtServerProject_Background.gif">
- </File>
- </Filter>
- <Filter
- Name="Script Files"
- Filter="js">
- <File
- RelativePath=".\Scripts\1033\default.js">
- </File>
- </Filter>
- <Filter
- Name="Miscellaneous Files"
- Filter="vsz;vsdir;ico;vcproj;csproj;css;inf">
- <File
- RelativePath=".\Qt5ActiveQtServerProject.ico">
- </File>
- <File
- RelativePath=".\Qt5ActiveQtServerProject.vsdir">
- </File>
- <File
- RelativePath=".\Qt5ActiveQtServerProject.vsz">
- </File>
- <File
- RelativePath=".\1033\styles.css">
- </File>
- </Filter>
- </Files>
- <Globals>
- </Globals>
-</VisualStudioProject>
diff --git a/Qt4VS2003/Projects/Qt5ActiveQtServerProject/Qt5ActiveQtServerProject.vsdir b/Qt4VS2003/Projects/Qt5ActiveQtServerProject/Qt5ActiveQtServerProject.vsdir
deleted file mode 100644
index 28352efe..00000000
--- a/Qt4VS2003/Projects/Qt5ActiveQtServerProject/Qt5ActiveQtServerProject.vsdir
+++ /dev/null
@@ -1 +0,0 @@
-Qt5ActiveQtServerProject.vsz| |ActiveQt Server|4|A simple ActiveX Control. Includes one empty form.| | |4096|Project
diff --git a/Qt4VS2003/Projects/Qt5ActiveQtServerProject/Qt5ActiveQtServerProject.vsz b/Qt4VS2003/Projects/Qt5ActiveQtServerProject/Qt5ActiveQtServerProject.vsz
deleted file mode 100644
index b7c09f2d..00000000
--- a/Qt4VS2003/Projects/Qt5ActiveQtServerProject/Qt5ActiveQtServerProject.vsz
+++ /dev/null
@@ -1,6 +0,0 @@
-VSWIZARD 7.0
-Wizard=VsWizard.VsWizardEngine.9.0
-
-Param="WIZARD_NAME = Qt5GuiProject"
-Param="ABSOLUTE_PATH = C:\Program Files (x86)\Digia\Qt4VSAddin\wizards\Qt5ActiveQtServerProject"
-Param="FALLBACK_LCID = 1033" \ No newline at end of file
diff --git a/Qt4VS2003/Projects/Qt5ActiveQtServerProject/Scripts/1033/default.js b/Qt4VS2003/Projects/Qt5ActiveQtServerProject/Scripts/1033/default.js
deleted file mode 100644
index 371ffeae..00000000
--- a/Qt4VS2003/Projects/Qt5ActiveQtServerProject/Scripts/1033/default.js
+++ /dev/null
@@ -1,188 +0,0 @@
-var QtEngine;
-
-function GetNameFromFile(strFile) {
- var nPos = strFile.lastIndexOf(".");
- return strFile.substr(0, nPos);
-}
-
-function OnFinish(selProj, selObj) {
- try {
- // load right project engine
- var dte = wizard.dte;
- var version = dte.version;
- if (version == "8.0")
- QtEngine = new ActiveXObject("Digia.Qt5ProjectEngine80");
- else if (version == "9.0")
- QtEngine = new ActiveXObject("Digia.Qt5ProjectEngine90");
- else if (version == "10.0")
- QtEngine = new ActiveXObject("Digia.Qt5ProjectEngine100");
- else if (version == "11.0")
- QtEngine = new ActiveXObject("Digia.Qt5ProjectEngine110");
- else if (version == "12.0")
- QtEngine = new ActiveXObject("Digia.Qt5ProjectEngine120");
-
- var strProjectPath = wizard.FindSymbol('PROJECT_PATH');
- var strProjectName = wizard.FindSymbol('PROJECT_NAME');
- var strSolutionName = wizard.FindSymbol('VS_SOLUTION_NAME');
- var strTemplatePath = wizard.FindSymbol('TEMPLATES_PATH') + "\\";
- var bExclusive = wizard.FindSymbol("CLOSE_SOLUTION");
-
- var vcfileTmp;
- var fileTmp;
- var strClass = wizard.FindSymbol('CLASSNAME_TEXT');
- var strHeader = wizard.FindSymbol('HFILE_TEXT');
- var strSource = wizard.FindSymbol('CPPFILE_TEXT');
- var strForm = wizard.FindSymbol('UIFILE_TEXT');
- var bPrecompiled = wizard.FindSymbol('PRECOMPILED_HEADERS');
-
- var regexp = /\W/g;
- var strDef = strHeader.toUpperCase().replace(regexp, "_");
-
- var strFormName = GetNameFromFile(strForm);
-
- var regexp = /\s/g;
- var strProName = strProjectName.toLowerCase().replace(regexp, "");
-
- QtEngine.CreateLibraryProject(wizard.dte, strProjectName,
- strProjectPath, strSolutionName, bExclusive, false, bPrecompiled);
-
- // add the selected modules to the project
- AddModules();
-
- var strHeaderInclude = strHeader;
- if (bPrecompiled) {
- strHeaderInclude = "stdafx.h\"\n#include \"" + strHeader;
- fileTmp = QtEngine.CopyFileToProjectFolder(strTemplatePath + "stdafx.cpp", "stdafx.cpp");
- QtEngine.AddFileToProject(fileTmp, "QT_SOURCE_FILTER");
-
- fileTmp = QtEngine.CopyFileToProjectFolder(strTemplatePath + "stdafx.h", "stdafx.h");
- QtEngine.AddFileToProject(fileTmp, "QT_HEADER_FILTER");
- }
-
- // source.cpp
- fileTmp = QtEngine.CopyFileToProjectFolder(strTemplatePath + "source.cpp", strSource);
- QtEngine.ReplaceTokenInFile(fileTmp, "%INCLUDE%", strHeaderInclude);
- QtEngine.ReplaceTokenInFile(fileTmp, "%CLASS%", strClass);
- for (var i = 0; i < 5; i++)
- QtEngine.ReplaceTokenInFile(fileTmp, "%GUID" + i + "%", QtEngine.CreateNewGUID());
- vcfileTmp = QtEngine.AddFileToProject(fileTmp, "QT_SOURCE_FILTER");
-
- // source.h
- fileTmp = QtEngine.CopyFileToProjectFolder(strTemplatePath + "source.h", strHeader);
- QtEngine.ReplaceTokenInFile(fileTmp, "%PRE_DEF%", strDef);
- QtEngine.ReplaceTokenInFile(fileTmp, "%CLASS%", strClass);
- QtEngine.ReplaceTokenInFile(fileTmp, "%UI_HDR%", "ui_" + strFormName + ".h");
- vcfileTmp = QtEngine.AddFileToProject(fileTmp, "QT_HEADER_FILTER");
-
- // widget.ui
- fileTmp = QtEngine.CopyFileToProjectFolder(strTemplatePath + "widget.ui", strForm);
- QtEngine.ReplaceTokenInFile(fileTmp, "%CLASS%", strClass);
- vcfileTmp = QtEngine.AddFileToProject(fileTmp, "QT_FORM_FILTER");
-
- // server.rc
- fileTmp = QtEngine.CopyFileToProjectFolder(strTemplatePath + "server.rc",
- strProName + ".rc");
- QtEngine.ReplaceTokenInFile(fileTmp, "%PRO_NAME%", strProjectName);
- QtEngine.AddFileToProject(fileTmp, "NONE");
-
- // server.ico
- fileTmp = QtEngine.CopyFileToProjectFolder(strTemplatePath + "server.ico",
- strProName + ".ico");
- QtEngine.AddFileToProject(fileTmp, "NONE");
-
- // server.def
- fileTmp = QtEngine.CopyFileToProjectFolder(strTemplatePath + "server.def",
- strProName + ".def");
- QtEngine.AddFileToProject(fileTmp, "QT_SOURCE_FILTER");
-
- QtEngine.AddActiveQtBuildStep("1.0.0");
-
- QtEngine.Finish();
- }
- catch (e) {
- if (e.description.length != 0)
- SetErrorInfo(e);
- return e.number
- }
-}
-
-function AddModules() {
- // Essential modules
- if (wizard.FindSymbol('THREED_MODULE'))
- QtEngine.AddModule("Qt3D");
- if (wizard.FindSymbol('CORE_MODULE'))
- QtEngine.AddModule("QtCore");
- if (wizard.FindSymbol('GUI_MODULE'))
- QtEngine.AddModule("QtGui");
- if (wizard.FindSymbol('LOCATION_MODULE'))
- QtEngine.AddModule("QtLocation");
- if (wizard.FindSymbol('MULTIMEDIA_MODULE'))
- QtEngine.AddModule("QtMultimedia");
- if (wizard.FindSymbol('MULTIMEDIAWIDGETS_MODULE'))
- QtEngine.AddModule("QtMultimediaWidgets");
- if (wizard.FindSymbol('NETWORK_MODULE'))
- QtEngine.AddModule("QtNetwork");
- if (wizard.FindSymbol('QML_MODULE'))
- QtEngine.AddModule("QtQml");
- if (wizard.FindSymbol('QUICK_MODULE'))
- QtEngine.AddModule("QtQuick");
- if (wizard.FindSymbol('SQL_MODULE'))
- QtEngine.AddModule("QtSql");
- if (wizard.FindSymbol('TEST_MODULE'))
- QtEngine.AddModule("QtTest");
- if (wizard.FindSymbol('WEBKIT_MODULE'))
- QtEngine.AddModule("QtWebKit"); // ??
-
- // Add-on modules
- // Active Qt better split to server and container
- if (wizard.FindSymbol('AQCONTAINER_MODULE'))
- QtEngine.AddModule("QtAxContainer");
- if (wizard.FindSymbol('AQSERVER_MODULE'))
- QtEngine.AddModule("QtAxServer");
- if (wizard.FindSymbol('BLUETOOTH_MODULE'))
- QtEngine.AddModule("QtBluetooth");
- if (wizard.FindSymbol('CONCURRENT_MODULE'))
- QtEngine.AddModule("QtConcurrent");
- if (wizard.FindSymbol('DECLARATIVE_MODULE'))
- QtEngine.AddModule("QtDeclarative");
- if (wizard.FindSymbol('ENGINIO_MODULE'))
- QtEngine.AddModule("Enginio");
- if (wizard.FindSymbol('HELP_MODULE'))
- QtEngine.AddModule("QtHelp");
- if (wizard.FindSymbol('NFC_MODULE'))
- QtEngine.AddModule("QtNfc");
- if (wizard.FindSymbol('OPENGL_MODULE'))
- QtEngine.AddModule("QtOpenGL");
- if (wizard.FindSymbol('POSITIONING_MODULE'))
- QtEngine.AddModule("QtPositioning");
- if (wizard.FindSymbol('PRINTSUPPORT_MODULE'))
- QtEngine.AddModule("QtPrintSupport");
- if (wizard.FindSymbol('QUICKWIDGETS_MODULE'))
- QtEngine.AddModule("QtQuickWidgets");
- if (wizard.FindSymbol('SCRIPT_MODULE'))
- QtEngine.AddModule("QtScript");
- if (wizard.FindSymbol('SCRIPTTOOLS_MODULE'))
- QtEngine.AddModule("QtScriptTools");
- if (wizard.FindSymbol('SENSORS_MODULE'))
- QtEngine.AddModule("QtSensors");
- if (wizard.FindSymbol('SERIALPORT_MODULE'))
- QtEngine.AddModule("QtSerialPort");
- if (wizard.FindSymbol('SVG_MODULE'))
- QtEngine.AddModule("QtSvg");
- if (wizard.FindSymbol('UITOOLS_MODULE'))
- QtEngine.AddModule("QtUiTools");
- if (wizard.FindSymbol('WEBCHANNEL_MODULE'))
- QtEngine.AddModule("QtWebChannel");
- if (wizard.FindSymbol('WEBKITWIDGETS_MODULE'))
- QtEngine.AddModule("QtWebkitWidgets"); // ??
- if (wizard.FindSymbol('WEBSOCKETS_MODULE'))
- QtEngine.AddModule("QtWebSockets");
- if (wizard.FindSymbol('WIDGETS_MODULE'))
- QtEngine.AddModule("QtWidgets");
- if (wizard.FindSymbol('WINDOWSEXTRAS_MODULE'))
- QtEngine.AddModule("QtWinExtras");
- if (wizard.FindSymbol('XML_MODULE'))
- QtEngine.AddModule("QtXml");
- if (wizard.FindSymbol('XMLPATTERNS_MODULE'))
- QtEngine.AddModule("QtXmlPatterns");
-}
diff --git a/Qt4VS2003/Projects/Qt5ActiveQtServerProject/Templates/1033/server.def b/Qt4VS2003/Projects/Qt5ActiveQtServerProject/Templates/1033/server.def
deleted file mode 100644
index 0a7d8283..00000000
--- a/Qt4VS2003/Projects/Qt5ActiveQtServerProject/Templates/1033/server.def
+++ /dev/null
@@ -1,8 +0,0 @@
-; Declares the module parameters.
-
-EXPORTS
- DllCanUnloadNow PRIVATE
- DllGetClassObject PRIVATE
- DllRegisterServer PRIVATE
- DllUnregisterServer PRIVATE
- DumpIDL PRIVATE
diff --git a/Qt4VS2003/Projects/Qt5ActiveQtServerProject/Templates/1033/server.ico b/Qt4VS2003/Projects/Qt5ActiveQtServerProject/Templates/1033/server.ico
deleted file mode 100644
index f0bb83e9..00000000
--- a/Qt4VS2003/Projects/Qt5ActiveQtServerProject/Templates/1033/server.ico
+++ /dev/null
Binary files differ
diff --git a/Qt4VS2003/Projects/Qt5ActiveQtServerProject/Templates/1033/server.rc b/Qt4VS2003/Projects/Qt5ActiveQtServerProject/Templates/1033/server.rc
deleted file mode 100644
index f01de37f..00000000
--- a/Qt4VS2003/Projects/Qt5ActiveQtServerProject/Templates/1033/server.rc
+++ /dev/null
@@ -1,2 +0,0 @@
-1 TYPELIB "%PRO_NAME%.rc"
-1 ICON DISCARDABLE "%PRO_NAME%.ico" \ No newline at end of file
diff --git a/Qt4VS2003/Projects/Qt5ActiveQtServerProject/Templates/1033/source.cpp b/Qt4VS2003/Projects/Qt5ActiveQtServerProject/Templates/1033/source.cpp
deleted file mode 100644
index c813ad72..00000000
--- a/Qt4VS2003/Projects/Qt5ActiveQtServerProject/Templates/1033/source.cpp
+++ /dev/null
@@ -1,16 +0,0 @@
-#include "%INCLUDE%"
-
-#include <ActiveQt/QAxFactory>
-
-%CLASS%::%CLASS%(QWidget *parent)
- : QWidget(parent)
-{
- ui.setupUi(this);
-}
-
-QAXFACTORY_DEFAULT(%CLASS%,
- "{%GUID0%}",
- "{%GUID1%}",
- "{%GUID2%}",
- "{%GUID3%}",
- "{%GUID4%}") \ No newline at end of file
diff --git a/Qt4VS2003/Projects/Qt5ActiveQtServerProject/Templates/1033/source.h b/Qt4VS2003/Projects/Qt5ActiveQtServerProject/Templates/1033/source.h
deleted file mode 100644
index ee1328db..00000000
--- a/Qt4VS2003/Projects/Qt5ActiveQtServerProject/Templates/1033/source.h
+++ /dev/null
@@ -1,20 +0,0 @@
-#ifndef %PRE_DEF%
-#define %PRE_DEF%
-
-#include <QtWidgets/QWidget>
-#include <ActiveQt/QAxBindable>
-
-#include "%UI_HDR%"
-
-class %CLASS% : public QWidget, public QAxBindable
-{
- Q_OBJECT
-
-public:
- %CLASS%(QWidget *parent = 0);
-
-private:
- Ui::%CLASS%Class ui;
-};
-
-#endif // %PRE_DEF% \ No newline at end of file
diff --git a/Qt4VS2003/Projects/Qt5ActiveQtServerProject/Templates/1033/stdafx.cpp b/Qt4VS2003/Projects/Qt5ActiveQtServerProject/Templates/1033/stdafx.cpp
deleted file mode 100644
index 1577c4e3..00000000
--- a/Qt4VS2003/Projects/Qt5ActiveQtServerProject/Templates/1033/stdafx.cpp
+++ /dev/null
@@ -1 +0,0 @@
-#include "stdafx.h" \ No newline at end of file
diff --git a/Qt4VS2003/Projects/Qt5ActiveQtServerProject/Templates/1033/stdafx.h b/Qt4VS2003/Projects/Qt5ActiveQtServerProject/Templates/1033/stdafx.h
deleted file mode 100644
index 6a418984..00000000
--- a/Qt4VS2003/Projects/Qt5ActiveQtServerProject/Templates/1033/stdafx.h
+++ /dev/null
@@ -1 +0,0 @@
-#include <QtWidgets> \ No newline at end of file
diff --git a/Qt4VS2003/Projects/Qt5ActiveQtServerProject/Templates/1033/widget.ui b/Qt4VS2003/Projects/Qt5ActiveQtServerProject/Templates/1033/widget.ui
deleted file mode 100644
index b88b2b30..00000000
--- a/Qt4VS2003/Projects/Qt5ActiveQtServerProject/Templates/1033/widget.ui
+++ /dev/null
@@ -1,20 +0,0 @@
-<UI version="4.0" >
- <class>%CLASS%Class</class>
- <widget class="QWidget" name="%CLASS%Class" >
- <property name="objectName" >
- <string notr="true">%CLASS%Class</string>
- </property>
- <property name="geometry" >
- <rect>
- <x>0</x>
- <y>0</y>
- <width>600</width>
- <height>482</height>
- </rect>
- </property>
- <property name="windowTitle" >
- <string>%CLASS%</string>
- </property>
- </widget>
- <layoutDefault spacing="6" margin="11" />
-</UI>
diff --git a/Qt4VS2003/Projects/Qt5ConsoleProject/1033/styles.css b/Qt4VS2003/Projects/Qt5ConsoleProject/1033/styles.css
deleted file mode 100644
index 0c326766..00000000
--- a/Qt4VS2003/Projects/Qt5ConsoleProject/1033/styles.css
+++ /dev/null
@@ -1,574 +0,0 @@
-/******************************************************************************/
-/*DEFAULT STYLES FOR ALL SECTIONS**********************************************/
-/******************************************************************************/
-body { font-family: Tahoma, Verdana, Arial, Sans Serif;
- font-weight: normal;
- font-size: 8pt;
- color: buttontext;
- background-color: buttonface;
- margin-top: 0px;
- margin-left: 0px;
- margin-right: 0px;
- margin-bottom: 0px;
- overflow: visible; }
-
-a:link { color: captiontext;
- text-decoration: none; }
-
-a:visited { color: captiontext;
- text-decoration: none; }
-
-a:active { color: captiontext;
- text-decoration: none; }
-
-a:hover { color: captiontext;
- text-decoration: underline; }
-
-table { font-family: Tahoma, Verdana, Arial, Sans Serif;
- font-weight: normal;
- font-size: 8pt;
- color: buttontext;
- width: 100%; }
-
-td.addon_disabled { color: #808080; }
-
-table.one { table-layout: fixed;
- height: 100%;
- width: 100%; }
-
-
-/*DEFAULT STYLES FOR THE 'INTRODUCTION' TABLE**********************************/
-/******************************************************************************/
-
-table.two { table-layout: fixed;
- height: 79px;
- width: 100%;
- background-color: window; }
-
-td.image { text-align: right; }
-
-td.rule { background-color: window; }
-
-h1.head { font-weight: bold;
- font-size: 10pt;
- color: windowtext;
- margin-top: -3px; }
-
-p.subhead { color: windowtext;
- margin-top: -12px;
- margin-left: 10px; }
-
-img.smallest { background-color: #a6ce39;
- z-index: 1; }
-
-img.small { z-index: 1; }
-
-/*DEFAULT STYLES FOR THE 'NAVIGATION' TABLE************************************/
-/******************************************************************************/
-
-table.three { table-layout: fixed;
- height: 100%;
- width: 178px; }
-
-td.three { background-attachment: fixed;
- background-repeat: no-repeat;
- background-position: bottom left;
- background-color: #66b036; }
-
-td.dottedline { background: url(Images/DottedHori.gif) repeat; }
-
-table.linktextselected { font-weight: bold;
- width: 157px;
- height: 30px;
- position: relative;
- left: 10px;
- z-index: 2; }
-
-table.linktextselectedindent { font-weight: bold;
- width: 148px;
- height: 30px;
- position: relative;
- left: 18px;
- z-index: 2; }
-
-table.linktext { width: 157px;
- height: 30px;
- position: relative;
- left: 10px;
- z-index: 2; }
-
-table.linktextindent { width: 148px;
- height: 30px;
- position: relative;
- left: 18px;
- z-index: 2; }
-
-div.linkselected { background-color: buttonface;
- height: 30px;
- width: 166px;
- position: relative;
- left: 0px;
- right: 0px;
- z-index: 1; }
-
-div.link { height: 30px;
- width: 166px;
- position: relative;
- left: 0px;
- right: 0px;
- z-index: 1; }
-
-div.vertline { background: url(Images/DottedVert.gif) repeat;
- height: 125%;
- width: 1px;
- position: relative;
- top: -12px;
- left: -1px; }
-
-span.vertline1 { background: url(Images/DottedVert.gif) repeat;
- height: 100%;
- width: 1px;
- position: absolute;
- top: 0px;
- left: -1px;
- bottom: 0px;
- z-index: 2; }
-
-span.horiline1 { height: 30px;
- width: 166px;
- position: absolute;
- top: -1px;
- left: -1px;
- bottom: -1px;
- z-index: 2; }
-
-span.activelink { color: captiontext;
- text-decoration: none;
- cursor: hand; }
-
-span.activelink2 { color: captiontext;
- text-decoration: underline;
- cursor: hand; }
-
-span.inactivelink { color: buttonface;
- text-decoration: none;
- cursor: default; }
-
-
-/*DEFAULT STYLES FOR THE ALL BUTTONS AND THE 'BUTTONS' TABLE*******************/
-/******************************************************************************/
-
-button { font-family: Tahoma, Verdana, Arial, Sans Serif;
- font-weight: normal;
- font-size: 8pt;
- height: 23px;
- cursor: hand; }
-
-.buttons { width: 75px; }
-
-/*DEFAULT STYLES FOR THE 'CONTENT' TABLE***************************************/
-/******************************************************************************/
-
-table.content { table-layout: fixed;
- height: 100%;
- width: 422px; }
-
-table.content1 { table-layout: fixed;
- height: 100%;
- width: 398px; }
-
-table.content2 { table-layout: fixed;
- height: 100%;
- width: 193px; }
-
-ol { font-family: Tahoma, Verdana, Arial, Sans Serif;
- font-weight: normal;
- font-size: 8pt;
- color: buttontext;
- margin-top: -1px;
- margin-bottom: 16px; }
-
-ul { font-family: Tahoma, Verdana, Arial, Sans Serif;
- font-weight: normal;
- font-size: 8pt;
- color: buttontext;
- margin-top: -1px;
- margin-bottom: 16px; }
-
-li { font-family: Tahoma, Verdana, Arial, Sans Serif;
- font-weight: normal;
- font-size: 8pt;
- color: buttontext;
- position: relative;
- left: -15px;
- margin-bottom: 1px; }
-
-span.itemtext { position: relative;
- top: -3px; }
-
-span.itemtextindent { position: relative;
- left: 17px;
- top: -3px; }
-
-span.itemtextindentA { position: relative;
- left: 25px;
- top: -3px; }
-
-span.itemtextindent1 { position: relative;
- left: 8px;
- top: -3px; }
-
-span.sidebtnhidden { width: 100%;
- margin-top: 3px;
- margin-bottom: 0px; }
-
-div.itemtextradioB { position: relative;
- top: -19px;
- left: 25px;
- margin-bottom: -25px; }
-
-div.itemtextradioindentA { position: relative;
- top: -17px;
- left: 30px;
- margin-bottom: -25px; }
-
-div.itemtextradioindentB { position: relative;
- top: -19px;
- left: 42px;
- margin-bottom: -25px; }
-
-div.itemtextcheckboxA { position: relative;
- top: -17px;
- left: 17px;
- margin-bottom: -23px; }
-
-div.itemtextcheckboxB { position: relative;
- top: -18px;
- left: 25px;
- margin-bottom: -25px; }
-
-div.itemtextcheckboxindentB { position: relative;
- top: -16px;
- left: 42px;
- margin-bottom: -25px; }
-
-div.inlineA { position: relative;
- top: 4px;
- width: 100%;
- height:1px;
- border-top: solid buttonshadow 1px; }
-
-div.inlineB { position: relative;
- top: -9px;
- margin-bottom: -20px;
- width: 100%;
- height:1px;
- border-top: solid threedhighlight 1px; }
-
-input { font-family: Tahoma, Verdana, Arial, Sans Serif;
- font-weight: normal;
- font-size: 8pt;
- color: buttontext; }
-
-.radio { position: relative;
- top: -2px;
- left: 4px; }
-
-.radioIndentA { margin-top: -2px;
- margin-left: 9px; }
-
-.radioIndent { margin-top: -2px;
- margin-left: 17px; }
-
-.checkboxA { position: relative;
- top: -2px;
- left: 4px; }
-
-.checkbox { position: relative;
- top: -1px;
- margin-left: -4px;
- z-index: 2; }
-
-.checkboxIndent { margin-top: -1px;
- margin-left: 21px; }
-
-.comment { width: 566px;
- position: relative;
- top: 5px;
- left: 8px;
- bottom: 6px; }
-
-.comment2 { width: 391px;
- position: relative;
- top: 5px;
- left: 8px;
- bottom: 6px; }
-
-/****THIS IS THE STANDARD INPUT BOX********************************************/
-input.sidebtn { width: 173px;
- position: relative;
- top: 5px;
- left: 8px; }
-
-/****THIS IS AN INPUT BOX INDENTED UNDER A CHECKBOX SECTION*******************/
-input.sidebtnIndent { width: 163px;
- position: relative;
- top: 5px;
- left: 18px;
- bottom: 6px; }
-
-/****THIS INPUT BOX HAS IS INDENTED UNDER A HEADING AND RULE SECTION***********/
-input.sidebtnB { width: 164px;
- position: relative;
- top: 5px;
- left: 8px;
- bottom: 6px; }
-
-/****THIS INPUT BOX HAS A "..." BUTTON BESIDE IT*******************************/
-input.sidebtn2 { width: 149px;
- position: relative;
- top: 5px;
- left: 8px;
- bottom: 6px; }
-
-/****THIS INPUT BOX HAS A "..." BUTTON BESIDE IT AND IT'S UNDER A CHECKBOX*****/
-input.sidebtn2Indent { width: 139px;
- position: relative;
- top: 5px;
- left: 18px;
- bottom: 6px; }
-
-input.sidebtn21 { width: 141px;
- position: relative;
- top: 5px;
- left: 8px;
- bottom: 6px; }
-
-input.sidebtn2Long { width: 253px;
- position: relative;
- top: 5px;
- left: 8px;
- bottom: 6px; }
-
-input.sidebtn2A { width: 140px;
- position: relative;
- top: 5px;
- left: 8px;
- bottom: 6px; }
-
-input.sidebtn2B { width: 156px;
- position: relative;
- top: 6px;
- left: 8px;
- bottom: 0px;
- margin-bottom: -3px; }
-
-select { font-family: Tahoma, Verdana, Arial, Sans Serif;
- font-weight: normal;
- font-size: 8pt;
- color: buttontext; }
-
-/****THIS IS THE STANDARD SELECTION BOX****************************************/
-select.sidebtn { width: 173px;
- position: relative;
- top: 6px;
- left: 8px;
- bottom: 0px;
- margin-bottom: -3px; }
-
-/****THIS IS THE STANDARD SELECTION BOX****************************************/
-span.sidebtn { position: relative;
- top: 6px;
- left: 8px;
- bottom: 0px;
- margin-bottom: -3px; }
-
-/****THIS IS THE STANDARD SELECTION BOX****************************************/
-span.itemtextspecial { position: relative;
- top: -20px;
- left: 16px;
- bottom: 0px;
- margin-bottom: -3px; }
-
-/****THIS IS THE STANDARD SELECTION BOX****************************************/
-span.sidebtnspecial { position: relative;
- top: -2px;
- left: 54px;
- bottom: 0px;
- margin-bottom: -3px; }
-
-/****THIS SELECTION BOX IS INDENTED UNDER A HEADING AND RULE SECTION***********/
-select.sidebtnB { width: 164px;
- position: relative;
- top: 6px;
- left: 8px;
- bottom: 0px;
- margin-bottom: -3px; }
-
-/****THIS SELECTION BOX IS BELOW AND ASSOCIATED WITH A CHECKBOX****************/
-select.sidebtn2 { width: 164px;
- position: relative;
- top: 13px;
- left: 17px;
- bottom: 0px;
- margin-bottom: -3px; }
-
-/****THIS SELECTION BOX IS BELOW AND ASSOCIATED WITH A CHECKBOX AND HEADING****/
-select.sidebtn2A { width: 156px;
- position: relative;
- top: 13px;
- left: 25px;
- bottom: 0px;
- margin-bottom: -3px; }
-
-/****THIS SELECTION BOX IS BELOW AND ASSOCIATED WITH A CHECKBOX AND HEADING****/
-select.sidebtn2ALong { width: 277px;
- position: relative;
- top: 6px;
- left: 25px;
- bottom: 0px;
- margin-bottom: -3px; }
-
-select.sidebtn2B { width: 156px;
- position: relative;
- top: 6px;
- left: 8px;
- bottom: 0px;
- margin-bottom: -3px; }
-
-/****THIS SELECTION BOX HAS "..." BUTTONS BESIDE THEM**************************/
-select.sidebtn2C { width: 149px;
- position: relative;
- top: 5px;
- left: 8px;
- bottom: 6px; }
-
-select.sidebtn2CLong { width: 253px;
- position: relative;
- top: 5px;
- left: 8px;
- bottom: 6px; }
-
-select.sidebtn3 { width: 150px;
- position: relative;
- top: 6px;
- bottom: 0px;
- margin-bottom: -3px; }
-
-/****THIS SELECTION BOX IS FOR HORIZONTAL ADD/REMOVE SECTIONS******************/
-select.sidebtn4Long { width: 574px;
- position: relative;
- top: 6px;
- left: 8px;
- bottom: 0px;
- margin-bottom: -3px; }
-
-object.itemtext { font-family: Tahoma, Verdana, Arial, Sans Serif;
- font-weight: normal;
- font-size: 8pt;
- color: buttontext;
- width: 173px;
- height: 19px;
- position: relative;
- top: 6px;
- left: 8px;
- margin-bottom: 2px; }
-
-.dropdowncombo { font-family: Tahoma, Verdana, Arial, Sans Serif;
- font-weight: normal;
- font-size: 8pt;
- color: buttontext; }
-
-/****THIS DEFINES A STANDARD BUTTON IN THE CONTENT SECTION*********************/
-.buttonclass { margin-top: 2px;
- margin-left: 8px;
- margin-bottom: -6px;
- padding: 2px; }
-
-/****THIS DEFINES ADD/REMOVE BUTTONS IN THE CONTENT SECTION********************/
-.buttonclass2 { margin-top: 8px;
- margin-left: 8px;
- z-index: 1;
- cursor: hand; }
-
-/****THIS DEFINES A "..." BUTTON IN THE CONTENT SECTION************************/
-.buttonclass3 { height: 19px;
- width: 20px;
- position: relative;
- top: 2px; }
-
-/****THIS DEFINES A "..." BUTTON IN THE CONTENT SECTION AND UNDER A CHECKBOX***/
-.buttonclass3Indent { height: 19px;
- width: 20px;
- position: relative;
- top: 2px;
- left: 10px; }
-
-.buttonclass31 { height: 19px;
- width: 20px;
- position: relative;
- top: 2px;
- left:8px; }
-
-.buttonclass3A { height: 19px;
- width: 20px;
- position: relative;
- top: 5px; }
-
-/****THIS DEFINES A ">>" BUTTON IN THE CONTENT SECTION************************/
-.buttonclass4 { margin-bottom: 4px;
- width: 75px;
- height: 23px; }
-
-/****THIS DEFINES ADD/REMOVE BUTTONS HORIZONTALLY IN THE CONTENT SECTION******/
-.buttonclass5 { margin-left: 4px; }
-
-/****THIS DEFINES FIRST ADD/REMOVE BUTTONS HORIZONTALLY IN CONTENT SECTION****/
-.buttonclass5A { margin-left: 8px; }
-
-/****THIS SETS THE LEFT MARGIN FOR THE REMOVE BUTTON***************************/
-#removebtn { margin-left: 4px; }
-
-
-
-/****THIS SETS THE LEFT MARGIN FOR INDENTED SECTION UNDER CHECKBOXES***********/
-label.indent { margin-left: 18px; }
-
-/****THIS SETS THE LEFT MARGIN FOR INDENTED SECTION UNDER CHECKBOXES***********/
-label.indent2 { margin-left: 26px; }
-
-
-/****THESE ARE CUSTOM SPACING ELEMENTS*****************************************/
-p.spacer { margin-bottom: -28px; }
-
-p.elementspacer { margin-bottom: -12px; }
-
-p.elementspacer2 { margin-bottom: -19px; }
-
-p.elementspacer3 { margin-bottom: -3px; }
-
-p.elementspacer4 { margin-bottom: 7px; }
-
-p.elementspacer5 { margin-bottom: 5px; }
-
-p.elementspacer6 { margin-bottom: -24px; }
-
-p.elementspacer7 { margin-bottom: -11px; }
-
-p.elementspacer8 { margin-bottom: -14px; }
-
-p.elementspacer9 { margin-bottom: -7px; }
-
-p.elementspacer10 { margin-bottom: 6px; }
-
-p.elementspacer11 { margin-bottom: 22px; }
-
-p.elementspacer12 { margin-bottom: -17px; }
-
-p.elementspacer13 { margin-bottom: -23px; }
-
-p.elementspacer14 { margin-bottom: -25px; }
-
-
-/*CUSTOM STYLES FOR THE 'CONTENT' FRAME****************************************/
-/******************************************************************************/
diff --git a/Qt4VS2003/Projects/Qt5ConsoleProject/HTML/1031/Page_2.htm b/Qt4VS2003/Projects/Qt5ConsoleProject/HTML/1031/Page_2.htm
deleted file mode 100644
index 48b8599a..00000000
--- a/Qt4VS2003/Projects/Qt5ConsoleProject/HTML/1031/Page_2.htm
+++ /dev/null
@@ -1,547 +0,0 @@
-<html dir="ltr">
-<head>
- <title>'Qt5ConsoleProject'</title>
- <meta content="http://schemas.microsoft.com/intellisense/ie5" name="vs_targetSchema">
- <link id="LINKURL" rel="stylesheet" href="../../1033/styles.css">
-</head>
-<body onkeypress="OnPress();" onkeydown="OnKey();" bottommargin="0" bgcolor="buttonface"
- leftmargin="0" topmargin="0" onload="InitDocument(document);" rightmargin="0">
- <table class="ONE" height="100%" cellspacing="0" cellpadding="0" width="100%" border="0">
- <colgroup>
- <col width="178">
- <col>
- <!--OPEN OF INTRODUCTORY INFORMATION TABLE//-->
- <tr valign="top">
- <td width="100%" colspan="2" height="79">
- <table class="TWO" cellspacing="0" cellpadding="0" border="0">
- <colgroup>
- <col width="12">
- <col>
- <col width="12">
- <tr>
- <td valign="top" width="12" height="12">
- &nbsp;
- </td>
- <td valign="top" height="12">
- &nbsp;
- </td>
- <td valign="top" width="12" height="12">
- &nbsp;
- </td>
- <td class="IMAGE" valign="bottom" width="110" rowspan="2">
- <div class="SMALLA" id="Layer0">
- <img class="SMALLEST" height="63" alt="" src="..\..\Images\Qt5ConsoleProject.jpg"
- width="63" border="0">
- </div>
- </td>
- <td valign="top" width="6" height="12" rowspan="2">
- &nbsp;
- </td>
- </tr>
- <tr>
- <td valign="top" width="12" height="65">
- &nbsp;
- </td>
- <td valign="top" height="65">
- <h4 class="HEAD" id="HEAD">
- Willkommen zum Qt5 Konsolenprojektwizard</h4>
- <p class="SUBHEAD" id="SUBHEAD">
- Dieser Wizard erstellt ein Qt5 Konsolenprogramm. Die Applikation wird von QCoreApplication
- abgeleitet und beinhaltet keine GUI.</p>
- </td>
- <td valign="top" width="12" height="65">
- &nbsp;
- </td>
- </tr>
- <tr>
- <td class="RULE" valign="top" colspan="5" height="2">
- <table height="1" cellspacing="0" cellpadding="0" width="100%" border="0">
- <tr valign="top">
- <td width="100%" bgcolor="buttonshadow" height="1">
- <img height="1" alt="" src="../../Images/spacer.gif" width="1">
- </td>
- <td width="1" bgcolor="window" height="1">
- <img height="1" alt="" src="../../Images/spacer.gif" width="1">
- </td>
- </tr>
- </table>
- </td>
- </tr>
- </table>
- </td>
- </tr>
- <!--CLOSE OF INTRODUCTORY INFORMATION TABLE//-->
- <!--OPEN OF NAVIGATION, CONTENT, AND BUTTON TABLES//-->
- <tr valign="top">
- <td class="THREE" valign="top" width="178" height="100%">
- <!--OPEN OF NAVIGATION TABLE//-->
- <table class="THREE" cellspacing="0" cellpadding="0" border="0">
- <colgroup>
- <col width="12">
- <col width="166">
- <col width="1">
- <tr>
- <td valign="top" colspan="3" height="12">
- &nbsp;
- </td>
- </tr>
- <tr>
- <td valign="top" width="12" height="100%">
- &nbsp;
- </td>
- <td valign="top" width="165" height="100%">
- <!--OPEN OF NAVIGATIONAL LINKS//-->
- <div class="LINK">
- <table class="LINKTEXT" height="28" cellspacing="0" cellpadding="0" width="166" border="0">
- <tr valign="middle">
- <td width="162">
- <span class="ACTIVELINK" id="Default" title="" onclick="Next(document, 'default.htm');"
- tabindex="1">berblick</span>
- </td>
- <td width="4">
- <img height="1" src="../../Images/spacer.gif" width="4">
- </td>
- </tr>
- </table>
- </div>
- <div class="LINKSELECTED">
- <span class="VERTLINE1">
- <img height="1" alt="" src="../../Images/spacer.gif" width="1" border="0">
- </span><span class="HORILINE1">
- <table height="100%" cellspacing="0" cellpadding="0" width="167" border="0">
- <tr valign="top">
- <td class="DOTTEDLINE" height="1">
- </td>
- </tr>
- <tr valign="top">
- <td height="100%">
- <img height="28" alt="" src="../../Images/spacer.gif" width="1" border="0">
- </td>
- </tr>
- <tr valign="top">
- <td class="DOTTEDLINE" height="1">
- </td>
- </tr>
- </table>
- </span>
- <table class="LINKTEXTSELECTED" height="28" cellspacing="0" cellpadding="0" width="160"
- border="0">
- <tr valign="middle">
- <td width="162">
- <span id="Page_2" title="" onclick="Next(document, 'Page_2.htm');" tabindex="1">Projekteinstellungen</span>
- </td>
- <td width="4">
- <img height="1" src="../../Images/spacer.gif" width="4">
- </td>
- </tr>
- </table>
- </div>
- <!--CLOSE OF NAVIGATIONAL LINKS//-->
- </td>
- <td width="1">
- <div class="VERTLINE">
- <img height="1" alt="" src="../../Images/spacer.gif" width="1" border="0">
- </div>
- </td>
- </tr>
- </table>
- <!--CLOSE OF NAVIGATION TABLE//-->
- </td>
- <td valign="top" height="100%">
- <!--OPEN OF CONTENT AND BUTTON TABLE//-->
- <table class="ONE" cellspacing="0" cellpadding="0" border="0">
- <colgroup>
- <col width="100%">
- <tr valign="top">
- <td valign="top" height="100%">
- <!--OPEN OF CONTENT//-->
- <table class="CONTENT" cellspacing="0" cellpadding="0" border="0" id="Table1">
- <colgroup>
- <tr>
- <td width="12" height="12">
- </td>
- <td height="12">
- </td>
- <td height="12">
- </td>
- <td height="12">
- </td>
- <td width="12" height="12">
- </td>
- </tr>
- <tr>
- <td valign="top" width="12">
- </td>
- <td valign="top" colspan="3">
- <p>
- Selektieren Sie die Module, die zum Projekt hinzugefgt werden sollen. Die empfohlenen
- Module sind bereits ausgewhlt.<br />
- <br />
- </p>
- </td>
- <td valign="top" width="12">
- </td>
- </tr>
- <tr>
- <td width="12" height="12">
- </td>
- <td height="12">
- </td>
- <td height="12">
- </td>
- <td height="12">
- </td>
- <td width="12" height="12">
- </td>
- </tr>
-<!-- {ADB367FB-48AA-488e-9102-B037297CFCDB} -->
-<!-- -->
-<!-- START. GENERATED WITH SCRIPT, DO NOT EDIT -->
-<!-- -->
-<tr><td valign="top" width="12"></td><td valign="top" colspan="3"></td><td valign="top" width="12"></td></tr>
-<tr>
-<td valign="top" width="12"></td>
-<td valign="top"><input id="THREED_MODULE" title="Select this if you want to include the 3D library" type="checkbox" name="THREED_MODULE_NAME">&nbsp;3D</td>
-<td valign="top"><input id="NETWORK_MODULE" title="Select this if you want to include the Network library" type="checkbox" name="NETWORK_MODULE_NAME">&nbsp;Network</td>
-<td valign="top"><input id="SVG_MODULE" title="Select this if you want to include the SVG library" type="checkbox" name="SVG_MODULE_NAME">&nbsp;SVG</td>
-<td valign="top" width="12"></td>
-</tr>
-<tr>
-<td valign="top" width="12"></td>
-<td valign="top"><input id="AQCONTAINER_MODULE" title="Select this if you want to include the ActiveQt container library" type="checkbox" name="AQCONTAINER_MODULE_NAME">&nbsp;ActiveQt container&nbsp;</td>
-<td valign="top"><input id="NFC_MODULE" title="Select this if you want to include the NFC library" type="checkbox" name="NFC_MODULE_NAME">&nbsp;NFC</td>
-<td valign="top"><input id="TEST_MODULE" title="Select this if you want to include the Test library" type="checkbox" name="TEST_MODULE_NAME">&nbsp;Test</td>
-<td valign="top" width="12"></td>
-</tr>
-<tr>
-<td valign="top" width="12"></td>
-<td valign="top"><input id="AQSERVER_MODULE" title="Select this if you want to include the ActiveQt server library" type="checkbox" name="AQSERVER_MODULE_NAME">&nbsp;ActiveQt&nbsp;server&nbsp;</td>
-<td valign="top"><input id="OPENGL_MODULE" title="Select this if you want to include the OpenGL library" type="checkbox" name="OPENGL_MODULE_NAME">&nbsp;OpenGL</td>
-<td valign="top"><input id="UITOOLS_MODULE" title="Select this if you want to include the UI Tools" type="checkbox" name="UITOOLS_MODULE_NAME">&nbsp;UI Tools</td>
-<td valign="top" width="12"></td>
-</tr>
-<tr>
-<td valign="top" width="12"></td>
-<td valign="top"><input id="BLUETOOTH_MODULE" title="Select this if you want to include the Bluetooth library" type="checkbox" name="BLUETOOTH_MODULE_NAME">&nbsp;Bluetooth</td>
-<td valign="top"><input id="POSITIONING_MODULE" title="Select this if you want to include the Positioning library" type="checkbox" name="POSITIONING_MODULE_NAME">&nbsp;Positioning</td>
-<td valign="top"><input id="WEBCHANNEL_MODULE" title="Select this if you want to include the Web Channel library" type="checkbox" name="WEBCHANNEL_MODULE_NAME">&nbsp;Web Channel</td>
-<td valign="top" width="12"></td>
-</tr>
-<tr>
-<td valign="top" width="12"></td>
-<td valign="top"><input id="CONCURRENT_MODULE" title="Select this if you want to include the Concurrent library" type="checkbox" name="CONCURRENT_MODULE_NAME">&nbsp;Concurrent</td>
-<td valign="top"><input id="PRINTSUPPORT_MODULE" title="Select this if you want to include the Print Support library" type="checkbox" name="PRINTSUPPORT_MODULE_NAME">&nbsp;Print Support</td>
-<td valign="top"><input id="WEBKIT_MODULE" title="Select this if you want to include the WebKit library" type="checkbox" name="WEBKIT_MODULE_NAME">&nbsp;WebKit</td>
-<td valign="top" width="12"></td>
-</tr>
-<tr>
-<td valign="top" width="12"></td>
-<td valign="top"><input id="CORE_MODULE" title="Select this if you want to include the core library" type="checkbox" name="CORE_MODULE_NAME">&nbsp;Core</td>
-<td valign="top"><input id="QML_MODULE" title="Select this if you want to include the QML library" type="checkbox" name="QML_MODULE_NAME">&nbsp;QML</td>
-<td valign="top"><input id="WEBKITWIDGETS_MODULE" title="Select this if you want to include the Webkit Widgets library" type="checkbox" name="WEBKITWIDGETS_MODULE_NAME">&nbsp;Webkit Widgets</td>
-<td valign="top" width="12"></td>
-</tr>
-<tr>
-<td valign="top" width="12"></td>
-<td valign="top"><input id="ENGINIO_MODULE" title="Select this if you want to include the Enginio library" type="checkbox" name="ENGINIO_MODULE_NAME">&nbsp;Enginio</td>
-<td valign="top"><input id="QUICK_MODULE" title="Select this if you want to include the Quick library" type="checkbox" name="QUICK_MODULE_NAME">&nbsp;Quick</td>
-<td valign="top"><input id="WEBSOCKETS_MODULE" title="Select this if you want to include the Web Sockets library" type="checkbox" name="WEBSOCKETS_MODULE_NAME">&nbsp;Web Sockets</td>
-<td valign="top" width="12"></td>
-</tr>
-<tr>
-<td valign="top" width="12"></td>
-<td valign="top"><input id="DECLARATIVE_MODULE" title="Select this if you want to include the Declarative library" type="checkbox" name="DECLARATIVE_MODULE_NAME">&nbsp;Declarative</td>
-<td valign="top"><input id="QUICKWIDGETS_MODULE" title="Select this if you want to include the Quick Widgets library" type="checkbox" name="QUICKWIDGETS_MODULE_NAME">&nbsp;Quick Widgets</td>
-<td valign="top"><input id="WIDGETS_MODULE" title="Select this if you want to include the Widgets library" type="checkbox" name="WIDGETS_MODULE_NAME">&nbsp;Widgets</td>
-<td valign="top" width="12"></td>
-</tr>
-<tr>
-<td valign="top" width="12"></td>
-<td valign="top"><input id="GUI_MODULE" title="Select this if you want to include the GUI library" type="checkbox" name="GUI_MODULE_NAME">&nbsp;GUI</td>
-<td valign="top"><input id="SCRIPT_MODULE" title="Select this if you want to include the Script library" type="checkbox" name="SCRIPT_MODULE_NAME">&nbsp;Script</td>
-<td valign="top"><input id="WINDOWSEXTRAS_MODULE" title="Select this if you want to include the Windows Extras library" type="checkbox" name="WINDOWSEXTRAS_MODULE_NAME">&nbsp;Windows Extras</td>
-<td valign="top" width="12"></td>
-</tr>
-<tr>
-<td valign="top" width="12"></td>
-<td valign="top"><input id="HELP_MODULE" title="Select this if you want to include the Help library" type="checkbox" name="HELP_MODULE_NAME">&nbsp;Help</td>
-<td valign="top"><input id="SCRIPTTOOLS_MODULE" title="Select this if you want to include the Script Tools" type="checkbox" name="SCRIPTTOOLS_MODULE_NAME">&nbsp;Script Tools</td>
-<td valign="top"><input id="XML_MODULE" title="Select this if you want to include the XML library" type="checkbox" name="XML_MODULE_NAME">&nbsp;XML</td>
-<td valign="top" width="12"></td>
-</tr>
-<tr>
-<td valign="top" width="12"></td>
-<td valign="top"><input id="LOCATION_MODULE" title="Select this if you want to include the Location library" type="checkbox" name="LOCATION_MODULE_NAME">&nbsp;Location</td>
-<td valign="top"><input id="SENSORS_MODULE" title="Select this if you want to include the Sensors library" type="checkbox" name="SENSORS_MODULE_NAME">&nbsp;Sensors</td>
-<td valign="top"><input id="XMLPATTERNS_MODULE" title="Select this if you want to include the XML Patterns library" type="checkbox" name="XMLPATTERNS_MODULE_NAME">&nbsp;XML Patterns</td>
-<td valign="top" width="12"></td>
-</tr>
-<tr>
-<td valign="top" width="12"></td>
-<td valign="top"><input id="MULTIMEDIA_MODULE" title="Select this if you want to include the Multimedia library" type="checkbox" name="MULTIMEDIA_MODULE_NAME">&nbsp;Multimedia</td>
-<td valign="top"><input id="SERIALPORT_MODULE" title="Select this if you want to include the Serial Port library" type="checkbox" name="SERIALPORT_MODULE_NAME">&nbsp;Serial Port</td>
-<td valign="top" width="12"></td>
-<td valign="top" width="12"></td>
-</tr>
-<tr>
-<td valign="top" width="12"></td>
-<td valign="top"><input id="MULTIMEDIAWIDGETS_MODULE" title="Select this if you want to include the Multimedia Widgets library" type="checkbox" name="MULTIMEDIAWIDGETS_MODULE_NAME">&nbsp;Multimedia Widgets</td>
-<td valign="top"><input id="SQL_MODULE" title="Select this if you want to include the SQL library" type="checkbox" name="SQL_MODULE_NAME">&nbsp;SQL</td>
-<td valign="top" width="12"></td>
-<td valign="top" width="12"></td>
-</tr>
-<!-- -->
-<!-- END. GENERATED WITH SCRIPT, DO NOT EDIT -->
-<!-- -->
-<!-- {ADB367FB-48AA-488e-9102-B037297CFCDB} -->
-
-
-
-
- <tr>
- <td valign="top" width="12">
- </td>
- <td valign="top" colspan="3">
- <p>
- &nbsp;</p>
- </td>
- <td valign="top" width="12">
- </td>
- </tr>
- <tr>
- <td valign="top" width="12" height="100%">
- </td>
- <td valign="top" height="100%">
- </td>
- <td valign="top" height="100%">
- </td>
- <td valign="top" height="100%">
- </td>
- <td valign="top" width="12" height="100%">
- </td>
- </tr>
- </table>
- <!--CLOSE OF CONTENT//-->
- </TD> </TR>
- <tr valign="bottom">
- <td height="48">
- <!--OPEN OF BUTTON HTML//-->
- <table height="48" cellspacing="0" cellpadding="0" border="0">
- <colgroup>
- <col width="12">
- <col>
- <col width="75">
- <col width="4">
- <col width="75">
- <col width="4">
- <col width="75">
- <col width="12">
- <tr>
- <td class="RULE" valign="top" colspan="8" height="2">
- <table height="1" cellspacing="0" cellpadding="0" width="100%" border="0">
- <tr valign="top">
- </tr>
- </table>
- </td>
- </tr>
- <tr>
- <td valign="top" colspan="8" height="11">
- &nbsp;
- </td>
- </tr>
- <tr>
- <td valign="middle" width="12" height="23">
- &nbsp;
- </td>
- <td valign="top" height="23">
- &nbsp;
- </td>
- <td valign="middle" width="75" height="23">
- <button class="BUTTONS" id="FinishBtn" accesskey="B" onclick="OnFinish(document);"
- type="button">
- <u>B</u>eenden</button>
- </td>
- <td valign="middle" width="4" height="23">
- &nbsp;
- </td>
- <td valign="middle" width="75" height="23">
- <button class="BUTTONS" id="CancelBtn" accesskey="A" onclick="window.external.Finish(document, 'cancel');"
- type="button">
- <u>A</u>bbrechen</button>
- </td>
- <td valign="middle" width="4" height="23">
- &nbsp;
- </td>
- <td valign="middle" width="75" height="23">
- <button class="BUTTONS" id="HelpBtn" disabled accesskey="H" onclick="window.external.OnHelp('vc.appwiz.custom.overview');"
- type="button">
- <u>H</u>ilfe</button>
- </td>
- <td valign="middle" width="12" height="23">
- &nbsp;
- </td>
- </tr>
- <tr>
- <td valign="top" colspan="8" height="12">
- &nbsp;
- </td>
- </tr>
- </table>
- <!--CLOSE OF BUTTON HTML//-->
- </td>
- </tr>
- </TABLE>
- <!--CLOSE OF NAVIGATION, CONTENT, AND BUTTON TABLES//-->
- </TD> </TR> </TABLE>
-</body>
-</html>
-<script language="JSCRIPT">
-
- var QtEngine;
- var tab_array = new Array();
- tab_array[0] = Default;
- tab_array[1] = Page_2;
-
- // This is an example of a function which initializes the page
- //
- function InitDocument(document) {
- var dte = window.external.dte;
- var version = dte.version;
- if (version == "8.0")
- QtEngine = new ActiveXObject("Digia.Qt5ProjectEngine80");
- else if (version == "9.0")
- QtEngine = new ActiveXObject("Digia.Qt5ProjectEngine90");
- else if (version == "10.0")
- QtEngine = new ActiveXObject("Digia.Qt5ProjectEngine100");
- else if (version == "11.0")
- QtEngine = new ActiveXObject("Digia.Qt5ProjectEngine110");
- else if (version == "12.0")
- QtEngine = new ActiveXObject("Digia.Qt5ProjectEngine120");
- else {
- window.external.ReportError("Cannot instantiate QtProjectEngine object!");
- return false;
- }
-
- setDirection();
-
- if (window.external.FindSymbol('DOCUMENT_FIRST_LOAD')) {
- // This function sets the default symbols based
- // on the values specified in the SYMBOL tags above
- //
- window.external.SetDefaults(document);
- }
-
- // Load the document and initialize the controls
- // with the appropriate symbol values
- //
- window.external.Load(document);
-
- // Disable Essential modules which are not installed (Should not found any?)
- DisableUninstalled(THREED_MODULE_NAME, "Qt3D", QtEngine);
- DisableUninstalled(CORE_MODULE_NAME, "QtCore", QtEngine);
- DisableUninstalled(GUI_MODULE_NAME, "QtGui", QtEngine);
- DisableUninstalled(LOCATION_MODULE_NAME, "QtLocation", QtEngine);
- DisableUninstalled(MULTIMEDIA_MODULE_NAME, "QtMultimedia", QtEngine);
- DisableUninstalled(MULTIMEDIAWIDGETS_MODULE_NAME, "QtMultimediaWidgets", QtEngine);
- DisableUninstalled(NETWORK_MODULE_NAME, "QtNetwork", QtEngine);
- DisableUninstalled(QML_MODULE_NAME, "QtQml", QtEngine);
- DisableUninstalled(QUICK_MODULE_NAME, "QtQuick", QtEngine);
- DisableUninstalled(SQL_MODULE_NAME, "QtSql", QtEngine);
- DisableUninstalled(TEST_MODULE_NAME, "QtTest", QtEngine);
- DisableUninstalled(WEBKIT_MODULE_NAME, "QtWebkit", QtEngine);
-
- // Disable Add-on modules which are not installed
- DisableUninstalled(AQCONTAINER_MODULE_NAME, "QtAxContainer", QtEngine);
- DisableUninstalled(AQSERVER_MODULE_NAME, "QtAxServer", QtEngine);
- DisableUninstalled(BLUETOOTH_MODULE_NAME, "QtBluetooth", QtEngine);
- DisableUninstalled(CONCURRENT_MODULE_NAME, "QtConcurrent", QtEngine);
- DisableUninstalled(DECLARATIVE_MODULE_NAME, "QtDeclarative", QtEngine);
- DisableUninstalled(ENGINIO_MODULE_NAME, "Enginio", QtEngine);
- DisableUninstalled(HELP_MODULE_NAME, "QtHelp", QtEngine);
- DisableUninstalled(NFC_MODULE_NAME, "QtNfc", QtEngine);
- DisableUninstalled(OPENGL_MODULE_NAME, "QtOpenGL", QtEngine);
- DisableUninstalled(POSITIONING_MODULE_NAME, "QtPositioning", QtEngine);
- DisableUninstalled(PRINTSUPPORT_MODULE_NAME, "QtPrintSupport", QtEngine);
- DisableUninstalled(QUICKWIDGETS_MODULE_NAME, "QtQuickWidgets", QtEngine);
- DisableUninstalled(SCRIPT_MODULE_NAME, "QtScript", QtEngine);
- DisableUninstalled(SCRIPTTOOLS_MODULE_NAME, "QtScriptTools", QtEngine);
- DisableUninstalled(SENSORS_MODULE_NAME, "QtSensors", QtEngine);
- DisableUninstalled(SERIALPORT_MODULE_NAME, "QtSerialPort", QtEngine);
- DisableUninstalled(SVG_MODULE_NAME, "QtSvg", QtEngine);
- DisableUninstalled(UITOOLS_MODULE_NAME, "QtUiTools", QtEngine);
- DisableUninstalled(WEBCHANNEL_MODULE_NAME, "QtWebChannel", QtEngine);
- DisableUninstalled(WEBKITWIDGETS_MODULE_NAME, "QtWebkitWidgets", QtEngine);
- DisableUninstalled(WEBSOCKETS_MODULE_NAME, "QtWebSockets", QtEngine);
- DisableUninstalled(WIDGETS_MODULE_NAME, "QtWidgets", QtEngine);
- DisableUninstalled(WINDOWSEXTRAS_MODULE_NAME, "QtWinExtras", QtEngine);
- DisableUninstalled(XML_MODULE_NAME, "QtXml", QtEngine);
- DisableUninstalled(XMLPATTERNS_MODULE_NAME, "QtXmlPatterns", QtEngine);
-
- // Disable these cause mandatory for this wizard
- CORE_MODULE_NAME.disabled = true;
- }
-
- function DisableUninstalled(element, lib_name, engine) {
- var not_installed = !engine.IsModuleInstalled(lib_name);
- element.disabled = not_installed;
- if (not_installed) {
- element.title = ""; // Not installed so don't show title
- element.parentNode.className = "addon_disabled";
- }
- return not_installed;
- }
-
- // If the wizard has more than 1 page, this
- // function will browse to the page specified
- //
- function Next(document, linkto) {
- CORE_MODULE_NAME.disabled = false;
- window.external.Next(document, linkto);
- }
-
- // This is an example of a function which
- // gets called when the user clicks on 'Finish'
- //
- function OnFinish(document) {
- CORE_MODULE_NAME.disabled = false;
- OnWizFinish(document);
- }
-
-</script>
-<script language="JSCRIPT" id="INCLUDE_SCRIPT"></script>
-<script language="JSCRIPT" id="INCLUDE_COMMON"></script>
-<!--
-Common.js is a script file which contains the helper functions
-used by the wizards. Include this line if you want to
-call these functions from your html scripts.
-//-->
-<script>
- var strPath = window.external.FindSymbol("PRODUCT_INSTALLATION_DIR");
- strPath += "VCWizards/";
- strPath += window.external.GetHostLocale();
-
- // verify if the locale folder really exists
- var fso = new ActiveXObject("Scripting.FileSystemObject");
- var found = fso.FolderExists(strPath)
- if (found == false) {
- strPath = window.external.FindSymbol("PRODUCT_INSTALLATION_DIR");
- strPath += "VCWizards/";
- var folder = fso.GetFolder(strPath);
- for (subfolders = new Enumerator(folder.SubFolders); !subfolders.atEnd(); subfolders.moveNext()) {
- for (files = new Enumerator(subfolders.item().files); !files.atEnd(); files.moveNext()) {
- if (files.item().name.toLowerCase().localeCompare("common.js") == 0) {
- found = true;
- strPath += subfolders.item().name;
- break;
- }
- }
- if (found == true)
- break;
- }
- }
-
- var strScriptPath = strPath + "/Script.js";
- var strCommonPath = strPath + "/Common.js";
- document.scripts("INCLUDE_SCRIPT").src = strScriptPath;
- document.scripts("INCLUDE_COMMON").src = strCommonPath;
-</script>
diff --git a/Qt4VS2003/Projects/Qt5ConsoleProject/HTML/1031/default.htm b/Qt4VS2003/Projects/Qt5ConsoleProject/HTML/1031/default.htm
deleted file mode 100644
index e9a9033a..00000000
--- a/Qt4VS2003/Projects/Qt5ConsoleProject/HTML/1031/default.htm
+++ /dev/null
@@ -1,496 +0,0 @@
-<html dir="ltr">
-<head>
- <title>'Qt5ConsoleProject'</title>
- <meta content="http://schemas.microsoft.com/intellisense/ie5" name="vs_targetSchema">
- <link id="LINKURL" rel="stylesheet" href="../../1033/styles.css">
- <!-- -->
- <!-- The SYMBOL tag is used to set the default values for the user-defined symbols.-->
- <!-- -->
- <symbol name="WIZARD_DIALOG_TITLE" type="text" value="Qt5 Console Project Wizard"></symbol>
- <symbol name="THREED_MODULE" type="checkbox" value="false"></symbol>
- <symbol name="AQCONTAINER_MODULE" type="checkbox" value="false"></symbol>
- <symbol name="AQSERVER_MODULE" type="checkbox" value="false"></symbol>
- <symbol name="BLUETOOTH_MODULE" type="checkbox" value="false"></symbol>
- <symbol name="CONCURRENT_MODULE" type="checkbox" value="false"></symbol>
- <symbol name="CORE_MODULE" type="checkbox" value="true"></symbol>
- <symbol name="ENGINIO_MODULE" type="checkbox" value="false"></symbol>
- <symbol name="DECLARATIVE_MODULE" type="checkbox" value="false"></symbol>
- <symbol name="GUI_MODULE" type="checkbox" value="false"></symbol>
- <symbol name="HELP_MODULE" type="checkbox" value="false"></symbol>
- <symbol name="LOCATION_MODULE" type="checkbox" value="false"></symbol>
- <symbol name="MULTIMEDIA_MODULE" type="checkbox" value="false"></symbol>
- <symbol name="MULTIMEDIAWIDGETS_MODULE" type="checkbox" value="false"></symbol>
- <symbol name="NETWORK_MODULE" type="checkbox" value="false"></symbol>
- <symbol name="NFC_MODULE" type="checkbox" value="false"></symbol>
- <symbol name="OPENGL_MODULE" type="checkbox" value="false"></symbol>
- <symbol name="POSITIONING_MODULE" type="checkbox" value="false"></symbol>
- <symbol name="PRINTSUPPORT_MODULE" type="checkbox" value="false"></symbol>
- <symbol name="QML_MODULE" type="checkbox" value="false"></symbol>
- <symbol name="QUICK_MODULE" type="checkbox" value="false"></symbol>
- <symbol name="QUICKWIDGETS_MODULE" type="checkbox" value="false"></symbol>
- <symbol name="SCRIPT_MODULE" type="checkbox" value="false"></symbol>
- <symbol name="SCRIPTTOOLS_MODULE" type="checkbox" value="false"></symbol>
- <symbol name="SENSORS_MODULE" type="checkbox" value="false"></symbol>
- <symbol name="SERIALPORT_MODULE" type="checkbox" value="false"></symbol>
- <symbol name="SQL_MODULE" type="checkbox" value="false"></symbol>
- <symbol name="SVG_MODULE" type="checkbox" value="false"></symbol>
- <symbol name="TEST_MODULE" type="checkbox" value="false"></symbol>
- <symbol name="UITOOLS_MODULE" type="checkbox" value="false"></symbol>
- <symbol name="WEBCHANNEL_MODULE" type="checkbox" value="false"></symbol>
- <symbol name="WEBKIT_MODULE" type="checkbox" value="false"></symbol>
- <symbol name="WEBKITWIDGETS_MODULE" type="checkbox" value="false"></symbol>
- <symbol name="WEBSOCKETS_MODULE" type="checkbox" value="false"></symbol>
- <symbol name="WIDGETS_MODULE" type="checkbox" value="false"></symbol>
- <symbol name="WINDOWSEXTRAS_MODULE" type="checkbox" value="false"></symbol>
- <symbol name="XML_MODULE" type="checkbox" value="false"></symbol>
- <symbol name="XMLPATTERNS_MODULE" type="checkbox" value="false"></symbol>
- <symbol name="CLASSNAME_TEXT" type="text" value=""></symbol>
- <symbol name="HFILE_TEXT" type="text" value=""></symbol>
- <symbol name="CPPFILE_TEXT" type="text" value=""></symbol>
- <symbol name="UIFILE_TEXT" type="text" value=""></symbol>
- <symbol name="QRCFILE_TEXT" type="text" value=""></symbol>
- <symbol name="APP_TYPE_SUMMARY" type="text" value="Qt5 Console Project"></symbol>
-</head>
-<body onkeypress="OnPress();" onkeydown="OnKey();" bottommargin="0" bgcolor="buttonface"
- leftmargin="0" topmargin="0" onload="InitDocument(document);" rightmargin="0">
- <table class="ONE" height="100%" cellspacing="0" cellpadding="0" width="100%" border="0">
- <colgroup>
- <col width="178">
- <col>
- <!--OPEN OF INTRODUCTORY INFORMATION TABLE//-->
- <tr valign="top">
- <td width="100%" colspan="2" height="79">
- <table class="TWO" cellspacing="0" cellpadding="0" border="0">
- <colgroup>
- <col width="12">
- <col>
- <col width="12">
- <tr>
- <td valign="top" width="12" height="12">
- &nbsp;
- </td>
- <td valign="top" height="12">
- &nbsp;
- </td>
- <td valign="top" width="12" height="12">
- &nbsp;
- </td>
- <td class="IMAGE" valign="bottom" width="110" rowspan="2">
- <div class="SMALLA" id="Layer0">
- <img class="SMALLEST" height="63" alt="" src="../../Images/Qt5ConsoleProject.jpg"
- width="63" border="0">
- </div>
- </td>
- <td valign="top" width="6" height="12" rowspan="2">
- &nbsp;
- </td>
- </tr>
- <tr>
- <td valign="top" width="12" height="65">
- &nbsp;
- </td>
- <td valign="top" height="65">
- <h4 class="HEAD" id="HEAD">
- Willkommen zum Qt5 Konsolenprojektwizard</h4>
- <p class="SUBHEAD" id="SUBHEAD">
- Dieser Wizard erstellt ein Qt5 Konsolenprogramm. Die Applikation wird von QCoreApplication
- abgeleitet und beinhaltet keine GUI.</p>
- </td>
- <td valign="top" width="12" height="65">
- &nbsp;
- </td>
- </tr>
- <tr>
- <td class="RULE" valign="top" colspan="5" height="2">
- <table height="1" cellspacing="0" cellpadding="0" width="100%" border="0">
- <tr valign="top">
- <td width="100%" bgcolor="buttonshadow" height="1">
- <img height="1" alt="" src="../../Images/spacer.gif" width="1">
- </td>
- <td width="1" bgcolor="window" height="1">
- <img height="1" alt="" src="../../Images/spacer.gif" width="1">
- </td>
- </tr>
- </table>
- </td>
- </tr>
- </table>
- </td>
- </tr>
- <!--CLOSE OF INTRODUCTORY INFORMATION TABLE//-->
- <!--OPEN OF NAVIGATION, CONTENT, AND BUTTON TABLES//-->
- <tr valign="top">
- <td class="THREE" valign="top" width="178" height="100%">
- <!--OPEN OF NAVIGATION TABLE//-->
- <table class="THREE" cellspacing="0" cellpadding="0" border="0">
- <colgroup>
- <col width="12">
- <col width="166">
- <col width="1">
- <tr>
- <td valign="top" colspan="3" height="12">
- &nbsp;
- </td>
- </tr>
- <tr>
- <td valign="top" width="12" height="100%">
- &nbsp;
- </td>
- <td valign="top" width="165" height="100%">
- <!--OPEN OF NAVIGATIONAL LINKS//-->
- <div class="LINKSELECTED">
- <span class="VERTLINE1">
- <img height="1" alt="" src="../../Images/spacer.gif" width="1" border="0">
- </span><span class="HORILINE1">
- <table height="100%" cellspacing="0" cellpadding="0" width="167" border="0">
- <tr valign="top">
- <td class="DOTTEDLINE" height="1">
- </td>
- </tr>
- <tr valign="top">
- <td height="100%">
- <img height="28" alt="" src="../../Images/spacer.gif" width="1" border="0">
- </td>
- </tr>
- <tr valign="top">
- <td class="DOTTEDLINE" height="1">
- </td>
- </tr>
- </table>
- </span>
- <table class="LINKTEXTSELECTED" height="28" cellspacing="0" cellpadding="0" width="160"
- border="0">
- <tr valign="middle">
- <td width="156">
- <span id="Page_1" title="" onclick="Next(document, 'default.htm');" tabindex="1">bersicht</span>
- </td>
- <td width="4">
- <img height="1" src="../../Images/spacer.gif" width="4">
- </td>
- </tr>
- </table>
- </div>
- <div class="LINK">
- <table class="LINKTEXT" height="28" cellspacing="0" cellpadding="0" width="166" border="0">
- <tr valign="middle">
- <td width="162">
- <span class="ACTIVELINK" id="Page_2" title="" onclick="Next(document, 'Page_2.htm');"
- tabindex="1">Projekteinstellungen</span>
- </td>
- <td width="4">
- <img height="1" src="../../Images/spacer.gif" width="4">
- </td>
- </tr>
- </table>
- </div>
- <!--CLOSE OF NAVIGATIONAL LINKS//-->
- </td>
- <td width="1">
- <div class="VERTLINE">
- <img height="1" alt="" src="../../Images/spacer.gif" width="1" border="0">
- </div>
- </td>
- </tr>
- </table>
- <!--CLOSE OF NAVIGATION TABLE//-->
- </td>
- <td valign="top" height="100%">
- <!--OPEN OF CONTENT AND BUTTON TABLE//-->
- <table class="ONE" cellspacing="0" cellpadding="0" border="0">
- <colgroup>
- <col width="100%">
- <tr valign="top">
- <td height="100%">
- <!--OPEN OF CONTENT//-->
- <table class="CONTENT" cellspacing="0" cellpadding="0" border="0">
- <colgroup>
- <col width="12">
- <col width="185">
- <col width="12">
- <col width="185">
- <col width="12">
- <col width="185">
- <col width="12">
- <tr>
- <td valign="top" colspan="5" height="12">
- &nbsp;
- </td>
- </tr>
- <tr valign="top">
- <td valign="top" width="12">
- &nbsp;
- </td>
- <td valign="top" colspan="3">
- <p>
- <span class="ItemTextTop" id="PROJECT_SETTINGS_SPAN">Die momentan selektierten Qt Module
- sind:</span></p>
- <p>
- <span class="ItemTextTop"></span><span class="ItemText" id="QTMODULES" title="">
- </span>
- </p>
- <p>
- <span class="ItemText" title=""></span><span class="ItemText" id="FinishText">Klicken
- Sie <b>Beenden</b> von jeder beliebigen Wizardseite um die aktuellen Einstellungen
- zu bernehmen und das Projekt zu erstellen.</span>
- </p>
- </td>
- <td valign="top" width="12">
- &nbsp;
- </td>
- </tr>
- <tr>
- <td valign="top" colspan="7" height="100%">
- &nbsp;
- </td>
- </tr>
- </table>
- <!--CLOSE OF CONTENT//-->
- </td>
- </tr>
- <tr valign="bottom">
- <td height="48">
- <!--OPEN OF BUTTON HTML//-->
- <table height="48" cellspacing="0" cellpadding="0" border="0">
- <colgroup>
- <col width="12">
- <col>
- <col width="75">
- <col width="4">
- <col width="75">
- <col width="4">
- <col width="75">
- <col width="12">
- <tr>
- <td class="RULE" valign="top" colspan="8" height="2">
- <table height="1" cellspacing="0" cellpadding="0" width="100%" border="0">
- <tr valign="top">
- </tr>
- </table>
- </td>
- </tr>
- <tr>
- <td valign="top" colspan="8" height="11">
- &nbsp;
- </td>
- </tr>
- <tr>
- <td valign="middle" width="12" height="23">
- &nbsp;
- </td>
- <td valign="top" height="23">
- &nbsp;
- </td>
- <td valign="middle" width="75" height="23">
- <button class="BUTTONS" id="FinishBtn" accesskey="B" onclick="OnFinish(document);"
- type="button">
- <u>B</u>eenden</button>
- </td>
- <td valign="middle" width="4" height="23">
- &nbsp;
- </td>
- <td valign="middle" width="75" height="23">
- <button class="BUTTONS" id="CancelBtn" accesskey="A" onclick="window.external.Finish(document, 'cancel');"
- type="button">
- <u>A</u>bbrechen</button>
- </td>
- <td valign="middle" width="4" height="23">
- &nbsp;
- </td>
- <td valign="middle" width="75" height="23">
- <button class="BUTTONS" id="HelpBtn" disabled accesskey="H" onclick="window.external.OnHelp('vc.appwiz.custom.overview');"
- type="button">
- <u>H</u>ilfe</button>
- </td>
- <td valign="middle" width="12" height="23">
- &nbsp;
- </td>
- </tr>
- <tr>
- <td valign="top" colspan="8" height="12">
- &nbsp;
- </td>
- </tr>
- </table>
- <!--CLOSE OF BUTTON HTML//-->
- </td>
- </tr>
- </table>
- <!--CLOSE OF NAVIGATION, CONTENT, AND BUTTON TABLES//-->
- </td>
- </tr>
- </table>
-</body>
-</html>
-<script language="JSCRIPT">
-
- var tab_array = new Array();
- tab_array[0] = Page_1;
- tab_array[1] = Page_2;
-
- // This is an example of a function which initializes the page
- //
- function InitDocument(document) {
- setDirection();
-
- if (window.external.FindSymbol('DOCUMENT_FIRST_LOAD')) {
- // This function sets the default symbols based
- // on the values specified in the SYMBOL tags above
- //
- window.external.SetDefaults(document);
- UpdateFields();
- }
-
- // Load the document and initialize the controls
- // with the appropriate symbol values
- //
- window.external.Load(document);
- InitControls();
- }
-
- function UpdateFields() {
- }
-
- function InitControls() {
- var strModules = "";
-
- // Essentials
- if (window.external.FindSymbol('THREED_MODULE'))
- strModules += "3D, ";
- if (window.external.FindSymbol('CORE_MODULE'))
- strModules += "Core, ";
- if (window.external.FindSymbol('GUI_MODULE'))
- strModules += "GUI, ";
- if (window.external.FindSymbol('LOCATION_MODULE'))
- strModules += "Location, ";
- if (window.external.FindSymbol('MULTIMEDIA_MODULE'))
- strModules += "Multimedia, ";
- if (window.external.FindSymbol('MULTIMEDIAWIDGETS_MODULE'))
- strModules += "Multimedia Widgets, ";
- if (window.external.FindSymbol('NETWORK_MODULE'))
- strModules += "Network, ";
- if (window.external.FindSymbol('QML_MODULE'))
- strModules += "Qml, ";
- if (window.external.FindSymbol('QUICK_MODULE'))
- strModules += "Quick, ";
- if (window.external.FindSymbol('SQL_MODULE'))
- strModules += "SQL, ";
- if (window.external.FindSymbol('TEST_MODULE'))
- strModules += "Test, ";
- if (window.external.FindSymbol('WEBKIT_MODULE'))
- strModules += "WebKit, ";
-
- // Add-ons
- // Active Qt better split to server and container
- if (window.external.FindSymbol('AQSERVER_MODULE'))
- strModules += "ActiveQt Server, ";
- if (window.external.FindSymbol('AQCONTAINER_MODULE'))
- strModules += "ActiveQt Container, ";
-
- if (window.external.FindSymbol('BLUETOOTH_MODULE'))
- strModules += "Bluetooth, ";
- if (window.external.FindSymbol('CONCURRENT_MODULE'))
- strModules += "Concurrent, ";
- if (window.external.FindSymbol('DECLARATIVE_MODULE'))
- strModules += "Declarative, ";
- if (window.external.FindSymbol('ENGINIO_MODULE'))
- strModules += "Enginio, ";
- if (window.external.FindSymbol('HELP_MODULE'))
- strModules += "Help, ";
- if (window.external.FindSymbol('NFC_MODULE'))
- strModules += "NFC, ";
- if (window.external.FindSymbol('OPENGL_MODULE'))
- strModules += "OpenGL, ";
- if (window.external.FindSymbol('POSITIONING_MODULE'))
- strModules += "Positioning, ";
- if (window.external.FindSymbol('PRINTSUPPORT_MODULE'))
- strModules += "Print Support, ";
- if (window.external.FindSymbol('QUICKWIDGETS_MODULE'))
- strModules += "Quick Widgets, ";
- if (window.external.FindSymbol('SCRIPT_MODULE'))
- strModules += "Script, ";
- if (window.external.FindSymbol('SCRIPTTOOLS_MODULE'))
- strModules += "Script Tools, ";
- if (window.external.FindSymbol('SENSORS_MODULE'))
- strModules += "Sensors, ";
- if (window.external.FindSymbol('SERIALPORT_MODULE'))
- strModules += "Serial Port, ";
- if (window.external.FindSymbol('SVG_MODULE'))
- strModules += "SVG, ";
- if (window.external.FindSymbol('UITOOLS_MODULE'))
- strModules += "UI Tools, ";
- if (window.external.FindSymbol('WEBCHANNEL_MODULE'))
- strModules += "Web Channel, ";
- if (window.external.FindSymbol('WEBKITWIDGETS_MODULE'))
- strModules += "Webkit Widgets, ";
- if (window.external.FindSymbol('WEBSOCKETS_MODULE'))
- strModules += "Web Sockets, ";
- if (window.external.FindSymbol('WIDGETS_MODULE'))
- strModules += "Widgets, ";
- if (window.external.FindSymbol('WINDOWSEXTRAS_MODULE'))
- strModules += "Windows Extras, ";
- if (window.external.FindSymbol('XML_MODULE'))
- strModules += "XML, ";
- if (window.external.FindSymbol('XMLPATTERNS_MODULE'))
- strModules += "XML Patterns, ";
-
-
- if (strModules.length < 1)
- strModules = "None selected";
- else
- strModules = strModules.slice(0, strModules.length - 2);
-
- QTMODULES.innerText = strModules;
- }
-
- // If the wizard has more than 1 page, this
- // function will browse to the page specified
- //
- function Next(document, linkto) {
- window.external.Next(document, linkto);
- }
-
- // This is an example of a function which
- // gets called when the user clicks on 'Finish'
- //
- function OnFinish(document) {
- OnWizFinish(document);
- }
-
-</script>
-<script language="JSCRIPT" id="INCLUDE_SCRIPT"></script>
-<script language="JSCRIPT" id="INCLUDE_COMMON"></script>
-<!--
-Common.js is a script file which contains the helper functions
-used by the wizards. Include this line if you want to
-call these functions from your html scripts.
-//-->
-<script>
- var strPath = window.external.FindSymbol("PRODUCT_INSTALLATION_DIR");
- strPath += "VCWizards/";
- strPath += window.external.GetHostLocale();
-
- // verify if the locale folder really exists
- var fso = new ActiveXObject("Scripting.FileSystemObject");
- var found = fso.FolderExists(strPath)
- if (found == false) {
- strPath = window.external.FindSymbol("PRODUCT_INSTALLATION_DIR");
- strPath += "VCWizards/";
- var folder = fso.GetFolder(strPath);
- for (subfolders = new Enumerator(folder.SubFolders); !subfolders.atEnd(); subfolders.moveNext()) {
- for (files = new Enumerator(subfolders.item().files); !files.atEnd(); files.moveNext()) {
- if (files.item().name.toLowerCase().localeCompare("common.js") == 0) {
- found = true;
- strPath += subfolders.item().name;
- break;
- }
- }
- if (found == true)
- break;
- }
- }
-
- var strScriptPath = strPath + "/Script.js";
- var strCommonPath = strPath + "/Common.js";
- document.scripts("INCLUDE_SCRIPT").src = strScriptPath;
- document.scripts("INCLUDE_COMMON").src = strCommonPath;
-</script>
diff --git a/Qt4VS2003/Projects/Qt5ConsoleProject/HTML/1033/Page_2.htm b/Qt4VS2003/Projects/Qt5ConsoleProject/HTML/1033/Page_2.htm
deleted file mode 100644
index 7cceafcf..00000000
--- a/Qt4VS2003/Projects/Qt5ConsoleProject/HTML/1033/Page_2.htm
+++ /dev/null
@@ -1,548 +0,0 @@
-<html dir="ltr">
-<head>
- <title>'Qt5ConsoleProject'</title>
- <meta content="http://schemas.microsoft.com/intellisense/ie5" name="vs_targetSchema">
- <link id="LINKURL" rel="stylesheet" href="../../1033/styles.css">
-</head>
-<body onkeypress="OnPress();" onkeydown="OnKey();" bottommargin="0" bgcolor="buttonface"
- leftmargin="0" topmargin="0" onload="InitDocument(document);" rightmargin="0">
- <table class="ONE" height="100%" cellspacing="0" cellpadding="0" width="100%" border="0">
- <colgroup>
- <col width="178">
- <col>
- <!--OPEN OF INTRODUCTORY INFORMATION TABLE//-->
- <tr valign="top">
- <td width="100%" colspan="2" height="79">
- <table class="TWO" cellspacing="0" cellpadding="0" border="0">
- <colgroup>
- <col width="12">
- <col>
- <col width="12">
- <tr>
- <td valign="top" width="12" height="12">
- &nbsp;
- </td>
- <td valign="top" height="12">
- &nbsp;
- </td>
- <td valign="top" width="12" height="12">
- &nbsp;
- </td>
- <td class="IMAGE" valign="bottom" width="110" rowspan="2">
- <div class="SMALLA" id="Layer0">
- <img class="SMALLEST" height="63" alt="" src="..\..\Images\Qt5ConsoleProject.jpg"
- width="63" border="0">
- </div>
- </td>
- <td valign="top" width="6" height="12" rowspan="2">
- &nbsp;
- </td>
- </tr>
- <tr>
- <td valign="top" width="12" height="65">
- &nbsp;
- </td>
- <td valign="top" height="65">
- <h4 class="HEAD" id="HEAD">
- Welcome to the Qt5 console project wizard</h4>
- <p class="SUBHEAD" id="SUBHEAD">
- This wizard generates a&nbsp;Qt5 console&nbsp;application project. The&nbsp;application&nbsp;derives
- from QCoreApplication and does not present a&nbsp;GUI.
- </p>
- </td>
- <td valign="top" width="12" height="65">
- &nbsp;
- </td>
- </tr>
- <tr>
- <td class="RULE" valign="top" colspan="5" height="2">
- <table height="1" cellspacing="0" cellpadding="0" width="100%" border="0">
- <tr valign="top">
- <td width="100%" bgcolor="buttonshadow" height="1">
- <img height="1" alt="" src="../../Images/spacer.gif" width="1">
- </td>
- <td width="1" bgcolor="window" height="1">
- <img height="1" alt="" src="../../Images/spacer.gif" width="1">
- </td>
- </tr>
- </table>
- </td>
- </tr>
- </table>
- </td>
- </tr>
- <!--CLOSE OF INTRODUCTORY INFORMATION TABLE//-->
- <!--OPEN OF NAVIGATION, CONTENT, AND BUTTON TABLES//-->
- <tr valign="top">
- <td class="THREE" valign="top" width="178" height="100%">
- <!--OPEN OF NAVIGATION TABLE//-->
- <table class="THREE" cellspacing="0" cellpadding="0" border="0">
- <colgroup>
- <col width="12">
- <col width="166">
- <col width="1">
- <tr>
- <td valign="top" colspan="3" height="12">
- &nbsp;
- </td>
- </tr>
- <tr>
- <td valign="top" width="12" height="100%">
- &nbsp;
- </td>
- <td valign="top" width="165" height="100%">
- <!--OPEN OF NAVIGATIONAL LINKS//-->
- <div class="LINK">
- <table class="LINKTEXT" height="28" cellspacing="0" cellpadding="0" width="166" border="0">
- <tr valign="middle">
- <td width="162">
- <span class="ACTIVELINK" id="Default" title="" onclick="Next(document, 'default.htm');"
- tabindex="1">Overview</span>
- </td>
- <td width="4">
- <img height="1" src="../../Images/spacer.gif" width="4">
- </td>
- </tr>
- </table>
- </div>
- <div class="LINKSELECTED">
- <span class="VERTLINE1">
- <img height="1" alt="" src="../../Images/spacer.gif" width="1" border="0">
- </span><span class="HORILINE1">
- <table height="100%" cellspacing="0" cellpadding="0" width="167" border="0">
- <tr valign="top">
- <td class="DOTTEDLINE" height="1">
- </td>
- </tr>
- <tr valign="top">
- <td height="100%">
- <img height="28" alt="" src="../../Images/spacer.gif" width="1" border="0">
- </td>
- </tr>
- <tr valign="top">
- <td class="DOTTEDLINE" height="1">
- </td>
- </tr>
- </table>
- </span>
- <table class="LINKTEXTSELECTED" height="28" cellspacing="0" cellpadding="0" width="160"
- border="0">
- <tr valign="middle">
- <td width="162">
- <span id="Page_2" title="" onclick="Next(document, 'Page_2.htm');" tabindex="1">Project
- Settings</span>
- </td>
- <td width="4">
- <img height="1" src="../../Images/spacer.gif" width="4">
- </td>
- </tr>
- </table>
- </div>
- <!--CLOSE OF NAVIGATIONAL LINKS//-->
- </td>
- <td width="1">
- <div class="VERTLINE">
- <img height="1" alt="" src="../../Images/spacer.gif" width="1" border="0">
- </div>
- </td>
- </tr>
- </table>
- <!--CLOSE OF NAVIGATION TABLE//-->
- </td>
- <td valign="top" height="100%">
- <!--OPEN OF CONTENT AND BUTTON TABLE//-->
- <table class="ONE" cellspacing="0" cellpadding="0" border="0">
- <colgroup>
- <col width="100%">
- <tr valign="top">
- <td valign="top" height="100%">
- <!--OPEN OF CONTENT//-->
- <table class="CONTENT" cellspacing="0" cellpadding="0" border="0" id="Table1">
- <colgroup>
- <tr>
- <td width="12" height="12">
- </td>
- <td height="12">
- </td>
- <td height="12">
- </td>
- <td height="12">
- </td>
- <td width="12" height="12">
- </td>
- </tr>
- <tr>
- <td valign="top" width="12">
- </td>
- <td valign="top" colspan="3">
- <p>
- Select the modules you want to include in your project. The recommended modules
- for this project are selected by default.</p>
- <!--<P>&nbsp;</P>-->
- </td>
- <td valign="top" width="12">
- </td>
- </tr>
- <tr>
- <td width="12" height="12">
- </td>
- <td height="12">
- </td>
- <td height="12">
- </td>
- <td height="12">
- </td>
- <td width="12" height="12">
- </td>
- </tr>
-<!-- {ADB367FB-48AA-488e-9102-B037297CFCDB} -->
-<!-- -->
-<!-- START. GENERATED WITH SCRIPT, DO NOT EDIT -->
-<!-- -->
-<tr><td valign="top" width="12"></td><td valign="top" colspan="3"></td><td valign="top" width="12"></td></tr>
-<tr>
-<td valign="top" width="12"></td>
-<td valign="top"><input id="THREED_MODULE" title="Select this if you want to include the 3D library" type="checkbox" name="THREED_MODULE_NAME">&nbsp;3D</td>
-<td valign="top"><input id="NETWORK_MODULE" title="Select this if you want to include the Network library" type="checkbox" name="NETWORK_MODULE_NAME">&nbsp;Network</td>
-<td valign="top"><input id="SVG_MODULE" title="Select this if you want to include the SVG library" type="checkbox" name="SVG_MODULE_NAME">&nbsp;SVG</td>
-<td valign="top" width="12"></td>
-</tr>
-<tr>
-<td valign="top" width="12"></td>
-<td valign="top"><input id="AQCONTAINER_MODULE" title="Select this if you want to include the ActiveQt container library" type="checkbox" name="AQCONTAINER_MODULE_NAME">&nbsp;ActiveQt container&nbsp;</td>
-<td valign="top"><input id="NFC_MODULE" title="Select this if you want to include the NFC library" type="checkbox" name="NFC_MODULE_NAME">&nbsp;NFC</td>
-<td valign="top"><input id="TEST_MODULE" title="Select this if you want to include the Test library" type="checkbox" name="TEST_MODULE_NAME">&nbsp;Test</td>
-<td valign="top" width="12"></td>
-</tr>
-<tr>
-<td valign="top" width="12"></td>
-<td valign="top"><input id="AQSERVER_MODULE" title="Select this if you want to include the ActiveQt server library" type="checkbox" name="AQSERVER_MODULE_NAME">&nbsp;ActiveQt&nbsp;server&nbsp;</td>
-<td valign="top"><input id="OPENGL_MODULE" title="Select this if you want to include the OpenGL library" type="checkbox" name="OPENGL_MODULE_NAME">&nbsp;OpenGL</td>
-<td valign="top"><input id="UITOOLS_MODULE" title="Select this if you want to include the UI Tools" type="checkbox" name="UITOOLS_MODULE_NAME">&nbsp;UI Tools</td>
-<td valign="top" width="12"></td>
-</tr>
-<tr>
-<td valign="top" width="12"></td>
-<td valign="top"><input id="BLUETOOTH_MODULE" title="Select this if you want to include the Bluetooth library" type="checkbox" name="BLUETOOTH_MODULE_NAME">&nbsp;Bluetooth</td>
-<td valign="top"><input id="POSITIONING_MODULE" title="Select this if you want to include the Positioning library" type="checkbox" name="POSITIONING_MODULE_NAME">&nbsp;Positioning</td>
-<td valign="top"><input id="WEBCHANNEL_MODULE" title="Select this if you want to include the Web Channel library" type="checkbox" name="WEBCHANNEL_MODULE_NAME">&nbsp;Web Channel</td>
-<td valign="top" width="12"></td>
-</tr>
-<tr>
-<td valign="top" width="12"></td>
-<td valign="top"><input id="CONCURRENT_MODULE" title="Select this if you want to include the Concurrent library" type="checkbox" name="CONCURRENT_MODULE_NAME">&nbsp;Concurrent</td>
-<td valign="top"><input id="PRINTSUPPORT_MODULE" title="Select this if you want to include the Print Support library" type="checkbox" name="PRINTSUPPORT_MODULE_NAME">&nbsp;Print Support</td>
-<td valign="top"><input id="WEBKIT_MODULE" title="Select this if you want to include the WebKit library" type="checkbox" name="WEBKIT_MODULE_NAME">&nbsp;WebKit</td>
-<td valign="top" width="12"></td>
-</tr>
-<tr>
-<td valign="top" width="12"></td>
-<td valign="top"><input id="CORE_MODULE" title="Select this if you want to include the core library" type="checkbox" name="CORE_MODULE_NAME">&nbsp;Core</td>
-<td valign="top"><input id="QML_MODULE" title="Select this if you want to include the QML library" type="checkbox" name="QML_MODULE_NAME">&nbsp;QML</td>
-<td valign="top"><input id="WEBKITWIDGETS_MODULE" title="Select this if you want to include the Webkit Widgets library" type="checkbox" name="WEBKITWIDGETS_MODULE_NAME">&nbsp;Webkit Widgets</td>
-<td valign="top" width="12"></td>
-</tr>
-<tr>
-<td valign="top" width="12"></td>
-<td valign="top"><input id="ENGINIO_MODULE" title="Select this if you want to include the Enginio library" type="checkbox" name="ENGINIO_MODULE_NAME">&nbsp;Enginio</td>
-<td valign="top"><input id="QUICK_MODULE" title="Select this if you want to include the Quick library" type="checkbox" name="QUICK_MODULE_NAME">&nbsp;Quick</td>
-<td valign="top"><input id="WEBSOCKETS_MODULE" title="Select this if you want to include the Web Sockets library" type="checkbox" name="WEBSOCKETS_MODULE_NAME">&nbsp;Web Sockets</td>
-<td valign="top" width="12"></td>
-</tr>
-<tr>
-<td valign="top" width="12"></td>
-<td valign="top"><input id="DECLARATIVE_MODULE" title="Select this if you want to include the Declarative library" type="checkbox" name="DECLARATIVE_MODULE_NAME">&nbsp;Declarative</td>
-<td valign="top"><input id="QUICKWIDGETS_MODULE" title="Select this if you want to include the Quick Widgets library" type="checkbox" name="QUICKWIDGETS_MODULE_NAME">&nbsp;Quick Widgets</td>
-<td valign="top"><input id="WIDGETS_MODULE" title="Select this if you want to include the Widgets library" type="checkbox" name="WIDGETS_MODULE_NAME">&nbsp;Widgets</td>
-<td valign="top" width="12"></td>
-</tr>
-<tr>
-<td valign="top" width="12"></td>
-<td valign="top"><input id="GUI_MODULE" title="Select this if you want to include the GUI library" type="checkbox" name="GUI_MODULE_NAME">&nbsp;GUI</td>
-<td valign="top"><input id="SCRIPT_MODULE" title="Select this if you want to include the Script library" type="checkbox" name="SCRIPT_MODULE_NAME">&nbsp;Script</td>
-<td valign="top"><input id="WINDOWSEXTRAS_MODULE" title="Select this if you want to include the Windows Extras library" type="checkbox" name="WINDOWSEXTRAS_MODULE_NAME">&nbsp;Windows Extras</td>
-<td valign="top" width="12"></td>
-</tr>
-<tr>
-<td valign="top" width="12"></td>
-<td valign="top"><input id="HELP_MODULE" title="Select this if you want to include the Help library" type="checkbox" name="HELP_MODULE_NAME">&nbsp;Help</td>
-<td valign="top"><input id="SCRIPTTOOLS_MODULE" title="Select this if you want to include the Script Tools" type="checkbox" name="SCRIPTTOOLS_MODULE_NAME">&nbsp;Script Tools</td>
-<td valign="top"><input id="XML_MODULE" title="Select this if you want to include the XML library" type="checkbox" name="XML_MODULE_NAME">&nbsp;XML</td>
-<td valign="top" width="12"></td>
-</tr>
-<tr>
-<td valign="top" width="12"></td>
-<td valign="top"><input id="LOCATION_MODULE" title="Select this if you want to include the Location library" type="checkbox" name="LOCATION_MODULE_NAME">&nbsp;Location</td>
-<td valign="top"><input id="SENSORS_MODULE" title="Select this if you want to include the Sensors library" type="checkbox" name="SENSORS_MODULE_NAME">&nbsp;Sensors</td>
-<td valign="top"><input id="XMLPATTERNS_MODULE" title="Select this if you want to include the XML Patterns library" type="checkbox" name="XMLPATTERNS_MODULE_NAME">&nbsp;XML Patterns</td>
-<td valign="top" width="12"></td>
-</tr>
-<tr>
-<td valign="top" width="12"></td>
-<td valign="top"><input id="MULTIMEDIA_MODULE" title="Select this if you want to include the Multimedia library" type="checkbox" name="MULTIMEDIA_MODULE_NAME">&nbsp;Multimedia</td>
-<td valign="top"><input id="SERIALPORT_MODULE" title="Select this if you want to include the Serial Port library" type="checkbox" name="SERIALPORT_MODULE_NAME">&nbsp;Serial Port</td>
-<td valign="top" width="12"></td>
-<td valign="top" width="12"></td>
-</tr>
-<tr>
-<td valign="top" width="12"></td>
-<td valign="top"><input id="MULTIMEDIAWIDGETS_MODULE" title="Select this if you want to include the Multimedia Widgets library" type="checkbox" name="MULTIMEDIAWIDGETS_MODULE_NAME">&nbsp;Multimedia Widgets</td>
-<td valign="top"><input id="SQL_MODULE" title="Select this if you want to include the SQL library" type="checkbox" name="SQL_MODULE_NAME">&nbsp;SQL</td>
-<td valign="top" width="12"></td>
-<td valign="top" width="12"></td>
-</tr>
-<!-- -->
-<!-- END. GENERATED WITH SCRIPT, DO NOT EDIT -->
-<!-- -->
-<!-- {ADB367FB-48AA-488e-9102-B037297CFCDB} -->
-
-
-
-
- <tr>
- <td valign="top" width="12">
- </td>
- <td valign="top" colspan="3">
- <p>
- &nbsp;</p>
- </td>
- <td valign="top" width="12">
- </td>
- </tr>
- <tr>
- <td valign="top" width="12" height="100%">
- </td>
- <td valign="top" height="100%">
- </td>
- <td valign="top" height="100%">
- </td>
- <td valign="top" height="100%">
- </td>
- <td valign="top" width="12" height="100%">
- </td>
- </tr>
- </table>
- <!--CLOSE OF CONTENT//-->
- </TD> </TR>
- <tr valign="bottom">
- <td height="48">
- <!--OPEN OF BUTTON HTML//-->
- <table height="48" cellspacing="0" cellpadding="0" border="0">
- <colgroup>
- <col width="12">
- <col>
- <col width="75">
- <col width="4">
- <col width="75">
- <col width="4">
- <col width="75">
- <col width="12">
- <tr>
- <td class="RULE" valign="top" colspan="8" height="2">
- <table height="1" cellspacing="0" cellpadding="0" width="100%" border="0">
- <tr valign="top">
- </tr>
- </table>
- </td>
- </tr>
- <tr>
- <td valign="top" colspan="8" height="11">
- &nbsp;
- </td>
- </tr>
- <tr>
- <td valign="middle" width="12" height="23">
- &nbsp;
- </td>
- <td valign="top" height="23">
- &nbsp;
- </td>
- <td valign="middle" width="75" height="23">
- <button class="BUTTONS" id="FinishBtn" accesskey="F" onclick="OnFinish(document);"
- type="button">
- <u>F</u>inish</button>
- </td>
- <td valign="middle" width="4" height="23">
- &nbsp;
- </td>
- <td valign="middle" width="75" height="23">
- <button class="BUTTONS" id="CancelBtn" accesskey="C" onclick="window.external.Finish(document, 'cancel');"
- type="button">
- <u>C</u>ancel</button>
- </td>
- <td valign="middle" width="4" height="23">
- &nbsp;
- </td>
- <td valign="middle" width="75" height="23">
- <button class="BUTTONS" id="HelpBtn" disabled accesskey="H" onclick="window.external.OnHelp('vc.appwiz.custom.overview');"
- type="button">
- <u>H</u>elp</button>
- </td>
- <td valign="middle" width="12" height="23">
- &nbsp;
- </td>
- </tr>
- <tr>
- <td valign="top" colspan="8" height="12">
- &nbsp;
- </td>
- </tr>
- </table>
- <!--CLOSE OF BUTTON HTML//-->
- </td>
- </tr>
- </TABLE>
- <!--CLOSE OF NAVIGATION, CONTENT, AND BUTTON TABLES//-->
- </TD> </TR> </TABLE>
-</body>
-</html>
-<script language="JSCRIPT">
-
- var QtEngine;
- var tab_array = new Array();
- tab_array[0] = Default;
- tab_array[1] = Page_2;
-
- // This is an example of a function which initializes the page
- //
- function InitDocument(document) {
- var dte = window.external.dte;
- var version = dte.version;
- if (version == "8.0")
- QtEngine = new ActiveXObject("Digia.Qt5ProjectEngine80");
- else if (version == "9.0")
- QtEngine = new ActiveXObject("Digia.Qt5ProjectEngine90");
- else if (version == "10.0")
- QtEngine = new ActiveXObject("Digia.Qt5ProjectEngine100");
- else if (version == "11.0")
- QtEngine = new ActiveXObject("Digia.Qt5ProjectEngine110");
- else if (version == "12.0")
- QtEngine = new ActiveXObject("Digia.Qt5ProjectEngine120");
- else {
- window.external.ReportError("Cannot instantiate QtProjectEngine object!");
- return false;
- }
-
- setDirection();
-
- if (window.external.FindSymbol('DOCUMENT_FIRST_LOAD')) {
- // This function sets the default symbols based
- // on the values specified in the SYMBOL tags above
- //
- window.external.SetDefaults(document);
- }
-
- // Load the document and initialize the controls
- // with the appropriate symbol values
- //
- window.external.Load(document);
-
- // Disable Essential modules which are not installed (Should not found any?)
- DisableUninstalled(THREED_MODULE_NAME, "Qt3D", QtEngine);
- DisableUninstalled(CORE_MODULE_NAME, "QtCore", QtEngine);
- DisableUninstalled(GUI_MODULE_NAME, "QtGui", QtEngine);
- DisableUninstalled(LOCATION_MODULE_NAME, "QtLocation", QtEngine);
- DisableUninstalled(MULTIMEDIA_MODULE_NAME, "QtMultimedia", QtEngine);
- DisableUninstalled(MULTIMEDIAWIDGETS_MODULE_NAME, "QtMultimediaWidgets", QtEngine);
- DisableUninstalled(NETWORK_MODULE_NAME, "QtNetwork", QtEngine);
- DisableUninstalled(QML_MODULE_NAME, "QtQml", QtEngine);
- DisableUninstalled(QUICK_MODULE_NAME, "QtQuick", QtEngine);
- DisableUninstalled(SQL_MODULE_NAME, "QtSql", QtEngine);
- DisableUninstalled(TEST_MODULE_NAME, "QtTest", QtEngine);
- DisableUninstalled(WEBKIT_MODULE_NAME, "QtWebkit", QtEngine);
-
- // Disable Add-on modules which are not installed
- DisableUninstalled(AQCONTAINER_MODULE_NAME, "QtAxContainer", QtEngine);
- DisableUninstalled(AQSERVER_MODULE_NAME, "QtAxServer", QtEngine);
- DisableUninstalled(BLUETOOTH_MODULE_NAME, "QtBluetooth", QtEngine);
- DisableUninstalled(CONCURRENT_MODULE_NAME, "QtConcurrent", QtEngine);
- DisableUninstalled(DECLARATIVE_MODULE_NAME, "QtDeclarative", QtEngine);
- DisableUninstalled(ENGINIO_MODULE_NAME, "Enginio", QtEngine);
- DisableUninstalled(HELP_MODULE_NAME, "QtHelp", QtEngine);
- DisableUninstalled(NFC_MODULE_NAME, "QtNfc", QtEngine);
- DisableUninstalled(OPENGL_MODULE_NAME, "QtOpenGL", QtEngine);
- DisableUninstalled(POSITIONING_MODULE_NAME, "QtPositioning", QtEngine);
- DisableUninstalled(PRINTSUPPORT_MODULE_NAME, "QtPrintSupport", QtEngine);
- DisableUninstalled(QUICKWIDGETS_MODULE_NAME, "QtQuickWidgets", QtEngine);
- DisableUninstalled(SCRIPT_MODULE_NAME, "QtScript", QtEngine);
- DisableUninstalled(SCRIPTTOOLS_MODULE_NAME, "QtScriptTools", QtEngine);
- DisableUninstalled(SENSORS_MODULE_NAME, "QtSensors", QtEngine);
- DisableUninstalled(SERIALPORT_MODULE_NAME, "QtSerialPort", QtEngine);
- DisableUninstalled(SVG_MODULE_NAME, "QtSvg", QtEngine);
- DisableUninstalled(UITOOLS_MODULE_NAME, "QtUiTools", QtEngine);
- DisableUninstalled(WEBCHANNEL_MODULE_NAME, "QtWebChannel", QtEngine);
- DisableUninstalled(WEBKITWIDGETS_MODULE_NAME, "QtWebkitWidgets", QtEngine);
- DisableUninstalled(WEBSOCKETS_MODULE_NAME, "QtWebSockets", QtEngine);
- DisableUninstalled(WIDGETS_MODULE_NAME, "QtWidgets", QtEngine);
- DisableUninstalled(WINDOWSEXTRAS_MODULE_NAME, "QtWinExtras", QtEngine);
- DisableUninstalled(XML_MODULE_NAME, "QtXml", QtEngine);
- DisableUninstalled(XMLPATTERNS_MODULE_NAME, "QtXmlPatterns", QtEngine);
-
- // Disable these cause mandatory for this wizard
- CORE_MODULE_NAME.disabled = true;
- }
-
- function DisableUninstalled(element, lib_name, engine) {
- var not_installed = !engine.IsModuleInstalled(lib_name);
- element.disabled = not_installed;
- if (not_installed) {
- element.title = ""; // Not installed so don't show title
- element.parentNode.className = "addon_disabled";
- }
- return not_installed;
- }
-
- // If the wizard has more than 1 page, this
- // function will browse to the page specified
- //
- function Next(document, linkto) {
- CORE_MODULE_NAME.disabled = false;
- window.external.Next(document, linkto);
- }
-
- // This is an example of a function which
- // gets called when the user clicks on 'Finish'
- //
- function OnFinish(document) {
- CORE_MODULE_NAME.disabled = false;
- OnWizFinish(document);
- }
-
-</script>
-<script language="JSCRIPT" id="INCLUDE_SCRIPT"></script>
-<script language="JSCRIPT" id="INCLUDE_COMMON"></script>
-<!--
-Common.js is a script file which contains the helper functions
-used by the wizards. Include this line if you want to
-call these functions from your html scripts.
-//-->
-<script>
- var strPath = window.external.FindSymbol("PRODUCT_INSTALLATION_DIR");
- strPath += "VCWizards/";
- strPath += window.external.GetHostLocale();
-
- // verify if the locale folder really exists
- var fso = new ActiveXObject("Scripting.FileSystemObject");
- var found = fso.FolderExists(strPath)
- if (found == false) {
- strPath = window.external.FindSymbol("PRODUCT_INSTALLATION_DIR");
- strPath += "VCWizards/";
- var folder = fso.GetFolder(strPath);
- for (subfolders = new Enumerator(folder.SubFolders); !subfolders.atEnd(); subfolders.moveNext()) {
- for (files = new Enumerator(subfolders.item().files); !files.atEnd(); files.moveNext()) {
- if (files.item().name.toLowerCase().localeCompare("common.js") == 0) {
- found = true;
- strPath += subfolders.item().name;
- break;
- }
- }
- if (found == true)
- break;
- }
- }
-
- var strScriptPath = strPath + "/Script.js";
- var strCommonPath = strPath + "/Common.js";
- document.scripts("INCLUDE_SCRIPT").src = strScriptPath;
- document.scripts("INCLUDE_COMMON").src = strCommonPath;
-</script>
diff --git a/Qt4VS2003/Projects/Qt5ConsoleProject/HTML/1033/default.htm b/Qt4VS2003/Projects/Qt5ConsoleProject/HTML/1033/default.htm
deleted file mode 100644
index d2e863ad..00000000
--- a/Qt4VS2003/Projects/Qt5ConsoleProject/HTML/1033/default.htm
+++ /dev/null
@@ -1,492 +0,0 @@
-<html dir="ltr">
-<head>
- <title>'Qt5ConsoleProject'</title>
- <meta content="http://schemas.microsoft.com/intellisense/ie5" name="vs_targetSchema">
- <link id="LINKURL" rel="stylesheet" href="../../1033/styles.css">
- <!-- -->
- <!-- The SYMBOL tag is used to set the default values for the user-defined symbols.-->
- <!-- -->
- <symbol name="WIZARD_DIALOG_TITLE" type="text" value="Qt5 Console Project Wizard"></symbol>
- <symbol name="THREED_MODULE" type="checkbox" value="false"></symbol>
- <symbol name="AQCONTAINER_MODULE" type="checkbox" value="false"></symbol>
- <symbol name="AQSERVER_MODULE" type="checkbox" value="false"></symbol>
- <symbol name="BLUETOOTH_MODULE" type="checkbox" value="false"></symbol>
- <symbol name="CONCURRENT_MODULE" type="checkbox" value="false"></symbol>
- <symbol name="CORE_MODULE" type="checkbox" value="true"></symbol>
- <symbol name="ENGINIO_MODULE" type="checkbox" value="false"></symbol>
- <symbol name="DECLARATIVE_MODULE" type="checkbox" value="false"></symbol>
- <symbol name="GUI_MODULE" type="checkbox" value="false"></symbol>
- <symbol name="HELP_MODULE" type="checkbox" value="false"></symbol>
- <symbol name="LOCATION_MODULE" type="checkbox" value="false"></symbol>
- <symbol name="MULTIMEDIA_MODULE" type="checkbox" value="false"></symbol>
- <symbol name="MULTIMEDIAWIDGETS_MODULE" type="checkbox" value="false"></symbol>
- <symbol name="NETWORK_MODULE" type="checkbox" value="false"></symbol>
- <symbol name="NFC_MODULE" type="checkbox" value="false"></symbol>
- <symbol name="OPENGL_MODULE" type="checkbox" value="false"></symbol>
- <symbol name="POSITIONING_MODULE" type="checkbox" value="false"></symbol>
- <symbol name="PRINTSUPPORT_MODULE" type="checkbox" value="false"></symbol>
- <symbol name="QML_MODULE" type="checkbox" value="false"></symbol>
- <symbol name="QUICK_MODULE" type="checkbox" value="false"></symbol>
- <symbol name="QUICKWIDGETS_MODULE" type="checkbox" value="false"></symbol>
- <symbol name="SCRIPT_MODULE" type="checkbox" value="false"></symbol>
- <symbol name="SCRIPTTOOLS_MODULE" type="checkbox" value="false"></symbol>
- <symbol name="SENSORS_MODULE" type="checkbox" value="false"></symbol>
- <symbol name="SERIALPORT_MODULE" type="checkbox" value="false"></symbol>
- <symbol name="SQL_MODULE" type="checkbox" value="false"></symbol>
- <symbol name="SVG_MODULE" type="checkbox" value="false"></symbol>
- <symbol name="TEST_MODULE" type="checkbox" value="false"></symbol>
- <symbol name="UITOOLS_MODULE" type="checkbox" value="false"></symbol>
- <symbol name="WEBCHANNEL_MODULE" type="checkbox" value="false"></symbol>
- <symbol name="WEBKIT_MODULE" type="checkbox" value="false"></symbol>
- <symbol name="WEBKITWIDGETS_MODULE" type="checkbox" value="false"></symbol>
- <symbol name="WEBSOCKETS_MODULE" type="checkbox" value="false"></symbol>
- <symbol name="WIDGETS_MODULE" type="checkbox" value="false"></symbol>
- <symbol name="WINDOWSEXTRAS_MODULE" type="checkbox" value="false"></symbol>
- <symbol name="XML_MODULE" type="checkbox" value="false"></symbol>
- <symbol name="XMLPATTERNS_MODULE" type="checkbox" value="false"></symbol>
- <symbol name="CLASSNAME_TEXT" type="text" value=""></symbol>
- <symbol name="HFILE_TEXT" type="text" value=""></symbol>
- <symbol name="CPPFILE_TEXT" type="text" value=""></symbol>
- <symbol name="UIFILE_TEXT" type="text" value=""></symbol>
- <symbol name="QRCFILE_TEXT" type="text" value=""></symbol>
- <symbol name="APP_TYPE_SUMMARY" type="text" value="Qt5 Console Project"></symbol>
-</head>
-<body onkeypress="OnPress();" onkeydown="OnKey();" bottommargin="0" bgcolor="buttonface"
- leftmargin="0" topmargin="0" onload="InitDocument(document);" rightmargin="0">
- <table class="ONE" height="100%" cellspacing="0" cellpadding="0" width="100%" border="0">
- <colgroup>
- <col width="178">
- <col>
- <!--OPEN OF INTRODUCTORY INFORMATION TABLE//-->
- <tr valign="top">
- <td width="100%" colspan="2" height="79">
- <table class="TWO" cellspacing="0" cellpadding="0" border="0">
- <colgroup>
- <col width="12">
- <col>
- <col width="12">
- <tr>
- <td valign="top" width="12" height="12">
- &nbsp;
- </td>
- <td valign="top" height="12">
- &nbsp;
- </td>
- <td valign="top" width="12" height="12">
- &nbsp;
- </td>
- <td class="IMAGE" valign="bottom" width="110" rowspan="2">
- <div class="SMALLA" id="Layer0">
- <img class="SMALLEST" height="63" alt="" src="../../Images/Qt5ConsoleProject.jpg"
- width="63" border="0">
- </div>
- </td>
- <td valign="top" width="6" height="12" rowspan="2">
- &nbsp;
- </td>
- </tr>
- <tr>
- <td valign="top" width="12" height="65">
- &nbsp;
- </td>
- <td valign="top" height="65">
- <h4 class="HEAD" id="HEAD">
- Welcome to the Qt5 console project wizard</h4>
- <p class="SUBHEAD" id="SUBHEAD">
- This wizard generates a&nbsp;Qt5 console&nbsp;application project. The&nbsp;application&nbsp;derives
- from QCoreApplication and does not present a&nbsp;GUI.</p>
- </td>
- <td valign="top" width="12" height="65">
- &nbsp;
- </td>
- </tr>
- <tr>
- <td class="RULE" valign="top" colspan="5" height="2">
- <table height="1" cellspacing="0" cellpadding="0" width="100%" border="0">
- <tr valign="top">
- <td width="100%" bgcolor="buttonshadow" height="1">
- <img height="1" alt="" src="../../Images/spacer.gif" width="1">
- </td>
- <td width="1" bgcolor="window" height="1">
- <img height="1" alt="" src="../../Images/spacer.gif" width="1">
- </td>
- </tr>
- </table>
- </td>
- </tr>
- </table>
- </td>
- </tr>
- <!--CLOSE OF INTRODUCTORY INFORMATION TABLE//-->
- <!--OPEN OF NAVIGATION, CONTENT, AND BUTTON TABLES//-->
- <tr valign="top">
- <td class="THREE" valign="top" width="178" height="100%">
- <!--OPEN OF NAVIGATION TABLE//-->
- <table class="THREE" cellspacing="0" cellpadding="0" border="0">
- <colgroup>
- <col width="12">
- <col width="166">
- <col width="1">
- <tr>
- <td valign="top" colspan="3" height="12">
- &nbsp;
- </td>
- </tr>
- <tr>
- <td valign="top" width="12" height="100%">
- &nbsp;
- </td>
- <td valign="top" width="165" height="100%">
- <!--OPEN OF NAVIGATIONAL LINKS//-->
- <div class="LINKSELECTED">
- <span class="VERTLINE1">
- <img height="1" alt="" src="../../Images/spacer.gif" width="1" border="0">
- </span><span class="HORILINE1">
- <table height="100%" cellspacing="0" cellpadding="0" width="167" border="0">
- <tr valign="top">
- <td class="DOTTEDLINE" height="1">
- </td>
- </tr>
- <tr valign="top">
- <td height="100%">
- <img height="28" alt="" src="../../Images/spacer.gif" width="1" border="0">
- </td>
- </tr>
- <tr valign="top">
- <td class="DOTTEDLINE" height="1">
- </td>
- </tr>
- </table>
- </span>
- <table class="LINKTEXTSELECTED" height="28" cellspacing="0" cellpadding="0" width="160"
- border="0">
- <tr valign="middle">
- <td width="156">
- <span id="Page_1" title="" onclick="Next(document, 'default.htm');" tabindex="1">Overview</span>
- </td>
- <td width="4">
- <img height="1" src="../../Images/spacer.gif" width="4">
- </td>
- </tr>
- </table>
- </div>
- <div class="LINK">
- <table class="LINKTEXT" height="28" cellspacing="0" cellpadding="0" width="166" border="0">
- <tr valign="middle">
- <td width="162">
- <span class="ACTIVELINK" id="Page_2" title="" onclick="Next(document, 'Page_2.htm');"
- tabindex="1">Project Settings</span>
- </td>
- <td width="4">
- <img height="1" src="../../Images/spacer.gif" width="4">
- </td>
- </tr>
- </table>
- </div>
- <!--CLOSE OF NAVIGATIONAL LINKS//-->
- </td>
- <td width="1">
- <div class="VERTLINE">
- <img height="1" alt="" src="../../Images/spacer.gif" width="1" border="0">
- </div>
- </td>
- </tr>
- </table>
- <!--CLOSE OF NAVIGATION TABLE//-->
- </td>
- <td valign="top" height="100%">
- <!--OPEN OF CONTENT AND BUTTON TABLE//-->
- <table class="ONE" cellspacing="0" cellpadding="0" border="0">
- <colgroup>
- <col width="100%">
- <tr valign="top">
- <td height="100%">
- <!--OPEN OF CONTENT//-->
- <table class="CONTENT" cellspacing="0" cellpadding="0" border="0">
- <colgroup>
- <col width="12">
- <col width="185">
- <col width="12">
- <col width="185">
- <col width="12">
- <col width="185">
- <col width="12">
- <tr>
- <td valign="top" colspan="5" height="12">
- &nbsp;
- </td>
- </tr>
- <tr valign="top">
- <td valign="top" width="12">
- &nbsp;
- </td>
- <td valign="top" colspan="3">
- <p>
- <span class="ItemTextTop" id="PROJECT_SETTINGS_SPAN">These are currently selected Qt
- modules:</span></p>
- <p>
- <span class="ItemTextTop"></span><span class="ItemText" id="QTMODULES" title="">stuff</span></p>
- <p>
- <span class="ItemText" title=""></span><span class="ItemText" id="FinishText">Click
- <b>Finish</b> from any window to accept the current settings.</span>
- </p>
- </td>
- <td valign="top" width="12">
- &nbsp;
- </td>
- </tr>
- <tr>
- <td valign="top" colspan="7" height="100%">
- &nbsp;
- </td>
- </tr>
- </table>
- <!--CLOSE OF CONTENT//-->
- </td>
- </tr>
- <tr valign="bottom">
- <td height="48">
- <!--OPEN OF BUTTON HTML//-->
- <table height="48" cellspacing="0" cellpadding="0" border="0">
- <colgroup>
- <col width="12">
- <col>
- <col width="75">
- <col width="4">
- <col width="75">
- <col width="4">
- <col width="75">
- <col width="12">
- <tr>
- <td class="RULE" valign="top" colspan="8" height="2">
- <table height="1" cellspacing="0" cellpadding="0" width="100%" border="0">
- <tr valign="top">
- </tr>
- </table>
- </td>
- </tr>
- <tr>
- <td valign="top" colspan="8" height="11">
- &nbsp;
- </td>
- </tr>
- <tr>
- <td valign="middle" width="12" height="23">
- &nbsp;
- </td>
- <td valign="top" height="23">
- &nbsp;
- </td>
- <td valign="middle" width="75" height="23">
- <button class="BUTTONS" id="FinishBtn" accesskey="F" onclick="OnFinish(document);"
- type="button">
- <u>F</u>inish</button>
- </td>
- <td valign="middle" width="4" height="23">
- &nbsp;
- </td>
- <td valign="middle" width="75" height="23">
- <button class="BUTTONS" id="CancelBtn" accesskey="C" onclick="window.external.Finish(document, 'cancel');"
- type="button">
- <u>C</u>ancel</button>
- </td>
- <td valign="middle" width="4" height="23">
- &nbsp;
- </td>
- <td valign="middle" width="75" height="23">
- <button class="BUTTONS" id="HelpBtn" disabled accesskey="H" onclick="window.external.OnHelp('vc.appwiz.custom.overview');"
- type="button">
- <u>H</u>elp</button>
- </td>
- <td valign="middle" width="12" height="23">
- &nbsp;
- </td>
- </tr>
- <tr>
- <td valign="top" colspan="8" height="12">
- &nbsp;
- </td>
- </tr>
- </table>
- <!--CLOSE OF BUTTON HTML//-->
- </td>
- </tr>
- </table>
- <!--CLOSE OF NAVIGATION, CONTENT, AND BUTTON TABLES//-->
- </td>
- </tr>
- </table>
-</body>
-</html>
-<script language="JSCRIPT">
-
- var tab_array = new Array();
- tab_array[0] = Page_1;
- tab_array[1] = Page_2;
-
- // This is an example of a function which initializes the page
- //
- function InitDocument(document) {
- setDirection();
-
- if (window.external.FindSymbol('DOCUMENT_FIRST_LOAD')) {
- // This function sets the default symbols based
- // on the values specified in the SYMBOL tags above
- //
- window.external.SetDefaults(document);
- UpdateFields();
- }
-
- // Load the document and initialize the controls
- // with the appropriate symbol values
- //
- window.external.Load(document);
- InitControls();
- }
-
- function UpdateFields() {
- }
-
- function InitControls() {
- var strModules = "";
-
- // Essentials
- if (window.external.FindSymbol('THREED_MODULE'))
- strModules += "3D, ";
- if (window.external.FindSymbol('CORE_MODULE'))
- strModules += "Core, ";
- if (window.external.FindSymbol('GUI_MODULE'))
- strModules += "GUI, ";
- if (window.external.FindSymbol('LOCATION_MODULE'))
- strModules += "Location, ";
- if (window.external.FindSymbol('MULTIMEDIA_MODULE'))
- strModules += "Multimedia, ";
- if (window.external.FindSymbol('MULTIMEDIAWIDGETS_MODULE'))
- strModules += "Multimedia Widgets, ";
- if (window.external.FindSymbol('NETWORK_MODULE'))
- strModules += "Network, ";
- if (window.external.FindSymbol('QML_MODULE'))
- strModules += "Qml, ";
- if (window.external.FindSymbol('QUICK_MODULE'))
- strModules += "Quick, ";
- if (window.external.FindSymbol('SQL_MODULE'))
- strModules += "SQL, ";
- if (window.external.FindSymbol('TEST_MODULE'))
- strModules += "Test, ";
- if (window.external.FindSymbol('WEBKIT_MODULE'))
- strModules += "WebKit, ";
-
- // Add-ons
- // Active Qt better split to server and container
- if (window.external.FindSymbol('AQSERVER_MODULE'))
- strModules += "ActiveQt Server, ";
- if (window.external.FindSymbol('AQCONTAINER_MODULE'))
- strModules += "ActiveQt Container, ";
-
- if (window.external.FindSymbol('BLUETOOTH_MODULE'))
- strModules += "Bluetooth, ";
- if (window.external.FindSymbol('CONCURRENT_MODULE'))
- strModules += "Concurrent, ";
- if (window.external.FindSymbol('DECLARATIVE_MODULE'))
- strModules += "Declarative, ";
- if (window.external.FindSymbol('ENGINIO_MODULE'))
- strModules += "Enginio, ";
- if (window.external.FindSymbol('HELP_MODULE'))
- strModules += "Help, ";
- if (window.external.FindSymbol('NFC_MODULE'))
- strModules += "NFC, ";
- if (window.external.FindSymbol('OPENGL_MODULE'))
- strModules += "OpenGL, ";
- if (window.external.FindSymbol('POSITIONING_MODULE'))
- strModules += "Positioning, ";
- if (window.external.FindSymbol('PRINTSUPPORT_MODULE'))
- strModules += "Print Support, ";
- if (window.external.FindSymbol('QUICKWIDGETS_MODULE'))
- strModules += "Quick Widgets, ";
- if (window.external.FindSymbol('SCRIPT_MODULE'))
- strModules += "Script, ";
- if (window.external.FindSymbol('SCRIPTTOOLS_MODULE'))
- strModules += "Script Tools, ";
- if (window.external.FindSymbol('SENSORS_MODULE'))
- strModules += "Sensors, ";
- if (window.external.FindSymbol('SERIALPORT_MODULE'))
- strModules += "Serial Port, ";
- if (window.external.FindSymbol('SVG_MODULE'))
- strModules += "SVG, ";
- if (window.external.FindSymbol('UITOOLS_MODULE'))
- strModules += "UI Tools, ";
- if (window.external.FindSymbol('WEBCHANNEL_MODULE'))
- strModules += "Web Channel, ";
- if (window.external.FindSymbol('WEBKITWIDGETS_MODULE'))
- strModules += "Webkit Widgets, ";
- if (window.external.FindSymbol('WEBSOCKETS_MODULE'))
- strModules += "Web Sockets, ";
- if (window.external.FindSymbol('WIDGETS_MODULE'))
- strModules += "Widgets, ";
- if (window.external.FindSymbol('WINDOWSEXTRAS_MODULE'))
- strModules += "Windows Extras, ";
- if (window.external.FindSymbol('XML_MODULE'))
- strModules += "XML, ";
- if (window.external.FindSymbol('XMLPATTERNS_MODULE'))
- strModules += "XML Patterns, ";
-
- if (strModules.length < 1)
- strModules = "None selected";
- else
- strModules = strModules.slice(0, strModules.length - 2);
-
- QTMODULES.innerText = strModules;
- }
-
- // If the wizard has more than 1 page, this
- // function will browse to the page specified
- //
- function Next(document, linkto) {
- window.external.Next(document, linkto);
- }
-
- // This is an example of a function which
- // gets called when the user clicks on 'Finish'
- //
- function OnFinish(document) {
- OnWizFinish(document);
- }
-
-</script>
-<script language="JSCRIPT" id="INCLUDE_SCRIPT"></script>
-<script language="JSCRIPT" id="INCLUDE_COMMON"></script>
-<!--
-Common.js is a script file which contains the helper functions
-used by the wizards. Include this line if you want to
-call these functions from your html scripts.
-//-->
-<script>
- var strPath = window.external.FindSymbol("PRODUCT_INSTALLATION_DIR");
- strPath += "VCWizards/";
- strPath += window.external.GetHostLocale();
-
- // verify if the locale folder really exists
- var fso = new ActiveXObject("Scripting.FileSystemObject");
- var found = fso.FolderExists(strPath)
- if (found == false) {
- strPath = window.external.FindSymbol("PRODUCT_INSTALLATION_DIR");
- strPath += "VCWizards/";
- var folder = fso.GetFolder(strPath);
- for (subfolders = new Enumerator(folder.SubFolders); !subfolders.atEnd(); subfolders.moveNext()) {
- for (files = new Enumerator(subfolders.item().files); !files.atEnd(); files.moveNext()) {
- if (files.item().name.toLowerCase().localeCompare("common.js") == 0) {
- found = true;
- strPath += subfolders.item().name;
- break;
- }
- }
- if (found == true)
- break;
- }
- }
-
- var strScriptPath = strPath + "/Script.js";
- var strCommonPath = strPath + "/Common.js";
- document.scripts("INCLUDE_SCRIPT").src = strScriptPath;
- document.scripts("INCLUDE_COMMON").src = strCommonPath;
-</script>
diff --git a/Qt4VS2003/Projects/Qt5ConsoleProject/Images/Qt5ConsoleProject.jpg b/Qt4VS2003/Projects/Qt5ConsoleProject/Images/Qt5ConsoleProject.jpg
deleted file mode 100644
index c95946d3..00000000
--- a/Qt4VS2003/Projects/Qt5ConsoleProject/Images/Qt5ConsoleProject.jpg
+++ /dev/null
Binary files differ
diff --git a/Qt4VS2003/Projects/Qt5ConsoleProject/Qt5ConsoleProject.ico b/Qt4VS2003/Projects/Qt5ConsoleProject/Qt5ConsoleProject.ico
deleted file mode 100644
index 7b897ddd..00000000
--- a/Qt4VS2003/Projects/Qt5ConsoleProject/Qt5ConsoleProject.ico
+++ /dev/null
Binary files differ
diff --git a/Qt4VS2003/Projects/Qt5ConsoleProject/Qt5ConsoleProject.vcproj b/Qt4VS2003/Projects/Qt5ConsoleProject/Qt5ConsoleProject.vcproj
deleted file mode 100644
index 26f3e5f0..00000000
--- a/Qt4VS2003/Projects/Qt5ConsoleProject/Qt5ConsoleProject.vcproj
+++ /dev/null
@@ -1,143 +0,0 @@
-<?xml version="1.0" encoding="Windows-1252"?>
-<VisualStudioProject
- ProjectType="Visual C++"
- Version="7.10"
- Name="Qt5ConsoleProject"
- ProjectGUID="{AB6B3B4B-75BD-4E32-B795-56E1FEBA40E2}"
- Keyword="CustomAppWizProj">
- <Platforms>
- <Platform
- Name="Win32"/>
- </Platforms>
- <Configurations>
- <Configuration
- Name="Debug|Win32"
- IntermediateDirectory="$(ConfigurationName)"
- ConfigurationType="1">
- <Tool
- Name="VCCLCompilerTool"/>
- <Tool
- Name="VCCustomBuildTool"/>
- <Tool
- Name="VCLinkerTool"/>
- <Tool
- Name="VCMIDLTool"/>
- <Tool
- Name="VCPostBuildEventTool"/>
- <Tool
- Name="VCPreBuildEventTool"/>
- <Tool
- Name="VCPreLinkEventTool"/>
- <Tool
- Name="VCResourceCompilerTool"/>
- <Tool
- Name="VCWebServiceProxyGeneratorTool"/>
- <Tool
- Name="VCXMLDataGeneratorTool"/>
- <Tool
- Name="VCWebDeploymentTool"/>
- <Tool
- Name="VCManagedWrapperGeneratorTool"/>
- <Tool
- Name="VCAuxiliaryManagedWrapperGeneratorTool"/>
- </Configuration>
- <Configuration
- Name="Release|Win32"
- IntermediateDirectory="$(ConfigurationName)"
- ConfigurationType="1">
- <Tool
- Name="VCCLCompilerTool"/>
- <Tool
- Name="VCCustomBuildTool"/>
- <Tool
- Name="VCLinkerTool"/>
- <Tool
- Name="VCMIDLTool"/>
- <Tool
- Name="VCPostBuildEventTool"/>
- <Tool
- Name="VCPreBuildEventTool"/>
- <Tool
- Name="VCPreLinkEventTool"/>
- <Tool
- Name="VCResourceCompilerTool"/>
- <Tool
- Name="VCWebServiceProxyGeneratorTool"/>
- <Tool
- Name="VCXMLDataGeneratorTool"/>
- <Tool
- Name="VCWebDeploymentTool"/>
- <Tool
- Name="VCManagedWrapperGeneratorTool"/>
- <Tool
- Name="VCAuxiliaryManagedWrapperGeneratorTool"/>
- </Configuration>
- </Configurations>
- <References>
- </References>
- <Files>
- <Filter
- Name="Template Files"
- Filter="txt">
- <File
- RelativePath=".\Templates\1033\main.cpp">
- <FileConfiguration
- Name="Debug|Win32"
- ExcludedFromBuild="TRUE">
- <Tool
- Name="VCCLCompilerTool"/>
- </FileConfiguration>
- </File>
- </Filter>
- <Filter
- Name="HTML Files"
- Filter="htm">
- <File
- RelativePath=".\Html\1033\default.htm"
- DeploymentContent="TRUE">
- </File>
- <File
- RelativePath=".\Html\1033\Page_2.htm"
- DeploymentContent="TRUE">
- </File>
- </Filter>
- <Filter
- Name="Image Files"
- Filter="bmp">
- <File
- RelativePath=".\Images\Qt5ConsoleProject.gif">
- </File>
- <File
- RelativePath=".\Images\Qt5ConsoleProject_Background.gif">
- </File>
- </Filter>
- <Filter
- Name="Script Files"
- Filter="js">
- <File
- RelativePath=".\Scripts\1033\default.js">
- </File>
- </Filter>
- <Filter
- Name="Miscellaneous Files"
- Filter="vsz;vsdir;ico;vcproj;csproj;css;inf">
- <File
- RelativePath=".\default.vcproj">
- </File>
- <File
- RelativePath=".\Qt5ConsoleProject.ico">
- </File>
- <File
- RelativePath=".\Qt5ConsoleProject.vsdir">
- </File>
- <File
- RelativePath=".\Qt5ConsoleProject.vsz">
- </File>
- <File
- RelativePath=".\1033\styles.css">
- </File>
- </Filter>
- </Files>
- <Globals>
- </Globals>
-</VisualStudioProject>
diff --git a/Qt4VS2003/Projects/Qt5ConsoleProject/Qt5ConsoleProject.vsdir b/Qt4VS2003/Projects/Qt5ConsoleProject/Qt5ConsoleProject.vsdir
deleted file mode 100644
index b2d7ef4c..00000000
--- a/Qt4VS2003/Projects/Qt5ConsoleProject/Qt5ConsoleProject.vsdir
+++ /dev/null
@@ -1 +0,0 @@
-Qt5ConsoleProject.vsz| |Qt Console Application|2|A basic Qt console application.| | |4096|Project
diff --git a/Qt4VS2003/Projects/Qt5ConsoleProject/Qt5ConsoleProject.vsz b/Qt4VS2003/Projects/Qt5ConsoleProject/Qt5ConsoleProject.vsz
deleted file mode 100644
index 4807ae20..00000000
--- a/Qt4VS2003/Projects/Qt5ConsoleProject/Qt5ConsoleProject.vsz
+++ /dev/null
@@ -1,6 +0,0 @@
-VSWIZARD 7.0
-Wizard=VsWizard.VsWizardEngine.9.0
-
-Param="WIZARD_NAME = Qt5ConsoleProject"
-Param="ABSOLUTE_PATH = C:\Program Files (x86)\Digia\Qt4VSAddin\wizards\Qt5ConsoleProject"
-Param="FALLBACK_LCID = 1033" \ No newline at end of file
diff --git a/Qt4VS2003/Projects/Qt5ConsoleProject/Scripts/1033/default.js b/Qt4VS2003/Projects/Qt5ConsoleProject/Scripts/1033/default.js
deleted file mode 100644
index 63a56f8f..00000000
--- a/Qt4VS2003/Projects/Qt5ConsoleProject/Scripts/1033/default.js
+++ /dev/null
@@ -1,135 +0,0 @@
-var QtEngine;
-
-function OnFinish(selProj, selObj) {
- try {
- // load right project engine
- var dte = wizard.dte;
- var version = dte.version;
- if (version == "8.0")
- QtEngine = new ActiveXObject("Digia.Qt5ProjectEngine80");
- else if (version == "9.0")
- QtEngine = new ActiveXObject("Digia.Qt5ProjectEngine90");
- else if (version == "10.0")
- QtEngine = new ActiveXObject("Digia.Qt5ProjectEngine100");
- else if (version == "11.0")
- QtEngine = new ActiveXObject("Digia.Qt5ProjectEngine110");
- else if (version == "12.0")
- QtEngine = new ActiveXObject("Digia.Qt5ProjectEngine120");
-
- var strProjectPath = wizard.FindSymbol('PROJECT_PATH');
- var strProjectName = wizard.FindSymbol('PROJECT_NAME');
- var strSolutionName = wizard.FindSymbol('VS_SOLUTION_NAME');
- var strTemplatePath = wizard.FindSymbol('TEMPLATES_PATH');
- var bExclusive = wizard.FindSymbol("CLOSE_SOLUTION");
- var bPrecompiled = wizard.FindSymbol('PRECOMPILED_HEADERS');
- var fileTmp;
-
- QtEngine.CreateConsoleProject(wizard.dte, strProjectName,
- strProjectPath, strSolutionName, bExclusive, bPrecompiled);
-
- // add the selected modules to the project
- AddModules();
-
- var strHeaderInclude = "";
- if (bPrecompiled) {
- strHeaderInclude = "#include \"stdafx.h\"";
- fileTmp = QtEngine.CopyFileToProjectFolder(strTemplatePath + "\\stdafx.cpp", "stdafx.cpp");
- QtEngine.AddFileToProject(fileTmp, "QT_SOURCE_FILTER");
- fileTmp = QtEngine.CopyFileToProjectFolder(strTemplatePath + "\\stdafx.h", "stdafx.h");
- QtEngine.AddFileToProject(fileTmp, "QT_HEADER_FILTER");
- }
-
- // add files to the project
- fileTmp = QtEngine.CopyFileToProjectFolder(strTemplatePath + "\\main.cpp", "main.cpp");
- QtEngine.ReplaceTokenInFile(fileTmp, "%INCLUDE%", strHeaderInclude);
- QtEngine.AddFileToProject(fileTmp, "QT_SOURCE_FILTER");
-
- QtEngine.Finish();
- }
- catch (e) {
- if (e.description.length != 0)
- SetErrorInfo(e);
- return e.number
- }
-}
-
-function AddModules() {
- // Essential modules
- if (wizard.FindSymbol('THREED_MODULE'))
- QtEngine.AddModule("Qt3D");
- if (wizard.FindSymbol('CORE_MODULE'))
- QtEngine.AddModule("QtCore");
- if (wizard.FindSymbol('GUI_MODULE'))
- QtEngine.AddModule("QtGui");
- if (wizard.FindSymbol('LOCATION_MODULE'))
- QtEngine.AddModule("QtLocation");
- if (wizard.FindSymbol('MULTIMEDIA_MODULE'))
- QtEngine.AddModule("QtMultimedia");
- if (wizard.FindSymbol('MULTIMEDIAWIDGETS_MODULE'))
- QtEngine.AddModule("QtMultimediaWidgets");
- if (wizard.FindSymbol('NETWORK_MODULE'))
- QtEngine.AddModule("QtNetwork");
- if (wizard.FindSymbol('QML_MODULE'))
- QtEngine.AddModule("QtQml");
- if (wizard.FindSymbol('QUICK_MODULE'))
- QtEngine.AddModule("QtQuick");
- if (wizard.FindSymbol('SQL_MODULE'))
- QtEngine.AddModule("QtSql");
- if (wizard.FindSymbol('TEST_MODULE'))
- QtEngine.AddModule("QtTest");
- if (wizard.FindSymbol('WEBKIT_MODULE'))
- QtEngine.AddModule("QtWebKit"); // ??
-
- // Add-on modules
- // Active Qt better split to server and container
- if (wizard.FindSymbol('AQCONTAINER_MODULE'))
- QtEngine.AddModule("QtAxContainer");
- if (wizard.FindSymbol('AQSERVER_MODULE'))
- QtEngine.AddModule("QtAxServer");
- if (wizard.FindSymbol('BLUETOOTH_MODULE'))
- QtEngine.AddModule("QtBluetooth");
- if (wizard.FindSymbol('CONCURRENT_MODULE'))
- QtEngine.AddModule("QtConcurrent");
- if (wizard.FindSymbol('DECLARATIVE_MODULE'))
- QtEngine.AddModule("QtDeclarative");
- if (wizard.FindSymbol('ENGINIO_MODULE'))
- QtEngine.AddModule("Enginio");
- if (wizard.FindSymbol('HELP_MODULE'))
- QtEngine.AddModule("QtHelp");
- if (wizard.FindSymbol('NFC_MODULE'))
- QtEngine.AddModule("QtNfc");
- if (wizard.FindSymbol('OPENGL_MODULE'))
- QtEngine.AddModule("QtOpenGL");
- if (wizard.FindSymbol('POSITIONING_MODULE'))
- QtEngine.AddModule("QtPositioning");
- if (wizard.FindSymbol('PRINTSUPPORT_MODULE'))
- QtEngine.AddModule("QtPrintSupport");
- if (wizard.FindSymbol('QUICKWIDGETS_MODULE'))
- QtEngine.AddModule("QtQuickWidgets");
- if (wizard.FindSymbol('SCRIPT_MODULE'))
- QtEngine.AddModule("QtScript");
- if (wizard.FindSymbol('SCRIPTTOOLS_MODULE'))
- QtEngine.AddModule("QtScriptTools");
- if (wizard.FindSymbol('SENSORS_MODULE'))
- QtEngine.AddModule("QtSensors");
- if (wizard.FindSymbol('SERIALPORT_MODULE'))
- QtEngine.AddModule("QtSerialPort");
- if (wizard.FindSymbol('SVG_MODULE'))
- QtEngine.AddModule("QtSvg");
- if (wizard.FindSymbol('UITOOLS_MODULE'))
- QtEngine.AddModule("QtUiTools");
- if (wizard.FindSymbol('WEBCHANNEL_MODULE'))
- QtEngine.AddModule("QtWebChannel");
- if (wizard.FindSymbol('WEBKITWIDGETS_MODULE'))
- QtEngine.AddModule("QtWebkitWidgets"); // ??
- if (wizard.FindSymbol('WEBSOCKETS_MODULE'))
- QtEngine.AddModule("QtWebSockets");
- if (wizard.FindSymbol('WIDGETS_MODULE'))
- QtEngine.AddModule("QtWidgets");
- if (wizard.FindSymbol('WINDOWSEXTRAS_MODULE'))
- QtEngine.AddModule("QtWinExtras");
- if (wizard.FindSymbol('XML_MODULE'))
- QtEngine.AddModule("QtXml");
- if (wizard.FindSymbol('XMLPATTERNS_MODULE'))
- QtEngine.AddModule("QtXmlPatterns");
-}
diff --git a/Qt4VS2003/Projects/Qt5ConsoleProject/Templates/1033/main.cpp b/Qt4VS2003/Projects/Qt5ConsoleProject/Templates/1033/main.cpp
deleted file mode 100644
index e9f93aef..00000000
--- a/Qt4VS2003/Projects/Qt5ConsoleProject/Templates/1033/main.cpp
+++ /dev/null
@@ -1,9 +0,0 @@
-%INCLUDE%
-#include <QtCore/QCoreApplication>
-
-int main(int argc, char *argv[])
-{
- QCoreApplication a(argc, argv);
-
- return a.exec();
-}
diff --git a/Qt4VS2003/Projects/Qt5ConsoleProject/Templates/1033/stdafx.cpp b/Qt4VS2003/Projects/Qt5ConsoleProject/Templates/1033/stdafx.cpp
deleted file mode 100644
index 1577c4e3..00000000
--- a/Qt4VS2003/Projects/Qt5ConsoleProject/Templates/1033/stdafx.cpp
+++ /dev/null
@@ -1 +0,0 @@
-#include "stdafx.h" \ No newline at end of file
diff --git a/Qt4VS2003/Projects/Qt5ConsoleProject/Templates/1033/stdafx.h b/Qt4VS2003/Projects/Qt5ConsoleProject/Templates/1033/stdafx.h
deleted file mode 100644
index e69de29b..00000000
--- a/Qt4VS2003/Projects/Qt5ConsoleProject/Templates/1033/stdafx.h
+++ /dev/null
diff --git a/Qt4VS2003/Projects/Qt5DesignerPluginProject/1033/styles.css b/Qt4VS2003/Projects/Qt5DesignerPluginProject/1033/styles.css
deleted file mode 100644
index 730bade4..00000000
--- a/Qt4VS2003/Projects/Qt5DesignerPluginProject/1033/styles.css
+++ /dev/null
@@ -1,574 +0,0 @@
-/******************************************************************************/
-/*DEFAULT STYLES FOR ALL SECTIONS**********************************************/
-/******************************************************************************/
-body { font-family: Tahoma, Verdana, Arial, Sans Serif;
- font-weight: normal;
- font-size: 8pt;
- color: buttontext;
- background-color: buttonface;
- margin-top: 0px;
- margin-left: 0px;
- margin-right: 0px;
- margin-bottom: 0px;
- overflow: visible; }
-
-a:link { color: captiontext;
- text-decoration: none; }
-
-a:visited { color: captiontext;
- text-decoration: none; }
-
-a:active { color: captiontext;
- text-decoration: none; }
-
-a:hover { color: captiontext;
- text-decoration: underline; }
-
-table { font-family: Tahoma, Verdana, Arial, Sans Serif;
- font-weight: normal;
- font-size: 8pt;
- color: buttontext;
- width: 100%; }
-
-td.addon_disabled { color: #808080; }
-
-table.one { table-layout: fixed;
- height: 100%;
- width: 100%; }
-
-
-/*DEFAULT STYLES FOR THE 'INTRODUCTION' TABLE**********************************/
-/******************************************************************************/
-
-table.two { table-layout: fixed;
- height: 79px;
- width: 100%;
- background-color: window; }
-
-td.image { text-align: right; }
-
-td.rule { background-color: window; }
-
-h1.head { font-weight: bold;
- font-size: 10pt;
- color: windowtext;
- margin-top: -3px; }
-
-p.subhead { color: windowtext;
- margin-top: -12px;
- margin-left: 10px; }
-
-img.smallest { background-color: #a6ce39;
- z-index: 1; }
-
-img.small { z-index: 1; }
-
-/*DEFAULT STYLES FOR THE 'NAVIGATION' TABLE************************************/
-/******************************************************************************/
-
-table.three { table-layout: fixed;
- height: 100%;
- width: 178px; }
-
-td.three { background-attachment: fixed;
- background-repeat: no-repeat;
- background-position: bottom left;
- background-color: #66b036; }
-
-td.dottedline { background: url(Images/DottedHori.gif) repeat; }
-
-table.linktextselected { font-weight: bold;
- width: 157px;
- height: 30px;
- position: relative;
- left: 10px;
- z-index: 2; }
-
-table.linktextselectedindent { font-weight: bold;
- width: 148px;
- height: 30px;
- position: relative;
- left: 18px;
- z-index: 2; }
-
-table.linktext { width: 157px;
- height: 30px;
- position: relative;
- left: 10px;
- z-index: 2; }
-
-table.linktextindent { width: 148px;
- height: 30px;
- position: relative;
- left: 18px;
- z-index: 2; }
-
-div.linkselected { background-color: buttonface;
- height: 30px;
- width: 166px;
- position: relative;
- left: 0px;
- right: 0px;
- z-index: 1; }
-
-div.link { height: 30px;
- width: 166px;
- position: relative;
- left: 0px;
- right: 0px;
- z-index: 1; }
-
-div.vertline { background: url(Images/DottedVert.gif) repeat;
- height: 125%;
- width: 1px;
- position: relative;
- top: -12px;
- left: -1px; }
-
-span.vertline1 { background: url(Images/DottedVert.gif) repeat;
- height: 100%;
- width: 1px;
- position: absolute;
- top: 0px;
- left: -1px;
- bottom: 0px;
- z-index: 2; }
-
-span.horiline1 { height: 30px;
- width: 166px;
- position: absolute;
- top: -1px;
- left: -1px;
- bottom: -1px;
- z-index: 2; }
-
-span.activelink { color: captiontext;
- text-decoration: none;
- cursor: hand; }
-
-span.activelink2 { color: captiontext;
- text-decoration: underline;
- cursor: hand; }
-
-span.inactivelink { color: buttonface;
- text-decoration: none;
- cursor: default; }
-
-
-/*DEFAULT STYLES FOR THE ALL BUTTONS AND THE 'BUTTONS' TABLE*******************/
-/******************************************************************************/
-
-button { font-family: Tahoma, Verdana, Arial, Sans Serif;
- font-weight: normal;
- font-size: 8pt;
- height: 23px;
- cursor: hand; }
-
-.buttons { width: 75px; }
-
-/*DEFAULT STYLES FOR THE 'CONTENT' TABLE***************************************/
-/******************************************************************************/
-
-table.content { table-layout: fixed;
- height: 100%;
- width: 422px; }
-
-table.content1 { table-layout: fixed;
- height: 100%;
- width: 398px; }
-
-table.content2 { table-layout: fixed;
- height: 100%;
- width: 193px; }
-
-ol { font-family: Tahoma, Verdana, Arial, Sans Serif;
- font-weight: normal;
- font-size: 8pt;
- color: buttontext;
- margin-top: -1px;
- margin-bottom: 16px; }
-
-ul { font-family: Tahoma, Verdana, Arial, Sans Serif;
- font-weight: normal;
- font-size: 8pt;
- color: buttontext;
- margin-top: -1px;
- margin-bottom: 16px; }
-
-li { font-family: Tahoma, Verdana, Arial, Sans Serif;
- font-weight: normal;
- font-size: 8pt;
- color: buttontext;
- position: relative;
- left: -15px;
- margin-bottom: 1px; }
-
-span.itemtext { position: relative;
- top: -3px; }
-
-span.itemtextindent { position: relative;
- left: 17px;
- top: -3px; }
-
-span.itemtextindentA { position: relative;
- left: 25px;
- top: -3px; }
-
-span.itemtextindent1 { position: relative;
- left: 8px;
- top: -3px; }
-
-span.sidebtnhidden { width: 100%;
- margin-top: 3px;
- margin-bottom: 0px; }
-
-div.itemtextradioB { position: relative;
- top: -19px;
- left: 25px;
- margin-bottom: -25px; }
-
-div.itemtextradioindentA { position: relative;
- top: -17px;
- left: 30px;
- margin-bottom: -25px; }
-
-div.itemtextradioindentB { position: relative;
- top: -19px;
- left: 42px;
- margin-bottom: -25px; }
-
-div.itemtextcheckboxA { position: relative;
- top: -17px;
- left: 17px;
- margin-bottom: -23px; }
-
-div.itemtextcheckboxB { position: relative;
- top: -18px;
- left: 25px;
- margin-bottom: -25px; }
-
-div.itemtextcheckboxindentB { position: relative;
- top: -16px;
- left: 42px;
- margin-bottom: -25px; }
-
-div.inlineA { position: relative;
- top: 4px;
- width: 100%;
- height:1px;
- border-top: solid buttonshadow 1px; }
-
-div.inlineB { position: relative;
- top: -9px;
- margin-bottom: -20px;
- width: 100%;
- height:1px;
- border-top: solid threedhighlight 1px; }
-
-input { font-family: Tahoma, Verdana, Arial, Sans Serif;
- font-weight: normal;
- font-size: 8pt;
- color: buttontext; }
-
-.radio { position: relative;
- top: -2px;
- left: 4px; }
-
-.radioIndentA { margin-top: -2px;
- margin-left: 9px; }
-
-.radioIndent { margin-top: -2px;
- margin-left: 17px; }
-
-.checkboxA { position: relative;
- top: -2px;
- left: 4px; }
-
-.checkbox { position: relative;
- top: -1px;
- margin-left: -4px;
- z-index: 2; }
-
-.checkboxIndent { margin-top: -1px;
- margin-left: 21px; }
-
-.comment { width: 566px;
- position: relative;
- top: 5px;
- left: 8px;
- bottom: 6px; }
-
-.comment2 { width: 391px;
- position: relative;
- top: 5px;
- left: 8px;
- bottom: 6px; }
-
-/****THIS IS THE STANDARD INPUT BOX********************************************/
-input.sidebtn { width: 173px;
- position: relative;
- top: 5px;
- left: 8px; }
-
-/****THIS IS AN INPUT BOX INDENTED UNDER A CHECKBOX SECTION*******************/
-input.sidebtnIndent { width: 163px;
- position: relative;
- top: 5px;
- left: 18px;
- bottom: 6px; }
-
-/****THIS INPUT BOX HAS IS INDENTED UNDER A HEADING AND RULE SECTION***********/
-input.sidebtnB { width: 164px;
- position: relative;
- top: 5px;
- left: 8px;
- bottom: 6px; }
-
-/****THIS INPUT BOX HAS A "..." BUTTON BESIDE IT*******************************/
-input.sidebtn2 { width: 149px;
- position: relative;
- top: 5px;
- left: 8px;
- bottom: 6px; }
-
-/****THIS INPUT BOX HAS A "..." BUTTON BESIDE IT AND IT'S UNDER A CHECKBOX*****/
-input.sidebtn2Indent { width: 139px;
- position: relative;
- top: 5px;
- left: 18px;
- bottom: 6px; }
-
-input.sidebtn21 { width: 141px;
- position: relative;
- top: 5px;
- left: 8px;
- bottom: 6px; }
-
-input.sidebtn2Long { width: 253px;
- position: relative;
- top: 5px;
- left: 8px;
- bottom: 6px; }
-
-input.sidebtn2A { width: 140px;
- position: relative;
- top: 5px;
- left: 8px;
- bottom: 6px; }
-
-input.sidebtn2B { width: 156px;
- position: relative;
- top: 6px;
- left: 8px;
- bottom: 0px;
- margin-bottom: -3px; }
-
-select { font-family: Tahoma, Verdana, Arial, Sans Serif;
- font-weight: normal;
- font-size: 8pt;
- color: buttontext; }
-
-/****THIS IS THE STANDARD SELECTION BOX****************************************/
-select.sidebtn { width: 173px;
- position: relative;
- top: 6px;
- left: 8px;
- bottom: 0px;
- margin-bottom: -3px; }
-
-/****THIS IS THE STANDARD SELECTION BOX****************************************/
-span.sidebtn { position: relative;
- top: 6px;
- left: 8px;
- bottom: 0px;
- margin-bottom: -3px; }
-
-/****THIS IS THE STANDARD SELECTION BOX****************************************/
-span.itemtextspecial { position: relative;
- top: -20px;
- left: 16px;
- bottom: 0px;
- margin-bottom: -3px; }
-
-/****THIS IS THE STANDARD SELECTION BOX****************************************/
-span.sidebtnspecial { position: relative;
- top: -2px;
- left: 54px;
- bottom: 0px;
- margin-bottom: -3px; }
-
-/****THIS SELECTION BOX IS INDENTED UNDER A HEADING AND RULE SECTION***********/
-select.sidebtnB { width: 164px;
- position: relative;
- top: 6px;
- left: 8px;
- bottom: 0px;
- margin-bottom: -3px; }
-
-/****THIS SELECTION BOX IS BELOW AND ASSOCIATED WITH A CHECKBOX****************/
-select.sidebtn2 { width: 164px;
- position: relative;
- top: 13px;
- left: 17px;
- bottom: 0px;
- margin-bottom: -3px; }
-
-/****THIS SELECTION BOX IS BELOW AND ASSOCIATED WITH A CHECKBOX AND HEADING****/
-select.sidebtn2A { width: 156px;
- position: relative;
- top: 13px;
- left: 25px;
- bottom: 0px;
- margin-bottom: -3px; }
-
-/****THIS SELECTION BOX IS BELOW AND ASSOCIATED WITH A CHECKBOX AND HEADING****/
-select.sidebtn2ALong { width: 277px;
- position: relative;
- top: 6px;
- left: 25px;
- bottom: 0px;
- margin-bottom: -3px; }
-
-select.sidebtn2B { width: 156px;
- position: relative;
- top: 6px;
- left: 8px;
- bottom: 0px;
- margin-bottom: -3px; }
-
-/****THIS SELECTION BOX HAS "..." BUTTONS BESIDE THEM**************************/
-select.sidebtn2C { width: 149px;
- position: relative;
- top: 5px;
- left: 8px;
- bottom: 6px; }
-
-select.sidebtn2CLong { width: 253px;
- position: relative;
- top: 5px;
- left: 8px;
- bottom: 6px; }
-
-select.sidebtn3 { width: 150px;
- position: relative;
- top: 6px;
- bottom: 0px;
- margin-bottom: -3px; }
-
-/****THIS SELECTION BOX IS FOR HORIZONTAL ADD/REMOVE SECTIONS******************/
-select.sidebtn4Long { width: 574px;
- position: relative;
- top: 6px;
- left: 8px;
- bottom: 0px;
- margin-bottom: -3px; }
-
-object.itemtext { font-family: Tahoma, Verdana, Arial, Sans Serif;
- font-weight: normal;
- font-size: 8pt;
- color: buttontext;
- width: 173px;
- height: 19px;
- position: relative;
- top: 6px;
- left: 8px;
- margin-bottom: 2px; }
-
-.dropdowncombo { font-family: Tahoma, Verdana, Arial, Sans Serif;
- font-weight: normal;
- font-size: 8pt;
- color: buttontext; }
-
-/****THIS DEFINES A STANDARD BUTTON IN THE CONTENT SECTION*********************/
-.buttonclass { margin-top: 2px;
- margin-left: 8px;
- margin-bottom: -6px;
- padding: 2px; }
-
-/****THIS DEFINES ADD/REMOVE BUTTONS IN THE CONTENT SECTION********************/
-.buttonclass2 { margin-top: 8px;
- margin-left: 8px;
- z-index: 1;
- cursor: hand; }
-
-/****THIS DEFINES A "..." BUTTON IN THE CONTENT SECTION************************/
-.buttonclass3 { height: 19px;
- width: 20px;
- position: relative;
- top: 2px; }
-
-/****THIS DEFINES A "..." BUTTON IN THE CONTENT SECTION AND UNDER A CHECKBOX***/
-.buttonclass3Indent { height: 19px;
- width: 20px;
- position: relative;
- top: 2px;
- left: 10px; }
-
-.buttonclass31 { height: 19px;
- width: 20px;
- position: relative;
- top: 2px;
- left:8px; }
-
-.buttonclass3A { height: 19px;
- width: 20px;
- position: relative;
- top: 5px; }
-
-/****THIS DEFINES A ">>" BUTTON IN THE CONTENT SECTION************************/
-.buttonclass4 { margin-bottom: 4px;
- width: 75px;
- height: 23px; }
-
-/****THIS DEFINES ADD/REMOVE BUTTONS HORIZONTALLY IN THE CONTENT SECTION******/
-.buttonclass5 { margin-left: 4px; }
-
-/****THIS DEFINES FIRST ADD/REMOVE BUTTONS HORIZONTALLY IN CONTENT SECTION****/
-.buttonclass5A { margin-left: 8px; }
-
-/****THIS SETS THE LEFT MARGIN FOR THE REMOVE BUTTON***************************/
-#removebtn { margin-left: 4px; }
-
-
-
-/****THIS SETS THE LEFT MARGIN FOR INDENTED SECTION UNDER CHECKBOXES***********/
-label.indent { margin-left: 18px; }
-
-/****THIS SETS THE LEFT MARGIN FOR INDENTED SECTION UNDER CHECKBOXES***********/
-label.indent2 { margin-left: 26px; }
-
-
-/****THESE ARE CUSTOM SPACING ELEMENTS*****************************************/
-p.spacer { margin-bottom: -28px; }
-
-p.elementspacer { margin-bottom: -12px; }
-
-p.elementspacer2 { margin-bottom: -19px; }
-
-p.elementspacer3 { margin-bottom: -3px; }
-
-p.elementspacer4 { margin-bottom: 7px; }
-
-p.elementspacer5 { margin-bottom: 5px; }
-
-p.elementspacer6 { margin-bottom: -24px; }
-
-p.elementspacer7 { margin-bottom: -11px; }
-
-p.elementspacer8 { margin-bottom: -14px; }
-
-p.elementspacer9 { margin-bottom: -7px; }
-
-p.elementspacer10 { margin-bottom: 6px; }
-
-p.elementspacer11 { margin-bottom: 22px; }
-
-p.elementspacer12 { margin-bottom: -17px; }
-
-p.elementspacer13 { margin-bottom: -23px; }
-
-p.elementspacer14 { margin-bottom: -25px; }
-
-
-/*CUSTOM STYLES FOR THE 'CONTENT' FRAME****************************************/
-/******************************************************************************/
diff --git a/Qt4VS2003/Projects/Qt5DesignerPluginProject/HTML/1031/Page_2.htm b/Qt4VS2003/Projects/Qt5DesignerPluginProject/HTML/1031/Page_2.htm
deleted file mode 100644
index 65df34b2..00000000
--- a/Qt4VS2003/Projects/Qt5DesignerPluginProject/HTML/1031/Page_2.htm
+++ /dev/null
@@ -1,568 +0,0 @@
-<html dir="ltr">
-<head>
- <title>'Qt5 Designer Plugin Project'</title>
- <meta content="http://schemas.microsoft.com/intellisense/ie5" name="vs_targetSchema">
- <link id="LINKURL" rel="stylesheet" href="../../1033/styles.css">
-</head>
-<body onkeypress="OnPress();" onkeydown="OnKey();" bottommargin="0" bgcolor="buttonface"
- leftmargin="0" topmargin="0" onload="InitDocument(document);" rightmargin="0">
- <table class="ONE" height="100%" cellspacing="0" cellpadding="0" width="100%" border="0">
- <colgroup>
- <col width="178">
- <col>
- <!--OPEN OF INTRODUCTORY INFORMATION TABLE//-->
- <tr valign="top">
- <td width="100%" colspan="2" height="79">
- <table class="TWO" cellspacing="0" cellpadding="0" border="0">
- <colgroup>
- <col width="12">
- <col>
- <col width="12">
- <tr>
- <td valign="top" width="12" height="12">
- &nbsp;
- </td>
- <td valign="top" height="12">
- &nbsp;
- </td>
- <td valign="top" width="12" height="12">
- &nbsp;
- </td>
- <td class="IMAGE" valign="bottom" width="110" rowspan="2">
- <div class="SMALLA" id="Layer0">
- <img class="SMALLEST" height="63" alt="" src="..\..\Images\Qt5DesignerPluginProject.jpg"
- width="63" border="0">
- </div>
- </td>
- <td valign="top" width="6" height="12" rowspan="2">
- &nbsp;
- </td>
- </tr>
- <tr>
- <td valign="top" width="12" height="65">
- &nbsp;
- </td>
- <td valign="top" height="65">
- <h4 class="HEAD" id="H4_1">
- Willkommen zum Qt5&nbsp;Designer Pluginprojektwizard</h4>
- <p class="SUBHEAD" id="P1">
- Dieser Wizard erstellt ein Designer Plugin, das Sie in Qt Designer oder Visual Studio
- verwenden knnen.</p>
- </td>
- <td valign="top" width="12" height="65">
- &nbsp;
- </td>
- </tr>
- <tr>
- <td class="RULE" valign="top" colspan="5" height="2">
- <table height="1" cellspacing="0" cellpadding="0" width="100%" border="0">
- <tr valign="top">
- <td width="100%" bgcolor="buttonshadow" height="1">
- <img height="1" alt="" src="../../Images/spacer.gif" width="1">
- </td>
- <td width="1" bgcolor="window" height="1">
- <img height="1" alt="" src="../../Images/spacer.gif" width="1">
- </td>
- </tr>
- </table>
- </td>
- </tr>
- </table>
- </td>
- </tr>
- <!--CLOSE OF INTRODUCTORY INFORMATION TABLE//-->
- <!--OPEN OF NAVIGATION, CONTENT, AND BUTTON TABLES//-->
- <tr valign="top">
- <td class="THREE" valign="top" width="178" height="100%">
- <!--OPEN OF NAVIGATION TABLE//-->
- <table class="THREE" cellspacing="0" cellpadding="0" border="0">
- <colgroup>
- <col width="12">
- <col width="166">
- <col width="1">
- <tr>
- <td valign="top" colspan="3" height="12">
- &nbsp;
- </td>
- </tr>
- <tr>
- <td valign="top" width="12" height="100%">
- &nbsp;
- </td>
- <td valign="top" width="165" height="100%">
- <!--OPEN OF NAVIGATIONAL LINKS//-->
- <div class="LINK">
- <table class="LINKTEXT" height="28" cellspacing="0" cellpadding="0" width="166" border="0">
- <tr valign="middle">
- <td width="162">
- <span class="ACTIVELINK" id="Default" title="" onclick="Next(document, 'default.htm');"
- tabindex="1">bersicht</span>
- </td>
- <td width="4">
- <img height="1" src="../../Images/spacer.gif" width="4">
- </td>
- </tr>
- </table>
- </div>
- <div class="LINKSELECTED">
- <span class="VERTLINE1">
- <img height="1" alt="" src="../../Images/spacer.gif" width="1" border="0">
- </span><span class="HORILINE1">
- <table height="100%" cellspacing="0" cellpadding="0" width="167" border="0">
- <tr valign="top">
- <td class="DOTTEDLINE" height="1">
- </td>
- </tr>
- <tr valign="top">
- <td height="100%">
- <img height="28" alt="" src="../../Images/spacer.gif" width="1" border="0">
- </td>
- </tr>
- <tr valign="top">
- <td class="DOTTEDLINE" height="1">
- </td>
- </tr>
- </table>
- </span>
- <table class="LINKTEXTSELECTED" height="28" cellspacing="0" cellpadding="0" width="160"
- border="0">
- <tr valign="middle">
- <td width="162">
- <span id="Page_2" title="" onclick="Next(document, 'Page_2.htm');" tabindex="1">Projekteinstellungen</span>
- </td>
- <td width="4">
- <img height="1" src="../../Images/spacer.gif" width="4">
- </td>
- </tr>
- </table>
- </div>
- <div class="LINK">
- <table class="LINKTEXT" height="28" cellspacing="0" cellpadding="0" width="166" border="0"
- id="Table1">
- <tr valign="middle">
- <td width="162">
- <span class="ACTIVELINK" id="Page_3" title="" onclick="Next(document, 'Page_3.htm');"
- tabindex="1">Generierte Klassen</span>
- </td>
- <td width="4">
- <img height="1" src="../../Images/spacer.gif" width="4">
- </td>
- </tr>
- </table>
- </div>
- <!--CLOSE OF NAVIGATIONAL LINKS//-->
- </td>
- <td width="1">
- <div class="VERTLINE">
- <img height="1" alt="" src="../../Images/spacer.gif" width="1" border="0">
- </div>
- </td>
- </tr>
- </table>
- <!--CLOSE OF NAVIGATION TABLE//-->
- </td>
- <td valign="top" height="100%">
- <!--OPEN OF CONTENT AND BUTTON TABLE//-->
- <table class="ONE" cellspacing="0" cellpadding="0" border="0">
- <colgroup>
- <col width="100%">
- <tr valign="top">
- <td valign="top" height="100%">
- <!--OPEN OF CONTENT//-->
- <table class="CONTENT" cellspacing="0" cellpadding="0" border="0">
- <colgroup>
- <tr>
- <td width="12" height="12">
- </td>
- <td height="12">
- </td>
- <td height="12">
- </td>
- <td height="12">
- </td>
- <td width="12" height="12">
- </td>
- </tr>
- <tr>
- <td valign="top" width="12">
- </td>
- <td valign="top" colspan="3">
- <p>
- Selektieren Sie die Module, die zum Projekt hinzugefgt werden sollen. Die empfohlenen
- Module sind bereits ausgewhlt.<br />
- <br />
- </p>
- </td>
- <td valign="top" width="12">
- </td>
- </tr>
- <tr>
- <td width="12" height="12">
- </td>
- <td height="12">
- </td>
- <td height="12">
- </td>
- <td height="12">
- </td>
- <td width="12" height="12">
- </td>
- </tr>
-<!-- {ADB367FB-48AA-488e-9102-B037297CFCDB} -->
-<!-- -->
-<!-- START. GENERATED WITH SCRIPT, DO NOT EDIT -->
-<!-- -->
-<tr><td valign="top" width="12"></td><td valign="top" colspan="3"></td><td valign="top" width="12"></td></tr>
-<tr>
-<td valign="top" width="12"></td>
-<td valign="top"><input id="THREED_MODULE" title="Select this if you want to include the 3D library" type="checkbox" name="THREED_MODULE_NAME">&nbsp;3D</td>
-<td valign="top"><input id="NETWORK_MODULE" title="Select this if you want to include the Network library" type="checkbox" name="NETWORK_MODULE_NAME">&nbsp;Network</td>
-<td valign="top"><input id="SVG_MODULE" title="Select this if you want to include the SVG library" type="checkbox" name="SVG_MODULE_NAME">&nbsp;SVG</td>
-<td valign="top" width="12"></td>
-</tr>
-<tr>
-<td valign="top" width="12"></td>
-<td valign="top"><input id="AQCONTAINER_MODULE" title="Select this if you want to include the ActiveQt container library" type="checkbox" name="AQCONTAINER_MODULE_NAME">&nbsp;ActiveQt container&nbsp;</td>
-<td valign="top"><input id="NFC_MODULE" title="Select this if you want to include the NFC library" type="checkbox" name="NFC_MODULE_NAME">&nbsp;NFC</td>
-<td valign="top"><input id="TEST_MODULE" title="Select this if you want to include the Test library" type="checkbox" name="TEST_MODULE_NAME">&nbsp;Test</td>
-<td valign="top" width="12"></td>
-</tr>
-<tr>
-<td valign="top" width="12"></td>
-<td valign="top"><input id="AQSERVER_MODULE" title="Select this if you want to include the ActiveQt server library" type="checkbox" name="AQSERVER_MODULE_NAME">&nbsp;ActiveQt&nbsp;server&nbsp;</td>
-<td valign="top"><input id="OPENGL_MODULE" title="Select this if you want to include the OpenGL library" type="checkbox" name="OPENGL_MODULE_NAME">&nbsp;OpenGL</td>
-<td valign="top"><input id="UITOOLS_MODULE" title="Select this if you want to include the UI Tools" type="checkbox" name="UITOOLS_MODULE_NAME">&nbsp;UI Tools</td>
-<td valign="top" width="12"></td>
-</tr>
-<tr>
-<td valign="top" width="12"></td>
-<td valign="top"><input id="BLUETOOTH_MODULE" title="Select this if you want to include the Bluetooth library" type="checkbox" name="BLUETOOTH_MODULE_NAME">&nbsp;Bluetooth</td>
-<td valign="top"><input id="POSITIONING_MODULE" title="Select this if you want to include the Positioning library" type="checkbox" name="POSITIONING_MODULE_NAME">&nbsp;Positioning</td>
-<td valign="top"><input id="WEBCHANNEL_MODULE" title="Select this if you want to include the Web Channel library" type="checkbox" name="WEBCHANNEL_MODULE_NAME">&nbsp;Web Channel</td>
-<td valign="top" width="12"></td>
-</tr>
-<tr>
-<td valign="top" width="12"></td>
-<td valign="top"><input id="CONCURRENT_MODULE" title="Select this if you want to include the Concurrent library" type="checkbox" name="CONCURRENT_MODULE_NAME">&nbsp;Concurrent</td>
-<td valign="top"><input id="PRINTSUPPORT_MODULE" title="Select this if you want to include the Print Support library" type="checkbox" name="PRINTSUPPORT_MODULE_NAME">&nbsp;Print Support</td>
-<td valign="top"><input id="WEBKIT_MODULE" title="Select this if you want to include the WebKit library" type="checkbox" name="WEBKIT_MODULE_NAME">&nbsp;WebKit</td>
-<td valign="top" width="12"></td>
-</tr>
-<tr>
-<td valign="top" width="12"></td>
-<td valign="top"><input id="CORE_MODULE" title="Select this if you want to include the core library" type="checkbox" name="CORE_MODULE_NAME">&nbsp;Core</td>
-<td valign="top"><input id="QML_MODULE" title="Select this if you want to include the QML library" type="checkbox" name="QML_MODULE_NAME">&nbsp;QML</td>
-<td valign="top"><input id="WEBKITWIDGETS_MODULE" title="Select this if you want to include the Webkit Widgets library" type="checkbox" name="WEBKITWIDGETS_MODULE_NAME">&nbsp;Webkit Widgets</td>
-<td valign="top" width="12"></td>
-</tr>
-<tr>
-<td valign="top" width="12"></td>
-<td valign="top"><input id="ENGINIO_MODULE" title="Select this if you want to include the Enginio library" type="checkbox" name="ENGINIO_MODULE_NAME">&nbsp;Enginio</td>
-<td valign="top"><input id="QUICK_MODULE" title="Select this if you want to include the Quick library" type="checkbox" name="QUICK_MODULE_NAME">&nbsp;Quick</td>
-<td valign="top"><input id="WEBSOCKETS_MODULE" title="Select this if you want to include the Web Sockets library" type="checkbox" name="WEBSOCKETS_MODULE_NAME">&nbsp;Web Sockets</td>
-<td valign="top" width="12"></td>
-</tr>
-<tr>
-<td valign="top" width="12"></td>
-<td valign="top"><input id="DECLARATIVE_MODULE" title="Select this if you want to include the Declarative library" type="checkbox" name="DECLARATIVE_MODULE_NAME">&nbsp;Declarative</td>
-<td valign="top"><input id="QUICKWIDGETS_MODULE" title="Select this if you want to include the Quick Widgets library" type="checkbox" name="QUICKWIDGETS_MODULE_NAME">&nbsp;Quick Widgets</td>
-<td valign="top"><input id="WIDGETS_MODULE" title="Select this if you want to include the Widgets library" type="checkbox" name="WIDGETS_MODULE_NAME">&nbsp;Widgets</td>
-<td valign="top" width="12"></td>
-</tr>
-<tr>
-<td valign="top" width="12"></td>
-<td valign="top"><input id="GUI_MODULE" title="Select this if you want to include the GUI library" type="checkbox" name="GUI_MODULE_NAME">&nbsp;GUI</td>
-<td valign="top"><input id="SCRIPT_MODULE" title="Select this if you want to include the Script library" type="checkbox" name="SCRIPT_MODULE_NAME">&nbsp;Script</td>
-<td valign="top"><input id="WINDOWSEXTRAS_MODULE" title="Select this if you want to include the Windows Extras library" type="checkbox" name="WINDOWSEXTRAS_MODULE_NAME">&nbsp;Windows Extras</td>
-<td valign="top" width="12"></td>
-</tr>
-<tr>
-<td valign="top" width="12"></td>
-<td valign="top"><input id="HELP_MODULE" title="Select this if you want to include the Help library" type="checkbox" name="HELP_MODULE_NAME">&nbsp;Help</td>
-<td valign="top"><input id="SCRIPTTOOLS_MODULE" title="Select this if you want to include the Script Tools" type="checkbox" name="SCRIPTTOOLS_MODULE_NAME">&nbsp;Script Tools</td>
-<td valign="top"><input id="XML_MODULE" title="Select this if you want to include the XML library" type="checkbox" name="XML_MODULE_NAME">&nbsp;XML</td>
-<td valign="top" width="12"></td>
-</tr>
-<tr>
-<td valign="top" width="12"></td>
-<td valign="top"><input id="LOCATION_MODULE" title="Select this if you want to include the Location library" type="checkbox" name="LOCATION_MODULE_NAME">&nbsp;Location</td>
-<td valign="top"><input id="SENSORS_MODULE" title="Select this if you want to include the Sensors library" type="checkbox" name="SENSORS_MODULE_NAME">&nbsp;Sensors</td>
-<td valign="top"><input id="XMLPATTERNS_MODULE" title="Select this if you want to include the XML Patterns library" type="checkbox" name="XMLPATTERNS_MODULE_NAME">&nbsp;XML Patterns</td>
-<td valign="top" width="12"></td>
-</tr>
-<tr>
-<td valign="top" width="12"></td>
-<td valign="top"><input id="MULTIMEDIA_MODULE" title="Select this if you want to include the Multimedia library" type="checkbox" name="MULTIMEDIA_MODULE_NAME">&nbsp;Multimedia</td>
-<td valign="top"><input id="SERIALPORT_MODULE" title="Select this if you want to include the Serial Port library" type="checkbox" name="SERIALPORT_MODULE_NAME">&nbsp;Serial Port</td>
-<td valign="top" width="12"></td>
-<td valign="top" width="12"></td>
-</tr>
-<tr>
-<td valign="top" width="12"></td>
-<td valign="top"><input id="MULTIMEDIAWIDGETS_MODULE" title="Select this if you want to include the Multimedia Widgets library" type="checkbox" name="MULTIMEDIAWIDGETS_MODULE_NAME">&nbsp;Multimedia Widgets</td>
-<td valign="top"><input id="SQL_MODULE" title="Select this if you want to include the SQL library" type="checkbox" name="SQL_MODULE_NAME">&nbsp;SQL</td>
-<td valign="top" width="12"></td>
-<td valign="top" width="12"></td>
-</tr>
-<!-- -->
-<!-- END. GENERATED WITH SCRIPT, DO NOT EDIT -->
-<!-- -->
-<!-- {ADB367FB-48AA-488e-9102-B037297CFCDB} -->
-
-
-
-
- <tr>
- <td valign="top" width="12">
- </td>
- <td valign="top" colspan="3">
- <p>
- &nbsp;</p>
- </td>
- <td valign="top" width="12">
- </td>
- </tr>
- <tr>
- <td valign="top" width="12" height="100%">
- </td>
- <td valign="top" height="100%">
- </td>
- <td valign="top" height="100%">
- </td>
- <td valign="top" height="100%">
- </td>
- <td valign="top" width="12" height="100%">
- </td>
- </tr>
- </table>
- <!--CLOSE OF CONTENT//-->
- </TD> </TR>
- <tr valign="bottom">
- <td height="48">
- <!--OPEN OF BUTTON HTML//-->
- <table height="48" cellspacing="0" cellpadding="0" border="0">
- <colgroup>
- <col width="12">
- <col>
- <col width="75">
- <col width="4">
- <col width="75">
- <col width="4">
- <col width="75">
- <col width="12">
- <tr>
- <td class="RULE" valign="top" colspan="8" height="2">
- <table height="1" cellspacing="0" cellpadding="0" width="100%" border="0">
- <tr valign="top">
- </tr>
- </table>
- </td>
- </tr>
- <tr>
- <td valign="top" colspan="8" height="11">
- &nbsp;
- </td>
- </tr>
- <tr>
- <td valign="middle" width="12" height="23">
- &nbsp;
- </td>
- <td valign="top" height="23">
- &nbsp;
- </td>
- <td valign="middle" width="75" height="23">
- <button class="BUTTONS" id="FinishBtn" accesskey="B" onclick="OnFinish(document);"
- type="button">
- <u>B</u>eenden</button>
- </td>
- <td valign="middle" width="4" height="23">
- &nbsp;
- </td>
- <td valign="middle" width="75" height="23">
- <button class="BUTTONS" id="CancelBtn" accesskey="A" onclick="window.external.Finish(document, 'cancel');"
- type="button">
- <u>A</u>bbrechen</button>
- </td>
- <td valign="middle" width="4" height="23">
- &nbsp;
- </td>
- <td valign="middle" width="75" height="23">
- <button class="BUTTONS" id="HelpBtn" disabled accesskey="H" onclick="window.external.OnHelp('vc.appwiz.custom.overview');"
- type="button">
- <u>H</u>ilfe</button>
- </td>
- <td valign="middle" width="12" height="23">
- &nbsp;
- </td>
- </tr>
- <tr>
- <td valign="top" colspan="8" height="12">
- &nbsp;
- </td>
- </tr>
- </table>
- <!--CLOSE OF BUTTON HTML//-->
- </td>
- </tr>
- </TABLE>
- <!--CLOSE OF NAVIGATION, CONTENT, AND BUTTON TABLES//-->
- </TD> </TR> </TABLE>
-</body>
-</html>
-<script language="JSCRIPT">
-
- var QtEngine;
- var tab_array = new Array();
- tab_array[0] = Default;
- tab_array[1] = Page_2;
-
- // This is an example of a function which initializes the page
- //
- function InitDocument(document) {
- var dte = window.external.dte;
- var version = dte.version;
- if (version == "8.0")
- QtEngine = new ActiveXObject("Digia.Qt5ProjectEngine80");
- else if (version == "9.0")
- QtEngine = new ActiveXObject("Digia.Qt5ProjectEngine90");
- else if (version == "10.0")
- QtEngine = new ActiveXObject("Digia.Qt5ProjectEngine100");
- else if (version == "11.0")
- QtEngine = new ActiveXObject("Digia.Qt5ProjectEngine110");
- else if (version == "12.0")
- QtEngine = new ActiveXObject("Digia.Qt5ProjectEngine120");
- else {
- window.external.ReportError("Cannot instantiate QtProjectEngine object!");
- return false;
- }
-
- setDirection();
- if (window.external.FindSymbol('DOCUMENT_FIRST_LOAD')) {
- // This function sets the default symbols based
- // on the values specified in the SYMBOL tags above
- //
- window.external.SetDefaults(document);
- }
- // Load the document and initialize the controls
- // with the appropriate symbol values
- //
- window.external.Load(document);
-
- // Disable Essential modules which are not installed (Should not found any?)
- DisableUninstalled(THREED_MODULE_NAME, "Qt3D", QtEngine);
- DisableUninstalled(CORE_MODULE_NAME, "QtCore", QtEngine);
- DisableUninstalled(GUI_MODULE_NAME, "QtGui", QtEngine);
- DisableUninstalled(LOCATION_MODULE_NAME, "QtLocation", QtEngine);
- DisableUninstalled(MULTIMEDIA_MODULE_NAME, "QtMultimedia", QtEngine);
- DisableUninstalled(MULTIMEDIAWIDGETS_MODULE_NAME, "QtMultimediaWidgets", QtEngine);
- DisableUninstalled(NETWORK_MODULE_NAME, "QtNetwork", QtEngine);
- DisableUninstalled(QML_MODULE_NAME, "QtQml", QtEngine);
- DisableUninstalled(QUICK_MODULE_NAME, "QtQuick", QtEngine);
- DisableUninstalled(SQL_MODULE_NAME, "QtSql", QtEngine);
- DisableUninstalled(TEST_MODULE_NAME, "QtTest", QtEngine);
- DisableUninstalled(WEBKIT_MODULE_NAME, "QtWebkit", QtEngine);
-
- // Disable Add-on modules which are not installed
- DisableUninstalled(AQCONTAINER_MODULE_NAME, "QtAxContainer", QtEngine);
- DisableUninstalled(AQSERVER_MODULE_NAME, "QtAxServer", QtEngine);
- DisableUninstalled(BLUETOOTH_MODULE_NAME, "QtBluetooth", QtEngine);
- DisableUninstalled(CONCURRENT_MODULE_NAME, "QtConcurrent", QtEngine);
- DisableUninstalled(DECLARATIVE_MODULE_NAME, "QtDeclarative", QtEngine);
- DisableUninstalled(ENGINIO_MODULE_NAME, "Enginio", QtEngine);
- DisableUninstalled(HELP_MODULE_NAME, "QtHelp", QtEngine);
- DisableUninstalled(NFC_MODULE_NAME, "QtNfc", QtEngine);
- DisableUninstalled(OPENGL_MODULE_NAME, "QtOpenGL", QtEngine);
- DisableUninstalled(POSITIONING_MODULE_NAME, "QtPositioning", QtEngine);
- DisableUninstalled(PRINTSUPPORT_MODULE_NAME, "QtPrintSupport", QtEngine);
- DisableUninstalled(QUICKWIDGETS_MODULE_NAME, "QtQuickWidgets", QtEngine);
- DisableUninstalled(SCRIPT_MODULE_NAME, "QtScript", QtEngine);
- DisableUninstalled(SCRIPTTOOLS_MODULE_NAME, "QtScriptTools", QtEngine);
- DisableUninstalled(SENSORS_MODULE_NAME, "QtSensors", QtEngine);
- DisableUninstalled(SERIALPORT_MODULE_NAME, "QtSerialPort", QtEngine);
- DisableUninstalled(SVG_MODULE_NAME, "QtSvg", QtEngine);
- DisableUninstalled(UITOOLS_MODULE_NAME, "QtUiTools", QtEngine);
- DisableUninstalled(WEBCHANNEL_MODULE_NAME, "QtWebChannel", QtEngine);
- DisableUninstalled(WEBKITWIDGETS_MODULE_NAME, "QtWebkitWidgets", QtEngine);
- DisableUninstalled(WEBSOCKETS_MODULE_NAME, "QtWebSockets", QtEngine);
- DisableUninstalled(WIDGETS_MODULE_NAME, "QtWidgets", QtEngine);
- DisableUninstalled(WINDOWSEXTRAS_MODULE_NAME, "QtWinExtras", QtEngine);
- DisableUninstalled(XML_MODULE_NAME, "QtXml", QtEngine);
- DisableUninstalled(XMLPATTERNS_MODULE_NAME, "QtXmlPatterns", QtEngine);
-
- // Disable these cause mandatory for this wizard
- CORE_MODULE_NAME.disabled = true;
- GUI_MODULE_NAME.disabled = true;
- XML_MODULE_NAME.disabled = true;
- WIDGETS_MODULE_NAME.disabled = true;
- }
-
- function DisableUninstalled(element, lib_name, engine) {
- var not_installed = !engine.IsModuleInstalled(lib_name);
- element.disabled = not_installed;
- if (not_installed) {
- element.title = ""; // Not installed so don't show title
- element.parentNode.className = "addon_disabled";
- }
- return not_installed;
- }
-
- // If the wizard has more than 1 page, this
- // function will browse to the page specified
- //
- function Next(document, linkto) {
- CORE_MODULE_NAME.disabled = false;
- GUI_MODULE_NAME.disabled = false;
- XML_MODULE_NAME.disabled = false;
- WIDGETS_MODULE_NAME.disabled = false;
- window.external.Next(document, linkto);
- }
-
- // This is an example of a function which
- // gets called when the user clicks on 'Finish'
- //
- function OnFinish(document) {
- CORE_MODULE_NAME.disabled = false;
- GUI_MODULE_NAME.disabled = false;
- XML_MODULE_NAME.disabled = false;
- WIDGETS_MODULE_NAME.disabled = false;
- OnWizFinish(document);
- }
-
-</script>
-<script language="JSCRIPT" id="INCLUDE_SCRIPT"></script>
-<script language="JSCRIPT" id="INCLUDE_COMMON"></script>
-<!--
-Common.js is a script file which contains the helper functions
-used by the wizards. Include this line if you want to
-call these functions from your html scripts.
-//-->
-<script>
- var strPath = window.external.FindSymbol("PRODUCT_INSTALLATION_DIR");
- strPath += "VCWizards/";
- strPath += window.external.GetHostLocale();
-
- // verify if the locale folder really exists
- var fso = new ActiveXObject("Scripting.FileSystemObject");
- var found = fso.FolderExists(strPath)
- if (found == false) {
- strPath = window.external.FindSymbol("PRODUCT_INSTALLATION_DIR");
- strPath += "VCWizards/";
- var folder = fso.GetFolder(strPath);
- for (subfolders = new Enumerator(folder.SubFolders); !subfolders.atEnd(); subfolders.moveNext()) {
- for (files = new Enumerator(subfolders.item().files); !files.atEnd(); files.moveNext()) {
- if (files.item().name.toLowerCase().localeCompare("common.js") == 0) {
- found = true;
- strPath += subfolders.item().name;
- break;
- }
- }
- if (found == true)
- break;
- }
- }
-
- var strScriptPath = strPath + "/Script.js";
- var strCommonPath = strPath + "/Common.js";
- document.scripts("INCLUDE_SCRIPT").src = strScriptPath;
- document.scripts("INCLUDE_COMMON").src = strCommonPath;
-</script>
diff --git a/Qt4VS2003/Projects/Qt5DesignerPluginProject/HTML/1031/Page_3.htm b/Qt4VS2003/Projects/Qt5DesignerPluginProject/HTML/1031/Page_3.htm
deleted file mode 100644
index 8dcc1ad8..00000000
--- a/Qt4VS2003/Projects/Qt5DesignerPluginProject/HTML/1031/Page_3.htm
+++ /dev/null
@@ -1,567 +0,0 @@
-<html dir="ltr">
-<head>
- <meta name="vs_showGrid" content="True">
- <title>'Qt5 Designer Plugin Project'</title>
- <meta content="http://schemas.microsoft.com/intellisense/ie5" name="vs_targetSchema">
- <link id="LINKURL" rel="stylesheet" href="../../1033/styles.css">
-</head>
-<body onkeypress="OnPress();" onkeydown="OnKey();" bottommargin="0" bgcolor="buttonface"
- leftmargin="0" topmargin="0" onload="InitDocument(document);" rightmargin="0">
- <table class="ONE" height="100%" cellspacing="0" cellpadding="0" width="100%" border="0">
- <colgroup>
- <col width="178">
- <col>
- <!--OPEN OF INTRODUCTORY INFORMATION TABLE//-->
- <tr valign="top">
- <td width="100%" colspan="2" height="79">
- <table class="TWO" cellspacing="0" cellpadding="0" border="0">
- <colgroup>
- <col width="12">
- <col>
- <col width="12">
- <tr>
- <td valign="top" width="12" height="12">
- &nbsp;
- </td>
- <td valign="top" height="12">
- &nbsp;
- </td>
- <td valign="top" width="12" height="12">
- &nbsp;
- </td>
- <td class="IMAGE" valign="bottom" width="110" rowspan="2">
- <div class="SMALLA" id="Layer0">
- <img class="SMALLEST" height="63" alt="" src="..\..\Images\Qt5DesignerPluginProject.jpg"
- width="63" border="0">
- </div>
- </td>
- <td valign="top" width="6" height="12" rowspan="2">
- &nbsp;
- </td>
- </tr>
- <tr>
- <td valign="top" width="12" height="65">
- &nbsp;
- </td>
- <td valign="top" height="65">
- <h4 class="HEAD" id="H4_1">
- Willkommen zum Qt5&nbsp;Designer Pluginprojektwizard</h4>
- <p class="SUBHEAD" id="P1">
- Dieser Wizard erstellt ein Designer Plugin, das Sie in Qt Designer oder Visual Studio
- verwenden knnen.</p>
- </td>
- <td valign="top" width="12" height="65">
- &nbsp;
- </td>
- </tr>
- <tr>
- <td class="RULE" valign="top" colspan="5" height="2">
- <table height="1" cellspacing="0" cellpadding="0" width="100%" border="0">
- <tr valign="top">
- <td width="100%" bgcolor="buttonshadow" height="1">
- <img height="1" alt="" src="../../Images/spacer.gif" width="1">
- </td>
- <td width="1" bgcolor="window" height="1">
- <img height="1" alt="" src="../../Images/spacer.gif" width="1">
- </td>
- </tr>
- </table>
- </td>
- </tr>
- </table>
- </td>
- </tr>
- <!--CLOSE OF INTRODUCTORY INFORMATION TABLE//-->
- <!--OPEN OF NAVIGATION, CONTENT, AND BUTTON TABLES//-->
- <tr valign="top">
- <td class="THREE" valign="top" width="178" height="100%">
- <!--OPEN OF NAVIGATION TABLE//-->
- <table class="THREE" cellspacing="0" cellpadding="0" border="0">
- <colgroup>
- <col width="12">
- <col width="166">
- <col width="1">
- <tr>
- <td valign="top" colspan="3" height="12">
- &nbsp;
- </td>
- </tr>
- <tr>
- <td valign="top" width="12" height="100%">
- &nbsp;
- </td>
- <td valign="top" width="165" height="100%">
- <!--OPEN OF NAVIGATIONAL LINKS//-->
- <div class="LINK">
- <table class="LINKTEXT" height="28" cellspacing="0" cellpadding="0" width="166" border="0">
- <tr valign="middle">
- <td width="162">
- <span class="ACTIVELINK" id="Page_1" title="" onclick="Next(document, 'default.htm');"
- tabindex="1">bersicht</span>
- </td>
- <td width="4">
- <img height="1" src="../../Images/spacer.gif" width="4">
- </td>
- </tr>
- </table>
- </div>
- <div class="LINK">
- <table class="LINKTEXT" height="28" cellspacing="0" cellpadding="0" width="166" border="0"
- id="Table1">
- <tr valign="middle">
- <td width="162">
- <span class="ACTIVELINK" id="Page_2" title="" onclick="Next(document, 'Page_2.htm');"
- tabindex="1">Projekteinstellungen</span>
- </td>
- <td width="4">
- <img height="1" src="../../Images/spacer.gif" width="4">
- </td>
- </tr>
- </table>
- </div>
- <div class="LINKSELECTED">
- <span class="VERTLINE1">
- <img height="1" alt="" src="../../Images/spacer.gif" width="1" border="0">
- </span><span class="HORILINE1">
- <table height="100%" cellspacing="0" cellpadding="0" width="167" border="0">
- <tr valign="top">
- <td class="DOTTEDLINE" height="1">
- </td>
- </tr>
- <tr valign="top">
- <td height="100%">
- <img height="28" alt="" src="../../Images/spacer.gif" width="1" border="0">
- </td>
- </tr>
- <tr valign="top">
- <td class="DOTTEDLINE" height="1">
- </td>
- </tr>
- </table>
- </span>
- <table class="LINKTEXTSELECTED" height="28" cellspacing="0" cellpadding="0" width="160"
- border="0">
- <tr valign="middle">
- <td width="162">
- <span id="Page_3" title="" onclick="Next(document, 'Page_2.htm');" tabindex="1">Generierte
- Klassen</span>
- </td>
- <td width="4">
- <img height="1" src="../../Images/spacer.gif" width="4">
- </td>
- </tr>
- </table>
- </div>
- <!--CLOSE OF NAVIGATIONAL LINKS//-->
- </td>
- <td width="1">
- <div class="VERTLINE">
- <img height="1" alt="" src="../../Images/spacer.gif" width="1" border="0">
- </div>
- </td>
- </tr>
- </table>
- <!--CLOSE OF NAVIGATION TABLE//-->
- </td>
- <td valign="top" height="100%">
- <!--OPEN OF CONTENT AND BUTTON TABLE//-->
- <table class="ONE" cellspacing="0" cellpadding="0" border="0">
- <colgroup>
- <col width="100%">
- <tr valign="top">
- <td valign="top" height="100%">
- <!--OPEN OF CONTENT//-->
- <table class="CONTENT" cellspacing="0" cellpadding="0" border="0">
- <colgroup>
- <tr>
- <td width="12" height="12">
- </td>
- <td height="12">
- </td>
- <td height="12">
- </td>
- <td width="12" height="12">
- </td>
- </tr>
- <tr>
- <td width="12" height="26">
- </td>
- <td height="12">
- <b>Custom Widget:</b>
- </td>
- <td height="12">
- </td>
- <td width="12" height="12">
- </td>
- </tr>
- <tr>
- <td valign="top" width="12">
- </td>
- <td valign="top">
- Klassenname:
- </td>
- <td valign="top">
- Basis Klasse:
- </td>
- <td valign="top" width="12">
- </td>
- </tr>
- <tr>
- <td valign="top" width="12">
- </td>
- <td valign="top">
- <input id="CLASSNAME_TEXT" type="text" name="className" onpropertychange="ClassNameChanged();">
- </td>
- <td valign="top">
- <input id="BASECLASS_TEXT" type="text" name="baseClass">
- </td>
- <td valign="top" width="12">
- </td>
- </tr>
- <tr>
- <td width="12" height="12">
- </td>
- <td height="12">
- </td>
- <td height="12">
- </td>
- <td width="12" height="12">
- </td>
- </tr>
- <tr>
- <td valign="top" width="12">
- </td>
- <td valign="top">
- .h Datei:
- </td>
- <td valign="top">
- <p>
- .cpp&nbsp;Datei:</p>
- </td>
- <td valign="top" width="12">
- </td>
- </tr>
- <tr>
- <td valign="top" width="12">
- </td>
- <td valign="top">
- <input id="HFILE_TEXT" type="text" name="hFile">
- </td>
- <td valign="top">
- <input id="CPPFILE_TEXT" type="text" name="cppFile">
- </td>
- <td valign="top" width="12">
- </td>
- </tr>
- <tr>
- <td width="12" height="20">
- </td>
- <td height="12">
- </td>
- <td height="12">
- </td>
- <td width="12" height="12">
- </td>
- </tr>
- <tr>
- <td width="12" height="26">
- </td>
- <td height="12">
- <b>Plugin Klasse:</b>
- </td>
- <td height="12">
- </td>
- <td width="12" height="12">
- </td>
- </tr>
- <tr>
- <td valign="top" width="12">
- </td>
- <td valign="top">
- Klassenname:
- </td>
- <td valign="top">
- </td>
- <td valign="top" width="12">
- </td>
- </tr>
- <tr>
- <td valign="top" width="12">
- </td>
- <td valign="top">
- <input id="PLUGIN_CLASSNAME_TEXT" type="text" name="pluginClassName" onpropertychange="PluginClassNameChanged();">
- </td>
- <td valign="top">
- </td>
- <td valign="top" width="12">
- </td>
- </tr>
- <tr>
- <td width="12" height="12">
- </td>
- <td height="12">
- </td>
- <td height="12">
- </td>
- <td width="12" height="12">
- </td>
- </tr>
- <tr>
- <td valign="top" width="12">
- </td>
- <td valign="top">
- .h Datei:
- </td>
- <td valign="top">
- .cpp Datei:
- </td>
- <td valign="top" width="12">
- </td>
- </tr>
- <tr>
- <td valign="top" width="12" style="height: 19px">
- </td>
- <td valign="top">
- <input id="PLUGIN_HFILE_TEXT" type="text" name="pluginHFile">
- <td valign="top">
- <input id="PLUGIN_CPPFILE_TEXT" type="text" name="pluginCppFile">
- </td>
- <td valign="top" width="12" style="height: 19px">
- </td>
- <tr>
- <td valign="top" width="12" height="100%">
- </td>
- <td valign="top" height="100%">
- </td>
- <td valign="top" height="100%">
- </td>
- <td valign="top" width="12" height="100%">
- </td>
- </tr>
- </table>
- <!--CLOSE OF CONTENT//-->
- </td>
- </tr>
- <tr valign="bottom">
- <td height="48">
- <!--OPEN OF BUTTON HTML//-->
- <table height="48" cellspacing="0" cellpadding="0" border="0">
- <colgroup>
- <col width="12">
- <col>
- <col width="75">
- <col width="4">
- <col width="75">
- <col width="4">
- <col width="75">
- <col width="12">
- <tr>
- <td class="RULE" valign="top" colspan="8" height="2">
- <table height="1" cellspacing="0" cellpadding="0" width="100%" border="0">
- <tr valign="top">
- </tr>
- </table>
- </td>
- </tr>
- <tr>
- <td valign="top" colspan="8" height="11">
- &nbsp;
- </td>
- </tr>
- <tr>
- <td valign="middle" width="12" height="23">
- &nbsp;
- </td>
- <td valign="top" height="23">
- &nbsp;
- </td>
- <td valign="middle" width="75" height="23">
- <button class="BUTTONS" id="FinishBtn" accesskey="B" onclick="OnFinish(document);"
- type="button">
- <u>B</u>eenden</button>
- </td>
- <td valign="middle" width="4" height="23">
- &nbsp;
- </td>
- <td valign="middle" width="75" height="23">
- <button class="BUTTONS" id="CancelBtn" accesskey="A" onclick="window.external.Finish(document, 'cancel');"
- type="button">
- <u>A</u>bbrechen</button>
- </td>
- <td valign="middle" width="4" height="23">
- &nbsp;
- </td>
- <td valign="middle" width="75" height="23">
- <button class="BUTTONS" id="HelpBtn" disabled accesskey="H" onclick="window.external.OnHelp('vc.appwiz.custom.overview');"
- type="button">
- <u>H</u>ilfe</button>
- </td>
- <td valign="middle" width="12" height="23">
- &nbsp;
- </td>
- </tr>
- <tr>
- <td valign="top" colspan="8" height="12">
- &nbsp;
- </td>
- </tr>
- </table>
- <!--CLOSE OF BUTTON HTML//-->
- </td>
- </tr>
- </table>
- <!--CLOSE OF NAVIGATION, CONTENT, AND BUTTON TABLES//-->
- </td>
- </tr>
- </table>
-</body>
-</html>
-<script language="JSCRIPT">
-
- var tab_array = new Array();
- tab_array[0] = Page_1;
- tab_array[1] = Page_2;
-
- // This is an example of a function which initializes the page
- //
- function InitDocument(document) {
- setDirection();
-
- if (window.external.FindSymbol('DOCUMENT_FIRST_LOAD')) {
- // This function sets the default symbols based
- // on the values specified in the SYMBOL tags above
- //
- window.external.SetDefaults(document);
- }
-
- // Load the document and initialize the controls
- // with the appropriate symbol values
- //
- window.external.Load(document);
- }
-
- function ClassNameChanged() {
- HFILE_TEXT.value = CLASSNAME_TEXT.value.toLowerCase() + ".h";
- CPPFILE_TEXT.value = CLASSNAME_TEXT.value.toLowerCase() + ".cpp";
- }
-
- function PluginClassNameChanged() {
- PLUGIN_HFILE_TEXT.value = PLUGIN_CLASSNAME_TEXT.value.toLowerCase() + ".h";
- PLUGIN_CPPFILE_TEXT.value = PLUGIN_CLASSNAME_TEXT.value.toLowerCase() + ".cpp";
- }
-
- function ValidateAndUpdate() {
- var Inputs = document.all.tags("INPUT");
-
- var regexp = /\s/g;
- var proName = window.external.FindSymbol('PROJECT_NAME').replace(regexp, "");
-
- var field = Inputs.item("className");
- if (!window.external.dte.VCLanguageManager.ValidateIdentifier(field.value) ||
- window.external.dte.VCLanguageManager.IsReservedName(field.value)) {
- window.external.ReportError("Ungltiger Klassenname!");
- field.value = proName;
- return false;
- }
-
- var field = Inputs.item("hFile");
- if (!ValidateFileName(field.value)) {
- window.external.ReportError("Ungltiger Dateiname!");
- field.value = proName.toLowerCase() + ".h";
- return false;
- }
- var field = Inputs.item("cppFile");
- if (!ValidateFileName(field.value)) {
- window.external.ReportError("Ungltiger Dateiname!");
- field.value = proName.toLowerCase() + ".cpp";
- return false;
- }
- var field = Inputs.item("pluginHFile");
- if (!ValidateFileName(field.value)) {
- window.external.ReportError("Ungltiger Dateiname!");
- field.value = proName.toLowerCase() + "plugin.h";
- return false;
- }
- var field = Inputs.item("pluginCppFile");
- if (!window.external.dte.VCLanguageManager.ValidateFileName(field.value)) {
- window.external.ReportError("Ungltiger Dateiname!");
- field.value = proName.toLowerCase() + "plugin.cpp";
- return false;
- }
- var field = Inputs.item("pluginClassName");
- if (!window.external.dte.VCLanguageManager.ValidateIdentifier(field.value) ||
- window.external.dte.VCLanguageManager.IsReservedName(field.value)) {
- window.external.ReportError("Ungltiger Klassenname!");
- field.value = proName + "Plugin";
- return false;
- }
- return true;
- }
-
- function ValidateFileName(FileName) {
- if (!window.external.dte.VCLanguageManager.ValidateFileName(FileName))
- return false;
- if (FileName.search(/[\\\/\:\*\?\"\<\>\|]/g) != -1)
- return false;
- return true;
- }
-
-
- // If the wizard has more than 1 page, this
- // function will browse to the page specified
- //
- function Next(document, linkto) {
- if (!ValidateAndUpdate())
- return;
-
- window.external.Next(document, linkto);
- }
-
- // This is an example of a function which
- // gets called when the user clicks on 'Finish'
- //
- function OnFinish(document) {
- if (!ValidateAndUpdate())
- return;
-
- OnWizFinish(document);
- }
-
-</script>
-<script language="JSCRIPT" id="INCLUDE_SCRIPT"></script>
-<script language="JSCRIPT" id="INCLUDE_COMMON"></script>
-<!--
-Common.js is a script file which contains the helper functions
-used by the wizards. Include this line if you want to
-call these functions from your html scripts.
-//-->
-<script>
- var strPath = window.external.FindSymbol("PRODUCT_INSTALLATION_DIR");
- strPath += "VCWizards/";
- strPath += window.external.GetHostLocale();
-
- // verify if the locale folder really exists
- var fso = new ActiveXObject("Scripting.FileSystemObject");
- var found = fso.FolderExists(strPath)
- if (found == false) {
- strPath = window.external.FindSymbol("PRODUCT_INSTALLATION_DIR");
- strPath += "VCWizards/";
- var folder = fso.GetFolder(strPath);
- for (subfolders = new Enumerator(folder.SubFolders); !subfolders.atEnd(); subfolders.moveNext()) {
- for (files = new Enumerator(subfolders.item().files); !files.atEnd(); files.moveNext()) {
- if (files.item().name.toLowerCase().localeCompare("common.js") == 0) {
- found = true;
- strPath += subfolders.item().name;
- break;
- }
- }
- if (found == true)
- break;
- }
- }
-
- var strScriptPath = strPath + "/Script.js";
- var strCommonPath = strPath + "/Common.js";
- document.scripts("INCLUDE_SCRIPT").src = strScriptPath;
- document.scripts("INCLUDE_COMMON").src = strCommonPath;
-</script>
diff --git a/Qt4VS2003/Projects/Qt5DesignerPluginProject/HTML/1031/default.htm b/Qt4VS2003/Projects/Qt5DesignerPluginProject/HTML/1031/default.htm
deleted file mode 100644
index cda53170..00000000
--- a/Qt4VS2003/Projects/Qt5DesignerPluginProject/HTML/1031/default.htm
+++ /dev/null
@@ -1,532 +0,0 @@
-<html dir="ltr">
-<head>
- <title>'Qt5 Designer Plugin Project'</title>
- <meta content="http://schemas.microsoft.com/intellisense/ie5" name="vs_targetSchema">
- <link id="LINKURL" rel="stylesheet" href="../../1033/styles.css">
- <!-- -->
- <!-- The SYMBOL tag is used to set the default values for the user-defined symbols.-->
- <!-- -->
- <symbol name="WIZARD_DIALOG_TITLE" type="text" value="Qt5 Visual Studio Plugin Project Wizard"></symbol>
- <symbol name="THREED_MODULE" type="checkbox" value="false"></symbol>
- <symbol name="AQCONTAINER_MODULE" type="checkbox" value="false"></symbol>
- <symbol name="AQSERVER_MODULE" type="checkbox" value="false"></symbol>
- <symbol name="BLUETOOTH_MODULE" type="checkbox" value="false"></symbol>
- <symbol name="CONCURRENT_MODULE" type="checkbox" value="false"></symbol>
- <symbol name="CORE_MODULE" type="checkbox" value="true"></symbol>
- <symbol name="ENGINIO_MODULE" type="checkbox" value="false"></symbol>
- <symbol name="DECLARATIVE_MODULE" type="checkbox" value="false"></symbol>
- <symbol name="GUI_MODULE" type="checkbox" value="true"></symbol>
- <symbol name="HELP_MODULE" type="checkbox" value="false"></symbol>
- <symbol name="LOCATION_MODULE" type="checkbox" value="false"></symbol>
- <symbol name="MULTIMEDIA_MODULE" type="checkbox" value="false"></symbol>
- <symbol name="MULTIMEDIAWIDGETS_MODULE" type="checkbox" value="false"></symbol>
- <symbol name="NETWORK_MODULE" type="checkbox" value="false"></symbol>
- <symbol name="NFC_MODULE" type="checkbox" value="false"></symbol>
- <symbol name="OPENGL_MODULE" type="checkbox" value="false"></symbol>
- <symbol name="POSITIONING_MODULE" type="checkbox" value="false"></symbol>
- <symbol name="PRINTSUPPORT_MODULE" type="checkbox" value="false"></symbol>
- <symbol name="QML_MODULE" type="checkbox" value="false"></symbol>
- <symbol name="QUICK_MODULE" type="checkbox" value="false"></symbol>
- <symbol name="QUICKWIDGETS_MODULE" type="checkbox" value="false"></symbol>
- <symbol name="SCRIPT_MODULE" type="checkbox" value="false"></symbol>
- <symbol name="SCRIPTTOOLS_MODULE" type="checkbox" value="false"></symbol>
- <symbol name="SENSORS_MODULE" type="checkbox" value="false"></symbol>
- <symbol name="SERIALPORT_MODULE" type="checkbox" value="false"></symbol>
- <symbol name="SQL_MODULE" type="checkbox" value="false"></symbol>
- <symbol name="SVG_MODULE" type="checkbox" value="false"></symbol>
- <symbol name="TEST_MODULE" type="checkbox" value="false"></symbol>
- <symbol name="UITOOLS_MODULE" type="checkbox" value="false"></symbol>
- <symbol name="WEBCHANNEL_MODULE" type="checkbox" value="false"></symbol>
- <symbol name="WEBKIT_MODULE" type="checkbox" value="false"></symbol>
- <symbol name="WEBKITWIDGETS_MODULE" type="checkbox" value="false"></symbol>
- <symbol name="WEBSOCKETS_MODULE" type="checkbox" value="false"></symbol>
- <symbol name="WIDGETS_MODULE" type="checkbox" value="true"></symbol>
- <symbol name="WINDOWSEXTRAS_MODULE" type="checkbox" value="false"></symbol>
- <symbol name="XML_MODULE" type="checkbox" value="false"></symbol>
- <symbol name="XMLPATTERNS_MODULE" type="checkbox" value="false"></symbol>
- <symbol name="BASECLASS_TEXT" type="text" value="QWidget"></symbol>
- <symbol name="CLASSNAME_TEXT" type="text" value=""></symbol>
- <symbol name="HFILE_TEXT" type="text" value=""></symbol>
- <symbol name="CPPFILE_TEXT" type="text" value=""></symbol>
- <symbol name="PLUGIN_CLASSNAME_TEXT" type="text" value=""></symbol>
- <symbol name="PLUGIN_HFILE_TEXT" type="text" value=""></symbol>
- <symbol name="PLUGIN_CPPFILE_TEXT" type="text" value=""></symbol>
- <symbol name="APP_TYPE_SUMMARY" type="text" value="Qt5 GUI Project"></symbol>
-</head>
-<body onkeypress="OnPress();" onkeydown="OnKey();" bottommargin="0" bgcolor="buttonface"
- leftmargin="0" topmargin="0" onload="InitDocument(document);" rightmargin="0">
- <table class="ONE" height="100%" cellspacing="0" cellpadding="0" width="100%" border="0">
- <colgroup>
- <col width="178">
- <col>
- <!--OPEN OF INTRODUCTORY INFORMATION TABLE//-->
- <tr valign="top">
- <td width="100%" colspan="2" height="79">
- <table class="TWO" cellspacing="0" cellpadding="0" border="0">
- <colgroup>
- <col width="12">
- <col>
- <col width="12">
- <tr>
- <td valign="top" width="12" height="12">
- &nbsp;
- </td>
- <td valign="top" height="12">
- &nbsp;
- </td>
- <td valign="top" width="12" height="12">
- &nbsp;
- </td>
- <td class="IMAGE" valign="bottom" width="110" rowspan="2">
- <div class="SMALLA" id="Layer0">
- <img class="SMALLEST" height="63" alt="" src="../../Images/Qt5DesignerPluginProject.jpg"
- width="63" border="0">
- </div>
- </td>
- <td valign="top" width="6" height="12" rowspan="2">
- &nbsp;
- </td>
- </tr>
- <tr>
- <td valign="top" width="12" height="65">
- &nbsp;
- </td>
- <td valign="top" height="65">
- <h4 class="HEAD" id="H4_1">
- Willkommen zum Qt5&nbsp;Designer Pluginprojektwizard</h4>
- <p class="SUBHEAD" id="P1">
- Dieser Wizard erstellt ein Designer Plugin, das Sie in Qt Designer oder Visual Studio
- verwenden knnen.</p>
- </td>
- <td valign="top" width="12" height="65">
- &nbsp;
- </td>
- </tr>
- <tr>
- <td class="RULE" valign="top" colspan="5" height="2">
- <table height="1" cellspacing="0" cellpadding="0" width="100%" border="0">
- <tr valign="top">
- <td width="100%" bgcolor="buttonshadow" height="1">
- <img height="1" alt="" src="../../Images/spacer.gif" width="1">
- </td>
- <td width="1" bgcolor="window" height="1">
- <img height="1" alt="" src="../../Images/spacer.gif" width="1">
- </td>
- </tr>
- </table>
- </td>
- </tr>
- </table>
- </td>
- </tr>
- <!--CLOSE OF INTRODUCTORY INFORMATION TABLE//-->
- <!--OPEN OF NAVIGATION, CONTENT, AND BUTTON TABLES//-->
- <tr valign="top">
- <td class="THREE" valign="top" width="178" height="100%">
- <!--OPEN OF NAVIGATION TABLE//-->
- <table class="THREE" cellspacing="0" cellpadding="0" border="0">
- <colgroup>
- <col width="12">
- <col width="166">
- <col width="1">
- <tr>
- <td valign="top" colspan="3" height="12">
- &nbsp;
- </td>
- </tr>
- <tr>
- <td valign="top" width="12" height="100%">
- &nbsp;
- </td>
- <td valign="top" width="165" height="100%">
- <!--OPEN OF NAVIGATIONAL LINKS//-->
- <div class="LINKSELECTED">
- <span class="VERTLINE1">
- <img height="1" alt="" src="../../Images/spacer.gif" width="1" border="0">
- </span><span class="HORILINE1">
- <table height="100%" cellspacing="0" cellpadding="0" width="167" border="0">
- <tr valign="top">
- <td class="DOTTEDLINE" height="1">
- </td>
- </tr>
- <tr valign="top">
- <td height="100%">
- <img height="28" alt="" src="../../Images/spacer.gif" width="1" border="0">
- </td>
- </tr>
- <tr valign="top">
- <td class="DOTTEDLINE" height="1">
- </td>
- </tr>
- </table>
- </span>
- <table class="LINKTEXTSELECTED" height="28" cellspacing="0" cellpadding="0" width="160"
- border="0">
- <tr valign="middle">
- <td width="156">
- <span id="Page_1" title="" onclick="Next(document, 'default.htm');" tabindex="1">bersicht</span>
- </td>
- <td width="4">
- <img height="1" src="../../Images/spacer.gif" width="4">
- </td>
- </tr>
- </table>
- </div>
- <div class="LINK">
- <table class="LINKTEXT" height="28" cellspacing="0" cellpadding="0" width="166" border="0">
- <tr valign="middle">
- <td width="162">
- <span class="ACTIVELINK" id="Page_2" title="" onclick="Next(document, 'Page_2.htm');"
- tabindex="1">Projekteinstellungen</span>
- </td>
- <td width="4">
- <img height="1" src="../../Images/spacer.gif" width="4">
- </td>
- </tr>
- </table>
- </div>
- <div class="LINK">
- <table class="LINKTEXT" height="28" cellspacing="0" cellpadding="0" width="166" border="0"
- id="Table1">
- <tr valign="middle">
- <td width="162">
- <span class="ACTIVELINK" id="Page_3" title="" onclick="Next(document, 'Page_3.htm');"
- tabindex="1">Generierte Klassen</span>
- </td>
- <td width="4">
- <img height="1" src="../../Images/spacer.gif" width="4">
- </td>
- </tr>
- </table>
- </div>
- <!--CLOSE OF NAVIGATIONAL LINKS//-->
- </td>
- <td width="1">
- <div class="VERTLINE">
- <img height="1" alt="" src="../../Images/spacer.gif" width="1" border="0">
- </div>
- </td>
- </tr>
- </table>
- <!--CLOSE OF NAVIGATION TABLE//-->
- </td>
- <td valign="top" height="100%">
- <!--OPEN OF CONTENT AND BUTTON TABLE//-->
- <table class="ONE" cellspacing="0" cellpadding="0" border="0">
- <colgroup>
- <col width="100%">
- <tr valign="top">
- <td height="100%">
- <!--OPEN OF CONTENT//-->
- <table class="CONTENT" cellspacing="0" cellpadding="0" border="0">
- <colgroup>
- <col width="12">
- <col width="185">
- <col width="12">
- <col width="185">
- <col width="12">
- <col width="185">
- <col width="12">
- <tr>
- <td valign="top" colspan="5" height="12">
- &nbsp;
- </td>
- </tr>
- <tr valign="top">
- <td valign="top" width="12">
- &nbsp;
- </td>
- <td valign="top" colspan="3">
- <p>
- <span class="ItemTextTop" id="PROJECT_SETTINGS_SPAN">Die momentan selektierten Qt Module
- sind:</span></p>
- <p>
- <span class="ItemTextTop"></span><span class="ItemText" id="QTMODULES" title="">
- </span>
- </p>
- <p>
- <span class="ItemText" title=""></span><span class="ItemText" id="FinishText">Klicken
- Sie <b>Beenden</b> von jeder beliebigen Wizardseite um die aktuellen Einstellungen
- zu bernehmen und das Projekt zu erstellen.</span>
- </p>
- </td>
- <td valign="top" width="12">
- &nbsp;
- </td>
- </tr>
- <tr>
- <td valign="top" colspan="7" height="100%">
- &nbsp;
- </td>
- </tr>
- </table>
- <!--CLOSE OF CONTENT//-->
- </td>
- </tr>
- <tr valign="bottom">
- <td height="48">
- <!--OPEN OF BUTTON HTML//-->
- <table height="48" cellspacing="0" cellpadding="0" border="0">
- <colgroup>
- <col width="12">
- <col>
- <col width="75">
- <col width="4">
- <col width="75">
- <col width="4">
- <col width="75">
- <col width="12">
- <tr>
- <td class="RULE" valign="top" colspan="8" height="2">
- <table height="1" cellspacing="0" cellpadding="0" width="100%" border="0">
- <tr valign="top">
- </tr>
- </table>
- </td>
- </tr>
- <tr>
- <td valign="top" colspan="8" height="11">
- &nbsp;
- </td>
- </tr>
- <tr>
- <td valign="middle" width="12" height="23">
- &nbsp;
- </td>
- <td valign="top" height="23">
- &nbsp;
- </td>
- <td valign="middle" width="75" height="23">
- <button class="BUTTONS" id="FinishBtn" accesskey="B" onclick="OnFinish(document);"
- type="button">
- <u>B</u>eenden</button>
- </td>
- <td valign="middle" width="4" height="23">
- &nbsp;
- </td>
- <td valign="middle" width="75" height="23">
- <button class="BUTTONS" id="CancelBtn" accesskey="A" onclick="window.external.Finish(document, 'cancel');"
- type="button">
- <u>A</u>bbrechen</button>
- </td>
- <td valign="middle" width="4" height="23">
- &nbsp;
- </td>
- <td valign="middle" width="75" height="23">
- <button class="BUTTONS" id="HelpBtn" disabled accesskey="H" onclick="window.external.OnHelp('vc.appwiz.custom.overview');"
- type="button">
- <u>H</u>ilfe</button>
- </td>
- <td valign="middle" width="12" height="23">
- &nbsp;
- </td>
- </tr>
- <tr>
- <td valign="top" colspan="8" height="12">
- &nbsp;
- </td>
- </tr>
- </table>
- <!--CLOSE OF BUTTON HTML//-->
- </td>
- </tr>
- </table>
- <!--CLOSE OF NAVIGATION, CONTENT, AND BUTTON TABLES//-->
- </td>
- </tr>
- </table>
-</body>
-</html>
-<script language="JSCRIPT">
-
- var tab_array = new Array();
- tab_array[0] = Page_1;
- tab_array[1] = Page_2;
-
- // This is an example of a function which initializes the page
- //
- function InitDocument(document) {
- setDirection();
-
- if (window.external.FindSymbol('DOCUMENT_FIRST_LOAD')) {
- // This function sets the default symbols based
- // on the values specified in the SYMBOL tags above
- //
- window.external.SetDefaults(document);
- UpdateFields();
- }
-
- // Load the document and initialize the controls
- // with the appropriate symbol values
- //
- window.external.Load(document);
- InitControls();
- }
-
- function UpdateFields() {
- var regexp = /\s/g;
- var proName = window.external.FindSymbol('PROJECT_NAME').replace(regexp, "");
- regexp = /[pP][lL][uU][gG][iI][nN]$/;
- proName = proName.replace(regexp, "");
-
- if (!window.external.dte.VCLanguageManager.ValidateIdentifier(proName) ||
- window.external.dte.VCLanguageManager.IsReservedName(proName)) {
- window.external.AddSymbol("CLASSNAME_TEXT", "MyClass"); // fall back on myclass
- window.external.AddSymbol("HFILE_TEXT", "myclass.h");
- window.external.AddSymbol("CPPFILE_TEXT", "myclass.cpp");
- window.external.AddSymbol("PLUGIN_CLASSNAME_TEXT", "MyClassPlugin");
- window.external.AddSymbol("PLUGIN_HFILE_TEXT", "myclassplugin.h");
- window.external.AddSymbol("PLUGIN_CPPFILE_TEXT", "myclassplugin.cpp");
- } else {
- window.external.AddSymbol("CLASSNAME_TEXT", proName);
- window.external.AddSymbol("HFILE_TEXT", proName.toLowerCase() + ".h");
- window.external.AddSymbol("CPPFILE_TEXT", proName.toLowerCase() + ".cpp");
- window.external.AddSymbol("PLUGIN_CLASSNAME_TEXT", proName + "Plugin");
- window.external.AddSymbol("PLUGIN_HFILE_TEXT", proName.toLowerCase() + "plugin.h");
- window.external.AddSymbol("PLUGIN_CPPFILE_TEXT", proName.toLowerCase() + "plugin.cpp");
- }
- }
-
- function InitControls() {
- var strModules = "";
-
- // Essentials
- if (window.external.FindSymbol('THREED_MODULE'))
- strModules += "3D, ";
- if (window.external.FindSymbol('CORE_MODULE'))
- strModules += "Core, ";
- if (window.external.FindSymbol('GUI_MODULE'))
- strModules += "GUI, ";
- if (window.external.FindSymbol('LOCATION_MODULE'))
- strModules += "Location, ";
- if (window.external.FindSymbol('MULTIMEDIA_MODULE'))
- strModules += "Multimedia, ";
- if (window.external.FindSymbol('MULTIMEDIAWIDGETS_MODULE'))
- strModules += "Multimedia Widgets, ";
- if (window.external.FindSymbol('NETWORK_MODULE'))
- strModules += "Network, ";
- if (window.external.FindSymbol('QML_MODULE'))
- strModules += "Qml, ";
- if (window.external.FindSymbol('QUICK_MODULE'))
- strModules += "Quick, ";
- if (window.external.FindSymbol('SQL_MODULE'))
- strModules += "SQL, ";
- if (window.external.FindSymbol('TEST_MODULE'))
- strModules += "Test, ";
- if (window.external.FindSymbol('WEBKIT_MODULE'))
- strModules += "WebKit, ";
-
- // Add-ons
- // Active Qt better split to server and container
- if (window.external.FindSymbol('AQSERVER_MODULE'))
- strModules += "ActiveQt Server, ";
- if (window.external.FindSymbol('AQCONTAINER_MODULE'))
- strModules += "ActiveQt Container, ";
-
- if (window.external.FindSymbol('BLUETOOTH_MODULE'))
- strModules += "Bluetooth, ";
- if (window.external.FindSymbol('CONCURRENT_MODULE'))
- strModules += "Concurrent, ";
- if (window.external.FindSymbol('DECLARATIVE_MODULE'))
- strModules += "Declarative, ";
- if (window.external.FindSymbol('ENGINIO_MODULE'))
- strModules += "Enginio, ";
- if (window.external.FindSymbol('HELP_MODULE'))
- strModules += "Help, ";
- if (window.external.FindSymbol('NFC_MODULE'))
- strModules += "NFC, ";
- if (window.external.FindSymbol('OPENGL_MODULE'))
- strModules += "OpenGL, ";
- if (window.external.FindSymbol('POSITIONING_MODULE'))
- strModules += "Positioning, ";
- if (window.external.FindSymbol('PRINTSUPPORT_MODULE'))
- strModules += "Print Support, ";
- if (window.external.FindSymbol('QUICKWIDGETS_MODULE'))
- strModules += "Quick Widgets, ";
- if (window.external.FindSymbol('SCRIPT_MODULE'))
- strModules += "Script, ";
- if (window.external.FindSymbol('SCRIPTTOOLS_MODULE'))
- strModules += "Script Tools, ";
- if (window.external.FindSymbol('SENSORS_MODULE'))
- strModules += "Sensors, ";
- if (window.external.FindSymbol('SERIALPORT_MODULE'))
- strModules += "Serial Port, ";
- if (window.external.FindSymbol('SVG_MODULE'))
- strModules += "SVG, ";
- if (window.external.FindSymbol('UITOOLS_MODULE'))
- strModules += "UI Tools, ";
- if (window.external.FindSymbol('WEBCHANNEL_MODULE'))
- strModules += "Web Channel, ";
- if (window.external.FindSymbol('WEBKITWIDGETS_MODULE'))
- strModules += "Webkit Widgets, ";
- if (window.external.FindSymbol('WEBSOCKETS_MODULE'))
- strModules += "Web Sockets, ";
- if (window.external.FindSymbol('WIDGETS_MODULE'))
- strModules += "Widgets, ";
- if (window.external.FindSymbol('WINDOWSEXTRAS_MODULE'))
- strModules += "Windows Extras, ";
- if (window.external.FindSymbol('XML_MODULE'))
- strModules += "XML, ";
- if (window.external.FindSymbol('XMLPATTERNS_MODULE'))
- strModules += "XML Patterns, ";
-
- if (strModules.length < 1)
- strModules = "None selected";
- else
- strModules = strModules.slice(0, strModules.length - 2);
-
- QTMODULES.innerText = strModules;
- }
-
- // If the wizard has more than 1 page, this
- // function will browse to the page specified
- //
- function Next(document, linkto) {
- window.external.Next(document, linkto);
- }
-
- // This is an example of a function which
- // gets called when the user clicks on 'Finish'
- //
- function OnFinish(document) {
- OnWizFinish(document);
- }
-
-</script>
-<script language="JSCRIPT" id="INCLUDE_SCRIPT"></script>
-<script language="JSCRIPT" id="INCLUDE_COMMON"></script>
-<!--
-Common.js is a script file which contains the helper functions
-used by the wizards. Include this line if you want to
-call these functions from your html scripts.
-//-->
-<script>
- var strPath = window.external.FindSymbol("PRODUCT_INSTALLATION_DIR");
- strPath += "VCWizards/";
- strPath += window.external.GetHostLocale();
-
- // verify if the locale folder really exists
- var fso = new ActiveXObject("Scripting.FileSystemObject");
- var found = fso.FolderExists(strPath)
- if (found == false) {
- strPath = window.external.FindSymbol("PRODUCT_INSTALLATION_DIR");
- strPath += "VCWizards/";
- var folder = fso.GetFolder(strPath);
- for (subfolders = new Enumerator(folder.SubFolders); !subfolders.atEnd(); subfolders.moveNext()) {
- for (files = new Enumerator(subfolders.item().files); !files.atEnd(); files.moveNext()) {
- if (files.item().name.toLowerCase().localeCompare("common.js") == 0) {
- found = true;
- strPath += subfolders.item().name;
- break;
- }
- }
- if (found == true)
- break;
- }
- }
-
- var strScriptPath = strPath + "/Script.js";
- var strCommonPath = strPath + "/Common.js";
- document.scripts("INCLUDE_SCRIPT").src = strScriptPath;
- document.scripts("INCLUDE_COMMON").src = strCommonPath;
-</script>
diff --git a/Qt4VS2003/Projects/Qt5DesignerPluginProject/HTML/1033/Page_2.htm b/Qt4VS2003/Projects/Qt5DesignerPluginProject/HTML/1033/Page_2.htm
deleted file mode 100644
index 7a13b2e7..00000000
--- a/Qt4VS2003/Projects/Qt5DesignerPluginProject/HTML/1033/Page_2.htm
+++ /dev/null
@@ -1,568 +0,0 @@
-<html dir="ltr">
-<head>
- <title>'Qt5 Designer Plugin Project'</title>
- <meta content="http://schemas.microsoft.com/intellisense/ie5" name="vs_targetSchema">
- <link id="LINKURL" rel="stylesheet" href="../../1033/styles.css">
-</head>
-<body onkeypress="OnPress();" onkeydown="OnKey();" bottommargin="0" bgcolor="buttonface"
- leftmargin="0" topmargin="0" onload="InitDocument(document);" rightmargin="0">
- <table class="ONE" height="100%" cellspacing="0" cellpadding="0" width="100%" border="0">
- <colgroup>
- <col width="178">
- <col>
- <!--OPEN OF INTRODUCTORY INFORMATION TABLE//-->
- <tr valign="top">
- <td width="100%" colspan="2" height="79">
- <table class="TWO" cellspacing="0" cellpadding="0" border="0">
- <colgroup>
- <col width="12">
- <col>
- <col width="12">
- <tr>
- <td valign="top" width="12" height="12">
- &nbsp;
- </td>
- <td valign="top" height="12">
- &nbsp;
- </td>
- <td valign="top" width="12" height="12">
- &nbsp;
- </td>
- <td class="IMAGE" valign="bottom" width="110" rowspan="2">
- <div class="SMALLA" id="Layer0">
- <img class="SMALLEST" height="63" alt="" src="..\..\Images\Qt5DesignerPluginProject.jpg"
- width="63" border="0">
- </div>
- </td>
- <td valign="top" width="6" height="12" rowspan="2">
- &nbsp;
- </td>
- </tr>
- <tr>
- <td valign="top" width="12" height="65">
- &nbsp;
- </td>
- <td valign="top" height="65">
- <h4 class="HEAD" id="HEAD">
- Welcome to the Qt5&nbsp; Designer plugin project wizard</h4>
- <p class="SUBHEAD" id="SUBHEAD">
- This wizard generates a form designer plugin which can be used in Qt5 Designer or
- Visual Studio.</p>
- </td>
- <td valign="top" width="12" height="65">
- &nbsp;
- </td>
- </tr>
- <tr>
- <td class="RULE" valign="top" colspan="5" height="2">
- <table height="1" cellspacing="0" cellpadding="0" width="100%" border="0">
- <tr valign="top">
- <td width="100%" bgcolor="buttonshadow" height="1">
- <img height="1" alt="" src="../../Images/spacer.gif" width="1">
- </td>
- <td width="1" bgcolor="window" height="1">
- <img height="1" alt="" src="../../Images/spacer.gif" width="1">
- </td>
- </tr>
- </table>
- </td>
- </tr>
- </table>
- </td>
- </tr>
- <!--CLOSE OF INTRODUCTORY INFORMATION TABLE//-->
- <!--OPEN OF NAVIGATION, CONTENT, AND BUTTON TABLES//-->
- <tr valign="top">
- <td class="THREE" valign="top" width="178" height="100%">
- <!--OPEN OF NAVIGATION TABLE//-->
- <table class="THREE" cellspacing="0" cellpadding="0" border="0">
- <colgroup>
- <col width="12">
- <col width="166">
- <col width="1">
- <tr>
- <td valign="top" colspan="3" height="12">
- &nbsp;
- </td>
- </tr>
- <tr>
- <td valign="top" width="12" height="100%">
- &nbsp;
- </td>
- <td valign="top" width="165" height="100%">
- <!--OPEN OF NAVIGATIONAL LINKS//-->
- <div class="LINK">
- <table class="LINKTEXT" height="28" cellspacing="0" cellpadding="0" width="166" border="0">
- <tr valign="middle">
- <td width="162">
- <span class="ACTIVELINK" id="Default" title="" onclick="Next(document, 'default.htm');"
- tabindex="1">Overview</span>
- </td>
- <td width="4">
- <img height="1" src="../../Images/spacer.gif" width="4">
- </td>
- </tr>
- </table>
- </div>
- <div class="LINKSELECTED">
- <span class="VERTLINE1">
- <img height="1" alt="" src="../../Images/spacer.gif" width="1" border="0">
- </span><span class="HORILINE1">
- <table height="100%" cellspacing="0" cellpadding="0" width="167" border="0">
- <tr valign="top">
- <td class="DOTTEDLINE" height="1">
- </td>
- </tr>
- <tr valign="top">
- <td height="100%">
- <img height="28" alt="" src="../../Images/spacer.gif" width="1" border="0">
- </td>
- </tr>
- <tr valign="top">
- <td class="DOTTEDLINE" height="1">
- </td>
- </tr>
- </table>
- </span>
- <table class="LINKTEXTSELECTED" height="28" cellspacing="0" cellpadding="0" width="160"
- border="0">
- <tr valign="middle">
- <td width="162">
- <span id="Page_2" title="" onclick="Next(document, 'Page_2.htm');" tabindex="1">Project
- Settings</span>
- </td>
- <td width="4">
- <img height="1" src="../../Images/spacer.gif" width="4">
- </td>
- </tr>
- </table>
- </div>
- <div class="LINK">
- <table class="LINKTEXT" height="28" cellspacing="0" cellpadding="0" width="166" border="0"
- id="Table1">
- <tr valign="middle">
- <td width="162">
- <span class="ACTIVELINK" id="Page_3" title="" onclick="Next(document, 'Page_3.htm');"
- tabindex="1">Generated Class</span>
- </td>
- <td width="4">
- <img height="1" src="../../Images/spacer.gif" width="4">
- </td>
- </tr>
- </table>
- </div>
- <!--CLOSE OF NAVIGATIONAL LINKS//-->
- </td>
- <td width="1">
- <div class="VERTLINE">
- <img height="1" alt="" src="../../Images/spacer.gif" width="1" border="0">
- </div>
- </td>
- </tr>
- </table>
- <!--CLOSE OF NAVIGATION TABLE//-->
- </td>
- <td valign="top" height="100%">
- <!--OPEN OF CONTENT AND BUTTON TABLE//-->
- <table class="ONE" cellspacing="0" cellpadding="0" border="0">
- <colgroup>
- <col width="100%">
- <tr valign="top">
- <td valign="top" height="100%">
- <!--OPEN OF CONTENT//-->
- <table class="CONTENT" cellspacing="0" cellpadding="0" border="0">
- <colgroup>
- <tr>
- <td width="12" height="12">
- </td>
- <td height="12">
- </td>
- <td height="12">
- </td>
- <td height="12">
- </td>
- <td width="12" height="12">
- </td>
- </tr>
- <tr>
- <td valign="top" width="12">
- </td>
- <td valign="top" colspan="3">
- <p>
- Select the modules you want to include in your project. The recommended modules
- for this project are selected by default.</p>
- <!--<P>&nbsp;</P>-->
- </td>
- <td valign="top" width="12">
- </td>
- </tr>
- <tr>
- <td width="12" height="12">
- </td>
- <td height="12">
- </td>
- <td height="12">
- </td>
- <td height="12">
- </td>
- <td width="12" height="12">
- </td>
- </tr>
-<!-- {ADB367FB-48AA-488e-9102-B037297CFCDB} -->
-<!-- -->
-<!-- START. GENERATED WITH SCRIPT, DO NOT EDIT -->
-<!-- -->
-<tr><td valign="top" width="12"></td><td valign="top" colspan="3"></td><td valign="top" width="12"></td></tr>
-<tr>
-<td valign="top" width="12"></td>
-<td valign="top"><input id="THREED_MODULE" title="Select this if you want to include the 3D library" type="checkbox" name="THREED_MODULE_NAME">&nbsp;3D</td>
-<td valign="top"><input id="NETWORK_MODULE" title="Select this if you want to include the Network library" type="checkbox" name="NETWORK_MODULE_NAME">&nbsp;Network</td>
-<td valign="top"><input id="SVG_MODULE" title="Select this if you want to include the SVG library" type="checkbox" name="SVG_MODULE_NAME">&nbsp;SVG</td>
-<td valign="top" width="12"></td>
-</tr>
-<tr>
-<td valign="top" width="12"></td>
-<td valign="top"><input id="AQCONTAINER_MODULE" title="Select this if you want to include the ActiveQt container library" type="checkbox" name="AQCONTAINER_MODULE_NAME">&nbsp;ActiveQt container&nbsp;</td>
-<td valign="top"><input id="NFC_MODULE" title="Select this if you want to include the NFC library" type="checkbox" name="NFC_MODULE_NAME">&nbsp;NFC</td>
-<td valign="top"><input id="TEST_MODULE" title="Select this if you want to include the Test library" type="checkbox" name="TEST_MODULE_NAME">&nbsp;Test</td>
-<td valign="top" width="12"></td>
-</tr>
-<tr>
-<td valign="top" width="12"></td>
-<td valign="top"><input id="AQSERVER_MODULE" title="Select this if you want to include the ActiveQt server library" type="checkbox" name="AQSERVER_MODULE_NAME">&nbsp;ActiveQt&nbsp;server&nbsp;</td>
-<td valign="top"><input id="OPENGL_MODULE" title="Select this if you want to include the OpenGL library" type="checkbox" name="OPENGL_MODULE_NAME">&nbsp;OpenGL</td>
-<td valign="top"><input id="UITOOLS_MODULE" title="Select this if you want to include the UI Tools" type="checkbox" name="UITOOLS_MODULE_NAME">&nbsp;UI Tools</td>
-<td valign="top" width="12"></td>
-</tr>
-<tr>
-<td valign="top" width="12"></td>
-<td valign="top"><input id="BLUETOOTH_MODULE" title="Select this if you want to include the Bluetooth library" type="checkbox" name="BLUETOOTH_MODULE_NAME">&nbsp;Bluetooth</td>
-<td valign="top"><input id="POSITIONING_MODULE" title="Select this if you want to include the Positioning library" type="checkbox" name="POSITIONING_MODULE_NAME">&nbsp;Positioning</td>
-<td valign="top"><input id="WEBCHANNEL_MODULE" title="Select this if you want to include the Web Channel library" type="checkbox" name="WEBCHANNEL_MODULE_NAME">&nbsp;Web Channel</td>
-<td valign="top" width="12"></td>
-</tr>
-<tr>
-<td valign="top" width="12"></td>
-<td valign="top"><input id="CONCURRENT_MODULE" title="Select this if you want to include the Concurrent library" type="checkbox" name="CONCURRENT_MODULE_NAME">&nbsp;Concurrent</td>
-<td valign="top"><input id="PRINTSUPPORT_MODULE" title="Select this if you want to include the Print Support library" type="checkbox" name="PRINTSUPPORT_MODULE_NAME">&nbsp;Print Support</td>
-<td valign="top"><input id="WEBKIT_MODULE" title="Select this if you want to include the WebKit library" type="checkbox" name="WEBKIT_MODULE_NAME">&nbsp;WebKit</td>
-<td valign="top" width="12"></td>
-</tr>
-<tr>
-<td valign="top" width="12"></td>
-<td valign="top"><input id="CORE_MODULE" title="Select this if you want to include the core library" type="checkbox" name="CORE_MODULE_NAME">&nbsp;Core</td>
-<td valign="top"><input id="QML_MODULE" title="Select this if you want to include the QML library" type="checkbox" name="QML_MODULE_NAME">&nbsp;QML</td>
-<td valign="top"><input id="WEBKITWIDGETS_MODULE" title="Select this if you want to include the Webkit Widgets library" type="checkbox" name="WEBKITWIDGETS_MODULE_NAME">&nbsp;Webkit Widgets</td>
-<td valign="top" width="12"></td>
-</tr>
-<tr>
-<td valign="top" width="12"></td>
-<td valign="top"><input id="ENGINIO_MODULE" title="Select this if you want to include the Enginio library" type="checkbox" name="ENGINIO_MODULE_NAME">&nbsp;Enginio</td>
-<td valign="top"><input id="QUICK_MODULE" title="Select this if you want to include the Quick library" type="checkbox" name="QUICK_MODULE_NAME">&nbsp;Quick</td>
-<td valign="top"><input id="WEBSOCKETS_MODULE" title="Select this if you want to include the Web Sockets library" type="checkbox" name="WEBSOCKETS_MODULE_NAME">&nbsp;Web Sockets</td>
-<td valign="top" width="12"></td>
-</tr>
-<tr>
-<td valign="top" width="12"></td>
-<td valign="top"><input id="DECLARATIVE_MODULE" title="Select this if you want to include the Declarative library" type="checkbox" name="DECLARATIVE_MODULE_NAME">&nbsp;Declarative</td>
-<td valign="top"><input id="QUICKWIDGETS_MODULE" title="Select this if you want to include the Quick Widgets library" type="checkbox" name="QUICKWIDGETS_MODULE_NAME">&nbsp;Quick Widgets</td>
-<td valign="top"><input id="WIDGETS_MODULE" title="Select this if you want to include the Widgets library" type="checkbox" name="WIDGETS_MODULE_NAME">&nbsp;Widgets</td>
-<td valign="top" width="12"></td>
-</tr>
-<tr>
-<td valign="top" width="12"></td>
-<td valign="top"><input id="GUI_MODULE" title="Select this if you want to include the GUI library" type="checkbox" name="GUI_MODULE_NAME">&nbsp;GUI</td>
-<td valign="top"><input id="SCRIPT_MODULE" title="Select this if you want to include the Script library" type="checkbox" name="SCRIPT_MODULE_NAME">&nbsp;Script</td>
-<td valign="top"><input id="WINDOWSEXTRAS_MODULE" title="Select this if you want to include the Windows Extras library" type="checkbox" name="WINDOWSEXTRAS_MODULE_NAME">&nbsp;Windows Extras</td>
-<td valign="top" width="12"></td>
-</tr>
-<tr>
-<td valign="top" width="12"></td>
-<td valign="top"><input id="HELP_MODULE" title="Select this if you want to include the Help library" type="checkbox" name="HELP_MODULE_NAME">&nbsp;Help</td>
-<td valign="top"><input id="SCRIPTTOOLS_MODULE" title="Select this if you want to include the Script Tools" type="checkbox" name="SCRIPTTOOLS_MODULE_NAME">&nbsp;Script Tools</td>
-<td valign="top"><input id="XML_MODULE" title="Select this if you want to include the XML library" type="checkbox" name="XML_MODULE_NAME">&nbsp;XML</td>
-<td valign="top" width="12"></td>
-</tr>
-<tr>
-<td valign="top" width="12"></td>
-<td valign="top"><input id="LOCATION_MODULE" title="Select this if you want to include the Location library" type="checkbox" name="LOCATION_MODULE_NAME">&nbsp;Location</td>
-<td valign="top"><input id="SENSORS_MODULE" title="Select this if you want to include the Sensors library" type="checkbox" name="SENSORS_MODULE_NAME">&nbsp;Sensors</td>
-<td valign="top"><input id="XMLPATTERNS_MODULE" title="Select this if you want to include the XML Patterns library" type="checkbox" name="XMLPATTERNS_MODULE_NAME">&nbsp;XML Patterns</td>
-<td valign="top" width="12"></td>
-</tr>
-<tr>
-<td valign="top" width="12"></td>
-<td valign="top"><input id="MULTIMEDIA_MODULE" title="Select this if you want to include the Multimedia library" type="checkbox" name="MULTIMEDIA_MODULE_NAME">&nbsp;Multimedia</td>
-<td valign="top"><input id="SERIALPORT_MODULE" title="Select this if you want to include the Serial Port library" type="checkbox" name="SERIALPORT_MODULE_NAME">&nbsp;Serial Port</td>
-<td valign="top" width="12"></td>
-<td valign="top" width="12"></td>
-</tr>
-<tr>
-<td valign="top" width="12"></td>
-<td valign="top"><input id="MULTIMEDIAWIDGETS_MODULE" title="Select this if you want to include the Multimedia Widgets library" type="checkbox" name="MULTIMEDIAWIDGETS_MODULE_NAME">&nbsp;Multimedia Widgets</td>
-<td valign="top"><input id="SQL_MODULE" title="Select this if you want to include the SQL library" type="checkbox" name="SQL_MODULE_NAME">&nbsp;SQL</td>
-<td valign="top" width="12"></td>
-<td valign="top" width="12"></td>
-</tr>
-<!-- -->
-<!-- END. GENERATED WITH SCRIPT, DO NOT EDIT -->
-<!-- -->
-<!-- {ADB367FB-48AA-488e-9102-B037297CFCDB} -->
-
-
-
-
- <tr>
- <td valign="top" width="12">
- </td>
- <td valign="top" colspan="3">
- <p>
- &nbsp;</p>
- </td>
- <td valign="top" width="12">
- </td>
- </tr>
- <tr>
- <td valign="top" width="12" height="100%">
- </td>
- <td valign="top" height="100%">
- </td>
- <td valign="top" height="100%">
- </td>
- <td valign="top" height="100%">
- </td>
- <td valign="top" width="12" height="100%">
- </td>
- </tr>
- </table>
- <!--CLOSE OF CONTENT//-->
- </TD> </TR>
- <tr valign="bottom">
- <td height="48">
- <!--OPEN OF BUTTON HTML//-->
- <table height="48" cellspacing="0" cellpadding="0" border="0">
- <colgroup>
- <col width="12">
- <col>
- <col width="75">
- <col width="4">
- <col width="75">
- <col width="4">
- <col width="75">
- <col width="12">
- <tr>
- <td class="RULE" valign="top" colspan="8" height="2">
- <table height="1" cellspacing="0" cellpadding="0" width="100%" border="0">
- <tr valign="top">
- </tr>
- </table>
- </td>
- </tr>
- <tr>
- <td valign="top" colspan="8" height="11">
- &nbsp;
- </td>
- </tr>
- <tr>
- <td valign="middle" width="12" height="23">
- &nbsp;
- </td>
- <td valign="top" height="23">
- &nbsp;
- </td>
- <td valign="middle" width="75" height="23">
- <button class="BUTTONS" id="FinishBtn" accesskey="F" onclick="OnFinish(document);"
- type="button">
- <u>F</u>inish</button>
- </td>
- <td valign="middle" width="4" height="23">
- &nbsp;
- </td>
- <td valign="middle" width="75" height="23">
- <button class="BUTTONS" id="CancelBtn" accesskey="C" onclick="window.external.Finish(document, 'cancel');"
- type="button">
- <u>C</u>ancel</button>
- </td>
- <td valign="middle" width="4" height="23">
- &nbsp;
- </td>
- <td valign="middle" width="75" height="23">
- <button class="BUTTONS" id="HelpBtn" disabled accesskey="H" onclick="window.external.OnHelp('vc.appwiz.custom.overview');"
- type="button">
- <u>H</u>elp</button>
- </td>
- <td valign="middle" width="12" height="23">
- &nbsp;
- </td>
- </tr>
- <tr>
- <td valign="top" colspan="8" height="12">
- &nbsp;
- </td>
- </tr>
- </table>
- <!--CLOSE OF BUTTON HTML//-->
- </td>
- </tr>
- </TABLE>
- <!--CLOSE OF NAVIGATION, CONTENT, AND BUTTON TABLES//-->
- </TD> </TR> </TABLE>
-</body>
-</html>
-<script language="JSCRIPT">
-
- var QtEngine;
- var tab_array = new Array();
- tab_array[0] = Default;
- tab_array[1] = Page_2;
-
- // This is an example of a function which initializes the page
- //
- function InitDocument(document) {
- var dte = window.external.dte;
- var version = dte.version;
- if (version == "8.0")
- QtEngine = new ActiveXObject("Digia.Qt5ProjectEngine80");
- else if (version == "9.0")
- QtEngine = new ActiveXObject("Digia.Qt5ProjectEngine90");
- else if (version == "10.0")
- QtEngine = new ActiveXObject("Digia.Qt5ProjectEngine100");
- else if (version == "11.0")
- QtEngine = new ActiveXObject("Digia.Qt5ProjectEngine110");
- else if (version == "12.0")
- QtEngine = new ActiveXObject("Digia.Qt5ProjectEngine120");
- else {
- window.external.ReportError("Cannot instantiate QtProjectEngine object!");
- return false;
- }
-
- setDirection();
- if (window.external.FindSymbol('DOCUMENT_FIRST_LOAD')) {
- // This function sets the default symbols based
- // on the values specified in the SYMBOL tags above
- //
- window.external.SetDefaults(document);
- }
- // Load the document and initialize the controls
- // with the appropriate symbol values
- //
- window.external.Load(document);
-
- // Disable Essential modules which are not installed (Should not found any?)
- DisableUninstalled(THREED_MODULE_NAME, "Qt3D", QtEngine);
- DisableUninstalled(CORE_MODULE_NAME, "QtCore", QtEngine);
- DisableUninstalled(GUI_MODULE_NAME, "QtGui", QtEngine);
- DisableUninstalled(LOCATION_MODULE_NAME, "QtLocation", QtEngine);
- DisableUninstalled(MULTIMEDIA_MODULE_NAME, "QtMultimedia", QtEngine);
- DisableUninstalled(MULTIMEDIAWIDGETS_MODULE_NAME, "QtMultimediaWidgets", QtEngine);
- DisableUninstalled(NETWORK_MODULE_NAME, "QtNetwork", QtEngine);
- DisableUninstalled(QML_MODULE_NAME, "QtQml", QtEngine);
- DisableUninstalled(QUICK_MODULE_NAME, "QtQuick", QtEngine);
- DisableUninstalled(SQL_MODULE_NAME, "QtSql", QtEngine);
- DisableUninstalled(TEST_MODULE_NAME, "QtTest", QtEngine);
- DisableUninstalled(WEBKIT_MODULE_NAME, "QtWebkit", QtEngine);
-
- // Disable Add-on modules which are not installed
- DisableUninstalled(AQCONTAINER_MODULE_NAME, "QtAxContainer", QtEngine);
- DisableUninstalled(AQSERVER_MODULE_NAME, "QtAxServer", QtEngine);
- DisableUninstalled(BLUETOOTH_MODULE_NAME, "QtBluetooth", QtEngine);
- DisableUninstalled(CONCURRENT_MODULE_NAME, "QtConcurrent", QtEngine);
- DisableUninstalled(DECLARATIVE_MODULE_NAME, "QtDeclarative", QtEngine);
- DisableUninstalled(ENGINIO_MODULE_NAME, "Enginio", QtEngine);
- DisableUninstalled(HELP_MODULE_NAME, "QtHelp", QtEngine);
- DisableUninstalled(NFC_MODULE_NAME, "QtNfc", QtEngine);
- DisableUninstalled(OPENGL_MODULE_NAME, "QtOpenGL", QtEngine);
- DisableUninstalled(POSITIONING_MODULE_NAME, "QtPositioning", QtEngine);
- DisableUninstalled(PRINTSUPPORT_MODULE_NAME, "QtPrintSupport", QtEngine);
- DisableUninstalled(QUICKWIDGETS_MODULE_NAME, "QtQuickWidgets", QtEngine);
- DisableUninstalled(SCRIPT_MODULE_NAME, "QtScript", QtEngine);
- DisableUninstalled(SCRIPTTOOLS_MODULE_NAME, "QtScriptTools", QtEngine);
- DisableUninstalled(SENSORS_MODULE_NAME, "QtSensors", QtEngine);
- DisableUninstalled(SERIALPORT_MODULE_NAME, "QtSerialPort", QtEngine);
- DisableUninstalled(SVG_MODULE_NAME, "QtSvg", QtEngine);
- DisableUninstalled(UITOOLS_MODULE_NAME, "QtUiTools", QtEngine);
- DisableUninstalled(WEBCHANNEL_MODULE_NAME, "QtWebChannel", QtEngine);
- DisableUninstalled(WEBKITWIDGETS_MODULE_NAME, "QtWebkitWidgets", QtEngine);
- DisableUninstalled(WEBSOCKETS_MODULE_NAME, "QtWebSockets", QtEngine);
- DisableUninstalled(WIDGETS_MODULE_NAME, "QtWidgets", QtEngine);
- DisableUninstalled(WINDOWSEXTRAS_MODULE_NAME, "QtWinExtras", QtEngine);
- DisableUninstalled(XML_MODULE_NAME, "QtXml", QtEngine);
- DisableUninstalled(XMLPATTERNS_MODULE_NAME, "QtXmlPatterns", QtEngine);
-
- // Disable these cause mandatory for this wizard
- CORE_MODULE_NAME.disabled = true;
- GUI_MODULE_NAME.disabled = true;
- XML_MODULE_NAME.disabled = true;
- WIDGETS_MODULE_NAME.disabled = true;
- }
-
- function DisableUninstalled(element, lib_name, engine) {
- var not_installed = !engine.IsModuleInstalled(lib_name);
- element.disabled = not_installed;
- if (not_installed) {
- element.title = ""; // Not installed so don't show title
- element.parentNode.className = "addon_disabled";
- }
- return not_installed;
- }
-
- // If the wizard has more than 1 page, this
- // function will browse to the page specified
- //
- function Next(document, linkto) {
- CORE_MODULE_NAME.disabled = false;
- GUI_MODULE_NAME.disabled = false;
- XML_MODULE_NAME.disabled = false;
- WIDGETS_MODULE_NAME.disabled = false;
- window.external.Next(document, linkto);
- }
-
- // This is an example of a function which
- // gets called when the user clicks on 'Finish'
- //
- function OnFinish(document) {
- CORE_MODULE_NAME.disabled = false;
- GUI_MODULE_NAME.disabled = false;
- XML_MODULE_NAME.disabled = false;
- WIDGETS_MODULE_NAME.disabled = false;
- OnWizFinish(document);
- }
-
-</script>
-<script language="JSCRIPT" id="INCLUDE_SCRIPT"></script>
-<script language="JSCRIPT" id="INCLUDE_COMMON"></script>
-<!--
-Common.js is a script file which contains the helper functions
-used by the wizards. Include this line if you want to
-call these functions from your html scripts.
-//-->
-<script>
- var strPath = window.external.FindSymbol("PRODUCT_INSTALLATION_DIR");
- strPath += "VCWizards/";
- strPath += window.external.GetHostLocale();
-
- // verify if the locale folder really exists
- var fso = new ActiveXObject("Scripting.FileSystemObject");
- var found = fso.FolderExists(strPath)
- if (found == false) {
- strPath = window.external.FindSymbol("PRODUCT_INSTALLATION_DIR");
- strPath += "VCWizards/";
- var folder = fso.GetFolder(strPath);
- for (subfolders = new Enumerator(folder.SubFolders); !subfolders.atEnd(); subfolders.moveNext()) {
- for (files = new Enumerator(subfolders.item().files); !files.atEnd(); files.moveNext()) {
- if (files.item().name.toLowerCase().localeCompare("common.js") == 0) {
- found = true;
- strPath += subfolders.item().name;
- break;
- }
- }
- if (found == true)
- break;
- }
- }
-
- var strScriptPath = strPath + "/Script.js";
- var strCommonPath = strPath + "/Common.js";
- document.scripts("INCLUDE_SCRIPT").src = strScriptPath;
- document.scripts("INCLUDE_COMMON").src = strCommonPath;
-</script>
diff --git a/Qt4VS2003/Projects/Qt5DesignerPluginProject/HTML/1033/Page_3.htm b/Qt4VS2003/Projects/Qt5DesignerPluginProject/HTML/1033/Page_3.htm
deleted file mode 100644
index caa4a88b..00000000
--- a/Qt4VS2003/Projects/Qt5DesignerPluginProject/HTML/1033/Page_3.htm
+++ /dev/null
@@ -1,577 +0,0 @@
-<html dir="ltr">
-<head>
- <meta name="vs_showGrid" content="True">
- <title>'Qt5 Designer Plugin Project'</title>
- <meta content="http://schemas.microsoft.com/intellisense/ie5" name="vs_targetSchema">
- <link id="LINKURL" rel="stylesheet" href="../../1033/styles.css">
-</head>
-<body onkeypress="OnPress();" onkeydown="OnKey();" bottommargin="0" bgcolor="buttonface"
- leftmargin="0" topmargin="0" onload="InitDocument(document);" rightmargin="0">
- <table class="ONE" height="100%" cellspacing="0" cellpadding="0" width="100%" border="0">
- <colgroup>
- <col width="178">
- <col>
- <!--OPEN OF INTRODUCTORY INFORMATION TABLE//-->
- <tr valign="top">
- <td width="100%" colspan="2" height="79">
- <table class="TWO" cellspacing="0" cellpadding="0" border="0">
- <colgroup>
- <col width="12">
- <col>
- <col width="12">
- <tr>
- <td valign="top" width="12" height="12">
- &nbsp;
- </td>
- <td valign="top" height="12">
- &nbsp;
- </td>
- <td valign="top" width="12" height="12">
- &nbsp;
- </td>
- <td class="IMAGE" valign="bottom" width="110" rowspan="2">
- <div class="SMALLA" id="Layer0">
- <img class="SMALLEST" height="63" alt="" src="..\..\Images\Qt5DesignerPluginProject.jpg"
- width="63" border="0">
- </div>
- </td>
- <td valign="top" width="6" height="12" rowspan="2">
- &nbsp;
- </td>
- </tr>
- <tr>
- <td valign="top" width="12" height="65">
- &nbsp;
- </td>
- <td valign="top" height="65">
- <h4 class="HEAD" id="HEAD">
- Welcome to the Qt5&nbsp; Designer plugin project wizard</h4>
- <p class="SUBHEAD" id="SUBHEAD">
- This wizard generates a form designer plugin which can be used in Qt5 Designer or
- Visual Studio.</p>
- </td>
- <td valign="top" width="12" height="65">
- &nbsp;
- </td>
- </tr>
- <tr>
- <td class="RULE" valign="top" colspan="5" height="2">
- <table height="1" cellspacing="0" cellpadding="0" width="100%" border="0">
- <tr valign="top">
- <td width="100%" bgcolor="buttonshadow" height="1">
- <img height="1" alt="" src="../../Images/spacer.gif" width="1">
- </td>
- <td width="1" bgcolor="window" height="1">
- <img height="1" alt="" src="../../Images/spacer.gif" width="1">
- </td>
- </tr>
- </table>
- </td>
- </tr>
- </table>
- </td>
- </tr>
- <!--CLOSE OF INTRODUCTORY INFORMATION TABLE//-->
- <!--OPEN OF NAVIGATION, CONTENT, AND BUTTON TABLES//-->
- <tr valign="top">
- <td class="THREE" valign="top" width="178" height="100%">
- <!--OPEN OF NAVIGATION TABLE//-->
- <table class="THREE" cellspacing="0" cellpadding="0" border="0">
- <colgroup>
- <col width="12">
- <col width="166">
- <col width="1">
- <tr>
- <td valign="top" colspan="3" height="12">
- &nbsp;
- </td>
- </tr>
- <tr>
- <td valign="top" width="12" height="100%">
- &nbsp;
- </td>
- <td valign="top" width="165" height="100%">
- <!--OPEN OF NAVIGATIONAL LINKS//-->
- <div class="LINK">
- <table class="LINKTEXT" height="28" cellspacing="0" cellpadding="0" width="166" border="0">
- <tr valign="middle">
- <td width="162">
- <span class="ACTIVELINK" id="Page_1" title="" onclick="Next(document, 'default.htm');"
- tabindex="1">Overview</span>
- </td>
- <td width="4">
- <img height="1" src="../../Images/spacer.gif" width="4">
- </td>
- </tr>
- </table>
- </div>
- <div class="LINK">
- <table class="LINKTEXT" height="28" cellspacing="0" cellpadding="0" width="166" border="0"
- id="Table1">
- <tr valign="middle">
- <td width="162">
- <span class="ACTIVELINK" id="Page_2" title="" onclick="Next(document, 'Page_2.htm');"
- tabindex="1">Project Settings</span>
- </td>
- <td width="4">
- <img height="1" src="../../Images/spacer.gif" width="4">
- </td>
- </tr>
- </table>
- </div>
- <div class="LINKSELECTED">
- <span class="VERTLINE1">
- <img height="1" alt="" src="../../Images/spacer.gif" width="1" border="0">
- </span><span class="HORILINE1">
- <table height="100%" cellspacing="0" cellpadding="0" width="167" border="0">
- <tr valign="top">
- <td class="DOTTEDLINE" height="1">
- </td>
- </tr>
- <tr valign="top">
- <td height="100%">
- <img height="28" alt="" src="../../Images/spacer.gif" width="1" border="0">
- </td>
- </tr>
- <tr valign="top">
- <td class="DOTTEDLINE" height="1">
- </td>
- </tr>
- </table>
- </span>
- <table class="LINKTEXTSELECTED" height="28" cellspacing="0" cellpadding="0" width="160"
- border="0">
- <tr valign="middle">
- <td width="162">
- <span id="Page_3" title="" onclick="Next(document, 'Page_2.htm');" tabindex="1">Generated
- Class</span>
- </td>
- <td width="4">
- <img height="1" src="../../Images/spacer.gif" width="4">
- </td>
- </tr>
- </table>
- </div>
- <!--CLOSE OF NAVIGATIONAL LINKS//-->
- </td>
- <td width="1">
- <div class="VERTLINE">
- <img height="1" alt="" src="../../Images/spacer.gif" width="1" border="0">
- </div>
- </td>
- </tr>
- </table>
- <!--CLOSE OF NAVIGATION TABLE//-->
- </td>
- <td valign="top" height="100%">
- <!--OPEN OF CONTENT AND BUTTON TABLE//-->
- <table class="ONE" cellspacing="0" cellpadding="0" border="0">
- <colgroup>
- <col width="100%">
- <tr valign="top">
- <td valign="top" height="100%">
- <!--OPEN OF CONTENT//-->
- <table class="CONTENT" cellspacing="0" cellpadding="0" border="0">
- <colgroup>
- <tr>
- <td width="12" height="12">
- </td>
- <td height="12">
- </td>
- <td height="12">
- </td>
- <td width="12" height="12">
- </td>
- </tr>
- <tr>
- <td width="12" height="26">
- </td>
- <td height="12">
- <b>Custom Widget:</b>
- </td>
- <td height="12">
- </td>
- <td width="12" height="12">
- </td>
- </tr>
- <tr>
- <td valign="top" width="12">
- </td>
- <td valign="top">
- Class name:
- </td>
- <td valign="top">
- Base Class:
- </td>
- <td valign="top" width="12">
- </td>
- </tr>
- <tr>
- <td valign="top" width="12">
- </td>
- <td valign="top">
- <input id="CLASSNAME_TEXT" type="text" name="className" onpropertychange="ClassNameChanged();">
- </td>
- <td valign="top">
- <input id="BASECLASS_TEXT" type="text" name="baseClass">
- </td>
- <td valign="top" width="12">
- </td>
- </tr>
- <tr>
- <td width="12" height="12">
- </td>
- <td height="12">
- </td>
- <td height="12">
- </td>
- <td width="12" height="12">
- </td>
- </tr>
- <tr>
- <td valign="top" width="12">
- </td>
- <td valign="top">
- .h file:
- </td>
- <td valign="top">
- <p>
- .cpp&nbsp;file:</p>
- </td>
- <td valign="top" width="12">
- </td>
- </tr>
- <tr>
- <td valign="top" width="12">
- </td>
- <td valign="top">
- <input id="HFILE_TEXT" type="text" name="hFile">
- </td>
- <td valign="top">
- <input id="CPPFILE_TEXT" type="text" name="cppFile">
- </td>
- <td valign="top" width="12">
- </td>
- </tr>
- <tr>
- <td width="12" height="20">
- </td>
- <td height="12">
- </td>
- <td height="12">
- </td>
- <td width="12" height="12">
- </td>
- </tr>
- <tr>
- <td width="12" height="26">
- </td>
- <td height="12">
- <b>Plugin Class:</b>
- </td>
- <td height="12">
- </td>
- <td width="12" height="12">
- </td>
- </tr>
- <tr>
- <td valign="top" width="12">
- </td>
- <td valign="top">
- Class name:
- </td>
- <td valign="top">
- </td>
- <td valign="top" width="12">
- </td>
- </tr>
- <tr>
- <td valign="top" width="12">
- </td>
- <td valign="top">
- <input id="PLUGIN_CLASSNAME_TEXT" type="text" name="pluginClassName" onpropertychange="PluginClassNameChanged();">
- </td>
- <td valign="top">
- </td>
- <td valign="top" width="12">
- </td>
- </tr>
- <tr>
- <td width="12" height="12">
- </td>
- <td height="12">
- </td>
- <td height="12">
- </td>
- <td width="12" height="12">
- </td>
- </tr>
- <tr>
- <td valign="top" width="12">
- </td>
- <td valign="top">
- .h file:
- </td>
- <td valign="top">
- .cpp file:
- </td>
- <td valign="top" width="12">
- </td>
- </tr>
- <tr>
- <td valign="top" width="12" style="height: 19px">
- </td>
- <td valign="top">
- <input id="PLUGIN_HFILE_TEXT" type="text" name="pluginHFile">
- <td valign="top">
- <input id="PLUGIN_CPPFILE_TEXT" type="text" name="pluginCppFile">
- </td>
- <td valign="top" width="12" style="height: 19px">
- </td>
- </tr>
- <tr>
- <td width="12" height="24">
- </td>
- <td height="12" colspan="2">
- <input id="PRECOMPILED_HEADERS" title="Use Precompiled Headers" type="checkbox" name="precompiledHeaders">Use
- Precompiled Headers
- </td>
- <td width="12" height="12">
- </td>
- </tr>
- <tr>
- <td valign="top" width="12" height="100%">
- </td>
- <td valign="top" height="100%">
- </td>
- <td valign="top" height="100%">
- </td>
- <td valign="top" width="12" height="100%">
- </td>
- </tr>
- </table>
- <!--CLOSE OF CONTENT//-->
- </td>
- </tr>
- <tr valign="bottom">
- <td height="48">
- <!--OPEN OF BUTTON HTML//-->
- <table height="48" cellspacing="0" cellpadding="0" border="0">
- <colgroup>
- <col width="12">
- <col>
- <col width="75">
- <col width="4">
- <col width="75">
- <col width="4">
- <col width="75">
- <col width="12">
- <tr>
- <td class="RULE" valign="top" colspan="8" height="2">
- <table height="1" cellspacing="0" cellpadding="0" width="100%" border="0">
- <tr valign="top">
- </tr>
- </table>
- </td>
- </tr>
- <tr>
- <td valign="top" colspan="8" height="11">
- &nbsp;
- </td>
- </tr>
- <tr>
- <td valign="middle" width="12" height="23">
- &nbsp;
- </td>
- <td valign="top" height="23">
- &nbsp;
- </td>
- <td valign="middle" width="75" height="23">
- <button class="BUTTONS" id="FinishBtn" accesskey="F" onclick="OnFinish(document);"
- type="button">
- <u>F</u>inish</button>
- </td>
- <td valign="middle" width="4" height="23">
- &nbsp;
- </td>
- <td valign="middle" width="75" height="23">
- <button class="BUTTONS" id="CancelBtn" accesskey="C" onclick="window.external.Finish(document, 'cancel');"
- type="button">
- <u>C</u>ancel</button>
- </td>
- <td valign="middle" width="4" height="23">
- &nbsp;
- </td>
- <td valign="middle" width="75" height="23">
- <button class="BUTTONS" id="HelpBtn" disabled accesskey="H" onclick="window.external.OnHelp('vc.appwiz.custom.overview');"
- type="button">
- <u>H</u>elp</button>
- </td>
- <td valign="middle" width="12" height="23">
- &nbsp;
- </td>
- </tr>
- <tr>
- <td valign="top" colspan="8" height="12">
- &nbsp;
- </td>
- </tr>
- </table>
- <!--CLOSE OF BUTTON HTML//-->
- </td>
- </tr>
- </table>
- <!--CLOSE OF NAVIGATION, CONTENT, AND BUTTON TABLES//-->
- </td>
- </tr>
- </table>
-</body>
-</html>
-<script language="JSCRIPT">
-
- var tab_array = new Array();
- tab_array[0] = Page_1;
- tab_array[1] = Page_2;
-
- // This is an example of a function which initializes the page
- //
- function InitDocument(document) {
- setDirection();
-
- if (window.external.FindSymbol('DOCUMENT_FIRST_LOAD')) {
- // This function sets the default symbols based
- // on the values specified in the SYMBOL tags above
- //
- window.external.SetDefaults(document);
- }
-
- // Load the document and initialize the controls
- // with the appropriate symbol values
- //
- window.external.Load(document);
- }
-
- function ClassNameChanged() {
- HFILE_TEXT.value = CLASSNAME_TEXT.value.toLowerCase() + ".h";
- CPPFILE_TEXT.value = CLASSNAME_TEXT.value.toLowerCase() + ".cpp";
- }
-
- function PluginClassNameChanged() {
- PLUGIN_HFILE_TEXT.value = PLUGIN_CLASSNAME_TEXT.value.toLowerCase() + ".h";
- PLUGIN_CPPFILE_TEXT.value = PLUGIN_CLASSNAME_TEXT.value.toLowerCase() + ".cpp";
- }
-
- function ValidateAndUpdate() {
- var Inputs = document.all.tags("INPUT");
-
- var regexp = /\s/g;
- var proName = window.external.FindSymbol('PROJECT_NAME').replace(regexp, "");
-
- var field = Inputs.item("className");
- if (!window.external.dte.VCLanguageManager.ValidateIdentifier(field.value) ||
- window.external.dte.VCLanguageManager.IsReservedName(field.value)) {
- window.external.ReportError("Not a valid class name!");
- field.value = proName;
- return false;
- }
-
- var field = Inputs.item("hFile");
- if (!ValidateFileName(field.value)) {
- window.external.ReportError("Not a valid file name!");
- field.value = proName.toLowerCase() + ".h";
- return false;
- }
- var field = Inputs.item("cppFile");
- if (!ValidateFileName(field.value)) {
- window.external.ReportError("Not a valid file name!");
- field.value = proName.toLowerCase() + ".cpp";
- return false;
- }
- var field = Inputs.item("pluginHFile");
- if (!ValidateFileName(field.value)) {
- window.external.ReportError("Not a valid file name!");
- field.value = proName.toLowerCase() + "plugin.h";
- return false;
- }
- var field = Inputs.item("pluginCppFile");
- if (!window.external.dte.VCLanguageManager.ValidateFileName(field.value)) {
- window.external.ReportError("Not a valid file name!");
- field.value = proName.toLowerCase() + "plugin.cpp";
- return false;
- }
- var field = Inputs.item("pluginClassName");
- if (!window.external.dte.VCLanguageManager.ValidateIdentifier(field.value) ||
- window.external.dte.VCLanguageManager.IsReservedName(field.value)) {
- window.external.ReportError("Not a valid class name!");
- field.value = proName + "Plugin";
- return false;
- }
- return true;
- }
-
- function ValidateFileName(FileName) {
- if (!window.external.dte.VCLanguageManager.ValidateFileName(FileName))
- return false;
- if (FileName.search(/[\\\/\:\*\?\"\<\>\|]/g) != -1)
- return false;
- return true;
- }
-
- // If the wizard has more than 1 page, this
- // function will browse to the page specified
- //
- function Next(document, linkto) {
- if (!ValidateAndUpdate())
- return;
-
- window.external.Next(document, linkto);
- }
-
- // This is an example of a function which
- // gets called when the user clicks on 'Finish'
- //
- function OnFinish(document) {
- if (!ValidateAndUpdate())
- return;
-
- OnWizFinish(document);
- }
-
-</script>
-<script language="JSCRIPT" id="INCLUDE_SCRIPT"></script>
-<script language="JSCRIPT" id="INCLUDE_COMMON"></script>
-<!--
-Common.js is a script file which contains the helper functions
-used by the wizards. Include this line if you want to
-call these functions from your html scripts.
-//-->
-<script>
- var strPath = window.external.FindSymbol("PRODUCT_INSTALLATION_DIR");
- strPath += "VCWizards/";
- strPath += window.external.GetHostLocale();
-
- // verify if the locale folder really exists
- var fso = new ActiveXObject("Scripting.FileSystemObject");
- var found = fso.FolderExists(strPath)
- if (found == false) {
- strPath = window.external.FindSymbol("PRODUCT_INSTALLATION_DIR");
- strPath += "VCWizards/";
- var folder = fso.GetFolder(strPath);
- for (subfolders = new Enumerator(folder.SubFolders); !subfolders.atEnd(); subfolders.moveNext()) {
- for (files = new Enumerator(subfolders.item().files); !files.atEnd(); files.moveNext()) {
- if (files.item().name.toLowerCase().localeCompare("common.js") == 0) {
- found = true;
- strPath += subfolders.item().name;
- break;
- }
- }
- if (found == true)
- break;
- }
- }
-
- var strScriptPath = strPath + "/Script.js";
- var strCommonPath = strPath + "/Common.js";
- document.scripts("INCLUDE_SCRIPT").src = strScriptPath;
- document.scripts("INCLUDE_COMMON").src = strCommonPath;
-</script>
diff --git a/Qt4VS2003/Projects/Qt5DesignerPluginProject/HTML/1033/default.htm b/Qt4VS2003/Projects/Qt5DesignerPluginProject/HTML/1033/default.htm
deleted file mode 100644
index 05b3deb8..00000000
--- a/Qt4VS2003/Projects/Qt5DesignerPluginProject/HTML/1033/default.htm
+++ /dev/null
@@ -1,531 +0,0 @@
-<html dir="ltr">
-<head>
- <title>'Qt5 Designer Plugin Project'</title>
- <meta content="http://schemas.microsoft.com/intellisense/ie5" name="vs_targetSchema">
- <link id="LINKURL" rel="stylesheet" href="../../1033/styles.css">
- <!-- -->
- <!-- The SYMBOL tag is used to set the default values for the user-defined symbols.-->
- <!-- -->
- <symbol name="WIZARD_DIALOG_TITLE" type="text" value="Qt5 Visual Studio Plugin Project Wizard"></symbol>
- <symbol name="THREED_MODULE" type="checkbox" value="false"></symbol>
- <symbol name="AQCONTAINER_MODULE" type="checkbox" value="false"></symbol>
- <symbol name="AQSERVER_MODULE" type="checkbox" value="false"></symbol>
- <symbol name="BLUETOOTH_MODULE" type="checkbox" value="false"></symbol>
- <symbol name="CONCURRENT_MODULE" type="checkbox" value="false"></symbol>
- <symbol name="CORE_MODULE" type="checkbox" value="true"></symbol>
- <symbol name="ENGINIO_MODULE" type="checkbox" value="false"></symbol>
- <symbol name="DECLARATIVE_MODULE" type="checkbox" value="false"></symbol>
- <symbol name="GUI_MODULE" type="checkbox" value="true"></symbol>
- <symbol name="HELP_MODULE" type="checkbox" value="false"></symbol>
- <symbol name="LOCATION_MODULE" type="checkbox" value="false"></symbol>
- <symbol name="MULTIMEDIA_MODULE" type="checkbox" value="false"></symbol>
- <symbol name="MULTIMEDIAWIDGETS_MODULE" type="checkbox" value="false"></symbol>
- <symbol name="NETWORK_MODULE" type="checkbox" value="false"></symbol>
- <symbol name="NFC_MODULE" type="checkbox" value="false"></symbol>
- <symbol name="OPENGL_MODULE" type="checkbox" value="false"></symbol>
- <symbol name="POSITIONING_MODULE" type="checkbox" value="false"></symbol>
- <symbol name="PRINTSUPPORT_MODULE" type="checkbox" value="false"></symbol>
- <symbol name="QML_MODULE" type="checkbox" value="false"></symbol>
- <symbol name="QUICK_MODULE" type="checkbox" value="false"></symbol>
- <symbol name="QUICKWIDGETS_MODULE" type="checkbox" value="false"></symbol>
- <symbol name="SCRIPT_MODULE" type="checkbox" value="false"></symbol>
- <symbol name="SCRIPTTOOLS_MODULE" type="checkbox" value="false"></symbol>
- <symbol name="SENSORS_MODULE" type="checkbox" value="false"></symbol>
- <symbol name="SERIALPORT_MODULE" type="checkbox" value="false"></symbol>
- <symbol name="SQL_MODULE" type="checkbox" value="false"></symbol>
- <symbol name="SVG_MODULE" type="checkbox" value="false"></symbol>
- <symbol name="TEST_MODULE" type="checkbox" value="false"></symbol>
- <symbol name="UITOOLS_MODULE" type="checkbox" value="false"></symbol>
- <symbol name="WEBCHANNEL_MODULE" type="checkbox" value="false"></symbol>
- <symbol name="WEBKIT_MODULE" type="checkbox" value="false"></symbol>
- <symbol name="WEBKITWIDGETS_MODULE" type="checkbox" value="false"></symbol>
- <symbol name="WEBSOCKETS_MODULE" type="checkbox" value="false"></symbol>
- <symbol name="WIDGETS_MODULE" type="checkbox" value="true"></symbol>
- <symbol name="WINDOWSEXTRAS_MODULE" type="checkbox" value="false"></symbol>
- <symbol name="XML_MODULE" type="checkbox" value="false"></symbol>
- <symbol name="XMLPATTERNS_MODULE" type="checkbox" value="false"></symbol>
- <symbol name="BASECLASS_TEXT" type="text" value="QWidget"></symbol>
- <symbol name="CLASSNAME_TEXT" type="text" value=""></symbol>
- <symbol name="HFILE_TEXT" type="text" value=""></symbol>
- <symbol name="CPPFILE_TEXT" type="text" value=""></symbol>
- <symbol name="PLUGIN_CLASSNAME_TEXT" type="text" value=""></symbol>
- <symbol name="PLUGIN_HFILE_TEXT" type="text" value=""></symbol>
- <symbol name="PLUGIN_CPPFILE_TEXT" type="text" value=""></symbol>
- <symbol name="APP_TYPE_SUMMARY" type="text" value="Qt5 GUI Project"></symbol>
-</head>
-<body onkeypress="OnPress();" onkeydown="OnKey();" bottommargin="0" bgcolor="buttonface"
- leftmargin="0" topmargin="0" onload="InitDocument(document);" rightmargin="0">
- <table class="ONE" height="100%" cellspacing="0" cellpadding="0" width="100%" border="0">
- <colgroup>
- <col width="178">
- <col>
- <!--OPEN OF INTRODUCTORY INFORMATION TABLE//-->
- <tr valign="top">
- <td width="100%" colspan="2" height="79">
- <table class="TWO" cellspacing="0" cellpadding="0" border="0">
- <colgroup>
- <col width="12">
- <col>
- <col width="12">
- <tr>
- <td valign="top" width="12" height="12">
- &nbsp;
- </td>
- <td valign="top" height="12">
- &nbsp;
- </td>
- <td valign="top" width="12" height="12">
- &nbsp;
- </td>
- <td class="IMAGE" valign="bottom" width="110" rowspan="2">
- <div class="SMALLA" id="Layer0">
- <img class="SMALLEST" height="63" alt="" src="../../Images/Qt5DesignerPluginProject.jpg"
- width="63" border="0">
- </div>
- </td>
- <td valign="top" width="6" height="12" rowspan="2">
- &nbsp;
- </td>
- </tr>
- <tr>
- <td valign="top" width="12" height="65">
- &nbsp;
- </td>
- <td valign="top" height="65">
- <h4 class="HEAD" id="HEAD">
- Welcome to the Qt5&nbsp; Designer plugin project wizard</h4>
- <p class="SUBHEAD" id="SUBHEAD">
- This wizard generates a form designer plugin which can be used in Qt5 Designer or
- Visual Studio.</p>
- </td>
- <td valign="top" width="12" height="65">
- &nbsp;
- </td>
- </tr>
- <tr>
- <td class="RULE" valign="top" colspan="5" height="2">
- <table height="1" cellspacing="0" cellpadding="0" width="100%" border="0">
- <tr valign="top">
- <td width="100%" bgcolor="buttonshadow" height="1">
- <img height="1" alt="" src="../../Images/spacer.gif" width="1">
- </td>
- <td width="1" bgcolor="window" height="1">
- <img height="1" alt="" src="../../Images/spacer.gif" width="1">
- </td>
- </tr>
- </table>
- </td>
- </tr>
- </table>
- </td>
- </tr>
- <!--CLOSE OF INTRODUCTORY INFORMATION TABLE//-->
- <!--OPEN OF NAVIGATION, CONTENT, AND BUTTON TABLES//-->
- <tr valign="top">
- <td class="THREE" valign="top" width="178" height="100%">
- <!--OPEN OF NAVIGATION TABLE//-->
- <table class="THREE" cellspacing="0" cellpadding="0" border="0">
- <colgroup>
- <col width="12">
- <col width="166">
- <col width="1">
- <tr>
- <td valign="top" colspan="3" height="12">
- &nbsp;
- </td>
- </tr>
- <tr>
- <td valign="top" width="12" height="100%">
- &nbsp;
- </td>
- <td valign="top" width="165" height="100%">
- <!--OPEN OF NAVIGATIONAL LINKS//-->
- <div class="LINKSELECTED">
- <span class="VERTLINE1">
- <img height="1" alt="" src="../../Images/spacer.gif" width="1" border="0">
- </span><span class="HORILINE1">
- <table height="100%" cellspacing="0" cellpadding="0" width="167" border="0">
- <tr valign="top">
- <td class="DOTTEDLINE" height="1">
- </td>
- </tr>
- <tr valign="top">
- <td height="100%">
- <img height="28" alt="" src="../../Images/spacer.gif" width="1" border="0">
- </td>
- </tr>
- <tr valign="top">
- <td class="DOTTEDLINE" height="1">
- </td>
- </tr>
- </table>
- </span>
- <table class="LINKTEXTSELECTED" height="28" cellspacing="0" cellpadding="0" width="160"
- border="0">
- <tr valign="middle">
- <td width="156">
- <span id="Page_1" title="" onclick="Next(document, 'default.htm');" tabindex="1">Overview</span>
- </td>
- <td width="4">
- <img height="1" src="../../Images/spacer.gif" width="4">
- </td>
- </tr>
- </table>
- </div>
- <div class="LINK">
- <table class="LINKTEXT" height="28" cellspacing="0" cellpadding="0" width="166" border="0">
- <tr valign="middle">
- <td width="162">
- <span class="ACTIVELINK" id="Page_2" title="" onclick="Next(document, 'Page_2.htm');"
- tabindex="1">Project Settings</span>
- </td>
- <td width="4">
- <img height="1" src="../../Images/spacer.gif" width="4">
- </td>
- </tr>
- </table>
- </div>
- <div class="LINK">
- <table class="LINKTEXT" height="28" cellspacing="0" cellpadding="0" width="166" border="0"
- id="Table1">
- <tr valign="middle">
- <td width="162">
- <span class="ACTIVELINK" id="Page_3" title="" onclick="Next(document, 'Page_3.htm');"
- tabindex="1">Generated Class</span>
- </td>
- <td width="4">
- <img height="1" src="../../Images/spacer.gif" width="4">
- </td>
- </tr>
- </table>
- </div>
- <!--CLOSE OF NAVIGATIONAL LINKS//-->
- </td>
- <td width="1">
- <div class="VERTLINE">
- <img height="1" alt="" src="../../Images/spacer.gif" width="1" border="0">
- </div>
- </td>
- </tr>
- </table>
- <!--CLOSE OF NAVIGATION TABLE//-->
- </td>
- <td valign="top" height="100%">
- <!--OPEN OF CONTENT AND BUTTON TABLE//-->
- <table class="ONE" cellspacing="0" cellpadding="0" border="0">
- <colgroup>
- <col width="100%">
- <tr valign="top">
- <td height="100%">
- <!--OPEN OF CONTENT//-->
- <table class="CONTENT" cellspacing="0" cellpadding="0" border="0">
- <colgroup>
- <col width="12">
- <col width="185">
- <col width="12">
- <col width="185">
- <col width="12">
- <col width="185">
- <col width="12">
- <tr>
- <td valign="top" colspan="5" height="12">
- &nbsp;
- </td>
- </tr>
- <tr valign="top">
- <td valign="top" width="12">
- &nbsp;
- </td>
- <td valign="top" colspan="3">
- <p>
- <span class="ItemTextTop" id="PROJECT_SETTINGS_SPAN">These are currently selected Qt
- modules:</span></p>
- <p>
- <span class="ItemTextTop"></span><span class="ItemText" id="QTMODULES" title="">
- </span>
- </p>
- <p>
- <span class="ItemText" title=""></span><span class="ItemText" id="FinishText">Click
- <b>Finish</b> from any window to accept the current settings.</span>
- </p>
- </td>
- <td valign="top" width="12">
- &nbsp;
- </td>
- </tr>
- <tr>
- <td valign="top" colspan="7" height="100%">
- &nbsp;
- </td>
- </tr>
- </table>
- <!--CLOSE OF CONTENT//-->
- </td>
- </tr>
- <tr valign="bottom">
- <td height="48">
- <!--OPEN OF BUTTON HTML//-->
- <table height="48" cellspacing="0" cellpadding="0" border="0">
- <colgroup>
- <col width="12">
- <col>
- <col width="75">
- <col width="4">
- <col width="75">
- <col width="4">
- <col width="75">
- <col width="12">
- <tr>
- <td class="RULE" valign="top" colspan="8" height="2">
- <table height="1" cellspacing="0" cellpadding="0" width="100%" border="0">
- <tr valign="top">
- </tr>
- </table>
- </td>
- </tr>
- <tr>
- <td valign="top" colspan="8" height="11">
- &nbsp;
- </td>
- </tr>
- <tr>
- <td valign="middle" width="12" height="23">
- &nbsp;
- </td>
- <td valign="top" height="23">
- &nbsp;
- </td>
- <td valign="middle" width="75" height="23">
- <button class="BUTTONS" id="FinishBtn" accesskey="F" onclick="OnFinish(document);"
- type="button">
- <u>F</u>inish</button>
- </td>
- <td valign="middle" width="4" height="23">
- &nbsp;
- </td>
- <td valign="middle" width="75" height="23">
- <button class="BUTTONS" id="CancelBtn" accesskey="C" onclick="window.external.Finish(document, 'cancel');"
- type="button">
- <u>C</u>ancel</button>
- </td>
- <td valign="middle" width="4" height="23">
- &nbsp;
- </td>
- <td valign="middle" width="75" height="23">
- <button class="BUTTONS" id="HelpBtn" disabled accesskey="H" onclick="window.external.OnHelp('vc.appwiz.custom.overview');"
- type="button">
- <u>H</u>elp</button>
- </td>
- <td valign="middle" width="12" height="23">
- &nbsp;
- </td>
- </tr>
- <tr>
- <td valign="top" colspan="8" height="12">
- &nbsp;
- </td>
- </tr>
- </table>
- <!--CLOSE OF BUTTON HTML//-->
- </td>
- </tr>
- </table>
- <!--CLOSE OF NAVIGATION, CONTENT, AND BUTTON TABLES//-->
- </td>
- </tr>
- </table>
-</body>
-</html>
-<script language="JSCRIPT">
-
- var tab_array = new Array();
- tab_array[0] = Page_1;
- tab_array[1] = Page_2;
-
- // This is an example of a function which initializes the page
- //
- function InitDocument(document) {
- setDirection();
-
- if (window.external.FindSymbol('DOCUMENT_FIRST_LOAD')) {
- // This function sets the default symbols based
- // on the values specified in the SYMBOL tags above
- //
- window.external.SetDefaults(document);
- UpdateFields();
- }
-
- // Load the document and initialize the controls
- // with the appropriate symbol values
- //
- window.external.Load(document);
- InitControls();
- }
-
- function UpdateFields() {
- var regexp = /\s/g;
- var proName = window.external.FindSymbol('PROJECT_NAME').replace(regexp, "");
- regexp = /[pP][lL][uU][gG][iI][nN]$/;
- proName = proName.replace(regexp, "");
-
- if (!window.external.dte.VCLanguageManager.ValidateIdentifier(proName) ||
- window.external.dte.VCLanguageManager.IsReservedName(proName)) {
- window.external.AddSymbol("CLASSNAME_TEXT", "MyClass"); // fall back on myclass
- window.external.AddSymbol("HFILE_TEXT", "myclass.h");
- window.external.AddSymbol("CPPFILE_TEXT", "myclass.cpp");
- window.external.AddSymbol("PLUGIN_CLASSNAME_TEXT", "MyClassPlugin");
- window.external.AddSymbol("PLUGIN_HFILE_TEXT", "myclassplugin.h");
- window.external.AddSymbol("PLUGIN_CPPFILE_TEXT", "myclassplugin.cpp");
- } else {
- window.external.AddSymbol("CLASSNAME_TEXT", proName);
- window.external.AddSymbol("HFILE_TEXT", proName.toLowerCase() + ".h");
- window.external.AddSymbol("CPPFILE_TEXT", proName.toLowerCase() + ".cpp");
- window.external.AddSymbol("PLUGIN_CLASSNAME_TEXT", proName + "Plugin");
- window.external.AddSymbol("PLUGIN_HFILE_TEXT", proName.toLowerCase() + "plugin.h");
- window.external.AddSymbol("PLUGIN_CPPFILE_TEXT", proName.toLowerCase() + "plugin.cpp");
- }
- }
-
- function InitControls() {
- var strModules = "";
-
- // Essentials
- if (window.external.FindSymbol('THREED_MODULE'))
- strModules += "3D, ";
- if (window.external.FindSymbol('CORE_MODULE'))
- strModules += "Core, ";
- if (window.external.FindSymbol('GUI_MODULE'))
- strModules += "GUI, ";
- if (window.external.FindSymbol('LOCATION_MODULE'))
- strModules += "Location, ";
- if (window.external.FindSymbol('MULTIMEDIA_MODULE'))
- strModules += "Multimedia, ";
- if (window.external.FindSymbol('MULTIMEDIAWIDGETS_MODULE'))
- strModules += "Multimedia Widgets, ";
- if (window.external.FindSymbol('NETWORK_MODULE'))
- strModules += "Network, ";
- if (window.external.FindSymbol('QML_MODULE'))
- strModules += "Qml, ";
- if (window.external.FindSymbol('QUICK_MODULE'))
- strModules += "Quick, ";
- if (window.external.FindSymbol('SQL_MODULE'))
- strModules += "SQL, ";
- if (window.external.FindSymbol('TEST_MODULE'))
- strModules += "Test, ";
- if (window.external.FindSymbol('WEBKIT_MODULE'))
- strModules += "WebKit, ";
-
- // Add-ons
- // Active Qt better split to server and container
- if (window.external.FindSymbol('AQSERVER_MODULE'))
- strModules += "ActiveQt Server, ";
- if (window.external.FindSymbol('AQCONTAINER_MODULE'))
- strModules += "ActiveQt Container, ";
-
- if (window.external.FindSymbol('BLUETOOTH_MODULE'))
- strModules += "Bluetooth, ";
- if (window.external.FindSymbol('CONCURRENT_MODULE'))
- strModules += "Concurrent, ";
- if (window.external.FindSymbol('DECLARATIVE_MODULE'))
- strModules += "Declarative, ";
- if (window.external.FindSymbol('ENGINIO_MODULE'))
- strModules += "Enginio, ";
- if (window.external.FindSymbol('HELP_MODULE'))
- strModules += "Help, ";
- if (window.external.FindSymbol('NFC_MODULE'))
- strModules += "NFC, ";
- if (window.external.FindSymbol('OPENGL_MODULE'))
- strModules += "OpenGL, ";
- if (window.external.FindSymbol('POSITIONING_MODULE'))
- strModules += "Positioning, ";
- if (window.external.FindSymbol('PRINTSUPPORT_MODULE'))
- strModules += "Print Support, ";
- if (window.external.FindSymbol('QUICKWIDGETS_MODULE'))
- strModules += "Quick Widgets, ";
- if (window.external.FindSymbol('SCRIPT_MODULE'))
- strModules += "Script, ";
- if (window.external.FindSymbol('SCRIPTTOOLS_MODULE'))
- strModules += "Script Tools, ";
- if (window.external.FindSymbol('SENSORS_MODULE'))
- strModules += "Sensors, ";
- if (window.external.FindSymbol('SERIALPORT_MODULE'))
- strModules += "Serial Port, ";
- if (window.external.FindSymbol('SVG_MODULE'))
- strModules += "SVG, ";
- if (window.external.FindSymbol('UITOOLS_MODULE'))
- strModules += "UI Tools, ";
- if (window.external.FindSymbol('WEBCHANNEL_MODULE'))
- strModules += "Web Channel, ";
- if (window.external.FindSymbol('WEBKITWIDGETS_MODULE'))
- strModules += "Webkit Widgets, ";
- if (window.external.FindSymbol('WEBSOCKETS_MODULE'))
- strModules += "Web Sockets, ";
- if (window.external.FindSymbol('WIDGETS_MODULE'))
- strModules += "Widgets, ";
- if (window.external.FindSymbol('WINDOWSEXTRAS_MODULE'))
- strModules += "Windows Extras, ";
- if (window.external.FindSymbol('XML_MODULE'))
- strModules += "XML, ";
- if (window.external.FindSymbol('XMLPATTERNS_MODULE'))
- strModules += "XML Patterns, ";
-
- if (strModules.length < 1)
- strModules = "None selected";
- else
- strModules = strModules.slice(0, strModules.length - 2);
-
- QTMODULES.innerText = strModules;
- }
-
- // If the wizard has more than 1 page, this
- // function will browse to the page specified
- //
- function Next(document, linkto) {
- window.external.Next(document, linkto);
- }
-
- // This is an example of a function which
- // gets called when the user clicks on 'Finish'
- //
- function OnFinish(document) {
- OnWizFinish(document);
- }
-
-</script>
-<script language="JSCRIPT" id="INCLUDE_SCRIPT"></script>
-<script language="JSCRIPT" id="INCLUDE_COMMON"></script>
-<!--
-Common.js is a script file which contains the helper functions
-used by the wizards. Include this line if you want to
-call these functions from your html scripts.
-//-->
-<script>
- var strPath = window.external.FindSymbol("PRODUCT_INSTALLATION_DIR");
- strPath += "VCWizards/";
- strPath += window.external.GetHostLocale();
-
- // verify if the locale folder really exists
- var fso = new ActiveXObject("Scripting.FileSystemObject");
- var found = fso.FolderExists(strPath)
- if (found == false) {
- strPath = window.external.FindSymbol("PRODUCT_INSTALLATION_DIR");
- strPath += "VCWizards/";
- var folder = fso.GetFolder(strPath);
- for (subfolders = new Enumerator(folder.SubFolders); !subfolders.atEnd(); subfolders.moveNext()) {
- for (files = new Enumerator(subfolders.item().files); !files.atEnd(); files.moveNext()) {
- if (files.item().name.toLowerCase().localeCompare("common.js") == 0) {
- found = true;
- strPath += subfolders.item().name;
- break;
- }
- }
- if (found == true)
- break;
- }
- }
-
- var strScriptPath = strPath + "/Script.js";
- var strCommonPath = strPath + "/Common.js";
- document.scripts("INCLUDE_SCRIPT").src = strScriptPath;
- document.scripts("INCLUDE_COMMON").src = strCommonPath;
-</script>
diff --git a/Qt4VS2003/Projects/Qt5DesignerPluginProject/Images/Qt5DesignerPluginProject.jpg b/Qt4VS2003/Projects/Qt5DesignerPluginProject/Images/Qt5DesignerPluginProject.jpg
deleted file mode 100644
index c95946d3..00000000
--- a/Qt4VS2003/Projects/Qt5DesignerPluginProject/Images/Qt5DesignerPluginProject.jpg
+++ /dev/null
Binary files differ
diff --git a/Qt4VS2003/Projects/Qt5DesignerPluginProject/Qt5DesignerPluginProject.ico b/Qt4VS2003/Projects/Qt5DesignerPluginProject/Qt5DesignerPluginProject.ico
deleted file mode 100644
index 6d826384..00000000
--- a/Qt4VS2003/Projects/Qt5DesignerPluginProject/Qt5DesignerPluginProject.ico
+++ /dev/null
Binary files differ
diff --git a/Qt4VS2003/Projects/Qt5DesignerPluginProject/Qt5DesignerPluginProject.vcproj b/Qt4VS2003/Projects/Qt5DesignerPluginProject/Qt5DesignerPluginProject.vcproj
deleted file mode 100644
index 2eaee23f..00000000
--- a/Qt4VS2003/Projects/Qt5DesignerPluginProject/Qt5DesignerPluginProject.vcproj
+++ /dev/null
@@ -1,166 +0,0 @@
-<?xml version="1.0" encoding="Windows-1252"?>
-<VisualStudioProject
- ProjectType="Visual C++"
- Version="7.10"
- Name="Qt5DesignerPluginProject"
- ProjectGUID="{AB6B3B4B-75BD-4E32-B795-56E3FEBA40E2}"
- Keyword="CustomAppWizProj">
- <Platforms>
- <Platform
- Name="Win32"/>
- </Platforms>
- <Configurations>
- <Configuration
- Name="Debug|Win32"
- OutputDirectory="$(SolutionDir)$(ConfigurationName)"
- IntermediateDirectory="$(ConfigurationName)"
- ConfigurationType="1">
- <Tool
- Name="VCCLCompilerTool"/>
- <Tool
- Name="VCCustomBuildTool"/>
- <Tool
- Name="VCLinkerTool"/>
- <Tool
- Name="VCMIDLTool"/>
- <Tool
- Name="VCPostBuildEventTool"/>
- <Tool
- Name="VCPreBuildEventTool"/>
- <Tool
- Name="VCPreLinkEventTool"/>
- <Tool
- Name="VCResourceCompilerTool"/>
- <Tool
- Name="VCWebServiceProxyGeneratorTool"/>
- <Tool
- Name="VCXMLDataGeneratorTool"/>
- <Tool
- Name="VCWebDeploymentTool"/>
- <Tool
- Name="VCManagedWrapperGeneratorTool"/>
- <Tool
- Name="VCAuxiliaryManagedWrapperGeneratorTool"/>
- </Configuration>
- <Configuration
- Name="Release|Win32"
- IntermediateDirectory="$(ConfigurationName)"
- ConfigurationType="1">
- <Tool
- Name="VCCLCompilerTool"/>
- <Tool
- Name="VCCustomBuildTool"/>
- <Tool
- Name="VCLinkerTool"/>
- <Tool
- Name="VCMIDLTool"/>
- <Tool
- Name="VCPostBuildEventTool"/>
- <Tool
- Name="VCPreBuildEventTool"/>
- <Tool
- Name="VCPreLinkEventTool"/>
- <Tool
- Name="VCResourceCompilerTool"/>
- <Tool
- Name="VCWebServiceProxyGeneratorTool"/>
- <Tool
- Name="VCXMLDataGeneratorTool"/>
- <Tool
- Name="VCWebDeploymentTool"/>
- <Tool
- Name="VCManagedWrapperGeneratorTool"/>
- <Tool
- Name="VCAuxiliaryManagedWrapperGeneratorTool"/>
- </Configuration>
- </Configurations>
- <References>
- </References>
- <Files>
- <Filter
- Name="Template Files"
- Filter="txt">
- <File
- RelativePath=".\Templates\1033\mywidget.cpp">
- <FileConfiguration
- Name="Debug|Win32"
- ExcludedFromBuild="TRUE">
- <Tool
- Name="VCCLCompilerTool"/>
- </FileConfiguration>
- </File>
- <File
- RelativePath=".\Templates\1033\mywidget.h">
- <FileConfiguration
- Name="Debug|Win32"
- ExcludedFromBuild="TRUE">
- <Tool
- Name="VCCustomBuildTool"/>
- </FileConfiguration>
- </File>
- <File
- RelativePath=".\plugin.cpp">
- </File>
- <File
- RelativePath=".\plugin.h">
- </File>
- </Filter>
- <Filter
- Name="HTML Files"
- Filter="htm">
- <File
- RelativePath=".\Html\1033\default.htm"
- DeploymentContent="TRUE">
- </File>
- <File
- RelativePath=".\Html\1033\Page_2.htm"
- DeploymentContent="TRUE">
- </File>
- <File
- RelativePath=".\Html\1033\Page_3.htm"
- DeploymentContent="TRUE">
- <FileConfiguration
- Name="Debug|Win32"
- ExcludedFromBuild="TRUE">
- <Tool
- Name="VCCustomBuildTool"/>
- </FileConfiguration>
- </File>
- </Filter>
- <Filter
- Name="Image Files"
- Filter="bmp">
- <File
- RelativePath=".\Images\Qt5DesignerPluginProject.gif">
- </File>
- <File
- RelativePath=".\Images\Qt5DesignerPluginProject_Background.gif">
- </File>
- </Filter>
- <Filter
- Name="Script Files"
- Filter="js">
- <File
- RelativePath=".\Scripts\1033\default.js">
- </File>
- </Filter>
- <Filter
- Name="Miscellaneous Files"
- Filter="vsz;vsdir;ico;vcproj;csproj;css;inf">
- <File
- RelativePath=".\Qt5DesignerPluginProject.ico">
- </File>
- <File
- RelativePath=".\Qt5DesignerPluginProject.vsdir">
- </File>
- <File
- RelativePath=".\Qt5DesignerPluginProject.vsz">
- </File>
- <File
- RelativePath=".\1033\styles.css">
- </File>
- </Filter>
- </Files>
- <Globals>
- </Globals>
-</VisualStudioProject>
diff --git a/Qt4VS2003/Projects/Qt5DesignerPluginProject/Qt5DesignerPluginProject.vsdir b/Qt4VS2003/Projects/Qt5DesignerPluginProject/Qt5DesignerPluginProject.vsdir
deleted file mode 100644
index 65960e4d..00000000
--- a/Qt4VS2003/Projects/Qt5DesignerPluginProject/Qt5DesignerPluginProject.vsdir
+++ /dev/null
@@ -1 +0,0 @@
-Qt5DesignerPluginProject.vsz| |Qt5 Designer Plugin|1|Creates a form designer plugin which can be used in Qt5 Designer or Visual Studio.| | |4096|Project
diff --git a/Qt4VS2003/Projects/Qt5DesignerPluginProject/Qt5DesignerPluginProject.vsz b/Qt4VS2003/Projects/Qt5DesignerPluginProject/Qt5DesignerPluginProject.vsz
deleted file mode 100644
index ace5882c..00000000
--- a/Qt4VS2003/Projects/Qt5DesignerPluginProject/Qt5DesignerPluginProject.vsz
+++ /dev/null
@@ -1,6 +0,0 @@
-VSWIZARD 7.0
-Wizard=VsWizard.VsWizardEngine.9.0
-
-Param="WIZARD_NAME = Qt5DesignerPluginProject"
-Param="ABSOLUTE_PATH = C:\Program Files (x86)\Digia\Qt4VSAddin\wizards\Qt5DesignerPluginProject"
-Param="FALLBACK_LCID = 1033" \ No newline at end of file
diff --git a/Qt4VS2003/Projects/Qt5DesignerPluginProject/Scripts/1033/default.js b/Qt4VS2003/Projects/Qt5DesignerPluginProject/Scripts/1033/default.js
deleted file mode 100644
index 2ffd9d73..00000000
--- a/Qt4VS2003/Projects/Qt5DesignerPluginProject/Scripts/1033/default.js
+++ /dev/null
@@ -1,190 +0,0 @@
-var QtEngine;
-
-function GetNameFromFile(strFile) {
- var nPos = strFile.lastIndexOf(".");
- return strFile.substr(0, nPos);
-}
-
-function OnFinish(selProj, selObj) {
- try {
- // load right project engine
- var dte = wizard.dte;
- var version = dte.version;
- if (version == "8.0")
- QtEngine = new ActiveXObject("Digia.Qt5ProjectEngine80");
- else if (version == "9.0")
- QtEngine = new ActiveXObject("Digia.Qt5ProjectEngine90");
- else if (version == "10.0")
- QtEngine = new ActiveXObject("Digia.Qt5ProjectEngine100");
- else if (version == "11.0")
- QtEngine = new ActiveXObject("Digia.Qt5ProjectEngine110");
- else if (version == "12.0")
- QtEngine = new ActiveXObject("Digia.Qt5ProjectEngine120");
-
- var strProjectPath = wizard.FindSymbol('PROJECT_PATH');
- var strProjectName = wizard.FindSymbol('PROJECT_NAME');
- var strSolutionName = wizard.FindSymbol('VS_SOLUTION_NAME');
- var strTemplatePath = wizard.FindSymbol('TEMPLATES_PATH') + "\\";
- var bExclusive = wizard.FindSymbol("CLOSE_SOLUTION");
-
- var vcfileTmp;
- var fileTmp;
- var strClass = wizard.FindSymbol('CLASSNAME_TEXT');
- var strBaseClass = wizard.FindSymbol('BASECLASS_TEXT');
- var strHeader = wizard.FindSymbol('HFILE_TEXT');
- var strSource = wizard.FindSymbol('CPPFILE_TEXT');
- var strPluginClass = wizard.FindSymbol('PLUGIN_CLASSNAME_TEXT');
- var strPluginHeader = wizard.FindSymbol('PLUGIN_HFILE_TEXT');
- var strPluginSource = wizard.FindSymbol('PLUGIN_CPPFILE_TEXT');
- var bPrecompiled = wizard.FindSymbol('PRECOMPILED_HEADERS');
-
- var regexp = /\W/g;
- var strDef = strHeader.toUpperCase().replace(regexp, "_");
- var strPluginDef = strPluginHeader.toUpperCase().replace(regexp, "_");
-
- var strObjName = strClass;
- var rexp = new RegExp(/^\S/);
- var firstChar = rexp.exec(strObjName).toString().toLowerCase();
- strObjName = strObjName.replace(rexp, firstChar);
-
- QtEngine.CreatePluginProject(wizard.dte, strProjectName,
- strProjectPath, strSolutionName, bExclusive, bPrecompiled);
-
- // add the selected modules to the project
- AddModules();
-
- var strHeaderInclude = strHeader;
- if (bPrecompiled) {
- strHeaderInclude = "stdafx.h\"\n#include \"" + strHeader;
- fileTmp = QtEngine.CopyFileToProjectFolder(strTemplatePath + "stdafx.cpp", "stdafx.cpp");
- QtEngine.AddFileToProject(fileTmp, "QT_SOURCE_FILTER");
-
- fileTmp = QtEngine.CopyFileToProjectFolder(strTemplatePath + "stdafx.h", "stdafx.h");
- QtEngine.AddFileToProject(fileTmp, "QT_HEADER_FILTER");
- }
-
- // mywidget.cpp
- fileTmp = QtEngine.CopyFileToProjectFolder(strTemplatePath + "mywidget.cpp", strSource);
- QtEngine.ReplaceTokenInFile(fileTmp, "%INCLUDE%", strHeaderInclude);
- QtEngine.ReplaceTokenInFile(fileTmp, "%CLASS%", strClass);
- QtEngine.ReplaceTokenInFile(fileTmp, "%BASECLASS%", strBaseClass);
- QtEngine.AddFileToProject(fileTmp, "QT_SOURCE_FILTER");
-
- // mywidget.h
- fileTmp = QtEngine.CopyFileToProjectFolder(strTemplatePath + "mywidget.h", strHeader);
- QtEngine.ReplaceTokenInFile(fileTmp, "%HEADER_PRE_DEF%", strDef);
- QtEngine.ReplaceTokenInFile(fileTmp, "%CLASS%", strClass);
- QtEngine.ReplaceTokenInFile(fileTmp, "%BASECLASS%", strBaseClass);
- vcfileTmp = QtEngine.AddFileToProject(fileTmp, "QT_HEADER_FILTER");
-
- // plugin.cpp
- fileTmp = QtEngine.CopyFileToProjectFolder(strTemplatePath + "plugin.cpp", strPluginSource);
- QtEngine.ReplaceTokenInFile(fileTmp, "%PLUGIN_INCLUDE%", strPluginHeader);
- QtEngine.ReplaceTokenInFile(fileTmp, "%INCLUDE%", strHeaderInclude);
- QtEngine.ReplaceTokenInFile(fileTmp, "%HEADERFILE%", strHeader);
- QtEngine.ReplaceTokenInFile(fileTmp, "%PLUGIN_CLASS%", strPluginClass);
- QtEngine.ReplaceTokenInFile(fileTmp, "%CLASS%", strClass);
- QtEngine.ReplaceTokenInFile(fileTmp, "%OBJNAME%", strObjName);
- QtEngine.ReplaceTokenInFile(fileTmp, "%DLLNAME%", strProjectName.toLowerCase());
- QtEngine.AddFileToProject(fileTmp, "QT_SOURCE_FILTER");
-
- // plugin.h
- fileTmp = QtEngine.CopyFileToProjectFolder(strTemplatePath + "plugin.h", strPluginHeader);
- QtEngine.ReplaceTokenInFile(fileTmp, "%PLUGIN_HEADER_PRE_DEF%", strPluginDef);
- QtEngine.ReplaceTokenInFile(fileTmp, "%PLUGIN_CLASS%", strPluginClass);
- QtEngine.ReplaceTokenInFile(fileTmp, "%PLUGIN_JSON%", strPluginClass.toLowerCase());
- vcfileTmp = QtEngine.AddFileToProject(fileTmp, "QT_HEADER_FILTER");
-
- // plugin.json
- fileTmp = QtEngine.CopyFileToProjectFolder(strTemplatePath + "plugin.json", strPluginClass.toLowerCase() + ".json");
- vcfileTmp = QtEngine.AddFileToProject(fileTmp, "QT_OTHER_FILTER");
-
- QtEngine.Finish();
- }
- catch (e) {
- if (e.description.length != 0)
- SetErrorInfo(e);
- return e.number
- }
-}
-
-function AddModules() {
- // Essential modules
- if (wizard.FindSymbol('THREED_MODULE'))
- QtEngine.AddModule("Qt3D");
- if (wizard.FindSymbol('CORE_MODULE'))
- QtEngine.AddModule("QtCore");
- if (wizard.FindSymbol('GUI_MODULE'))
- QtEngine.AddModule("QtGui");
- if (wizard.FindSymbol('LOCATION_MODULE'))
- QtEngine.AddModule("QtLocation");
- if (wizard.FindSymbol('MULTIMEDIA_MODULE'))
- QtEngine.AddModule("QtMultimedia");
- if (wizard.FindSymbol('MULTIMEDIAWIDGETS_MODULE'))
- QtEngine.AddModule("QtMultimediaWidgets");
- if (wizard.FindSymbol('NETWORK_MODULE'))
- QtEngine.AddModule("QtNetwork");
- if (wizard.FindSymbol('QML_MODULE'))
- QtEngine.AddModule("QtQml");
- if (wizard.FindSymbol('QUICK_MODULE'))
- QtEngine.AddModule("QtQuick");
- if (wizard.FindSymbol('SQL_MODULE'))
- QtEngine.AddModule("QtSql");
- if (wizard.FindSymbol('TEST_MODULE'))
- QtEngine.AddModule("QtTest");
- if (wizard.FindSymbol('WEBKIT_MODULE'))
- QtEngine.AddModule("QtWebKit"); // ??
-
- // Add-on modules
- // Active Qt better split to server and container
- if (wizard.FindSymbol('AQCONTAINER_MODULE'))
- QtEngine.AddModule("QtAxContainer");
- if (wizard.FindSymbol('AQSERVER_MODULE'))
- QtEngine.AddModule("QtAxServer");
- if (wizard.FindSymbol('BLUETOOTH_MODULE'))
- QtEngine.AddModule("QtBluetooth");
- if (wizard.FindSymbol('CONCURRENT_MODULE'))
- QtEngine.AddModule("QtConcurrent");
- if (wizard.FindSymbol('DECLARATIVE_MODULE'))
- QtEngine.AddModule("QtDeclarative");
- if (wizard.FindSymbol('ENGINIO_MODULE'))
- QtEngine.AddModule("Enginio");
- if (wizard.FindSymbol('HELP_MODULE'))
- QtEngine.AddModule("QtHelp");
- if (wizard.FindSymbol('NFC_MODULE'))
- QtEngine.AddModule("QtNfc");
- if (wizard.FindSymbol('OPENGL_MODULE'))
- QtEngine.AddModule("QtOpenGL");
- if (wizard.FindSymbol('POSITIONING_MODULE'))
- QtEngine.AddModule("QtPositioning");
- if (wizard.FindSymbol('PRINTSUPPORT_MODULE'))
- QtEngine.AddModule("QtPrintSupport");
- if (wizard.FindSymbol('QUICKWIDGETS_MODULE'))
- QtEngine.AddModule("QtQuickWidgets");
- if (wizard.FindSymbol('SCRIPT_MODULE'))
- QtEngine.AddModule("QtScript");
- if (wizard.FindSymbol('SCRIPTTOOLS_MODULE'))
- QtEngine.AddModule("QtScriptTools");
- if (wizard.FindSymbol('SENSORS_MODULE'))
- QtEngine.AddModule("QtSensors");
- if (wizard.FindSymbol('SERIALPORT_MODULE'))
- QtEngine.AddModule("QtSerialPort");
- if (wizard.FindSymbol('SVG_MODULE'))
- QtEngine.AddModule("QtSvg");
- if (wizard.FindSymbol('UITOOLS_MODULE'))
- QtEngine.AddModule("QtUiTools");
- if (wizard.FindSymbol('WEBCHANNEL_MODULE'))
- QtEngine.AddModule("QtWebChannel");
- if (wizard.FindSymbol('WEBKITWIDGETS_MODULE'))
- QtEngine.AddModule("QtWebkitWidgets"); // ??
- if (wizard.FindSymbol('WEBSOCKETS_MODULE'))
- QtEngine.AddModule("QtWebSockets");
- if (wizard.FindSymbol('WIDGETS_MODULE'))
- QtEngine.AddModule("QtWidgets");
- if (wizard.FindSymbol('WINDOWSEXTRAS_MODULE'))
- QtEngine.AddModule("QtWinExtras");
- if (wizard.FindSymbol('XML_MODULE'))
- QtEngine.AddModule("QtXml");
- if (wizard.FindSymbol('XMLPATTERNS_MODULE'))
- QtEngine.AddModule("QtXmlPatterns");
-}
diff --git a/Qt4VS2003/Projects/Qt5DesignerPluginProject/Templates/1033/mywidget.cpp b/Qt4VS2003/Projects/Qt5DesignerPluginProject/Templates/1033/mywidget.cpp
deleted file mode 100644
index e6117419..00000000
--- a/Qt4VS2003/Projects/Qt5DesignerPluginProject/Templates/1033/mywidget.cpp
+++ /dev/null
@@ -1,12 +0,0 @@
-#include "%INCLUDE%"
-
-%CLASS%::%CLASS%(QWidget *parent)
- : %BASECLASS%(parent)
-{
-
-}
-
-%CLASS%::~%CLASS%()
-{
-
-}
diff --git a/Qt4VS2003/Projects/Qt5DesignerPluginProject/Templates/1033/mywidget.h b/Qt4VS2003/Projects/Qt5DesignerPluginProject/Templates/1033/mywidget.h
deleted file mode 100644
index 4e13c317..00000000
--- a/Qt4VS2003/Projects/Qt5DesignerPluginProject/Templates/1033/mywidget.h
+++ /dev/null
@@ -1,16 +0,0 @@
-#ifndef %HEADER_PRE_DEF%
-#define %HEADER_PRE_DEF%
-
-#include <QtWidgets/%BASECLASS%>
-
-class %CLASS% : public %BASECLASS%
-{
- Q_OBJECT
-
-public:
- %CLASS%(QWidget *parent = 0);
- ~%CLASS%();
-
-};
-
-#endif // %HEADER_PRE_DEF%
diff --git a/Qt4VS2003/Projects/Qt5DesignerPluginProject/Templates/1033/plugin.cpp b/Qt4VS2003/Projects/Qt5DesignerPluginProject/Templates/1033/plugin.cpp
deleted file mode 100644
index 8c59ac4b..00000000
--- a/Qt4VS2003/Projects/Qt5DesignerPluginProject/Templates/1033/plugin.cpp
+++ /dev/null
@@ -1,79 +0,0 @@
-#include "%INCLUDE%"
-
-#include <QtCore/QtPlugin>
-#include "%PLUGIN_INCLUDE%"
-
-
-%PLUGIN_CLASS%::%PLUGIN_CLASS%(QObject *parent)
- : QObject(parent)
-{
- initialized = false;
-}
-
-void %PLUGIN_CLASS%::initialize(QDesignerFormEditorInterface * /*core*/)
-{
- if (initialized)
- return;
-
- initialized = true;
-}
-
-bool %PLUGIN_CLASS%::isInitialized() const
-{
- return initialized;
-}
-
-QWidget *%PLUGIN_CLASS%::createWidget(QWidget *parent)
-{
- return new %CLASS%(parent);
-}
-
-QString %PLUGIN_CLASS%::name() const
-{
- return "%CLASS%";
-}
-
-QString %PLUGIN_CLASS%::group() const
-{
- return "My Plugins";
-}
-
-QIcon %PLUGIN_CLASS%::icon() const
-{
- return QIcon();
-}
-
-QString %PLUGIN_CLASS%::toolTip() const
-{
- return QString();
-}
-
-QString %PLUGIN_CLASS%::whatsThis() const
-{
- return QString();
-}
-
-bool %PLUGIN_CLASS%::isContainer() const
-{
- return false;
-}
-
-QString %PLUGIN_CLASS%::domXml() const
-{
- return "<widget class=\"%CLASS%\" name=\"%OBJNAME%\">\n"
- " <property name=\"geometry\">\n"
- " <rect>\n"
- " <x>0</x>\n"
- " <y>0</y>\n"
- " <width>100</width>\n"
- " <height>100</height>\n"
- " </rect>\n"
- " </property>\n"
- "</widget>\n";
-}
-
-QString %PLUGIN_CLASS%::includeFile() const
-{
- return "%HEADERFILE%";
-}
-
diff --git a/Qt4VS2003/Projects/Qt5DesignerPluginProject/Templates/1033/plugin.h b/Qt4VS2003/Projects/Qt5DesignerPluginProject/Templates/1033/plugin.h
deleted file mode 100644
index 40d4df4e..00000000
--- a/Qt4VS2003/Projects/Qt5DesignerPluginProject/Templates/1033/plugin.h
+++ /dev/null
@@ -1,31 +0,0 @@
-#ifndef %PLUGIN_HEADER_PRE_DEF%
-#define %PLUGIN_HEADER_PRE_DEF%
-
-#include <QtDesigner/QDesignerCustomWidgetInterface>
-
-class %PLUGIN_CLASS% : public QObject, public QDesignerCustomWidgetInterface
-{
- Q_OBJECT
- Q_PLUGIN_METADATA(IID "org.qt-project.Qt.QDesignerCustomWidgetInterface" FILE "%PLUGIN_JSON%.json")
- Q_INTERFACES(QDesignerCustomWidgetInterface)
-
-public:
- %PLUGIN_CLASS%(QObject *parent = 0);
-
- bool isContainer() const;
- bool isInitialized() const;
- QIcon icon() const;
- QString domXml() const;
- QString group() const;
- QString includeFile() const;
- QString name() const;
- QString toolTip() const;
- QString whatsThis() const;
- QWidget *createWidget(QWidget *parent);
- void initialize(QDesignerFormEditorInterface *core);
-
-private:
- bool initialized;
-};
-
-#endif // %PLUGIN_HEADER_PRE_DEF% \ No newline at end of file
diff --git a/Qt4VS2003/Projects/Qt5DesignerPluginProject/Templates/1033/plugin.json b/Qt4VS2003/Projects/Qt5DesignerPluginProject/Templates/1033/plugin.json
deleted file mode 100644
index 0967ef42..00000000
--- a/Qt4VS2003/Projects/Qt5DesignerPluginProject/Templates/1033/plugin.json
+++ /dev/null
@@ -1 +0,0 @@
-{}
diff --git a/Qt4VS2003/Projects/Qt5DesignerPluginProject/Templates/1033/stdafx.cpp b/Qt4VS2003/Projects/Qt5DesignerPluginProject/Templates/1033/stdafx.cpp
deleted file mode 100644
index 1577c4e3..00000000
--- a/Qt4VS2003/Projects/Qt5DesignerPluginProject/Templates/1033/stdafx.cpp
+++ /dev/null
@@ -1 +0,0 @@
-#include "stdafx.h" \ No newline at end of file
diff --git a/Qt4VS2003/Projects/Qt5DesignerPluginProject/Templates/1033/stdafx.h b/Qt4VS2003/Projects/Qt5DesignerPluginProject/Templates/1033/stdafx.h
deleted file mode 100644
index 6a418984..00000000
--- a/Qt4VS2003/Projects/Qt5DesignerPluginProject/Templates/1033/stdafx.h
+++ /dev/null
@@ -1 +0,0 @@
-#include <QtWidgets> \ No newline at end of file
diff --git a/Qt4VS2003/Projects/Qt5GuiProject/1033/styles.css b/Qt4VS2003/Projects/Qt5GuiProject/1033/styles.css
deleted file mode 100644
index 730bade4..00000000
--- a/Qt4VS2003/Projects/Qt5GuiProject/1033/styles.css
+++ /dev/null
@@ -1,574 +0,0 @@
-/******************************************************************************/
-/*DEFAULT STYLES FOR ALL SECTIONS**********************************************/
-/******************************************************************************/
-body { font-family: Tahoma, Verdana, Arial, Sans Serif;
- font-weight: normal;
- font-size: 8pt;
- color: buttontext;
- background-color: buttonface;
- margin-top: 0px;
- margin-left: 0px;
- margin-right: 0px;
- margin-bottom: 0px;
- overflow: visible; }
-
-a:link { color: captiontext;
- text-decoration: none; }
-
-a:visited { color: captiontext;
- text-decoration: none; }
-
-a:active { color: captiontext;
- text-decoration: none; }
-
-a:hover { color: captiontext;
- text-decoration: underline; }
-
-table { font-family: Tahoma, Verdana, Arial, Sans Serif;
- font-weight: normal;
- font-size: 8pt;
- color: buttontext;
- width: 100%; }
-
-td.addon_disabled { color: #808080; }
-
-table.one { table-layout: fixed;
- height: 100%;
- width: 100%; }
-
-
-/*DEFAULT STYLES FOR THE 'INTRODUCTION' TABLE**********************************/
-/******************************************************************************/
-
-table.two { table-layout: fixed;
- height: 79px;
- width: 100%;
- background-color: window; }
-
-td.image { text-align: right; }
-
-td.rule { background-color: window; }
-
-h1.head { font-weight: bold;
- font-size: 10pt;
- color: windowtext;
- margin-top: -3px; }
-
-p.subhead { color: windowtext;
- margin-top: -12px;
- margin-left: 10px; }
-
-img.smallest { background-color: #a6ce39;
- z-index: 1; }
-
-img.small { z-index: 1; }
-
-/*DEFAULT STYLES FOR THE 'NAVIGATION' TABLE************************************/
-/******************************************************************************/
-
-table.three { table-layout: fixed;
- height: 100%;
- width: 178px; }
-
-td.three { background-attachment: fixed;
- background-repeat: no-repeat;
- background-position: bottom left;
- background-color: #66b036; }
-
-td.dottedline { background: url(Images/DottedHori.gif) repeat; }
-
-table.linktextselected { font-weight: bold;
- width: 157px;
- height: 30px;
- position: relative;
- left: 10px;
- z-index: 2; }
-
-table.linktextselectedindent { font-weight: bold;
- width: 148px;
- height: 30px;
- position: relative;
- left: 18px;
- z-index: 2; }
-
-table.linktext { width: 157px;
- height: 30px;
- position: relative;
- left: 10px;
- z-index: 2; }
-
-table.linktextindent { width: 148px;
- height: 30px;
- position: relative;
- left: 18px;
- z-index: 2; }
-
-div.linkselected { background-color: buttonface;
- height: 30px;
- width: 166px;
- position: relative;
- left: 0px;
- right: 0px;
- z-index: 1; }
-
-div.link { height: 30px;
- width: 166px;
- position: relative;
- left: 0px;
- right: 0px;
- z-index: 1; }
-
-div.vertline { background: url(Images/DottedVert.gif) repeat;
- height: 125%;
- width: 1px;
- position: relative;
- top: -12px;
- left: -1px; }
-
-span.vertline1 { background: url(Images/DottedVert.gif) repeat;
- height: 100%;
- width: 1px;
- position: absolute;
- top: 0px;
- left: -1px;
- bottom: 0px;
- z-index: 2; }
-
-span.horiline1 { height: 30px;
- width: 166px;
- position: absolute;
- top: -1px;
- left: -1px;
- bottom: -1px;
- z-index: 2; }
-
-span.activelink { color: captiontext;
- text-decoration: none;
- cursor: hand; }
-
-span.activelink2 { color: captiontext;
- text-decoration: underline;
- cursor: hand; }
-
-span.inactivelink { color: buttonface;
- text-decoration: none;
- cursor: default; }
-
-
-/*DEFAULT STYLES FOR THE ALL BUTTONS AND THE 'BUTTONS' TABLE*******************/
-/******************************************************************************/
-
-button { font-family: Tahoma, Verdana, Arial, Sans Serif;
- font-weight: normal;
- font-size: 8pt;
- height: 23px;
- cursor: hand; }
-
-.buttons { width: 75px; }
-
-/*DEFAULT STYLES FOR THE 'CONTENT' TABLE***************************************/
-/******************************************************************************/
-
-table.content { table-layout: fixed;
- height: 100%;
- width: 422px; }
-
-table.content1 { table-layout: fixed;
- height: 100%;
- width: 398px; }
-
-table.content2 { table-layout: fixed;
- height: 100%;
- width: 193px; }
-
-ol { font-family: Tahoma, Verdana, Arial, Sans Serif;
- font-weight: normal;
- font-size: 8pt;
- color: buttontext;
- margin-top: -1px;
- margin-bottom: 16px; }
-
-ul { font-family: Tahoma, Verdana, Arial, Sans Serif;
- font-weight: normal;
- font-size: 8pt;
- color: buttontext;
- margin-top: -1px;
- margin-bottom: 16px; }
-
-li { font-family: Tahoma, Verdana, Arial, Sans Serif;
- font-weight: normal;
- font-size: 8pt;
- color: buttontext;
- position: relative;
- left: -15px;
- margin-bottom: 1px; }
-
-span.itemtext { position: relative;
- top: -3px; }
-
-span.itemtextindent { position: relative;
- left: 17px;
- top: -3px; }
-
-span.itemtextindentA { position: relative;
- left: 25px;
- top: -3px; }
-
-span.itemtextindent1 { position: relative;
- left: 8px;
- top: -3px; }
-
-span.sidebtnhidden { width: 100%;
- margin-top: 3px;
- margin-bottom: 0px; }
-
-div.itemtextradioB { position: relative;
- top: -19px;
- left: 25px;
- margin-bottom: -25px; }
-
-div.itemtextradioindentA { position: relative;
- top: -17px;
- left: 30px;
- margin-bottom: -25px; }
-
-div.itemtextradioindentB { position: relative;
- top: -19px;
- left: 42px;
- margin-bottom: -25px; }
-
-div.itemtextcheckboxA { position: relative;
- top: -17px;
- left: 17px;
- margin-bottom: -23px; }
-
-div.itemtextcheckboxB { position: relative;
- top: -18px;
- left: 25px;
- margin-bottom: -25px; }
-
-div.itemtextcheckboxindentB { position: relative;
- top: -16px;
- left: 42px;
- margin-bottom: -25px; }
-
-div.inlineA { position: relative;
- top: 4px;
- width: 100%;
- height:1px;
- border-top: solid buttonshadow 1px; }
-
-div.inlineB { position: relative;
- top: -9px;
- margin-bottom: -20px;
- width: 100%;
- height:1px;
- border-top: solid threedhighlight 1px; }
-
-input { font-family: Tahoma, Verdana, Arial, Sans Serif;
- font-weight: normal;
- font-size: 8pt;
- color: buttontext; }
-
-.radio { position: relative;
- top: -2px;
- left: 4px; }
-
-.radioIndentA { margin-top: -2px;
- margin-left: 9px; }
-
-.radioIndent { margin-top: -2px;
- margin-left: 17px; }
-
-.checkboxA { position: relative;
- top: -2px;
- left: 4px; }
-
-.checkbox { position: relative;
- top: -1px;
- margin-left: -4px;
- z-index: 2; }
-
-.checkboxIndent { margin-top: -1px;
- margin-left: 21px; }
-
-.comment { width: 566px;
- position: relative;
- top: 5px;
- left: 8px;
- bottom: 6px; }
-
-.comment2 { width: 391px;
- position: relative;
- top: 5px;
- left: 8px;
- bottom: 6px; }
-
-/****THIS IS THE STANDARD INPUT BOX********************************************/
-input.sidebtn { width: 173px;
- position: relative;
- top: 5px;
- left: 8px; }
-
-/****THIS IS AN INPUT BOX INDENTED UNDER A CHECKBOX SECTION*******************/
-input.sidebtnIndent { width: 163px;
- position: relative;
- top: 5px;
- left: 18px;
- bottom: 6px; }
-
-/****THIS INPUT BOX HAS IS INDENTED UNDER A HEADING AND RULE SECTION***********/
-input.sidebtnB { width: 164px;
- position: relative;
- top: 5px;
- left: 8px;
- bottom: 6px; }
-
-/****THIS INPUT BOX HAS A "..." BUTTON BESIDE IT*******************************/
-input.sidebtn2 { width: 149px;
- position: relative;
- top: 5px;
- left: 8px;
- bottom: 6px; }
-
-/****THIS INPUT BOX HAS A "..." BUTTON BESIDE IT AND IT'S UNDER A CHECKBOX*****/
-input.sidebtn2Indent { width: 139px;
- position: relative;
- top: 5px;
- left: 18px;
- bottom: 6px; }
-
-input.sidebtn21 { width: 141px;
- position: relative;
- top: 5px;
- left: 8px;
- bottom: 6px; }
-
-input.sidebtn2Long { width: 253px;
- position: relative;
- top: 5px;
- left: 8px;
- bottom: 6px; }
-
-input.sidebtn2A { width: 140px;
- position: relative;
- top: 5px;
- left: 8px;
- bottom: 6px; }
-
-input.sidebtn2B { width: 156px;
- position: relative;
- top: 6px;
- left: 8px;
- bottom: 0px;
- margin-bottom: -3px; }
-
-select { font-family: Tahoma, Verdana, Arial, Sans Serif;
- font-weight: normal;
- font-size: 8pt;
- color: buttontext; }
-
-/****THIS IS THE STANDARD SELECTION BOX****************************************/
-select.sidebtn { width: 173px;
- position: relative;
- top: 6px;
- left: 8px;
- bottom: 0px;
- margin-bottom: -3px; }
-
-/****THIS IS THE STANDARD SELECTION BOX****************************************/
-span.sidebtn { position: relative;
- top: 6px;
- left: 8px;
- bottom: 0px;
- margin-bottom: -3px; }
-
-/****THIS IS THE STANDARD SELECTION BOX****************************************/
-span.itemtextspecial { position: relative;
- top: -20px;
- left: 16px;
- bottom: 0px;
- margin-bottom: -3px; }
-
-/****THIS IS THE STANDARD SELECTION BOX****************************************/
-span.sidebtnspecial { position: relative;
- top: -2px;
- left: 54px;
- bottom: 0px;
- margin-bottom: -3px; }
-
-/****THIS SELECTION BOX IS INDENTED UNDER A HEADING AND RULE SECTION***********/
-select.sidebtnB { width: 164px;
- position: relative;
- top: 6px;
- left: 8px;
- bottom: 0px;
- margin-bottom: -3px; }
-
-/****THIS SELECTION BOX IS BELOW AND ASSOCIATED WITH A CHECKBOX****************/
-select.sidebtn2 { width: 164px;
- position: relative;
- top: 13px;
- left: 17px;
- bottom: 0px;
- margin-bottom: -3px; }
-
-/****THIS SELECTION BOX IS BELOW AND ASSOCIATED WITH A CHECKBOX AND HEADING****/
-select.sidebtn2A { width: 156px;
- position: relative;
- top: 13px;
- left: 25px;
- bottom: 0px;
- margin-bottom: -3px; }
-
-/****THIS SELECTION BOX IS BELOW AND ASSOCIATED WITH A CHECKBOX AND HEADING****/
-select.sidebtn2ALong { width: 277px;
- position: relative;
- top: 6px;
- left: 25px;
- bottom: 0px;
- margin-bottom: -3px; }
-
-select.sidebtn2B { width: 156px;
- position: relative;
- top: 6px;
- left: 8px;
- bottom: 0px;
- margin-bottom: -3px; }
-
-/****THIS SELECTION BOX HAS "..." BUTTONS BESIDE THEM**************************/
-select.sidebtn2C { width: 149px;
- position: relative;
- top: 5px;
- left: 8px;
- bottom: 6px; }
-
-select.sidebtn2CLong { width: 253px;
- position: relative;
- top: 5px;
- left: 8px;
- bottom: 6px; }
-
-select.sidebtn3 { width: 150px;
- position: relative;
- top: 6px;
- bottom: 0px;
- margin-bottom: -3px; }
-
-/****THIS SELECTION BOX IS FOR HORIZONTAL ADD/REMOVE SECTIONS******************/
-select.sidebtn4Long { width: 574px;
- position: relative;
- top: 6px;
- left: 8px;
- bottom: 0px;
- margin-bottom: -3px; }
-
-object.itemtext { font-family: Tahoma, Verdana, Arial, Sans Serif;
- font-weight: normal;
- font-size: 8pt;
- color: buttontext;
- width: 173px;
- height: 19px;
- position: relative;
- top: 6px;
- left: 8px;
- margin-bottom: 2px; }
-
-.dropdowncombo { font-family: Tahoma, Verdana, Arial, Sans Serif;
- font-weight: normal;
- font-size: 8pt;
- color: buttontext; }
-
-/****THIS DEFINES A STANDARD BUTTON IN THE CONTENT SECTION*********************/
-.buttonclass { margin-top: 2px;
- margin-left: 8px;
- margin-bottom: -6px;
- padding: 2px; }
-
-/****THIS DEFINES ADD/REMOVE BUTTONS IN THE CONTENT SECTION********************/
-.buttonclass2 { margin-top: 8px;
- margin-left: 8px;
- z-index: 1;
- cursor: hand; }
-
-/****THIS DEFINES A "..." BUTTON IN THE CONTENT SECTION************************/
-.buttonclass3 { height: 19px;
- width: 20px;
- position: relative;
- top: 2px; }
-
-/****THIS DEFINES A "..." BUTTON IN THE CONTENT SECTION AND UNDER A CHECKBOX***/
-.buttonclass3Indent { height: 19px;
- width: 20px;
- position: relative;
- top: 2px;
- left: 10px; }
-
-.buttonclass31 { height: 19px;
- width: 20px;
- position: relative;
- top: 2px;
- left:8px; }
-
-.buttonclass3A { height: 19px;
- width: 20px;
- position: relative;
- top: 5px; }
-
-/****THIS DEFINES A ">>" BUTTON IN THE CONTENT SECTION************************/
-.buttonclass4 { margin-bottom: 4px;
- width: 75px;
- height: 23px; }
-
-/****THIS DEFINES ADD/REMOVE BUTTONS HORIZONTALLY IN THE CONTENT SECTION******/
-.buttonclass5 { margin-left: 4px; }
-
-/****THIS DEFINES FIRST ADD/REMOVE BUTTONS HORIZONTALLY IN CONTENT SECTION****/
-.buttonclass5A { margin-left: 8px; }
-
-/****THIS SETS THE LEFT MARGIN FOR THE REMOVE BUTTON***************************/
-#removebtn { margin-left: 4px; }
-
-
-
-/****THIS SETS THE LEFT MARGIN FOR INDENTED SECTION UNDER CHECKBOXES***********/
-label.indent { margin-left: 18px; }
-
-/****THIS SETS THE LEFT MARGIN FOR INDENTED SECTION UNDER CHECKBOXES***********/
-label.indent2 { margin-left: 26px; }
-
-
-/****THESE ARE CUSTOM SPACING ELEMENTS*****************************************/
-p.spacer { margin-bottom: -28px; }
-
-p.elementspacer { margin-bottom: -12px; }
-
-p.elementspacer2 { margin-bottom: -19px; }
-
-p.elementspacer3 { margin-bottom: -3px; }
-
-p.elementspacer4 { margin-bottom: 7px; }
-
-p.elementspacer5 { margin-bottom: 5px; }
-
-p.elementspacer6 { margin-bottom: -24px; }
-
-p.elementspacer7 { margin-bottom: -11px; }
-
-p.elementspacer8 { margin-bottom: -14px; }
-
-p.elementspacer9 { margin-bottom: -7px; }
-
-p.elementspacer10 { margin-bottom: 6px; }
-
-p.elementspacer11 { margin-bottom: 22px; }
-
-p.elementspacer12 { margin-bottom: -17px; }
-
-p.elementspacer13 { margin-bottom: -23px; }
-
-p.elementspacer14 { margin-bottom: -25px; }
-
-
-/*CUSTOM STYLES FOR THE 'CONTENT' FRAME****************************************/
-/******************************************************************************/
diff --git a/Qt4VS2003/Projects/Qt5GuiProject/HTML/1031/Page_2.htm b/Qt4VS2003/Projects/Qt5GuiProject/HTML/1031/Page_2.htm
deleted file mode 100644
index 2948ff46..00000000
--- a/Qt4VS2003/Projects/Qt5GuiProject/HTML/1031/Page_2.htm
+++ /dev/null
@@ -1,565 +0,0 @@
-<html dir="ltr">
-<head>
- <title>'Qt5GuiProject'</title>
- <meta content="http://schemas.microsoft.com/intellisense/ie5" name="vs_targetSchema">
- <link id="LINKURL" rel="stylesheet" href="../../1033/styles.css">
-</head>
-<body onkeypress="OnPress();" onkeydown="OnKey();" bottommargin="0" bgcolor="buttonface"
- leftmargin="0" topmargin="0" onload="InitDocument(document);" rightmargin="0">
- <table class="ONE" height="100%" cellspacing="0" cellpadding="0" width="100%" border="0">
- <colgroup>
- <col width="178">
- <col>
- <!--OPEN OF INTRODUCTORY INFORMATION TABLE//-->
- <tr valign="top">
- <td width="100%" colspan="2" height="79">
- <table class="TWO" cellspacing="0" cellpadding="0" border="0">
- <colgroup>
- <col width="12">
- <col>
- <col width="12">
- <tr>
- <td valign="top" width="12" height="12">
- &nbsp;
- </td>
- <td valign="top" height="12">
- &nbsp;
- </td>
- <td valign="top" width="12" height="12">
- &nbsp;
- </td>
- <td class="IMAGE" valign="bottom" width="110" rowspan="2">
- <div class="SMALLA" id="Layer0">
- <img class="SMALLEST" height="63" alt="" src="..\..\Images\Qt5GuiProject.jpg" width="63"
- border="0">
- </div>
- </td>
- <td valign="top" width="6" height="12" rowspan="2">
- &nbsp;
- </td>
- </tr>
- <tr>
- <td valign="top" width="12" height="65">
- &nbsp;
- </td>
- <td valign="top" height="65">
- <h4 class="HEAD" id="HEAD">
- Willkommen zum Qt5&nbsp;GUI Projektwizard</h4>
- <p class="SUBHEAD" id="SUBHEAD">
- Dieser Wizard erstellt ein&nbsp;Qt5&nbsp;GUI&nbsp;Anwendungsprojekt. Die&nbsp; Anwendung&nbsp;ist
- vererbt von QApplication und beinhaltet ein leeres Widget.</p>
- </td>
- <td valign="top" width="12" height="65">
- &nbsp;
- </td>
- </tr>
- <tr>
- <td class="RULE" valign="top" colspan="5" height="2">
- <table height="1" cellspacing="0" cellpadding="0" width="100%" border="0">
- <tr valign="top">
- <td width="100%" bgcolor="buttonshadow" height="1">
- <img height="1" alt="" src="../../Images/spacer.gif" width="1">
- </td>
- <td width="1" bgcolor="window" height="1">
- <img height="1" alt="" src="../../Images/spacer.gif" width="1">
- </td>
- </tr>
- </table>
- </td>
- </tr>
- </table>
- </td>
- </tr>
- <!--CLOSE OF INTRODUCTORY INFORMATION TABLE//-->
- <!--OPEN OF NAVIGATION, CONTENT, AND BUTTON TABLES//-->
- <tr valign="top">
- <td class="THREE" valign="top" width="178" height="100%">
- <!--OPEN OF NAVIGATION TABLE//-->
- <table class="THREE" cellspacing="0" cellpadding="0" border="0">
- <colgroup>
- <col width="12">
- <col width="166">
- <col width="1">
- <tr>
- <td valign="top" colspan="3" height="12">
- &nbsp;
- </td>
- </tr>
- <tr>
- <td valign="top" width="12" height="100%">
- &nbsp;
- </td>
- <td valign="top" width="165" height="100%">
- <!--OPEN OF NAVIGATIONAL LINKS//-->
- <div class="LINK">
- <table class="LINKTEXT" height="28" cellspacing="0" cellpadding="0" width="166" border="0">
- <tr valign="middle">
- <td width="162">
- <span class="ACTIVELINK" id="Default" title="" onclick="Next(document, 'default.htm');"
- tabindex="1">bersicht</span>
- </td>
- <td width="4">
- <img height="1" src="../../Images/spacer.gif" width="4">
- </td>
- </tr>
- </table>
- </div>
- <div class="LINKSELECTED">
- <span class="VERTLINE1">
- <img height="1" alt="" src="../../Images/spacer.gif" width="1" border="0">
- </span><span class="HORILINE1">
- <table height="100%" cellspacing="0" cellpadding="0" width="167" border="0">
- <tr valign="top">
- <td class="DOTTEDLINE" height="1">
- </td>
- </tr>
- <tr valign="top">
- <td height="100%">
- <img height="28" alt="" src="../../Images/spacer.gif" width="1" border="0">
- </td>
- </tr>
- <tr valign="top">
- <td class="DOTTEDLINE" height="1">
- </td>
- </tr>
- </table>
- </span>
- <table class="LINKTEXTSELECTED" height="28" cellspacing="0" cellpadding="0" width="160"
- border="0">
- <tr valign="middle">
- <td width="162">
- <span id="Page_2" title="" onclick="Next(document, 'Page_2.htm');" tabindex="1">Projekteinstellungen</span>
- </td>
- <td width="4">
- <img height="1" src="../../Images/spacer.gif" width="4">
- </td>
- </tr>
- </table>
- </div>
- <div class="LINK">
- <table class="LINKTEXT" height="28" cellspacing="0" cellpadding="0" width="166" border="0"
- id="Table1">
- <tr valign="middle">
- <td width="162">
- <span class="ACTIVELINK" id="Page_3" title="" onclick="Next(document, 'Page_3.htm');"
- tabindex="1">Generierte Klassen</span>
- </td>
- <td width="4">
- <img height="1" src="../../Images/spacer.gif" width="4">
- </td>
- </tr>
- </table>
- </div>
- <!--CLOSE OF NAVIGATIONAL LINKS//-->
- </td>
- <td width="1">
- <div class="VERTLINE">
- <img height="1" alt="" src="../../Images/spacer.gif" width="1" border="0">
- </div>
- </td>
- </tr>
- </table>
- <!--CLOSE OF NAVIGATION TABLE//-->
- </td>
- <td valign="top" height="100%">
- <!--OPEN OF CONTENT AND BUTTON TABLE//-->
- <table class="ONE" cellspacing="0" cellpadding="0" border="0">
- <colgroup>
- <col width="100%">
- <tr valign="top">
- <td valign="top" height="100%">
- <!--OPEN OF CONTENT//-->
- <table class="CONTENT" cellspacing="0" cellpadding="0" border="0">
- <colgroup>
- <tr>
- <td width="12" height="12">
- </td>
- <td height="12">
- </td>
- <td height="12">
- </td>
- <td height="12">
- </td>
- <td width="12" height="12">
- </td>
- </tr>
- <tr>
- <td valign="top" width="12">
- </td>
- <td valign="top" colspan="3">
- <p>
- Selektieren Sie die Module, die zum Projekt hinzugefgt werden sollen. Die empfohlenen
- Module sind bereits ausgewhlt.</p>
- <!--<P>&nbsp;</P>-->
- </td>
- <td valign="top" width="12">
- </td>
- </tr>
- <tr>
- <td width="12" height="12">
- </td>
- <td height="12">
- </td>
- <td height="12">
- </td>
- <td height="12">
- </td>
- <td width="12" height="12">
- </td>
- </tr>
-<!-- {ADB367FB-48AA-488e-9102-B037297CFCDB} -->
-<!-- -->
-<!-- START. GENERATED WITH SCRIPT, DO NOT EDIT -->
-<!-- -->
-<tr><td valign="top" width="12"></td><td valign="top" colspan="3"></td><td valign="top" width="12"></td></tr>
-<tr>
-<td valign="top" width="12"></td>
-<td valign="top"><input id="THREED_MODULE" title="Select this if you want to include the 3D library" type="checkbox" name="THREED_MODULE_NAME">&nbsp;3D</td>
-<td valign="top"><input id="NETWORK_MODULE" title="Select this if you want to include the Network library" type="checkbox" name="NETWORK_MODULE_NAME">&nbsp;Network</td>
-<td valign="top"><input id="SVG_MODULE" title="Select this if you want to include the SVG library" type="checkbox" name="SVG_MODULE_NAME">&nbsp;SVG</td>
-<td valign="top" width="12"></td>
-</tr>
-<tr>
-<td valign="top" width="12"></td>
-<td valign="top"><input id="AQCONTAINER_MODULE" title="Select this if you want to include the ActiveQt container library" type="checkbox" name="AQCONTAINER_MODULE_NAME">&nbsp;ActiveQt container&nbsp;</td>
-<td valign="top"><input id="NFC_MODULE" title="Select this if you want to include the NFC library" type="checkbox" name="NFC_MODULE_NAME">&nbsp;NFC</td>
-<td valign="top"><input id="TEST_MODULE" title="Select this if you want to include the Test library" type="checkbox" name="TEST_MODULE_NAME">&nbsp;Test</td>
-<td valign="top" width="12"></td>
-</tr>
-<tr>
-<td valign="top" width="12"></td>
-<td valign="top"><input id="AQSERVER_MODULE" title="Select this if you want to include the ActiveQt server library" type="checkbox" name="AQSERVER_MODULE_NAME">&nbsp;ActiveQt&nbsp;server&nbsp;</td>
-<td valign="top"><input id="OPENGL_MODULE" title="Select this if you want to include the OpenGL library" type="checkbox" name="OPENGL_MODULE_NAME">&nbsp;OpenGL</td>
-<td valign="top"><input id="UITOOLS_MODULE" title="Select this if you want to include the UI Tools" type="checkbox" name="UITOOLS_MODULE_NAME">&nbsp;UI Tools</td>
-<td valign="top" width="12"></td>
-</tr>
-<tr>
-<td valign="top" width="12"></td>
-<td valign="top"><input id="BLUETOOTH_MODULE" title="Select this if you want to include the Bluetooth library" type="checkbox" name="BLUETOOTH_MODULE_NAME">&nbsp;Bluetooth</td>
-<td valign="top"><input id="POSITIONING_MODULE" title="Select this if you want to include the Positioning library" type="checkbox" name="POSITIONING_MODULE_NAME">&nbsp;Positioning</td>
-<td valign="top"><input id="WEBCHANNEL_MODULE" title="Select this if you want to include the Web Channel library" type="checkbox" name="WEBCHANNEL_MODULE_NAME">&nbsp;Web Channel</td>
-<td valign="top" width="12"></td>
-</tr>
-<tr>
-<td valign="top" width="12"></td>
-<td valign="top"><input id="CONCURRENT_MODULE" title="Select this if you want to include the Concurrent library" type="checkbox" name="CONCURRENT_MODULE_NAME">&nbsp;Concurrent</td>
-<td valign="top"><input id="PRINTSUPPORT_MODULE" title="Select this if you want to include the Print Support library" type="checkbox" name="PRINTSUPPORT_MODULE_NAME">&nbsp;Print Support</td>
-<td valign="top"><input id="WEBKIT_MODULE" title="Select this if you want to include the WebKit library" type="checkbox" name="WEBKIT_MODULE_NAME">&nbsp;WebKit</td>
-<td valign="top" width="12"></td>
-</tr>
-<tr>
-<td valign="top" width="12"></td>
-<td valign="top"><input id="CORE_MODULE" title="Select this if you want to include the core library" type="checkbox" name="CORE_MODULE_NAME">&nbsp;Core</td>
-<td valign="top"><input id="QML_MODULE" title="Select this if you want to include the QML library" type="checkbox" name="QML_MODULE_NAME">&nbsp;QML</td>
-<td valign="top"><input id="WEBKITWIDGETS_MODULE" title="Select this if you want to include the Webkit Widgets library" type="checkbox" name="WEBKITWIDGETS_MODULE_NAME">&nbsp;Webkit Widgets</td>
-<td valign="top" width="12"></td>
-</tr>
-<tr>
-<td valign="top" width="12"></td>
-<td valign="top"><input id="ENGINIO_MODULE" title="Select this if you want to include the Enginio library" type="checkbox" name="ENGINIO_MODULE_NAME">&nbsp;Enginio</td>
-<td valign="top"><input id="QUICK_MODULE" title="Select this if you want to include the Quick library" type="checkbox" name="QUICK_MODULE_NAME">&nbsp;Quick</td>
-<td valign="top"><input id="WEBSOCKETS_MODULE" title="Select this if you want to include the Web Sockets library" type="checkbox" name="WEBSOCKETS_MODULE_NAME">&nbsp;Web Sockets</td>
-<td valign="top" width="12"></td>
-</tr>
-<tr>
-<td valign="top" width="12"></td>
-<td valign="top"><input id="DECLARATIVE_MODULE" title="Select this if you want to include the Declarative library" type="checkbox" name="DECLARATIVE_MODULE_NAME">&nbsp;Declarative</td>
-<td valign="top"><input id="QUICKWIDGETS_MODULE" title="Select this if you want to include the Quick Widgets library" type="checkbox" name="QUICKWIDGETS_MODULE_NAME">&nbsp;Quick Widgets</td>
-<td valign="top"><input id="WIDGETS_MODULE" title="Select this if you want to include the Widgets library" type="checkbox" name="WIDGETS_MODULE_NAME">&nbsp;Widgets</td>
-<td valign="top" width="12"></td>
-</tr>
-<tr>
-<td valign="top" width="12"></td>
-<td valign="top"><input id="GUI_MODULE" title="Select this if you want to include the GUI library" type="checkbox" name="GUI_MODULE_NAME">&nbsp;GUI</td>
-<td valign="top"><input id="SCRIPT_MODULE" title="Select this if you want to include the Script library" type="checkbox" name="SCRIPT_MODULE_NAME">&nbsp;Script</td>
-<td valign="top"><input id="WINDOWSEXTRAS_MODULE" title="Select this if you want to include the Windows Extras library" type="checkbox" name="WINDOWSEXTRAS_MODULE_NAME">&nbsp;Windows Extras</td>
-<td valign="top" width="12"></td>
-</tr>
-<tr>
-<td valign="top" width="12"></td>
-<td valign="top"><input id="HELP_MODULE" title="Select this if you want to include the Help library" type="checkbox" name="HELP_MODULE_NAME">&nbsp;Help</td>
-<td valign="top"><input id="SCRIPTTOOLS_MODULE" title="Select this if you want to include the Script Tools" type="checkbox" name="SCRIPTTOOLS_MODULE_NAME">&nbsp;Script Tools</td>
-<td valign="top"><input id="XML_MODULE" title="Select this if you want to include the XML library" type="checkbox" name="XML_MODULE_NAME">&nbsp;XML</td>
-<td valign="top" width="12"></td>
-</tr>
-<tr>
-<td valign="top" width="12"></td>
-<td valign="top"><input id="LOCATION_MODULE" title="Select this if you want to include the Location library" type="checkbox" name="LOCATION_MODULE_NAME">&nbsp;Location</td>
-<td valign="top"><input id="SENSORS_MODULE" title="Select this if you want to include the Sensors library" type="checkbox" name="SENSORS_MODULE_NAME">&nbsp;Sensors</td>
-<td valign="top"><input id="XMLPATTERNS_MODULE" title="Select this if you want to include the XML Patterns library" type="checkbox" name="XMLPATTERNS_MODULE_NAME">&nbsp;XML Patterns</td>
-<td valign="top" width="12"></td>
-</tr>
-<tr>
-<td valign="top" width="12"></td>
-<td valign="top"><input id="MULTIMEDIA_MODULE" title="Select this if you want to include the Multimedia library" type="checkbox" name="MULTIMEDIA_MODULE_NAME">&nbsp;Multimedia</td>
-<td valign="top"><input id="SERIALPORT_MODULE" title="Select this if you want to include the Serial Port library" type="checkbox" name="SERIALPORT_MODULE_NAME">&nbsp;Serial Port</td>
-<td valign="top" width="12"></td>
-<td valign="top" width="12"></td>
-</tr>
-<tr>
-<td valign="top" width="12"></td>
-<td valign="top"><input id="MULTIMEDIAWIDGETS_MODULE" title="Select this if you want to include the Multimedia Widgets library" type="checkbox" name="MULTIMEDIAWIDGETS_MODULE_NAME">&nbsp;Multimedia Widgets</td>
-<td valign="top"><input id="SQL_MODULE" title="Select this if you want to include the SQL library" type="checkbox" name="SQL_MODULE_NAME">&nbsp;SQL</td>
-<td valign="top" width="12"></td>
-<td valign="top" width="12"></td>
-</tr>
-<!-- -->
-<!-- END. GENERATED WITH SCRIPT, DO NOT EDIT -->
-<!-- -->
-<!-- {ADB367FB-48AA-488e-9102-B037297CFCDB} -->
-
-
-
-
- <tr>
- <td valign="top" width="12">
- </td>
- <td valign="top" colspan="3">
- <p>
- &nbsp;</p>
- </td>
- <td valign="top" width="12">
- </td>
- </tr>
- <tr>
- <td valign="top" width="12" height="100%">
- </td>
- <td valign="top" height="100%">
- </td>
- <td valign="top" height="100%">
- </td>
- <td valign="top" height="100%">
- </td>
- <td valign="top" width="12" height="100%">
- </td>
- </tr>
- </table>
- <!--CLOSE OF CONTENT//-->
- </TD> </TR>
- <tr valign="bottom">
- <td height="48">
- <!--OPEN OF BUTTON HTML//-->
- <table height="48" cellspacing="0" cellpadding="0" border="0">
- <colgroup>
- <col width="12">
- <col>
- <col width="75">
- <col width="4">
- <col width="75">
- <col width="4">
- <col width="75">
- <col width="12">
- <tr>
- <td class="RULE" valign="top" colspan="8" height="2">
- <table height="1" cellspacing="0" cellpadding="0" width="100%" border="0">
- <tr valign="top">
- </tr>
- </table>
- </td>
- </tr>
- <tr>
- <td valign="top" colspan="8" height="11">
- &nbsp;
- </td>
- </tr>
- <tr>
- <td valign="middle" width="12" height="23">
- &nbsp;
- </td>
- <td valign="top" height="23">
- &nbsp;
- </td>
- <td valign="middle" width="75" height="23">
- <button class="BUTTONS" id="FinishBtn" accesskey="B" onclick="OnFinish(document);"
- type="button">
- <u>B</u>eenden</button>
- </td>
- <td valign="middle" width="4" height="23">
- &nbsp;
- </td>
- <td valign="middle" width="75" height="23">
- <button class="BUTTONS" id="CancelBtn" accesskey="A" onclick="window.external.Finish(document, 'cancel');"
- type="button">
- <u>A</u>bbrechen</button>
- </td>
- <td valign="middle" width="4" height="23">
- &nbsp;
- </td>
- <td valign="middle" width="75" height="23">
- <button class="BUTTONS" id="HelpBtn" disabled accesskey="H" onclick="window.external.OnHelp('vc.appwiz.custom.overview');"
- type="button">
- <u>H</u>ilfe</button>
- </td>
- <td valign="middle" width="12" height="23">
- &nbsp;
- </td>
- </tr>
- <tr>
- <td valign="top" colspan="8" height="12">
- &nbsp;
- </td>
- </tr>
- </table>
- <!--CLOSE OF BUTTON HTML//-->
- </td>
- </tr>
- </TABLE>
- <!--CLOSE OF NAVIGATION, CONTENT, AND BUTTON TABLES//-->
- </TD> </TR> </TABLE>
-</body>
-</html>
-<script language="JSCRIPT">
-
- var QtEngine;
- var tab_array = new Array();
- tab_array[0] = Default;
- tab_array[1] = Page_2;
-
- // This is an example of a function which initializes the page
- //
- function InitDocument(document) {
- var dte = window.external.dte;
- var version = dte.version;
- if (version == "8.0")
- QtEngine = new ActiveXObject("Digia.Qt5ProjectEngine80");
- else if (version == "9.0")
- QtEngine = new ActiveXObject("Digia.Qt5ProjectEngine90");
- else if (version == "10.0")
- QtEngine = new ActiveXObject("Digia.Qt5ProjectEngine100");
- else if (version == "11.0")
- QtEngine = new ActiveXObject("Digia.Qt5ProjectEngine110");
- else if (version == "12.0")
- QtEngine = new ActiveXObject("Digia.Qt5ProjectEngine120");
- else {
- window.external.ReportError("Cannot instantiate QtProjectEngine object!");
- return false;
- }
-
- setDirection();
- if (window.external.FindSymbol('DOCUMENT_FIRST_LOAD')) {
- // This function sets the default symbols based
- // on the values specified in the SYMBOL tags above
- //
- window.external.SetDefaults(document);
- }
- // Load the document and initialize the controls
- // with the appropriate symbol values
- //
- window.external.Load(document);
-
- // Disable Essential modules which are not installed (Should not found any?)
- DisableUninstalled(THREED_MODULE_NAME, "Qt3D", QtEngine);
- DisableUninstalled(CORE_MODULE_NAME, "QtCore", QtEngine);
- DisableUninstalled(GUI_MODULE_NAME, "QtGui", QtEngine);
- DisableUninstalled(LOCATION_MODULE_NAME, "QtLocation", QtEngine);
- DisableUninstalled(MULTIMEDIA_MODULE_NAME, "QtMultimedia", QtEngine);
- DisableUninstalled(MULTIMEDIAWIDGETS_MODULE_NAME, "QtMultimediaWidgets", QtEngine);
- DisableUninstalled(NETWORK_MODULE_NAME, "QtNetwork", QtEngine);
- DisableUninstalled(QML_MODULE_NAME, "QtQml", QtEngine);
- DisableUninstalled(QUICK_MODULE_NAME, "QtQuick", QtEngine);
- DisableUninstalled(SQL_MODULE_NAME, "QtSql", QtEngine);
- DisableUninstalled(TEST_MODULE_NAME, "QtTest", QtEngine);
- DisableUninstalled(WEBKIT_MODULE_NAME, "QtWebkit", QtEngine);
-
- // Disable Add-on modules which are not installed
- DisableUninstalled(AQCONTAINER_MODULE_NAME, "QtAxContainer", QtEngine);
- DisableUninstalled(AQSERVER_MODULE_NAME, "QtAxServer", QtEngine);
- DisableUninstalled(BLUETOOTH_MODULE_NAME, "QtBluetooth", QtEngine);
- DisableUninstalled(CONCURRENT_MODULE_NAME, "QtConcurrent", QtEngine);
- DisableUninstalled(DECLARATIVE_MODULE_NAME, "QtDeclarative", QtEngine);
- DisableUninstalled(ENGINIO_MODULE_NAME, "Enginio", QtEngine);
- DisableUninstalled(HELP_MODULE_NAME, "QtHelp", QtEngine);
- DisableUninstalled(NFC_MODULE_NAME, "QtNfc", QtEngine);
- DisableUninstalled(OPENGL_MODULE_NAME, "QtOpenGL", QtEngine);
- DisableUninstalled(POSITIONING_MODULE_NAME, "QtPositioning", QtEngine);
- DisableUninstalled(PRINTSUPPORT_MODULE_NAME, "QtPrintSupport", QtEngine);
- DisableUninstalled(QUICKWIDGETS_MODULE_NAME, "QtQuickWidgets", QtEngine);
- DisableUninstalled(SCRIPT_MODULE_NAME, "QtScript", QtEngine);
- DisableUninstalled(SCRIPTTOOLS_MODULE_NAME, "QtScriptTools", QtEngine);
- DisableUninstalled(SENSORS_MODULE_NAME, "QtSensors", QtEngine);
- DisableUninstalled(SERIALPORT_MODULE_NAME, "QtSerialPort", QtEngine);
- DisableUninstalled(SVG_MODULE_NAME, "QtSvg", QtEngine);
- DisableUninstalled(UITOOLS_MODULE_NAME, "QtUiTools", QtEngine);
- DisableUninstalled(WEBCHANNEL_MODULE_NAME, "QtWebChannel", QtEngine);
- DisableUninstalled(WEBKITWIDGETS_MODULE_NAME, "QtWebkitWidgets", QtEngine);
- DisableUninstalled(WEBSOCKETS_MODULE_NAME, "QtWebSockets", QtEngine);
- DisableUninstalled(WIDGETS_MODULE_NAME, "QtWidgets", QtEngine);
- DisableUninstalled(WINDOWSEXTRAS_MODULE_NAME, "QtWinExtras", QtEngine);
- DisableUninstalled(XML_MODULE_NAME, "QtXml", QtEngine);
- DisableUninstalled(XMLPATTERNS_MODULE_NAME, "QtXmlPatterns", QtEngine);
-
- // Disable these cause mandatory for this wizard
- CORE_MODULE_NAME.disabled = true;
- GUI_MODULE_NAME.disabled = true;
- WIDGETS_MODULE_NAME.disabled = true;
-
- }
-
- function DisableUninstalled(element, lib_name, engine) {
- var not_installed = !engine.IsModuleInstalled(lib_name);
- element.disabled = not_installed;
- if (not_installed) {
- element.title = ""; // Not installed so don't show title
- element.parentNode.className = "addon_disabled";
- }
- return not_installed;
- }
-
- // If the wizard has more than 1 page, this
- // function will browse to the page specified
- //
- function Next(document, linkto) {
- CORE_MODULE_NAME.disabled = false;
- GUI_MODULE_NAME.disabled = false;
- WIDGETS_MODULE_NAME.disabled = false;
- window.external.Next(document, linkto);
- }
-
- // This is an example of a function which
- // gets called when the user clicks on 'Finish'
- //
- function OnFinish(document) {
- CORE_MODULE_NAME.disabled = false;
- GUI_MODULE_NAME.disabled = false;
- WIDGETS_MODULE_NAME.disabled = false;
- OnWizFinish(document);
- }
-
-</script>
-<script language="JSCRIPT" id="INCLUDE_SCRIPT"></script>
-<script language="JSCRIPT" id="INCLUDE_COMMON"></script>
-<!--
-Common.js is a script file which contains the helper functions
-used by the wizards. Include this line if you want to
-call these functions from your html scripts.
-//-->
-<script>
- var strPath = window.external.FindSymbol("PRODUCT_INSTALLATION_DIR");
- strPath += "VCWizards/";
- strPath += window.external.GetHostLocale();
-
- // verify if the locale folder really exists
- var fso = new ActiveXObject("Scripting.FileSystemObject");
- var found = fso.FolderExists(strPath)
- if (found == false) {
- strPath = window.external.FindSymbol("PRODUCT_INSTALLATION_DIR");
- strPath += "VCWizards/";
- var folder = fso.GetFolder(strPath);
- for (subfolders = new Enumerator(folder.SubFolders); !subfolders.atEnd(); subfolders.moveNext()) {
- for (files = new Enumerator(subfolders.item().files); !files.atEnd(); files.moveNext()) {
- if (files.item().name.toLowerCase().localeCompare("common.js") == 0) {
- found = true;
- strPath += subfolders.item().name;
- break;
- }
- }
- if (found == true)
- break;
- }
- }
-
- var strScriptPath = strPath + "/Script.js";
- var strCommonPath = strPath + "/Common.js";
- document.scripts("INCLUDE_SCRIPT").src = strScriptPath;
- document.scripts("INCLUDE_COMMON").src = strCommonPath;
-</script>
diff --git a/Qt4VS2003/Projects/Qt5GuiProject/HTML/1031/Page_3.htm b/Qt4VS2003/Projects/Qt5GuiProject/HTML/1031/Page_3.htm
deleted file mode 100644
index e6208223..00000000
--- a/Qt4VS2003/Projects/Qt5GuiProject/HTML/1031/Page_3.htm
+++ /dev/null
@@ -1,545 +0,0 @@
-<html dir="ltr">
-<head>
- <meta name="vs_showGrid" content="True">
- <title>'Qt5GuiProject'</title>
- <meta content="http://schemas.microsoft.com/intellisense/ie5" name="vs_targetSchema">
- <link id="LINKURL" rel="stylesheet" href="../../1033/styles.css">
-</head>
-<body onkeypress="OnPress();" onkeydown="OnKey();" bottommargin="0" bgcolor="buttonface"
- leftmargin="0" topmargin="0" onload="InitDocument(document);" rightmargin="0">
- <table class="ONE" height="100%" cellspacing="0" cellpadding="0" width="100%" border="0">
- <colgroup>
- <col width="178">
- <col>
- <!--OPEN OF INTRODUCTORY INFORMATION TABLE//-->
- <tr valign="top">
- <td width="100%" colspan="2" height="79">
- <table class="TWO" cellspacing="0" cellpadding="0" border="0">
- <colgroup>
- <col width="12">
- <col>
- <col width="12">
- <tr>
- <td valign="top" width="12" height="12">
- &nbsp;
- </td>
- <td valign="top" height="12">
- &nbsp;
- </td>
- <td valign="top" width="12" height="12">
- &nbsp;
- </td>
- <td class="IMAGE" valign="bottom" width="110" rowspan="2">
- <div class="SMALLA" id="Layer0">
- <img class="SMALLEST" height="63" alt="" src="..\..\Images\Qt5GuiProject.jpg" width="63"
- border="0">
- </div>
- </td>
- <td valign="top" width="6" height="12" rowspan="2">
- &nbsp;
- </td>
- </tr>
- <tr>
- <td valign="top" width="12" height="65">
- &nbsp;
- </td>
- <td valign="top" height="65">
- <h4 class="HEAD" id="HEAD">
- Willkommen zum Qt5&nbsp;GUI Projektwizard</h4>
- <p class="SUBHEAD" id="SUBHEAD">
- Dieser Wizard erstellt ein&nbsp;Qt5&nbsp;GUI&nbsp;Anwendungsprojekt. Die&nbsp; Anwendung&nbsp;ist
- vererbt von QApplication und beinhaltet ein leeres Widget.</p>
- </td>
- <td valign="top" width="12" height="65">
- &nbsp;
- </td>
- </tr>
- <tr>
- <td class="RULE" valign="top" colspan="5" height="2">
- <table height="1" cellspacing="0" cellpadding="0" width="100%" border="0">
- <tr valign="top">
- <td width="100%" bgcolor="buttonshadow" height="1">
- <img height="1" alt="" src="../../Images/spacer.gif" width="1">
- </td>
- <td width="1" bgcolor="window" height="1">
- <img height="1" alt="" src="../../Images/spacer.gif" width="1">
- </td>
- </tr>
- </table>
- </td>
- </tr>
- </table>
- </td>
- </tr>
- <!--CLOSE OF INTRODUCTORY INFORMATION TABLE//-->
- <!--OPEN OF NAVIGATION, CONTENT, AND BUTTON TABLES//-->
- <tr valign="top">
- <td class="THREE" valign="top" width="178" height="100%">
- <!--OPEN OF NAVIGATION TABLE//-->
- <table class="THREE" cellspacing="0" cellpadding="0" border="0">
- <colgroup>
- <col width="12">
- <col width="166">
- <col width="1">
- <tr>
- <td valign="top" colspan="3" height="12">
- &nbsp;
- </td>
- </tr>
- <tr>
- <td valign="top" width="12" height="100%">
- &nbsp;
- </td>
- <td valign="top" width="165" height="100%">
- <!--OPEN OF NAVIGATIONAL LINKS//-->
- <div class="LINK">
- <table class="LINKTEXT" height="28" cellspacing="0" cellpadding="0" width="166" border="0">
- <tr valign="middle">
- <td width="162">
- <span class="ACTIVELINK" id="Page_1" title="" onclick="Next(document, 'default.htm');"
- tabindex="1">bersicht</span>
- </td>
- <td width="4">
- <img height="1" src="../../Images/spacer.gif" width="4">
- </td>
- </tr>
- </table>
- </div>
- <div class="LINK">
- <table class="LINKTEXT" height="28" cellspacing="0" cellpadding="0" width="166" border="0"
- id="Table1">
- <tr valign="middle">
- <td width="162">
- <span class="ACTIVELINK" id="Page_2" title="" onclick="Next(document, 'Page_2.htm');"
- tabindex="1">Projekteinstellungen</span>
- </td>
- <td width="4">
- <img height="1" src="../../Images/spacer.gif" width="4">
- </td>
- </tr>
- </table>
- </div>
- <div class="LINKSELECTED">
- <span class="VERTLINE1">
- <img height="1" alt="" src="../../Images/spacer.gif" width="1" border="0">
- </span><span class="HORILINE1">
- <table height="100%" cellspacing="0" cellpadding="0" width="167" border="0">
- <tr valign="top">
- <td class="DOTTEDLINE" height="1">
- </td>
- </tr>
- <tr valign="top">
- <td height="100%">
- <img height="28" alt="" src="../../Images/spacer.gif" width="1" border="0">
- </td>
- </tr>
- <tr valign="top">
- <td class="DOTTEDLINE" height="1">
- </td>
- </tr>
- </table>
- </span>
- <table class="LINKTEXTSELECTED" height="28" cellspacing="0" cellpadding="0" width="160"
- border="0">
- <tr valign="middle">
- <td width="162">
- <span id="Page_3" title="" onclick="Next(document, 'Page_2.htm');" tabindex="1">Generierte
- Klassen</span>
- </td>
- <td width="4">
- <img height="1" src="../../Images/spacer.gif" width="4">
- </td>
- </tr>
- </table>
- </div>
- <!--CLOSE OF NAVIGATIONAL LINKS//-->
- </td>
- <td width="1">
- <div class="VERTLINE">
- <img height="1" alt="" src="../../Images/spacer.gif" width="1" border="0">
- </div>
- </td>
- </tr>
- </table>
- <!--CLOSE OF NAVIGATION TABLE//-->
- </td>
- <td valign="top" height="100%">
- <!--OPEN OF CONTENT AND BUTTON TABLE//-->
- <table class="ONE" cellspacing="0" cellpadding="0" border="0">
- <colgroup>
- <col width="100%">
- <tr valign="top">
- <td valign="top" height="100%">
- <!--OPEN OF CONTENT//-->
- <table class="CONTENT" cellspacing="0" cellpadding="0" border="0">
- <colgroup>
- <tr>
- <td width="12" height="12">
- </td>
- <td height="12">
- </td>
- <td height="12">
- </td>
- <td width="12" height="12">
- </td>
- </tr>
- <tr>
- <td valign="top" width="12">
- </td>
- <td valign="top">
- Klassenname:
- </td>
- <td valign="top">
- Basis Klasse:
- </td>
- <td valign="top" width="12">
- </td>
- </tr>
- <tr>
- <td valign="top" width="12">
- </td>
- <td valign="top">
- <input id="CLASSNAME_TEXT" type="text" name="className" onpropertychange="ClassNameChanged();">
- </td>
- <td valign="top">
- <select id="BASECLASS_COMBO" style="width: 120px" name="baseClass" width="168">
- <option value="1" selected>QMainWindow</option>
- <option value="2">QWidget</option>
- <option value="3">QDialog</option>
- </select>
- </td>
- <td valign="top" width="12">
- </td>
- </tr>
- <tr>
- <td width="12" height="12">
- </td>
- <td height="12">
- </td>
- <td height="12">
- </td>
- <td width="12" height="12">
- </td>
- </tr>
- <tr>
- <td width="12" height="12">
- </td>
- <td height="12">
- </td>
- <td height="12">
- </td>
- <td width="12" height="12">
- </td>
- </tr>
- <tr>
- <td valign="top" width="12">
- </td>
- <td valign="top">
- .h Datei:
- </td>
- <td valign="top">
- <p>
- .cpp&nbsp;Datei:</p>
- </td>
- <td valign="top" width="12">
- </td>
- </tr>
- <tr>
- <td valign="top" width="12">
- </td>
- <td valign="top">
- <input id="HFILE_TEXT" type="text" name="hFile">
- </td>
- <td valign="top">
- <input id="CPPFILE_TEXT" type="text" name="cppFile">
- </td>
- <td valign="top" width="12">
- </td>
- </tr>
- <tr>
- <td valign="top" width="12">
- </td>
- <td valign="top">
- .ui Datei:
- </td>
- <td valign="top">
- .qrc Datei:
- </td>
- <td valign="top" width="12">
- </td>
- </tr>
- <tr>
- <td valign="top" width="12" style="height: 19px">
- </td>
- <td valign="top">
- <input id="UIFILE_TEXT" type="text" name="uiFile">
- <td valign="top">
- <input id="QRCFILE_TEXT" type="text" name="qrcFile">
- </td>
- <td valign="top" width="12" style="height: 19px">
- </td>
- </tr>
- <tr>
- <td width="12" height="12">
- </td>
- <td height="12">
- </td>
- <td height="12">
- </td>
- <td width="12" height="12">
- </td>
- </tr>
- <tr>
- <td width="12" height="24">
- </td>
- <td height="12" colspan="2">
- <input id="APP_ICON" title="Add Default Application Icon (Windows only)" type="checkbox"
- name="APP_ICON_NAME">Erstelle Programmicon (nur fr Windows)
- </td>
- <td width="12" height="12">
- </td>
- </tr>
- <tr>
- <td width="12" height="24">
- </td>
- <td height="12" colspan="2">
- <input id="PRECOMPILED_HEADERS" title="Vorkompilierte Header verwenden" type="checkbox"
- name="precompiledHeaders">Vorkompilierte Header verwenden
- </td>
- <td width="12" height="12">
- </td>
- </tr>
- <tr>
- <td valign="top" width="12" height="100%">
- </td>
- <td valign="top" height="100%">
- </td>
- <td valign="top" height="100%">
- </td>
- <td valign="top" width="12" height="100%">
- </td>
- </tr>
- </table>
- <!--CLOSE OF CONTENT//-->
- </td>
- </tr>
- <tr valign="bottom">
- <td height="48">
- <!--OPEN OF BUTTON HTML//-->
- <table height="48" cellspacing="0" cellpadding="0" border="0">
- <colgroup>
- <col width="12">
- <col>
- <col width="75">
- <col width="4">
- <col width="75">
- <col width="4">
- <col width="75">
- <col width="12">
- <tr>
- <td class="RULE" valign="top" colspan="8" height="2">
- <table height="1" cellspacing="0" cellpadding="0" width="100%" border="0">
- <tr valign="top">
- </tr>
- </table>
- </td>
- </tr>
- <tr>
- <td valign="top" colspan="8" height="11">
- &nbsp;
- </td>
- </tr>
- <tr>
- <td valign="middle" width="12" height="23">
- &nbsp;
- </td>
- <td valign="top" height="23">
- &nbsp;
- </td>
- <td valign="middle" width="75" height="23">
- <button class="BUTTONS" id="FinishBtn" accesskey="B" onclick="OnFinish(document);"
- type="button">
- <u>B</u>eenden</button>
- </td>
- <td valign="middle" width="4" height="23">
- &nbsp;
- </td>
- <td valign="middle" width="75" height="23">
- <button class="BUTTONS" id="CancelBtn" accesskey="A" onclick="window.external.Finish(document, 'cancel');"
- type="button">
- <u>A</u>bbrechen</button>
- </td>
- <td valign="middle" width="4" height="23">
- &nbsp;
- </td>
- <td valign="middle" width="75" height="23">
- <button class="BUTTONS" id="HelpBtn" disabled accesskey="H" onclick="window.external.OnHelp('vc.appwiz.custom.overview');"
- type="button">
- <u>H</u>ilfe</button>
- </td>
- <td valign="middle" width="12" height="23">
- &nbsp;
- </td>
- </tr>
- <tr>
- <td valign="top" colspan="8" height="12">
- &nbsp;
- </td>
- </tr>
- </table>
- <!--CLOSE OF BUTTON HTML//-->
- </td>
- </tr>
- </table>
- <!--CLOSE OF NAVIGATION, CONTENT, AND BUTTON TABLES//-->
- </td>
- </tr>
- </table>
-</body>
-</html>
-<script language="JSCRIPT">
-
- var tab_array = new Array();
- tab_array[0] = Page_1;
- tab_array[1] = Page_2;
-
- // This is an example of a function which initializes the page
- //
- function InitDocument(document) {
- setDirection();
-
- if (window.external.FindSymbol('DOCUMENT_FIRST_LOAD')) {
- // This function sets the default symbols based
- // on the values specified in the SYMBOL tags above
- //
- window.external.SetDefaults(document);
- }
-
- // Load the document and initialize the controls
- // with the appropriate symbol values
- //
- window.external.Load(document);
- }
-
- function ClassNameChanged() {
- HFILE_TEXT.value = CLASSNAME_TEXT.value.toLowerCase() + ".h";
- CPPFILE_TEXT.value = CLASSNAME_TEXT.value.toLowerCase() + ".cpp";
- UIFILE_TEXT.value = CLASSNAME_TEXT.value.toLowerCase() + ".ui";
- QRCFILE_TEXT.value = CLASSNAME_TEXT.value.toLowerCase() + ".qrc";
- }
-
- function ValidateAndUpdate() {
- var Inputs = document.all.tags("INPUT");
-
- var regexp = /\s/g;
- var proName = window.external.FindSymbol('PROJECT_NAME').replace(regexp, "");
-
- var field = Inputs.item("className");
- if (!window.external.dte.VCLanguageManager.ValidateIdentifier(field.value) ||
- window.external.dte.VCLanguageManager.IsReservedName(field.value)) {
- window.external.ReportError("Ungltiger Klassenname!");
- field.value = proName;
- return false;
- }
-
- field = Inputs.item("hFile");
- if (!ValidateFileName(field.value)) {
- window.external.ReportError("Ungltiger Dateiname!");
- field.value = proName.toLowerCase() + ".h";
- return false;
- }
-
- field = Inputs.item("cppFile");
- if (!ValidateFileName(field.value)) {
- window.external.ReportError("Ungltiger Dateiname!");
- field.value = proName.toLowerCase() + ".cpp";
- return false;
- }
-
- field = Inputs.item("uiFile");
- var strFile = field.value.toLowerCase().replace(".h", ".x"); // don't validate .h files...
- var strFile = strFile.replace(".ui", ".h");
- if (!ValidateFileName(strFile)) {
- window.external.ReportError("Ungltiger Dateiname!");
- field.value = proName.toLowerCase() + ".ui";
- return false;
- }
-
- field = Inputs.item("qrcFile");
- var strFile = field.value.toLowerCase().replace(".h", ".x"); // don't validate .h files...
- var strFile = strFile.replace(".qrc", ".h");
-
- if (!ValidateFileName(strFile)) {
- window.external.ReportError("Ungltiger Dateiname!");
- field.value = proName.toLowerCase() + ".qrc";
- return false;
- }
- return true;
- }
-
- function ValidateFileName(FileName) {
- if (!window.external.dte.VCLanguageManager.ValidateFileName(FileName))
- return false;
- if (FileName.search(/[\\\/\:\*\?\"\<\>\|]/g) != -1)
- return false;
- return true;
- }
-
- // If the wizard has more than 1 page, this
- // function will browse to the page specified
- //
- function Next(document, linkto) {
- if (!ValidateAndUpdate())
- return;
-
- window.external.Next(document, linkto);
- }
-
- // This is an example of a function which
- // gets called when the user clicks on 'Finish'
- //
- function OnFinish(document) {
- if (!ValidateAndUpdate())
- return;
-
- OnWizFinish(document);
- }
-
-</script>
-<script language="JSCRIPT" id="INCLUDE_SCRIPT"></script>
-<script language="JSCRIPT" id="INCLUDE_COMMON"></script>
-<!--
-Common.js is a script file which contains the helper functions
-used by the wizards. Include this line if you want to
-call these functions from your html scripts.
-//-->
-<script>
- var strPath = window.external.FindSymbol("PRODUCT_INSTALLATION_DIR");
- strPath += "VCWizards/";
- strPath += window.external.GetHostLocale();
-
- // verify if the locale folder really exists
- var fso = new ActiveXObject("Scripting.FileSystemObject");
- var found = fso.FolderExists(strPath)
- if (found == false) {
- strPath = window.external.FindSymbol("PRODUCT_INSTALLATION_DIR");
- strPath += "VCWizards/";
- var folder = fso.GetFolder(strPath);
- for (subfolders = new Enumerator(folder.SubFolders); !subfolders.atEnd(); subfolders.moveNext()) {
- for (files = new Enumerator(subfolders.item().files); !files.atEnd(); files.moveNext()) {
- if (files.item().name.toLowerCase().localeCompare("common.js") == 0) {
- found = true;
- strPath += subfolders.item().name;
- break;
- }
- }
- if (found == true)
- break;
- }
- }
-
- var strScriptPath = strPath + "/Script.js";
- var strCommonPath = strPath + "/Common.js";
- document.scripts("INCLUDE_SCRIPT").src = strScriptPath;
- document.scripts("INCLUDE_COMMON").src = strCommonPath;
-</script>
diff --git a/Qt4VS2003/Projects/Qt5GuiProject/HTML/1031/default.htm b/Qt4VS2003/Projects/Qt5GuiProject/HTML/1031/default.htm
deleted file mode 100644
index cad6af9b..00000000
--- a/Qt4VS2003/Projects/Qt5GuiProject/HTML/1031/default.htm
+++ /dev/null
@@ -1,526 +0,0 @@
-<html dir="ltr">
-<head>
- <title>'Qt5GuiProject'</title>
- <meta content="http://schemas.microsoft.com/intellisense/ie5" name="vs_targetSchema">
- <link id="LINKURL" rel="stylesheet" href="../../1033/styles.css">
- <!-- -->
- <!-- The SYMBOL tag is used to set the default values for the user-defined symbols.-->
- <!-- -->
- <symbol name="WIZARD_DIALOG_TITLE" type="text" value="Qt5 GUI Project Wizard"></symbol>
- <symbol name="THREED_MODULE" type="checkbox" value="false"></symbol>
- <symbol name="AQCONTAINER_MODULE" type="checkbox" value="false"></symbol>
- <symbol name="AQSERVER_MODULE" type="checkbox" value="false"></symbol>
- <symbol name="BLUETOOTH_MODULE" type="checkbox" value="false"></symbol>
- <symbol name="CONCURRENT_MODULE" type="checkbox" value="false"></symbol>
- <symbol name="CORE_MODULE" type="checkbox" value="true"></symbol>
- <symbol name="ENGINIO_MODULE" type="checkbox" value="false"></symbol>
- <symbol name="DECLARATIVE_MODULE" type="checkbox" value="false"></symbol>
- <symbol name="GUI_MODULE" type="checkbox" value="true"></symbol>
- <symbol name="HELP_MODULE" type="checkbox" value="false"></symbol>
- <symbol name="LOCATION_MODULE" type="checkbox" value="false"></symbol>
- <symbol name="MULTIMEDIA_MODULE" type="checkbox" value="false"></symbol>
- <symbol name="MULTIMEDIAWIDGETS_MODULE" type="checkbox" value="false"></symbol>
- <symbol name="NETWORK_MODULE" type="checkbox" value="false"></symbol>
- <symbol name="NFC_MODULE" type="checkbox" value="false"></symbol>
- <symbol name="OPENGL_MODULE" type="checkbox" value="false"></symbol>
- <symbol name="POSITIONING_MODULE" type="checkbox" value="false"></symbol>
- <symbol name="PRINTSUPPORT_MODULE" type="checkbox" value="false"></symbol>
- <symbol name="QML_MODULE" type="checkbox" value="false"></symbol>
- <symbol name="QUICK_MODULE" type="checkbox" value="false"></symbol>
- <symbol name="QUICKWIDGETS_MODULE" type="checkbox" value="false"></symbol>
- <symbol name="SCRIPT_MODULE" type="checkbox" value="false"></symbol>
- <symbol name="SCRIPTTOOLS_MODULE" type="checkbox" value="false"></symbol>
- <symbol name="SENSORS_MODULE" type="checkbox" value="false"></symbol>
- <symbol name="SERIALPORT_MODULE" type="checkbox" value="false"></symbol>
- <symbol name="SQL_MODULE" type="checkbox" value="false"></symbol>
- <symbol name="SVG_MODULE" type="checkbox" value="false"></symbol>
- <symbol name="TEST_MODULE" type="checkbox" value="false"></symbol>
- <symbol name="UITOOLS_MODULE" type="checkbox" value="false"></symbol>
- <symbol name="WEBCHANNEL_MODULE" type="checkbox" value="false"></symbol>
- <symbol name="WEBKIT_MODULE" type="checkbox" value="false"></symbol>
- <symbol name="WEBKITWIDGETS_MODULE" type="checkbox" value="false"></symbol>
- <symbol name="WEBSOCKETS_MODULE" type="checkbox" value="false"></symbol>
- <symbol name="WIDGETS_MODULE" type="checkbox" value="true"></symbol>
- <symbol name="WINDOWSEXTRAS_MODULE" type="checkbox" value="false"></symbol>
- <symbol name="XML_MODULE" type="checkbox" value="false"></symbol>
- <symbol name="XMLPATTERNS_MODULE" type="checkbox" value="false"></symbol>
- <symbol name="CLASSNAME_TEXT" type="text" value=""></symbol>
- <symbol name="HFILE_TEXT" type="text" value=""></symbol>
- <symbol name="CPPFILE_TEXT" type="text" value=""></symbol>
- <symbol name="UIFILE_TEXT" type="text" value=""></symbol>
- <symbol name="QRCFILE_TEXT" type="text" value=""></symbol>
- <symbol name="APP_TYPE_SUMMARY" type="text" value="Qt5 GUI Project"></symbol>
-</head>
-<body onkeypress="OnPress();" onkeydown="OnKey();" bottommargin="0" bgcolor="buttonface"
- leftmargin="0" topmargin="0" onload="InitDocument(document);" rightmargin="0">
- <table class="ONE" height="100%" cellspacing="0" cellpadding="0" width="100%" border="0">
- <colgroup>
- <col width="178">
- <col>
- <!--OPEN OF INTRODUCTORY INFORMATION TABLE//-->
- <tr valign="top">
- <td width="100%" colspan="2" height="79">
- <table class="TWO" cellspacing="0" cellpadding="0" border="0">
- <colgroup>
- <col width="12">
- <col>
- <col width="12">
- <tr>
- <td valign="top" width="12" height="12">
- &nbsp;
- </td>
- <td valign="top" height="12">
- &nbsp;
- </td>
- <td valign="top" width="12" height="12">
- &nbsp;
- </td>
- <td class="IMAGE" valign="bottom" width="110" rowspan="2">
- <div class="SMALLA" id="Layer0">
- <img class="SMALLEST" height="63" alt="" src="../../Images/Qt5GuiProject.jpg" width="63"
- border="0">
- </div>
- </td>
- <td valign="top" width="6" height="12" rowspan="2">
- &nbsp;
- </td>
- </tr>
- <tr>
- <td valign="top" width="12" height="65">
- &nbsp;
- </td>
- <td valign="top" height="65">
- <h4 class="HEAD" id="HEAD">
- Willkommen zum Qt5&nbsp;GUI Projektwizard</h4>
- <p class="SUBHEAD" id="SUBHEAD">
- Dieser Wizard erstellt ein&nbsp;Qt5&nbsp;GUI&nbsp;Anwendungsprojekt. Die&nbsp; Anwendung&nbsp;ist
- vererbt von QApplication und beinhaltet ein leeres Widget.</p>
- </td>
- <td valign="top" width="12" height="65">
- &nbsp;
- </td>
- </tr>
- <tr>
- <td class="RULE" valign="top" colspan="5" height="2">
- <table height="1" cellspacing="0" cellpadding="0" width="100%" border="0">
- <tr valign="top">
- <td width="100%" bgcolor="buttonshadow" height="1">
- <img height="1" alt="" src="../../Images/spacer.gif" width="1">
- </td>
- <td width="1" bgcolor="window" height="1">
- <img height="1" alt="" src="../../Images/spacer.gif" width="1">
- </td>
- </tr>
- </table>
- </td>
- </tr>
- </table>
- </td>
- </tr>
- <!--CLOSE OF INTRODUCTORY INFORMATION TABLE//-->
- <!--OPEN OF NAVIGATION, CONTENT, AND BUTTON TABLES//-->
- <tr valign="top">
- <td class="THREE" valign="top" width="178" height="100%">
- <!--OPEN OF NAVIGATION TABLE//-->
- <table class="THREE" cellspacing="0" cellpadding="0" border="0">
- <colgroup>
- <col width="12">
- <col width="166">
- <col width="1">
- <tr>
- <td valign="top" colspan="3" height="12">
- &nbsp;
- </td>
- </tr>
- <tr>
- <td valign="top" width="12" height="100%">
- &nbsp;
- </td>
- <td valign="top" width="165" height="100%">
- <!--OPEN OF NAVIGATIONAL LINKS//-->
- <div class="LINKSELECTED">
- <span class="VERTLINE1">
- <img height="1" alt="" src="../../Images/spacer.gif" width="1" border="0">
- </span><span class="HORILINE1">
- <table height="100%" cellspacing="0" cellpadding="0" width="167" border="0">
- <tr valign="top">
- <td class="DOTTEDLINE" height="1">
- </td>
- </tr>
- <tr valign="top">
- <td height="100%">
- <img height="28" alt="" src="../../Images/spacer.gif" width="1" border="0">
- </td>
- </tr>
- <tr valign="top">
- <td class="DOTTEDLINE" height="1">
- </td>
- </tr>
- </table>
- </span>
- <table class="LINKTEXTSELECTED" height="28" cellspacing="0" cellpadding="0" width="160"
- border="0">
- <tr valign="middle">
- <td width="156">
- <span id="Page_1" title="" onclick="Next(document, 'default.htm');" tabindex="1">bersicht</span>
- </td>
- <td width="4">
- <img height="1" src="../../Images/spacer.gif" width="4">
- </td>
- </tr>
- </table>
- </div>
- <div class="LINK">
- <table class="LINKTEXT" height="28" cellspacing="0" cellpadding="0" width="166" border="0">
- <tr valign="middle">
- <td width="162">
- <span class="ACTIVELINK" id="Page_2" title="" onclick="Next(document, 'Page_2.htm');"
- tabindex="1">Projekteinstellungen</span>
- </td>
- <td width="4">
- <img height="1" src="../../Images/spacer.gif" width="4">
- </td>
- </tr>
- </table>
- </div>
- <div class="LINK">
- <table class="LINKTEXT" height="28" cellspacing="0" cellpadding="0" width="166" border="0"
- id="Table1">
- <tr valign="middle">
- <td width="162">
- <span class="ACTIVELINK" id="Page_3" title="" onclick="Next(document, 'Page_3.htm');"
- tabindex="1">Generierte Klassen</span>
- </td>
- <td width="4">
- <img height="1" src="../../Images/spacer.gif" width="4">
- </td>
- </tr>
- </table>
- </div>
- <!--CLOSE OF NAVIGATIONAL LINKS//-->
- </td>
- <td width="1">
- <div class="VERTLINE">
- <img height="1" alt="" src="../../Images/spacer.gif" width="1" border="0">
- </div>
- </td>
- </tr>
- </table>
- <!--CLOSE OF NAVIGATION TABLE//-->
- </td>
- <td valign="top" height="100%">
- <!--OPEN OF CONTENT AND BUTTON TABLE//-->
- <table class="ONE" cellspacing="0" cellpadding="0" border="0">
- <colgroup>
- <col width="100%">
- <tr valign="top">
- <td height="100%">
- <!--OPEN OF CONTENT//-->
- <table class="CONTENT" cellspacing="0" cellpadding="0" border="0">
- <colgroup>
- <col width="12">
- <col width="185">
- <col width="12">
- <col width="185">
- <col width="12">
- <col width="185">
- <col width="12">
- <tr>
- <td valign="top" colspan="5" height="12">
- &nbsp;
- </td>
- </tr>
- <tr valign="top">
- <td valign="top" width="12">
- &nbsp;
- </td>
- <td valign="top" colspan="3">
- <p>
- <span class="ItemTextTop" id="PROJECT_SETTINGS_SPAN">Die momentan selektierten Qt Module
- sind:</span></p>
- <p>
- <span class="ItemTextTop"></span><span class="ItemText" id="QTMODULES" title="">
- </span>
- </p>
- <p>
- <span class="ItemText" title=""></span><span class="ItemText" id="FinishText">Klicken
- Sie <b>Beenden</b> von jeder beliebigen Wizardseite um die aktuellen Einstellungen
- zu bernehmen und das Projekt zu erstellen.</span>
- </p>
- </td>
- <td valign="top" width="12">
- &nbsp;
- </td>
- </tr>
- <tr>
- <td valign="top" colspan="7" height="100%">
- &nbsp;
- </td>
- </tr>
- </table>
- <!--CLOSE OF CONTENT//-->
- </td>
- </tr>
- <tr valign="bottom">
- <td height="48">
- <!--OPEN OF BUTTON HTML//-->
- <table height="48" cellspacing="0" cellpadding="0" border="0">
- <colgroup>
- <col width="12">
- <col>
- <col width="75">
- <col width="4">
- <col width="75">
- <col width="4">
- <col width="75">
- <col width="12">
- <tr>
- <td class="RULE" valign="top" colspan="8" height="2">
- <table height="1" cellspacing="0" cellpadding="0" width="100%" border="0">
- <tr valign="top">
- </tr>
- </table>
- </td>
- </tr>
- <tr>
- <td valign="top" colspan="8" height="11">
- &nbsp;
- </td>
- </tr>
- <tr>
- <td valign="middle" width="12" height="23">
- &nbsp;
- </td>
- <td valign="top" height="23">
- &nbsp;
- </td>
- <td valign="middle" width="75" height="23">
- <button class="BUTTONS" id="FinishBtn" accesskey="B" onclick="OnFinish(document);"
- type="button">
- <u>B</u>eenden</button>
- </td>
- <td valign="middle" width="4" height="23">
- &nbsp;
- </td>
- <td valign="middle" width="75" height="23">
- <button class="BUTTONS" id="CancelBtn" accesskey="A" onclick="window.external.Finish(document, 'cancel');"
- type="button">
- <u>A</u>bbrechen</button>
- </td>
- <td valign="middle" width="4" height="23">
- &nbsp;
- </td>
- <td valign="middle" width="75" height="23">
- <button class="BUTTONS" id="HelpBtn" disabled accesskey="H" onclick="window.external.OnHelp('vc.appwiz.custom.overview');"
- type="button">
- <u>H</u>ilfe</button>
- </td>
- <td valign="middle" width="12" height="23">
- &nbsp;
- </td>
- </tr>
- <tr>
- <td valign="top" colspan="8" height="12">
- &nbsp;
- </td>
- </tr>
- </table>
- <!--CLOSE OF BUTTON HTML//-->
- </td>
- </tr>
- </table>
- <!--CLOSE OF NAVIGATION, CONTENT, AND BUTTON TABLES//-->
- </td>
- </tr>
- </table>
-</body>
-</html>
-<script language="JSCRIPT">
-
- var tab_array = new Array();
- tab_array[0] = Page_1;
- tab_array[1] = Page_2;
-
- // This is an example of a function which initializes the page
- //
- function InitDocument(document) {
- setDirection();
-
- if (window.external.FindSymbol('DOCUMENT_FIRST_LOAD')) {
- // This function sets the default symbols based
- // on the values specified in the SYMBOL tags above
- //
- window.external.SetDefaults(document);
- UpdateFields();
- }
-
- // Load the document and initialize the controls
- // with the appropriate symbol values
- //
- window.external.Load(document);
- InitControls();
- }
-
- function UpdateFields() {
- var regexp = /\s/g;
- var proName = window.external.FindSymbol('PROJECT_NAME').replace(regexp, "");
-
- if (!window.external.dte.VCLanguageManager.ValidateIdentifier(proName) ||
- window.external.dte.VCLanguageManager.IsReservedName(proName)) {
- window.external.AddSymbol("CLASSNAME_TEXT", "MyClass"); // fall back on myclass
- window.external.AddSymbol("HFILE_TEXT", "myclass.h");
- window.external.AddSymbol("CPPFILE_TEXT", "myclass.cpp");
- window.external.AddSymbol("UIFILE_TEXT", "myclass.ui");
- window.external.AddSymbol("QRCFILE_TEXT", "myclass.qrc");
- } else {
- window.external.AddSymbol("CLASSNAME_TEXT", proName);
- window.external.AddSymbol("HFILE_TEXT", proName.toLowerCase() + ".h");
- window.external.AddSymbol("CPPFILE_TEXT", proName.toLowerCase() + ".cpp");
- window.external.AddSymbol("UIFILE_TEXT", proName.toLowerCase() + ".ui");
- window.external.AddSymbol("QRCFILE_TEXT", proName.toLowerCase() + ".qrc");
- }
- }
-
- function InitControls() {
- var strModules = "";
-
- // Essentials
- if (window.external.FindSymbol('THREED_MODULE'))
- strModules += "3D, ";
- if (window.external.FindSymbol('CORE_MODULE'))
- strModules += "Core, ";
- if (window.external.FindSymbol('GUI_MODULE'))
- strModules += "GUI, ";
- if (window.external.FindSymbol('LOCATION_MODULE'))
- strModules += "Location, ";
- if (window.external.FindSymbol('MULTIMEDIA_MODULE'))
- strModules += "Multimedia, ";
- if (window.external.FindSymbol('MULTIMEDIAWIDGETS_MODULE'))
- strModules += "Multimedia Widgets, ";
- if (window.external.FindSymbol('NETWORK_MODULE'))
- strModules += "Network, ";
- if (window.external.FindSymbol('QML_MODULE'))
- strModules += "Qml, ";
- if (window.external.FindSymbol('QUICK_MODULE'))
- strModules += "Quick, ";
- if (window.external.FindSymbol('SQL_MODULE'))
- strModules += "SQL, ";
- if (window.external.FindSymbol('TEST_MODULE'))
- strModules += "Test, ";
- if (window.external.FindSymbol('WEBKIT_MODULE'))
- strModules += "WebKit, ";
-
- // Add-ons
- // Active Qt better split to server and container
- if (window.external.FindSymbol('AQSERVER_MODULE'))
- strModules += "ActiveQt Server, ";
- if (window.external.FindSymbol('AQCONTAINER_MODULE'))
- strModules += "ActiveQt Container, ";
-
- if (window.external.FindSymbol('BLUETOOTH_MODULE'))
- strModules += "Bluetooth, ";
- if (window.external.FindSymbol('CONCURRENT_MODULE'))
- strModules += "Concurrent, ";
- if (window.external.FindSymbol('DECLARATIVE_MODULE'))
- strModules += "Declarative, ";
- if (window.external.FindSymbol('ENGINIO_MODULE'))
- strModules += "Enginio, ";
- if (window.external.FindSymbol('HELP_MODULE'))
- strModules += "Help, ";
- if (window.external.FindSymbol('NFC_MODULE'))
- strModules += "NFC, ";
- if (window.external.FindSymbol('OPENGL_MODULE'))
- strModules += "OpenGL, ";
- if (window.external.FindSymbol('POSITIONING_MODULE'))
- strModules += "Positioning, ";
- if (window.external.FindSymbol('PRINTSUPPORT_MODULE'))
- strModules += "Print Support, ";
- if (window.external.FindSymbol('QUICKWIDGETS_MODULE'))
- strModules += "Quick Widgets, ";
- if (window.external.FindSymbol('SCRIPT_MODULE'))
- strModules += "Script, ";
- if (window.external.FindSymbol('SCRIPTTOOLS_MODULE'))
- strModules += "Script Tools, ";
- if (window.external.FindSymbol('SENSORS_MODULE'))
- strModules += "Sensors, ";
- if (window.external.FindSymbol('SERIALPORT_MODULE'))
- strModules += "Serial Port, ";
- if (window.external.FindSymbol('SVG_MODULE'))
- strModules += "SVG, ";
- if (window.external.FindSymbol('UITOOLS_MODULE'))
- strModules += "UI Tools, ";
- if (window.external.FindSymbol('WEBCHANNEL_MODULE'))
- strModules += "Web Channel, ";
- if (window.external.FindSymbol('WEBKITWIDGETS_MODULE'))
- strModules += "Webkit Widgets, ";
- if (window.external.FindSymbol('WEBSOCKETS_MODULE'))
- strModules += "Web Sockets, ";
- if (window.external.FindSymbol('WIDGETS_MODULE'))
- strModules += "Widgets, ";
- if (window.external.FindSymbol('WINDOWSEXTRAS_MODULE'))
- strModules += "Windows Extras, ";
- if (window.external.FindSymbol('XML_MODULE'))
- strModules += "XML, ";
- if (window.external.FindSymbol('XMLPATTERNS_MODULE'))
- strModules += "XML Patterns, ";
-
- if (strModules.length < 1)
- strModules = "None selected";
- else
- strModules = strModules.slice(0, strModules.length - 2);
-
- QTMODULES.innerText = strModules;
- }
-
- // If the wizard has more than 1 page, this
- // function will browse to the page specified
- //
- function Next(document, linkto) {
- window.external.Next(document, linkto);
- }
-
- // This is an example of a function which
- // gets called when the user clicks on 'Finish'
- //
- function OnFinish(document) {
- OnWizFinish(document);
- }
-
-</script>
-<script language="JSCRIPT" id="INCLUDE_SCRIPT"></script>
-<script language="JSCRIPT" id="INCLUDE_COMMON"></script>
-<!--
-Common.js is a script file which contains the helper functions
-used by the wizards. Include this line if you want to
-call these functions from your html scripts.
-//-->
-<script>
- var strPath = window.external.FindSymbol("PRODUCT_INSTALLATION_DIR");
- strPath += "VCWizards/";
- strPath += window.external.GetHostLocale();
-
- // verify if the locale folder really exists
- var fso = new ActiveXObject("Scripting.FileSystemObject");
- var found = fso.FolderExists(strPath)
- if (found == false) {
- strPath = window.external.FindSymbol("PRODUCT_INSTALLATION_DIR");
- strPath += "VCWizards/";
- var folder = fso.GetFolder(strPath);
- for (subfolders = new Enumerator(folder.SubFolders); !subfolders.atEnd(); subfolders.moveNext()) {
- for (files = new Enumerator(subfolders.item().files); !files.atEnd(); files.moveNext()) {
- if (files.item().name.toLowerCase().localeCompare("common.js") == 0) {
- found = true;
- strPath += subfolders.item().name;
- break;
- }
- }
- if (found == true)
- break;
- }
- }
-
- var strScriptPath = strPath + "/Script.js";
- var strCommonPath = strPath + "/Common.js";
- document.scripts("INCLUDE_SCRIPT").src = strScriptPath;
- document.scripts("INCLUDE_COMMON").src = strCommonPath;
-</script>
diff --git a/Qt4VS2003/Projects/Qt5GuiProject/HTML/1033/Page_2.htm b/Qt4VS2003/Projects/Qt5GuiProject/HTML/1033/Page_2.htm
deleted file mode 100644
index 0f4e80d4..00000000
--- a/Qt4VS2003/Projects/Qt5GuiProject/HTML/1033/Page_2.htm
+++ /dev/null
@@ -1,543 +0,0 @@
-<html dir="ltr">
-<head>
- <title>'Qt5GuiProject'</title>
- <meta content="http://schemas.microsoft.com/intellisense/ie5" name="vs_targetSchema"/>
- <link id="LINKURL" rel="stylesheet" href="../../1033/styles.css"/>
-</head>
-<body onkeypress="OnPress();" onkeydown="OnKey();" bottommargin="0" bgcolor="buttonface"
- leftmargin="0" topmargin="0" onload="InitDocument(document);" rightmargin="0">
- <table class="ONE" height="100%" cellspacing="0" cellpadding="0" width="100%" border="0">
- <colgroup>
- <col width="178"/>
- <col/>
- </colgroup>
-
- <!--OPEN OF INTRODUCTORY INFORMATION TABLE//-->
- <tr valign="top">
- <td width="100%" colspan="2" height="79">
- <table class="TWO" cellspacing="0" cellpadding="0" border="0">
- <colgroup>
- <col width="12"/>
- <col/>
- <col width="12"/>
- </colgroup>
- <tr>
- <td valign="top" width="12" height="12">&nbsp;</td>
- <td valign="top" height="12">&nbsp;</td>
- <td valign="top" width="12" height="12">&nbsp;</td>
- <td class="IMAGE" valign="bottom" width="110" rowspan="2">
- <div class="SMALLA" id="Layer0">
- <img class="SMALLEST" height="63" alt="" src="..\..\Images\Qt5GuiProject.jpg" width="63"
- border="0">
- </div>
- </td>
- <td valign="top" width="6" height="12" rowspan="2">&nbsp;</td>
- </tr>
- <tr>
- <td valign="top" width="12" height="65">&nbsp;</td>
- <td valign="top" height="65">
- <h4 class="HEAD" id="HEAD">Welcome to the Qt5&nbsp;GUI project wizard</h4>
- <p class="SUBHEAD" id="SUBHEAD">
- This wizard generates a&nbsp;Qt5&nbsp;GUI&nbsp;application project. The&nbsp;application&nbsp;derives
- by default from QApplication and includes an empty widget.&nbsp;</p>
- </td>
- <td valign="top" width="12" height="65">
- &nbsp;
- </td>
- </tr>
- <tr>
- <td class="RULE" valign="top" colspan="5" height="2">
- <table height="1" cellspacing="0" cellpadding="0" width="100%" border="0">
- <tr valign="top">
- <td width="100%" bgcolor="buttonshadow" height="1">
- <img height="1" alt="" src="../../Images/spacer.gif" width="1">
- </td>
- <td width="1" bgcolor="window" height="1">
- <img height="1" alt="" src="../../Images/spacer.gif" width="1">
- </td>
- </tr>
- </table>
- </td>
- </tr>
- </table>
- </td>
- </tr>
- <!--CLOSE OF INTRODUCTORY INFORMATION TABLE//-->
-
- <!--OPEN OF NAVIGATION, CONTENT, AND BUTTON TABLES//-->
- <tr valign="top">
- <td class="THREE" valign="top" width="178" height="100%"> <!-- col 1 -->
- <!--OPEN OF NAVIGATION TABLE//-->
- <table class="THREE" cellspacing="0" cellpadding="0" border="0">
- <colgroup>
- <col width="12">
- <col width="166">
- <col width="1">
- <tr>
- <td valign="top" colspan="3" height="12">&nbsp;</td>
- </tr>
- <tr>
- <td valign="top" width="12" height="100%">&nbsp;</td>
- <td valign="top" width="165" height="100%">
- <!--OPEN OF NAVIGATIONAL LINKS//-->
- <div class="LINK">
- <table class="LINKTEXT" height="28" cellspacing="0" cellpadding="0" width="166" border="0">
- <tr valign="middle">
- <td width="162">
- <span class="ACTIVELINK" id="Default" title="" onclick="Next(document, 'default.htm');"
- tabindex="1">Overview</span>
- </td>
- <td width="4">
- <img height="1" src="../../Images/spacer.gif" width="4">
- </td>
- </tr>
- </table>
- </div>
- <div class="LINKSELECTED">
- <span class="VERTLINE1">
- <img height="1" alt="" src="../../Images/spacer.gif" width="1" border="0">
- </span><span class="HORILINE1">
- <table height="100%" cellspacing="0" cellpadding="0" width="167" border="0">
- <tr valign="top">
- <td class="DOTTEDLINE" height="1">
- </td>
- </tr>
- <tr valign="top">
- <td height="100%">
- <img height="28" alt="" src="../../Images/spacer.gif" width="1" border="0">
- </td>
- </tr>
- <tr valign="top">
- <td class="DOTTEDLINE" height="1">
- </td>
- </tr>
- </table>
- </span>
- <table class="LINKTEXTSELECTED" height="28" cellspacing="0" cellpadding="0" width="160"
- border="0">
- <tr valign="middle">
- <td width="162">
- <span id="Page_2" title="" onclick="Next(document, 'Page_2.htm');" tabindex="1">Project
- Settings</span>
- </td>
- <td width="4">
- <img height="1" src="../../Images/spacer.gif" width="4">
- </td>
- </tr>
- </table>
- </div>
- <div class="LINK">
- <table class="LINKTEXT" height="28" cellspacing="0" cellpadding="0" width="166" border="0"
- id="Table1">
- <tr valign="middle">
- <td width="162">
- <span class="ACTIVELINK" id="Page_3" title="" onclick="Next(document, 'Page_3.htm');"
- tabindex="1">Generated Class</span>
- </td>
- <td width="4">
- <img height="1" src="../../Images/spacer.gif" width="4">
- </td>
- </tr>
- </table>
- </div>
- <!--CLOSE OF NAVIGATIONAL LINKS//-->
- </td>
- <td width="1">
- <div class="VERTLINE">
- <img height="1" alt="" src="../../Images/spacer.gif" width="1" border="0">
- </div>
- </td>
- </tr>
- </table>
- <!--CLOSE OF NAVIGATION TABLE//-->
- </td>
- <td valign="top" height="100%"> <!-- col 2 -->
- <!--OPEN OF CONTENT AND BUTTON TABLE//-->
- <table class="ONE" cellspacing="0" cellpadding="0" border="0">
- <colgroup>
- <col width="100%"/>
- </colgroup>
- <tr valign="top">
- <td valign="top" height="100%">
- <!--OPEN OF CONTENT//-->
- <table class="CONTENT" cellspacing="0" cellpadding="0" border="0">
- <colgroup>
- <tr>
- <td width="12" height="12"></td>
- <td height="12"></td>
- <td height="12"></td>
- <td height="12"></td>
- <td width="12" height="12"></td>
- </tr>
- <tr>
- <td valign="top" width="12">
- </td>
- <td valign="top" colspan="3">
- <p>
- Select the modules you want to include in your project. The recommended modules
- for this project are selected by default.</p>
- <!--<P>&nbsp;</P>-->
- </td>
- <td valign="top" width="12">
- </td>
- </tr>
- <tr>
- <td width="12" height="12"></td>
- <td height="12"></td>
- <td height="12"></td>
- <td height="12"></td>
- <td width="12" height="12"></td>
- </tr>
-<!-- {ADB367FB-48AA-488e-9102-B037297CFCDB} -->
-<!-- -->
-<!-- START. GENERATED WITH SCRIPT, DO NOT EDIT -->
-<!-- -->
-<tr><td valign="top" width="12"></td><td valign="top" colspan="3"></td><td valign="top" width="12"></td></tr>
-<tr>
-<td valign="top" width="12"></td>
-<td valign="top"><input id="THREED_MODULE" title="Select this if you want to include the 3D library" type="checkbox" name="THREED_MODULE_NAME">&nbsp;3D</td>
-<td valign="top"><input id="NETWORK_MODULE" title="Select this if you want to include the Network library" type="checkbox" name="NETWORK_MODULE_NAME">&nbsp;Network</td>
-<td valign="top"><input id="SVG_MODULE" title="Select this if you want to include the SVG library" type="checkbox" name="SVG_MODULE_NAME">&nbsp;SVG</td>
-<td valign="top" width="12"></td>
-</tr>
-<tr>
-<td valign="top" width="12"></td>
-<td valign="top"><input id="AQCONTAINER_MODULE" title="Select this if you want to include the ActiveQt container library" type="checkbox" name="AQCONTAINER_MODULE_NAME">&nbsp;ActiveQt container&nbsp;</td>
-<td valign="top"><input id="NFC_MODULE" title="Select this if you want to include the NFC library" type="checkbox" name="NFC_MODULE_NAME">&nbsp;NFC</td>
-<td valign="top"><input id="TEST_MODULE" title="Select this if you want to include the Test library" type="checkbox" name="TEST_MODULE_NAME">&nbsp;Test</td>
-<td valign="top" width="12"></td>
-</tr>
-<tr>
-<td valign="top" width="12"></td>
-<td valign="top"><input id="AQSERVER_MODULE" title="Select this if you want to include the ActiveQt server library" type="checkbox" name="AQSERVER_MODULE_NAME">&nbsp;ActiveQt&nbsp;server&nbsp;</td>
-<td valign="top"><input id="OPENGL_MODULE" title="Select this if you want to include the OpenGL library" type="checkbox" name="OPENGL_MODULE_NAME">&nbsp;OpenGL</td>
-<td valign="top"><input id="UITOOLS_MODULE" title="Select this if you want to include the UI Tools" type="checkbox" name="UITOOLS_MODULE_NAME">&nbsp;UI Tools</td>
-<td valign="top" width="12"></td>
-</tr>
-<tr>
-<td valign="top" width="12"></td>
-<td valign="top"><input id="BLUETOOTH_MODULE" title="Select this if you want to include the Bluetooth library" type="checkbox" name="BLUETOOTH_MODULE_NAME">&nbsp;Bluetooth</td>
-<td valign="top"><input id="POSITIONING_MODULE" title="Select this if you want to include the Positioning library" type="checkbox" name="POSITIONING_MODULE_NAME">&nbsp;Positioning</td>
-<td valign="top"><input id="WEBCHANNEL_MODULE" title="Select this if you want to include the Web Channel library" type="checkbox" name="WEBCHANNEL_MODULE_NAME">&nbsp;Web Channel</td>
-<td valign="top" width="12"></td>
-</tr>
-<tr>
-<td valign="top" width="12"></td>
-<td valign="top"><input id="CONCURRENT_MODULE" title="Select this if you want to include the Concurrent library" type="checkbox" name="CONCURRENT_MODULE_NAME">&nbsp;Concurrent</td>
-<td valign="top"><input id="PRINTSUPPORT_MODULE" title="Select this if you want to include the Print Support library" type="checkbox" name="PRINTSUPPORT_MODULE_NAME">&nbsp;Print Support</td>
-<td valign="top"><input id="WEBKIT_MODULE" title="Select this if you want to include the WebKit library" type="checkbox" name="WEBKIT_MODULE_NAME">&nbsp;WebKit</td>
-<td valign="top" width="12"></td>
-</tr>
-<tr>
-<td valign="top" width="12"></td>
-<td valign="top"><input id="CORE_MODULE" title="Select this if you want to include the core library" type="checkbox" name="CORE_MODULE_NAME">&nbsp;Core</td>
-<td valign="top"><input id="QML_MODULE" title="Select this if you want to include the QML library" type="checkbox" name="QML_MODULE_NAME">&nbsp;QML</td>
-<td valign="top"><input id="WEBKITWIDGETS_MODULE" title="Select this if you want to include the Webkit Widgets library" type="checkbox" name="WEBKITWIDGETS_MODULE_NAME">&nbsp;Webkit Widgets</td>
-<td valign="top" width="12"></td>
-</tr>
-<tr>
-<td valign="top" width="12"></td>
-<td valign="top"><input id="ENGINIO_MODULE" title="Select this if you want to include the Enginio library" type="checkbox" name="ENGINIO_MODULE_NAME">&nbsp;Enginio</td>
-<td valign="top"><input id="QUICK_MODULE" title="Select this if you want to include the Quick library" type="checkbox" name="QUICK_MODULE_NAME">&nbsp;Quick</td>
-<td valign="top"><input id="WEBSOCKETS_MODULE" title="Select this if you want to include the Web Sockets library" type="checkbox" name="WEBSOCKETS_MODULE_NAME">&nbsp;Web Sockets</td>
-<td valign="top" width="12"></td>
-</tr>
-<tr>
-<td valign="top" width="12"></td>
-<td valign="top"><input id="DECLARATIVE_MODULE" title="Select this if you want to include the Declarative library" type="checkbox" name="DECLARATIVE_MODULE_NAME">&nbsp;Declarative</td>
-<td valign="top"><input id="QUICKWIDGETS_MODULE" title="Select this if you want to include the Quick Widgets library" type="checkbox" name="QUICKWIDGETS_MODULE_NAME">&nbsp;Quick Widgets</td>
-<td valign="top"><input id="WIDGETS_MODULE" title="Select this if you want to include the Widgets library" type="checkbox" name="WIDGETS_MODULE_NAME">&nbsp;Widgets</td>
-<td valign="top" width="12"></td>
-</tr>
-<tr>
-<td valign="top" width="12"></td>
-<td valign="top"><input id="GUI_MODULE" title="Select this if you want to include the GUI library" type="checkbox" name="GUI_MODULE_NAME">&nbsp;GUI</td>
-<td valign="top"><input id="SCRIPT_MODULE" title="Select this if you want to include the Script library" type="checkbox" name="SCRIPT_MODULE_NAME">&nbsp;Script</td>
-<td valign="top"><input id="WINDOWSEXTRAS_MODULE" title="Select this if you want to include the Windows Extras library" type="checkbox" name="WINDOWSEXTRAS_MODULE_NAME">&nbsp;Windows Extras</td>
-<td valign="top" width="12"></td>
-</tr>
-<tr>
-<td valign="top" width="12"></td>
-<td valign="top"><input id="HELP_MODULE" title="Select this if you want to include the Help library" type="checkbox" name="HELP_MODULE_NAME">&nbsp;Help</td>
-<td valign="top"><input id="SCRIPTTOOLS_MODULE" title="Select this if you want to include the Script Tools" type="checkbox" name="SCRIPTTOOLS_MODULE_NAME">&nbsp;Script Tools</td>
-<td valign="top"><input id="XML_MODULE" title="Select this if you want to include the XML library" type="checkbox" name="XML_MODULE_NAME">&nbsp;XML</td>
-<td valign="top" width="12"></td>
-</tr>
-<tr>
-<td valign="top" width="12"></td>
-<td valign="top"><input id="LOCATION_MODULE" title="Select this if you want to include the Location library" type="checkbox" name="LOCATION_MODULE_NAME">&nbsp;Location</td>
-<td valign="top"><input id="SENSORS_MODULE" title="Select this if you want to include the Sensors library" type="checkbox" name="SENSORS_MODULE_NAME">&nbsp;Sensors</td>
-<td valign="top"><input id="XMLPATTERNS_MODULE" title="Select this if you want to include the XML Patterns library" type="checkbox" name="XMLPATTERNS_MODULE_NAME">&nbsp;XML Patterns</td>
-<td valign="top" width="12"></td>
-</tr>
-<tr>
-<td valign="top" width="12"></td>
-<td valign="top"><input id="MULTIMEDIA_MODULE" title="Select this if you want to include the Multimedia library" type="checkbox" name="MULTIMEDIA_MODULE_NAME">&nbsp;Multimedia</td>
-<td valign="top"><input id="SERIALPORT_MODULE" title="Select this if you want to include the Serial Port library" type="checkbox" name="SERIALPORT_MODULE_NAME">&nbsp;Serial Port</td>
-<td valign="top" width="12"></td>
-<td valign="top" width="12"></td>
-</tr>
-<tr>
-<td valign="top" width="12"></td>
-<td valign="top"><input id="MULTIMEDIAWIDGETS_MODULE" title="Select this if you want to include the Multimedia Widgets library" type="checkbox" name="MULTIMEDIAWIDGETS_MODULE_NAME">&nbsp;Multimedia Widgets</td>
-<td valign="top"><input id="SQL_MODULE" title="Select this if you want to include the SQL library" type="checkbox" name="SQL_MODULE_NAME">&nbsp;SQL</td>
-<td valign="top" width="12"></td>
-<td valign="top" width="12"></td>
-</tr>
-<!-- -->
-<!-- END. GENERATED WITH SCRIPT, DO NOT EDIT -->
-<!-- -->
-<!-- {ADB367FB-48AA-488e-9102-B037297CFCDB} -->
-
-
-
-
- <tr>
- <td valign="top" width="12">
- </td>
- <td valign="top" colspan="3"><p>&nbsp;</p>
- </td>
- <td valign="top" width="12">
- </td>
- </tr>
- <tr>
- <td valign="top" width="12" height="100%">
- </td>
- <td valign="top" height="100%">
- </td>
- <td valign="top" height="100%">
- </td>
- <td valign="top" height="100%">
- </td>
- <td valign="top" width="12" height="100%">
- </td>
- </tr>
- </table>
- </td>
- </tr>
- <tr height="48">
- <td valign="bottom">
- <!--OPEN OF BUTTON HTML//-->
- <table height="48" cellspacing="0" cellpadding="0" border="0">
- <colgroup>
- <col width="12"/>
- <col/>
- <col width="75"/>
- <col width="4"/>
- <col width="75"/>
- <col width="4"/>
- <col width="75"/>
- <col width="12"/>
- </colgroup>
- <tr>
- <td class="RULE" valign="top" colspan="8" height="2">
- <table height="1" cellspacing="0" cellpadding="0" width="100%" border="0">
- <tr valign="top">
- </tr>
- </table>
- </td>
- </tr>
- <tr>
- <td valign="top" colspan="8" height="11">&nbsp;</td>
- </tr>
- <tr>
- <td valign="middle" width="12" height="23">&nbsp;</td>
- <td valign="top" height="23">&nbsp;</td>
- <td valign="middle" width="75" height="23">
- <button class="BUTTONS" id="FinishBtn" accesskey="F" onclick="OnFinish(document);"
- type="button">
- <u>F</u>inish</button>
- </td>
- <td valign="middle" width="4" height="23">
- &nbsp;
- </td>
- <td valign="middle" width="75" height="23">
- <button class="BUTTONS" id="CancelBtn" accesskey="C" onclick="window.external.Finish(document, 'cancel');"
- type="button">
- <u>C</u>ancel</button>
- </td>
- <td valign="middle" width="4" height="23">
- &nbsp;
- </td>
- <td valign="middle" width="75" height="23">
- <button class="BUTTONS" id="HelpBtn" disabled accesskey="H" onclick="window.external.OnHelp('vc.appwiz.custom.overview');"
- type="button">
- <u>H</u>elp</button>
- </td>
- <td valign="middle" width="12" height="23">
- &nbsp;
- </td>
- </tr>
- <tr>
- <td valign="top" colspan="8" height="12">
- &nbsp;
- </td>
- </tr>
- </table>
- <!--CLOSE OF BUTTON HTML//-->
- </td>
- </tr>
- </table>
- <!--CLOSE OF CONTENT//-->
- </td>
- </tr>
- </table>
- <!--CLOSE OF NAVIGATION, CONTENT, AND BUTTON TABLES//-->
-</body>
-</html>
-
-<script language="JSCRIPT">
-
- var QtEngine;
- var tab_array = new Array();
- tab_array[0] = Default;
- tab_array[1] = Page_2;
-
- // This is an example of a function which initializes the page
- //
- function InitDocument(document) {
- var dte = window.external.dte;
- var version = dte.version;
- if (version == "8.0")
- QtEngine = new ActiveXObject("Digia.Qt5ProjectEngine80");
- else if (version == "9.0")
- QtEngine = new ActiveXObject("Digia.Qt5ProjectEngine90");
- else if (version == "10.0")
- QtEngine = new ActiveXObject("Digia.Qt5ProjectEngine100");
- else if (version == "11.0")
- QtEngine = new ActiveXObject("Digia.Qt5ProjectEngine110");
- else if (version == "12.0")
- QtEngine = new ActiveXObject("Digia.Qt5ProjectEngine120");
- else {
- window.external.ReportError("Cannot instantiate QtProjectEngine object!");
- return false;
- }
-
- setDirection();
- if (window.external.FindSymbol('DOCUMENT_FIRST_LOAD')) {
- // This function sets the default symbols based
- // on the values specified in the SYMBOL tags above
- //
- window.external.SetDefaults(document);
- }
- // Load the document and initialize the controls
- // with the appropriate symbol values
- //
- window.external.Load(document);
-
- // Disable Essential modules which are not installed (Should not found any?)
- DisableUninstalled(THREED_MODULE_NAME, "Qt3D", QtEngine);
- DisableUninstalled(CORE_MODULE_NAME, "QtCore", QtEngine);
- DisableUninstalled(GUI_MODULE_NAME, "QtGui", QtEngine);
- DisableUninstalled(LOCATION_MODULE_NAME, "QtLocation", QtEngine);
- DisableUninstalled(MULTIMEDIA_MODULE_NAME, "QtMultimedia", QtEngine);
- DisableUninstalled(MULTIMEDIAWIDGETS_MODULE_NAME, "QtMultimediaWidgets", QtEngine);
- DisableUninstalled(NETWORK_MODULE_NAME, "QtNetwork", QtEngine);
- DisableUninstalled(QML_MODULE_NAME, "QtQml", QtEngine);
- DisableUninstalled(QUICK_MODULE_NAME, "QtQuick", QtEngine);
- DisableUninstalled(SQL_MODULE_NAME, "QtSql", QtEngine);
- DisableUninstalled(TEST_MODULE_NAME, "QtTest", QtEngine);
- DisableUninstalled(WEBKIT_MODULE_NAME, "QtWebkit", QtEngine);
-
- // Disable Add-on modules which are not installed
- DisableUninstalled(AQCONTAINER_MODULE_NAME, "QtAxContainer", QtEngine);
- DisableUninstalled(AQSERVER_MODULE_NAME, "QtAxServer", QtEngine);
- DisableUninstalled(BLUETOOTH_MODULE_NAME, "QtBluetooth", QtEngine);
- DisableUninstalled(CONCURRENT_MODULE_NAME, "QtConcurrent", QtEngine);
- DisableUninstalled(DECLARATIVE_MODULE_NAME, "QtDeclarative", QtEngine);
- DisableUninstalled(ENGINIO_MODULE_NAME, "Enginio", QtEngine);
- DisableUninstalled(HELP_MODULE_NAME, "QtHelp", QtEngine);
- DisableUninstalled(NFC_MODULE_NAME, "QtNfc", QtEngine);
- DisableUninstalled(OPENGL_MODULE_NAME, "QtOpenGL", QtEngine);
- DisableUninstalled(POSITIONING_MODULE_NAME, "QtPositioning", QtEngine);
- DisableUninstalled(PRINTSUPPORT_MODULE_NAME, "QtPrintSupport", QtEngine);
- DisableUninstalled(QUICKWIDGETS_MODULE_NAME, "QtQuickWidgets", QtEngine);
- DisableUninstalled(SCRIPT_MODULE_NAME, "QtScript", QtEngine);
- DisableUninstalled(SCRIPTTOOLS_MODULE_NAME, "QtScriptTools", QtEngine);
- DisableUninstalled(SENSORS_MODULE_NAME, "QtSensors", QtEngine);
- DisableUninstalled(SERIALPORT_MODULE_NAME, "QtSerialPort", QtEngine);
- DisableUninstalled(SVG_MODULE_NAME, "QtSvg", QtEngine);
- DisableUninstalled(UITOOLS_MODULE_NAME, "QtUiTools", QtEngine);
- DisableUninstalled(WEBCHANNEL_MODULE_NAME, "QtWebChannel", QtEngine);
- DisableUninstalled(WEBKITWIDGETS_MODULE_NAME, "QtWebkitWidgets", QtEngine);
- DisableUninstalled(WEBSOCKETS_MODULE_NAME, "QtWebSockets", QtEngine);
- DisableUninstalled(WIDGETS_MODULE_NAME, "QtWidgets", QtEngine);
- DisableUninstalled(WINDOWSEXTRAS_MODULE_NAME, "QtWinExtras", QtEngine);
- DisableUninstalled(XML_MODULE_NAME, "QtXml", QtEngine);
- DisableUninstalled(XMLPATTERNS_MODULE_NAME, "QtXmlPatterns", QtEngine);
-
- // Disable these cause mandatory for this wizard
- CORE_MODULE_NAME.disabled = true;
- GUI_MODULE_NAME.disabled = true;
- WIDGETS_MODULE_NAME.disabled = true;
-
- }
-
- function DisableUninstalled(element, lib_name, engine) {
- var not_installed = !engine.IsModuleInstalled(lib_name);
- element.disabled = not_installed;
- if (not_installed) {
- element.title = ""; // Not installed so don't show title
- element.parentNode.className = "addon_disabled";
- }
- return not_installed;
- }
-
- // If the wizard has more than 1 page, this
- // function will browse to the page specified
- //
- function Next(document, linkto) {
- CORE_MODULE_NAME.disabled = false;
- GUI_MODULE_NAME.disabled = false;
- WIDGETS_MODULE_NAME.disabled = false;
- window.external.Next(document, linkto);
- }
-
- // This is an example of a function which
- // gets called when the user clicks on 'Finish'
- //
- function OnFinish(document) {
- CORE_MODULE_NAME.disabled = false;
- GUI_MODULE_NAME.disabled = false;
- WIDGETS_MODULE_NAME.disabled = false;
- OnWizFinish(document);
- }
-
-</script>
-<script language="JSCRIPT" id="INCLUDE_SCRIPT"></script>
-<script language="JSCRIPT" id="INCLUDE_COMMON"></script>
-<!--
-Common.js is a script file which contains the helper functions
-used by the wizards. Include this line if you want to
-call these functions from your html scripts.
-//-->
-<script>
- var strPath = window.external.FindSymbol("PRODUCT_INSTALLATION_DIR");
- strPath += "VCWizards/";
- strPath += window.external.GetHostLocale();
-
- // verify if the locale folder really exists
- var fso = new ActiveXObject("Scripting.FileSystemObject");
- var found = fso.FolderExists(strPath)
- if (found == false) {
- strPath = window.external.FindSymbol("PRODUCT_INSTALLATION_DIR");
- strPath += "VCWizards/";
- var folder = fso.GetFolder(strPath);
- for (subfolders = new Enumerator(folder.SubFolders); !subfolders.atEnd(); subfolders.moveNext()) {
- for (files = new Enumerator(subfolders.item().files); !files.atEnd(); files.moveNext()) {
- if (files.item().name.toLowerCase().localeCompare("common.js") == 0) {
- found = true;
- strPath += subfolders.item().name;
- break;
- }
- }
- if (found == true)
- break;
- }
- }
-
- var strScriptPath = strPath + "/Script.js";
- var strCommonPath = strPath + "/Common.js";
- document.scripts("INCLUDE_SCRIPT").src = strScriptPath;
- document.scripts("INCLUDE_COMMON").src = strCommonPath;
-</script>
diff --git a/Qt4VS2003/Projects/Qt5GuiProject/HTML/1033/Page_3.htm b/Qt4VS2003/Projects/Qt5GuiProject/HTML/1033/Page_3.htm
deleted file mode 100644
index 8a4a0521..00000000
--- a/Qt4VS2003/Projects/Qt5GuiProject/HTML/1033/Page_3.htm
+++ /dev/null
@@ -1,549 +0,0 @@
-<html dir="ltr">
-<head>
- <meta name="vs_showGrid" content="True"/>
- <title>'Qt5GuiProject'</title>
- <meta content="http://schemas.microsoft.com/intellisense/ie5" name="vs_targetSchema"/>
- <link id="LINKURL" rel="stylesheet" href="../../1033/styles.css"/>
-</head>
-<body onkeypress="OnPress();" onkeydown="OnKey();" bottommargin="0" bgcolor="buttonface"
- leftmargin="0" topmargin="0" onload="InitDocument(document);" rightmargin="0">
- <table class="ONE" height="100%" cellspacing="0" cellpadding="0" width="100%" border="0">
- <colgroup>
- <col width="178"/>
- <col/>
- </colgroup>
-
- <!--OPEN OF INTRODUCTORY INFORMATION TABLE//-->
- <tr valign="top">
- <td width="100%" colspan="2" height="79">
- <table class="TWO" cellspacing="0" cellpadding="0" border="0">
- <colgroup>
- <col width="12">
- <col>
- <col width="12">
- <tr>
- <td valign="top" width="12" height="12">
- &nbsp;
- </td>
- <td valign="top" height="12">
- &nbsp;
- </td>
- <td valign="top" width="12" height="12">
- &nbsp;
- </td>
- <td class="IMAGE" valign="bottom" width="110" rowspan="2">
- <div class="SMALLA" id="Layer0">
- <img class="SMALLEST" height="63" alt="" src="..\..\Images\Qt5GuiProject.jpg" width="63"
- border="0">
- </div>
- </td>
- <td valign="top" width="6" height="12" rowspan="2">
- &nbsp;
- </td>
- </tr>
- <tr>
- <td valign="top" width="12" height="65">
- &nbsp;
- </td>
- <td valign="top" height="65">
- <h4 class="HEAD" id="HEAD">
- Welcome to the Qt5&nbsp;GUI project wizard</h4>
- <p class="SUBHEAD" id="SUBHEAD">
- This wizard generates a&nbsp;Qt5&nbsp;GUI&nbsp;application project. The&nbsp;application&nbsp;derives
- by default from QApplication and includes an empty widget.&nbsp;</p>
- </td>
- <td valign="top" width="12" height="65">
- &nbsp;
- </td>
- </tr>
- <tr>
- <td class="RULE" valign="top" colspan="5" height="2">
- <table height="1" cellspacing="0" cellpadding="0" width="100%" border="0">
- <tr valign="top">
- <td width="100%" bgcolor="buttonshadow" height="1">
- <img height="1" alt="" src="../../Images/spacer.gif" width="1">
- </td>
- <td width="1" bgcolor="window" height="1">
- <img height="1" alt="" src="../../Images/spacer.gif" width="1">
- </td>
- </tr>
- </table>
- </td>
- </tr>
- </table>
- </td>
- </tr>
- <!--CLOSE OF INTRODUCTORY INFORMATION TABLE//-->
-
- <!--OPEN OF NAVIGATION, CONTENT, AND BUTTON TABLES//-->
- <tr valign="top">
- <td class="THREE" valign="top" width="178" height="100%">
- <!--OPEN OF NAVIGATION TABLE//-->
- <table class="THREE" cellspacing="0" cellpadding="0" border="0">
- <colgroup>
- <col width="12">
- <col width="166">
- <col width="1">
- <tr>
- <td valign="top" colspan="3" height="12">
- &nbsp;
- </td>
- </tr>
- <tr>
- <td valign="top" width="12" height="100%">
- &nbsp;
- </td>
- <td valign="top" width="165" height="100%">
- <!--OPEN OF NAVIGATIONAL LINKS//-->
- <div class="LINK">
- <table class="LINKTEXT" height="28" cellspacing="0" cellpadding="0" width="166" border="0">
- <tr valign="middle">
- <td width="162">
- <span class="ACTIVELINK" id="Page_1" title="" onclick="Next(document, 'default.htm');"
- tabindex="1">Overview</span>
- </td>
- <td width="4">
- <img height="1" src="../../Images/spacer.gif" width="4">
- </td>
- </tr>
- </table>
- </div>
- <div class="LINK">
- <table class="LINKTEXT" height="28" cellspacing="0" cellpadding="0" width="166" border="0"
- id="Table1">
- <tr valign="middle">
- <td width="162">
- <span class="ACTIVELINK" id="Page_2" title="" onclick="Next(document, 'Page_2.htm');"
- tabindex="1">Project Settings</span>
- </td>
- <td width="4">
- <img height="1" src="../../Images/spacer.gif" width="4">
- </td>
- </tr>
- </table>
- </div>
- <div class="LINKSELECTED">
- <span class="VERTLINE1">
- <img height="1" alt="" src="../../Images/spacer.gif" width="1" border="0">
- </span><span class="HORILINE1">
- <table height="100%" cellspacing="0" cellpadding="0" width="167" border="0">
- <tr valign="top">
- <td class="DOTTEDLINE" height="1">
- </td>
- </tr>
- <tr valign="top">
- <td height="100%">
- <img height="28" alt="" src="../../Images/spacer.gif" width="1" border="0">
- </td>
- </tr>
- <tr valign="top">
- <td class="DOTTEDLINE" height="1">
- </td>
- </tr>
- </table>
- </span>
- <table class="LINKTEXTSELECTED" height="28" cellspacing="0" cellpadding="0" width="160"
- border="0">
- <tr valign="middle">
- <td width="162">
- <span id="Page_3" title="" onclick="Next(document, 'Page_2.htm');" tabindex="1">Generated
- Class</span>
- </td>
- <td width="4">
- <img height="1" src="../../Images/spacer.gif" width="4">
- </td>
- </tr>
- </table>
- </div>
- <!--CLOSE OF NAVIGATIONAL LINKS//-->
- </td>
- <td width="1">
- <div class="VERTLINE">
- <img height="1" alt="" src="../../Images/spacer.gif" width="1" border="0">
- </div>
- </td>
- </tr>
- </table>
- <!--CLOSE OF NAVIGATION TABLE//-->
- </td>
- <td valign="top" height="100%">
- <!--OPEN OF CONTENT AND BUTTON TABLE//-->
- <table class="ONE" cellspacing="0" cellpadding="0" border="0">
- <colgroup>
- <col width="100%">
- <tr valign="top">
- <td valign="top" height="100%">
- <!--OPEN OF CONTENT//-->
- <table class="CONTENT" cellspacing="0" cellpadding="0" border="0">
- <colgroup>
- <tr>
- <td width="12" height="12">
- </td>
- <td height="12">
- </td>
- <td height="12">
- </td>
- <td width="12" height="12">
- </td>
- </tr>
- <tr>
- <td valign="top" width="12">
- </td>
- <td valign="top">
- Class name:
- </td>
- <td valign="top">
- Base class:
- </td>
- <td valign="top" width="12">
- </td>
- </tr>
- <tr>
- <td valign="top" width="12">
- </td>
- <td valign="top">
- <input id="CLASSNAME_TEXT" type="text" name="className" onpropertychange="ClassNameChanged();">
- </td>
- <td valign="top">
- <select id="BASECLASS_COMBO" style="width: 120px" name="baseClass" width="168">
- <option value="1" selected>QMainWindow</option>
- <option value="2">QWidget</option>
- <option value="3">QDialog</option>
- </select>
- </td>
- <td valign="top" width="12">
- </td>
- </tr>
- <tr>
- <td width="12" height="12">
- </td>
- <td height="12">
- </td>
- <td height="12">
- </td>
- <td width="12" height="12">
- </td>
- </tr>
- <tr>
- <td width="12" height="12">
- </td>
- <td height="12">
- </td>
- <td height="12">
- </td>
- <td width="12" height="12">
- </td>
- </tr>
- <tr>
- <td valign="top" width="12">
- </td>
- <td valign="top">
- .h file:
- </td>
- <td valign="top">
- <p>
- .cpp&nbsp;file:</p>
- </td>
- <td valign="top" width="12">
- </td>
- </tr>
- <tr>
- <td valign="top" width="12">
- </td>
- <td valign="top">
- <input id="HFILE_TEXT" type="text" name="hFile">
- </td>
- <td valign="top">
- <input id="CPPFILE_TEXT" type="text" name="cppFile">
- </td>
- <td valign="top" width="12">
- </td>
- </tr>
- <tr>
- <td valign="top" width="12">
- </td>
- <td valign="top">
- .ui file:
- </td>
- <td valign="top">
- .qrc file:
- </td>
- <td valign="top" width="12">
- </td>
- </tr>
- <tr>
- <td valign="top" width="12" style="height: 19px">
- </td>
- <td valign="top">
- <input id="UIFILE_TEXT" type="text" name="uiFile">
- <td valign="top">
- <input id="QRCFILE_TEXT" type="text" name="qrcFile">
- </td>
- <td valign="top" width="12" style="height: 19px">
- </td>
- </tr>
- <tr>
- <td width="12" height="12">
- </td>
- <td height="12">
- </td>
- <td height="12">
- </td>
- <td width="12" height="12">
- </td>
- </tr>
- <tr>
- <td width="12" height="24">
- </td>
- <td height="12" colspan="2">
- <input id="APP_ICON" title="Add Default Application Icon (Windows only)" type="checkbox"
- name="APP_ICON_NAME">Add default application icon (Windows only)
- </td>
- <td width="12" height="12">
- </td>
- </tr>
- <tr>
- <td width="12" height="24">
- </td>
- <td height="12" colspan="2">
- <input id="PRECOMPILED_HEADERS" title="Use Precompiled Headers" type="checkbox" name="precompiledHeaders">Use
- Precompiled Headers
- </td>
- <td width="12" height="12">
- </td>
- </tr>
- <tr>
- <td valign="top" width="12" height="100%">
- </td>
- <td valign="top" height="100%">
- </td>
- <td valign="top" height="100%">
- </td>
- <td valign="top" width="12" height="100%">
- </td>
- </tr>
- </table>
- <!--CLOSE OF CONTENT//-->
- </td>
- </tr>
- <tr valign="bottom">
- <td height="48">
- <!--OPEN OF BUTTON HTML//-->
- <table height="48" cellspacing="0" cellpadding="0" border="0">
- <colgroup>
- <col width="12">
- <col>
- <col width="75">
- <col width="4">
- <col width="75">
- <col width="4">
- <col width="75">
- <col width="12">
- <tr>
- <td class="RULE" valign="top" colspan="8" height="2">
- <table height="1" cellspacing="0" cellpadding="0" width="100%" border="0">
- <tr valign="top">
- </tr>
- </table>
- </td>
- </tr>
- <tr>
- <td valign="top" colspan="8" height="11">
- &nbsp;
- </td>
- </tr>
- <tr>
- <td valign="middle" width="12" height="23">
- &nbsp;
- </td>
- <td valign="top" height="23">
- &nbsp;
- </td>
- <td valign="middle" width="75" height="23">
- <button class="BUTTONS" id="FinishBtn" accesskey="F" onclick="OnFinish(document);"
- type="button">
- <u>F</u>inish</button>
- </td>
- <td valign="middle" width="4" height="23">
- &nbsp;
- </td>
- <td valign="middle" width="75" height="23">
- <button class="BUTTONS" id="CancelBtn" accesskey="C" onclick="window.external.Finish(document, 'cancel');"
- type="button">
- <u>C</u>ancel</button>
- </td>
- <td valign="middle" width="4" height="23">
- &nbsp;
- </td>
- <td valign="middle" width="75" height="23">
- <button class="BUTTONS" id="HelpBtn" disabled accesskey="H" onclick="window.external.OnHelp('vc.appwiz.custom.overview');"
- type="button">
- <u>H</u>elp</button>
- </td>
- <td valign="middle" width="12" height="23">
- &nbsp;
- </td>
- </tr>
- <tr>
- <td valign="top" colspan="8" height="12">
- &nbsp;
- </td>
- </tr>
- </table>
- <!--CLOSE OF BUTTON HTML//-->
- </td>
- </tr>
- </table>
- <!--CLOSE OF NAVIGATION, CONTENT, AND BUTTON TABLES//-->
- </td>
- </tr>
- </table>
-</body>
-</html>
-
-<script language="JSCRIPT">
-
- var tab_array = new Array();
- tab_array[0] = Page_1;
- tab_array[1] = Page_2;
-
- // This is an example of a function which initializes the page
- //
- function InitDocument(document) {
- setDirection();
-
- if (window.external.FindSymbol('DOCUMENT_FIRST_LOAD')) {
- // This function sets the default symbols based
- // on the values specified in the SYMBOL tags above
- //
- window.external.SetDefaults(document);
- }
-
- // Load the document and initialize the controls
- // with the appropriate symbol values
- //
- window.external.Load(document);
- }
-
- function ClassNameChanged() {
- HFILE_TEXT.value = CLASSNAME_TEXT.value.toLowerCase() + ".h";
- CPPFILE_TEXT.value = CLASSNAME_TEXT.value.toLowerCase() + ".cpp";
- UIFILE_TEXT.value = CLASSNAME_TEXT.value.toLowerCase() + ".ui";
- QRCFILE_TEXT.value = CLASSNAME_TEXT.value.toLowerCase() + ".qrc";
- }
-
- function ValidateAndUpdate() {
- var Inputs = document.all.tags("INPUT");
-
- var regexp = /\s/g;
- var proName = window.external.FindSymbol('PROJECT_NAME').replace(regexp, "");
-
- var field = Inputs.item("className");
- if (!window.external.dte.VCLanguageManager.ValidateIdentifier(field.value) ||
- window.external.dte.VCLanguageManager.IsReservedName(field.value)) {
- window.external.ReportError("Not a valid class name!");
- field.value = proName;
- return false;
- }
-
- field = Inputs.item("hFile");
- if (!ValidateFileName(field.value)) {
- window.external.ReportError("Not a valid file name!");
- field.value = proName.toLowerCase() + ".h";
- return false;
- }
-
- field = Inputs.item("cppFile");
- if (!ValidateFileName(field.value)) {
- window.external.ReportError("Not a valid file name!");
- field.value = proName.toLowerCase() + ".cpp";
- return false;
- }
-
- field = Inputs.item("uiFile");
- var strFile = field.value.toLowerCase().replace(".h", ".x"); // don't validate .h files...
- var strFile = strFile.replace(".ui", ".h");
- if (!ValidateFileName(strFile)) {
- window.external.ReportError("Not a valid file name!");
- field.value = proName.toLowerCase() + ".ui";
- return false;
- }
-
- field = Inputs.item("qrcFile");
- var strFile = field.value.toLowerCase().replace(".h", ".x"); // don't validate .h files...
- var strFile = strFile.replace(".qrc", ".h");
-
- if (!ValidateFileName(strFile)) {
- window.external.ReportError("Not a valid file name!");
- field.value = proName.toLowerCase() + ".qrc";
- return false;
- }
- return true;
- }
-
- function ValidateFileName(FileName) {
- if (!window.external.dte.VCLanguageManager.ValidateFileName(FileName))
- return false;
- if (FileName.search(/[\\\/\:\*\?\"\<\>\|]/g) != -1)
- return false;
- return true;
- }
-
- // If the wizard has more than 1 page, this
- // function will browse to the page specified
- //
- function Next(document, linkto) {
- if (!ValidateAndUpdate())
- return;
-
- window.external.Next(document, linkto);
- }
-
- // This is an example of a function which
- // gets called when the user clicks on 'Finish'
- //
- function OnFinish(document) {
- if (!ValidateAndUpdate())
- return;
-
- OnWizFinish(document);
- }
-
-</script>
-<script language="JSCRIPT" id="INCLUDE_SCRIPT"></script>
-<script language="JSCRIPT" id="INCLUDE_COMMON"></script>
-<!--
-Common.js is a script file which contains the helper functions
-used by the wizards. Include this line if you want to
-call these functions from your html scripts.
-//-->
-<script>
- var strPath = window.external.FindSymbol("PRODUCT_INSTALLATION_DIR");
- strPath += "VCWizards/";
- strPath += window.external.GetHostLocale();
-
- // verify if the locale folder really exists
- var fso = new ActiveXObject("Scripting.FileSystemObject");
- var found = fso.FolderExists(strPath)
- if (found == false) {
- strPath = window.external.FindSymbol("PRODUCT_INSTALLATION_DIR");
- strPath += "VCWizards/";
- var folder = fso.GetFolder(strPath);
- for (subfolders = new Enumerator(folder.SubFolders); !subfolders.atEnd(); subfolders.moveNext()) {
- for (files = new Enumerator(subfolders.item().files); !files.atEnd(); files.moveNext()) {
- if (files.item().name.toLowerCase().localeCompare("common.js") == 0) {
- found = true;
- strPath += subfolders.item().name;
- break;
- }
- }
- if (found == true)
- break;
- }
- }
-
- var strScriptPath = strPath + "/Script.js";
- var strCommonPath = strPath + "/Common.js";
- document.scripts("INCLUDE_SCRIPT").src = strScriptPath;
- document.scripts("INCLUDE_COMMON").src = strCommonPath;
-</script>
diff --git a/Qt4VS2003/Projects/Qt5GuiProject/HTML/1033/default.htm b/Qt4VS2003/Projects/Qt5GuiProject/HTML/1033/default.htm
deleted file mode 100644
index b1d90467..00000000
--- a/Qt4VS2003/Projects/Qt5GuiProject/HTML/1033/default.htm
+++ /dev/null
@@ -1,525 +0,0 @@
-<html dir="ltr">
-<head>
- <title>'Qt5GuiProject'</title>
- <meta content="http://schemas.microsoft.com/intellisense/ie5" name="vs_targetSchema">
- <link id="LINKURL" rel="stylesheet" href="../../1033/styles.css">
- <!-- -->
- <!-- The SYMBOL tag is used to set the default values for the user-defined symbols.-->
- <!-- -->
- <symbol name="WIZARD_DIALOG_TITLE" type="text" value="Qt5 GUI Project Wizard"></symbol>
- <symbol name="THREED_MODULE" type="checkbox" value="false"></symbol>
- <symbol name="AQCONTAINER_MODULE" type="checkbox" value="false"></symbol>
- <symbol name="AQSERVER_MODULE" type="checkbox" value="false"></symbol>
- <symbol name="BLUETOOTH_MODULE" type="checkbox" value="false"></symbol>
- <symbol name="CONCURRENT_MODULE" type="checkbox" value="false"></symbol>
- <symbol name="CORE_MODULE" type="checkbox" value="true"></symbol>
- <symbol name="ENGINIO_MODULE" type="checkbox" value="false"></symbol>
- <symbol name="DECLARATIVE_MODULE" type="checkbox" value="false"></symbol>
- <symbol name="GUI_MODULE" type="checkbox" value="true"></symbol>
- <symbol name="HELP_MODULE" type="checkbox" value="false"></symbol>
- <symbol name="LOCATION_MODULE" type="checkbox" value="false"></symbol>
- <symbol name="MULTIMEDIA_MODULE" type="checkbox" value="false"></symbol>
- <symbol name="MULTIMEDIAWIDGETS_MODULE" type="checkbox" value="false"></symbol>
- <symbol name="NETWORK_MODULE" type="checkbox" value="false"></symbol>
- <symbol name="NFC_MODULE" type="checkbox" value="false"></symbol>
- <symbol name="OPENGL_MODULE" type="checkbox" value="false"></symbol>
- <symbol name="POSITIONING_MODULE" type="checkbox" value="false"></symbol>
- <symbol name="PRINTSUPPORT_MODULE" type="checkbox" value="false"></symbol>
- <symbol name="QML_MODULE" type="checkbox" value="false"></symbol>
- <symbol name="QUICK_MODULE" type="checkbox" value="false"></symbol>
- <symbol name="QUICKWIDGETS_MODULE" type="checkbox" value="false"></symbol>
- <symbol name="SCRIPT_MODULE" type="checkbox" value="false"></symbol>
- <symbol name="SCRIPTTOOLS_MODULE" type="checkbox" value="false"></symbol>
- <symbol name="SENSORS_MODULE" type="checkbox" value="false"></symbol>
- <symbol name="SERIALPORT_MODULE" type="checkbox" value="false"></symbol>
- <symbol name="SQL_MODULE" type="checkbox" value="false"></symbol>
- <symbol name="SVG_MODULE" type="checkbox" value="false"></symbol>
- <symbol name="TEST_MODULE" type="checkbox" value="false"></symbol>
- <symbol name="UITOOLS_MODULE" type="checkbox" value="false"></symbol>
- <symbol name="WEBCHANNEL_MODULE" type="checkbox" value="false"></symbol>
- <symbol name="WEBKIT_MODULE" type="checkbox" value="false"></symbol>
- <symbol name="WEBKITWIDGETS_MODULE" type="checkbox" value="false"></symbol>
- <symbol name="WEBSOCKETS_MODULE" type="checkbox" value="false"></symbol>
- <symbol name="WIDGETS_MODULE" type="checkbox" value="true"></symbol>
- <symbol name="WINDOWSEXTRAS_MODULE" type="checkbox" value="false"></symbol>
- <symbol name="XML_MODULE" type="checkbox" value="false"></symbol>
- <symbol name="XMLPATTERNS_MODULE" type="checkbox" value="false"></symbol>
- <symbol name="CLASSNAME_TEXT" type="text" value=""></symbol>
- <symbol name="HFILE_TEXT" type="text" value=""></symbol>
- <symbol name="CPPFILE_TEXT" type="text" value=""></symbol>
- <symbol name="UIFILE_TEXT" type="text" value=""></symbol>
- <symbol name="QRCFILE_TEXT" type="text" value=""></symbol>
- <symbol name="APP_TYPE_SUMMARY" type="text" value="Qt5 GUI Project"></symbol>
-</head>
-<body onkeypress="OnPress();" onkeydown="OnKey();" bottommargin="0" bgcolor="buttonface"
- leftmargin="0" topmargin="0" onload="InitDocument(document);" rightmargin="0">
- <table class="ONE" height="100%" cellspacing="0" cellpadding="0" width="100%" border="0">
- <colgroup>
- <col width="178">
- <col>
- <!--OPEN OF INTRODUCTORY INFORMATION TABLE//-->
- <tr valign="top">
- <td width="100%" colspan="2" height="79">
- <table class="TWO" cellspacing="0" cellpadding="0" border="0">
- <colgroup>
- <col width="12">
- <col>
- <col width="12">
- <tr>
- <td valign="top" width="12" height="12">
- &nbsp;
- </td>
- <td valign="top" height="12">
- &nbsp;
- </td>
- <td valign="top" width="12" height="12">
- &nbsp;
- </td>
- <td class="IMAGE" valign="bottom" width="110" rowspan="2">
- <div class="SMALLA" id="Layer0">
- <img class="SMALLEST" height="63" alt="" src="../../Images/Qt5GuiProject.jpg" width="63"
- border="0">
- </div>
- </td>
- <td valign="top" width="6" height="12" rowspan="2">
- &nbsp;
- </td>
- </tr>
- <tr>
- <td valign="top" width="12" height="65">
- &nbsp;
- </td>
- <td valign="top" height="65">
- <h4 class="HEAD" id="HEAD">
- Welcome to the Qt5&nbsp;GUI project wizard</h4>
- <p class="SUBHEAD" id="SUBHEAD">
- This wizard generates a&nbsp;Qt5&nbsp;GUI&nbsp;application project. The&nbsp;application&nbsp;derives
- by default from QApplication and includes an empty widget.</p>
- </td>
- <td valign="top" width="12" height="65">
- &nbsp;
- </td>
- </tr>
- <tr>
- <td class="RULE" valign="top" colspan="5" height="2">
- <table height="1" cellspacing="0" cellpadding="0" width="100%" border="0">
- <tr valign="top">
- <td width="100%" bgcolor="buttonshadow" height="1">
- <img height="1" alt="" src="../../Images/spacer.gif" width="1">
- </td>
- <td width="1" bgcolor="window" height="1">
- <img height="1" alt="" src="../../Images/spacer.gif" width="1">
- </td>
- </tr>
- </table>
- </td>
- </tr>
- </table>
- </td>
- </tr>
- <!--CLOSE OF INTRODUCTORY INFORMATION TABLE//-->
- <!--OPEN OF NAVIGATION, CONTENT, AND BUTTON TABLES//-->
- <tr valign="top">
- <td class="THREE" valign="top" width="178" height="100%">
- <!--OPEN OF NAVIGATION TABLE//-->
- <table class="THREE" cellspacing="0" cellpadding="0" border="0">
- <colgroup>
- <col width="12">
- <col width="166">
- <col width="1">
- <tr>
- <td valign="top" colspan="3" height="12">
- &nbsp;
- </td>
- </tr>
- <tr>
- <td valign="top" width="12" height="100%">
- &nbsp;
- </td>
- <td valign="top" width="165" height="100%">
- <!--OPEN OF NAVIGATIONAL LINKS//-->
- <div class="LINKSELECTED">
- <span class="VERTLINE1">
- <img height="1" alt="" src="../../Images/spacer.gif" width="1" border="0">
- </span><span class="HORILINE1">
- <table height="100%" cellspacing="0" cellpadding="0" width="167" border="0">
- <tr valign="top">
- <td class="DOTTEDLINE" height="1">
- </td>
- </tr>
- <tr valign="top">
- <td height="100%">
- <img height="28" alt="" src="../../Images/spacer.gif" width="1" border="0">
- </td>
- </tr>
- <tr valign="top">
- <td class="DOTTEDLINE" height="1">
- </td>
- </tr>
- </table>
- </span>
- <table class="LINKTEXTSELECTED" height="28" cellspacing="0" cellpadding="0" width="160"
- border="0">
- <tr valign="middle">
- <td width="156">
- <span id="Page_1" title="" onclick="Next(document, 'default.htm');" tabindex="1">Overview</span>
- </td>
- <td width="4">
- <img height="1" src="../../Images/spacer.gif" width="4">
- </td>
- </tr>
- </table>
- </div>
- <div class="LINK">
- <table class="LINKTEXT" height="28" cellspacing="0" cellpadding="0" width="166" border="0">
- <tr valign="middle">
- <td width="162">
- <span class="ACTIVELINK" id="Page_2" title="" onclick="Next(document, 'Page_2.htm');"
- tabindex="1">Project Settings</span>
- </td>
- <td width="4">
- <img height="1" src="../../Images/spacer.gif" width="4">
- </td>
- </tr>
- </table>
- </div>
- <div class="LINK">
- <table class="LINKTEXT" height="28" cellspacing="0" cellpadding="0" width="166" border="0"
- id="Table1">
- <tr valign="middle">
- <td width="162">
- <span class="ACTIVELINK" id="Page_3" title="" onclick="Next(document, 'Page_3.htm');"
- tabindex="1">Generated Class</span>
- </td>
- <td width="4">
- <img height="1" src="../../Images/spacer.gif" width="4">
- </td>
- </tr>
- </table>
- </div>
- <!--CLOSE OF NAVIGATIONAL LINKS//-->
- </td>
- <td width="1">
- <div class="VERTLINE">
- <img height="1" alt="" src="../../Images/spacer.gif" width="1" border="0">
- </div>
- </td>
- </tr>
- </table>
- <!--CLOSE OF NAVIGATION TABLE//-->
- </td>
- <td valign="top" height="100%">
- <!--OPEN OF CONTENT AND BUTTON TABLE//-->
- <table class="ONE" cellspacing="0" cellpadding="0" border="0">
- <colgroup>
- <col width="100%">
- <tr valign="top">
- <td height="100%">
- <!--OPEN OF CONTENT//-->
- <table class="CONTENT" cellspacing="0" cellpadding="0" border="0">
- <colgroup>
- <col width="12">
- <col width="185">
- <col width="12">
- <col width="185">
- <col width="12">
- <col width="185">
- <col width="12">
- <tr>
- <td valign="top" colspan="5" height="12">
- &nbsp;
- </td>
- </tr>
- <tr valign="top">
- <td valign="top" width="12">
- &nbsp;
- </td>
- <td valign="top" colspan="3">
- <p>
- <span class="ItemTextTop" id="PROJECT_SETTINGS_SPAN">These are currently selected Qt
- modules:</span></p>
- <p>
- <span class="ItemTextTop"></span><span class="ItemText" id="QTMODULES" title="">
- </span>
- </p>
- <p>
- <span class="ItemText" title=""></span><span class="ItemText" id="FinishText">Click
- <b>Finish</b> from any window to accept the current settings.</span>
- </p>
- </td>
- <td valign="top" width="12">
- &nbsp;
- </td>
- </tr>
- <tr>
- <td valign="top" colspan="7" height="100%">
- &nbsp;
- </td>
- </tr>
- </table>
- <!--CLOSE OF CONTENT//-->
- </td>
- </tr>
- <tr valign="bottom">
- <td style="height: 48px">
- <!--OPEN OF BUTTON HTML//-->
- <table height="48" cellspacing="0" cellpadding="0" border="0">
- <colgroup>
- <col width="12">
- <col>
- <col width="75">
- <col width="4">
- <col width="75">
- <col width="4">
- <col width="75">
- <col width="12">
- <tr>
- <td class="RULE" valign="top" colspan="8" height="2">
- <table height="1" cellspacing="0" cellpadding="0" width="100%" border="0">
- <tr valign="top">
- </tr>
- </table>
- </td>
- </tr>
- <tr>
- <td valign="top" colspan="8" height="11">
- &nbsp;
- </td>
- </tr>
- <tr>
- <td valign="middle" width="12" style="height: 23px">
- &nbsp;
- </td>
- <td valign="top" style="height: 23px">
- &nbsp;
- </td>
- <td valign="middle" width="75" style="height: 23px">
- <button class="BUTTONS" id="FinishBtn" accesskey="F" onclick="OnFinish(document);"
- type="button">
- <u>F</u>inish</button>
- </td>
- <td valign="middle" width="4" style="height: 23px">
- &nbsp;
- </td>
- <td valign="middle" width="75" style="height: 23px">
- <button class="BUTTONS" id="CancelBtn" accesskey="C" onclick="window.external.Finish(document, 'cancel');"
- type="button">
- <u>C</u>ancel</button>
- </td>
- <td valign="middle" width="4" style="height: 23px">
- &nbsp;
- </td>
- <td valign="middle" width="75" style="height: 23px">
- <button class="BUTTONS" id="HelpBtn" disabled accesskey="H" onclick="window.external.OnHelp('vc.appwiz.custom.overview');"
- type="button">
- <u>H</u>elp</button>
- </td>
- <td valign="middle" width="12" style="height: 23px">
- &nbsp;
- </td>
- </tr>
- <tr>
- <td valign="top" colspan="8" height="12">
- &nbsp;
- </td>
- </tr>
- </table>
- <!--CLOSE OF BUTTON HTML//-->
- </td>
- </tr>
- </table>
- <!--CLOSE OF NAVIGATION, CONTENT, AND BUTTON TABLES//-->
- </td>
- </tr>
- </table>
-</body>
-</html>
-<script language="JSCRIPT">
-
- var tab_array = new Array();
- tab_array[0] = Page_1;
- tab_array[1] = Page_2;
-
- // This is an example of a function which initializes the page
- //
- function InitDocument(document) {
- setDirection();
-
- if (window.external.FindSymbol('DOCUMENT_FIRST_LOAD')) {
- // This function sets the default symbols based
- // on the values specified in the SYMBOL tags above
- //
- window.external.SetDefaults(document);
- UpdateFields();
- }
-
- // Load the document and initialize the controls
- // with the appropriate symbol values
- //
- window.external.Load(document);
- InitControls();
- }
-
- function UpdateFields() {
- var regexp = /\s/g;
- var proName = window.external.FindSymbol('PROJECT_NAME').replace(regexp, "");
-
- if (!window.external.dte.VCLanguageManager.ValidateIdentifier(proName) ||
- window.external.dte.VCLanguageManager.IsReservedName(proName)) {
- window.external.AddSymbol("CLASSNAME_TEXT", "MyClass"); // fall back on myclass
- window.external.AddSymbol("HFILE_TEXT", "myclass.h");
- window.external.AddSymbol("CPPFILE_TEXT", "myclass.cpp");
- window.external.AddSymbol("UIFILE_TEXT", "myclass.ui");
- window.external.AddSymbol("QRCFILE_TEXT", "myclass.qrc");
- } else {
- window.external.AddSymbol("CLASSNAME_TEXT", proName);
- window.external.AddSymbol("HFILE_TEXT", proName.toLowerCase() + ".h");
- window.external.AddSymbol("CPPFILE_TEXT", proName.toLowerCase() + ".cpp");
- window.external.AddSymbol("UIFILE_TEXT", proName.toLowerCase() + ".ui");
- window.external.AddSymbol("QRCFILE_TEXT", proName.toLowerCase() + ".qrc");
- }
- }
-
- function InitControls() {
- var strModules = "";
-
- // Essentials
- if (window.external.FindSymbol('THREED_MODULE'))
- strModules += "3D, ";
- if (window.external.FindSymbol('CORE_MODULE'))
- strModules += "Core, ";
- if (window.external.FindSymbol('GUI_MODULE'))
- strModules += "GUI, ";
- if (window.external.FindSymbol('LOCATION_MODULE'))
- strModules += "Location, ";
- if (window.external.FindSymbol('MULTIMEDIA_MODULE'))
- strModules += "Multimedia, ";
- if (window.external.FindSymbol('MULTIMEDIAWIDGETS_MODULE'))
- strModules += "Multimedia Widgets, ";
- if (window.external.FindSymbol('NETWORK_MODULE'))
- strModules += "Network, ";
- if (window.external.FindSymbol('QML_MODULE'))
- strModules += "Qml, ";
- if (window.external.FindSymbol('QUICK_MODULE'))
- strModules += "Quick, ";
- if (window.external.FindSymbol('SQL_MODULE'))
- strModules += "SQL, ";
- if (window.external.FindSymbol('TEST_MODULE'))
- strModules += "Test, ";
- if (window.external.FindSymbol('WEBKIT_MODULE'))
- strModules += "WebKit, ";
-
- // Add-ons
- // Active Qt better split to server and container
- if (window.external.FindSymbol('AQSERVER_MODULE'))
- strModules += "ActiveQt Server, ";
- if (window.external.FindSymbol('AQCONTAINER_MODULE'))
- strModules += "ActiveQt Container, ";
-
- if (window.external.FindSymbol('BLUETOOTH_MODULE'))
- strModules += "Bluetooth, ";
- if (window.external.FindSymbol('CONCURRENT_MODULE'))
- strModules += "Concurrent, ";
- if (window.external.FindSymbol('DECLARATIVE_MODULE'))
- strModules += "Declarative, ";
- if (window.external.FindSymbol('ENGINIO_MODULE'))
- strModules += "Enginio, ";
- if (window.external.FindSymbol('HELP_MODULE'))
- strModules += "Help, ";
- if (window.external.FindSymbol('NFC_MODULE'))
- strModules += "NFC, ";
- if (window.external.FindSymbol('OPENGL_MODULE'))
- strModules += "OpenGL, ";
- if (window.external.FindSymbol('POSITIONING_MODULE'))
- strModules += "Positioning, ";
- if (window.external.FindSymbol('PRINTSUPPORT_MODULE'))
- strModules += "Print Support, ";
- if (window.external.FindSymbol('QUICKWIDGETS_MODULE'))
- strModules += "Quick Widgets, ";
- if (window.external.FindSymbol('SCRIPT_MODULE'))
- strModules += "Script, ";
- if (window.external.FindSymbol('SCRIPTTOOLS_MODULE'))
- strModules += "Script Tools, ";
- if (window.external.FindSymbol('SENSORS_MODULE'))
- strModules += "Sensors, ";
- if (window.external.FindSymbol('SERIALPORT_MODULE'))
- strModules += "Serial Port, ";
- if (window.external.FindSymbol('SVG_MODULE'))
- strModules += "SVG, ";
- if (window.external.FindSymbol('UITOOLS_MODULE'))
- strModules += "UI Tools, ";
- if (window.external.FindSymbol('WEBCHANNEL_MODULE'))
- strModules += "Web Channel, ";
- if (window.external.FindSymbol('WEBKITWIDGETS_MODULE'))
- strModules += "Webkit Widgets, ";
- if (window.external.FindSymbol('WEBSOCKETS_MODULE'))
- strModules += "Web Sockets, ";
- if (window.external.FindSymbol('WIDGETS_MODULE'))
- strModules += "Widgets, ";
- if (window.external.FindSymbol('WINDOWSEXTRAS_MODULE'))
- strModules += "Windows Extras, ";
- if (window.external.FindSymbol('XML_MODULE'))
- strModules += "XML, ";
- if (window.external.FindSymbol('XMLPATTERNS_MODULE'))
- strModules += "XML Patterns, ";
-
- if (strModules.length < 1)
- strModules = "None selected";
- else
- strModules = strModules.slice(0, strModules.length - 2);
-
- QTMODULES.innerText = strModules;
- }
-
- // If the wizard has more than 1 page, this
- // function will browse to the page specified
- //
- function Next(document, linkto) {
- window.external.Next(document, linkto);
- }
-
- // This is an example of a function which
- // gets called when the user clicks on 'Finish'
- //
- function OnFinish(document) {
- OnWizFinish(document);
- }
-
-</script>
-<script language="JSCRIPT" id="INCLUDE_SCRIPT"></script>
-<script language="JSCRIPT" id="INCLUDE_COMMON"></script>
-<!--
-Common.js is a script file which contains the helper functions
-used by the wizards. Include this line if you want to
-call these functions from your html scripts.
-//-->
-<script>
- var strPath = window.external.FindSymbol("PRODUCT_INSTALLATION_DIR");
- strPath += "VCWizards/";
- strPath += window.external.GetHostLocale();
-
- // verify if the locale folder really exists
- var fso = new ActiveXObject("Scripting.FileSystemObject");
- var found = fso.FolderExists(strPath)
- if (found == false) {
- strPath = window.external.FindSymbol("PRODUCT_INSTALLATION_DIR");
- strPath += "VCWizards/";
- var folder = fso.GetFolder(strPath);
- for (subfolders = new Enumerator(folder.SubFolders); !subfolders.atEnd(); subfolders.moveNext()) {
- for (files = new Enumerator(subfolders.item().files); !files.atEnd(); files.moveNext()) {
- if (files.item().name.toLowerCase().localeCompare("common.js") == 0) {
- found = true;
- strPath += subfolders.item().name;
- break;
- }
- }
- if (found == true)
- break;
- }
- }
-
- var strScriptPath = strPath + "/Script.js";
- var strCommonPath = strPath + "/Common.js";
- document.scripts("INCLUDE_SCRIPT").src = strScriptPath;
- document.scripts("INCLUDE_COMMON").src = strCommonPath;
-</script>
diff --git a/Qt4VS2003/Projects/Qt5GuiProject/Images/Qt5GuiProject.jpg b/Qt4VS2003/Projects/Qt5GuiProject/Images/Qt5GuiProject.jpg
deleted file mode 100644
index c95946d3..00000000
--- a/Qt4VS2003/Projects/Qt5GuiProject/Images/Qt5GuiProject.jpg
+++ /dev/null
Binary files differ
diff --git a/Qt4VS2003/Projects/Qt5GuiProject/Qt5GuiProject.ico b/Qt4VS2003/Projects/Qt5GuiProject/Qt5GuiProject.ico
deleted file mode 100644
index de1736e4..00000000
--- a/Qt4VS2003/Projects/Qt5GuiProject/Qt5GuiProject.ico
+++ /dev/null
Binary files differ
diff --git a/Qt4VS2003/Projects/Qt5GuiProject/Qt5GuiProject.vcproj b/Qt4VS2003/Projects/Qt5GuiProject/Qt5GuiProject.vcproj
deleted file mode 100644
index 7626f018..00000000
--- a/Qt4VS2003/Projects/Qt5GuiProject/Qt5GuiProject.vcproj
+++ /dev/null
@@ -1,187 +0,0 @@
-<?xml version="1.0" encoding="Windows-1252"?>
-<VisualStudioProject
- ProjectType="Visual C++"
- Version="7.10"
- Name="Qt5GuiProject"
- ProjectGUID="{AB6B3B4B-75BD-4E32-B795-56E1FEBA40E2}"
- Keyword="CustomAppWizProj">
- <Platforms>
- <Platform
- Name="Win32"/>
- </Platforms>
- <Configurations>
- <Configuration
- Name="Debug|Win32"
- OutputDirectory="$(SolutionDir)$(ConfigurationName)"
- IntermediateDirectory="$(ConfigurationName)"
- ConfigurationType="1">
- <Tool
- Name="VCCLCompilerTool"/>
- <Tool
- Name="VCCustomBuildTool"/>
- <Tool
- Name="VCLinkerTool"/>
- <Tool
- Name="VCMIDLTool"/>
- <Tool
- Name="VCPostBuildEventTool"/>
- <Tool
- Name="VCPreBuildEventTool"/>
- <Tool
- Name="VCPreLinkEventTool"/>
- <Tool
- Name="VCResourceCompilerTool"/>
- <Tool
- Name="VCWebServiceProxyGeneratorTool"/>
- <Tool
- Name="VCXMLDataGeneratorTool"/>
- <Tool
- Name="VCWebDeploymentTool"/>
- <Tool
- Name="VCManagedWrapperGeneratorTool"/>
- <Tool
- Name="VCAuxiliaryManagedWrapperGeneratorTool"/>
- </Configuration>
- <Configuration
- Name="Release|Win32"
- IntermediateDirectory="$(ConfigurationName)"
- ConfigurationType="1">
- <Tool
- Name="VCCLCompilerTool"/>
- <Tool
- Name="VCCustomBuildTool"/>
- <Tool
- Name="VCLinkerTool"/>
- <Tool
- Name="VCMIDLTool"/>
- <Tool
- Name="VCPostBuildEventTool"/>
- <Tool
- Name="VCPreBuildEventTool"/>
- <Tool
- Name="VCPreLinkEventTool"/>
- <Tool
- Name="VCResourceCompilerTool"/>
- <Tool
- Name="VCWebServiceProxyGeneratorTool"/>
- <Tool
- Name="VCXMLDataGeneratorTool"/>
- <Tool
- Name="VCWebDeploymentTool"/>
- <Tool
- Name="VCManagedWrapperGeneratorTool"/>
- <Tool
- Name="VCAuxiliaryManagedWrapperGeneratorTool"/>
- </Configuration>
- </Configurations>
- <References>
- </References>
- <Files>
- <Filter
- Name="Template Files"
- Filter="txt">
- <File
- RelativePath=".\Templates\1033\main.cpp">
- <FileConfiguration
- Name="Debug|Win32"
- ExcludedFromBuild="TRUE">
- <Tool
- Name="VCCLCompilerTool"/>
- </FileConfiguration>
- </File>
- <File
- RelativePath=".\Templates\1033\mywidget.cpp">
- <FileConfiguration
- Name="Debug|Win32"
- ExcludedFromBuild="TRUE">
- <Tool
- Name="VCCLCompilerTool"/>
- </FileConfiguration>
- </File>
- <File
- RelativePath=".\Templates\1033\mywidget.h">
- <FileConfiguration
- Name="Debug|Win32"
- ExcludedFromBuild="TRUE">
- <Tool
- Name="VCCustomBuildTool"/>
- </FileConfiguration>
- </File>
- <File
- RelativePath=".\Templates\1033\widget.ui">
- <FileConfiguration
- Name="Debug|Win32"
- ExcludedFromBuild="TRUE">
- <Tool
- Name="VCCustomBuildTool"/>
- </FileConfiguration>
- </File>
- <File
- RelativePath=".\Templates\1033\winapp.ico">
- <FileConfiguration
- Name="Debug|Win32"
- ExcludedFromBuild="TRUE">
- <Tool
- Name="VCCustomBuildTool"/>
- </FileConfiguration>
- </File>
- </Filter>
- <Filter
- Name="HTML Files"
- Filter="htm">
- <File
- RelativePath=".\Html\1033\default.htm"
- DeploymentContent="TRUE">
- </File>
- <File
- RelativePath=".\Html\1033\Page_2.htm"
- DeploymentContent="TRUE">
- </File>
- <File
- RelativePath=".\Html\1033\Page_3.htm"
- DeploymentContent="TRUE">
- <FileConfiguration
- Name="Debug|Win32"
- ExcludedFromBuild="TRUE">
- <Tool
- Name="VCCustomBuildTool"/>
- </FileConfiguration>
- </File>
- </Filter>
- <Filter
- Name="Image Files"
- Filter="bmp">
- <File
- RelativePath=".\Images\Qt5GuiProject.gif">
- </File>
- <File
- RelativePath=".\Images\Qt5GuiProject_Background.gif">
- </File>
- </Filter>
- <Filter
- Name="Script Files"
- Filter="js">
- <File
- RelativePath=".\Scripts\1033\default.js">
- </File>
- </Filter>
- <Filter
- Name="Miscellaneous Files"
- Filter="vsz;vsdir;ico;vcproj;csproj;css;inf">
- <File
- RelativePath=".\Qt5GuiProject.ico">
- </File>
- <File
- RelativePath=".\Qt5GuiProject.vsdir">
- </File>
- <File
- RelativePath=".\Qt5GuiProject.vsz">
- </File>
- <File
- RelativePath=".\1033\styles.css">
- </File>
- </Filter>
- </Files>
- <Globals>
- </Globals>
-</VisualStudioProject>
diff --git a/Qt4VS2003/Projects/Qt5GuiProject/Qt5GuiProject.vsdir b/Qt4VS2003/Projects/Qt5GuiProject/Qt5GuiProject.vsdir
deleted file mode 100644
index 669f3caa..00000000
--- a/Qt4VS2003/Projects/Qt5GuiProject/Qt5GuiProject.vsdir
+++ /dev/null
@@ -1 +0,0 @@
-Qt5GuiProject.vsz| |Qt Application|1|A simple Qt GUI Application with one form.| | |4096|Project
diff --git a/Qt4VS2003/Projects/Qt5GuiProject/Qt5GuiProject.vsz b/Qt4VS2003/Projects/Qt5GuiProject/Qt5GuiProject.vsz
deleted file mode 100644
index 34e40c24..00000000
--- a/Qt4VS2003/Projects/Qt5GuiProject/Qt5GuiProject.vsz
+++ /dev/null
@@ -1,6 +0,0 @@
-VSWIZARD 7.0
-Wizard=VsWizard.VsWizardEngine.9.0
-
-Param="WIZARD_NAME = Qt5GuiProject"
-Param="ABSOLUTE_PATH = C:\Program Files (x86)\Digia\Qt4VSAddin\wizards\Qt5GuiProject"
-Param="FALLBACK_LCID = 1033" \ No newline at end of file
diff --git a/Qt4VS2003/Projects/Qt5GuiProject/Scripts/1033/default.js b/Qt4VS2003/Projects/Qt5GuiProject/Scripts/1033/default.js
deleted file mode 100644
index 58af73f1..00000000
--- a/Qt4VS2003/Projects/Qt5GuiProject/Scripts/1033/default.js
+++ /dev/null
@@ -1,204 +0,0 @@
-var QtEngine;
-
-function GetNameFromFile(strFile) {
- var nPos = strFile.lastIndexOf(".");
- return strFile.substr(0, nPos);
-}
-
-function OnFinish(selProj, selObj) {
- try {
- // load right project engine
- var dte = wizard.dte;
- var version = dte.version;
- if (version == "8.0")
- QtEngine = new ActiveXObject("Digia.Qt5ProjectEngine80");
- else if (version == "9.0")
- QtEngine = new ActiveXObject("Digia.Qt5ProjectEngine90");
- else if (version == "10.0")
- QtEngine = new ActiveXObject("Digia.Qt5ProjectEngine100");
- else if (version == "11.0")
- QtEngine = new ActiveXObject("Digia.Qt5ProjectEngine110");
- else if (version == "12.0")
- QtEngine = new ActiveXObject("Digia.Qt5ProjectEngine120");
-
- var strProjectPath = wizard.FindSymbol('PROJECT_PATH');
- var strProjectName = wizard.FindSymbol('PROJECT_NAME');
- var strSolutionName = wizard.FindSymbol('VS_SOLUTION_NAME');
- var strTemplatePath = wizard.FindSymbol('TEMPLATES_PATH') + "\\";
- var bExclusive = wizard.FindSymbol("CLOSE_SOLUTION");
-
- var vcfileTmp;
- var fileTmp;
- var strClass = wizard.FindSymbol('CLASSNAME_TEXT');
- var strHeader = wizard.FindSymbol('HFILE_TEXT');
- var strSource = wizard.FindSymbol('CPPFILE_TEXT');
- var strForm = wizard.FindSymbol('UIFILE_TEXT');
- var strQrc = wizard.FindSymbol('QRCFILE_TEXT');
- var baseClassID = wizard.FindSymbol('BASECLASS_COMBO');
- var appIcon = wizard.FindSymbol('APP_ICON');
- var bPrecompiled = wizard.FindSymbol('PRECOMPILED_HEADERS');
- var baseClass = "QMainWindow";
-
- if (baseClassID == 2)
- baseClass = "QWidget";
- else if (baseClassID == 3)
- baseClass = "QDialog";
- else {
- baseClassID = 1;
- baseClass = "QMainWindow";
- }
-
- var regexp = /\W/g;
- var strDef = strHeader.toUpperCase().replace(regexp, "_");
-
- var strFormName = GetNameFromFile(strForm);
-
- QtEngine.CreateApplicationProject(wizard.dte, strProjectName,
- strProjectPath, strSolutionName, bExclusive, bPrecompiled);
-
- // add the selected modules to the project
- AddModules();
-
- var strHeaderInclude = strHeader;
- if (bPrecompiled) {
- strHeaderInclude = "stdafx.h\"\n#include \"" + strHeader;
- fileTmp = QtEngine.CopyFileToProjectFolder(strTemplatePath + "stdafx.cpp", "stdafx.cpp");
- QtEngine.AddFileToProject(fileTmp, "QT_SOURCE_FILTER");
-
- fileTmp = QtEngine.CopyFileToProjectFolder(strTemplatePath + "stdafx.h", "stdafx.h");
- QtEngine.AddFileToProject(fileTmp, "QT_HEADER_FILTER");
- }
-
- // main.cpp
- fileTmp = QtEngine.CopyFileToProjectFolder(strTemplatePath + "main.cpp", "main.cpp");
- QtEngine.ReplaceTokenInFile(fileTmp, "%INCLUDE%", strHeaderInclude);
- QtEngine.ReplaceTokenInFile(fileTmp, "%CLASS%", strClass);
- QtEngine.AddFileToProject(fileTmp, "QT_SOURCE_FILTER");
-
- // mywidget.cpp
- fileTmp = QtEngine.CopyFileToProjectFolder(strTemplatePath + "mywidget.cpp", strSource);
- QtEngine.ReplaceTokenInFile(fileTmp, "%INCLUDE%", strHeaderInclude);
- QtEngine.ReplaceTokenInFile(fileTmp, "%CLASS%", strClass);
- QtEngine.ReplaceTokenInFile(fileTmp, "%BASECLASS%", baseClass);
- QtEngine.AddFileToProject(fileTmp, "QT_SOURCE_FILTER");
-
- // mywidget.h
- fileTmp = QtEngine.CopyFileToProjectFolder(strTemplatePath + "mywidget.h", strHeader);
- QtEngine.ReplaceTokenInFile(fileTmp, "%PRE_DEF%", strDef);
- QtEngine.ReplaceTokenInFile(fileTmp, "%CLASS%", strClass);
- QtEngine.ReplaceTokenInFile(fileTmp, "%UI_HDR%", "ui_" + strFormName + ".h");
- QtEngine.ReplaceTokenInFile(fileTmp, "%BASECLASS%", baseClass);
- vcfileTmp = QtEngine.AddFileToProject(fileTmp, "QT_HEADER_FILTER");
-
- // widget.ui
- fileTmp = QtEngine.CopyFileToProjectFolder(strTemplatePath + "widget.ui", strForm);
- QtEngine.ReplaceTokenInFile(fileTmp, "%CLASS%", strClass);
- QtEngine.ReplaceTokenInFile(fileTmp, "%BASECLASS%", baseClass);
- QtEngine.ReplaceTokenInFile(fileTmp, "%QRC%", strQrc);
- if (baseClassID == 1) {
- QtEngine.ReplaceTokenInFile(fileTmp, "%CENTRAL_WIDGET%",
- "\r\n <widget class=\"QMenuBar\" name=\"menuBar\" />" +
- "\r\n <widget class=\"QToolBar\" name=\"mainToolBar\" />" +
- "\r\n <widget class=\"QWidget\" name=\"centralWidget\" />" +
- "\r\n <widget class=\"QStatusBar\" name=\"statusBar\" />");
- } else {
- QtEngine.ReplaceTokenInFile(fileTmp, "%CENTRAL_WIDGET%", "");
- }
- vcfileTmp = QtEngine.AddFileToProject(fileTmp, "QT_FORM_FILTER");
-
- fileTmp = QtEngine.CreateQrcFile(strClass, strQrc);
- vcfileTmp = QtEngine.AddFileToProject(fileTmp, "QT_RESOURCE_FILTER");
-
- if (appIcon == 1) {
- QtEngine.AddApplicationIcon(strTemplatePath + "winapp.ico");
- }
-
- QtEngine.Finish();
- }
- catch (e) {
- if (e.description.length != 0)
- SetErrorInfo(e);
- return e.number
- }
-}
-
-function AddModules() {
- // Essential modules
- if (wizard.FindSymbol('THREED_MODULE'))
- QtEngine.AddModule("Qt3D");
- if (wizard.FindSymbol('CORE_MODULE'))
- QtEngine.AddModule("QtCore");
- if (wizard.FindSymbol('GUI_MODULE'))
- QtEngine.AddModule("QtGui");
- if (wizard.FindSymbol('LOCATION_MODULE'))
- QtEngine.AddModule("QtLocation");
- if (wizard.FindSymbol('MULTIMEDIA_MODULE'))
- QtEngine.AddModule("QtMultimedia");
- if (wizard.FindSymbol('MULTIMEDIAWIDGETS_MODULE'))
- QtEngine.AddModule("QtMultimediaWidgets");
- if (wizard.FindSymbol('NETWORK_MODULE'))
- QtEngine.AddModule("QtNetwork");
- if (wizard.FindSymbol('QML_MODULE'))
- QtEngine.AddModule("QtQml");
- if (wizard.FindSymbol('QUICK_MODULE'))
- QtEngine.AddModule("QtQuick");
- if (wizard.FindSymbol('SQL_MODULE'))
- QtEngine.AddModule("QtSql");
- if (wizard.FindSymbol('TEST_MODULE'))
- QtEngine.AddModule("QtTest");
- if (wizard.FindSymbol('WEBKIT_MODULE'))
- QtEngine.AddModule("QtWebKit"); // ??
-
- // Add-on modules
- // Active Qt better split to server and container
- if (wizard.FindSymbol('AQCONTAINER_MODULE'))
- QtEngine.AddModule("QtAxContainer");
- if (wizard.FindSymbol('AQSERVER_MODULE'))
- QtEngine.AddModule("QtAxServer");
- if (wizard.FindSymbol('BLUETOOTH_MODULE'))
- QtEngine.AddModule("QtBluetooth");
- if (wizard.FindSymbol('CONCURRENT_MODULE'))
- QtEngine.AddModule("QtConcurrent");
- if (wizard.FindSymbol('DECLARATIVE_MODULE'))
- QtEngine.AddModule("QtDeclarative");
- if (wizard.FindSymbol('ENGINIO_MODULE'))
- QtEngine.AddModule("Enginio");
- if (wizard.FindSymbol('HELP_MODULE'))
- QtEngine.AddModule("QtHelp");
- if (wizard.FindSymbol('NFC_MODULE'))
- QtEngine.AddModule("QtNfc");
- if (wizard.FindSymbol('OPENGL_MODULE'))
- QtEngine.AddModule("QtOpenGL");
- if (wizard.FindSymbol('POSITIONING_MODULE'))
- QtEngine.AddModule("QtPositioning");
- if (wizard.FindSymbol('PRINTSUPPORT_MODULE'))
- QtEngine.AddModule("QtPrintSupport");
- if (wizard.FindSymbol('QUICKWIDGETS_MODULE'))
- QtEngine.AddModule("QtQuickWidgets");
- if (wizard.FindSymbol('SCRIPT_MODULE'))
- QtEngine.AddModule("QtScript");
- if (wizard.FindSymbol('SCRIPTTOOLS_MODULE'))
- QtEngine.AddModule("QtScriptTools");
- if (wizard.FindSymbol('SENSORS_MODULE'))
- QtEngine.AddModule("QtSensors");
- if (wizard.FindSymbol('SERIALPORT_MODULE'))
- QtEngine.AddModule("QtSerialPort");
- if (wizard.FindSymbol('SVG_MODULE'))
- QtEngine.AddModule("QtSvg");
- if (wizard.FindSymbol('UITOOLS_MODULE'))
- QtEngine.AddModule("QtUiTools");
- if (wizard.FindSymbol('WEBCHANNEL_MODULE'))
- QtEngine.AddModule("QtWebChannel");
- if (wizard.FindSymbol('WEBKITWIDGETS_MODULE'))
- QtEngine.AddModule("QtWebkitWidgets"); // ??
- if (wizard.FindSymbol('WEBSOCKETS_MODULE'))
- QtEngine.AddModule("QtWebSockets");
- if (wizard.FindSymbol('WIDGETS_MODULE'))
- QtEngine.AddModule("QtWidgets");
- if (wizard.FindSymbol('WINDOWSEXTRAS_MODULE'))
- QtEngine.AddModule("QtWinExtras");
- if (wizard.FindSymbol('XML_MODULE'))
- QtEngine.AddModule("QtXml");
- if (wizard.FindSymbol('XMLPATTERNS_MODULE'))
- QtEngine.AddModule("QtXmlPatterns");
-}
diff --git a/Qt4VS2003/Projects/Qt5GuiProject/Templates/1033/main.cpp b/Qt4VS2003/Projects/Qt5GuiProject/Templates/1033/main.cpp
deleted file mode 100644
index f5992ede..00000000
--- a/Qt4VS2003/Projects/Qt5GuiProject/Templates/1033/main.cpp
+++ /dev/null
@@ -1,10 +0,0 @@
-#include "%INCLUDE%"
-#include <QtWidgets/QApplication>
-
-int main(int argc, char *argv[])
-{
- QApplication a(argc, argv);
- %CLASS% w;
- w.show();
- return a.exec();
-}
diff --git a/Qt4VS2003/Projects/Qt5GuiProject/Templates/1033/mywidget.cpp b/Qt4VS2003/Projects/Qt5GuiProject/Templates/1033/mywidget.cpp
deleted file mode 100644
index 02d6f7bd..00000000
--- a/Qt4VS2003/Projects/Qt5GuiProject/Templates/1033/mywidget.cpp
+++ /dev/null
@@ -1,12 +0,0 @@
-#include "%INCLUDE%"
-
-%CLASS%::%CLASS%(QWidget *parent)
- : %BASECLASS%(parent)
-{
- ui.setupUi(this);
-}
-
-%CLASS%::~%CLASS%()
-{
-
-}
diff --git a/Qt4VS2003/Projects/Qt5GuiProject/Templates/1033/mywidget.h b/Qt4VS2003/Projects/Qt5GuiProject/Templates/1033/mywidget.h
deleted file mode 100644
index 526ad034..00000000
--- a/Qt4VS2003/Projects/Qt5GuiProject/Templates/1033/mywidget.h
+++ /dev/null
@@ -1,19 +0,0 @@
-#ifndef %PRE_DEF%
-#define %PRE_DEF%
-
-#include <QtWidgets/%BASECLASS%>
-#include "%UI_HDR%"
-
-class %CLASS% : public %BASECLASS%
-{
- Q_OBJECT
-
-public:
- %CLASS%(QWidget *parent = 0);
- ~%CLASS%();
-
-private:
- Ui::%CLASS%Class ui;
-};
-
-#endif // %PRE_DEF%
diff --git a/Qt4VS2003/Projects/Qt5GuiProject/Templates/1033/stdafx.cpp b/Qt4VS2003/Projects/Qt5GuiProject/Templates/1033/stdafx.cpp
deleted file mode 100644
index 1577c4e3..00000000
--- a/Qt4VS2003/Projects/Qt5GuiProject/Templates/1033/stdafx.cpp
+++ /dev/null
@@ -1 +0,0 @@
-#include "stdafx.h" \ No newline at end of file
diff --git a/Qt4VS2003/Projects/Qt5GuiProject/Templates/1033/stdafx.h b/Qt4VS2003/Projects/Qt5GuiProject/Templates/1033/stdafx.h
deleted file mode 100644
index 6a418984..00000000
--- a/Qt4VS2003/Projects/Qt5GuiProject/Templates/1033/stdafx.h
+++ /dev/null
@@ -1 +0,0 @@
-#include <QtWidgets> \ No newline at end of file
diff --git a/Qt4VS2003/Projects/Qt5GuiProject/Templates/1033/widget.ui b/Qt4VS2003/Projects/Qt5GuiProject/Templates/1033/widget.ui
deleted file mode 100644
index c918b94d..00000000
--- a/Qt4VS2003/Projects/Qt5GuiProject/Templates/1033/widget.ui
+++ /dev/null
@@ -1,25 +0,0 @@
-<UI version="4.0" >
- <class>%CLASS%Class</class>
- <widget class="%BASECLASS%" name="%CLASS%Class" >
- <property name="objectName" >
- <string notr="true">%CLASS%Class</string>
- </property>
- <property name="geometry" >
- <rect>
- <x>0</x>
- <y>0</y>
- <width>600</width>
- <height>400</height>
- </rect>
- </property>
- <property name="windowTitle" >
- <string>%CLASS%</string>
- </property>%CENTRAL_WIDGET%
- </widget>
- <layoutDefault spacing="6" margin="11" />
- <pixmapfunction></pixmapfunction>
- <resources>
- <include location="%QRC%"/>
- </resources>
- <connections/>
-</UI>
diff --git a/Qt4VS2003/Projects/Qt5GuiProject/Templates/1033/winapp.ico b/Qt4VS2003/Projects/Qt5GuiProject/Templates/1033/winapp.ico
deleted file mode 100644
index 7500a1d4..00000000
--- a/Qt4VS2003/Projects/Qt5GuiProject/Templates/1033/winapp.ico
+++ /dev/null
Binary files differ
diff --git a/Qt4VS2003/Projects/Qt5LibProject/1033/styles.css b/Qt4VS2003/Projects/Qt5LibProject/1033/styles.css
deleted file mode 100644
index 730bade4..00000000
--- a/Qt4VS2003/Projects/Qt5LibProject/1033/styles.css
+++ /dev/null
@@ -1,574 +0,0 @@
-/******************************************************************************/
-/*DEFAULT STYLES FOR ALL SECTIONS**********************************************/
-/******************************************************************************/
-body { font-family: Tahoma, Verdana, Arial, Sans Serif;
- font-weight: normal;
- font-size: 8pt;
- color: buttontext;
- background-color: buttonface;
- margin-top: 0px;
- margin-left: 0px;
- margin-right: 0px;
- margin-bottom: 0px;
- overflow: visible; }
-
-a:link { color: captiontext;
- text-decoration: none; }
-
-a:visited { color: captiontext;
- text-decoration: none; }
-
-a:active { color: captiontext;
- text-decoration: none; }
-
-a:hover { color: captiontext;
- text-decoration: underline; }
-
-table { font-family: Tahoma, Verdana, Arial, Sans Serif;
- font-weight: normal;
- font-size: 8pt;
- color: buttontext;
- width: 100%; }
-
-td.addon_disabled { color: #808080; }
-
-table.one { table-layout: fixed;
- height: 100%;
- width: 100%; }
-
-
-/*DEFAULT STYLES FOR THE 'INTRODUCTION' TABLE**********************************/
-/******************************************************************************/
-
-table.two { table-layout: fixed;
- height: 79px;
- width: 100%;
- background-color: window; }
-
-td.image { text-align: right; }
-
-td.rule { background-color: window; }
-
-h1.head { font-weight: bold;
- font-size: 10pt;
- color: windowtext;
- margin-top: -3px; }
-
-p.subhead { color: windowtext;
- margin-top: -12px;
- margin-left: 10px; }
-
-img.smallest { background-color: #a6ce39;
- z-index: 1; }
-
-img.small { z-index: 1; }
-
-/*DEFAULT STYLES FOR THE 'NAVIGATION' TABLE************************************/
-/******************************************************************************/
-
-table.three { table-layout: fixed;
- height: 100%;
- width: 178px; }
-
-td.three { background-attachment: fixed;
- background-repeat: no-repeat;
- background-position: bottom left;
- background-color: #66b036; }
-
-td.dottedline { background: url(Images/DottedHori.gif) repeat; }
-
-table.linktextselected { font-weight: bold;
- width: 157px;
- height: 30px;
- position: relative;
- left: 10px;
- z-index: 2; }
-
-table.linktextselectedindent { font-weight: bold;
- width: 148px;
- height: 30px;
- position: relative;
- left: 18px;
- z-index: 2; }
-
-table.linktext { width: 157px;
- height: 30px;
- position: relative;
- left: 10px;
- z-index: 2; }
-
-table.linktextindent { width: 148px;
- height: 30px;
- position: relative;
- left: 18px;
- z-index: 2; }
-
-div.linkselected { background-color: buttonface;
- height: 30px;
- width: 166px;
- position: relative;
- left: 0px;
- right: 0px;
- z-index: 1; }
-
-div.link { height: 30px;
- width: 166px;
- position: relative;
- left: 0px;
- right: 0px;
- z-index: 1; }
-
-div.vertline { background: url(Images/DottedVert.gif) repeat;
- height: 125%;
- width: 1px;
- position: relative;
- top: -12px;
- left: -1px; }
-
-span.vertline1 { background: url(Images/DottedVert.gif) repeat;
- height: 100%;
- width: 1px;
- position: absolute;
- top: 0px;
- left: -1px;
- bottom: 0px;
- z-index: 2; }
-
-span.horiline1 { height: 30px;
- width: 166px;
- position: absolute;
- top: -1px;
- left: -1px;
- bottom: -1px;
- z-index: 2; }
-
-span.activelink { color: captiontext;
- text-decoration: none;
- cursor: hand; }
-
-span.activelink2 { color: captiontext;
- text-decoration: underline;
- cursor: hand; }
-
-span.inactivelink { color: buttonface;
- text-decoration: none;
- cursor: default; }
-
-
-/*DEFAULT STYLES FOR THE ALL BUTTONS AND THE 'BUTTONS' TABLE*******************/
-/******************************************************************************/
-
-button { font-family: Tahoma, Verdana, Arial, Sans Serif;
- font-weight: normal;
- font-size: 8pt;
- height: 23px;
- cursor: hand; }
-
-.buttons { width: 75px; }
-
-/*DEFAULT STYLES FOR THE 'CONTENT' TABLE***************************************/
-/******************************************************************************/
-
-table.content { table-layout: fixed;
- height: 100%;
- width: 422px; }
-
-table.content1 { table-layout: fixed;
- height: 100%;
- width: 398px; }
-
-table.content2 { table-layout: fixed;
- height: 100%;
- width: 193px; }
-
-ol { font-family: Tahoma, Verdana, Arial, Sans Serif;
- font-weight: normal;
- font-size: 8pt;
- color: buttontext;
- margin-top: -1px;
- margin-bottom: 16px; }
-
-ul { font-family: Tahoma, Verdana, Arial, Sans Serif;
- font-weight: normal;
- font-size: 8pt;
- color: buttontext;
- margin-top: -1px;
- margin-bottom: 16px; }
-
-li { font-family: Tahoma, Verdana, Arial, Sans Serif;
- font-weight: normal;
- font-size: 8pt;
- color: buttontext;
- position: relative;
- left: -15px;
- margin-bottom: 1px; }
-
-span.itemtext { position: relative;
- top: -3px; }
-
-span.itemtextindent { position: relative;
- left: 17px;
- top: -3px; }
-
-span.itemtextindentA { position: relative;
- left: 25px;
- top: -3px; }
-
-span.itemtextindent1 { position: relative;
- left: 8px;
- top: -3px; }
-
-span.sidebtnhidden { width: 100%;
- margin-top: 3px;
- margin-bottom: 0px; }
-
-div.itemtextradioB { position: relative;
- top: -19px;
- left: 25px;
- margin-bottom: -25px; }
-
-div.itemtextradioindentA { position: relative;
- top: -17px;
- left: 30px;
- margin-bottom: -25px; }
-
-div.itemtextradioindentB { position: relative;
- top: -19px;
- left: 42px;
- margin-bottom: -25px; }
-
-div.itemtextcheckboxA { position: relative;
- top: -17px;
- left: 17px;
- margin-bottom: -23px; }
-
-div.itemtextcheckboxB { position: relative;
- top: -18px;
- left: 25px;
- margin-bottom: -25px; }
-
-div.itemtextcheckboxindentB { position: relative;
- top: -16px;
- left: 42px;
- margin-bottom: -25px; }
-
-div.inlineA { position: relative;
- top: 4px;
- width: 100%;
- height:1px;
- border-top: solid buttonshadow 1px; }
-
-div.inlineB { position: relative;
- top: -9px;
- margin-bottom: -20px;
- width: 100%;
- height:1px;
- border-top: solid threedhighlight 1px; }
-
-input { font-family: Tahoma, Verdana, Arial, Sans Serif;
- font-weight: normal;
- font-size: 8pt;
- color: buttontext; }
-
-.radio { position: relative;
- top: -2px;
- left: 4px; }
-
-.radioIndentA { margin-top: -2px;
- margin-left: 9px; }
-
-.radioIndent { margin-top: -2px;
- margin-left: 17px; }
-
-.checkboxA { position: relative;
- top: -2px;
- left: 4px; }
-
-.checkbox { position: relative;
- top: -1px;
- margin-left: -4px;
- z-index: 2; }
-
-.checkboxIndent { margin-top: -1px;
- margin-left: 21px; }
-
-.comment { width: 566px;
- position: relative;
- top: 5px;
- left: 8px;
- bottom: 6px; }
-
-.comment2 { width: 391px;
- position: relative;
- top: 5px;
- left: 8px;
- bottom: 6px; }
-
-/****THIS IS THE STANDARD INPUT BOX********************************************/
-input.sidebtn { width: 173px;
- position: relative;
- top: 5px;
- left: 8px; }
-
-/****THIS IS AN INPUT BOX INDENTED UNDER A CHECKBOX SECTION*******************/
-input.sidebtnIndent { width: 163px;
- position: relative;
- top: 5px;
- left: 18px;
- bottom: 6px; }
-
-/****THIS INPUT BOX HAS IS INDENTED UNDER A HEADING AND RULE SECTION***********/
-input.sidebtnB { width: 164px;
- position: relative;
- top: 5px;
- left: 8px;
- bottom: 6px; }
-
-/****THIS INPUT BOX HAS A "..." BUTTON BESIDE IT*******************************/
-input.sidebtn2 { width: 149px;
- position: relative;
- top: 5px;
- left: 8px;
- bottom: 6px; }
-
-/****THIS INPUT BOX HAS A "..." BUTTON BESIDE IT AND IT'S UNDER A CHECKBOX*****/
-input.sidebtn2Indent { width: 139px;
- position: relative;
- top: 5px;
- left: 18px;
- bottom: 6px; }
-
-input.sidebtn21 { width: 141px;
- position: relative;
- top: 5px;
- left: 8px;
- bottom: 6px; }
-
-input.sidebtn2Long { width: 253px;
- position: relative;
- top: 5px;
- left: 8px;
- bottom: 6px; }
-
-input.sidebtn2A { width: 140px;
- position: relative;
- top: 5px;
- left: 8px;
- bottom: 6px; }
-
-input.sidebtn2B { width: 156px;
- position: relative;
- top: 6px;
- left: 8px;
- bottom: 0px;
- margin-bottom: -3px; }
-
-select { font-family: Tahoma, Verdana, Arial, Sans Serif;
- font-weight: normal;
- font-size: 8pt;
- color: buttontext; }
-
-/****THIS IS THE STANDARD SELECTION BOX****************************************/
-select.sidebtn { width: 173px;
- position: relative;
- top: 6px;
- left: 8px;
- bottom: 0px;
- margin-bottom: -3px; }
-
-/****THIS IS THE STANDARD SELECTION BOX****************************************/
-span.sidebtn { position: relative;
- top: 6px;
- left: 8px;
- bottom: 0px;
- margin-bottom: -3px; }
-
-/****THIS IS THE STANDARD SELECTION BOX****************************************/
-span.itemtextspecial { position: relative;
- top: -20px;
- left: 16px;
- bottom: 0px;
- margin-bottom: -3px; }
-
-/****THIS IS THE STANDARD SELECTION BOX****************************************/
-span.sidebtnspecial { position: relative;
- top: -2px;
- left: 54px;
- bottom: 0px;
- margin-bottom: -3px; }
-
-/****THIS SELECTION BOX IS INDENTED UNDER A HEADING AND RULE SECTION***********/
-select.sidebtnB { width: 164px;
- position: relative;
- top: 6px;
- left: 8px;
- bottom: 0px;
- margin-bottom: -3px; }
-
-/****THIS SELECTION BOX IS BELOW AND ASSOCIATED WITH A CHECKBOX****************/
-select.sidebtn2 { width: 164px;
- position: relative;
- top: 13px;
- left: 17px;
- bottom: 0px;
- margin-bottom: -3px; }
-
-/****THIS SELECTION BOX IS BELOW AND ASSOCIATED WITH A CHECKBOX AND HEADING****/
-select.sidebtn2A { width: 156px;
- position: relative;
- top: 13px;
- left: 25px;
- bottom: 0px;
- margin-bottom: -3px; }
-
-/****THIS SELECTION BOX IS BELOW AND ASSOCIATED WITH A CHECKBOX AND HEADING****/
-select.sidebtn2ALong { width: 277px;
- position: relative;
- top: 6px;
- left: 25px;
- bottom: 0px;
- margin-bottom: -3px; }
-
-select.sidebtn2B { width: 156px;
- position: relative;
- top: 6px;
- left: 8px;
- bottom: 0px;
- margin-bottom: -3px; }
-
-/****THIS SELECTION BOX HAS "..." BUTTONS BESIDE THEM**************************/
-select.sidebtn2C { width: 149px;
- position: relative;
- top: 5px;
- left: 8px;
- bottom: 6px; }
-
-select.sidebtn2CLong { width: 253px;
- position: relative;
- top: 5px;
- left: 8px;
- bottom: 6px; }
-
-select.sidebtn3 { width: 150px;
- position: relative;
- top: 6px;
- bottom: 0px;
- margin-bottom: -3px; }
-
-/****THIS SELECTION BOX IS FOR HORIZONTAL ADD/REMOVE SECTIONS******************/
-select.sidebtn4Long { width: 574px;
- position: relative;
- top: 6px;
- left: 8px;
- bottom: 0px;
- margin-bottom: -3px; }
-
-object.itemtext { font-family: Tahoma, Verdana, Arial, Sans Serif;
- font-weight: normal;
- font-size: 8pt;
- color: buttontext;
- width: 173px;
- height: 19px;
- position: relative;
- top: 6px;
- left: 8px;
- margin-bottom: 2px; }
-
-.dropdowncombo { font-family: Tahoma, Verdana, Arial, Sans Serif;
- font-weight: normal;
- font-size: 8pt;
- color: buttontext; }
-
-/****THIS DEFINES A STANDARD BUTTON IN THE CONTENT SECTION*********************/
-.buttonclass { margin-top: 2px;
- margin-left: 8px;
- margin-bottom: -6px;
- padding: 2px; }
-
-/****THIS DEFINES ADD/REMOVE BUTTONS IN THE CONTENT SECTION********************/
-.buttonclass2 { margin-top: 8px;
- margin-left: 8px;
- z-index: 1;
- cursor: hand; }
-
-/****THIS DEFINES A "..." BUTTON IN THE CONTENT SECTION************************/
-.buttonclass3 { height: 19px;
- width: 20px;
- position: relative;
- top: 2px; }
-
-/****THIS DEFINES A "..." BUTTON IN THE CONTENT SECTION AND UNDER A CHECKBOX***/
-.buttonclass3Indent { height: 19px;
- width: 20px;
- position: relative;
- top: 2px;
- left: 10px; }
-
-.buttonclass31 { height: 19px;
- width: 20px;
- position: relative;
- top: 2px;
- left:8px; }
-
-.buttonclass3A { height: 19px;
- width: 20px;
- position: relative;
- top: 5px; }
-
-/****THIS DEFINES A ">>" BUTTON IN THE CONTENT SECTION************************/
-.buttonclass4 { margin-bottom: 4px;
- width: 75px;
- height: 23px; }
-
-/****THIS DEFINES ADD/REMOVE BUTTONS HORIZONTALLY IN THE CONTENT SECTION******/
-.buttonclass5 { margin-left: 4px; }
-
-/****THIS DEFINES FIRST ADD/REMOVE BUTTONS HORIZONTALLY IN CONTENT SECTION****/
-.buttonclass5A { margin-left: 8px; }
-
-/****THIS SETS THE LEFT MARGIN FOR THE REMOVE BUTTON***************************/
-#removebtn { margin-left: 4px; }
-
-
-
-/****THIS SETS THE LEFT MARGIN FOR INDENTED SECTION UNDER CHECKBOXES***********/
-label.indent { margin-left: 18px; }
-
-/****THIS SETS THE LEFT MARGIN FOR INDENTED SECTION UNDER CHECKBOXES***********/
-label.indent2 { margin-left: 26px; }
-
-
-/****THESE ARE CUSTOM SPACING ELEMENTS*****************************************/
-p.spacer { margin-bottom: -28px; }
-
-p.elementspacer { margin-bottom: -12px; }
-
-p.elementspacer2 { margin-bottom: -19px; }
-
-p.elementspacer3 { margin-bottom: -3px; }
-
-p.elementspacer4 { margin-bottom: 7px; }
-
-p.elementspacer5 { margin-bottom: 5px; }
-
-p.elementspacer6 { margin-bottom: -24px; }
-
-p.elementspacer7 { margin-bottom: -11px; }
-
-p.elementspacer8 { margin-bottom: -14px; }
-
-p.elementspacer9 { margin-bottom: -7px; }
-
-p.elementspacer10 { margin-bottom: 6px; }
-
-p.elementspacer11 { margin-bottom: 22px; }
-
-p.elementspacer12 { margin-bottom: -17px; }
-
-p.elementspacer13 { margin-bottom: -23px; }
-
-p.elementspacer14 { margin-bottom: -25px; }
-
-
-/*CUSTOM STYLES FOR THE 'CONTENT' FRAME****************************************/
-/******************************************************************************/
diff --git a/Qt4VS2003/Projects/Qt5LibProject/HTML/1031/Page_2.htm b/Qt4VS2003/Projects/Qt5LibProject/HTML/1031/Page_2.htm
deleted file mode 100644
index d8ada909..00000000
--- a/Qt4VS2003/Projects/Qt5LibProject/HTML/1031/Page_2.htm
+++ /dev/null
@@ -1,557 +0,0 @@
-<html dir="ltr">
-<head>
- <title>'Qt5LibProject'</title>
- <meta content="http://schemas.microsoft.com/intellisense/ie5" name="vs_targetSchema">
- <link id="LINKURL" rel="stylesheet" href="../../1033/styles.css">
-</head>
-<body onkeypress="OnPress();" onkeydown="OnKey();" bottommargin="0" bgcolor="buttonface"
- leftmargin="0" topmargin="0" onload="InitDocument(document);" rightmargin="0">
- <table class="ONE" height="100%" cellspacing="0" cellpadding="0" width="100%" border="0">
- <colgroup>
- <col width="178">
- <col>
- <!--OPEN OF INTRODUCTORY INFORMATION TABLE//-->
- <tr valign="top">
- <td width="100%" colspan="2" height="79">
- <table class="TWO" cellspacing="0" cellpadding="0" border="0">
- <colgroup>
- <col width="12">
- <col>
- <col width="12">
- <tr>
- <td valign="top" width="12" height="12">
- &nbsp;
- </td>
- <td valign="top" height="12">
- &nbsp;
- </td>
- <td valign="top" width="12" height="12">
- &nbsp;
- </td>
- <td class="IMAGE" valign="bottom" width="110" rowspan="2">
- <div class="SMALLA" id="Layer0">
- <img class="SMALLEST" height="63" alt="" src="..\..\Images\Qt5LibProject.jpg" width="63"
- border="0">
- </div>
- </td>
- <td valign="top" width="6" height="12" rowspan="2">
- &nbsp;
- </td>
- </tr>
- <tr>
- <td valign="top" width="12" height="65">
- &nbsp;
- </td>
- <td valign="top" height="65">
- <h4 class="HEAD" id="HEAD">
- Willkommen zum Qt5 Bibliothekenprojektwizard</h4>
- <p class="SUBHEAD" id="SUBHEAD">
- Dieser Wizard erstellt eine einfache, dynamisch gegen Qt gebundene Bibliothek.</p>
- </td>
- <td valign="top" width="12" height="65">
- &nbsp;
- </td>
- </tr>
- <tr>
- <td class="RULE" valign="top" colspan="5" height="2">
- <table height="1" cellspacing="0" cellpadding="0" width="100%" border="0">
- <tr valign="top">
- <td width="100%" bgcolor="buttonshadow" height="1">
- <img height="1" alt="" src="../../Images/spacer.gif" width="1">
- </td>
- <td width="1" bgcolor="window" height="1">
- <img height="1" alt="" src="../../Images/spacer.gif" width="1">
- </td>
- </tr>
- </table>
- </td>
- </tr>
- </table>
- </td>
- </tr>
- <!--CLOSE OF INTRODUCTORY INFORMATION TABLE//-->
- <!--OPEN OF NAVIGATION, CONTENT, AND BUTTON TABLES//-->
- <tr valign="top">
- <td class="THREE" valign="top" width="178" height="100%">
- <!--OPEN OF NAVIGATION TABLE//-->
- <table class="THREE" cellspacing="0" cellpadding="0" border="0">
- <colgroup>
- <col width="12">
- <col width="166">
- <col width="1">
- <tr>
- <td valign="top" colspan="3" height="12">
- &nbsp;
- </td>
- </tr>
- <tr>
- <td valign="top" width="12" height="100%">
- &nbsp;
- </td>
- <td valign="top" width="165" height="100%">
- <!--OPEN OF NAVIGATIONAL LINKS//-->
- <div class="LINK">
- <table class="LINKTEXT" height="28" cellspacing="0" cellpadding="0" width="166" border="0">
- <tr valign="middle">
- <td width="162">
- <span class="ACTIVELINK" id="Default" title="" onclick="Next(document, 'default.htm');"
- tabindex="1">bersicht</span>
- </td>
- <td width="4">
- <img height="1" src="../../Images/spacer.gif" width="4">
- </td>
- </tr>
- </table>
- </div>
- <div class="LINKSELECTED">
- <span class="VERTLINE1">
- <img height="1" alt="" src="../../Images/spacer.gif" width="1" border="0">
- </span><span class="HORILINE1">
- <table height="100%" cellspacing="0" cellpadding="0" width="167" border="0">
- <tr valign="top">
- <td class="DOTTEDLINE" height="1">
- </td>
- </tr>
- <tr valign="top">
- <td height="100%">
- <img height="28" alt="" src="../../Images/spacer.gif" width="1" border="0">
- </td>
- </tr>
- <tr valign="top">
- <td class="DOTTEDLINE" height="1">
- </td>
- </tr>
- </table>
- </span>
- <table class="LINKTEXTSELECTED" height="28" cellspacing="0" cellpadding="0" width="160"
- border="0">
- <tr valign="middle">
- <td width="162">
- <span id="Page_2" title="" onclick="Next(document, 'Page_2.htm');" tabindex="1">Projekteinstellungen</span>
- </td>
- <td width="4">
- <img height="1" src="../../Images/spacer.gif" width="4">
- </td>
- </tr>
- </table>
- </div>
- <div class="LINK">
- <table class="LINKTEXT" height="28" cellspacing="0" cellpadding="0" width="166" border="0"
- id="Table1">
- <tr valign="middle">
- <td width="162">
- <span class="ACTIVELINK" id="Page_3" title="" onclick="Next(document, 'Page_3.htm');"
- tabindex="1">Generierte Klassen</span>
- </td>
- <td width="4">
- <img height="1" src="../../Images/spacer.gif" width="4">
- </td>
- </tr>
- </table>
- </div>
- <!--CLOSE OF NAVIGATIONAL LINKS//-->
- </td>
- <td width="1">
- <div class="VERTLINE">
- <img height="1" alt="" src="../../Images/spacer.gif" width="1" border="0">
- </div>
- </td>
- </tr>
- </table>
- <!--CLOSE OF NAVIGATION TABLE//-->
- </td>
- <td valign="top" height="100%">
- <!--OPEN OF CONTENT AND BUTTON TABLE//-->
- <table class="ONE" cellspacing="0" cellpadding="0" border="0">
- <colgroup>
- <col width="100%">
- <tr valign="top">
- <td valign="top" height="100%">
- <!--OPEN OF CONTENT//-->
- <table class="CONTENT" cellspacing="0" cellpadding="0" border="0">
- <colgroup>
- <tr>
- <td width="12" height="12">
- </td>
- <td height="12">
- </td>
- <td height="12">
- </td>
- <td height="12">
- </td>
- <td width="12" height="12">
- </td>
- </tr>
- <tr>
- <td valign="top" width="12">
- </td>
- <td valign="top" colspan="2">
- <p>
- Selektieren Sie die Module, die zum Projekt hinzugefgt werden sollen. Die empfohlenen
- Module sind bereits ausgewhlt.<br>
- &nbsp;</p>
- </td>
- <td valign="top" width="12">
- </td>
- </tr>
- <tr>
- <td width="12" height="12">
- </td>
- <td height="12">
- </td>
- <td height="12">
- </td>
- <td height="12">
- </td>
- <td width="12" height="12">
- </td>
- </tr>
-<!-- {ADB367FB-48AA-488e-9102-B037297CFCDB} -->
-<!-- -->
-<!-- START. GENERATED WITH SCRIPT, DO NOT EDIT -->
-<!-- -->
-<tr><td valign="top" width="12"></td><td valign="top" colspan="3"></td><td valign="top" width="12"></td></tr>
-<tr>
-<td valign="top" width="12"></td>
-<td valign="top"><input id="THREED_MODULE" title="Select this if you want to include the 3D library" type="checkbox" name="THREED_MODULE_NAME">&nbsp;3D</td>
-<td valign="top"><input id="NETWORK_MODULE" title="Select this if you want to include the Network library" type="checkbox" name="NETWORK_MODULE_NAME">&nbsp;Network</td>
-<td valign="top"><input id="SVG_MODULE" title="Select this if you want to include the SVG library" type="checkbox" name="SVG_MODULE_NAME">&nbsp;SVG</td>
-<td valign="top" width="12"></td>
-</tr>
-<tr>
-<td valign="top" width="12"></td>
-<td valign="top"><input id="AQCONTAINER_MODULE" title="Select this if you want to include the ActiveQt container library" type="checkbox" name="AQCONTAINER_MODULE_NAME">&nbsp;ActiveQt container&nbsp;</td>
-<td valign="top"><input id="NFC_MODULE" title="Select this if you want to include the NFC library" type="checkbox" name="NFC_MODULE_NAME">&nbsp;NFC</td>
-<td valign="top"><input id="TEST_MODULE" title="Select this if you want to include the Test library" type="checkbox" name="TEST_MODULE_NAME">&nbsp;Test</td>
-<td valign="top" width="12"></td>
-</tr>
-<tr>
-<td valign="top" width="12"></td>
-<td valign="top"><input id="AQSERVER_MODULE" title="Select this if you want to include the ActiveQt server library" type="checkbox" name="AQSERVER_MODULE_NAME">&nbsp;ActiveQt&nbsp;server&nbsp;</td>
-<td valign="top"><input id="OPENGL_MODULE" title="Select this if you want to include the OpenGL library" type="checkbox" name="OPENGL_MODULE_NAME">&nbsp;OpenGL</td>
-<td valign="top"><input id="UITOOLS_MODULE" title="Select this if you want to include the UI Tools" type="checkbox" name="UITOOLS_MODULE_NAME">&nbsp;UI Tools</td>
-<td valign="top" width="12"></td>
-</tr>
-<tr>
-<td valign="top" width="12"></td>
-<td valign="top"><input id="BLUETOOTH_MODULE" title="Select this if you want to include the Bluetooth library" type="checkbox" name="BLUETOOTH_MODULE_NAME">&nbsp;Bluetooth</td>
-<td valign="top"><input id="POSITIONING_MODULE" title="Select this if you want to include the Positioning library" type="checkbox" name="POSITIONING_MODULE_NAME">&nbsp;Positioning</td>
-<td valign="top"><input id="WEBCHANNEL_MODULE" title="Select this if you want to include the Web Channel library" type="checkbox" name="WEBCHANNEL_MODULE_NAME">&nbsp;Web Channel</td>
-<td valign="top" width="12"></td>
-</tr>
-<tr>
-<td valign="top" width="12"></td>
-<td valign="top"><input id="CONCURRENT_MODULE" title="Select this if you want to include the Concurrent library" type="checkbox" name="CONCURRENT_MODULE_NAME">&nbsp;Concurrent</td>
-<td valign="top"><input id="PRINTSUPPORT_MODULE" title="Select this if you want to include the Print Support library" type="checkbox" name="PRINTSUPPORT_MODULE_NAME">&nbsp;Print Support</td>
-<td valign="top"><input id="WEBKIT_MODULE" title="Select this if you want to include the WebKit library" type="checkbox" name="WEBKIT_MODULE_NAME">&nbsp;WebKit</td>
-<td valign="top" width="12"></td>
-</tr>
-<tr>
-<td valign="top" width="12"></td>
-<td valign="top"><input id="CORE_MODULE" title="Select this if you want to include the core library" type="checkbox" name="CORE_MODULE_NAME">&nbsp;Core</td>
-<td valign="top"><input id="QML_MODULE" title="Select this if you want to include the QML library" type="checkbox" name="QML_MODULE_NAME">&nbsp;QML</td>
-<td valign="top"><input id="WEBKITWIDGETS_MODULE" title="Select this if you want to include the Webkit Widgets library" type="checkbox" name="WEBKITWIDGETS_MODULE_NAME">&nbsp;Webkit Widgets</td>
-<td valign="top" width="12"></td>
-</tr>
-<tr>
-<td valign="top" width="12"></td>
-<td valign="top"><input id="ENGINIO_MODULE" title="Select this if you want to include the Enginio library" type="checkbox" name="ENGINIO_MODULE_NAME">&nbsp;Enginio</td>
-<td valign="top"><input id="QUICK_MODULE" title="Select this if you want to include the Quick library" type="checkbox" name="QUICK_MODULE_NAME">&nbsp;Quick</td>
-<td valign="top"><input id="WEBSOCKETS_MODULE" title="Select this if you want to include the Web Sockets library" type="checkbox" name="WEBSOCKETS_MODULE_NAME">&nbsp;Web Sockets</td>
-<td valign="top" width="12"></td>
-</tr>
-<tr>
-<td valign="top" width="12"></td>
-<td valign="top"><input id="DECLARATIVE_MODULE" title="Select this if you want to include the Declarative library" type="checkbox" name="DECLARATIVE_MODULE_NAME">&nbsp;Declarative</td>
-<td valign="top"><input id="QUICKWIDGETS_MODULE" title="Select this if you want to include the Quick Widgets library" type="checkbox" name="QUICKWIDGETS_MODULE_NAME">&nbsp;Quick Widgets</td>
-<td valign="top"><input id="WIDGETS_MODULE" title="Select this if you want to include the Widgets library" type="checkbox" name="WIDGETS_MODULE_NAME">&nbsp;Widgets</td>
-<td valign="top" width="12"></td>
-</tr>
-<tr>
-<td valign="top" width="12"></td>
-<td valign="top"><input id="GUI_MODULE" title="Select this if you want to include the GUI library" type="checkbox" name="GUI_MODULE_NAME">&nbsp;GUI</td>
-<td valign="top"><input id="SCRIPT_MODULE" title="Select this if you want to include the Script library" type="checkbox" name="SCRIPT_MODULE_NAME">&nbsp;Script</td>
-<td valign="top"><input id="WINDOWSEXTRAS_MODULE" title="Select this if you want to include the Windows Extras library" type="checkbox" name="WINDOWSEXTRAS_MODULE_NAME">&nbsp;Windows Extras</td>
-<td valign="top" width="12"></td>
-</tr>
-<tr>
-<td valign="top" width="12"></td>
-<td valign="top"><input id="HELP_MODULE" title="Select this if you want to include the Help library" type="checkbox" name="HELP_MODULE_NAME">&nbsp;Help</td>
-<td valign="top"><input id="SCRIPTTOOLS_MODULE" title="Select this if you want to include the Script Tools" type="checkbox" name="SCRIPTTOOLS_MODULE_NAME">&nbsp;Script Tools</td>
-<td valign="top"><input id="XML_MODULE" title="Select this if you want to include the XML library" type="checkbox" name="XML_MODULE_NAME">&nbsp;XML</td>
-<td valign="top" width="12"></td>
-</tr>
-<tr>
-<td valign="top" width="12"></td>
-<td valign="top"><input id="LOCATION_MODULE" title="Select this if you want to include the Location library" type="checkbox" name="LOCATION_MODULE_NAME">&nbsp;Location</td>
-<td valign="top"><input id="SENSORS_MODULE" title="Select this if you want to include the Sensors library" type="checkbox" name="SENSORS_MODULE_NAME">&nbsp;Sensors</td>
-<td valign="top"><input id="XMLPATTERNS_MODULE" title="Select this if you want to include the XML Patterns library" type="checkbox" name="XMLPATTERNS_MODULE_NAME">&nbsp;XML Patterns</td>
-<td valign="top" width="12"></td>
-</tr>
-<tr>
-<td valign="top" width="12"></td>
-<td valign="top"><input id="MULTIMEDIA_MODULE" title="Select this if you want to include the Multimedia library" type="checkbox" name="MULTIMEDIA_MODULE_NAME">&nbsp;Multimedia</td>
-<td valign="top"><input id="SERIALPORT_MODULE" title="Select this if you want to include the Serial Port library" type="checkbox" name="SERIALPORT_MODULE_NAME">&nbsp;Serial Port</td>
-<td valign="top" width="12"></td>
-<td valign="top" width="12"></td>
-</tr>
-<tr>
-<td valign="top" width="12"></td>
-<td valign="top"><input id="MULTIMEDIAWIDGETS_MODULE" title="Select this if you want to include the Multimedia Widgets library" type="checkbox" name="MULTIMEDIAWIDGETS_MODULE_NAME">&nbsp;Multimedia Widgets</td>
-<td valign="top"><input id="SQL_MODULE" title="Select this if you want to include the SQL library" type="checkbox" name="SQL_MODULE_NAME">&nbsp;SQL</td>
-<td valign="top" width="12"></td>
-<td valign="top" width="12"></td>
-</tr>
-<!-- -->
-<!-- END. GENERATED WITH SCRIPT, DO NOT EDIT -->
-<!-- -->
-<!-- {ADB367FB-48AA-488e-9102-B037297CFCDB} -->
-
-
-
-
- <tr>
- <td valign="top" width="12">
- </td>
- <td valign="top" colspan="3">
- <p>
- &nbsp;</p>
- </td>
- <td valign="top" width="12">
- </td>
- </tr>
- <tr>
- <td valign="top" width="12" height="100%">
- </td>
- <td valign="top" height="100%">
- </td>
- <td valign="top" height="100%">
- </td>
- <td valign="top" height="100%">
- </td>
- <td valign="top" width="12" height="100%">
- </td>
- </tr>
- </table>
- <!--CLOSE OF CONTENT//-->
- </TD> </TR>
- <tr valign="bottom">
- <td height="48">
- <!--OPEN OF BUTTON HTML//-->
- <table height="48" cellspacing="0" cellpadding="0" border="0">
- <colgroup>
- <col width="12">
- <col>
- <col width="75">
- <col width="4">
- <col width="75">
- <col width="4">
- <col width="75">
- <col width="12">
- <tr>
- <td class="RULE" valign="top" colspan="8" height="2">
- <table height="1" cellspacing="0" cellpadding="0" width="100%" border="0">
- <tr valign="top">
- </tr>
- </table>
- </td>
- </tr>
- <tr>
- <td valign="top" colspan="8" height="11">
- &nbsp;
- </td>
- </tr>
- <tr>
- <td valign="middle" width="12" height="23">
- &nbsp;
- </td>
- <td valign="top" height="23">
- &nbsp;
- </td>
- <td valign="middle" width="75" height="23">
- <button class="BUTTONS" id="FinishBtn" accesskey="B" onclick="OnFinish(document);"
- type="button">
- <u>B</u>eenden</button>
- </td>
- <td valign="middle" width="4" height="23">
- &nbsp;
- </td>
- <td valign="middle" width="75" height="23">
- <button class="BUTTONS" id="CancelBtn" accesskey="A" onclick="window.external.Finish(document, 'cancel');"
- type="button">
- <u>A</u>bbrechen</button>
- </td>
- <td valign="middle" width="4" height="23">
- &nbsp;
- </td>
- <td valign="middle" width="75" height="23">
- <button class="BUTTONS" id="HelpBtn" disabled accesskey="H" onclick="window.external.OnHelp('vc.appwiz.custom.overview');"
- type="button">
- <u>H</u>ilfe</button>
- </td>
- <td valign="middle" width="12" height="23">
- &nbsp;
- </td>
- </tr>
- <tr>
- <td valign="top" colspan="8" height="12">
- &nbsp;
- </td>
- </tr>
- </table>
- <!--CLOSE OF BUTTON HTML//-->
- </td>
- </tr>
- </TABLE>
- <!--CLOSE OF NAVIGATION, CONTENT, AND BUTTON TABLES//-->
- </TD> </TR> </TABLE>
-</body>
-</html>
-<script language="JSCRIPT">
-
- var QtEngine;
- var tab_array = new Array();
- tab_array[0] = Default;
- tab_array[1] = Page_2;
-
- // This is an example of a function which initializes the page
- //
- function InitDocument(document) {
- var dte = window.external.dte;
- var version = dte.version;
- if (version == "8.0")
- QtEngine = new ActiveXObject("Digia.Qt5ProjectEngine80");
- else if (version == "9.0")
- QtEngine = new ActiveXObject("Digia.Qt5ProjectEngine90");
- else if (version == "10.0")
- QtEngine = new ActiveXObject("Digia.Qt5ProjectEngine100");
- else if (version == "11.0")
- QtEngine = new ActiveXObject("Digia.Qt5ProjectEngine110");
- else if (version == "12.0")
- QtEngine = new ActiveXObject("Digia.Qt5ProjectEngine120");
- else {
- window.external.ReportError("Cannot instantiate QtProjectEngine object!");
- return false;
- }
-
- setDirection();
- if (window.external.FindSymbol('DOCUMENT_FIRST_LOAD')) {
- // This function sets the default symbols based
- // on the values specified in the SYMBOL tags above
- //
- window.external.SetDefaults(document);
- }
- // Load the document and initialize the controls
- // with the appropriate symbol values
- //
- window.external.Load(document);
-
- // Disable Essential modules which are not installed (Should not found any?)
- DisableUninstalled(THREED_MODULE_NAME, "Qt3D", QtEngine);
- DisableUninstalled(CORE_MODULE_NAME, "QtCore", QtEngine);
- DisableUninstalled(GUI_MODULE_NAME, "QtGui", QtEngine);
- DisableUninstalled(LOCATION_MODULE_NAME, "QtLocation", QtEngine);
- DisableUninstalled(MULTIMEDIA_MODULE_NAME, "QtMultimedia", QtEngine);
- DisableUninstalled(MULTIMEDIAWIDGETS_MODULE_NAME, "QtMultimediaWidgets", QtEngine);
- DisableUninstalled(NETWORK_MODULE_NAME, "QtNetwork", QtEngine);
- DisableUninstalled(QML_MODULE_NAME, "QtQml", QtEngine);
- DisableUninstalled(QUICK_MODULE_NAME, "QtQuick", QtEngine);
- DisableUninstalled(SQL_MODULE_NAME, "QtSql", QtEngine);
- DisableUninstalled(TEST_MODULE_NAME, "QtTest", QtEngine);
- DisableUninstalled(WEBKIT_MODULE_NAME, "QtWebkit", QtEngine);
-
- // Disable Add-on modules which are not installed
- DisableUninstalled(AQCONTAINER_MODULE_NAME, "QtAxContainer", QtEngine);
- DisableUninstalled(AQSERVER_MODULE_NAME, "QtAxServer", QtEngine);
- DisableUninstalled(BLUETOOTH_MODULE_NAME, "QtBluetooth", QtEngine);
- DisableUninstalled(CONCURRENT_MODULE_NAME, "QtConcurrent", QtEngine);
- DisableUninstalled(DECLARATIVE_MODULE_NAME, "QtDeclarative", QtEngine);
- DisableUninstalled(ENGINIO_MODULE_NAME, "Enginio", QtEngine);
- DisableUninstalled(HELP_MODULE_NAME, "QtHelp", QtEngine);
- DisableUninstalled(NFC_MODULE_NAME, "QtNfc", QtEngine);
- DisableUninstalled(OPENGL_MODULE_NAME, "QtOpenGL", QtEngine);
- DisableUninstalled(POSITIONING_MODULE_NAME, "QtPositioning", QtEngine);
- DisableUninstalled(PRINTSUPPORT_MODULE_NAME, "QtPrintSupport", QtEngine);
- DisableUninstalled(QUICKWIDGETS_MODULE_NAME, "QtQuickWidgets", QtEngine);
- DisableUninstalled(SCRIPT_MODULE_NAME, "QtScript", QtEngine);
- DisableUninstalled(SCRIPTTOOLS_MODULE_NAME, "QtScriptTools", QtEngine);
- DisableUninstalled(SENSORS_MODULE_NAME, "QtSensors", QtEngine);
- DisableUninstalled(SERIALPORT_MODULE_NAME, "QtSerialPort", QtEngine);
- DisableUninstalled(SVG_MODULE_NAME, "QtSvg", QtEngine);
- DisableUninstalled(UITOOLS_MODULE_NAME, "QtUiTools", QtEngine);
- DisableUninstalled(WEBCHANNEL_MODULE_NAME, "QtWebChannel", QtEngine);
- DisableUninstalled(WEBKITWIDGETS_MODULE_NAME, "QtWebkitWidgets", QtEngine);
- DisableUninstalled(WEBSOCKETS_MODULE_NAME, "QtWebSockets", QtEngine);
- DisableUninstalled(WIDGETS_MODULE_NAME, "QtWidgets", QtEngine);
- DisableUninstalled(WINDOWSEXTRAS_MODULE_NAME, "QtWinExtras", QtEngine);
- DisableUninstalled(XML_MODULE_NAME, "QtXml", QtEngine);
- DisableUninstalled(XMLPATTERNS_MODULE_NAME, "QtXmlPatterns", QtEngine);
-
- // Disable this cause mandatory for this wizard
- CORE_MODULE_NAME.disabled = true;
- }
-
- function DisableUninstalled(element, lib_name, engine) {
- var not_installed = !engine.IsModuleInstalled(lib_name);
- element.disabled = not_installed;
- if (not_installed) {
- element.title = ""; // Not installed so don't show title
- element.parentNode.className = "addon_disabled"; ;
- }
- return not_installed;
- }
-
- // If the wizard has more than 1 page, this
- // function will browse to the page specified
- //
- function Next(document, linkto) {
- CORE_MODULE_NAME.disabled = false;
- window.external.Next(document, linkto);
- }
-
- // This is an example of a function which
- // gets called when the user clicks on 'Finish'
- //
- function OnFinish(document) {
- CORE_MODULE_NAME.disabled = false;
- OnWizFinish(document);
- }
-
-</script>
-<script language="JSCRIPT" id="INCLUDE_SCRIPT"></script>
-<script language="JSCRIPT" id="INCLUDE_COMMON"></script>
-<!--
-Common.js is a script file which contains the helper functions
-used by the wizards. Include this line if you want to
-call these functions from your html scripts.
-//-->
-<script>
- var strPath = window.external.FindSymbol("PRODUCT_INSTALLATION_DIR");
- strPath += "VCWizards/";
- strPath += window.external.GetHostLocale();
-
- // verify if the locale folder really exists
- var fso = new ActiveXObject("Scripting.FileSystemObject");
- var found = fso.FolderExists(strPath)
- if (found == false) {
- strPath = window.external.FindSymbol("PRODUCT_INSTALLATION_DIR");
- strPath += "VCWizards/";
- var folder = fso.GetFolder(strPath);
- for (subfolders = new Enumerator(folder.SubFolders); !subfolders.atEnd(); subfolders.moveNext()) {
- for (files = new Enumerator(subfolders.item().files); !files.atEnd(); files.moveNext()) {
- if (files.item().name.toLowerCase().localeCompare("common.js") == 0) {
- found = true;
- strPath += subfolders.item().name;
- break;
- }
- }
- if (found == true)
- break;
- }
- }
-
- var strScriptPath = strPath + "/Script.js";
- var strCommonPath = strPath + "/Common.js";
- document.scripts("INCLUDE_SCRIPT").src = strScriptPath;
- document.scripts("INCLUDE_COMMON").src = strCommonPath;
-</script>
diff --git a/Qt4VS2003/Projects/Qt5LibProject/HTML/1031/Page_3.htm b/Qt4VS2003/Projects/Qt5LibProject/HTML/1031/Page_3.htm
deleted file mode 100644
index 10ffb6dd..00000000
--- a/Qt4VS2003/Projects/Qt5LibProject/HTML/1031/Page_3.htm
+++ /dev/null
@@ -1,458 +0,0 @@
-<html dir="ltr">
-<head>
- <title>'Qt5LibProject'</title>
- <meta content="http://schemas.microsoft.com/intellisense/ie5" name="vs_targetSchema">
- <link id="LINKURL" rel="stylesheet" href="../../1033/styles.css">
-</head>
-<body onkeypress="OnPress();" onkeydown="OnKey();" bottommargin="0" bgcolor="buttonface"
- leftmargin="0" topmargin="0" onload="InitDocument(document);" rightmargin="0">
- <table class="ONE" height="100%" cellspacing="0" cellpadding="0" width="100%" border="0">
- <colgroup>
- <col width="178">
- <col>
- <!--OPEN OF INTRODUCTORY INFORMATION TABLE//-->
- <tr valign="top">
- <td width="100%" colspan="2" height="79">
- <table class="TWO" cellspacing="0" cellpadding="0" border="0">
- <colgroup>
- <col width="12">
- <col>
- <col width="12">
- <tr>
- <td valign="top" width="12" height="12">
- &nbsp;
- </td>
- <td valign="top" height="12">
- &nbsp;
- </td>
- <td valign="top" width="12" height="12">
- &nbsp;
- </td>
- <td class="IMAGE" valign="bottom" width="110" rowspan="2">
- <div class="SMALLA" id="Layer0">
- <img class="SMALLEST" height="63" alt="" src="..\..\Images\Qt5LibProject.jpg" width="63"
- border="0">
- </div>
- </td>
- <td valign="top" width="6" height="12" rowspan="2">
- &nbsp;
- </td>
- </tr>
- <tr>
- <td valign="top" width="12" height="65">
- &nbsp;
- </td>
- <td valign="top" height="65">
- <h4 class="HEAD" id="HEAD">
- Willkommen zum Qt5 Bibliothekenprojektwizard</h4>
- <p class="SUBHEAD" id="SUBHEAD">
- Dieser Wizard erstellt eine einfache, dynamisch gegen Qt gebundene Bibliothek.</p>
- </td>
- <td valign="top" width="12" height="65">
- &nbsp;
- </td>
- </tr>
- <tr>
- <td class="RULE" valign="top" colspan="5" height="2">
- <table height="1" cellspacing="0" cellpadding="0" width="100%" border="0">
- <tr valign="top">
- <td width="100%" bgcolor="buttonshadow" height="1">
- <img height="1" alt="" src="../../Images/spacer.gif" width="1">
- </td>
- <td width="1" bgcolor="window" height="1">
- <img height="1" alt="" src="../../Images/spacer.gif" width="1">
- </td>
- </tr>
- </table>
- </td>
- </tr>
- </table>
- </td>
- </tr>
- <!--CLOSE OF INTRODUCTORY INFORMATION TABLE//-->
- <!--OPEN OF NAVIGATION, CONTENT, AND BUTTON TABLES//-->
- <tr valign="top">
- <td class="THREE" valign="top" width="178" height="100%">
- <!--OPEN OF NAVIGATION TABLE//-->
- <table class="THREE" cellspacing="0" cellpadding="0" border="0">
- <colgroup>
- <col width="12">
- <col width="166">
- <col width="1">
- <tr>
- <td valign="top" colspan="3" height="12">
- &nbsp;
- </td>
- </tr>
- <tr>
- <td valign="top" width="12" height="100%">
- &nbsp;
- </td>
- <td valign="top" width="165" height="100%">
- <!--OPEN OF NAVIGATIONAL LINKS//-->
- <div class="LINK">
- <table class="LINKTEXT" height="28" cellspacing="0" cellpadding="0" width="166" border="0">
- <tr valign="middle">
- <td width="162">
- <span class="ACTIVELINK" id="Page_1" title="" onclick="Next(document, 'default.htm');"
- tabindex="1">bersicht</span>
- </td>
- <td width="4">
- <img height="1" src="../../Images/spacer.gif" width="4">
- </td>
- </tr>
- </table>
- </div>
- <div class="LINK">
- <table class="LINKTEXT" height="28" cellspacing="0" cellpadding="0" width="166" border="0"
- id="Table1">
- <tr valign="middle">
- <td width="162">
- <span class="ACTIVELINK" id="Page_2" title="" onclick="Next(document, 'Page_2.htm');"
- tabindex="1">Projekteinstellungen</span>
- </td>
- <td width="4">
- <img height="1" src="../../Images/spacer.gif" width="4">
- </td>
- </tr>
- </table>
- </div>
- <div class="LINKSELECTED">
- <span class="VERTLINE1">
- <img height="1" alt="" src="../../Images/spacer.gif" width="1" border="0">
- </span><span class="HORILINE1">
- <table height="100%" cellspacing="0" cellpadding="0" width="167" border="0">
- <tr valign="top">
- <td class="DOTTEDLINE" height="1">
- </td>
- </tr>
- <tr valign="top">
- <td height="100%">
- <img height="28" alt="" src="../../Images/spacer.gif" width="1" border="0">
- </td>
- </tr>
- <tr valign="top">
- <td class="DOTTEDLINE" height="1">
- </td>
- </tr>
- </table>
- </span>
- <table class="LINKTEXTSELECTED" height="28" cellspacing="0" cellpadding="0" width="160"
- border="0">
- <tr valign="middle">
- <td width="162">
- <span id="Page_3" title="" onclick="Next(document, 'Page_2.htm');" tabindex="1">Generierte
- Klassen</span>
- </td>
- <td width="4">
- <img height="1" src="../../Images/spacer.gif" width="4">
- </td>
- </tr>
- </table>
- </div>
- <!--CLOSE OF NAVIGATIONAL LINKS//-->
- </td>
- <td width="1">
- <div class="VERTLINE">
- <img height="1" alt="" src="../../Images/spacer.gif" width="1" border="0">
- </div>
- </td>
- </tr>
- </table>
- <!--CLOSE OF NAVIGATION TABLE//-->
- </td>
- <td valign="top" height="100%">
- <!--OPEN OF CONTENT AND BUTTON TABLE//-->
- <table class="ONE" cellspacing="0" cellpadding="0" border="0">
- <colgroup>
- <col width="100%">
- <tr valign="top">
- <td valign="top" height="100%">
- <!--OPEN OF CONTENT//-->
- <table class="CONTENT" cellspacing="0" cellpadding="0" border="0">
- <colgroup>
- <tr>
- <td width="12" height="12">
- </td>
- <td height="12">
- </td>
- <td height="12">
- </td>
- <td width="12" height="12">
- </td>
- </tr>
- <tr>
- <td valign="top" width="12">
- </td>
- <td valign="top">
- Klassenname:
- </td>
- <td valign="top">
- .h&nbsp;Datei:
- </td>
- <td valign="top" width="12">
- </td>
- </tr>
- <tr>
- <td valign="top" width="12">
- </td>
- <td valign="top">
- <input id="CLASSNAME_TEXT" type="text" name="className" onpropertychange="ClassNameChanged();">
- </td>
- <td valign="top">
- <input id="HFILE_TEXT" type="text" name="hFile">
- </td>
- <td valign="top" width="12">
- </td>
- </tr>
- <tr>
- <td valign="top" width="12">
- </td>
- <td valign="top">
- </td>
- <td valign="top">
- <p>
- .cpp&nbsp;Datei:</p>
- </td>
- <td valign="top" width="12">
- </td>
- </tr>
- <tr>
- <td valign="top" width="12">
- </td>
- <td valign="top">
- </td>
- <td valign="top">
- <input id="CPPFILE_TEXT" type="text" name="cppFile">
- </td>
- <td valign="top" width="12">
- </td>
- </tr>
- <tr>
- <td width="12" height="25%">
- </td>
- </tr>
- <tr>
- <td width="12">
- </td>
- <td colspan="2">
- <input id="PRECOMPILED_HEADERS" title="Vorkompilierte Header verwenden" type="checkbox"
- name="precompiledHeaders">&nbsp;Vorkompilierte Header verwenden
- </td>
- <td width="12">
- </td>
- </tr>
- <tr>
- <td width="12">
- </td>
- <td valign="top">
- <input id="STATICLIB_CHECK" title="Kreuzen Sie diese Option an wenn Sie eine statische Bibliothek erstellen wollen."
- type="checkbox" name="STATICLIB_CHECK_NAME">&nbsp;Statische Bibliothek (.lib)
- </td>
- </tr>
- <tr>
- <td valign="top" height="100%" colspan="4">
- </td>
- </tr>
- </table>
- <!--CLOSE OF CONTENT//-->
- </td>
- </tr>
- <tr valign="bottom">
- <td height="48">
- <!--OPEN OF BUTTON HTML//-->
- <table height="48" cellspacing="0" cellpadding="0" border="0">
- <colgroup>
- <col width="12">
- <col>
- <col width="75">
- <col width="4">
- <col width="75">
- <col width="4">
- <col width="75">
- <col width="12">
- <tr>
- <td class="RULE" valign="top" colspan="8" height="2">
- <table height="1" cellspacing="0" cellpadding="0" width="100%" border="0">
- <tr valign="top">
- </tr>
- </table>
- </td>
- </tr>
- <tr>
- <td valign="top" colspan="8" height="11">
- &nbsp;
- </td>
- </tr>
- <tr>
- <td valign="middle" width="12" height="23">
- &nbsp;
- </td>
- <td valign="top" height="23">
- &nbsp;
- </td>
- <td valign="middle" width="75" height="23">
- <button class="BUTTONS" id="FinishBtn" accesskey="B" onclick="OnFinish(document);"
- type="button">
- <u>B</u>eenden</button>
- </td>
- <td valign="middle" width="4" height="23">
- &nbsp;
- </td>
- <td valign="middle" width="75" height="23">
- <button class="BUTTONS" id="CancelBtn" accesskey="A" onclick="window.external.Finish(document, 'cancel');"
- type="button">
- <u>A</u>bbrechen</button>
- </td>
- <td valign="middle" width="4" height="23">
- &nbsp;
- </td>
- <td valign="middle" width="75" height="23">
- <button class="BUTTONS" id="HelpBtn" disabled accesskey="H" onclick="window.external.OnHelp('vc.appwiz.custom.overview');"
- type="button">
- <u>H</u>ilfe</button>
- </td>
- <td valign="middle" width="12" height="23">
- &nbsp;
- </td>
- </tr>
- <tr>
- <td valign="top" colspan="8" height="12">
- &nbsp;
- </td>
- </tr>
- </table>
- <!--CLOSE OF BUTTON HTML//-->
- </td>
- </tr>
- </table>
- <!--CLOSE OF NAVIGATION, CONTENT, AND BUTTON TABLES//-->
- </td>
- </tr>
- </table>
-</body>
-</html>
-<script language="JSCRIPT">
-
- var tab_array = new Array();
- tab_array[0] = Page_1;
- tab_array[1] = Page_2;
-
- // This is an example of a function which initializes the page
- //
- function InitDocument(document) {
- setDirection();
-
- if (window.external.FindSymbol('DOCUMENT_FIRST_LOAD')) {
- // This function sets the default symbols based
- // on the values specified in the SYMBOL tags above
- //
- window.external.SetDefaults(document);
- }
-
- // Load the document and initialize the controls
- // with the appropriate symbol values
- //
- window.external.Load(document);
- }
-
- function ClassNameChanged() {
- HFILE_TEXT.value = CLASSNAME_TEXT.value.toLowerCase() + ".h";
- CPPFILE_TEXT.value = CLASSNAME_TEXT.value.toLowerCase() + ".cpp";
- }
-
- function ValidateAndUpdate() {
- var Inputs = document.all.tags("INPUT");
-
- var regexp = /\s/g;
- var proName = window.external.FindSymbol('PROJECT_NAME').replace(regexp, "");
-
- var field = Inputs.item("className");
- if (!window.external.dte.VCLanguageManager.ValidateIdentifier(field.value) ||
- window.external.dte.VCLanguageManager.IsReservedName(field.value)) {
- window.external.ReportError("Ungliger Klassenname!");
- field.value = proName;
- return false;
- }
-
- field = Inputs.item("hFile");
- if (!ValidateFileName(field.value)) {
- window.external.ReportError("Ungltiger Dateiname!");
- field.value = proName.toLowerCase() + ".h";
- return false;
- }
- field = Inputs.item("cppFile");
- if (!ValidateFileName(field.value)) {
- window.external.ReportError("Ungltiger Dateiname!");
- field.value = proName.toLowerCase() + ".cpp";
- return false;
- }
- return true;
- }
-
- function ValidateFileName(FileName) {
- if (!window.external.dte.VCLanguageManager.ValidateFileName(FileName))
- return false;
- if (FileName.search(/[\\\/\:\*\?\"\<\>\|]/g) != -1)
- return false;
- return true;
- }
-
- // If the wizard has more than 1 page, this
- // function will browse to the page specified
- //
- function Next(document, linkto) {
- if (!ValidateAndUpdate())
- return;
-
- window.external.Next(document, linkto);
- }
-
- // This is an example of a function which
- // gets called when the user clicks on 'Finish'
- //
- function OnFinish(document) {
- if (!ValidateAndUpdate())
- return;
-
- OnWizFinish(document);
- }
-
-</script>
-<script language="JSCRIPT" id="INCLUDE_SCRIPT"></script>
-<script language="JSCRIPT" id="INCLUDE_COMMON"></script>
-<!--
-Common.js is a script file which contains the helper functions
-used by the wizards. Include this line if you want to
-call these functions from your html scripts.
-//-->
-<script>
- var strPath = window.external.FindSymbol("PRODUCT_INSTALLATION_DIR");
- strPath += "VCWizards/";
- strPath += window.external.GetHostLocale();
-
- // verify if the locale folder really exists
- var fso = new ActiveXObject("Scripting.FileSystemObject");
- var found = fso.FolderExists(strPath)
- if (found == false) {
- strPath = window.external.FindSymbol("PRODUCT_INSTALLATION_DIR");
- strPath += "VCWizards/";
- var folder = fso.GetFolder(strPath);
- for (subfolders = new Enumerator(folder.SubFolders); !subfolders.atEnd(); subfolders.moveNext()) {
- for (files = new Enumerator(subfolders.item().files); !files.atEnd(); files.moveNext()) {
- if (files.item().name.toLowerCase().localeCompare("common.js") == 0) {
- found = true;
- strPath += subfolders.item().name;
- break;
- }
- }
- if (found == true)
- break;
- }
- }
-
- var strScriptPath = strPath + "/Script.js";
- var strCommonPath = strPath + "/Common.js";
- document.scripts("INCLUDE_SCRIPT").src = strScriptPath;
- document.scripts("INCLUDE_COMMON").src = strCommonPath;
-</script>
diff --git a/Qt4VS2003/Projects/Qt5LibProject/HTML/1031/default.htm b/Qt4VS2003/Projects/Qt5LibProject/HTML/1031/default.htm
deleted file mode 100644
index 61de3819..00000000
--- a/Qt4VS2003/Projects/Qt5LibProject/HTML/1031/default.htm
+++ /dev/null
@@ -1,523 +0,0 @@
-<html dir="ltr">
-<head>
- <title>'Qt5LibProject'</title>
- <meta content="http://schemas.microsoft.com/intellisense/ie5" name="vs_targetSchema">
- <link id="LINKURL" rel="stylesheet" href="../../1033/styles.css">
- <!-- -->
- <!-- The SYMBOL tag is used to set the default values for the user-defined symbols.-->
- <!-- -->
- <symbol name="WIZARD_DIALOG_TITLE" type="text" value="Qt5 Library Project Wizard"></symbol>
- <symbol name="THREED_MODULE" type="checkbox" value="false"></symbol>
- <symbol name="AQCONTAINER_MODULE" type="checkbox" value="false"></symbol>
- <symbol name="AQSERVER_MODULE" type="checkbox" value="false"></symbol>
- <symbol name="BLUETOOTH_MODULE" type="checkbox" value="false"></symbol>
- <symbol name="CONCURRENT_MODULE" type="checkbox" value="false"></symbol>
- <symbol name="CORE_MODULE" type="checkbox" value="true"></symbol>
- <symbol name="ENGINIO_MODULE" type="checkbox" value="false"></symbol>
- <symbol name="DECLARATIVE_MODULE" type="checkbox" value="false"></symbol>
- <symbol name="GUI_MODULE" type="checkbox" value="false"></symbol>
- <symbol name="HELP_MODULE" type="checkbox" value="false"></symbol>
- <symbol name="LOCATION_MODULE" type="checkbox" value="false"></symbol>
- <symbol name="MULTIMEDIA_MODULE" type="checkbox" value="false"></symbol>
- <symbol name="MULTIMEDIAWIDGETS_MODULE" type="checkbox" value="false"></symbol>
- <symbol name="NETWORK_MODULE" type="checkbox" value="false"></symbol>
- <symbol name="NFC_MODULE" type="checkbox" value="false"></symbol>
- <symbol name="OPENGL_MODULE" type="checkbox" value="false"></symbol>
- <symbol name="POSITIONING_MODULE" type="checkbox" value="false"></symbol>
- <symbol name="PRINTSUPPORT_MODULE" type="checkbox" value="false"></symbol>
- <symbol name="QML_MODULE" type="checkbox" value="false"></symbol>
- <symbol name="QUICK_MODULE" type="checkbox" value="false"></symbol>
- <symbol name="QUICKWIDGETS_MODULE" type="checkbox" value="false"></symbol>
- <symbol name="SCRIPT_MODULE" type="checkbox" value="false"></symbol>
- <symbol name="SCRIPTTOOLS_MODULE" type="checkbox" value="false"></symbol>
- <symbol name="SENSORS_MODULE" type="checkbox" value="false"></symbol>
- <symbol name="SERIALPORT_MODULE" type="checkbox" value="false"></symbol>
- <symbol name="SQL_MODULE" type="checkbox" value="false"></symbol>
- <symbol name="SVG_MODULE" type="checkbox" value="false"></symbol>
- <symbol name="TEST_MODULE" type="checkbox" value="false"></symbol>
- <symbol name="UITOOLS_MODULE" type="checkbox" value="false"></symbol>
- <symbol name="WEBCHANNEL_MODULE" type="checkbox" value="false"></symbol>
- <symbol name="WEBKIT_MODULE" type="checkbox" value="false"></symbol>
- <symbol name="WEBKITWIDGETS_MODULE" type="checkbox" value="false"></symbol>
- <symbol name="WEBSOCKETS_MODULE" type="checkbox" value="false"></symbol>
- <symbol name="WIDGETS_MODULE" type="checkbox" value="false"></symbol>
- <symbol name="WINDOWSEXTRAS_MODULE" type="checkbox" value="false"></symbol>
- <symbol name="XML_MODULE" type="checkbox" value="false"></symbol>
- <symbol name="XMLPATTERNS_MODULE" type="checkbox" value="false"></symbol>
- <symbol name="CLASSNAME_TEXT" type="text" value=""></symbol>
- <symbol name="HFILE_TEXT" type="text" value=""></symbol>
- <symbol name="CPPFILE_TEXT" type="text" value=""></symbol>
- <symbol name="UIFILE_TEXT" type="text" value=""></symbol>
- <symbol name="APP_TYPE_SUMMARY" type="text" value="Qt5 Library Project"></symbol>
-</head>
-<body onkeypress="OnPress();" onkeydown="OnKey();" bottommargin="0" bgcolor="buttonface"
- leftmargin="0" topmargin="0" onload="InitDocument(document);" rightmargin="0">
- <table class="ONE" height="100%" cellspacing="0" cellpadding="0" width="100%" border="0">
- <colgroup>
- <col width="178">
- <col>
- <!--OPEN OF INTRODUCTORY INFORMATION TABLE//-->
- <tr valign="top">
- <td width="100%" colspan="2" height="79">
- <table class="TWO" cellspacing="0" cellpadding="0" border="0">
- <colgroup>
- <col width="12">
- <col>
- <col width="12">
- <tr>
- <td valign="top" width="12" height="12">
- &nbsp;
- </td>
- <td valign="top" height="12">
- &nbsp;
- </td>
- <td valign="top" width="12" height="12">
- &nbsp;
- </td>
- <td class="IMAGE" valign="bottom" width="110" rowspan="2">
- <div class="SMALLA" id="Layer0">
- <img class="SMALLEST" height="63" alt="" src="../../Images/Qt5LibProject.jpg" width="63"
- border="0">
- </div>
- </td>
- <td valign="top" width="6" height="12" rowspan="2">
- &nbsp;
- </td>
- </tr>
- <tr>
- <td valign="top" width="12" height="65">
- &nbsp;
- </td>
- <td valign="top" height="65">
- <h4 class="HEAD" id="HEAD">
- Willkommen zum Qt5 Bibliothekenprojektwizard</h4>
- <p class="SUBHEAD" id="SUBHEAD">
- Dieser Wizard erstellt eine einfache, dynamisch gegen Qt gebundene Bibliothek.</p>
- </td>
- <td valign="top" width="12" height="65">
- &nbsp;
- </td>
- </tr>
- <tr>
- <td class="RULE" valign="top" colspan="5" height="2">
- <table height="1" cellspacing="0" cellpadding="0" width="100%" border="0">
- <tr valign="top">
- <td width="100%" bgcolor="buttonshadow" height="1">
- <img height="1" alt="" src="../../Images/spacer.gif" width="1">
- </td>
- <td width="1" bgcolor="window" height="1">
- <img height="1" alt="" src="../../Images/spacer.gif" width="1">
- </td>
- </tr>
- </table>
- </td>
- </tr>
- </table>
- </td>
- </tr>
- <!--CLOSE OF INTRODUCTORY INFORMATION TABLE//-->
- <!--OPEN OF NAVIGATION, CONTENT, AND BUTTON TABLES//-->
- <tr valign="top">
- <td class="THREE" valign="top" width="178" height="100%">
- <!--OPEN OF NAVIGATION TABLE//-->
- <table class="THREE" cellspacing="0" cellpadding="0" border="0">
- <colgroup>
- <col width="12">
- <col width="166">
- <col width="1">
- <tr>
- <td valign="top" colspan="3" height="12">
- &nbsp;
- </td>
- </tr>
- <tr>
- <td valign="top" width="12" height="100%">
- &nbsp;
- </td>
- <td valign="top" width="165" height="100%">
- <!--OPEN OF NAVIGATIONAL LINKS//-->
- <div class="LINKSELECTED">
- <span class="VERTLINE1">
- <img height="1" alt="" src="../../Images/spacer.gif" width="1" border="0">
- </span><span class="HORILINE1">
- <table height="100%" cellspacing="0" cellpadding="0" width="167" border="0">
- <tr valign="top">
- <td class="DOTTEDLINE" height="1">
- </td>
- </tr>
- <tr valign="top">
- <td height="100%">
- <img height="28" alt="" src="../../Images/spacer.gif" width="1" border="0">
- </td>
- </tr>
- <tr valign="top">
- <td class="DOTTEDLINE" height="1">
- </td>
- </tr>
- </table>
- </span>
- <table class="LINKTEXTSELECTED" height="28" cellspacing="0" cellpadding="0" width="160"
- border="0">
- <tr valign="middle">
- <td width="156">
- <span id="Page_1" title="" onclick="Next(document, 'default.htm');" tabindex="1">bersicht</span>
- </td>
- <td width="4">
- <img height="1" src="../../Images/spacer.gif" width="4">
- </td>
- </tr>
- </table>
- </div>
- <div class="LINK">
- <table class="LINKTEXT" height="28" cellspacing="0" cellpadding="0" width="166" border="0">
- <tr valign="middle">
- <td width="162">
- <span class="ACTIVELINK" id="Page_2" title="" onclick="Next(document, 'Page_2.htm');"
- tabindex="1">Projekteinstellungen</span>
- </td>
- <td width="4">
- <img height="1" src="../../Images/spacer.gif" width="4">
- </td>
- </tr>
- </table>
- </div>
- <div class="LINK">
- <table class="LINKTEXT" height="28" cellspacing="0" cellpadding="0" width="166" border="0"
- id="Table1">
- <tr valign="middle">
- <td width="162">
- <span class="ACTIVELINK" id="Page_3" title="" onclick="Next(document, 'Page_3.htm');"
- tabindex="1">Generierte Klassen</span>
- </td>
- <td width="4">
- <img height="1" src="../../Images/spacer.gif" width="4">
- </td>
- </tr>
- </table>
- </div>
- <!--CLOSE OF NAVIGATIONAL LINKS//-->
- </td>
- <td width="1">
- <div class="VERTLINE">
- <img height="1" alt="" src="../../Images/spacer.gif" width="1" border="0">
- </div>
- </td>
- </tr>
- </table>
- <!--CLOSE OF NAVIGATION TABLE//-->
- </td>
- <td valign="top" height="100%">
- <!--OPEN OF CONTENT AND BUTTON TABLE//-->
- <table class="ONE" cellspacing="0" cellpadding="0" border="0">
- <colgroup>
- <col width="100%">
- <tr valign="top">
- <td height="100%">
- <!--OPEN OF CONTENT//-->
- <table class="CONTENT" cellspacing="0" cellpadding="0" border="0">
- <colgroup>
- <col width="12">
- <col width="185">
- <col width="12">
- <col width="185">
- <col width="12">
- <col width="185">
- <col width="12">
- <tr>
- <td valign="top" colspan="5" height="12">
- &nbsp;
- </td>
- </tr>
- <tr valign="top">
- <td valign="top" width="12">
- &nbsp;
- </td>
- <td valign="top" colspan="3">
- <p>
- <span class="ItemTextTop"></span><span class="ItemText" id="QTMODULES" title="">
- </span>
- </p>
- <p>
- <span class="ItemText" title=""></span><span class="ItemText" id="FinishText">Klicken
- Sie <b>Beenden</b> von jeder beliebigen Wizardseite um die aktuellen Einstellungen
- zu bernehmen und das Projekt zu erstellen.</span>
- </p>
- </td>
- <td valign="top" width="12">
- &nbsp;
- </td>
- </tr>
- <tr>
- <td valign="top" colspan="7" height="100%">
- &nbsp;
- </td>
- </tr>
- </table>
- <!--CLOSE OF CONTENT//-->
- </td>
- </tr>
- <tr valign="bottom">
- <td height="48">
- <!--OPEN OF BUTTON HTML//-->
- <table height="48" cellspacing="0" cellpadding="0" border="0">
- <colgroup>
- <col width="12">
- <col>
- <col width="75">
- <col width="4">
- <col width="75">
- <col width="4">
- <col width="75">
- <col width="12">
- <tr>
- <td class="RULE" valign="top" colspan="8" height="2">
- <table height="1" cellspacing="0" cellpadding="0" width="100%" border="0">
- <tr valign="top">
- </tr>
- </table>
- </td>
- </tr>
- <tr>
- <td valign="top" colspan="8" height="11">
- &nbsp;
- </td>
- </tr>
- <tr>
- <td valign="middle" width="12" height="23">
- &nbsp;
- </td>
- <td valign="top" height="23">
- &nbsp;
- </td>
- <td valign="middle" width="75" height="23">
- <button class="BUTTONS" id="FinishBtn" accesskey="B" onclick="OnFinish(document);"
- type="button">
- <u>B</u>eenden</button>
- </td>
- <td valign="middle" width="4" height="23">
- &nbsp;
- </td>
- <td valign="middle" width="75" height="23">
- <button class="BUTTONS" id="CancelBtn" accesskey="A" onclick="window.external.Finish(document, 'cancel');"
- type="button">
- <u>A</u>bbrechen</button>
- </td>
- <td valign="middle" width="4" height="23">
- &nbsp;
- </td>
- <td valign="middle" width="75" height="23">
- <button class="BUTTONS" id="HelpBtn" disabled accesskey="H" onclick="window.external.OnHelp('vc.appwiz.custom.overview');"
- type="button">
- <u>H</u>ilfe</button>
- </td>
- <td valign="middle" width="12" height="23">
- &nbsp;
- </td>
- </tr>
- <tr>
- <td valign="top" colspan="8" height="12">
- &nbsp;
- </td>
- </tr>
- </table>
- <!--CLOSE OF BUTTON HTML//-->
- </td>
- </tr>
- </table>
- <!--CLOSE OF NAVIGATION, CONTENT, AND BUTTON TABLES//-->
- </td>
- </tr>
- </table>
-</body>
-</html>
-<script language="JSCRIPT">
-
- var tab_array = new Array();
- tab_array[0] = Page_1;
- tab_array[1] = Page_2;
-
- // This is an example of a function which initializes the page
- //
- function InitDocument(document) {
- setDirection();
-
- if (window.external.FindSymbol('DOCUMENT_FIRST_LOAD')) {
- // This function sets the default symbols based
- // on the values specified in the SYMBOL tags above
- //
- window.external.SetDefaults(document);
- UpdateFields();
- }
-
- // Load the document and initialize the controls
- // with the appropriate symbol values
- //
- window.external.Load(document);
- InitControls();
- }
-
- function UpdateFields() {
- var regexp = /\s/g;
- var proName = window.external.FindSymbol('PROJECT_NAME').replace(regexp, "");
-
- if (!window.external.dte.VCLanguageManager.ValidateIdentifier(proName) ||
- window.external.dte.VCLanguageManager.IsReservedName(proName)) {
- window.external.AddSymbol("CLASSNAME_TEXT", "MyClass"); // fall back on myclass
- window.external.AddSymbol("HFILE_TEXT", "myclass.h");
- window.external.AddSymbol("CPPFILE_TEXT", "myclass.cpp");
- } else {
- window.external.AddSymbol("CLASSNAME_TEXT", proName);
- window.external.AddSymbol("HFILE_TEXT", proName.toLowerCase() + ".h");
- window.external.AddSymbol("CPPFILE_TEXT", proName.toLowerCase() + ".cpp");
- }
- }
-
- function InitControls() {
- var strModules = "These are currently selected Qt modules:\r\n - ";
-
- // Essentials
- if (window.external.FindSymbol('THREED_MODULE'))
- strModules += "3D, ";
- if (window.external.FindSymbol('CORE_MODULE'))
- strModules += "Core, ";
- if (window.external.FindSymbol('GUI_MODULE'))
- strModules += "GUI, ";
- if (window.external.FindSymbol('LOCATION_MODULE'))
- strModules += "Location, ";
- if (window.external.FindSymbol('MULTIMEDIA_MODULE'))
- strModules += "Multimedia, ";
- if (window.external.FindSymbol('MULTIMEDIAWIDGETS_MODULE'))
- strModules += "Multimedia Widgets, ";
- if (window.external.FindSymbol('NETWORK_MODULE'))
- strModules += "Network, ";
- if (window.external.FindSymbol('QML_MODULE'))
- strModules += "Qml, ";
- if (window.external.FindSymbol('QUICK_MODULE'))
- strModules += "Quick, ";
- if (window.external.FindSymbol('SQL_MODULE'))
- strModules += "SQL, ";
- if (window.external.FindSymbol('TEST_MODULE'))
- strModules += "Test, ";
- if (window.external.FindSymbol('WEBKIT_MODULE'))
- strModules += "WebKit, ";
-
- // Add-ons
- // Active Qt better split to server and container
- if (window.external.FindSymbol('AQSERVER_MODULE'))
- strModules += "ActiveQt Server, ";
- if (window.external.FindSymbol('AQCONTAINER_MODULE'))
- strModules += "ActiveQt Container, ";
-
- if (window.external.FindSymbol('BLUETOOTH_MODULE'))
- strModules += "Bluetooth, ";
- if (window.external.FindSymbol('CONCURRENT_MODULE'))
- strModules += "Concurrent, ";
- if (window.external.FindSymbol('DECLARATIVE_MODULE'))
- strModules += "Declarative, ";
- if (window.external.FindSymbol('ENGINIO_MODULE'))
- strModules += "Enginio, ";
- if (window.external.FindSymbol('HELP_MODULE'))
- strModules += "Help, ";
- if (window.external.FindSymbol('NFC_MODULE'))
- strModules += "NFC, ";
- if (window.external.FindSymbol('OPENGL_MODULE'))
- strModules += "OpenGL, ";
- if (window.external.FindSymbol('POSITIONING_MODULE'))
- strModules += "Positioning, ";
- if (window.external.FindSymbol('PRINTSUPPORT_MODULE'))
- strModules += "Print Support, ";
- if (window.external.FindSymbol('QUICKWIDGETS_MODULE'))
- strModules += "Quick Widgets, ";
- if (window.external.FindSymbol('SCRIPT_MODULE'))
- strModules += "Script, ";
- if (window.external.FindSymbol('SCRIPTTOOLS_MODULE'))
- strModules += "Script Tools, ";
- if (window.external.FindSymbol('SENSORS_MODULE'))
- strModules += "Sensors, ";
- if (window.external.FindSymbol('SERIALPORT_MODULE'))
- strModules += "Serial Port, ";
- if (window.external.FindSymbol('SVG_MODULE'))
- strModules += "SVG, ";
- if (window.external.FindSymbol('UITOOLS_MODULE'))
- strModules += "UI Tools, ";
- if (window.external.FindSymbol('WEBCHANNEL_MODULE'))
- strModules += "Web Channel, ";
- if (window.external.FindSymbol('WEBKITWIDGETS_MODULE'))
- strModules += "Webkit Widgets, ";
- if (window.external.FindSymbol('WEBSOCKETS_MODULE'))
- strModules += "Web Sockets, ";
- if (window.external.FindSymbol('WIDGETS_MODULE'))
- strModules += "Widgets, ";
- if (window.external.FindSymbol('WINDOWSEXTRAS_MODULE'))
- strModules += "Windows Extras, ";
- if (window.external.FindSymbol('XML_MODULE'))
- strModules += "XML, ";
- if (window.external.FindSymbol('XMLPATTERNS_MODULE'))
- strModules += "XML Patterns, ";
-
- if (strModules.length < 1)
- strModules = "None selected";
- else
- strModules = strModules.slice(0, strModules.length - 2);
-
- strModules += "\r\n\r\nConfiguration:\r\n - "
- if (window.external.FindSymbol('STATICLIB_CHECK'))
- strModules += "Static Library";
- else
- strModules += "Dynamic Library";
-
- QTMODULES.innerText = strModules;
- }
-
- // If the wizard has more than 1 page, this
- // function will browse to the page specified
- //
- function Next(document, linkto) {
- window.external.Next(document, linkto);
- }
-
- // This is an example of a function which
- // gets called when the user clicks on 'Finish'
- //
- function OnFinish(document) {
- OnWizFinish(document);
- }
-
-</script>
-<script language="JSCRIPT" id="INCLUDE_SCRIPT"></script>
-<script language="JSCRIPT" id="INCLUDE_COMMON"></script>
-<!--
-Common.js is a script file which contains the helper functions
-used by the wizards. Include this line if you want to
-call these functions from your html scripts.
-//-->
-<script>
- var strPath = window.external.FindSymbol("PRODUCT_INSTALLATION_DIR");
- strPath += "VCWizards/";
- strPath += window.external.GetHostLocale();
-
- // verify if the locale folder really exists
- var fso = new ActiveXObject("Scripting.FileSystemObject");
- var found = fso.FolderExists(strPath)
- if (found == false) {
- strPath = window.external.FindSymbol("PRODUCT_INSTALLATION_DIR");
- strPath += "VCWizards/";
- var folder = fso.GetFolder(strPath);
- for (subfolders = new Enumerator(folder.SubFolders); !subfolders.atEnd(); subfolders.moveNext()) {
- for (files = new Enumerator(subfolders.item().files); !files.atEnd(); files.moveNext()) {
- if (files.item().name.toLowerCase().localeCompare("common.js") == 0) {
- found = true;
- strPath += subfolders.item().name;
- break;
- }
- }
- if (found == true)
- break;
- }
- }
-
- var strScriptPath = strPath + "/Script.js";
- var strCommonPath = strPath + "/Common.js";
- document.scripts("INCLUDE_SCRIPT").src = strScriptPath;
- document.scripts("INCLUDE_COMMON").src = strCommonPath;
-</script>
diff --git a/Qt4VS2003/Projects/Qt5LibProject/HTML/1033/Page_2.htm b/Qt4VS2003/Projects/Qt5LibProject/HTML/1033/Page_2.htm
deleted file mode 100644
index f93a30ce..00000000
--- a/Qt4VS2003/Projects/Qt5LibProject/HTML/1033/Page_2.htm
+++ /dev/null
@@ -1,559 +0,0 @@
-<html dir="ltr">
-<head>
- <title>'Qt5LibProject'</title>
- <meta content="http://schemas.microsoft.com/intellisense/ie5" name="vs_targetSchema">
- <link id="LINKURL" rel="stylesheet" href="../../1033/styles.css">
-</head>
-<body onkeypress="OnPress();" onkeydown="OnKey();" bottommargin="0" bgcolor="buttonface"
- leftmargin="0" topmargin="0" onload="InitDocument(document);" rightmargin="0">
- <table class="ONE" height="100%" cellspacing="0" cellpadding="0" width="100%" border="0">
- <colgroup>
- <col width="178">
- <col>
- <!--OPEN OF INTRODUCTORY INFORMATION TABLE//-->
- <tr valign="top">
- <td width="100%" colspan="2" height="79">
- <table class="TWO" cellspacing="0" cellpadding="0" border="0">
- <colgroup>
- <col width="12">
- <col>
- <col width="12">
- <tr>
- <td valign="top" width="12" height="12">
- &nbsp;
- </td>
- <td valign="top" height="12">
- &nbsp;
- </td>
- <td valign="top" width="12" height="12">
- &nbsp;
- </td>
- <td class="IMAGE" valign="bottom" width="110" rowspan="2">
- <div class="SMALLA" id="Layer0">
- <img class="SMALLEST" height="63" alt="" src="..\..\Images\Qt5LibProject.jpg" width="63"
- border="0">
- </div>
- </td>
- <td valign="top" width="6" height="12" rowspan="2">
- &nbsp;
- </td>
- </tr>
- <tr>
- <td valign="top" width="12" height="65">
- &nbsp;
- </td>
- <td valign="top" height="65">
- <h4 class="HEAD" id="HEAD">
- Welcome to the Qt5&nbsp;Library project wizard</h4>
- <p class="SUBHEAD" id="SUBHEAD">
- This wizard generates a skeleton&nbsp;Qt5&nbsp;library project. The&nbsp;library
- is linked dynamicly with Qt.</p>
- </td>
- <td valign="top" width="12" height="65">
- &nbsp;
- </td>
- </tr>
- <tr>
- <td class="RULE" valign="top" colspan="5" height="2">
- <table height="1" cellspacing="0" cellpadding="0" width="100%" border="0">
- <tr valign="top">
- <td width="100%" bgcolor="buttonshadow" height="1">
- <img height="1" alt="" src="../../Images/spacer.gif" width="1">
- </td>
- <td width="1" bgcolor="window" height="1">
- <img height="1" alt="" src="../../Images/spacer.gif" width="1">
- </td>
- </tr>
- </table>
- </td>
- </tr>
- </table>
- </td>
- </tr>
- <!--CLOSE OF INTRODUCTORY INFORMATION TABLE//-->
- <!--OPEN OF NAVIGATION, CONTENT, AND BUTTON TABLES//-->
- <tr valign="top">
- <td class="THREE" valign="top" width="178" height="100%">
- <!--OPEN OF NAVIGATION TABLE//-->
- <table class="THREE" cellspacing="0" cellpadding="0" border="0">
- <colgroup>
- <col width="12">
- <col width="166">
- <col width="1">
- <tr>
- <td valign="top" colspan="3" height="12">
- &nbsp;
- </td>
- </tr>
- <tr>
- <td valign="top" width="12" height="100%">
- &nbsp;
- </td>
- <td valign="top" width="165" height="100%">
- <!--OPEN OF NAVIGATIONAL LINKS//-->
- <div class="LINK">
- <table class="LINKTEXT" height="28" cellspacing="0" cellpadding="0" width="166" border="0">
- <tr valign="middle">
- <td width="162">
- <span class="ACTIVELINK" id="Default" title="" onclick="Next(document, 'default.htm');"
- tabindex="1">Overview</span>
- </td>
- <td width="4">
- <img height="1" src="../../Images/spacer.gif" width="4">
- </td>
- </tr>
- </table>
- </div>
- <div class="LINKSELECTED">
- <span class="VERTLINE1">
- <img height="1" alt="" src="../../Images/spacer.gif" width="1" border="0">
- </span><span class="HORILINE1">
- <table height="100%" cellspacing="0" cellpadding="0" width="167" border="0">
- <tr valign="top">
- <td class="DOTTEDLINE" height="1">
- </td>
- </tr>
- <tr valign="top">
- <td height="100%">
- <img height="28" alt="" src="../../Images/spacer.gif" width="1" border="0">
- </td>
- </tr>
- <tr valign="top">
- <td class="DOTTEDLINE" height="1">
- </td>
- </tr>
- </table>
- </span>
- <table class="LINKTEXTSELECTED" height="28" cellspacing="0" cellpadding="0" width="160"
- border="0">
- <tr valign="middle">
- <td width="162">
- <span id="Page_2" title="" onclick="Next(document, 'Page_2.htm');" tabindex="1">Project
- Settings</span>
- </td>
- <td width="4">
- <img height="1" src="../../Images/spacer.gif" width="4">
- </td>
- </tr>
- </table>
- </div>
- <div class="LINK">
- <table class="LINKTEXT" height="28" cellspacing="0" cellpadding="0" width="166" border="0"
- id="Table1">
- <tr valign="middle">
- <td width="162">
- <span class="ACTIVELINK" id="Page_3" title="" onclick="Next(document, 'Page_3.htm');"
- tabindex="1">Generated Class</span>
- </td>
- <td width="4">
- <img height="1" src="../../Images/spacer.gif" width="4">
- </td>
- </tr>
- </table>
- </div>
- <!--CLOSE OF NAVIGATIONAL LINKS//-->
- </td>
- <td width="1">
- <div class="VERTLINE">
- <img height="1" alt="" src="../../Images/spacer.gif" width="1" border="0">
- </div>
- </td>
- </tr>
- </table>
- <!--CLOSE OF NAVIGATION TABLE//-->
- </td>
- <td valign="top" height="100%">
- <!--OPEN OF CONTENT AND BUTTON TABLE//-->
- <table class="ONE" cellspacing="0" cellpadding="0" border="0">
- <colgroup>
- <col width="100%">
- <tr valign="top">
- <td valign="top" height="100%">
- <!--OPEN OF CONTENT//-->
- <table class="CONTENT" cellspacing="0" cellpadding="0" border="0">
- <colgroup>
- <tr>
- <td width="12" height="12">
- </td>
- <td height="12">
- </td>
- <td height="12">
- </td>
- <td height="12">
- </td>
- <td width="12" height="12">
- </td>
- </tr>
- <tr>
- <td valign="top" width="12">
- </td>
- <td valign="top" colspan="3">
- <p>
- Select the modules you want to include in your project. The recommended modules
- for this project are selected by default.<br>
- &nbsp;</p>
- </td>
- <td valign="top" width="12">
- </td>
- </tr>
- <tr>
- <td width="12" height="12">
- </td>
- <td height="12">
- </td>
- <td height="12">
- </td>
- <td height="12">
- </td>
- <td width="12" height="12">
- </td>
- </tr>
-<!-- {ADB367FB-48AA-488e-9102-B037297CFCDB} -->
-<!-- -->
-<!-- START. GENERATED WITH SCRIPT, DO NOT EDIT -->
-<!-- -->
-<tr><td valign="top" width="12"></td><td valign="top" colspan="3"></td><td valign="top" width="12"></td></tr>
-<tr>
-<td valign="top" width="12"></td>
-<td valign="top"><input id="THREED_MODULE" title="Select this if you want to include the 3D library" type="checkbox" name="THREED_MODULE_NAME">&nbsp;3D</td>
-<td valign="top"><input id="NETWORK_MODULE" title="Select this if you want to include the Network library" type="checkbox" name="NETWORK_MODULE_NAME">&nbsp;Network</td>
-<td valign="top"><input id="SVG_MODULE" title="Select this if you want to include the SVG library" type="checkbox" name="SVG_MODULE_NAME">&nbsp;SVG</td>
-<td valign="top" width="12"></td>
-</tr>
-<tr>
-<td valign="top" width="12"></td>
-<td valign="top"><input id="AQCONTAINER_MODULE" title="Select this if you want to include the ActiveQt container library" type="checkbox" name="AQCONTAINER_MODULE_NAME">&nbsp;ActiveQt container&nbsp;</td>
-<td valign="top"><input id="NFC_MODULE" title="Select this if you want to include the NFC library" type="checkbox" name="NFC_MODULE_NAME">&nbsp;NFC</td>
-<td valign="top"><input id="TEST_MODULE" title="Select this if you want to include the Test library" type="checkbox" name="TEST_MODULE_NAME">&nbsp;Test</td>
-<td valign="top" width="12"></td>
-</tr>
-<tr>
-<td valign="top" width="12"></td>
-<td valign="top"><input id="AQSERVER_MODULE" title="Select this if you want to include the ActiveQt server library" type="checkbox" name="AQSERVER_MODULE_NAME">&nbsp;ActiveQt&nbsp;server&nbsp;</td>
-<td valign="top"><input id="OPENGL_MODULE" title="Select this if you want to include the OpenGL library" type="checkbox" name="OPENGL_MODULE_NAME">&nbsp;OpenGL</td>
-<td valign="top"><input id="UITOOLS_MODULE" title="Select this if you want to include the UI Tools" type="checkbox" name="UITOOLS_MODULE_NAME">&nbsp;UI Tools</td>
-<td valign="top" width="12"></td>
-</tr>
-<tr>
-<td valign="top" width="12"></td>
-<td valign="top"><input id="BLUETOOTH_MODULE" title="Select this if you want to include the Bluetooth library" type="checkbox" name="BLUETOOTH_MODULE_NAME">&nbsp;Bluetooth</td>
-<td valign="top"><input id="POSITIONING_MODULE" title="Select this if you want to include the Positioning library" type="checkbox" name="POSITIONING_MODULE_NAME">&nbsp;Positioning</td>
-<td valign="top"><input id="WEBCHANNEL_MODULE" title="Select this if you want to include the Web Channel library" type="checkbox" name="WEBCHANNEL_MODULE_NAME">&nbsp;Web Channel</td>
-<td valign="top" width="12"></td>
-</tr>
-<tr>
-<td valign="top" width="12"></td>
-<td valign="top"><input id="CONCURRENT_MODULE" title="Select this if you want to include the Concurrent library" type="checkbox" name="CONCURRENT_MODULE_NAME">&nbsp;Concurrent</td>
-<td valign="top"><input id="PRINTSUPPORT_MODULE" title="Select this if you want to include the Print Support library" type="checkbox" name="PRINTSUPPORT_MODULE_NAME">&nbsp;Print Support</td>
-<td valign="top"><input id="WEBKIT_MODULE" title="Select this if you want to include the WebKit library" type="checkbox" name="WEBKIT_MODULE_NAME">&nbsp;WebKit</td>
-<td valign="top" width="12"></td>
-</tr>
-<tr>
-<td valign="top" width="12"></td>
-<td valign="top"><input id="CORE_MODULE" title="Select this if you want to include the core library" type="checkbox" name="CORE_MODULE_NAME">&nbsp;Core</td>
-<td valign="top"><input id="QML_MODULE" title="Select this if you want to include the QML library" type="checkbox" name="QML_MODULE_NAME">&nbsp;QML</td>
-<td valign="top"><input id="WEBKITWIDGETS_MODULE" title="Select this if you want to include the Webkit Widgets library" type="checkbox" name="WEBKITWIDGETS_MODULE_NAME">&nbsp;Webkit Widgets</td>
-<td valign="top" width="12"></td>
-</tr>
-<tr>
-<td valign="top" width="12"></td>
-<td valign="top"><input id="ENGINIO_MODULE" title="Select this if you want to include the Enginio library" type="checkbox" name="ENGINIO_MODULE_NAME">&nbsp;Enginio</td>
-<td valign="top"><input id="QUICK_MODULE" title="Select this if you want to include the Quick library" type="checkbox" name="QUICK_MODULE_NAME">&nbsp;Quick</td>
-<td valign="top"><input id="WEBSOCKETS_MODULE" title="Select this if you want to include the Web Sockets library" type="checkbox" name="WEBSOCKETS_MODULE_NAME">&nbsp;Web Sockets</td>
-<td valign="top" width="12"></td>
-</tr>
-<tr>
-<td valign="top" width="12"></td>
-<td valign="top"><input id="DECLARATIVE_MODULE" title="Select this if you want to include the Declarative library" type="checkbox" name="DECLARATIVE_MODULE_NAME">&nbsp;Declarative</td>
-<td valign="top"><input id="QUICKWIDGETS_MODULE" title="Select this if you want to include the Quick Widgets library" type="checkbox" name="QUICKWIDGETS_MODULE_NAME">&nbsp;Quick Widgets</td>
-<td valign="top"><input id="WIDGETS_MODULE" title="Select this if you want to include the Widgets library" type="checkbox" name="WIDGETS_MODULE_NAME">&nbsp;Widgets</td>
-<td valign="top" width="12"></td>
-</tr>
-<tr>
-<td valign="top" width="12"></td>
-<td valign="top"><input id="GUI_MODULE" title="Select this if you want to include the GUI library" type="checkbox" name="GUI_MODULE_NAME">&nbsp;GUI</td>
-<td valign="top"><input id="SCRIPT_MODULE" title="Select this if you want to include the Script library" type="checkbox" name="SCRIPT_MODULE_NAME">&nbsp;Script</td>
-<td valign="top"><input id="WINDOWSEXTRAS_MODULE" title="Select this if you want to include the Windows Extras library" type="checkbox" name="WINDOWSEXTRAS_MODULE_NAME">&nbsp;Windows Extras</td>
-<td valign="top" width="12"></td>
-</tr>
-<tr>
-<td valign="top" width="12"></td>
-<td valign="top"><input id="HELP_MODULE" title="Select this if you want to include the Help library" type="checkbox" name="HELP_MODULE_NAME">&nbsp;Help</td>
-<td valign="top"><input id="SCRIPTTOOLS_MODULE" title="Select this if you want to include the Script Tools" type="checkbox" name="SCRIPTTOOLS_MODULE_NAME">&nbsp;Script Tools</td>
-<td valign="top"><input id="XML_MODULE" title="Select this if you want to include the XML library" type="checkbox" name="XML_MODULE_NAME">&nbsp;XML</td>
-<td valign="top" width="12"></td>
-</tr>
-<tr>
-<td valign="top" width="12"></td>
-<td valign="top"><input id="LOCATION_MODULE" title="Select this if you want to include the Location library" type="checkbox" name="LOCATION_MODULE_NAME">&nbsp;Location</td>
-<td valign="top"><input id="SENSORS_MODULE" title="Select this if you want to include the Sensors library" type="checkbox" name="SENSORS_MODULE_NAME">&nbsp;Sensors</td>
-<td valign="top"><input id="XMLPATTERNS_MODULE" title="Select this if you want to include the XML Patterns library" type="checkbox" name="XMLPATTERNS_MODULE_NAME">&nbsp;XML Patterns</td>
-<td valign="top" width="12"></td>
-</tr>
-<tr>
-<td valign="top" width="12"></td>
-<td valign="top"><input id="MULTIMEDIA_MODULE" title="Select this if you want to include the Multimedia library" type="checkbox" name="MULTIMEDIA_MODULE_NAME">&nbsp;Multimedia</td>
-<td valign="top"><input id="SERIALPORT_MODULE" title="Select this if you want to include the Serial Port library" type="checkbox" name="SERIALPORT_MODULE_NAME">&nbsp;Serial Port</td>
-<td valign="top" width="12"></td>
-<td valign="top" width="12"></td>
-</tr>
-<tr>
-<td valign="top" width="12"></td>
-<td valign="top"><input id="MULTIMEDIAWIDGETS_MODULE" title="Select this if you want to include the Multimedia Widgets library" type="checkbox" name="MULTIMEDIAWIDGETS_MODULE_NAME">&nbsp;Multimedia Widgets</td>
-<td valign="top"><input id="SQL_MODULE" title="Select this if you want to include the SQL library" type="checkbox" name="SQL_MODULE_NAME">&nbsp;SQL</td>
-<td valign="top" width="12"></td>
-<td valign="top" width="12"></td>
-</tr>
-<!-- -->
-<!-- END. GENERATED WITH SCRIPT, DO NOT EDIT -->
-<!-- -->
-<!-- {ADB367FB-48AA-488e-9102-B037297CFCDB} -->
-
-
-
-
- <tr>
- <td valign="top" width="12">
- </td>
- <td valign="top" colspan="3">
- <p>
- &nbsp;</p>
- </td>
- <td valign="top" width="12">
- </td>
- </tr>
- <tr>
- <td valign="top" width="12" height="100%">
- </td>
- <td valign="top" height="100%">
- </td>
- <td valign="top" height="100%">
- </td>
- <td valign="top" height="100%">
- </td>
- <td valign="top" width="12" height="100%">
- </td>
- </tr>
- </table>
- <!--CLOSE OF CONTENT//-->
- </TD> </TR>
- <tr valign="bottom">
- <td height="48">
- <!--OPEN OF BUTTON HTML//-->
- <table height="48" cellspacing="0" cellpadding="0" border="0">
- <colgroup>
- <col width="12">
- <col>
- <col width="75">
- <col width="4">
- <col width="75">
- <col width="4">
- <col width="75">
- <col width="12">
- <tr>
- <td class="RULE" valign="top" colspan="8" height="2">
- <table height="1" cellspacing="0" cellpadding="0" width="100%" border="0">
- <tr valign="top">
- </tr>
- </table>
- </td>
- </tr>
- <tr>
- <td valign="top" colspan="8" height="11">
- &nbsp;
- </td>
- </tr>
- <tr>
- <td valign="middle" width="12" height="23">
- &nbsp;
- </td>
- <td valign="top" height="23">
- &nbsp;
- </td>
- <td valign="middle" width="75" height="23">
- <button class="BUTTONS" id="FinishBtn" accesskey="F" onclick="OnFinish(document);"
- type="button">
- <u>F</u>inish</button>
- </td>
- <td valign="middle" width="4" height="23">
- &nbsp;
- </td>
- <td valign="middle" width="75" height="23">
- <button class="BUTTONS" id="CancelBtn" accesskey="C" onclick="window.external.Finish(document, 'cancel');"
- type="button">
- <u>C</u>ancel</button>
- </td>
- <td valign="middle" width="4" height="23">
- &nbsp;
- </td>
- <td valign="middle" width="75" height="23">
- <button class="BUTTONS" id="HelpBtn" disabled accesskey="H" onclick="window.external.OnHelp('vc.appwiz.custom.overview');"
- type="button">
- <u>H</u>elp</button>
- </td>
- <td valign="middle" width="12" height="23">
- &nbsp;
- </td>
- </tr>
- <tr>
- <td valign="top" colspan="8" height="12">
- &nbsp;
- </td>
- </tr>
- </table>
- <!--CLOSE OF BUTTON HTML//-->
- </td>
- </tr>
- </TABLE>
- <!--CLOSE OF NAVIGATION, CONTENT, AND BUTTON TABLES//-->
- </TD> </TR> </TABLE>
-</body>
-</html>
-<script language="JSCRIPT">
-
- var QtEngine;
- var tab_array = new Array();
- tab_array[0] = Default;
- tab_array[1] = Page_2;
-
- // This is an example of a function which initializes the page
- //
- function InitDocument(document) {
- var dte = window.external.dte;
- var version = dte.version;
- if (version == "8.0")
- QtEngine = new ActiveXObject("Digia.Qt5ProjectEngine80");
- else if (version == "9.0")
- QtEngine = new ActiveXObject("Digia.Qt5ProjectEngine90");
- else if (version == "10.0")
- QtEngine = new ActiveXObject("Digia.Qt5ProjectEngine100");
- else if (version == "11.0")
- QtEngine = new ActiveXObject("Digia.Qt5ProjectEngine110");
- else if (version == "12.0")
- QtEngine = new ActiveXObject("Digia.Qt5ProjectEngine120");
- else {
- window.external.ReportError("Cannot instantiate QtProjectEngine object!");
- return false;
- }
-
- setDirection();
- if (window.external.FindSymbol('DOCUMENT_FIRST_LOAD')) {
- // This function sets the default symbols based
- // on the values specified in the SYMBOL tags above
- //
- window.external.SetDefaults(document);
- }
- // Load the document and initialize the controls
- // with the appropriate symbol values
- //
- window.external.Load(document);
-
- // Disable Essential modules which are not installed (Should not found any?)
- DisableUninstalled(THREED_MODULE_NAME, "Qt3D", QtEngine);
- DisableUninstalled(CORE_MODULE_NAME, "QtCore", QtEngine);
- DisableUninstalled(GUI_MODULE_NAME, "QtGui", QtEngine);
- DisableUninstalled(LOCATION_MODULE_NAME, "QtLocation", QtEngine);
- DisableUninstalled(MULTIMEDIA_MODULE_NAME, "QtMultimedia", QtEngine);
- DisableUninstalled(MULTIMEDIAWIDGETS_MODULE_NAME, "QtMultimediaWidgets", QtEngine);
- DisableUninstalled(NETWORK_MODULE_NAME, "QtNetwork", QtEngine);
- DisableUninstalled(QML_MODULE_NAME, "QtQml", QtEngine);
- DisableUninstalled(QUICK_MODULE_NAME, "QtQuick", QtEngine);
- DisableUninstalled(SQL_MODULE_NAME, "QtSql", QtEngine);
- DisableUninstalled(TEST_MODULE_NAME, "QtTest", QtEngine);
- DisableUninstalled(WEBKIT_MODULE_NAME, "QtWebkit", QtEngine);
-
- // Disable Add-on modules which are not installed
- DisableUninstalled(AQCONTAINER_MODULE_NAME, "QtAxContainer", QtEngine);
- DisableUninstalled(AQSERVER_MODULE_NAME, "QtAxServer", QtEngine);
- DisableUninstalled(BLUETOOTH_MODULE_NAME, "QtBluetooth", QtEngine);
- DisableUninstalled(CONCURRENT_MODULE_NAME, "QtConcurrent", QtEngine);
- DisableUninstalled(DECLARATIVE_MODULE_NAME, "QtDeclarative", QtEngine);
- DisableUninstalled(ENGINIO_MODULE_NAME, "Enginio", QtEngine);
- DisableUninstalled(HELP_MODULE_NAME, "QtHelp", QtEngine);
- DisableUninstalled(NFC_MODULE_NAME, "QtNfc", QtEngine);
- DisableUninstalled(OPENGL_MODULE_NAME, "QtOpenGL", QtEngine);
- DisableUninstalled(POSITIONING_MODULE_NAME, "QtPositioning", QtEngine);
- DisableUninstalled(PRINTSUPPORT_MODULE_NAME, "QtPrintSupport", QtEngine);
- DisableUninstalled(QUICKWIDGETS_MODULE_NAME, "QtQuickWidgets", QtEngine);
- DisableUninstalled(SCRIPT_MODULE_NAME, "QtScript", QtEngine);
- DisableUninstalled(SCRIPTTOOLS_MODULE_NAME, "QtScriptTools", QtEngine);
- DisableUninstalled(SENSORS_MODULE_NAME, "QtSensors", QtEngine);
- DisableUninstalled(SERIALPORT_MODULE_NAME, "QtSerialPort", QtEngine);
- DisableUninstalled(SVG_MODULE_NAME, "QtSvg", QtEngine);
- DisableUninstalled(UITOOLS_MODULE_NAME, "QtUiTools", QtEngine);
- DisableUninstalled(WEBCHANNEL_MODULE_NAME, "QtWebChannel", QtEngine);
- DisableUninstalled(WEBKITWIDGETS_MODULE_NAME, "QtWebkitWidgets", QtEngine);
- DisableUninstalled(WEBSOCKETS_MODULE_NAME, "QtWebSockets", QtEngine);
- DisableUninstalled(WIDGETS_MODULE_NAME, "QtWidgets", QtEngine);
- DisableUninstalled(WINDOWSEXTRAS_MODULE_NAME, "QtWinExtras", QtEngine);
- DisableUninstalled(XML_MODULE_NAME, "QtXml", QtEngine);
- DisableUninstalled(XMLPATTERNS_MODULE_NAME, "QtXmlPatterns", QtEngine);
-
- // Disable this cause mandatory for this wizard
- CORE_MODULE_NAME.disabled = true;
- }
-
- function DisableUninstalled(element, lib_name, engine) {
- var not_installed = !engine.IsModuleInstalled(lib_name);
- element.disabled = not_installed;
- if (not_installed) {
- element.title = ""; // Not installed so don't show title
- element.parentNode.className = "addon_disabled"; ;
- }
- return not_installed;
- }
-
- // If the wizard has more than 1 page, this
- // function will browse to the page specified
- //
- function Next(document, linkto) {
- CORE_MODULE_NAME.disabled = false;
- window.external.Next(document, linkto);
- }
-
- // This is an example of a function which
- // gets called when the user clicks on 'Finish'
- //
- function OnFinish(document) {
- CORE_MODULE_NAME.disabled = false;
- OnWizFinish(document);
- }
-
-</script>
-<script language="JSCRIPT" id="INCLUDE_SCRIPT"></script>
-<script language="JSCRIPT" id="INCLUDE_COMMON"></script>
-<!--
-Common.js is a script file which contains the helper functions
-used by the wizards. Include this line if you want to
-call these functions from your html scripts.
-//-->
-<script>
- var strPath = window.external.FindSymbol("PRODUCT_INSTALLATION_DIR");
- strPath += "VCWizards/";
- strPath += window.external.GetHostLocale();
-
- // verify if the locale folder really exists
- var fso = new ActiveXObject("Scripting.FileSystemObject");
- var found = fso.FolderExists(strPath)
- if (found == false) {
- strPath = window.external.FindSymbol("PRODUCT_INSTALLATION_DIR");
- strPath += "VCWizards/";
- var folder = fso.GetFolder(strPath);
- for (subfolders = new Enumerator(folder.SubFolders); !subfolders.atEnd(); subfolders.moveNext()) {
- for (files = new Enumerator(subfolders.item().files); !files.atEnd(); files.moveNext()) {
- if (files.item().name.toLowerCase().localeCompare("common.js") == 0) {
- found = true;
- strPath += subfolders.item().name;
- break;
- }
- }
- if (found == true)
- break;
- }
- }
-
- var strScriptPath = strPath + "/Script.js";
- var strCommonPath = strPath + "/Common.js";
- document.scripts("INCLUDE_SCRIPT").src = strScriptPath;
- document.scripts("INCLUDE_COMMON").src = strCommonPath;
-</script>
diff --git a/Qt4VS2003/Projects/Qt5LibProject/HTML/1033/Page_3.htm b/Qt4VS2003/Projects/Qt5LibProject/HTML/1033/Page_3.htm
deleted file mode 100644
index f5847653..00000000
--- a/Qt4VS2003/Projects/Qt5LibProject/HTML/1033/Page_3.htm
+++ /dev/null
@@ -1,464 +0,0 @@
-<html dir="ltr">
-<head>
- <title>'Qt5LibProject'</title>
- <meta content="http://schemas.microsoft.com/intellisense/ie5" name="vs_targetSchema">
- <link id="LINKURL" rel="stylesheet" href="../../1033/styles.css">
-</head>
-<body onkeypress="OnPress();" onkeydown="OnKey();" bottommargin="0" bgcolor="buttonface"
- leftmargin="0" topmargin="0" onload="InitDocument(document);" rightmargin="0">
- <table class="ONE" height="100%" cellspacing="0" cellpadding="0" width="100%" border="0">
- <colgroup>
- <col width="178">
- <col>
- <!--OPEN OF INTRODUCTORY INFORMATION TABLE//-->
- <tr valign="top">
- <td width="100%" colspan="2" height="79">
- <table class="TWO" cellspacing="0" cellpadding="0" border="0">
- <colgroup>
- <col width="12">
- <col>
- <col width="12">
- <tr>
- <td valign="top" width="12" height="12">
- &nbsp;
- </td>
- <td valign="top" height="12">
- &nbsp;
- </td>
- <td valign="top" width="12" height="12">
- &nbsp;
- </td>
- <td class="IMAGE" valign="bottom" width="110" rowspan="2">
- <div class="SMALLA" id="Layer0">
- <img class="SMALLEST" height="63" alt="" src="..\..\Images\Qt5LibProject.jpg" width="63"
- border="0">
- </div>
- </td>
- <td valign="top" width="6" height="12" rowspan="2">
- &nbsp;
- </td>
- </tr>
- <tr>
- <td valign="top" width="12" height="65">
- &nbsp;
- </td>
- <td valign="top" height="65">
- <h4 class="HEAD" id="HEAD">
- Welcome to the Qt5&nbsp;Library project wizard</h4>
- <p class="SUBHEAD" id="SUBHEAD">
- This wizard generates a skeleton&nbsp;Qt5&nbsp;library project. The&nbsp;library
- is linked dynamicly with Qt.</p>
- </td>
- <td valign="top" width="12" height="65">
- &nbsp;
- </td>
- </tr>
- <tr>
- <td class="RULE" valign="top" colspan="5" height="2">
- <table height="1" cellspacing="0" cellpadding="0" width="100%" border="0">
- <tr valign="top">
- <td width="100%" bgcolor="buttonshadow" height="1">
- <img height="1" alt="" src="../../Images/spacer.gif" width="1">
- </td>
- <td width="1" bgcolor="window" height="1">
- <img height="1" alt="" src="../../Images/spacer.gif" width="1">
- </td>
- </tr>
- </table>
- </td>
- </tr>
- </table>
- </td>
- </tr>
- <!--CLOSE OF INTRODUCTORY INFORMATION TABLE//-->
- <!--OPEN OF NAVIGATION, CONTENT, AND BUTTON TABLES//-->
- <tr valign="top">
- <td class="THREE" valign="top" width="178" height="100%">
- <!--OPEN OF NAVIGATION TABLE//-->
- <table class="THREE" cellspacing="0" cellpadding="0" border="0">
- <colgroup>
- <col width="12">
- <col width="166">
- <col width="1">
- <tr>
- <td valign="top" colspan="3" height="12">
- &nbsp;
- </td>
- </tr>
- <tr>
- <td valign="top" width="12" height="100%">
- &nbsp;
- </td>
- <td valign="top" width="165" height="100%">
- <!--OPEN OF NAVIGATIONAL LINKS//-->
- <div class="LINK">
- <table class="LINKTEXT" height="28" cellspacing="0" cellpadding="0" width="166" border="0">
- <tr valign="middle">
- <td width="162">
- <span class="ACTIVELINK" id="Page_1" title="" onclick="Next(document, 'default.htm');"
- tabindex="1">Overview</span>
- </td>
- <td width="4">
- <img height="1" src="../../Images/spacer.gif" width="4">
- </td>
- </tr>
- </table>
- </div>
- <div class="LINK">
- <table class="LINKTEXT" height="28" cellspacing="0" cellpadding="0" width="166" border="0"
- id="Table1">
- <tr valign="middle">
- <td width="162">
- <span class="ACTIVELINK" id="Page_2" title="" onclick="Next(document, 'Page_2.htm');"
- tabindex="1">Project Settings</span>
- </td>
- <td width="4">
- <img height="1" src="../../Images/spacer.gif" width="4">
- </td>
- </tr>
- </table>
- </div>
- <div class="LINKSELECTED">
- <span class="VERTLINE1">
- <img height="1" alt="" src="../../Images/spacer.gif" width="1" border="0">
- </span><span class="HORILINE1">
- <table height="100%" cellspacing="0" cellpadding="0" width="167" border="0">
- <tr valign="top">
- <td class="DOTTEDLINE" height="1">
- </td>
- </tr>
- <tr valign="top">
- <td height="100%">
- <img height="28" alt="" src="../../Images/spacer.gif" width="1" border="0">
- </td>
- </tr>
- <tr valign="top">
- <td class="DOTTEDLINE" height="1">
- </td>
- </tr>
- </table>
- </span>
- <table class="LINKTEXTSELECTED" height="28" cellspacing="0" cellpadding="0" width="160"
- border="0">
- <tr valign="middle">
- <td width="162">
- <span id="Page_3" title="" onclick="Next(document, 'Page_2.htm');" tabindex="1">Generated
- Class</span>
- </td>
- <td width="4">
- <img height="1" src="../../Images/spacer.gif" width="4">
- </td>
- </tr>
- </table>
- </div>
- <!--CLOSE OF NAVIGATIONAL LINKS//-->
- </td>
- <td width="1">
- <div class="VERTLINE">
- <img height="1" alt="" src="../../Images/spacer.gif" width="1" border="0">
- </div>
- </td>
- </tr>
- </table>
- <!--CLOSE OF NAVIGATION TABLE//-->
- </td>
- <td valign="top" height="100%">
- <!--OPEN OF CONTENT AND BUTTON TABLE//-->
- <table class="ONE" cellspacing="0" cellpadding="0" border="0">
- <colgroup>
- <col width="100%">
- <tr valign="top">
- <td valign="top" height="100%">
- <!--OPEN OF CONTENT//-->
- <table class="CONTENT" cellspacing="0" cellpadding="0" border="0">
- <colgroup>
- <tr>
- <td width="12" height="12">
- </td>
- <td height="12">
- </td>
- <td height="12">
- </td>
- <td width="12" height="12">
- </td>
- </tr>
- <tr>
- <td valign="top" width="12">
- </td>
- <td valign="top">
- Class name:
- </td>
- <td valign="top">
- .h&nbsp;file:
- </td>
- <td valign="top" width="12">
- </td>
- </tr>
- <tr>
- <td valign="top" width="12">
- </td>
- <td valign="top">
- <input id="CLASSNAME_TEXT" type="text" name="className" onpropertychange="ClassNameChanged();">
- </td>
- <td valign="top">
- <input id="HFILE_TEXT" type="text" name="hFile">
- </td>
- <td valign="top" width="12">
- </td>
- </tr>
- <tr>
- <td valign="top" width="12">
- </td>
- <td valign="top">
- </td>
- <td valign="top">
- <p>
- .cpp&nbsp;file:</p>
- </td>
- <td valign="top" width="12">
- </td>
- </tr>
- <tr>
- <td valign="top" width="12">
- </td>
- <td valign="top">
- </td>
- <td valign="top">
- <input id="CPPFILE_TEXT" type="text" name="cppFile">
- </td>
- <td valign="top" width="12">
- </td>
- </tr>
- <tr>
- <td width="12" height="24">
- </td>
- <td height="12" colspan="2">
- <input id="PRECOMPILED_HEADERS" title="Use Precompiled Headers" type="checkbox" name="precompiledHeaders">&nbsp;Use
- Precompiled Headers
- </td>
- <td width="12" height="12">
- </td>
- </tr>
- <tr>
- <td width="12">
- </td>
- <td valign="top">
- <input id="STATICLIB_CHECK" title="Check the option below if you want to create a static library."
- type="checkbox" name="STATICLIB_CHECK_NAME">&nbsp;Create Static Library (.lib)
- </td>
- </tr>
- <tr>
- <td valign="top" height="100%" colspan="4">
- </td>
- </tr>
- <tr>
- <td valign="top" width="12" height="100%">
- </td>
- <td valign="top" height="100%">
- </td>
- <td valign="top" height="100%">
- </td>
- <td valign="top" width="12" height="100%">
- </td>
- </tr>
- </table>
- <!--CLOSE OF CONTENT//-->
- </td>
- </tr>
- <tr valign="bottom">
- <td height="48">
- <!--OPEN OF BUTTON HTML//-->
- <table height="48" cellspacing="0" cellpadding="0" border="0">
- <colgroup>
- <col width="12">
- <col>
- <col width="75">
- <col width="4">
- <col width="75">
- <col width="4">
- <col width="75">
- <col width="12">
- <tr>
- <td class="RULE" valign="top" colspan="8" height="2">
- <table height="1" cellspacing="0" cellpadding="0" width="100%" border="0">
- <tr valign="top">
- </tr>
- </table>
- </td>
- </tr>
- <tr>
- <td valign="top" colspan="8" height="11">
- &nbsp;
- </td>
- </tr>
- <tr>
- <td valign="middle" width="12" height="23">
- &nbsp;
- </td>
- <td valign="top" height="23">
- &nbsp;
- </td>
- <td valign="middle" width="75" height="23">
- <button class="BUTTONS" id="FinishBtn" accesskey="F" onclick="OnFinish(document);"
- type="button">
- <u>F</u>inish</button>
- </td>
- <td valign="middle" width="4" height="23">
- &nbsp;
- </td>
- <td valign="middle" width="75" height="23">
- <button class="BUTTONS" id="CancelBtn" accesskey="C" onclick="window.external.Finish(document, 'cancel');"
- type="button">
- <u>C</u>ancel</button>
- </td>
- <td valign="middle" width="4" height="23">
- &nbsp;
- </td>
- <td valign="middle" width="75" height="23">
- <button class="BUTTONS" id="HelpBtn" disabled accesskey="H" onclick="window.external.OnHelp('vc.appwiz.custom.overview');"
- type="button">
- <u>H</u>elp</button>
- </td>
- <td valign="middle" width="12" height="23">
- &nbsp;
- </td>
- </tr>
- <tr>
- <td valign="top" colspan="8" height="12">
- &nbsp;
- </td>
- </tr>
- </table>
- <!--CLOSE OF BUTTON HTML//-->
- </td>
- </tr>
- </table>
- <!--CLOSE OF NAVIGATION, CONTENT, AND BUTTON TABLES//-->
- </td>
- </tr>
- </table>
-</body>
-</html>
-<script language="JSCRIPT">
-
- var tab_array = new Array();
- tab_array[0] = Page_1;
- tab_array[1] = Page_2;
-
- // This is an example of a function which initializes the page
- //
- function InitDocument(document) {
- setDirection();
-
- if (window.external.FindSymbol('DOCUMENT_FIRST_LOAD')) {
- // This function sets the default symbols based
- // on the values specified in the SYMBOL tags above
- //
- window.external.SetDefaults(document);
- }
-
- // Load the document and initialize the controls
- // with the appropriate symbol values
- //
- window.external.Load(document);
- }
-
- function ClassNameChanged() {
- HFILE_TEXT.value = CLASSNAME_TEXT.value.toLowerCase() + ".h";
- CPPFILE_TEXT.value = CLASSNAME_TEXT.value.toLowerCase() + ".cpp";
- }
-
- function ValidateAndUpdate() {
- var Inputs = document.all.tags("INPUT");
-
- var regexp = /\s/g;
- var proName = window.external.FindSymbol('PROJECT_NAME').replace(regexp, "");
-
- var field = Inputs.item("className");
- if (!window.external.dte.VCLanguageManager.ValidateIdentifier(field.value) ||
- window.external.dte.VCLanguageManager.IsReservedName(field.value)) {
- window.external.ReportError("Not a valid class name!");
- field.value = proName;
- return false;
- }
- field = Inputs.item("hFile");
- if (!ValidateFileName(field.value)) {
- window.external.ReportError("Not a valid file name!");
- field.value = proName.toLowerCase() + ".h";
- return false;
- }
- field = Inputs.item("cppFile");
- if (!ValidateFileName(field.value)) {
- window.external.ReportError("Not a valid file name!");
- field.value = proName.toLowerCase() + ".cpp";
- return false;
- }
- return true;
- }
-
- function ValidateFileName(FileName) {
- if (!window.external.dte.VCLanguageManager.ValidateFileName(FileName))
- return false;
- if (FileName.search(/[\\\/\:\*\?\"\<\>\|]/g) != -1)
- return false;
- return true;
- }
-
- // If the wizard has more than 1 page, this
- // function will browse to the page specified
- //
- function Next(document, linkto) {
- if (!ValidateAndUpdate())
- return;
-
- window.external.Next(document, linkto);
- }
-
- // This is an example of a function which
- // gets called when the user clicks on 'Finish'
- //
- function OnFinish(document) {
- if (!ValidateAndUpdate())
- return;
-
- OnWizFinish(document);
- }
-
-</script>
-<script language="JSCRIPT" id="INCLUDE_SCRIPT"></script>
-<script language="JSCRIPT" id="INCLUDE_COMMON"></script>
-<!--
-Common.js is a script file which contains the helper functions
-used by the wizards. Include this line if you want to
-call these functions from your html scripts.
-//-->
-<script>
- var strPath = window.external.FindSymbol("PRODUCT_INSTALLATION_DIR");
- strPath += "VCWizards/";
- strPath += window.external.GetHostLocale();
-
- // verify if the locale folder really exists
- var fso = new ActiveXObject("Scripting.FileSystemObject");
- var found = fso.FolderExists(strPath)
- if (found == false) {
- strPath = window.external.FindSymbol("PRODUCT_INSTALLATION_DIR");
- strPath += "VCWizards/";
- var folder = fso.GetFolder(strPath);
- for (subfolders = new Enumerator(folder.SubFolders); !subfolders.atEnd(); subfolders.moveNext()) {
- for (files = new Enumerator(subfolders.item().files); !files.atEnd(); files.moveNext()) {
- if (files.item().name.toLowerCase().localeCompare("common.js") == 0) {
- found = true;
- strPath += subfolders.item().name;
- break;
- }
- }
- if (found == true)
- break;
- }
- }
-
- var strScriptPath = strPath + "/Script.js";
- var strCommonPath = strPath + "/Common.js";
- document.scripts("INCLUDE_SCRIPT").src = strScriptPath;
- document.scripts("INCLUDE_COMMON").src = strCommonPath;
-</script>
diff --git a/Qt4VS2003/Projects/Qt5LibProject/HTML/1033/default.htm b/Qt4VS2003/Projects/Qt5LibProject/HTML/1033/default.htm
deleted file mode 100644
index 25e0a001..00000000
--- a/Qt4VS2003/Projects/Qt5LibProject/HTML/1033/default.htm
+++ /dev/null
@@ -1,523 +0,0 @@
-<html dir="ltr">
-<head>
- <title>'Qt5LibProject'</title>
- <meta content="http://schemas.microsoft.com/intellisense/ie5" name="vs_targetSchema">
- <link id="LINKURL" rel="stylesheet" href="../../1033/styles.css">
- <!-- -->
- <!-- The SYMBOL tag is used to set the default values for the user-defined symbols.-->
- <!-- -->
- <symbol name="WIZARD_DIALOG_TITLE" type="text" value="Qt5 Library Project Wizard"></symbol>
- <symbol name="THREED_MODULE" type="checkbox" value="false"></symbol>
- <symbol name="AQCONTAINER_MODULE" type="checkbox" value="false"></symbol>
- <symbol name="AQSERVER_MODULE" type="checkbox" value="false"></symbol>
- <symbol name="BLUETOOTH_MODULE" type="checkbox" value="false"></symbol>
- <symbol name="CONCURRENT_MODULE" type="checkbox" value="false"></symbol>
- <symbol name="CORE_MODULE" type="checkbox" value="true"></symbol>
- <symbol name="ENGINIO_MODULE" type="checkbox" value="false"></symbol>
- <symbol name="DECLARATIVE_MODULE" type="checkbox" value="false"></symbol>
- <symbol name="GUI_MODULE" type="checkbox" value="false"></symbol>
- <symbol name="HELP_MODULE" type="checkbox" value="false"></symbol>
- <symbol name="LOCATION_MODULE" type="checkbox" value="false"></symbol>
- <symbol name="MULTIMEDIA_MODULE" type="checkbox" value="false"></symbol>
- <symbol name="MULTIMEDIAWIDGETS_MODULE" type="checkbox" value="false"></symbol>
- <symbol name="NETWORK_MODULE" type="checkbox" value="false"></symbol>
- <symbol name="NFC_MODULE" type="checkbox" value="false"></symbol>
- <symbol name="OPENGL_MODULE" type="checkbox" value="false"></symbol>
- <symbol name="POSITIONING_MODULE" type="checkbox" value="false"></symbol>
- <symbol name="PRINTSUPPORT_MODULE" type="checkbox" value="false"></symbol>
- <symbol name="QML_MODULE" type="checkbox" value="false"></symbol>
- <symbol name="QUICK_MODULE" type="checkbox" value="false"></symbol>
- <symbol name="QUICKWIDGETS_MODULE" type="checkbox" value="false"></symbol>
- <symbol name="SCRIPT_MODULE" type="checkbox" value="false"></symbol>
- <symbol name="SCRIPTTOOLS_MODULE" type="checkbox" value="false"></symbol>
- <symbol name="SENSORS_MODULE" type="checkbox" value="false"></symbol>
- <symbol name="SERIALPORT_MODULE" type="checkbox" value="false"></symbol>
- <symbol name="SQL_MODULE" type="checkbox" value="false"></symbol>
- <symbol name="SVG_MODULE" type="checkbox" value="false"></symbol>
- <symbol name="TEST_MODULE" type="checkbox" value="false"></symbol>
- <symbol name="UITOOLS_MODULE" type="checkbox" value="false"></symbol>
- <symbol name="WEBCHANNEL_MODULE" type="checkbox" value="false"></symbol>
- <symbol name="WEBKIT_MODULE" type="checkbox" value="false"></symbol>
- <symbol name="WEBKITWIDGETS_MODULE" type="checkbox" value="false"></symbol>
- <symbol name="WEBSOCKETS_MODULE" type="checkbox" value="false"></symbol>
- <symbol name="WIDGETS_MODULE" type="checkbox" value="false"></symbol>
- <symbol name="WINDOWSEXTRAS_MODULE" type="checkbox" value="false"></symbol>
- <symbol name="XML_MODULE" type="checkbox" value="false"></symbol>
- <symbol name="XMLPATTERNS_MODULE" type="checkbox" value="false"></symbol>
- <symbol name="CLASSNAME_TEXT" type="text" value=""></symbol>
- <symbol name="HFILE_TEXT" type="text" value=""></symbol>
- <symbol name="CPPFILE_TEXT" type="text" value=""></symbol>
- <symbol name="UIFILE_TEXT" type="text" value=""></symbol>
- <symbol name="APP_TYPE_SUMMARY" type="text" value="Qt5 Library Project"></symbol>
-</head>
-<body onkeypress="OnPress();" onkeydown="OnKey();" bottommargin="0" bgcolor="buttonface"
- leftmargin="0" topmargin="0" onload="InitDocument(document);" rightmargin="0">
- <table class="ONE" height="100%" cellspacing="0" cellpadding="0" width="100%" border="0">
- <colgroup>
- <col width="178">
- <col>
- <!--OPEN OF INTRODUCTORY INFORMATION TABLE//-->
- <tr valign="top">
- <td width="100%" colspan="2" height="79">
- <table class="TWO" cellspacing="0" cellpadding="0" border="0">
- <colgroup>
- <col width="12">
- <col>
- <col width="12">
- <tr>
- <td valign="top" width="12" height="12">
- &nbsp;
- </td>
- <td valign="top" height="12">
- &nbsp;
- </td>
- <td valign="top" width="12" height="12">
- &nbsp;
- </td>
- <td class="IMAGE" valign="bottom" width="110" rowspan="2">
- <div class="SMALLA" id="Layer0">
- <img class="SMALLEST" height="63" alt="" src="../../Images/Qt5LibProject.jpg" width="63"
- border="0">
- </div>
- </td>
- <td valign="top" width="6" height="12" rowspan="2">
- &nbsp;
- </td>
- </tr>
- <tr>
- <td valign="top" width="12" height="65">
- &nbsp;
- </td>
- <td valign="top" height="65">
- <h4 class="HEAD" id="HEAD">
- Welcome to the Qt5&nbsp;Library project wizard</h4>
- <p class="SUBHEAD" id="SUBHEAD">
- This wizard generates a skeleton&nbsp;Qt5&nbsp;library project. The&nbsp;library
- is linked dynamicly with Qt.</p>
- </td>
- <td valign="top" width="12" height="65">
- &nbsp;
- </td>
- </tr>
- <tr>
- <td class="RULE" valign="top" colspan="5" height="2">
- <table height="1" cellspacing="0" cellpadding="0" width="100%" border="0">
- <tr valign="top">
- <td width="100%" bgcolor="buttonshadow" height="1">
- <img height="1" alt="" src="../../Images/spacer.gif" width="1">
- </td>
- <td width="1" bgcolor="window" height="1">
- <img height="1" alt="" src="../../Images/spacer.gif" width="1">
- </td>
- </tr>
- </table>
- </td>
- </tr>
- </table>
- </td>
- </tr>
- <!--CLOSE OF INTRODUCTORY INFORMATION TABLE//-->
- <!--OPEN OF NAVIGATION, CONTENT, AND BUTTON TABLES//-->
- <tr valign="top">
- <td class="THREE" valign="top" width="178" height="100%">
- <!--OPEN OF NAVIGATION TABLE//-->
- <table class="THREE" cellspacing="0" cellpadding="0" border="0">
- <colgroup>
- <col width="12">
- <col width="166">
- <col width="1">
- <tr>
- <td valign="top" colspan="3" height="12">
- &nbsp;
- </td>
- </tr>
- <tr>
- <td valign="top" width="12" height="100%">
- &nbsp;
- </td>
- <td valign="top" width="165" height="100%">
- <!--OPEN OF NAVIGATIONAL LINKS//-->
- <div class="LINKSELECTED">
- <span class="VERTLINE1">
- <img height="1" alt="" src="../../Images/spacer.gif" width="1" border="0">
- </span><span class="HORILINE1">
- <table height="100%" cellspacing="0" cellpadding="0" width="167" border="0">
- <tr valign="top">
- <td class="DOTTEDLINE" height="1">
- </td>
- </tr>
- <tr valign="top">
- <td height="100%">
- <img height="28" alt="" src="../../Images/spacer.gif" width="1" border="0">
- </td>
- </tr>
- <tr valign="top">
- <td class="DOTTEDLINE" height="1">
- </td>
- </tr>
- </table>
- </span>
- <table class="LINKTEXTSELECTED" height="28" cellspacing="0" cellpadding="0" width="160"
- border="0">
- <tr valign="middle">
- <td width="156">
- <span id="Page_1" title="" onclick="Next(document, 'default.htm');" tabindex="1">Overview</span>
- </td>
- <td width="4">
- <img height="1" src="../../Images/spacer.gif" width="4">
- </td>
- </tr>
- </table>
- </div>
- <div class="LINK">
- <table class="LINKTEXT" height="28" cellspacing="0" cellpadding="0" width="166" border="0">
- <tr valign="middle">
- <td width="162">
- <span class="ACTIVELINK" id="Page_2" title="" onclick="Next(document, 'Page_2.htm');"
- tabindex="1">Project Settings</span>
- </td>
- <td width="4">
- <img height="1" src="../../Images/spacer.gif" width="4">
- </td>
- </tr>
- </table>
- </div>
- <div class="LINK">
- <table class="LINKTEXT" height="28" cellspacing="0" cellpadding="0" width="166" border="0"
- id="Table1">
- <tr valign="middle">
- <td width="162">
- <span class="ACTIVELINK" id="Page_3" title="" onclick="Next(document, 'Page_3.htm');"
- tabindex="1">Generated Class</span>
- </td>
- <td width="4">
- <img height="1" src="../../Images/spacer.gif" width="4">
- </td>
- </tr>
- </table>
- </div>
- <!--CLOSE OF NAVIGATIONAL LINKS//-->
- </td>
- <td width="1">
- <div class="VERTLINE">
- <img height="1" alt="" src="../../Images/spacer.gif" width="1" border="0">
- </div>
- </td>
- </tr>
- </table>
- <!--CLOSE OF NAVIGATION TABLE//-->
- </td>
- <td valign="top" height="100%">
- <!--OPEN OF CONTENT AND BUTTON TABLE//-->
- <table class="ONE" cellspacing="0" cellpadding="0" border="0">
- <colgroup>
- <col width="100%">
- <tr valign="top">
- <td height="100%">
- <!--OPEN OF CONTENT//-->
- <table class="CONTENT" cellspacing="0" cellpadding="0" border="0">
- <colgroup>
- <col width="12">
- <col width="185">
- <col width="12">
- <col width="185">
- <col width="12">
- <col width="185">
- <col width="12">
- <tr>
- <td valign="top" colspan="5" height="12">
- &nbsp;
- </td>
- </tr>
- <tr valign="top">
- <td valign="top" width="12">
- &nbsp;
- </td>
- <td valign="top" colspan="3">
- <p>
- <span class="ItemTextTop"></span><span class="ItemText" id="QTMODULES" title="">
- </span>
- </p>
- <p>
- <span class="ItemText" title=""></span><span class="ItemText" id="FinishText">Click
- <b>Finish</b> from any window to accept the current settings.</span>
- </p>
- </td>
- <td valign="top" width="12">
- &nbsp;
- </td>
- </tr>
- <tr>
- <td valign="top" colspan="7" height="100%">
- &nbsp;
- </td>
- </tr>
- </table>
- <!--CLOSE OF CONTENT//-->
- </td>
- </tr>
- <tr valign="bottom">
- <td height="48">
- <!--OPEN OF BUTTON HTML//-->
- <table height="48" cellspacing="0" cellpadding="0" border="0">
- <colgroup>
- <col width="12">
- <col>
- <col width="75">
- <col width="4">
- <col width="75">
- <col width="4">
- <col width="75">
- <col width="12">
- <tr>
- <td class="RULE" valign="top" colspan="8" height="2">
- <table height="1" cellspacing="0" cellpadding="0" width="100%" border="0">
- <tr valign="top">
- </tr>
- </table>
- </td>
- </tr>
- <tr>
- <td valign="top" colspan="8" height="11">
- &nbsp;
- </td>
- </tr>
- <tr>
- <td valign="middle" width="12" height="23">
- &nbsp;
- </td>
- <td valign="top" height="23">
- &nbsp;
- </td>
- <td valign="middle" width="75" height="23">
- <button class="BUTTONS" id="FinishBtn" accesskey="F" onclick="OnFinish(document);"
- type="button">
- <u>F</u>inish</button>
- </td>
- <td valign="middle" width="4" height="23">
- &nbsp;
- </td>
- <td valign="middle" width="75" height="23">
- <button class="BUTTONS" id="CancelBtn" accesskey="C" onclick="window.external.Finish(document, 'cancel');"
- type="button">
- <u>C</u>ancel</button>
- </td>
- <td valign="middle" width="4" height="23">
- &nbsp;
- </td>
- <td valign="middle" width="75" height="23">
- <button class="BUTTONS" id="HelpBtn" disabled accesskey="H" onclick="window.external.OnHelp('vc.appwiz.custom.overview');"
- type="button">
- <u>H</u>elp</button>
- </td>
- <td valign="middle" width="12" height="23">
- &nbsp;
- </td>
- </tr>
- <tr>
- <td valign="top" colspan="8" height="12">
- &nbsp;
- </td>
- </tr>
- </table>
- <!--CLOSE OF BUTTON HTML//-->
- </td>
- </tr>
- </table>
- <!--CLOSE OF NAVIGATION, CONTENT, AND BUTTON TABLES//-->
- </td>
- </tr>
- </table>
-</body>
-</html>
-<script language="JSCRIPT">
-
- var tab_array = new Array();
- tab_array[0] = Page_1;
- tab_array[1] = Page_2;
-
- // This is an example of a function which initializes the page
- //
- function InitDocument(document) {
- setDirection();
-
- if (window.external.FindSymbol('DOCUMENT_FIRST_LOAD')) {
- // This function sets the default symbols based
- // on the values specified in the SYMBOL tags above
- //
- window.external.SetDefaults(document);
- UpdateFields();
- }
-
- // Load the document and initialize the controls
- // with the appropriate symbol values
- //
- window.external.Load(document);
- InitControls();
- }
-
- function UpdateFields() {
- var regexp = /\s/g;
- var proName = window.external.FindSymbol('PROJECT_NAME').replace(regexp, "");
-
- if (!window.external.dte.VCLanguageManager.ValidateIdentifier(proName) ||
- window.external.dte.VCLanguageManager.IsReservedName(proName)) {
- window.external.AddSymbol("CLASSNAME_TEXT", "MyClass"); // fall back on myclass
- window.external.AddSymbol("HFILE_TEXT", "myclass.h");
- window.external.AddSymbol("CPPFILE_TEXT", "myclass.cpp");
- } else {
- window.external.AddSymbol("CLASSNAME_TEXT", proName);
- window.external.AddSymbol("HFILE_TEXT", proName.toLowerCase() + ".h");
- window.external.AddSymbol("CPPFILE_TEXT", proName.toLowerCase() + ".cpp");
- }
- }
-
- function InitControls() {
- var strModules = "These are currently selected Qt modules:\r\n - ";
-
- // Essentials
- if (window.external.FindSymbol('THREED_MODULE'))
- strModules += "3D, ";
- if (window.external.FindSymbol('CORE_MODULE'))
- strModules += "Core, ";
- if (window.external.FindSymbol('GUI_MODULE'))
- strModules += "GUI, ";
- if (window.external.FindSymbol('LOCATION_MODULE'))
- strModules += "Location, ";
- if (window.external.FindSymbol('MULTIMEDIA_MODULE'))
- strModules += "Multimedia, ";
- if (window.external.FindSymbol('MULTIMEDIAWIDGETS_MODULE'))
- strModules += "Multimedia Widgets, ";
- if (window.external.FindSymbol('NETWORK_MODULE'))
- strModules += "Network, ";
- if (window.external.FindSymbol('QML_MODULE'))
- strModules += "Qml, ";
- if (window.external.FindSymbol('QUICK_MODULE'))
- strModules += "Quick, ";
- if (window.external.FindSymbol('SQL_MODULE'))
- strModules += "SQL, ";
- if (window.external.FindSymbol('TEST_MODULE'))
- strModules += "Test, ";
- if (window.external.FindSymbol('WEBKIT_MODULE'))
- strModules += "WebKit, ";
-
- // Add-ons
- // Active Qt better split to server and container
- if (window.external.FindSymbol('AQSERVER_MODULE'))
- strModules += "ActiveQt Server, ";
- if (window.external.FindSymbol('AQCONTAINER_MODULE'))
- strModules += "ActiveQt Container, ";
-
- if (window.external.FindSymbol('BLUETOOTH_MODULE'))
- strModules += "Bluetooth, ";
- if (window.external.FindSymbol('CONCURRENT_MODULE'))
- strModules += "Concurrent, ";
- if (window.external.FindSymbol('DECLARATIVE_MODULE'))
- strModules += "Declarative, ";
- if (window.external.FindSymbol('ENGINIO_MODULE'))
- strModules += "Enginio, ";
- if (window.external.FindSymbol('HELP_MODULE'))
- strModules += "Help, ";
- if (window.external.FindSymbol('NFC_MODULE'))
- strModules += "NFC, ";
- if (window.external.FindSymbol('OPENGL_MODULE'))
- strModules += "OpenGL, ";
- if (window.external.FindSymbol('POSITIONING_MODULE'))
- strModules += "Positioning, ";
- if (window.external.FindSymbol('PRINTSUPPORT_MODULE'))
- strModules += "Print Support, ";
- if (window.external.FindSymbol('QUICKWIDGETS_MODULE'))
- strModules += "Quick Widgets, ";
- if (window.external.FindSymbol('SCRIPT_MODULE'))
- strModules += "Script, ";
- if (window.external.FindSymbol('SCRIPTTOOLS_MODULE'))
- strModules += "Script Tools, ";
- if (window.external.FindSymbol('SENSORS_MODULE'))
- strModules += "Sensors, ";
- if (window.external.FindSymbol('SERIALPORT_MODULE'))
- strModules += "Serial Port, ";
- if (window.external.FindSymbol('SVG_MODULE'))
- strModules += "SVG, ";
- if (window.external.FindSymbol('UITOOLS_MODULE'))
- strModules += "UI Tools, ";
- if (window.external.FindSymbol('WEBCHANNEL_MODULE'))
- strModules += "Web Channel, ";
- if (window.external.FindSymbol('WEBKITWIDGETS_MODULE'))
- strModules += "Webkit Widgets, ";
- if (window.external.FindSymbol('WEBSOCKETS_MODULE'))
- strModules += "Web Sockets, ";
- if (window.external.FindSymbol('WIDGETS_MODULE'))
- strModules += "Widgets, ";
- if (window.external.FindSymbol('WINDOWSEXTRAS_MODULE'))
- strModules += "Windows Extras, ";
- if (window.external.FindSymbol('XML_MODULE'))
- strModules += "XML, ";
- if (window.external.FindSymbol('XMLPATTERNS_MODULE'))
- strModules += "XML Patterns, ";
-
- if (strModules.length < 1)
- strModules = "None selected";
- else
- strModules = strModules.slice(0, strModules.length - 2);
-
- strModules += "\r\n\r\nConfiguration:\r\n - "
- if (window.external.FindSymbol('STATICLIB_CHECK'))
- strModules += "Static Library";
- else
- strModules += "Dynamic Library";
-
- QTMODULES.innerText = strModules;
- }
-
- // If the wizard has more than 1 page, this
- // function will browse to the page specified
- //
- function Next(document, linkto) {
- window.external.Next(document, linkto);
- }
-
- // This is an example of a function which
- // gets called when the user clicks on 'Finish'
- //
- function OnFinish(document) {
- OnWizFinish(document);
- }
-
-</script>
-<script language="JSCRIPT" id="INCLUDE_SCRIPT"></script>
-<script language="JSCRIPT" id="INCLUDE_COMMON"></script>
-<!--
-Common.js is a script file which contains the helper functions
-used by the wizards. Include this line if you want to
-call these functions from your html scripts.
-//-->
-<script>
- var strPath = window.external.FindSymbol("PRODUCT_INSTALLATION_DIR");
- strPath += "VCWizards/";
- strPath += window.external.GetHostLocale();
-
- // verify if the locale folder really exists
- var fso = new ActiveXObject("Scripting.FileSystemObject");
- var found = fso.FolderExists(strPath)
- if (found == false) {
- strPath = window.external.FindSymbol("PRODUCT_INSTALLATION_DIR");
- strPath += "VCWizards/";
- var folder = fso.GetFolder(strPath);
- for (subfolders = new Enumerator(folder.SubFolders); !subfolders.atEnd(); subfolders.moveNext()) {
- for (files = new Enumerator(subfolders.item().files); !files.atEnd(); files.moveNext()) {
- if (files.item().name.toLowerCase().localeCompare("common.js") == 0) {
- found = true;
- strPath += subfolders.item().name;
- break;
- }
- }
- if (found == true)
- break;
- }
- }
-
- var strScriptPath = strPath + "/Script.js";
- var strCommonPath = strPath + "/Common.js";
- document.scripts("INCLUDE_SCRIPT").src = strScriptPath;
- document.scripts("INCLUDE_COMMON").src = strCommonPath;
-</script>
diff --git a/Qt4VS2003/Projects/Qt5LibProject/Images/Qt5LibProject.jpg b/Qt4VS2003/Projects/Qt5LibProject/Images/Qt5LibProject.jpg
deleted file mode 100644
index c95946d3..00000000
--- a/Qt4VS2003/Projects/Qt5LibProject/Images/Qt5LibProject.jpg
+++ /dev/null
Binary files differ
diff --git a/Qt4VS2003/Projects/Qt5LibProject/Qt5LibProject.ico b/Qt4VS2003/Projects/Qt5LibProject/Qt5LibProject.ico
deleted file mode 100644
index 6d826384..00000000
--- a/Qt4VS2003/Projects/Qt5LibProject/Qt5LibProject.ico
+++ /dev/null
Binary files differ
diff --git a/Qt4VS2003/Projects/Qt5LibProject/Qt5LibProject.vcproj b/Qt4VS2003/Projects/Qt5LibProject/Qt5LibProject.vcproj
deleted file mode 100644
index bb579343..00000000
--- a/Qt4VS2003/Projects/Qt5LibProject/Qt5LibProject.vcproj
+++ /dev/null
@@ -1,169 +0,0 @@
-<?xml version="1.0" encoding="Windows-1252"?>
-<VisualStudioProject
- ProjectType="Visual C++"
- Version="7.10"
- Name="Qt5LibProject"
- ProjectGUID="{AB6B3B4B-75BD-4E32-B795-56E1FEBA40E2}"
- Keyword="CustomAppWizProj">
- <Platforms>
- <Platform
- Name="Win32"/>
- </Platforms>
- <Configurations>
- <Configuration
- Name="Debug|Win32"
- OutputDirectory="$(SolutionDir)$(ConfigurationName)"
- IntermediateDirectory="$(ConfigurationName)"
- ConfigurationType="1">
- <Tool
- Name="VCCLCompilerTool"/>
- <Tool
- Name="VCCustomBuildTool"/>
- <Tool
- Name="VCLinkerTool"/>
- <Tool
- Name="VCMIDLTool"/>
- <Tool
- Name="VCPostBuildEventTool"/>
- <Tool
- Name="VCPreBuildEventTool"/>
- <Tool
- Name="VCPreLinkEventTool"/>
- <Tool
- Name="VCResourceCompilerTool"/>
- <Tool
- Name="VCWebServiceProxyGeneratorTool"/>
- <Tool
- Name="VCXMLDataGeneratorTool"/>
- <Tool
- Name="VCWebDeploymentTool"/>
- <Tool
- Name="VCManagedWrapperGeneratorTool"/>
- <Tool
- Name="VCAuxiliaryManagedWrapperGeneratorTool"/>
- </Configuration>
- <Configuration
- Name="Release|Win32"
- IntermediateDirectory="$(ConfigurationName)"
- ConfigurationType="1">
- <Tool
- Name="VCCLCompilerTool"/>
- <Tool
- Name="VCCustomBuildTool"/>
- <Tool
- Name="VCLinkerTool"/>
- <Tool
- Name="VCMIDLTool"/>
- <Tool
- Name="VCPostBuildEventTool"/>
- <Tool
- Name="VCPreBuildEventTool"/>
- <Tool
- Name="VCPreLinkEventTool"/>
- <Tool
- Name="VCResourceCompilerTool"/>
- <Tool
- Name="VCWebServiceProxyGeneratorTool"/>
- <Tool
- Name="VCXMLDataGeneratorTool"/>
- <Tool
- Name="VCWebDeploymentTool"/>
- <Tool
- Name="VCManagedWrapperGeneratorTool"/>
- <Tool
- Name="VCAuxiliaryManagedWrapperGeneratorTool"/>
- </Configuration>
- </Configurations>
- <References>
- </References>
- <Files>
- <Filter
- Name="Template Files"
- Filter="txt">
- <File
- RelativePath=".\Templates\1033\defines.h">
- <FileConfiguration
- Name="Debug|Win32"
- ExcludedFromBuild="TRUE">
- <Tool
- Name="VCCustomBuildTool"/>
- </FileConfiguration>
- </File>
- <File
- RelativePath=".\Templates\1033\header.h">
- <FileConfiguration
- Name="Debug|Win32"
- ExcludedFromBuild="TRUE">
- <Tool
- Name="VCCustomBuildTool"/>
- </FileConfiguration>
- </File>
- <File
- RelativePath=".\Templates\1033\source.cpp">
- <FileConfiguration
- Name="Debug|Win32"
- ExcludedFromBuild="TRUE">
- <Tool
- Name="VCCLCompilerTool"/>
- </FileConfiguration>
- </File>
- </Filter>
- <Filter
- Name="HTML Files"
- Filter="htm">
- <File
- RelativePath=".\Html\1033\default.htm"
- DeploymentContent="TRUE">
- </File>
- <File
- RelativePath=".\Html\1033\Page_2.htm"
- DeploymentContent="TRUE">
- </File>
- <File
- RelativePath=".\Html\1033\Page_3.htm"
- DeploymentContent="TRUE">
- <FileConfiguration
- Name="Debug|Win32"
- ExcludedFromBuild="TRUE">
- <Tool
- Name="VCCustomBuildTool"/>
- </FileConfiguration>
- </File>
- </Filter>
- <Filter
- Name="Image Files"
- Filter="bmp">
- <File
- RelativePath=".\Images\Qt5LibProject.gif">
- </File>
- <File
- RelativePath=".\Images\Qt5LibProject_Background.gif">
- </File>
- </Filter>
- <Filter
- Name="Script Files"
- Filter="js">
- <File
- RelativePath=".\Scripts\1033\default.js">
- </File>
- </Filter>
- <Filter
- Name="Miscellaneous Files"
- Filter="vsz;vsdir;ico;vcproj;csproj;css;inf">
- <File
- RelativePath=".\Qt5LibProject.ico">
- </File>
- <File
- RelativePath=".\Qt5LibProject.vsdir">
- </File>
- <File
- RelativePath=".\Qt5LibProject.vsz">
- </File>
- <File
- RelativePath=".\1033\styles.css">
- </File>
- </Filter>
- </Files>
- <Globals>
- </Globals>
-</VisualStudioProject>
diff --git a/Qt4VS2003/Projects/Qt5LibProject/Qt5LibProject.vsdir b/Qt4VS2003/Projects/Qt5LibProject/Qt5LibProject.vsdir
deleted file mode 100644
index 6c04986c..00000000
--- a/Qt4VS2003/Projects/Qt5LibProject/Qt5LibProject.vsdir
+++ /dev/null
@@ -1 +0,0 @@
-Qt5LibProject.vsz| |Qt Library|3|A basic Qt library.| | |4096|Project
diff --git a/Qt4VS2003/Projects/Qt5LibProject/Qt5LibProject.vsz b/Qt4VS2003/Projects/Qt5LibProject/Qt5LibProject.vsz
deleted file mode 100644
index 81e1ae30..00000000
--- a/Qt4VS2003/Projects/Qt5LibProject/Qt5LibProject.vsz
+++ /dev/null
@@ -1,6 +0,0 @@
-VSWIZARD 7.0
-Wizard=VsWizard.VsWizardEngine.9.0
-
-Param="WIZARD_NAME = Qt5GuiProject"
-Param="ABSOLUTE_PATH = C:\Program Files (x86)\Digia\Qt4VSAddin\wizards\Qt5LibProject"
-Param="FALLBACK_LCID = 1033" \ No newline at end of file
diff --git a/Qt4VS2003/Projects/Qt5LibProject/Scripts/1033/default.js b/Qt4VS2003/Projects/Qt5LibProject/Scripts/1033/default.js
deleted file mode 100644
index 6e219217..00000000
--- a/Qt4VS2003/Projects/Qt5LibProject/Scripts/1033/default.js
+++ /dev/null
@@ -1,183 +0,0 @@
-var QtEngine;
-
-function GetNameFromFile(strFile) {
- var nPos = strFile.lastIndexOf(".");
- return strFile.substr(0, nPos);
-}
-
-function OnFinish(selProj, selObj) {
- try {
- // load right project engine
- var dte = wizard.dte;
- var version = dte.version;
- if (version == "8.0")
- QtEngine = new ActiveXObject("Digia.Qt5ProjectEngine80");
- else if (version == "9.0")
- QtEngine = new ActiveXObject("Digia.Qt5ProjectEngine90");
- else if (version == "10.0")
- QtEngine = new ActiveXObject("Digia.Qt5ProjectEngine100");
- else if (version == "11.0")
- QtEngine = new ActiveXObject("Digia.Qt5ProjectEngine110");
- else if (version == "12.0")
- QtEngine = new ActiveXObject("Digia.Qt5ProjectEngine120");
-
- var strProjectPath = wizard.FindSymbol('PROJECT_PATH');
- var strProjectName = wizard.FindSymbol('PROJECT_NAME');
- var strSolutionName = wizard.FindSymbol('VS_SOLUTION_NAME');
- var strTemplatePath = wizard.FindSymbol('TEMPLATES_PATH') + "\\";
- var bExclusive = wizard.FindSymbol("CLOSE_SOLUTION");
- var bStaticLib = wizard.FindSymbol("STATICLIB_CHECK");
-
- var fileTmp;
- var strClass = wizard.FindSymbol('CLASSNAME_TEXT');
- var strHeader = wizard.FindSymbol('HFILE_TEXT');
- var strSource = wizard.FindSymbol('CPPFILE_TEXT');
- var bPrecompiled = wizard.FindSymbol('PRECOMPILED_HEADERS');
-
- var regexp = /\W/g;
- var strDef = strHeader.toUpperCase().replace(regexp, "_");
- regexp = /\s/g;
- var strProName = strProjectName.toUpperCase().replace(regexp, "");
-
- var strDefine = strProName + "_LIB";
- var strExport = strProName + "_EXPORT";
- var strDefFile = strProName.toLowerCase() + "_global.h";
- var strDefGuard = strProName + "_GLOBAL_H";
-
- QtEngine.CreateLibraryProject(wizard.dte, strProjectName,
- strProjectPath, strSolutionName, bExclusive, bStaticLib, bPrecompiled);
-
- // add the selected modules to the project
- AddModules();
-
- var strHeaderInclude = strHeader;
- if (bPrecompiled) {
- strHeaderInclude = "stdafx.h\"\n#include \"" + strHeader;
- fileTmp = QtEngine.CopyFileToProjectFolder(strTemplatePath + "stdafx.cpp", "stdafx.cpp");
- QtEngine.AddFileToProject(fileTmp, "QT_SOURCE_FILTER");
- fileTmp = QtEngine.CopyFileToProjectFolder(strTemplatePath + "stdafx.h", "stdafx.h");
- QtEngine.AddFileToProject(fileTmp, "QT_HEADER_FILTER");
- }
-
- // add a define
- QtEngine.AddDefine(strDefine, "BOTH");
-
- // source.cpp
- fileTmp = QtEngine.CopyFileToProjectFolder(strTemplatePath + "source.cpp", strSource);
- QtEngine.ReplaceTokenInFile(fileTmp, "%INCLUDE%", strHeaderInclude);
- QtEngine.ReplaceTokenInFile(fileTmp, "%CLASSNAME%", strClass);
- QtEngine.AddFileToProject(fileTmp, "QT_SOURCE_FILTER");
-
- // header.h
- fileTmp = QtEngine.CopyFileToProjectFolder(strTemplatePath + "header.h", strHeader);
- QtEngine.ReplaceTokenInFile(fileTmp, "%PRE_DEF%", strDef);
- QtEngine.ReplaceTokenInFile(fileTmp, "%CLASSNAME%", strClass);
- if (bStaticLib) {
- QtEngine.ReplaceTokenInFile(fileTmp, "%PRO_LIB_EXPORT% ", "");
- QtEngine.ReplaceTokenInFile(fileTmp, "\n#include \"%DEF_HEADER%\"", "");
- }
- else {
- QtEngine.ReplaceTokenInFile(fileTmp, "%PRO_LIB_EXPORT%", strExport);
- QtEngine.ReplaceTokenInFile(fileTmp, "%DEF_HEADER%", strDefFile);
- }
- QtEngine.AddFileToProject(fileTmp, "QT_HEADER_FILTER");
-
- // defines.h
- if (!bStaticLib) {
- fileTmp = QtEngine.CopyFileToProjectFolder(strTemplatePath + "defines.h", strDefFile);
-
- QtEngine.ReplaceTokenInFile(fileTmp, "%PRE_DEF%", strDefGuard);
- QtEngine.ReplaceTokenInFile(fileTmp, "%PRO_LIB_DEFINE%", strDefine);
- QtEngine.ReplaceTokenInFile(fileTmp, "%PRO_LIB_EXPORT%", strExport);
- QtEngine.AddFileToProject(fileTmp, "QT_HEADER_FILTER");
- }
-
- QtEngine.Finish();
- }
- catch (e) {
- if (e.description.length != 0)
- SetErrorInfo(e);
- return e.number
- }
-}
-
-function AddModules() {
- // Essential modules
- if (wizard.FindSymbol('THREED_MODULE'))
- QtEngine.AddModule("Qt3D");
- if (wizard.FindSymbol('CORE_MODULE'))
- QtEngine.AddModule("QtCore");
- if (wizard.FindSymbol('GUI_MODULE'))
- QtEngine.AddModule("QtGui");
- if (wizard.FindSymbol('LOCATION_MODULE'))
- QtEngine.AddModule("QtLocation");
- if (wizard.FindSymbol('MULTIMEDIA_MODULE'))
- QtEngine.AddModule("QtMultimedia");
- if (wizard.FindSymbol('MULTIMEDIAWIDGETS_MODULE'))
- QtEngine.AddModule("QtMultimediaWidgets");
- if (wizard.FindSymbol('NETWORK_MODULE'))
- QtEngine.AddModule("QtNetwork");
- if (wizard.FindSymbol('QML_MODULE'))
- QtEngine.AddModule("QtQml");
- if (wizard.FindSymbol('QUICK_MODULE'))
- QtEngine.AddModule("QtQuick");
- if (wizard.FindSymbol('SQL_MODULE'))
- QtEngine.AddModule("QtSql");
- if (wizard.FindSymbol('TEST_MODULE'))
- QtEngine.AddModule("QtTest");
- if (wizard.FindSymbol('WEBKIT_MODULE'))
- QtEngine.AddModule("QtWebKit"); // ??
-
- // Add-on modules
- // Active Qt better split to server and container
- if (wizard.FindSymbol('AQCONTAINER_MODULE'))
- QtEngine.AddModule("QtAxContainer");
- if (wizard.FindSymbol('AQSERVER_MODULE'))
- QtEngine.AddModule("QtAxServer");
- if (wizard.FindSymbol('BLUETOOTH_MODULE'))
- QtEngine.AddModule("QtBluetooth");
- if (wizard.FindSymbol('CONCURRENT_MODULE'))
- QtEngine.AddModule("QtConcurrent");
- if (wizard.FindSymbol('DECLARATIVE_MODULE'))
- QtEngine.AddModule("QtDeclarative");
- if (wizard.FindSymbol('ENGINIO_MODULE'))
- QtEngine.AddModule("Enginio");
- if (wizard.FindSymbol('HELP_MODULE'))
- QtEngine.AddModule("QtHelp");
- if (wizard.FindSymbol('NFC_MODULE'))
- QtEngine.AddModule("QtNfc");
- if (wizard.FindSymbol('OPENGL_MODULE'))
- QtEngine.AddModule("QtOpenGL");
- if (wizard.FindSymbol('POSITIONING_MODULE'))
- QtEngine.AddModule("QtPositioning");
- if (wizard.FindSymbol('PRINTSUPPORT_MODULE'))
- QtEngine.AddModule("QtPrintSupport");
- if (wizard.FindSymbol('QUICKWIDGETS_MODULE'))
- QtEngine.AddModule("QtQuickWidgets");
- if (wizard.FindSymbol('SCRIPT_MODULE'))
- QtEngine.AddModule("QtScript");
- if (wizard.FindSymbol('SCRIPTTOOLS_MODULE'))
- QtEngine.AddModule("QtScriptTools");
- if (wizard.FindSymbol('SENSORS_MODULE'))
- QtEngine.AddModule("QtSensors");
- if (wizard.FindSymbol('SERIALPORT_MODULE'))
- QtEngine.AddModule("QtSerialPort");
- if (wizard.FindSymbol('SVG_MODULE'))
- QtEngine.AddModule("QtSvg");
- if (wizard.FindSymbol('UITOOLS_MODULE'))
- QtEngine.AddModule("QtUiTools");
- if (wizard.FindSymbol('WEBCHANNEL_MODULE'))
- QtEngine.AddModule("QtWebChannel");
- if (wizard.FindSymbol('WEBKITWIDGETS_MODULE'))
- QtEngine.AddModule("QtWebkitWidgets"); // ??
- if (wizard.FindSymbol('WEBSOCKETS_MODULE'))
- QtEngine.AddModule("QtWebSockets");
- if (wizard.FindSymbol('WIDGETS_MODULE'))
- QtEngine.AddModule("QtWidgets");
- if (wizard.FindSymbol('WINDOWSEXTRAS_MODULE'))
- QtEngine.AddModule("QtWinExtras");
- if (wizard.FindSymbol('XML_MODULE'))
- QtEngine.AddModule("QtXml");
- if (wizard.FindSymbol('XMLPATTERNS_MODULE'))
- QtEngine.AddModule("QtXmlPatterns");
-}
diff --git a/Qt4VS2003/Projects/Qt5LibProject/Templates/1033/defines.h b/Qt4VS2003/Projects/Qt5LibProject/Templates/1033/defines.h
deleted file mode 100644
index f3ed4da8..00000000
--- a/Qt4VS2003/Projects/Qt5LibProject/Templates/1033/defines.h
+++ /dev/null
@@ -1,12 +0,0 @@
-#ifndef %PRE_DEF%
-#define %PRE_DEF%
-
-#include <QtCore/qglobal.h>
-
-#ifdef %PRO_LIB_DEFINE%
-# define %PRO_LIB_EXPORT% Q_DECL_EXPORT
-#else
-# define %PRO_LIB_EXPORT% Q_DECL_IMPORT
-#endif
-
-#endif // %PRE_DEF%
diff --git a/Qt4VS2003/Projects/Qt5LibProject/Templates/1033/header.h b/Qt4VS2003/Projects/Qt5LibProject/Templates/1033/header.h
deleted file mode 100644
index e4507132..00000000
--- a/Qt4VS2003/Projects/Qt5LibProject/Templates/1033/header.h
+++ /dev/null
@@ -1,16 +0,0 @@
-#ifndef %PRE_DEF%
-#define %PRE_DEF%
-
-#include "%DEF_HEADER%"
-
-class %PRO_LIB_EXPORT% %CLASSNAME%
-{
-public:
- %CLASSNAME%();
- ~%CLASSNAME%();
-
-private:
-
-};
-
-#endif // %PRE_DEF%
diff --git a/Qt4VS2003/Projects/Qt5LibProject/Templates/1033/source.cpp b/Qt4VS2003/Projects/Qt5LibProject/Templates/1033/source.cpp
deleted file mode 100644
index 6d0e2a23..00000000
--- a/Qt4VS2003/Projects/Qt5LibProject/Templates/1033/source.cpp
+++ /dev/null
@@ -1,11 +0,0 @@
-#include "%INCLUDE%"
-
-%CLASSNAME%::%CLASSNAME%()
-{
-
-}
-
-%CLASSNAME%::~%CLASSNAME%()
-{
-
-}
diff --git a/Qt4VS2003/Projects/Qt5LibProject/Templates/1033/stdafx.cpp b/Qt4VS2003/Projects/Qt5LibProject/Templates/1033/stdafx.cpp
deleted file mode 100644
index 1577c4e3..00000000
--- a/Qt4VS2003/Projects/Qt5LibProject/Templates/1033/stdafx.cpp
+++ /dev/null
@@ -1 +0,0 @@
-#include "stdafx.h" \ No newline at end of file
diff --git a/Qt4VS2003/Projects/Qt5LibProject/Templates/1033/stdafx.h b/Qt4VS2003/Projects/Qt5LibProject/Templates/1033/stdafx.h
deleted file mode 100644
index e69de29b..00000000
--- a/Qt4VS2003/Projects/Qt5LibProject/Templates/1033/stdafx.h
+++ /dev/null
diff --git a/Qt4VS2003/Projects/Qt5WinCELibProject/1033/styles.css b/Qt4VS2003/Projects/Qt5WinCELibProject/1033/styles.css
deleted file mode 100644
index 730bade4..00000000
--- a/Qt4VS2003/Projects/Qt5WinCELibProject/1033/styles.css
+++ /dev/null
@@ -1,574 +0,0 @@
-/******************************************************************************/
-/*DEFAULT STYLES FOR ALL SECTIONS**********************************************/
-/******************************************************************************/
-body { font-family: Tahoma, Verdana, Arial, Sans Serif;
- font-weight: normal;
- font-size: 8pt;
- color: buttontext;
- background-color: buttonface;
- margin-top: 0px;
- margin-left: 0px;
- margin-right: 0px;
- margin-bottom: 0px;
- overflow: visible; }
-
-a:link { color: captiontext;
- text-decoration: none; }
-
-a:visited { color: captiontext;
- text-decoration: none; }
-
-a:active { color: captiontext;
- text-decoration: none; }
-
-a:hover { color: captiontext;
- text-decoration: underline; }
-
-table { font-family: Tahoma, Verdana, Arial, Sans Serif;
- font-weight: normal;
- font-size: 8pt;
- color: buttontext;
- width: 100%; }
-
-td.addon_disabled { color: #808080; }
-
-table.one { table-layout: fixed;
- height: 100%;
- width: 100%; }
-
-
-/*DEFAULT STYLES FOR THE 'INTRODUCTION' TABLE**********************************/
-/******************************************************************************/
-
-table.two { table-layout: fixed;
- height: 79px;
- width: 100%;
- background-color: window; }
-
-td.image { text-align: right; }
-
-td.rule { background-color: window; }
-
-h1.head { font-weight: bold;
- font-size: 10pt;
- color: windowtext;
- margin-top: -3px; }
-
-p.subhead { color: windowtext;
- margin-top: -12px;
- margin-left: 10px; }
-
-img.smallest { background-color: #a6ce39;
- z-index: 1; }
-
-img.small { z-index: 1; }
-
-/*DEFAULT STYLES FOR THE 'NAVIGATION' TABLE************************************/
-/******************************************************************************/
-
-table.three { table-layout: fixed;
- height: 100%;
- width: 178px; }
-
-td.three { background-attachment: fixed;
- background-repeat: no-repeat;
- background-position: bottom left;
- background-color: #66b036; }
-
-td.dottedline { background: url(Images/DottedHori.gif) repeat; }
-
-table.linktextselected { font-weight: bold;
- width: 157px;
- height: 30px;
- position: relative;
- left: 10px;
- z-index: 2; }
-
-table.linktextselectedindent { font-weight: bold;
- width: 148px;
- height: 30px;
- position: relative;
- left: 18px;
- z-index: 2; }
-
-table.linktext { width: 157px;
- height: 30px;
- position: relative;
- left: 10px;
- z-index: 2; }
-
-table.linktextindent { width: 148px;
- height: 30px;
- position: relative;
- left: 18px;
- z-index: 2; }
-
-div.linkselected { background-color: buttonface;
- height: 30px;
- width: 166px;
- position: relative;
- left: 0px;
- right: 0px;
- z-index: 1; }
-
-div.link { height: 30px;
- width: 166px;
- position: relative;
- left: 0px;
- right: 0px;
- z-index: 1; }
-
-div.vertline { background: url(Images/DottedVert.gif) repeat;
- height: 125%;
- width: 1px;
- position: relative;
- top: -12px;
- left: -1px; }
-
-span.vertline1 { background: url(Images/DottedVert.gif) repeat;
- height: 100%;
- width: 1px;
- position: absolute;
- top: 0px;
- left: -1px;
- bottom: 0px;
- z-index: 2; }
-
-span.horiline1 { height: 30px;
- width: 166px;
- position: absolute;
- top: -1px;
- left: -1px;
- bottom: -1px;
- z-index: 2; }
-
-span.activelink { color: captiontext;
- text-decoration: none;
- cursor: hand; }
-
-span.activelink2 { color: captiontext;
- text-decoration: underline;
- cursor: hand; }
-
-span.inactivelink { color: buttonface;
- text-decoration: none;
- cursor: default; }
-
-
-/*DEFAULT STYLES FOR THE ALL BUTTONS AND THE 'BUTTONS' TABLE*******************/
-/******************************************************************************/
-
-button { font-family: Tahoma, Verdana, Arial, Sans Serif;
- font-weight: normal;
- font-size: 8pt;
- height: 23px;
- cursor: hand; }
-
-.buttons { width: 75px; }
-
-/*DEFAULT STYLES FOR THE 'CONTENT' TABLE***************************************/
-/******************************************************************************/
-
-table.content { table-layout: fixed;
- height: 100%;
- width: 422px; }
-
-table.content1 { table-layout: fixed;
- height: 100%;
- width: 398px; }
-
-table.content2 { table-layout: fixed;
- height: 100%;
- width: 193px; }
-
-ol { font-family: Tahoma, Verdana, Arial, Sans Serif;
- font-weight: normal;
- font-size: 8pt;
- color: buttontext;
- margin-top: -1px;
- margin-bottom: 16px; }
-
-ul { font-family: Tahoma, Verdana, Arial, Sans Serif;
- font-weight: normal;
- font-size: 8pt;
- color: buttontext;
- margin-top: -1px;
- margin-bottom: 16px; }
-
-li { font-family: Tahoma, Verdana, Arial, Sans Serif;
- font-weight: normal;
- font-size: 8pt;
- color: buttontext;
- position: relative;
- left: -15px;
- margin-bottom: 1px; }
-
-span.itemtext { position: relative;
- top: -3px; }
-
-span.itemtextindent { position: relative;
- left: 17px;
- top: -3px; }
-
-span.itemtextindentA { position: relative;
- left: 25px;
- top: -3px; }
-
-span.itemtextindent1 { position: relative;
- left: 8px;
- top: -3px; }
-
-span.sidebtnhidden { width: 100%;
- margin-top: 3px;
- margin-bottom: 0px; }
-
-div.itemtextradioB { position: relative;
- top: -19px;
- left: 25px;
- margin-bottom: -25px; }
-
-div.itemtextradioindentA { position: relative;
- top: -17px;
- left: 30px;
- margin-bottom: -25px; }
-
-div.itemtextradioindentB { position: relative;
- top: -19px;
- left: 42px;
- margin-bottom: -25px; }
-
-div.itemtextcheckboxA { position: relative;
- top: -17px;
- left: 17px;
- margin-bottom: -23px; }
-
-div.itemtextcheckboxB { position: relative;
- top: -18px;
- left: 25px;
- margin-bottom: -25px; }
-
-div.itemtextcheckboxindentB { position: relative;
- top: -16px;
- left: 42px;
- margin-bottom: -25px; }
-
-div.inlineA { position: relative;
- top: 4px;
- width: 100%;
- height:1px;
- border-top: solid buttonshadow 1px; }
-
-div.inlineB { position: relative;
- top: -9px;
- margin-bottom: -20px;
- width: 100%;
- height:1px;
- border-top: solid threedhighlight 1px; }
-
-input { font-family: Tahoma, Verdana, Arial, Sans Serif;
- font-weight: normal;
- font-size: 8pt;
- color: buttontext; }
-
-.radio { position: relative;
- top: -2px;
- left: 4px; }
-
-.radioIndentA { margin-top: -2px;
- margin-left: 9px; }
-
-.radioIndent { margin-top: -2px;
- margin-left: 17px; }
-
-.checkboxA { position: relative;
- top: -2px;
- left: 4px; }
-
-.checkbox { position: relative;
- top: -1px;
- margin-left: -4px;
- z-index: 2; }
-
-.checkboxIndent { margin-top: -1px;
- margin-left: 21px; }
-
-.comment { width: 566px;
- position: relative;
- top: 5px;
- left: 8px;
- bottom: 6px; }
-
-.comment2 { width: 391px;
- position: relative;
- top: 5px;
- left: 8px;
- bottom: 6px; }
-
-/****THIS IS THE STANDARD INPUT BOX********************************************/
-input.sidebtn { width: 173px;
- position: relative;
- top: 5px;
- left: 8px; }
-
-/****THIS IS AN INPUT BOX INDENTED UNDER A CHECKBOX SECTION*******************/
-input.sidebtnIndent { width: 163px;
- position: relative;
- top: 5px;
- left: 18px;
- bottom: 6px; }
-
-/****THIS INPUT BOX HAS IS INDENTED UNDER A HEADING AND RULE SECTION***********/
-input.sidebtnB { width: 164px;
- position: relative;
- top: 5px;
- left: 8px;
- bottom: 6px; }
-
-/****THIS INPUT BOX HAS A "..." BUTTON BESIDE IT*******************************/
-input.sidebtn2 { width: 149px;
- position: relative;
- top: 5px;
- left: 8px;
- bottom: 6px; }
-
-/****THIS INPUT BOX HAS A "..." BUTTON BESIDE IT AND IT'S UNDER A CHECKBOX*****/
-input.sidebtn2Indent { width: 139px;
- position: relative;
- top: 5px;
- left: 18px;
- bottom: 6px; }
-
-input.sidebtn21 { width: 141px;
- position: relative;
- top: 5px;
- left: 8px;
- bottom: 6px; }
-
-input.sidebtn2Long { width: 253px;
- position: relative;
- top: 5px;
- left: 8px;
- bottom: 6px; }
-
-input.sidebtn2A { width: 140px;
- position: relative;
- top: 5px;
- left: 8px;
- bottom: 6px; }
-
-input.sidebtn2B { width: 156px;
- position: relative;
- top: 6px;
- left: 8px;
- bottom: 0px;
- margin-bottom: -3px; }
-
-select { font-family: Tahoma, Verdana, Arial, Sans Serif;
- font-weight: normal;
- font-size: 8pt;
- color: buttontext; }
-
-/****THIS IS THE STANDARD SELECTION BOX****************************************/
-select.sidebtn { width: 173px;
- position: relative;
- top: 6px;
- left: 8px;
- bottom: 0px;
- margin-bottom: -3px; }
-
-/****THIS IS THE STANDARD SELECTION BOX****************************************/
-span.sidebtn { position: relative;
- top: 6px;
- left: 8px;
- bottom: 0px;
- margin-bottom: -3px; }
-
-/****THIS IS THE STANDARD SELECTION BOX****************************************/
-span.itemtextspecial { position: relative;
- top: -20px;
- left: 16px;
- bottom: 0px;
- margin-bottom: -3px; }
-
-/****THIS IS THE STANDARD SELECTION BOX****************************************/
-span.sidebtnspecial { position: relative;
- top: -2px;
- left: 54px;
- bottom: 0px;
- margin-bottom: -3px; }
-
-/****THIS SELECTION BOX IS INDENTED UNDER A HEADING AND RULE SECTION***********/
-select.sidebtnB { width: 164px;
- position: relative;
- top: 6px;
- left: 8px;
- bottom: 0px;
- margin-bottom: -3px; }
-
-/****THIS SELECTION BOX IS BELOW AND ASSOCIATED WITH A CHECKBOX****************/
-select.sidebtn2 { width: 164px;
- position: relative;
- top: 13px;
- left: 17px;
- bottom: 0px;
- margin-bottom: -3px; }
-
-/****THIS SELECTION BOX IS BELOW AND ASSOCIATED WITH A CHECKBOX AND HEADING****/
-select.sidebtn2A { width: 156px;
- position: relative;
- top: 13px;
- left: 25px;
- bottom: 0px;
- margin-bottom: -3px; }
-
-/****THIS SELECTION BOX IS BELOW AND ASSOCIATED WITH A CHECKBOX AND HEADING****/
-select.sidebtn2ALong { width: 277px;
- position: relative;
- top: 6px;
- left: 25px;
- bottom: 0px;
- margin-bottom: -3px; }
-
-select.sidebtn2B { width: 156px;
- position: relative;
- top: 6px;
- left: 8px;
- bottom: 0px;
- margin-bottom: -3px; }
-
-/****THIS SELECTION BOX HAS "..." BUTTONS BESIDE THEM**************************/
-select.sidebtn2C { width: 149px;
- position: relative;
- top: 5px;
- left: 8px;
- bottom: 6px; }
-
-select.sidebtn2CLong { width: 253px;
- position: relative;
- top: 5px;
- left: 8px;
- bottom: 6px; }
-
-select.sidebtn3 { width: 150px;
- position: relative;
- top: 6px;
- bottom: 0px;
- margin-bottom: -3px; }
-
-/****THIS SELECTION BOX IS FOR HORIZONTAL ADD/REMOVE SECTIONS******************/
-select.sidebtn4Long { width: 574px;
- position: relative;
- top: 6px;
- left: 8px;
- bottom: 0px;
- margin-bottom: -3px; }
-
-object.itemtext { font-family: Tahoma, Verdana, Arial, Sans Serif;
- font-weight: normal;
- font-size: 8pt;
- color: buttontext;
- width: 173px;
- height: 19px;
- position: relative;
- top: 6px;
- left: 8px;
- margin-bottom: 2px; }
-
-.dropdowncombo { font-family: Tahoma, Verdana, Arial, Sans Serif;
- font-weight: normal;
- font-size: 8pt;
- color: buttontext; }
-
-/****THIS DEFINES A STANDARD BUTTON IN THE CONTENT SECTION*********************/
-.buttonclass { margin-top: 2px;
- margin-left: 8px;
- margin-bottom: -6px;
- padding: 2px; }
-
-/****THIS DEFINES ADD/REMOVE BUTTONS IN THE CONTENT SECTION********************/
-.buttonclass2 { margin-top: 8px;
- margin-left: 8px;
- z-index: 1;
- cursor: hand; }
-
-/****THIS DEFINES A "..." BUTTON IN THE CONTENT SECTION************************/
-.buttonclass3 { height: 19px;
- width: 20px;
- position: relative;
- top: 2px; }
-
-/****THIS DEFINES A "..." BUTTON IN THE CONTENT SECTION AND UNDER A CHECKBOX***/
-.buttonclass3Indent { height: 19px;
- width: 20px;
- position: relative;
- top: 2px;
- left: 10px; }
-
-.buttonclass31 { height: 19px;
- width: 20px;
- position: relative;
- top: 2px;
- left:8px; }
-
-.buttonclass3A { height: 19px;
- width: 20px;
- position: relative;
- top: 5px; }
-
-/****THIS DEFINES A ">>" BUTTON IN THE CONTENT SECTION************************/
-.buttonclass4 { margin-bottom: 4px;
- width: 75px;
- height: 23px; }
-
-/****THIS DEFINES ADD/REMOVE BUTTONS HORIZONTALLY IN THE CONTENT SECTION******/
-.buttonclass5 { margin-left: 4px; }
-
-/****THIS DEFINES FIRST ADD/REMOVE BUTTONS HORIZONTALLY IN CONTENT SECTION****/
-.buttonclass5A { margin-left: 8px; }
-
-/****THIS SETS THE LEFT MARGIN FOR THE REMOVE BUTTON***************************/
-#removebtn { margin-left: 4px; }
-
-
-
-/****THIS SETS THE LEFT MARGIN FOR INDENTED SECTION UNDER CHECKBOXES***********/
-label.indent { margin-left: 18px; }
-
-/****THIS SETS THE LEFT MARGIN FOR INDENTED SECTION UNDER CHECKBOXES***********/
-label.indent2 { margin-left: 26px; }
-
-
-/****THESE ARE CUSTOM SPACING ELEMENTS*****************************************/
-p.spacer { margin-bottom: -28px; }
-
-p.elementspacer { margin-bottom: -12px; }
-
-p.elementspacer2 { margin-bottom: -19px; }
-
-p.elementspacer3 { margin-bottom: -3px; }
-
-p.elementspacer4 { margin-bottom: 7px; }
-
-p.elementspacer5 { margin-bottom: 5px; }
-
-p.elementspacer6 { margin-bottom: -24px; }
-
-p.elementspacer7 { margin-bottom: -11px; }
-
-p.elementspacer8 { margin-bottom: -14px; }
-
-p.elementspacer9 { margin-bottom: -7px; }
-
-p.elementspacer10 { margin-bottom: 6px; }
-
-p.elementspacer11 { margin-bottom: 22px; }
-
-p.elementspacer12 { margin-bottom: -17px; }
-
-p.elementspacer13 { margin-bottom: -23px; }
-
-p.elementspacer14 { margin-bottom: -25px; }
-
-
-/*CUSTOM STYLES FOR THE 'CONTENT' FRAME****************************************/
-/******************************************************************************/
diff --git a/Qt4VS2003/Projects/Qt5WinCELibProject/HTML/1031/Page_2.htm b/Qt4VS2003/Projects/Qt5WinCELibProject/HTML/1031/Page_2.htm
deleted file mode 100644
index 80fe794d..00000000
--- a/Qt4VS2003/Projects/Qt5WinCELibProject/HTML/1031/Page_2.htm
+++ /dev/null
@@ -1,536 +0,0 @@
-<html dir="ltr">
-<head>
- <title>'Qt5WinCELibProject'</title>
- <meta content="http://schemas.microsoft.com/intellisense/ie5" name="vs_targetSchema">
- <link id="LINKURL" rel="stylesheet" href="../../1033/styles.css">
-</head>
-<body onkeypress="OnPress();" onkeydown="OnKey();" bottommargin="0" bgcolor="buttonface"
- leftmargin="0" topmargin="0" onload="InitDocument(document);" rightmargin="0">
- <table class="ONE" height="100%" cellspacing="0" cellpadding="0" width="100%" border="0">
- <colgroup>
- <col width="178">
- <col>
- <!--OPEN OF INTRODUCTORY INFORMATION TABLE//-->
- <tr valign="top">
- <td width="100%" colspan="2" height="79">
- <table class="TWO" cellspacing="0" cellpadding="0" border="0">
- <colgroup>
- <col width="12">
- <col>
- <col width="12">
- <tr>
- <td valign="top" width="12" height="12">
- &nbsp;
- </td>
- <td valign="top" height="12">
- &nbsp;
- </td>
- <td valign="top" width="12" height="12">
- &nbsp;
- </td>
- <td class="IMAGE" valign="bottom" width="110" rowspan="2">
- <div class="SMALLA" id="Layer0">
- <img class="SMALLEST" height="63" alt="" src="..\..\Images\Qt5WinCELibProject.jpg"
- width="63" border="0">
- </div>
- </td>
- <td valign="top" width="6" height="12" rowspan="2">
- &nbsp;
- </td>
- </tr>
- <tr>
- <td valign="top" width="12" height="65">
- &nbsp;
- </td>
- <td valign="top" height="65">
- <h4 class="HEAD" id="HEAD">
- Willkommen zum Qt5 Windows CE Bibliothekenprojektwizard</h4>
- <p class="SUBHEAD" id="SUBHEAD">
- Dieser Wizard erstellt eine einfache, dynamisch gegen Qt gebundene Bibliothek.</p>
- </td>
- <td valign="top" width="12" height="65">
- &nbsp;
- </td>
- </tr>
- <tr>
- <td class="RULE" valign="top" colspan="5" height="2">
- <table height="1" cellspacing="0" cellpadding="0" width="100%" border="0">
- <tr valign="top">
- <td width="100%" bgcolor="buttonshadow" height="1">
- <img height="1" alt="" src="../../Images/spacer.gif" width="1">
- </td>
- <td width="1" bgcolor="window" height="1">
- <img height="1" alt="" src="../../Images/spacer.gif" width="1">
- </td>
- </tr>
- </table>
- </td>
- </tr>
- </table>
- </td>
- </tr>
- <!--CLOSE OF INTRODUCTORY INFORMATION TABLE//-->
- <!--OPEN OF NAVIGATION, CONTENT, AND BUTTON TABLES//-->
- <tr valign="top">
- <td class="THREE" valign="top" width="178" height="100%">
- <!--OPEN OF NAVIGATION TABLE//-->
- <table class="THREE" cellspacing="0" cellpadding="0" border="0">
- <colgroup>
- <col width="12">
- <col width="166">
- <col width="1">
- <tr>
- <td valign="top" colspan="3" height="12">
- &nbsp;
- </td>
- </tr>
- <tr>
- <td valign="top" width="12" height="100%">
- &nbsp;
- </td>
- <td valign="top" width="165" height="100%">
- <!--OPEN OF NAVIGATIONAL LINKS//-->
- <div class="LINK">
- <table class="LINKTEXT" height="28" cellspacing="0" cellpadding="0" width="166" border="0">
- <tr valign="middle">
- <td width="162">
- <span class="ACTIVELINK" id="Default" title="" onclick="Next(document, 'default.htm');"
- tabindex="1">bersicht</span>
- </td>
- <td width="4">
- <img height="1" src="../../Images/spacer.gif" width="4">
- </td>
- </tr>
- </table>
- </div>
- <div class="LINKSELECTED">
- <span class="VERTLINE1">
- <img height="1" alt="" src="../../Images/spacer.gif" width="1" border="0">
- </span><span class="HORILINE1">
- <table height="100%" cellspacing="0" cellpadding="0" width="167" border="0">
- <tr valign="top">
- <td class="DOTTEDLINE" height="1">
- </td>
- </tr>
- <tr valign="top">
- <td height="100%">
- <img height="28" alt="" src="../../Images/spacer.gif" width="1" border="0">
- </td>
- </tr>
- <tr valign="top">
- <td class="DOTTEDLINE" height="1">
- </td>
- </tr>
- </table>
- </span>
- <table class="LINKTEXTSELECTED" height="28" cellspacing="0" cellpadding="0" width="160"
- border="0">
- <tr valign="middle">
- <td width="162">
- <span id="Page_2" title="" onclick="Next(document, 'Page_2.htm');" tabindex="1">Projekteinstellungen</span>
- </td>
- <td width="4">
- <img height="1" src="../../Images/spacer.gif" width="4">
- </td>
- </tr>
- </table>
- </div>
- <div class="LINK">
- <table class="LINKTEXT" height="28" cellspacing="0" cellpadding="0" width="166" border="0"
- id="Table1">
- <tr valign="middle">
- <td width="162">
- <span class="ACTIVELINK" id="Page_3" title="" onclick="Next(document, 'Page_3.htm');"
- tabindex="1">Generierte Klassen</span>
- </td>
- <td width="4">
- <img height="1" src="../../Images/spacer.gif" width="4">
- </td>
- </tr>
- </table>
- </div>
- <!--CLOSE OF NAVIGATIONAL LINKS//-->
- </td>
- <td width="1">
- <div class="VERTLINE">
- <img height="1" alt="" src="../../Images/spacer.gif" width="1" border="0">
- </div>
- </td>
- </tr>
- </table>
- <!--CLOSE OF NAVIGATION TABLE//-->
- </td>
- <td valign="top" height="100%">
- <!--OPEN OF CONTENT AND BUTTON TABLE//-->
- <table class="ONE" cellspacing="0" cellpadding="0" border="0">
- <colgroup>
- <col width="100%">
- <tr valign="top">
- <td valign="top" height="100%">
- <!--OPEN OF CONTENT//-->
- <table class="CONTENT" cellspacing="0" cellpadding="0" border="0">
- <colgroup>
- <tr>
- <td width="12" height="12">
- </td>
- <td height="12">
- </td>
- <td height="12">
- </td>
- <td height="12">
- </td>
- <td width="12" height="12">
- </td>
- </tr>
- <tr>
- <td valign="top" width="12">
- </td>
- <td valign="top" colspan="3">
- <p>
- Selektieren Sie die Module, die zum Projekt hinzugefgt werden sollen. Die empfohlenen
- Module sind bereits ausgewhlt.<br>
- &nbsp;</p>
- </td>
- <td valign="top" width="12">
- </td>
- </tr>
- <tr>
- <td width="12" height="12">
- </td>
- <td height="12">
- </td>
- <td height="12">
- </td>
- <td height="12">
- </td>
- <td width="12" height="12">
- </td>
- </tr>
-<!-- {ADB367FB-48AA-488e-9102-B037297CFCDB} -->
-<!-- -->
-<!-- START. GENERATED WITH SCRIPT, DO NOT EDIT -->
-<!-- -->
-<tr><td valign="top" width="12"></td><td valign="top" colspan="3"></td><td valign="top" width="12"></td></tr>
-<tr>
-<td valign="top" width="12"></td>
-<td valign="top"><input id="THREED_MODULE" title="Select this if you want to include the 3D library" type="checkbox" name="THREED_MODULE_NAME">&nbsp;3D</td>
-<td valign="top"><input id="NETWORK_MODULE" title="Select this if you want to include the Network library" type="checkbox" name="NETWORK_MODULE_NAME">&nbsp;Network</td>
-<td valign="top"><input id="SVG_MODULE" title="Select this if you want to include the SVG library" type="checkbox" name="SVG_MODULE_NAME">&nbsp;SVG</td>
-<td valign="top" width="12"></td>
-</tr>
-<tr>
-<td valign="top" width="12"></td>
-<td valign="top"><input id="AQCONTAINER_MODULE" title="Select this if you want to include the ActiveQt container library" type="checkbox" name="AQCONTAINER_MODULE_NAME">&nbsp;ActiveQt container&nbsp;</td>
-<td valign="top"><input id="NFC_MODULE" title="Select this if you want to include the NFC library" type="checkbox" name="NFC_MODULE_NAME">&nbsp;NFC</td>
-<td valign="top"><input id="TEST_MODULE" title="Select this if you want to include the Test library" type="checkbox" name="TEST_MODULE_NAME">&nbsp;Test</td>
-<td valign="top" width="12"></td>
-</tr>
-<tr>
-<td valign="top" width="12"></td>
-<td valign="top"><input id="AQSERVER_MODULE" title="Select this if you want to include the ActiveQt server library" type="checkbox" name="AQSERVER_MODULE_NAME">&nbsp;ActiveQt&nbsp;server&nbsp;</td>
-<td valign="top"><input id="OPENGL_MODULE" title="Select this if you want to include the OpenGL library" type="checkbox" name="OPENGL_MODULE_NAME">&nbsp;OpenGL</td>
-<td valign="top"><input id="UITOOLS_MODULE" title="Select this if you want to include the UI Tools" type="checkbox" name="UITOOLS_MODULE_NAME">&nbsp;UI Tools</td>
-<td valign="top" width="12"></td>
-</tr>
-<tr>
-<td valign="top" width="12"></td>
-<td valign="top"><input id="BLUETOOTH_MODULE" title="Select this if you want to include the Bluetooth library" type="checkbox" name="BLUETOOTH_MODULE_NAME">&nbsp;Bluetooth</td>
-<td valign="top"><input id="POSITIONING_MODULE" title="Select this if you want to include the Positioning library" type="checkbox" name="POSITIONING_MODULE_NAME">&nbsp;Positioning</td>
-<td valign="top"><input id="WEBCHANNEL_MODULE" title="Select this if you want to include the Web Channel library" type="checkbox" name="WEBCHANNEL_MODULE_NAME">&nbsp;Web Channel</td>
-<td valign="top" width="12"></td>
-</tr>
-<tr>
-<td valign="top" width="12"></td>
-<td valign="top"><input id="CONCURRENT_MODULE" title="Select this if you want to include the Concurrent library" type="checkbox" name="CONCURRENT_MODULE_NAME">&nbsp;Concurrent</td>
-<td valign="top"><input id="PRINTSUPPORT_MODULE" title="Select this if you want to include the Print Support library" type="checkbox" name="PRINTSUPPORT_MODULE_NAME">&nbsp;Print Support</td>
-<td valign="top"><input id="WEBKIT_MODULE" title="Select this if you want to include the WebKit library" type="checkbox" name="WEBKIT_MODULE_NAME">&nbsp;WebKit</td>
-<td valign="top" width="12"></td>
-</tr>
-<tr>
-<td valign="top" width="12"></td>
-<td valign="top"><input id="CORE_MODULE" title="Select this if you want to include the core library" type="checkbox" name="CORE_MODULE_NAME">&nbsp;Core</td>
-<td valign="top"><input id="QML_MODULE" title="Select this if you want to include the QML library" type="checkbox" name="QML_MODULE_NAME">&nbsp;QML</td>
-<td valign="top"><input id="WEBKITWIDGETS_MODULE" title="Select this if you want to include the Webkit Widgets library" type="checkbox" name="WEBKITWIDGETS_MODULE_NAME">&nbsp;Webkit Widgets</td>
-<td valign="top" width="12"></td>
-</tr>
-<tr>
-<td valign="top" width="12"></td>
-<td valign="top"><input id="ENGINIO_MODULE" title="Select this if you want to include the Enginio library" type="checkbox" name="ENGINIO_MODULE_NAME">&nbsp;Enginio</td>
-<td valign="top"><input id="QUICK_MODULE" title="Select this if you want to include the Quick library" type="checkbox" name="QUICK_MODULE_NAME">&nbsp;Quick</td>
-<td valign="top"><input id="WEBSOCKETS_MODULE" title="Select this if you want to include the Web Sockets library" type="checkbox" name="WEBSOCKETS_MODULE_NAME">&nbsp;Web Sockets</td>
-<td valign="top" width="12"></td>
-</tr>
-<tr>
-<td valign="top" width="12"></td>
-<td valign="top"><input id="DECLARATIVE_MODULE" title="Select this if you want to include the Declarative library" type="checkbox" name="DECLARATIVE_MODULE_NAME">&nbsp;Declarative</td>
-<td valign="top"><input id="QUICKWIDGETS_MODULE" title="Select this if you want to include the Quick Widgets library" type="checkbox" name="QUICKWIDGETS_MODULE_NAME">&nbsp;Quick Widgets</td>
-<td valign="top"><input id="WIDGETS_MODULE" title="Select this if you want to include the Widgets library" type="checkbox" name="WIDGETS_MODULE_NAME">&nbsp;Widgets</td>
-<td valign="top" width="12"></td>
-</tr>
-<tr>
-<td valign="top" width="12"></td>
-<td valign="top"><input id="GUI_MODULE" title="Select this if you want to include the GUI library" type="checkbox" name="GUI_MODULE_NAME">&nbsp;GUI</td>
-<td valign="top"><input id="SCRIPT_MODULE" title="Select this if you want to include the Script library" type="checkbox" name="SCRIPT_MODULE_NAME">&nbsp;Script</td>
-<td valign="top"><input id="WINDOWSEXTRAS_MODULE" title="Select this if you want to include the Windows Extras library" type="checkbox" name="WINDOWSEXTRAS_MODULE_NAME">&nbsp;Windows Extras</td>
-<td valign="top" width="12"></td>
-</tr>
-<tr>
-<td valign="top" width="12"></td>
-<td valign="top"><input id="HELP_MODULE" title="Select this if you want to include the Help library" type="checkbox" name="HELP_MODULE_NAME">&nbsp;Help</td>
-<td valign="top"><input id="SCRIPTTOOLS_MODULE" title="Select this if you want to include the Script Tools" type="checkbox" name="SCRIPTTOOLS_MODULE_NAME">&nbsp;Script Tools</td>
-<td valign="top"><input id="XML_MODULE" title="Select this if you want to include the XML library" type="checkbox" name="XML_MODULE_NAME">&nbsp;XML</td>
-<td valign="top" width="12"></td>
-</tr>
-<tr>
-<td valign="top" width="12"></td>
-<td valign="top"><input id="LOCATION_MODULE" title="Select this if you want to include the Location library" type="checkbox" name="LOCATION_MODULE_NAME">&nbsp;Location</td>
-<td valign="top"><input id="SENSORS_MODULE" title="Select this if you want to include the Sensors library" type="checkbox" name="SENSORS_MODULE_NAME">&nbsp;Sensors</td>
-<td valign="top"><input id="XMLPATTERNS_MODULE" title="Select this if you want to include the XML Patterns library" type="checkbox" name="XMLPATTERNS_MODULE_NAME">&nbsp;XML Patterns</td>
-<td valign="top" width="12"></td>
-</tr>
-<tr>
-<td valign="top" width="12"></td>
-<td valign="top"><input id="MULTIMEDIA_MODULE" title="Select this if you want to include the Multimedia library" type="checkbox" name="MULTIMEDIA_MODULE_NAME">&nbsp;Multimedia</td>
-<td valign="top"><input id="SERIALPORT_MODULE" title="Select this if you want to include the Serial Port library" type="checkbox" name="SERIALPORT_MODULE_NAME">&nbsp;Serial Port</td>
-<td valign="top" width="12"></td>
-<td valign="top" width="12"></td>
-</tr>
-<tr>
-<td valign="top" width="12"></td>
-<td valign="top"><input id="MULTIMEDIAWIDGETS_MODULE" title="Select this if you want to include the Multimedia Widgets library" type="checkbox" name="MULTIMEDIAWIDGETS_MODULE_NAME">&nbsp;Multimedia Widgets</td>
-<td valign="top"><input id="SQL_MODULE" title="Select this if you want to include the SQL library" type="checkbox" name="SQL_MODULE_NAME">&nbsp;SQL</td>
-<td valign="top" width="12"></td>
-<td valign="top" width="12"></td>
-</tr>
-<!-- -->
-<!-- END. GENERATED WITH SCRIPT, DO NOT EDIT -->
-<!-- -->
-<!-- {ADB367FB-48AA-488e-9102-B037297CFCDB} -->
-
-
-
-
- <tr>
- <td valign="top" width="12">
- </td>
- <td valign="top" colspan="3">
- <p>
- &nbsp;</p>
- </td>
- <td valign="top" width="12">
- </td>
- </tr>
- <tr>
- <td valign="top" width="12" height="100%">
- </td>
- <td valign="top" height="100%">
- </td>
- <td valign="top" height="100%">
- </td>
- <td valign="top" height="100%">
- </td>
- <td valign="top" width="12" height="100%">
- </td>
- </tr>
- </table>
- <!--CLOSE OF CONTENT//-->
- </TD> </TR>
- <tr valign="bottom">
- <td height="48">
- <!--OPEN OF BUTTON HTML//-->
- <table height="48" cellspacing="0" cellpadding="0" border="0">
- <colgroup>
- <col width="12">
- <col>
- <col width="75">
- <col width="4">
- <col width="75">
- <col width="4">
- <col width="75">
- <col width="12">
- <tr>
- <td class="RULE" valign="top" colspan="8" height="2">
- <table height="1" cellspacing="0" cellpadding="0" width="100%" border="0">
- <tr valign="top">
- </tr>
- </table>
- </td>
- </tr>
- <tr>
- <td valign="top" colspan="8" height="11">
- &nbsp;
- </td>
- </tr>
- <tr>
- <td valign="middle" width="12" height="23">
- &nbsp;
- </td>
- <td valign="top" height="23">
- &nbsp;
- </td>
- <td valign="middle" width="75" height="23">
- <button class="BUTTONS" id="FinishBtn" accesskey="B" onclick="OnFinish(document);"
- type="button">
- <u>B</u>eenden</button>
- </td>
- <td valign="middle" width="4" height="23">
- &nbsp;
- </td>
- <td valign="middle" width="75" height="23">
- <button class="BUTTONS" id="CancelBtn" accesskey="A" onclick="window.external.Finish(document, 'cancel');"
- type="button">
- <u>A</u>bbrechen</button>
- </td>
- <td valign="middle" width="4" height="23">
- &nbsp;
- </td>
- <td valign="middle" width="75" height="23">
- <button class="BUTTONS" id="HelpBtn" disabled accesskey="H" onclick="window.external.OnHelp('vc.appwiz.custom.overview');"
- type="button">
- <u>H</u>ilfe</button>
- </td>
- <td valign="middle" width="12" height="23">
- &nbsp;
- </td>
- </tr>
- <tr>
- <td valign="top" colspan="8" height="12">
- &nbsp;
- </td>
- </tr>
- </table>
- <!--CLOSE OF BUTTON HTML//-->
- </td>
- </tr>
- </TABLE>
- <!--CLOSE OF NAVIGATION, CONTENT, AND BUTTON TABLES//-->
- </TD> </TR> </TABLE>
-</body>
-</html>
-<script language="JSCRIPT">
-
- var QtEngine;
- var tab_array = new Array();
- tab_array[0] = Default;
- tab_array[1] = Page_2;
-
- // This is an example of a function which initializes the page
- //
- function InitDocument(document) {
- var dte = window.external.dte;
- var version = dte.version;
- if (version == "8.0")
- QtEngine = new ActiveXObject("Digia.Qt5ProjectEngine80");
- else if (version == "9.0")
- QtEngine = new ActiveXObject("Digia.Qt5ProjectEngine90");
- else if (version == "10.0")
- QtEngine = new ActiveXObject("Digia.Qt5ProjectEngine100");
- else if (version == "11.0")
- QtEngine = new ActiveXObject("Digia.Qt5ProjectEngine110");
- else if (version == "12.0")
- QtEngine = new ActiveXObject("Digia.Qt5ProjectEngine120");
- else {
- window.external.ReportError("Cannot instantiate QtProjectEngine object!");
- return false;
- }
-
- setDirection();
- if (window.external.FindSymbol('DOCUMENT_FIRST_LOAD')) {
- // This function sets the default symbols based
- // on the values specified in the SYMBOL tags above
- //
- window.external.SetDefaults(document);
- }
- // Load the document and initialize the controls
- // with the appropriate symbol values
- //
- window.external.Load(document);
-
- // Disable Essential modules which are not installed (Should not found any?)
- DisableUninstalled(THREED_MODULE_NAME, "Qt3D", QtEngine);
- DisableUninstalled(CORE_MODULE_NAME, "QtCore", QtEngine);
- DisableUninstalled(GUI_MODULE_NAME, "QtGui", QtEngine);
- DisableUninstalled(LOCATION_MODULE_NAME, "QtLocation", QtEngine);
- DisableUninstalled(MULTIMEDIA_MODULE_NAME, "QtMultimedia", QtEngine);
- DisableUninstalled(MULTIMEDIAWIDGETS_MODULE_NAME, "QtMultimediaWidgets", QtEngine);
- DisableUninstalled(NETWORK_MODULE_NAME, "QtNetwork", QtEngine);
- DisableUninstalled(QML_MODULE_NAME, "QtQml", QtEngine);
- DisableUninstalled(QUICK_MODULE_NAME, "QtQuick", QtEngine);
- DisableUninstalled(SQL_MODULE_NAME, "QtSql", QtEngine);
- DisableUninstalled(TEST_MODULE_NAME, "QtTest", QtEngine);
- DisableUninstalled(WEBKIT_MODULE_NAME, "QtWebkit", QtEngine);
-
- // Disable Add-on modules which are not installed
- DisableUninstalled(AQCONTAINER_MODULE_NAME, "QtAxContainer", QtEngine);
- DisableUninstalled(AQSERVER_MODULE_NAME, "QtAxServer", QtEngine);
- DisableUninstalled(BLUETOOTH_MODULE_NAME, "QtBluetooth", QtEngine);
- DisableUninstalled(CONCURRENT_MODULE_NAME, "QtConcurrent", QtEngine);
- DisableUninstalled(DECLARATIVE_MODULE_NAME, "QtDeclarative", QtEngine);
- DisableUninstalled(ENGINIO_MODULE_NAME, "Enginio", QtEngine);
- DisableUninstalled(HELP_MODULE_NAME, "QtHelp", QtEngine);
- DisableUninstalled(NFC_MODULE_NAME, "QtNfc", QtEngine);
- DisableUninstalled(OPENGL_MODULE_NAME, "QtOpenGL", QtEngine);
- DisableUninstalled(POSITIONING_MODULE_NAME, "QtPositioning", QtEngine);
- DisableUninstalled(PRINTSUPPORT_MODULE_NAME, "QtPrintSupport", QtEngine);
- DisableUninstalled(QUICKWIDGETS_MODULE_NAME, "QtQuickWidgets", QtEngine);
- DisableUninstalled(SCRIPT_MODULE_NAME, "QtScript", QtEngine);
- DisableUninstalled(SCRIPTTOOLS_MODULE_NAME, "QtScriptTools", QtEngine);
- DisableUninstalled(SENSORS_MODULE_NAME, "QtSensors", QtEngine);
- DisableUninstalled(SERIALPORT_MODULE_NAME, "QtSerialPort", QtEngine);
- DisableUninstalled(SVG_MODULE_NAME, "QtSvg", QtEngine);
- DisableUninstalled(UITOOLS_MODULE_NAME, "QtUiTools", QtEngine);
- DisableUninstalled(WEBCHANNEL_MODULE_NAME, "QtWebChannel", QtEngine);
- DisableUninstalled(WEBKITWIDGETS_MODULE_NAME, "QtWebkitWidgets", QtEngine);
- DisableUninstalled(WEBSOCKETS_MODULE_NAME, "QtWebSockets", QtEngine);
- DisableUninstalled(WIDGETS_MODULE_NAME, "QtWidgets", QtEngine);
- DisableUninstalled(WINDOWSEXTRAS_MODULE_NAME, "QtWinExtras", QtEngine);
- DisableUninstalled(XML_MODULE_NAME, "QtXml", QtEngine);
- DisableUninstalled(XMLPATTERNS_MODULE_NAME, "QtXmlPatterns", QtEngine);
-
- // Disable these cause mandatory for this wizard
- CORE_MODULE_NAME.disabled = true;
- }
-
- function DisableUninstalled(element, lib_name, engine) {
- var not_installed = !engine.IsModuleInstalled(lib_name);
- element.disabled = not_installed;
- if (not_installed) {
- element.title = ""; // Not installed so don't show title
- element.parentNode.className = "addon_disabled"; ;
- }
- return not_installed;
- }
-
- // If the wizard has more than 1 page, this
- // function will browse to the page specified
- //
- function Next(document, linkto) {
- CORE_MODULE_NAME.disabled = false;
- window.external.Next(document, linkto);
- }
-
- // This is an example of a function which
- // gets called when the user clicks on 'Finish'
- //
- function OnFinish(document) {
- CORE_MODULE_NAME.disabled = false;
- OnWizFinish(document);
- }
-
-</script>
-<script language="JSCRIPT" id="INCLUDE_SCRIPT"></script>
-<script language="JSCRIPT" id="INCLUDE_COMMON"></script>
-<!--
-Common.js is a script file which contains the helper functions
-used by the wizards. Include this line if you want to
-call these functions from your html scripts.
-//-->
-<script>
- var strPath = window.external.FindSymbol("PRODUCT_INSTALLATION_DIR");
- strPath += "VCWizards/";
- strPath += window.external.GetHostLocale();
- var strScriptPath = strPath + "/Script.js";
- var strCommonPath = strPath + "/Common.js";
- document.scripts("INCLUDE_SCRIPT").src = strScriptPath;
- document.scripts("INCLUDE_COMMON").src = strCommonPath;
-</script>
diff --git a/Qt4VS2003/Projects/Qt5WinCELibProject/HTML/1031/Page_3.htm b/Qt4VS2003/Projects/Qt5WinCELibProject/HTML/1031/Page_3.htm
deleted file mode 100644
index 07ad4be5..00000000
--- a/Qt4VS2003/Projects/Qt5WinCELibProject/HTML/1031/Page_3.htm
+++ /dev/null
@@ -1,434 +0,0 @@
-<html dir="ltr">
-<head>
- <title>'Qt5WinCELibProject'</title>
- <meta content="http://schemas.microsoft.com/intellisense/ie5" name="vs_targetSchema">
- <link id="LINKURL" rel="stylesheet" href="../../1033/styles.css">
-</head>
-<body onkeypress="OnPress();" onkeydown="OnKey();" bottommargin="0" bgcolor="buttonface"
- leftmargin="0" topmargin="0" onload="InitDocument(document);" rightmargin="0">
- <table class="ONE" height="100%" cellspacing="0" cellpadding="0" width="100%" border="0">
- <colgroup>
- <col width="178">
- <col>
- <!--OPEN OF INTRODUCTORY INFORMATION TABLE//-->
- <tr valign="top">
- <td width="100%" colspan="2" height="79">
- <table class="TWO" cellspacing="0" cellpadding="0" border="0">
- <colgroup>
- <col width="12">
- <col>
- <col width="12">
- <tr>
- <td valign="top" width="12" height="12">
- &nbsp;
- </td>
- <td valign="top" height="12">
- &nbsp;
- </td>
- <td valign="top" width="12" height="12">
- &nbsp;
- </td>
- <td class="IMAGE" valign="bottom" width="110" rowspan="2">
- <div class="SMALLA" id="Layer0">
- <img class="SMALLEST" height="63" alt="" src="..\..\Images\Qt5LibProject.jpg" width="63"
- border="0">
- </div>
- </td>
- <td valign="top" width="6" height="12" rowspan="2">
- &nbsp;
- </td>
- </tr>
- <tr>
- <td valign="top" width="12" height="65">
- &nbsp;
- </td>
- <td valign="top" height="65">
- <h4 class="HEAD" id="HEAD">
- Willkommen zum Qt5 Windows CE Bibliothekenprojektwizard</h4>
- <p class="SUBHEAD" id="SUBHEAD">
- Dieser Wizard erstellt eine einfache, dynamisch gegen Qt gebundene Bibliothek.</p>
- </td>
- <td valign="top" width="12" height="65">
- &nbsp;
- </td>
- </tr>
- <tr>
- <td class="RULE" valign="top" colspan="5" height="2">
- <table height="1" cellspacing="0" cellpadding="0" width="100%" border="0">
- <tr valign="top">
- <td width="100%" bgcolor="buttonshadow" height="1">
- <img height="1" alt="" src="../../Images/spacer.gif" width="1">
- </td>
- <td width="1" bgcolor="window" height="1">
- <img height="1" alt="" src="../../Images/spacer.gif" width="1">
- </td>
- </tr>
- </table>
- </td>
- </tr>
- </table>
- </td>
- </tr>
- <!--CLOSE OF INTRODUCTORY INFORMATION TABLE//-->
- <!--OPEN OF NAVIGATION, CONTENT, AND BUTTON TABLES//-->
- <tr valign="top">
- <td class="THREE" valign="top" width="178" height="100%">
- <!--OPEN OF NAVIGATION TABLE//-->
- <table class="THREE" cellspacing="0" cellpadding="0" border="0">
- <colgroup>
- <col width="12">
- <col width="166">
- <col width="1">
- <tr>
- <td valign="top" colspan="3" height="12">
- &nbsp;
- </td>
- </tr>
- <tr>
- <td valign="top" width="12" height="100%">
- &nbsp;
- </td>
- <td valign="top" width="165" height="100%">
- <!--OPEN OF NAVIGATIONAL LINKS//-->
- <div class="LINK">
- <table class="LINKTEXT" height="28" cellspacing="0" cellpadding="0" width="166" border="0">
- <tr valign="middle">
- <td width="162">
- <span class="ACTIVELINK" id="Page_1" title="" onclick="Next(document, 'default.htm');"
- tabindex="1">bersicht</span>
- </td>
- <td width="4">
- <img height="1" src="../../Images/spacer.gif" width="4">
- </td>
- </tr>
- </table>
- </div>
- <div class="LINK">
- <table class="LINKTEXT" height="28" cellspacing="0" cellpadding="0" width="166" border="0"
- id="Table1">
- <tr valign="middle">
- <td width="162">
- <span class="ACTIVELINK" id="Page_2" title="" onclick="Next(document, 'Page_2.htm');"
- tabindex="1">Projekteinstellungen</span>
- </td>
- <td width="4">
- <img height="1" src="../../Images/spacer.gif" width="4">
- </td>
- </tr>
- </table>
- </div>
- <div class="LINKSELECTED">
- <span class="VERTLINE1">
- <img height="1" alt="" src="../../Images/spacer.gif" width="1" border="0">
- </span><span class="HORILINE1">
- <table height="100%" cellspacing="0" cellpadding="0" width="167" border="0">
- <tr valign="top">
- <td class="DOTTEDLINE" height="1">
- </td>
- </tr>
- <tr valign="top">
- <td height="100%">
- <img height="28" alt="" src="../../Images/spacer.gif" width="1" border="0">
- </td>
- </tr>
- <tr valign="top">
- <td class="DOTTEDLINE" height="1">
- </td>
- </tr>
- </table>
- </span>
- <table class="LINKTEXTSELECTED" height="28" cellspacing="0" cellpadding="0" width="160"
- border="0">
- <tr valign="middle">
- <td width="162">
- <span id="Page_3" title="" onclick="Next(document, 'Page_2.htm');" tabindex="1">Generierte
- Klassen</span>
- </td>
- <td width="4">
- <img height="1" src="../../Images/spacer.gif" width="4">
- </td>
- </tr>
- </table>
- </div>
- <!--CLOSE OF NAVIGATIONAL LINKS//-->
- </td>
- <td width="1">
- <div class="VERTLINE">
- <img height="1" alt="" src="../../Images/spacer.gif" width="1" border="0">
- </div>
- </td>
- </tr>
- </table>
- <!--CLOSE OF NAVIGATION TABLE//-->
- </td>
- <td valign="top" height="100%">
- <!--OPEN OF CONTENT AND BUTTON TABLE//-->
- <table class="ONE" cellspacing="0" cellpadding="0" border="0">
- <colgroup>
- <col width="100%">
- <tr valign="top">
- <td valign="top" height="100%">
- <!--OPEN OF CONTENT//-->
- <table class="CONTENT" cellspacing="0" cellpadding="0" border="0">
- <colgroup>
- <tr>
- <td width="12" height="12">
- </td>
- <td height="12">
- </td>
- <td height="12">
- </td>
- <td width="12" height="12">
- </td>
- </tr>
- <tr>
- <td valign="top" width="12">
- </td>
- <td valign="top">
- Klassenname:
- </td>
- <td valign="top">
- .h&nbsp;Datei:
- </td>
- <td valign="top" width="12">
- </td>
- </tr>
- <tr>
- <td valign="top" width="12">
- </td>
- <td valign="top">
- <input id="CLASSNAME_TEXT" type="text" name="className" onpropertychange="ClassNameChanged();">
- </td>
- <td valign="top">
- <input id="HFILE_TEXT" type="text" name="hFile">
- </td>
- <td valign="top" width="12">
- </td>
- </tr>
- <tr>
- <td valign="top" width="12">
- </td>
- <td valign="top">
- </td>
- <td valign="top">
- <p>
- .cpp&nbsp;Datei:</p>
- </td>
- <td valign="top" width="12">
- </td>
- </tr>
- <tr>
- <td valign="top" width="12">
- </td>
- <td valign="top">
- </td>
- <td valign="top">
- <input id="CPPFILE_TEXT" type="text" name="cppFile">
- </td>
- <td valign="top" width="12">
- </td>
- </tr>
- <tr>
- <td width="12">
- </td>
- <td valign="top" colspan="2">
- <input id="PRECOMPILED_HEADERS" title="Vorkompilierte Header verwenden" type="checkbox"
- name="precompiledHeaders">Vorkompilierte Header verwenden
- </td>
- <td width="12">
- </td>
- </tr>
- <tr>
- <td width="12">
- </td>
- <td valign="top">
- <input id="STATICLIB_CHECK" title="Kreuzen Sie diese Option an wenn Sie eine statische Bibliothek erstellen wollen."
- type="checkbox" name="STATICLIB_CHECK_NAME">&nbsp;Statische Bibliothek (.lib)
- </td>
- </tr>
- <tr>
- <td valign="top" height="100%" colspan="4">
- </td>
- </tr>
- </table>
- <!--CLOSE OF CONTENT//-->
- </td>
- </tr>
- <tr valign="bottom">
- <td height="48">
- <!--OPEN OF BUTTON HTML//-->
- <table height="48" cellspacing="0" cellpadding="0" border="0">
- <colgroup>
- <col width="12">
- <col>
- <col width="75">
- <col width="4">
- <col width="75">
- <col width="4">
- <col width="75">
- <col width="12">
- <tr>
- <td class="RULE" valign="top" colspan="8" height="2">
- <table height="1" cellspacing="0" cellpadding="0" width="100%" border="0">
- <tr valign="top">
- </tr>
- </table>
- </td>
- </tr>
- <tr>
- <td valign="top" colspan="8" height="11">
- &nbsp;
- </td>
- </tr>
- <tr>
- <td valign="middle" width="12" height="23">
- &nbsp;
- </td>
- <td valign="top" height="23">
- &nbsp;
- </td>
- <td valign="middle" width="75" height="23">
- <button class="BUTTONS" id="FinishBtn" accesskey="B" onclick="OnFinish(document);"
- type="button">
- <u>B</u>eenden</button>
- </td>
- <td valign="middle" width="4" height="23">
- &nbsp;
- </td>
- <td valign="middle" width="75" height="23">
- <button class="BUTTONS" id="CancelBtn" accesskey="A" onclick="window.external.Finish(document, 'cancel');"
- type="button">
- <u>A</u>bbrechen</button>
- </td>
- <td valign="middle" width="4" height="23">
- &nbsp;
- </td>
- <td valign="middle" width="75" height="23">
- <button class="BUTTONS" id="HelpBtn" disabled accesskey="H" onclick="window.external.OnHelp('vc.appwiz.custom.overview');"
- type="button">
- <u>H</u>ilfe</button>
- </td>
- <td valign="middle" width="12" height="23">
- &nbsp;
- </td>
- </tr>
- <tr>
- <td valign="top" colspan="8" height="12">
- &nbsp;
- </td>
- </tr>
- </table>
- <!--CLOSE OF BUTTON HTML//-->
- </td>
- </tr>
- </table>
- <!--CLOSE OF NAVIGATION, CONTENT, AND BUTTON TABLES//-->
- </td>
- </tr>
- </table>
-</body>
-</html>
-<script language="JSCRIPT">
-
- var tab_array = new Array();
- tab_array[0] = Page_1;
- tab_array[1] = Page_2;
-
- // This is an example of a function which initializes the page
- //
- function InitDocument(document) {
- setDirection();
-
- if (window.external.FindSymbol('DOCUMENT_FIRST_LOAD')) {
- // This function sets the default symbols based
- // on the values specified in the SYMBOL tags above
- //
- window.external.SetDefaults(document);
- }
-
- // Load the document and initialize the controls
- // with the appropriate symbol values
- //
- window.external.Load(document);
- }
-
- function ClassNameChanged() {
- HFILE_TEXT.value = CLASSNAME_TEXT.value.toLowerCase() + ".h";
- CPPFILE_TEXT.value = CLASSNAME_TEXT.value.toLowerCase() + ".cpp";
- }
-
- function ValidateAndUpdate() {
- var Inputs = document.all.tags("INPUT");
-
- var regexp = /\s/g;
- var proName = window.external.FindSymbol('PROJECT_NAME').replace(regexp, "");
-
- var field = Inputs.item("className");
- if (!window.external.dte.VCLanguageManager.ValidateIdentifier(field.value) ||
- window.external.dte.VCLanguageManager.IsReservedName(field.value)) {
- window.external.ReportError("Ungliger Klassenname!");
- field.value = proName;
- return false;
- }
-
- field = Inputs.item("hFile");
- if (!ValidateFileName(field.value)) {
- window.external.ReportError("Ungltiger Dateiname!");
- field.value = proName.toLowerCase() + ".h";
- return false;
- }
- field = Inputs.item("cppFile");
- if (!ValidateFileName(field.value)) {
- window.external.ReportError("Ungltiger Dateiname!");
- field.value = proName.toLowerCase() + ".cpp";
- return false;
- }
- return true;
- }
-
- function ValidateFileName(FileName) {
- if (!window.external.dte.VCLanguageManager.ValidateFileName(FileName))
- return false;
- if (FileName.search(/[\\\/\:\*\?\"\<\>\|]/g) != -1)
- return false;
- return true;
- }
-
- // If the wizard has more than 1 page, this
- // function will browse to the page specified
- //
- function Next(document, linkto) {
- if (!ValidateAndUpdate())
- return;
-
- window.external.Next(document, linkto);
- }
-
- // This is an example of a function which
- // gets called when the user clicks on 'Finish'
- //
- function OnFinish(document) {
- if (!ValidateAndUpdate())
- return;
-
-
- OnWizFinish(document);
- }
-
-</script>
-<script language="JSCRIPT" id="INCLUDE_SCRIPT"></script>
-<script language="JSCRIPT" id="INCLUDE_COMMON"></script>
-<!--
-Common.js is a script file which contains the helper functions
-used by the wizards. Include this line if you want to
-call these functions from your html scripts.
-//-->
-<script>
- var strPath = window.external.FindSymbol("PRODUCT_INSTALLATION_DIR");
- strPath += "VCWizards/";
- strPath += window.external.GetHostLocale();
- var strScriptPath = strPath + "/Script.js";
- var strCommonPath = strPath + "/Common.js";
- document.scripts("INCLUDE_SCRIPT").src = strScriptPath;
- document.scripts("INCLUDE_COMMON").src = strCommonPath;
-</script>
diff --git a/Qt4VS2003/Projects/Qt5WinCELibProject/HTML/1031/default.htm b/Qt4VS2003/Projects/Qt5WinCELibProject/HTML/1031/default.htm
deleted file mode 100644
index e896868d..00000000
--- a/Qt4VS2003/Projects/Qt5WinCELibProject/HTML/1031/default.htm
+++ /dev/null
@@ -1,570 +0,0 @@
-<html dir="ltr">
-<head>
- <title>'Qt5WinCELibProject'</title>
- <meta content="http://schemas.microsoft.com/intellisense/ie5" name="vs_targetSchema">
- <link id="LINKURL" rel="stylesheet" href="../../1033/styles.css">
- <!-- -->
- <!-- The SYMBOL tag is used to set the default values for the user-defined symbols.-->
- <!-- -->
- <symbol name="WIZARD_DIALOG_TITLE" type="text" value="Qt5 Library Project Wizard"></symbol>
- <symbol name="THREED_MODULE" type="checkbox" value="false"></symbol>
- <symbol name="AQCONTAINER_MODULE" type="checkbox" value="false"></symbol>
- <symbol name="AQSERVER_MODULE" type="checkbox" value="false"></symbol>
- <symbol name="BLUETOOTH_MODULE" type="checkbox" value="false"></symbol>
- <symbol name="CONCURRENT_MODULE" type="checkbox" value="false"></symbol>
- <symbol name="CORE_MODULE" type="checkbox" value="true"></symbol>
- <symbol name="ENGINIO_MODULE" type="checkbox" value="false"></symbol>
- <symbol name="DECLARATIVE_MODULE" type="checkbox" value="false"></symbol>
- <symbol name="GUI_MODULE" type="checkbox" value="false"></symbol>
- <symbol name="HELP_MODULE" type="checkbox" value="false"></symbol>
- <symbol name="LOCATION_MODULE" type="checkbox" value="false"></symbol>
- <symbol name="MULTIMEDIA_MODULE" type="checkbox" value="false"></symbol>
- <symbol name="MULTIMEDIAWIDGETS_MODULE" type="checkbox" value="false"></symbol>
- <symbol name="NETWORK_MODULE" type="checkbox" value="false"></symbol>
- <symbol name="NFC_MODULE" type="checkbox" value="false"></symbol>
- <symbol name="OPENGL_MODULE" type="checkbox" value="false"></symbol>
- <symbol name="POSITIONING_MODULE" type="checkbox" value="false"></symbol>
- <symbol name="PRINTSUPPORT_MODULE" type="checkbox" value="false"></symbol>
- <symbol name="QML_MODULE" type="checkbox" value="false"></symbol>
- <symbol name="QUICK_MODULE" type="checkbox" value="false"></symbol>
- <symbol name="QUICKWIDGETS_MODULE" type="checkbox" value="false"></symbol>
- <symbol name="SCRIPT_MODULE" type="checkbox" value="false"></symbol>
- <symbol name="SCRIPTTOOLS_MODULE" type="checkbox" value="false"></symbol>
- <symbol name="SENSORS_MODULE" type="checkbox" value="false"></symbol>
- <symbol name="SERIALPORT_MODULE" type="checkbox" value="false"></symbol>
- <symbol name="SQL_MODULE" type="checkbox" value="false"></symbol>
- <symbol name="SVG_MODULE" type="checkbox" value="false"></symbol>
- <symbol name="TEST_MODULE" type="checkbox" value="false"></symbol>
- <symbol name="UITOOLS_MODULE" type="checkbox" value="false"></symbol>
- <symbol name="WEBCHANNEL_MODULE" type="checkbox" value="false"></symbol>
- <symbol name="WEBKIT_MODULE" type="checkbox" value="false"></symbol>
- <symbol name="WEBKITWIDGETS_MODULE" type="checkbox" value="false"></symbol>
- <symbol name="WEBSOCKETS_MODULE" type="checkbox" value="false"></symbol>
- <symbol name="WIDGETS_MODULE" type="checkbox" value="false"></symbol>
- <symbol name="WINDOWSEXTRAS_MODULE" type="checkbox" value="false"></symbol>
- <symbol name="XML_MODULE" type="checkbox" value="false"></symbol>
- <symbol name="XMLPATTERNS_MODULE" type="checkbox" value="false"></symbol>
- <symbol name="CLASSNAME_TEXT" type="text" value=""></symbol>
- <symbol name="HFILE_TEXT" type="text" value=""></symbol>
- <symbol name="CPPFILE_TEXT" type="text" value=""></symbol>
- <symbol name="UIFILE_TEXT" type="text" value=""></symbol>
- <symbol name="STATICLIB_CHECK" type="checkbox" value="false"></symbol>
- <symbol name="APP_TYPE_SUMMARY" type="text" value="Qt5 Library Project"></symbol>
-</head>
-<body onkeypress="OnPress();" onkeydown="OnKey();" bottommargin="0" bgcolor="buttonface"
- leftmargin="0" topmargin="0" onload="InitDocument(document);" rightmargin="0">
- <table class="ONE" height="100%" cellspacing="0" cellpadding="0" width="100%" border="0">
- <colgroup>
- <col width="178">
- <col>
- <!--OPEN OF INTRODUCTORY INFORMATION TABLE//-->
- <tr valign="top">
- <td width="100%" colspan="2" height="79">
- <table class="TWO" cellspacing="0" cellpadding="0" border="0">
- <colgroup>
- <col width="12">
- <col>
- <col width="12">
- <tr>
- <td valign="top" width="12" height="12">
- &nbsp;
- </td>
- <td valign="top" height="12">
- &nbsp;
- </td>
- <td valign="top" width="12" height="12">
- &nbsp;
- </td>
- <td class="IMAGE" valign="bottom" width="110" rowspan="2">
- <div class="SMALLA" id="Layer0">
- <img class="SMALLEST" height="63" alt="" src="../../Images/Qt5WinCELibProject.jpg"
- width="63" border="0">
- </div>
- </td>
- <td valign="top" width="6" height="12" rowspan="2">
- &nbsp;
- </td>
- </tr>
- <tr>
- <td valign="top" width="12" height="65">
- &nbsp;
- </td>
- <td valign="top" height="65">
- <h4 class="HEAD" id="HEAD">
- Willkommen zum Qt5 Windows CE Bibliothekenprojektwizard</h4>
- <p class="SUBHEAD" id="SUBHEAD">
- Dieser Wizard erstellt eine einfache, dynamisch gegen Qt gebundene Bibliothek.</p>
- </td>
- <td valign="top" width="12" height="65">
- &nbsp;
- </td>
- </tr>
- <tr>
- <td class="RULE" valign="top" colspan="5" height="2">
- <table height="1" cellspacing="0" cellpadding="0" width="100%" border="0">
- <tr valign="top">
- <td width="100%" bgcolor="buttonshadow" height="1">
- <img height="1" alt="" src="../../Images/spacer.gif" width="1">
- </td>
- <td width="1" bgcolor="window" height="1">
- <img height="1" alt="" src="../../Images/spacer.gif" width="1">
- </td>
- </tr>
- </table>
- </td>
- </tr>
- </table>
- </td>
- </tr>
- <!--CLOSE OF INTRODUCTORY INFORMATION TABLE//-->
- <!--OPEN OF NAVIGATION, CONTENT, AND BUTTON TABLES//-->
- <tr valign="top">
- <td class="THREE" valign="top" width="178" height="100%">
- <!--OPEN OF NAVIGATION TABLE//-->
- <table class="THREE" cellspacing="0" cellpadding="0" border="0">
- <colgroup>
- <col width="12">
- <col width="166">
- <col width="1">
- <tr>
- <td valign="top" colspan="3" height="12">
- &nbsp;
- </td>
- </tr>
- <tr>
- <td valign="top" width="12" height="100%">
- &nbsp;
- </td>
- <td valign="top" width="165" height="100%">
- <!--OPEN OF NAVIGATIONAL LINKS//-->
- <div class="LINKSELECTED">
- <span class="VERTLINE1">
- <img height="1" alt="" src="../../Images/spacer.gif" width="1" border="0">
- </span><span class="HORILINE1">
- <table height="100%" cellspacing="0" cellpadding="0" width="167" border="0">
- <tr valign="top">
- <td class="DOTTEDLINE" height="1">
- </td>
- </tr>
- <tr valign="top">
- <td height="100%">
- <img height="28" alt="" src="../../Images/spacer.gif" width="1" border="0">
- </td>
- </tr>
- <tr valign="top">
- <td class="DOTTEDLINE" height="1">
- </td>
- </tr>
- </table>
- </span>
- <table class="LINKTEXTSELECTED" height="28" cellspacing="0" cellpadding="0" width="160"
- border="0">
- <tr valign="middle">
- <td width="156">
- <span id="Page_1" title="" onclick="Next(document, 'default.htm');" tabindex="1">bersicht</span>
- </td>
- <td width="4">
- <img height="1" src="../../Images/spacer.gif" width="4">
- </td>
- </tr>
- </table>
- </div>
- <div class="LINK">
- <table class="LINKTEXT" height="28" cellspacing="0" cellpadding="0" width="166" border="0">
- <tr valign="middle">
- <td width="162">
- <span class="ACTIVELINK" id="Page_2" title="" onclick="Next(document, 'Page_2.htm');"
- tabindex="1">Projekteinstellungen</span>
- </td>
- <td width="4">
- <img height="1" src="../../Images/spacer.gif" width="4">
- </td>
- </tr>
- </table>
- </div>
- <div class="LINK">
- <table class="LINKTEXT" height="28" cellspacing="0" cellpadding="0" width="166" border="0"
- id="Table1">
- <tr valign="middle">
- <td width="162">
- <span class="ACTIVELINK" id="Page_3" title="" onclick="Next(document, 'Page_3.htm');"
- tabindex="1">Generierte Klassen</span>
- </td>
- <td width="4">
- <img height="1" src="../../Images/spacer.gif" width="4">
- </td>
- </tr>
- </table>
- </div>
- <!--CLOSE OF NAVIGATIONAL LINKS//-->
- </td>
- <td width="1">
- <div class="VERTLINE">
- <img height="1" alt="" src="../../Images/spacer.gif" width="1" border="0">
- </div>
- </td>
- </tr>
- </table>
- <!--CLOSE OF NAVIGATION TABLE//-->
- </td>
- <td valign="top" height="100%">
- <!--OPEN OF CONTENT AND BUTTON TABLE//-->
- <table class="ONE" cellspacing="0" cellpadding="0" border="0">
- <colgroup>
- <col width="100%">
- <tr valign="top">
- <td height="100%">
- <!--OPEN OF CONTENT//-->
- <table class="CONTENT" cellspacing="0" cellpadding="0" border="0">
- <colgroup>
- <col width="12">
- <col width="185">
- <col width="12">
- <col width="185">
- <col width="12">
- <col width="185">
- <col width="12">
- <tr>
- <td valign="top" colspan="5" height="12">
- &nbsp;
- </td>
- </tr>
- <tr valign="top">
- <td valign="top" width="12">
- </td>
- <td colspan="3" valign="top">
- W&auml;hlen Sie Ihre Zielplattform:<br />
- <br />
- <p id="PLATFORM_FIELD">
- <b>Es sind keine Builds f&uuml;r Qt/CE definiert. Bitte f&uuml;gen Sie einen Build in
- den Einstellungen hinzu.</b>
- </p>
- <br />
- </td>
- <td valign="top" width="12">
- </td>
- </tr>
- <tr valign="top">
- <td valign="top" width="12">
- </td>
- <td colspan="3" valign="top">
- </td>
- <td valign="top" width="12">
- </td>
- </tr>
- <tr valign="top">
- <td valign="top" width="12">
- &nbsp;
- </td>
- <td valign="top" colspan="3">
- <p>
- <span class="ItemTextTop"></span><span class="ItemText" id="QTMODULES" title="">
- </span>
- </p>
- <p>
- <span class="ItemText" title=""></span><span class="ItemText" id="FinishText">Klicken
- Sie <b>Beenden</b> von jeder beliebigen Wizardseite um die aktuellen Einstellungen
- zu bernehmen und das Projekt zu erstellen.</span>
- </p>
- </td>
- <td valign="top" width="12">
- &nbsp;
- </td>
- </tr>
- <tr>
- <td valign="top" colspan="7" height="100%">
- &nbsp;
- </td>
- </tr>
- </table>
- <!--CLOSE OF CONTENT//-->
- </td>
- </tr>
- <tr valign="bottom">
- <td height="48">
- <!--OPEN OF BUTTON HTML//-->
- <table height="48" cellspacing="0" cellpadding="0" border="0">
- <colgroup>
- <col width="12">
- <col>
- <col width="75">
- <col width="4">
- <col width="75">
- <col width="4">
- <col width="75">
- <col width="12">
- <tr>
- <td class="RULE" valign="top" colspan="8" height="2">
- <table height="1" cellspacing="0" cellpadding="0" width="100%" border="0">
- <tr valign="top">
- </tr>
- </table>
- </td>
- </tr>
- <tr>
- <td valign="top" colspan="8" height="11">
- &nbsp;
- </td>
- </tr>
- <tr>
- <td valign="middle" width="12" height="23">
- &nbsp;
- </td>
- <td valign="top" height="23">
- &nbsp;
- </td>
- <td valign="middle" width="75" height="23">
- <button class="BUTTONS" id="FinishBtn" accesskey="B" onclick="OnFinish(document);"
- type="button">
- <u>B</u>eenden</button>
- </td>
- <td valign="middle" width="4" height="23">
- &nbsp;
- </td>
- <td valign="middle" width="75" height="23">
- <button class="BUTTONS" id="CancelBtn" accesskey="A" onclick="window.external.Finish(document, 'cancel');"
- type="button">
- <u>A</u>bbrechen</button>
- </td>
- <td valign="middle" width="4" height="23">
- &nbsp;
- </td>
- <td valign="middle" width="75" height="23">
- <button class="BUTTONS" id="HelpBtn" disabled accesskey="H" onclick="window.external.OnHelp('vc.appwiz.custom.overview');"
- type="button">
- <u>H</u>ilfe</button>
- </td>
- <td valign="middle" width="12" height="23">
- &nbsp;
- </td>
- </tr>
- <tr>
- <td valign="top" colspan="8" height="12">
- &nbsp;
- </td>
- </tr>
- </table>
- <!--CLOSE OF BUTTON HTML//-->
- </td>
- </tr>
- </table>
- <!--CLOSE OF NAVIGATION, CONTENT, AND BUTTON TABLES//-->
- </td>
- </tr>
- </table>
-</body>
-</html>
-<script language="JSCRIPT">
-
- var CEPlatformsAvailable = false;
- var QtEngine;
- var tab_array = new Array();
- tab_array[0] = Page_1;
- tab_array[1] = Page_2;
-
- // This is an example of a function which initializes the page
- //
- function InitDocument(document) {
- var dte = window.external.dte;
- var version = dte.version;
- if (version == "8.0")
- QtEngine = new ActiveXObject("Digia.Qt5ProjectEngine80");
- else if (version == "9.0")
- QtEngine = new ActiveXObject("Digia.Qt5ProjectEngine90");
- else if (version == "10.0")
- QtEngine = new ActiveXObject("Digia.Qt5ProjectEngine100");
- else if (version == "11.0")
- QtEngine = new ActiveXObject("Digia.Qt5ProjectEngine110");
- else if (version == "12.0")
- QtEngine = new ActiveXObject("Digia.Qt5ProjectEngine120");
- else {
- window.external.ReportError("Cannot instantiate QtProjectEngine object!");
- return false;
- }
-
- setDirection();
-
- if (window.external.FindSymbol('DOCUMENT_FIRST_LOAD')) {
- // This function sets the default symbols based
- // on the values specified in the SYMBOL tags above
- //
- window.external.SetDefaults(document);
- UpdateFields();
- }
-
- // Load the document and initialize the controls
- // with the appropriate symbol values
- //
- window.external.Load(document);
- InitControls();
- }
-
- function UpdateFields() {
- var regexp = /\s/g;
- var proName = window.external.FindSymbol('PROJECT_NAME').replace(regexp, "");
-
- if (!window.external.dte.VCLanguageManager.ValidateIdentifier(proName) ||
- window.external.dte.VCLanguageManager.IsReservedName(proName)) {
- window.external.AddSymbol("CLASSNAME_TEXT", "MyClass"); // fall back on myclass
- window.external.AddSymbol("HFILE_TEXT", "myclass.h");
- window.external.AddSymbol("CPPFILE_TEXT", "myclass.cpp");
- } else {
- window.external.AddSymbol("CLASSNAME_TEXT", proName);
- window.external.AddSymbol("HFILE_TEXT", proName.toLowerCase() + ".h");
- window.external.AddSymbol("CPPFILE_TEXT", proName.toLowerCase() + ".cpp");
- }
- }
-
- function InitControls() {
- var strModules = "Die momentan selektierten Qt Module sind:\r\n - ";
-
- // Essentials
- if (window.external.FindSymbol('THREED_MODULE'))
- strModules += "3D, ";
- if (window.external.FindSymbol('CORE_MODULE'))
- strModules += "Core, ";
- if (window.external.FindSymbol('GUI_MODULE'))
- strModules += "GUI, ";
- if (window.external.FindSymbol('LOCATION_MODULE'))
- strModules += "Location, ";
- if (window.external.FindSymbol('MULTIMEDIA_MODULE'))
- strModules += "Multimedia, ";
- if (window.external.FindSymbol('MULTIMEDIAWIDGETS_MODULE'))
- strModules += "Multimedia Widgets, ";
- if (window.external.FindSymbol('NETWORK_MODULE'))
- strModules += "Network, ";
- if (window.external.FindSymbol('QML_MODULE'))
- strModules += "Qml, ";
- if (window.external.FindSymbol('QUICK_MODULE'))
- strModules += "Quick, ";
- if (window.external.FindSymbol('SQL_MODULE'))
- strModules += "SQL, ";
- if (window.external.FindSymbol('TEST_MODULE'))
- strModules += "Test, ";
- if (window.external.FindSymbol('WEBKIT_MODULE'))
- strModules += "WebKit, ";
-
- // Add-ons
- // Active Qt better split to server and container
- if (window.external.FindSymbol('AQSERVER_MODULE'))
- strModules += "ActiveQt Server, ";
- if (window.external.FindSymbol('AQCONTAINER_MODULE'))
- strModules += "ActiveQt Container, ";
-
- if (window.external.FindSymbol('BLUETOOTH_MODULE'))
- strModules += "Bluetooth, ";
- if (window.external.FindSymbol('CONCURRENT_MODULE'))
- strModules += "Concurrent, ";
- if (window.external.FindSymbol('DECLARATIVE_MODULE'))
- strModules += "Declarative, ";
- if (window.external.FindSymbol('ENGINIO_MODULE'))
- strModules += "Enginio, ";
- if (window.external.FindSymbol('HELP_MODULE'))
- strModules += "Help, ";
- if (window.external.FindSymbol('NFC_MODULE'))
- strModules += "NFC, ";
- if (window.external.FindSymbol('OPENGL_MODULE'))
- strModules += "OpenGL, ";
- if (window.external.FindSymbol('POSITIONING_MODULE'))
- strModules += "Positioning, ";
- if (window.external.FindSymbol('PRINTSUPPORT_MODULE'))
- strModules += "Print Support, ";
- if (window.external.FindSymbol('QUICKWIDGETS_MODULE'))
- strModules += "Quick Widgets, ";
- if (window.external.FindSymbol('SCRIPT_MODULE'))
- strModules += "Script, ";
- if (window.external.FindSymbol('SCRIPTTOOLS_MODULE'))
- strModules += "Script Tools, ";
- if (window.external.FindSymbol('SENSORS_MODULE'))
- strModules += "Sensors, ";
- if (window.external.FindSymbol('SERIALPORT_MODULE'))
- strModules += "Serial Port, ";
- if (window.external.FindSymbol('SVG_MODULE'))
- strModules += "SVG, ";
- if (window.external.FindSymbol('UITOOLS_MODULE'))
- strModules += "UI Tools, ";
- if (window.external.FindSymbol('WEBCHANNEL_MODULE'))
- strModules += "Web Channel, ";
- if (window.external.FindSymbol('WEBKITWIDGETS_MODULE'))
- strModules += "Webkit Widgets, ";
- if (window.external.FindSymbol('WEBSOCKETS_MODULE'))
- strModules += "Web Sockets, ";
- if (window.external.FindSymbol('WIDGETS_MODULE'))
- strModules += "Widgets, ";
- if (window.external.FindSymbol('WINDOWSEXTRAS_MODULE'))
- strModules += "Windows Extras, ";
- if (window.external.FindSymbol('XML_MODULE'))
- strModules += "XML, ";
- if (window.external.FindSymbol('XMLPATTERNS_MODULE'))
- strModules += "XML Patterns, ";
-
- if (strModules.length < 1)
- strModules = "nichts selektiert";
- else
- strModules = strModules.slice(0, strModules.length - 2);
-
- strModules += "\r\n\r\nConfiguration:\r\n - "
- if (window.external.FindSymbol('STATICLIB_CHECK'))
- strModules += "Static Library";
- else
- strModules += "Dynamic Library";
-
- QTMODULES.innerText = strModules;
-
- var strHTML = '<select id="PLATFORM_COMBO" name="PLATFORM_COMBO" style="width: 360px" width="250">';
- var qtVersions = QtEngine.GetQtWinCEVersions(window.external.dte);
- var strDefaultQtWinCEVersion = QtEngine.GetDefaultWinCEVersion();
- if (qtVersions.Count > 0) {
- for (var i = 0; i < qtVersions.Count; ++i) {
- var strVersion = qtVersions.Item(i);
- var strSelected = '';
- if (strVersion == strDefaultQtWinCEVersion)
- strSelected = 'selected ';
-
- var strDisplay = QtEngine.GetWinCEPlatformName(strVersion) + ' / Qt ' + strVersion;
- strHTML += '<option ' + strSelected + 'value="' + strVersion + '">' + strDisplay + '</option>';
- }
- strHTML += '</select>';
- PLATFORM_FIELD.innerHTML = strHTML;
- CEPlatformsAvailable = true;
- } else {
- // no Qt versions for Windows CE found
- FinishBtn.disabled = true;
- Page_1.disabled = true;
- Page_2.disabled = true;
- Page_3.disabled = true;
- }
- }
-
- // If the wizard has more than 1 page, this
- // function will browse to the page specified
- //
- function Next(document, linkto) {
- if (CEPlatformsAvailable)
- window.external.Next(document, linkto);
- }
-
- // This is an example of a function which
- // gets called when the user clicks on 'Finish'
- //
- function OnFinish(document) {
- OnWizFinish(document);
- }
-
-</script>
-<script language="JSCRIPT" id="INCLUDE_SCRIPT"></script>
-<script language="JSCRIPT" id="INCLUDE_COMMON"></script>
-<!--
-Common.js is a script file which contains the helper functions
-used by the wizards. Include this line if you want to
-call these functions from your html scripts.
-//-->
-<script>
- var strPath = window.external.FindSymbol("PRODUCT_INSTALLATION_DIR");
- strPath += "VCWizards/";
- strPath += window.external.GetHostLocale();
- var strScriptPath = strPath + "/Script.js";
- var strCommonPath = strPath + "/Common.js";
- document.scripts("INCLUDE_SCRIPT").src = strScriptPath;
- document.scripts("INCLUDE_COMMON").src = strCommonPath;
-</script>
diff --git a/Qt4VS2003/Projects/Qt5WinCELibProject/HTML/1033/Page_2.htm b/Qt4VS2003/Projects/Qt5WinCELibProject/HTML/1033/Page_2.htm
deleted file mode 100644
index 09ddddac..00000000
--- a/Qt4VS2003/Projects/Qt5WinCELibProject/HTML/1033/Page_2.htm
+++ /dev/null
@@ -1,538 +0,0 @@
-<html dir="ltr">
-<head>
- <title>'Qt5WinCELibProject'</title>
- <meta content="http://schemas.microsoft.com/intellisense/ie5" name="vs_targetSchema">
- <link id="LINKURL" rel="stylesheet" href="../../1033/styles.css">
-</head>
-<body onkeypress="OnPress();" onkeydown="OnKey();" bottommargin="0" bgcolor="buttonface"
- leftmargin="0" topmargin="0" onload="InitDocument(document);" rightmargin="0">
- <table class="ONE" height="100%" cellspacing="0" cellpadding="0" width="100%" border="0">
- <colgroup>
- <col width="178">
- <col>
- <!--OPEN OF INTRODUCTORY INFORMATION TABLE//-->
- <tr valign="top">
- <td width="100%" colspan="2" height="79">
- <table class="TWO" cellspacing="0" cellpadding="0" border="0">
- <colgroup>
- <col width="12">
- <col>
- <col width="12">
- <tr>
- <td valign="top" width="12" height="12">
- &nbsp;
- </td>
- <td valign="top" height="12">
- &nbsp;
- </td>
- <td valign="top" width="12" height="12">
- &nbsp;
- </td>
- <td class="IMAGE" valign="bottom" width="110" rowspan="2">
- <div class="SMALLA" id="Layer0">
- <img class="SMALLEST" height="63" alt="" src="..\..\Images\Qt5WinCELibProject.jpg"
- width="63" border="0">
- </div>
- </td>
- <td valign="top" width="6" height="12" rowspan="2">
- &nbsp;
- </td>
- </tr>
- <tr>
- <td valign="top" width="12" height="65">
- &nbsp;
- </td>
- <td valign="top" height="65">
- <h4 class="HEAD" id="HEAD">
- Welcome to the Qt5&nbsp;Windows CE Library project wizard</h4>
- <p class="SUBHEAD" id="SUBHEAD">
- This wizard generates a skeleton&nbsp;Qt5&nbsp;library project for Windows CE. The&nbsp;library
- is linked dynamicly with Qt.</p>
- </td>
- <td valign="top" width="12" height="65">
- &nbsp;
- </td>
- </tr>
- <tr>
- <td class="RULE" valign="top" colspan="5" height="2">
- <table height="1" cellspacing="0" cellpadding="0" width="100%" border="0">
- <tr valign="top">
- <td width="100%" bgcolor="buttonshadow" height="1">
- <img height="1" alt="" src="../../Images/spacer.gif" width="1">
- </td>
- <td width="1" bgcolor="window" height="1">
- <img height="1" alt="" src="../../Images/spacer.gif" width="1">
- </td>
- </tr>
- </table>
- </td>
- </tr>
- </table>
- </td>
- </tr>
- <!--CLOSE OF INTRODUCTORY INFORMATION TABLE//-->
- <!--OPEN OF NAVIGATION, CONTENT, AND BUTTON TABLES//-->
- <tr valign="top">
- <td class="THREE" valign="top" width="178" height="100%">
- <!--OPEN OF NAVIGATION TABLE//-->
- <table class="THREE" cellspacing="0" cellpadding="0" border="0">
- <colgroup>
- <col width="12">
- <col width="166">
- <col width="1">
- <tr>
- <td valign="top" colspan="3" height="12">
- &nbsp;
- </td>
- </tr>
- <tr>
- <td valign="top" width="12" height="100%">
- &nbsp;
- </td>
- <td valign="top" width="165" height="100%">
- <!--OPEN OF NAVIGATIONAL LINKS//-->
- <div class="LINK">
- <table class="LINKTEXT" height="28" cellspacing="0" cellpadding="0" width="166" border="0">
- <tr valign="middle">
- <td width="162">
- <span class="ACTIVELINK" id="Default" title="" onclick="Next(document, 'default.htm');"
- tabindex="1">Overview</span>
- </td>
- <td width="4">
- <img height="1" src="../../Images/spacer.gif" width="4">
- </td>
- </tr>
- </table>
- </div>
- <div class="LINKSELECTED">
- <span class="VERTLINE1">
- <img height="1" alt="" src="../../Images/spacer.gif" width="1" border="0">
- </span><span class="HORILINE1">
- <table height="100%" cellspacing="0" cellpadding="0" width="167" border="0">
- <tr valign="top">
- <td class="DOTTEDLINE" height="1">
- </td>
- </tr>
- <tr valign="top">
- <td height="100%">
- <img height="28" alt="" src="../../Images/spacer.gif" width="1" border="0">
- </td>
- </tr>
- <tr valign="top">
- <td class="DOTTEDLINE" height="1">
- </td>
- </tr>
- </table>
- </span>
- <table class="LINKTEXTSELECTED" height="28" cellspacing="0" cellpadding="0" width="160"
- border="0">
- <tr valign="middle">
- <td width="162">
- <span id="Page_2" title="" onclick="Next(document, 'Page_2.htm');" tabindex="1">Project
- Settings</span>
- </td>
- <td width="4">
- <img height="1" src="../../Images/spacer.gif" width="4">
- </td>
- </tr>
- </table>
- </div>
- <div class="LINK">
- <table class="LINKTEXT" height="28" cellspacing="0" cellpadding="0" width="166" border="0"
- id="Table1">
- <tr valign="middle">
- <td width="162">
- <span class="ACTIVELINK" id="Page_3" title="" onclick="Next(document, 'Page_3.htm');"
- tabindex="1">Generated Class</span>
- </td>
- <td width="4">
- <img height="1" src="../../Images/spacer.gif" width="4">
- </td>
- </tr>
- </table>
- </div>
- <!--CLOSE OF NAVIGATIONAL LINKS//-->
- </td>
- <td width="1">
- <div class="VERTLINE">
- <img height="1" alt="" src="../../Images/spacer.gif" width="1" border="0">
- </div>
- </td>
- </tr>
- </table>
- <!--CLOSE OF NAVIGATION TABLE//-->
- </td>
- <td valign="top" height="100%">
- <!--OPEN OF CONTENT AND BUTTON TABLE//-->
- <table class="ONE" cellspacing="0" cellpadding="0" border="0">
- <colgroup>
- <col width="100%">
- <tr valign="top">
- <td valign="top" height="100%">
- <!--OPEN OF CONTENT//-->
- <table class="CONTENT" cellspacing="0" cellpadding="0" border="0">
- <colgroup>
- <tr>
- <td width="12" height="12">
- </td>
- <td height="12">
- </td>
- <td height="12">
- </td>
- <td height="12">
- </td>
- <td width="12" height="12">
- </td>
- </tr>
- <tr>
- <td valign="top" width="12">
- </td>
- <td valign="top" colspan="3">
- <p>
- Select the modules you want to include in your project. The recommended modules
- for this project are selected by default.<br>
- &nbsp;</p>
- </td>
- <td valign="top" width="12">
- </td>
- </tr>
- <tr>
- <td width="12" height="12">
- </td>
- <td height="12">
- </td>
- <td height="12">
- </td>
- <td height="12">
- </td>
- <td width="12" height="12">
- </td>
- </tr>
-<!-- {ADB367FB-48AA-488e-9102-B037297CFCDB} -->
-<!-- -->
-<!-- START. GENERATED WITH SCRIPT, DO NOT EDIT -->
-<!-- -->
-<tr><td valign="top" width="12"></td><td valign="top" colspan="3"></td><td valign="top" width="12"></td></tr>
-<tr>
-<td valign="top" width="12"></td>
-<td valign="top"><input id="THREED_MODULE" title="Select this if you want to include the 3D library" type="checkbox" name="THREED_MODULE_NAME">&nbsp;3D</td>
-<td valign="top"><input id="NETWORK_MODULE" title="Select this if you want to include the Network library" type="checkbox" name="NETWORK_MODULE_NAME">&nbsp;Network</td>
-<td valign="top"><input id="SVG_MODULE" title="Select this if you want to include the SVG library" type="checkbox" name="SVG_MODULE_NAME">&nbsp;SVG</td>
-<td valign="top" width="12"></td>
-</tr>
-<tr>
-<td valign="top" width="12"></td>
-<td valign="top"><input id="AQCONTAINER_MODULE" title="Select this if you want to include the ActiveQt container library" type="checkbox" name="AQCONTAINER_MODULE_NAME">&nbsp;ActiveQt container&nbsp;</td>
-<td valign="top"><input id="NFC_MODULE" title="Select this if you want to include the NFC library" type="checkbox" name="NFC_MODULE_NAME">&nbsp;NFC</td>
-<td valign="top"><input id="TEST_MODULE" title="Select this if you want to include the Test library" type="checkbox" name="TEST_MODULE_NAME">&nbsp;Test</td>
-<td valign="top" width="12"></td>
-</tr>
-<tr>
-<td valign="top" width="12"></td>
-<td valign="top"><input id="AQSERVER_MODULE" title="Select this if you want to include the ActiveQt server library" type="checkbox" name="AQSERVER_MODULE_NAME">&nbsp;ActiveQt&nbsp;server&nbsp;</td>
-<td valign="top"><input id="OPENGL_MODULE" title="Select this if you want to include the OpenGL library" type="checkbox" name="OPENGL_MODULE_NAME">&nbsp;OpenGL</td>
-<td valign="top"><input id="UITOOLS_MODULE" title="Select this if you want to include the UI Tools" type="checkbox" name="UITOOLS_MODULE_NAME">&nbsp;UI Tools</td>
-<td valign="top" width="12"></td>
-</tr>
-<tr>
-<td valign="top" width="12"></td>
-<td valign="top"><input id="BLUETOOTH_MODULE" title="Select this if you want to include the Bluetooth library" type="checkbox" name="BLUETOOTH_MODULE_NAME">&nbsp;Bluetooth</td>
-<td valign="top"><input id="POSITIONING_MODULE" title="Select this if you want to include the Positioning library" type="checkbox" name="POSITIONING_MODULE_NAME">&nbsp;Positioning</td>
-<td valign="top"><input id="WEBCHANNEL_MODULE" title="Select this if you want to include the Web Channel library" type="checkbox" name="WEBCHANNEL_MODULE_NAME">&nbsp;Web Channel</td>
-<td valign="top" width="12"></td>
-</tr>
-<tr>
-<td valign="top" width="12"></td>
-<td valign="top"><input id="CONCURRENT_MODULE" title="Select this if you want to include the Concurrent library" type="checkbox" name="CONCURRENT_MODULE_NAME">&nbsp;Concurrent</td>
-<td valign="top"><input id="PRINTSUPPORT_MODULE" title="Select this if you want to include the Print Support library" type="checkbox" name="PRINTSUPPORT_MODULE_NAME">&nbsp;Print Support</td>
-<td valign="top"><input id="WEBKIT_MODULE" title="Select this if you want to include the WebKit library" type="checkbox" name="WEBKIT_MODULE_NAME">&nbsp;WebKit</td>
-<td valign="top" width="12"></td>
-</tr>
-<tr>
-<td valign="top" width="12"></td>
-<td valign="top"><input id="CORE_MODULE" title="Select this if you want to include the core library" type="checkbox" name="CORE_MODULE_NAME">&nbsp;Core</td>
-<td valign="top"><input id="QML_MODULE" title="Select this if you want to include the QML library" type="checkbox" name="QML_MODULE_NAME">&nbsp;QML</td>
-<td valign="top"><input id="WEBKITWIDGETS_MODULE" title="Select this if you want to include the Webkit Widgets library" type="checkbox" name="WEBKITWIDGETS_MODULE_NAME">&nbsp;Webkit Widgets</td>
-<td valign="top" width="12"></td>
-</tr>
-<tr>
-<td valign="top" width="12"></td>
-<td valign="top"><input id="ENGINIO_MODULE" title="Select this if you want to include the Enginio library" type="checkbox" name="ENGINIO_MODULE_NAME">&nbsp;Enginio</td>
-<td valign="top"><input id="QUICK_MODULE" title="Select this if you want to include the Quick library" type="checkbox" name="QUICK_MODULE_NAME">&nbsp;Quick</td>
-<td valign="top"><input id="WEBSOCKETS_MODULE" title="Select this if you want to include the Web Sockets library" type="checkbox" name="WEBSOCKETS_MODULE_NAME">&nbsp;Web Sockets</td>
-<td valign="top" width="12"></td>
-</tr>
-<tr>
-<td valign="top" width="12"></td>
-<td valign="top"><input id="DECLARATIVE_MODULE" title="Select this if you want to include the Declarative library" type="checkbox" name="DECLARATIVE_MODULE_NAME">&nbsp;Declarative</td>
-<td valign="top"><input id="QUICKWIDGETS_MODULE" title="Select this if you want to include the Quick Widgets library" type="checkbox" name="QUICKWIDGETS_MODULE_NAME">&nbsp;Quick Widgets</td>
-<td valign="top"><input id="WIDGETS_MODULE" title="Select this if you want to include the Widgets library" type="checkbox" name="WIDGETS_MODULE_NAME">&nbsp;Widgets</td>
-<td valign="top" width="12"></td>
-</tr>
-<tr>
-<td valign="top" width="12"></td>
-<td valign="top"><input id="GUI_MODULE" title="Select this if you want to include the GUI library" type="checkbox" name="GUI_MODULE_NAME">&nbsp;GUI</td>
-<td valign="top"><input id="SCRIPT_MODULE" title="Select this if you want to include the Script library" type="checkbox" name="SCRIPT_MODULE_NAME">&nbsp;Script</td>
-<td valign="top"><input id="WINDOWSEXTRAS_MODULE" title="Select this if you want to include the Windows Extras library" type="checkbox" name="WINDOWSEXTRAS_MODULE_NAME">&nbsp;Windows Extras</td>
-<td valign="top" width="12"></td>
-</tr>
-<tr>
-<td valign="top" width="12"></td>
-<td valign="top"><input id="HELP_MODULE" title="Select this if you want to include the Help library" type="checkbox" name="HELP_MODULE_NAME">&nbsp;Help</td>
-<td valign="top"><input id="SCRIPTTOOLS_MODULE" title="Select this if you want to include the Script Tools" type="checkbox" name="SCRIPTTOOLS_MODULE_NAME">&nbsp;Script Tools</td>
-<td valign="top"><input id="XML_MODULE" title="Select this if you want to include the XML library" type="checkbox" name="XML_MODULE_NAME">&nbsp;XML</td>
-<td valign="top" width="12"></td>
-</tr>
-<tr>
-<td valign="top" width="12"></td>
-<td valign="top"><input id="LOCATION_MODULE" title="Select this if you want to include the Location library" type="checkbox" name="LOCATION_MODULE_NAME">&nbsp;Location</td>
-<td valign="top"><input id="SENSORS_MODULE" title="Select this if you want to include the Sensors library" type="checkbox" name="SENSORS_MODULE_NAME">&nbsp;Sensors</td>
-<td valign="top"><input id="XMLPATTERNS_MODULE" title="Select this if you want to include the XML Patterns library" type="checkbox" name="XMLPATTERNS_MODULE_NAME">&nbsp;XML Patterns</td>
-<td valign="top" width="12"></td>
-</tr>
-<tr>
-<td valign="top" width="12"></td>
-<td valign="top"><input id="MULTIMEDIA_MODULE" title="Select this if you want to include the Multimedia library" type="checkbox" name="MULTIMEDIA_MODULE_NAME">&nbsp;Multimedia</td>
-<td valign="top"><input id="SERIALPORT_MODULE" title="Select this if you want to include the Serial Port library" type="checkbox" name="SERIALPORT_MODULE_NAME">&nbsp;Serial Port</td>
-<td valign="top" width="12"></td>
-<td valign="top" width="12"></td>
-</tr>
-<tr>
-<td valign="top" width="12"></td>
-<td valign="top"><input id="MULTIMEDIAWIDGETS_MODULE" title="Select this if you want to include the Multimedia Widgets library" type="checkbox" name="MULTIMEDIAWIDGETS_MODULE_NAME">&nbsp;Multimedia Widgets</td>
-<td valign="top"><input id="SQL_MODULE" title="Select this if you want to include the SQL library" type="checkbox" name="SQL_MODULE_NAME">&nbsp;SQL</td>
-<td valign="top" width="12"></td>
-<td valign="top" width="12"></td>
-</tr>
-<!-- -->
-<!-- END. GENERATED WITH SCRIPT, DO NOT EDIT -->
-<!-- -->
-<!-- {ADB367FB-48AA-488e-9102-B037297CFCDB} -->
-
-
-
-
- <tr>
- <td valign="top" width="12">
- </td>
- <td valign="top" colspan="3">
- <p>
- &nbsp;</p>
- </td>
- <td valign="top" width="12">
- </td>
- </tr>
- <tr>
- <td valign="top" width="12" height="100%">
- </td>
- <td valign="top" height="100%">
- </td>
- <td valign="top" height="100%">
- </td>
- <td valign="top" height="100%">
- </td>
- <td valign="top" width="12" height="100%">
- </td>
- </tr>
- </table>
- <!--CLOSE OF CONTENT//-->
- </TD> </TR>
- <tr valign="bottom">
- <td height="48">
- <!--OPEN OF BUTTON HTML//-->
- <table height="48" cellspacing="0" cellpadding="0" border="0">
- <colgroup>
- <col width="12">
- <col>
- <col width="75">
- <col width="4">
- <col width="75">
- <col width="4">
- <col width="75">
- <col width="12">
- <tr>
- <td class="RULE" valign="top" colspan="8" height="2">
- <table height="1" cellspacing="0" cellpadding="0" width="100%" border="0">
- <tr valign="top">
- </tr>
- </table>
- </td>
- </tr>
- <tr>
- <td valign="top" colspan="8" height="11">
- &nbsp;
- </td>
- </tr>
- <tr>
- <td valign="middle" width="12" height="23">
- &nbsp;
- </td>
- <td valign="top" height="23">
- &nbsp;
- </td>
- <td valign="middle" width="75" height="23">
- <button class="BUTTONS" id="FinishBtn" accesskey="F" onclick="OnFinish(document);"
- type="button">
- <u>F</u>inish</button>
- </td>
- <td valign="middle" width="4" height="23">
- &nbsp;
- </td>
- <td valign="middle" width="75" height="23">
- <button class="BUTTONS" id="CancelBtn" accesskey="C" onclick="window.external.Finish(document, 'cancel');"
- type="button">
- <u>C</u>ancel</button>
- </td>
- <td valign="middle" width="4" height="23">
- &nbsp;
- </td>
- <td valign="middle" width="75" height="23">
- <button class="BUTTONS" id="HelpBtn" disabled accesskey="H" onclick="window.external.OnHelp('vc.appwiz.custom.overview');"
- type="button">
- <u>H</u>elp</button>
- </td>
- <td valign="middle" width="12" height="23">
- &nbsp;
- </td>
- </tr>
- <tr>
- <td valign="top" colspan="8" height="12">
- &nbsp;
- </td>
- </tr>
- </table>
- <!--CLOSE OF BUTTON HTML//-->
- </td>
- </tr>
- </TABLE>
- <!--CLOSE OF NAVIGATION, CONTENT, AND BUTTON TABLES//-->
- </TD> </TR> </TABLE>
-</body>
-</html>
-<script language="JSCRIPT">
-
- var QtEngine;
- var tab_array = new Array();
- tab_array[0] = Default;
- tab_array[1] = Page_2;
-
- // This is an example of a function which initializes the page
- //
- function InitDocument(document) {
- var dte = window.external.dte;
- var version = dte.version;
- if (version == "8.0")
- QtEngine = new ActiveXObject("Digia.Qt5ProjectEngine80");
- else if (version == "9.0")
- QtEngine = new ActiveXObject("Digia.Qt5ProjectEngine90");
- else if (version == "10.0")
- QtEngine = new ActiveXObject("Digia.Qt5ProjectEngine100");
- else if (version == "11.0")
- QtEngine = new ActiveXObject("Digia.Qt5ProjectEngine110");
- else if (version == "12.0")
- QtEngine = new ActiveXObject("Digia.Qt5ProjectEngine120");
- else {
- window.external.ReportError("Cannot instantiate QtProjectEngine object!");
- return false;
- }
-
- setDirection();
- if (window.external.FindSymbol('DOCUMENT_FIRST_LOAD')) {
- // This function sets the default symbols based
- // on the values specified in the SYMBOL tags above
- //
- window.external.SetDefaults(document);
- }
- // Load the document and initialize the controls
- // with the appropriate symbol values
- //
- window.external.Load(document);
-
- // Disable Essential modules which are not installed (Should not found any?)
- DisableUninstalled(THREED_MODULE_NAME, "Qt3D", QtEngine);
- DisableUninstalled(CORE_MODULE_NAME, "QtCore", QtEngine);
- DisableUninstalled(GUI_MODULE_NAME, "QtGui", QtEngine);
- DisableUninstalled(LOCATION_MODULE_NAME, "QtLocation", QtEngine);
- DisableUninstalled(MULTIMEDIA_MODULE_NAME, "QtMultimedia", QtEngine);
- DisableUninstalled(MULTIMEDIAWIDGETS_MODULE_NAME, "QtMultimediaWidgets", QtEngine);
- DisableUninstalled(NETWORK_MODULE_NAME, "QtNetwork", QtEngine);
- DisableUninstalled(QML_MODULE_NAME, "QtQml", QtEngine);
- DisableUninstalled(QUICK_MODULE_NAME, "QtQuick", QtEngine);
- DisableUninstalled(SQL_MODULE_NAME, "QtSql", QtEngine);
- DisableUninstalled(TEST_MODULE_NAME, "QtTest", QtEngine);
- DisableUninstalled(WEBKIT_MODULE_NAME, "QtWebkit", QtEngine);
-
- // Disable Add-on modules which are not installed
- DisableUninstalled(AQCONTAINER_MODULE_NAME, "QtAxContainer", QtEngine);
- DisableUninstalled(AQSERVER_MODULE_NAME, "QtAxServer", QtEngine);
- DisableUninstalled(BLUETOOTH_MODULE_NAME, "QtBluetooth", QtEngine);
- DisableUninstalled(CONCURRENT_MODULE_NAME, "QtConcurrent", QtEngine);
- DisableUninstalled(DECLARATIVE_MODULE_NAME, "QtDeclarative", QtEngine);
- DisableUninstalled(ENGINIO_MODULE_NAME, "Enginio", QtEngine);
- DisableUninstalled(HELP_MODULE_NAME, "QtHelp", QtEngine);
- DisableUninstalled(NFC_MODULE_NAME, "QtNfc", QtEngine);
- DisableUninstalled(OPENGL_MODULE_NAME, "QtOpenGL", QtEngine);
- DisableUninstalled(POSITIONING_MODULE_NAME, "QtPositioning", QtEngine);
- DisableUninstalled(PRINTSUPPORT_MODULE_NAME, "QtPrintSupport", QtEngine);
- DisableUninstalled(QUICKWIDGETS_MODULE_NAME, "QtQuickWidgets", QtEngine);
- DisableUninstalled(SCRIPT_MODULE_NAME, "QtScript", QtEngine);
- DisableUninstalled(SCRIPTTOOLS_MODULE_NAME, "QtScriptTools", QtEngine);
- DisableUninstalled(SENSORS_MODULE_NAME, "QtSensors", QtEngine);
- DisableUninstalled(SERIALPORT_MODULE_NAME, "QtSerialPort", QtEngine);
- DisableUninstalled(SVG_MODULE_NAME, "QtSvg", QtEngine);
- DisableUninstalled(UITOOLS_MODULE_NAME, "QtUiTools", QtEngine);
- DisableUninstalled(WEBCHANNEL_MODULE_NAME, "QtWebChannel", QtEngine);
- DisableUninstalled(WEBKITWIDGETS_MODULE_NAME, "QtWebkitWidgets", QtEngine);
- DisableUninstalled(WEBSOCKETS_MODULE_NAME, "QtWebSockets", QtEngine);
- DisableUninstalled(WIDGETS_MODULE_NAME, "QtWidgets", QtEngine);
- DisableUninstalled(WINDOWSEXTRAS_MODULE_NAME, "QtWinExtras", QtEngine);
- DisableUninstalled(XML_MODULE_NAME, "QtXml", QtEngine);
- DisableUninstalled(XMLPATTERNS_MODULE_NAME, "QtXmlPatterns", QtEngine);
-
- // Disable these cause mandatory for this wizard
- CORE_MODULE_NAME.disabled = true;
- }
-
- function DisableUninstalled(element, lib_name, engine) {
- var not_installed = !engine.IsModuleInstalled(lib_name);
- element.disabled = not_installed;
- if (not_installed) {
- element.title = ""; // Not installed so don't show title
- element.parentNode.className = "addon_disabled"; ;
- }
- return not_installed;
- }
-
- // If the wizard has more than 1 page, this
- // function will browse to the page specified
- //
- function Next(document, linkto) {
- CORE_MODULE_NAME.disabled = false;
- window.external.Next(document, linkto);
- }
-
- // This is an example of a function which
- // gets called when the user clicks on 'Finish'
- //
- function OnFinish(document) {
- CORE_MODULE_NAME.disabled = false;
- OnWizFinish(document);
- }
-
-</script>
-<script language="JSCRIPT" id="INCLUDE_SCRIPT"></script>
-<script language="JSCRIPT" id="INCLUDE_COMMON"></script>
-<!--
-Common.js is a script file which contains the helper functions
-used by the wizards. Include this line if you want to
-call these functions from your html scripts.
-//-->
-<script>
- var strPath = window.external.FindSymbol("PRODUCT_INSTALLATION_DIR");
- strPath += "VCWizards/";
- strPath += window.external.GetHostLocale();
- var strScriptPath = strPath + "/Script.js";
- var strCommonPath = strPath + "/Common.js";
- document.scripts("INCLUDE_SCRIPT").src = strScriptPath;
- document.scripts("INCLUDE_COMMON").src = strCommonPath;
-</script>
diff --git a/Qt4VS2003/Projects/Qt5WinCELibProject/HTML/1033/Page_3.htm b/Qt4VS2003/Projects/Qt5WinCELibProject/HTML/1033/Page_3.htm
deleted file mode 100644
index 48b22e45..00000000
--- a/Qt4VS2003/Projects/Qt5WinCELibProject/HTML/1033/Page_3.htm
+++ /dev/null
@@ -1,431 +0,0 @@
-<html dir="ltr">
-<head>
- <title>'Qt5WinCELibProject'</title>
- <meta content="http://schemas.microsoft.com/intellisense/ie5" name="vs_targetSchema">
- <link id="LINKURL" rel="stylesheet" href="../../1033/styles.css">
-</head>
-<body onkeypress="OnPress();" onkeydown="OnKey();" bottommargin="0" bgcolor="buttonface"
- leftmargin="0" topmargin="0" onload="InitDocument(document);" rightmargin="0">
- <table class="ONE" height="100%" cellspacing="0" cellpadding="0" width="100%" border="0">
- <colgroup>
- <col width="178">
- <col>
- <!--OPEN OF INTRODUCTORY INFORMATION TABLE//-->
- <tr valign="top">
- <td width="100%" colspan="2" height="79">
- <table class="TWO" cellspacing="0" cellpadding="0" border="0">
- <colgroup>
- <col width="12">
- <col>
- <col width="12">
- <tr>
- <td valign="top" width="12" height="12">
- &nbsp;
- </td>
- <td valign="top" height="12">
- &nbsp;
- </td>
- <td valign="top" width="12" height="12">
- &nbsp;
- </td>
- <td class="IMAGE" valign="bottom" width="110" rowspan="2">
- <div class="SMALLA" id="Layer0">
- <img class="SMALLEST" height="63" alt="" src="..\..\Images\Qt5WinCELibProject.jpg"
- width="63" border="0">
- </div>
- </td>
- <td valign="top" width="6" height="12" rowspan="2">
- &nbsp;
- </td>
- </tr>
- <tr>
- <td valign="top" width="12" height="65">
- &nbsp;
- </td>
- <td valign="top" height="65">
- <h4 class="HEAD" id="HEAD">
- Welcome to the Qt5&nbsp;Windows CE Library project wizard</h4>
- <p class="SUBHEAD" id="SUBHEAD">
- This wizard generates a skeleton&nbsp;Qt5&nbsp;library project for Windows CE. The&nbsp;library
- is linked dynamicly with Qt.</p>
- </td>
- <td valign="top" width="12" height="65">
- &nbsp;
- </td>
- </tr>
- <tr>
- <td class="RULE" valign="top" colspan="5" height="2">
- <table height="1" cellspacing="0" cellpadding="0" width="100%" border="0">
- <tr valign="top">
- <td width="100%" bgcolor="buttonshadow" height="1">
- <img height="1" alt="" src="../../Images/spacer.gif" width="1">
- </td>
- <td width="1" bgcolor="window" height="1">
- <img height="1" alt="" src="../../Images/spacer.gif" width="1">
- </td>
- </tr>
- </table>
- </td>
- </tr>
- </table>
- </td>
- </tr>
- <!--CLOSE OF INTRODUCTORY INFORMATION TABLE//-->
- <!--OPEN OF NAVIGATION, CONTENT, AND BUTTON TABLES//-->
- <tr valign="top">
- <td class="THREE" valign="top" width="178" height="100%">
- <!--OPEN OF NAVIGATION TABLE//-->
- <table class="THREE" cellspacing="0" cellpadding="0" border="0">
- <colgroup>
- <col width="12">
- <col width="166">
- <col width="1">
- <tr>
- <td valign="top" colspan="3" height="12">
- &nbsp;
- </td>
- </tr>
- <tr>
- <td valign="top" width="12" height="100%">
- &nbsp;
- </td>
- <td valign="top" width="165" height="100%">
- <!--OPEN OF NAVIGATIONAL LINKS//-->
- <div class="LINK">
- <table class="LINKTEXT" height="28" cellspacing="0" cellpadding="0" width="166" border="0">
- <tr valign="middle">
- <td width="162">
- <span class="ACTIVELINK" id="Page_1" title="" onclick="Next(document, 'default.htm');"
- tabindex="1">Overview</span>
- </td>
- <td width="4">
- <img height="1" src="../../Images/spacer.gif" width="4">
- </td>
- </tr>
- </table>
- </div>
- <div class="LINK">
- <table class="LINKTEXT" height="28" cellspacing="0" cellpadding="0" width="166" border="0"
- id="Table1">
- <tr valign="middle">
- <td width="162">
- <span class="ACTIVELINK" id="Page_2" title="" onclick="Next(document, 'Page_2.htm');"
- tabindex="1">Project Settings</span>
- </td>
- <td width="4">
- <img height="1" src="../../Images/spacer.gif" width="4">
- </td>
- </tr>
- </table>
- </div>
- <div class="LINKSELECTED">
- <span class="VERTLINE1">
- <img height="1" alt="" src="../../Images/spacer.gif" width="1" border="0">
- </span><span class="HORILINE1">
- <table height="100%" cellspacing="0" cellpadding="0" width="167" border="0">
- <tr valign="top">
- <td class="DOTTEDLINE" height="1">
- </td>
- </tr>
- <tr valign="top">
- <td height="100%">
- <img height="28" alt="" src="../../Images/spacer.gif" width="1" border="0">
- </td>
- </tr>
- <tr valign="top">
- <td class="DOTTEDLINE" height="1">
- </td>
- </tr>
- </table>
- </span>
- <table class="LINKTEXTSELECTED" height="28" cellspacing="0" cellpadding="0" width="160"
- border="0">
- <tr valign="middle">
- <td width="162">
- <span id="Page_3" title="" onclick="Next(document, 'Page_2.htm');" tabindex="1">Generated
- Class</span>
- </td>
- <td width="4">
- <img height="1" src="../../Images/spacer.gif" width="4">
- </td>
- </tr>
- </table>
- </div>
- <!--CLOSE OF NAVIGATIONAL LINKS//-->
- </td>
- <td width="1">
- <div class="VERTLINE">
- <img height="1" alt="" src="../../Images/spacer.gif" width="1" border="0">
- </div>
- </td>
- </tr>
- </table>
- <!--CLOSE OF NAVIGATION TABLE//-->
- </td>
- <td valign="top" height="100%">
- <!--OPEN OF CONTENT AND BUTTON TABLE//-->
- <table class="ONE" cellspacing="0" cellpadding="0" border="0">
- <colgroup>
- <col width="100%">
- <tr valign="top">
- <td valign="top" height="100%">
- <!--OPEN OF CONTENT//-->
- <table class="CONTENT" cellspacing="0" cellpadding="0" border="0">
- <colgroup>
- <tr>
- <td width="12" height="12">
- </td>
- <td height="12">
- </td>
- <td height="12">
- </td>
- <td width="12" height="12">
- </td>
- </tr>
- <tr>
- <td valign="top" width="12">
- </td>
- <td valign="top">
- Class name:
- </td>
- <td valign="top">
- .h&nbsp;file:
- </td>
- <td valign="top" width="12">
- </td>
- </tr>
- <tr>
- <td valign="top" width="12">
- </td>
- <td valign="top">
- <input id="CLASSNAME_TEXT" type="text" name="className" onpropertychange="ClassNameChanged();">
- </td>
- <td valign="top">
- <input id="HFILE_TEXT" type="text" name="hFile">
- </td>
- <td valign="top" width="12">
- </td>
- </tr>
- <tr>
- <td valign="top" width="12">
- </td>
- <td valign="top">
- </td>
- <td valign="top">
- <p>
- .cpp&nbsp;file:</p>
- </td>
- <td valign="top" width="12">
- </td>
- </tr>
- <tr>
- <td valign="top" width="12">
- </td>
- <td valign="top">
- </td>
- <td valign="top">
- <input id="CPPFILE_TEXT" type="text" name="cppFile">
- </td>
- <td valign="top" width="12">
- </td>
- </tr>
- <tr>
- <td width="12" height="24">
- </td>
- <td height="12" colspan="2">
- <input id="PRECOMPILED_HEADERS" title="Use Precompiled Headers" type="checkbox" name="precompiledHeaders">Use
- Precompiled Headers
- </td>
- <td width="12" height="12">
- </td>
- </tr>
- <tr>
- <td valign="top" width="12" height="100%">
- </td>
- <td valign="top" height="100%">
- </td>
- <td valign="top" height="100%">
- </td>
- <td valign="top" width="12" height="100%">
- </td>
- </tr>
- </table>
- <!--CLOSE OF CONTENT//-->
- </td>
- </tr>
- <tr valign="bottom">
- <td height="48">
- <!--OPEN OF BUTTON HTML//-->
- <table height="48" cellspacing="0" cellpadding="0" border="0">
- <colgroup>
- <col width="12">
- <col>
- <col width="75">
- <col width="4">
- <col width="75">
- <col width="4">
- <col width="75">
- <col width="12">
- <tr>
- <td class="RULE" valign="top" colspan="8" height="2">
- <table height="1" cellspacing="0" cellpadding="0" width="100%" border="0">
- <tr valign="top">
- </tr>
- </table>
- </td>
- </tr>
- <tr>
- <td valign="top" colspan="8" height="11">
- &nbsp;
- </td>
- </tr>
- <tr>
- <td valign="middle" width="12" height="23">
- &nbsp;
- </td>
- <td valign="top" height="23">
- &nbsp;
- </td>
- <td valign="middle" width="75" height="23">
- <button class="BUTTONS" id="FinishBtn" accesskey="F" onclick="OnFinish(document);"
- type="button">
- <u>F</u>inish</button>
- </td>
- <td valign="middle" width="4" height="23">
- &nbsp;
- </td>
- <td valign="middle" width="75" height="23">
- <button class="BUTTONS" id="CancelBtn" accesskey="C" onclick="window.external.Finish(document, 'cancel');"
- type="button">
- <u>C</u>ancel</button>
- </td>
- <td valign="middle" width="4" height="23">
- &nbsp;
- </td>
- <td valign="middle" width="75" height="23">
- <button class="BUTTONS" id="HelpBtn" disabled accesskey="H" onclick="window.external.OnHelp('vc.appwiz.custom.overview');"
- type="button">
- <u>H</u>elp</button>
- </td>
- <td valign="middle" width="12" height="23">
- &nbsp;
- </td>
- </tr>
- <tr>
- <td valign="top" colspan="8" height="12">
- &nbsp;
- </td>
- </tr>
- </table>
- <!--CLOSE OF BUTTON HTML//-->
- </td>
- </tr>
- </table>
- <!--CLOSE OF NAVIGATION, CONTENT, AND BUTTON TABLES//-->
- </td>
- </tr>
- </table>
-</body>
-</html>
-<script language="JSCRIPT">
-
- var tab_array = new Array();
- tab_array[0] = Page_1;
- tab_array[1] = Page_2;
-
- // This is an example of a function which initializes the page
- //
- function InitDocument(document) {
- setDirection();
-
- if (window.external.FindSymbol('DOCUMENT_FIRST_LOAD')) {
- // This function sets the default symbols based
- // on the values specified in the SYMBOL tags above
- //
- window.external.SetDefaults(document);
- }
-
- // Load the document and initialize the controls
- // with the appropriate symbol values
- //
- window.external.Load(document);
- }
-
- function ClassNameChanged() {
- HFILE_TEXT.value = CLASSNAME_TEXT.value.toLowerCase() + ".h";
- CPPFILE_TEXT.value = CLASSNAME_TEXT.value.toLowerCase() + ".cpp";
- }
-
- function ValidateAndUpdate() {
- var Inputs = document.all.tags("INPUT");
-
- var regexp = /\s/g;
- var proName = window.external.FindSymbol('PROJECT_NAME').replace(regexp, "");
-
- var field = Inputs.item("className");
- if (!window.external.dte.VCLanguageManager.ValidateIdentifier(field.value) ||
- window.external.dte.VCLanguageManager.IsReservedName(field.value)) {
- window.external.ReportError("Not a valid class name!");
- field.value = proName;
- return false;
- }
- field = Inputs.item("hFile");
- if (!ValidateFileName(field.value)) {
- window.external.ReportError("Not a valid file name!");
- field.value = proName.toLowerCase() + ".h";
- return false;
- }
- field = Inputs.item("cppFile");
- if (!ValidateFileName(field.value)) {
- window.external.ReportError("Not a valid file name!");
- field.value = proName.toLowerCase() + ".cpp";
- return false;
- }
- return true;
- }
-
- function ValidateFileName(FileName) {
- if (!window.external.dte.VCLanguageManager.ValidateFileName(FileName))
- return false;
- if (FileName.search(/[\\\/\:\*\?\"\<\>\|]/g) != -1)
- return false;
- return true;
- }
-
- // If the wizard has more than 1 page, this
- // function will browse to the page specified
- //
- function Next(document, linkto) {
- if (!ValidateAndUpdate())
- return;
-
- window.external.Next(document, linkto);
- }
-
- // This is an example of a function which
- // gets called when the user clicks on 'Finish'
- //
- function OnFinish(document) {
- if (!ValidateAndUpdate())
- return;
-
- OnWizFinish(document);
- }
-
-</script>
-<script language="JSCRIPT" id="INCLUDE_SCRIPT"></script>
-<script language="JSCRIPT" id="INCLUDE_COMMON"></script>
-<!--
-Common.js is a script file which contains the helper functions
-used by the wizards. Include this line if you want to
-call these functions from your html scripts.
-//-->
-<script>
- var strPath = window.external.FindSymbol("PRODUCT_INSTALLATION_DIR");
- strPath += "VCWizards/";
- strPath += window.external.GetHostLocale();
- var strScriptPath = strPath + "/Script.js";
- var strCommonPath = strPath + "/Common.js";
- document.scripts("INCLUDE_SCRIPT").src = strScriptPath;
- document.scripts("INCLUDE_COMMON").src = strCommonPath;
-</script>
diff --git a/Qt4VS2003/Projects/Qt5WinCELibProject/HTML/1033/default.htm b/Qt4VS2003/Projects/Qt5WinCELibProject/HTML/1033/default.htm
deleted file mode 100644
index ae8a3f47..00000000
--- a/Qt4VS2003/Projects/Qt5WinCELibProject/HTML/1033/default.htm
+++ /dev/null
@@ -1,570 +0,0 @@
-<html dir="ltr">
-<head>
- <title>'Qt5WinCELibProject'</title>
- <meta content="http://schemas.microsoft.com/intellisense/ie5" name="vs_targetSchema">
- <link id="LINKURL" rel="stylesheet" href="../../1033/styles.css">
- <!-- -->
- <!-- The SYMBOL tag is used to set the default values for the user-defined symbols.-->
- <!-- -->
- <symbol name="WIZARD_DIALOG_TITLE" type="text" value="Qt5 Library Project Wizard"></symbol>
- <symbol name="THREED_MODULE" type="checkbox" value="false"></symbol>
- <symbol name="AQCONTAINER_MODULE" type="checkbox" value="false"></symbol>
- <symbol name="AQSERVER_MODULE" type="checkbox" value="false"></symbol>
- <symbol name="BLUETOOTH_MODULE" type="checkbox" value="false"></symbol>
- <symbol name="CONCURRENT_MODULE" type="checkbox" value="false"></symbol>
- <symbol name="CORE_MODULE" type="checkbox" value="true"></symbol>
- <symbol name="ENGINIO_MODULE" type="checkbox" value="false"></symbol>
- <symbol name="DECLARATIVE_MODULE" type="checkbox" value="false"></symbol>
- <symbol name="GUI_MODULE" type="checkbox" value="false"></symbol>
- <symbol name="HELP_MODULE" type="checkbox" value="false"></symbol>
- <symbol name="LOCATION_MODULE" type="checkbox" value="false"></symbol>
- <symbol name="MULTIMEDIA_MODULE" type="checkbox" value="false"></symbol>
- <symbol name="MULTIMEDIAWIDGETS_MODULE" type="checkbox" value="false"></symbol>
- <symbol name="NETWORK_MODULE" type="checkbox" value="false"></symbol>
- <symbol name="NFC_MODULE" type="checkbox" value="false"></symbol>
- <symbol name="OPENGL_MODULE" type="checkbox" value="false"></symbol>
- <symbol name="POSITIONING_MODULE" type="checkbox" value="false"></symbol>
- <symbol name="PRINTSUPPORT_MODULE" type="checkbox" value="false"></symbol>
- <symbol name="QML_MODULE" type="checkbox" value="false"></symbol>
- <symbol name="QUICK_MODULE" type="checkbox" value="false"></symbol>
- <symbol name="QUICKWIDGETS_MODULE" type="checkbox" value="false"></symbol>
- <symbol name="SCRIPT_MODULE" type="checkbox" value="false"></symbol>
- <symbol name="SCRIPTTOOLS_MODULE" type="checkbox" value="false"></symbol>
- <symbol name="SENSORS_MODULE" type="checkbox" value="false"></symbol>
- <symbol name="SERIALPORT_MODULE" type="checkbox" value="false"></symbol>
- <symbol name="SQL_MODULE" type="checkbox" value="false"></symbol>
- <symbol name="SVG_MODULE" type="checkbox" value="false"></symbol>
- <symbol name="TEST_MODULE" type="checkbox" value="false"></symbol>
- <symbol name="UITOOLS_MODULE" type="checkbox" value="false"></symbol>
- <symbol name="WEBCHANNEL_MODULE" type="checkbox" value="false"></symbol>
- <symbol name="WEBKIT_MODULE" type="checkbox" value="false"></symbol>
- <symbol name="WEBKITWIDGETS_MODULE" type="checkbox" value="false"></symbol>
- <symbol name="WEBSOCKETS_MODULE" type="checkbox" value="false"></symbol>
- <symbol name="WIDGETS_MODULE" type="checkbox" value="false"></symbol>
- <symbol name="WINDOWSEXTRAS_MODULE" type="checkbox" value="false"></symbol>
- <symbol name="XML_MODULE" type="checkbox" value="false"></symbol>
- <symbol name="XMLPATTERNS_MODULE" type="checkbox" value="false"></symbol>
- <symbol name="CLASSNAME_TEXT" type="text" value=""></symbol>
- <symbol name="HFILE_TEXT" type="text" value=""></symbol>
- <symbol name="CPPFILE_TEXT" type="text" value=""></symbol>
- <symbol name="UIFILE_TEXT" type="text" value=""></symbol>
- <symbol name="STATICLIB_CHECK" type="checkbox" value="false"></symbol>
- <symbol name="APP_TYPE_SUMMARY" type="text" value="Qt5 Library Project"></symbol>
-</head>
-<body onkeypress="OnPress();" onkeydown="OnKey();" bottommargin="0" bgcolor="buttonface"
- leftmargin="0" topmargin="0" onload="InitDocument(document);" rightmargin="0">
- <table class="ONE" height="100%" cellspacing="0" cellpadding="0" width="100%" border="0">
- <colgroup>
- <col width="178">
- <col>
- <!--OPEN OF INTRODUCTORY INFORMATION TABLE//-->
- <tr valign="top">
- <td width="100%" colspan="2" height="79">
- <table class="TWO" cellspacing="0" cellpadding="0" border="0">
- <colgroup>
- <col width="12">
- <col>
- <col width="12">
- <tr>
- <td valign="top" width="12" height="12">
- &nbsp;
- </td>
- <td valign="top" height="12">
- &nbsp;
- </td>
- <td valign="top" width="12" height="12">
- &nbsp;
- </td>
- <td class="IMAGE" valign="bottom" width="110" rowspan="2">
- <div class="SMALLA" id="Layer0">
- <img class="SMALLEST" height="63" alt="" src="../../Images/Qt5WinCELibProject.jpg"
- width="63" border="0">
- </div>
- </td>
- <td valign="top" width="6" height="12" rowspan="2">
- &nbsp;
- </td>
- </tr>
- <tr>
- <td valign="top" width="12" height="65">
- &nbsp;
- </td>
- <td valign="top" height="65">
- <h4 class="HEAD" id="HEAD">
- Welcome to the Qt5&nbsp;Windows CE Library project wizard</h4>
- <p class="SUBHEAD" id="SUBHEAD">
- This wizard generates a skeleton&nbsp;Qt5&nbsp;library project for Windows CE. The&nbsp;library
- is linked dynamicly with Qt.</p>
- </td>
- <td valign="top" width="12" height="65">
- &nbsp;
- </td>
- </tr>
- <tr>
- <td class="RULE" valign="top" colspan="5" height="2">
- <table height="1" cellspacing="0" cellpadding="0" width="100%" border="0">
- <tr valign="top">
- <td width="100%" bgcolor="buttonshadow" height="1">
- <img height="1" alt="" src="../../Images/spacer.gif" width="1">
- </td>
- <td width="1" bgcolor="window" height="1">
- <img height="1" alt="" src="../../Images/spacer.gif" width="1">
- </td>
- </tr>
- </table>
- </td>
- </tr>
- </table>
- </td>
- </tr>
- <!--CLOSE OF INTRODUCTORY INFORMATION TABLE//-->
- <!--OPEN OF NAVIGATION, CONTENT, AND BUTTON TABLES//-->
- <tr valign="top">
- <td class="THREE" valign="top" width="178" height="100%">
- <!--OPEN OF NAVIGATION TABLE//-->
- <table class="THREE" cellspacing="0" cellpadding="0" border="0">
- <colgroup>
- <col width="12">
- <col width="166">
- <col width="1">
- <tr>
- <td valign="top" colspan="3" height="12">
- &nbsp;
- </td>
- </tr>
- <tr>
- <td valign="top" width="12" height="100%">
- &nbsp;
- </td>
- <td valign="top" width="165" height="100%">
- <!--OPEN OF NAVIGATIONAL LINKS//-->
- <div class="LINKSELECTED">
- <span class="VERTLINE1">
- <img height="1" alt="" src="../../Images/spacer.gif" width="1" border="0">
- </span><span class="HORILINE1">
- <table height="100%" cellspacing="0" cellpadding="0" width="167" border="0">
- <tr valign="top">
- <td class="DOTTEDLINE" height="1">
- </td>
- </tr>
- <tr valign="top">
- <td height="100%">
- <img height="28" alt="" src="../../Images/spacer.gif" width="1" border="0">
- </td>
- </tr>
- <tr valign="top">
- <td class="DOTTEDLINE" height="1">
- </td>
- </tr>
- </table>
- </span>
- <table class="LINKTEXTSELECTED" height="28" cellspacing="0" cellpadding="0" width="160"
- border="0">
- <tr valign="middle">
- <td width="156">
- <span id="Page_1" title="" onclick="Next(document, 'default.htm');" tabindex="1">Overview</span>
- </td>
- <td width="4">
- <img height="1" src="../../Images/spacer.gif" width="4">
- </td>
- </tr>
- </table>
- </div>
- <div class="LINK">
- <table class="LINKTEXT" height="28" cellspacing="0" cellpadding="0" width="166" border="0">
- <tr valign="middle">
- <td width="162">
- <span class="ACTIVELINK" id="Page_2" title="" onclick="Next(document, 'Page_2.htm');"
- tabindex="1">Project Settings</span>
- </td>
- <td width="4">
- <img height="1" src="../../Images/spacer.gif" width="4">
- </td>
- </tr>
- </table>
- </div>
- <div class="LINK">
- <table class="LINKTEXT" height="28" cellspacing="0" cellpadding="0" width="166" border="0"
- id="Table1">
- <tr valign="middle">
- <td width="162">
- <span class="ACTIVELINK" id="Page_3" title="" onclick="Next(document, 'Page_3.htm');"
- tabindex="1">Generated Class</span>
- </td>
- <td width="4">
- <img height="1" src="../../Images/spacer.gif" width="4">
- </td>
- </tr>
- </table>
- </div>
- <!--CLOSE OF NAVIGATIONAL LINKS//-->
- </td>
- <td width="1">
- <div class="VERTLINE">
- <img height="1" alt="" src="../../Images/spacer.gif" width="1" border="0">
- </div>
- </td>
- </tr>
- </table>
- <!--CLOSE OF NAVIGATION TABLE//-->
- </td>
- <td valign="top" height="100%">
- <!--OPEN OF CONTENT AND BUTTON TABLE//-->
- <table class="ONE" cellspacing="0" cellpadding="0" border="0">
- <colgroup>
- <col width="100%">
- <tr valign="top">
- <td height="100%">
- <!--OPEN OF CONTENT//-->
- <table class="CONTENT" cellspacing="0" cellpadding="0" border="0">
- <colgroup>
- <col width="12">
- <col width="185">
- <col width="12">
- <col width="185">
- <col width="12">
- <col width="185">
- <col width="12">
- <tr>
- <td valign="top" colspan="5" height="12">
- &nbsp;
- </td>
- </tr>
- <tr valign="top">
- <td valign="top" width="12">
- </td>
- <td colspan="3" valign="top">
- Select your target platform:<br />
- <br />
- <p id="PLATFORM_FIELD">
- <b>There are no Qt/CE platforms defined.<br>
- Please add your Qt/CE build in the Tools/Options/Qt/Builds dialog.</b>
- </p>
- <br />
- </td>
- <td valign="top" width="12">
- </td>
- </tr>
- <tr valign="top">
- <td valign="top" width="12">
- </td>
- <td colspan="3" valign="top">
- </td>
- <td valign="top" width="12">
- </td>
- </tr>
- <tr valign="top">
- <td valign="top" width="12">
- &nbsp;
- </td>
- <td valign="top" colspan="3">
- <p>
- <span class="ItemTextTop"></span><span class="ItemText" id="QTMODULES" title="">
- </span>
- </p>
- <p>
- <span class="ItemText" title=""></span><span class="ItemText" id="FinishText">Click
- <b>Finish</b> from any window to accept the current settings.</span>
- </p>
- </td>
- <td valign="top" width="12">
- &nbsp;
- </td>
- </tr>
- <tr>
- <td valign="top" colspan="7" height="100%">
- &nbsp;
- </td>
- </tr>
- </table>
- <!--CLOSE OF CONTENT//-->
- </td>
- </tr>
- <tr valign="bottom">
- <td height="48">
- <!--OPEN OF BUTTON HTML//-->
- <table height="48" cellspacing="0" cellpadding="0" border="0">
- <colgroup>
- <col width="12">
- <col>
- <col width="75">
- <col width="4">
- <col width="75">
- <col width="4">
- <col width="75">
- <col width="12">
- <tr>
- <td class="RULE" valign="top" colspan="8" height="2">
- <table height="1" cellspacing="0" cellpadding="0" width="100%" border="0">
- <tr valign="top">
- </tr>
- </table>
- </td>
- </tr>
- <tr>
- <td valign="top" colspan="8" height="11">
- &nbsp;
- </td>
- </tr>
- <tr>
- <td valign="middle" width="12" height="23">
- &nbsp;
- </td>
- <td valign="top" height="23">
- &nbsp;
- </td>
- <td valign="middle" width="75" height="23">
- <button class="BUTTONS" id="FinishBtn" accesskey="F" onclick="OnFinish(document);"
- type="button">
- <u>F</u>inish</button>
- </td>
- <td valign="middle" width="4" height="23">
- &nbsp;
- </td>
- <td valign="middle" width="75" height="23">
- <button class="BUTTONS" id="CancelBtn" accesskey="C" onclick="window.external.Finish(document, 'cancel');"
- type="button">
- <u>C</u>ancel</button>
- </td>
- <td valign="middle" width="4" height="23">
- &nbsp;
- </td>
- <td valign="middle" width="75" height="23">
- <button class="BUTTONS" id="HelpBtn" disabled accesskey="H" onclick="window.external.OnHelp('vc.appwiz.custom.overview');"
- type="button">
- <u>H</u>elp</button>
- </td>
- <td valign="middle" width="12" height="23">
- &nbsp;
- </td>
- </tr>
- <tr>
- <td valign="top" colspan="8" height="12">
- &nbsp;
- </td>
- </tr>
- </table>
- <!--CLOSE OF BUTTON HTML//-->
- </td>
- </tr>
- </table>
- <!--CLOSE OF NAVIGATION, CONTENT, AND BUTTON TABLES//-->
- </td>
- </tr>
- </table>
-</body>
-</html>
-<script language="JSCRIPT">
-
- var CEPlatformsAvailable = false;
- var QtEngine;
- var tab_array = new Array();
- tab_array[0] = Page_1;
- tab_array[1] = Page_2;
-
- // This is an example of a function which initializes the page
- //
- function InitDocument(document) {
- var dte = window.external.dte;
- var version = dte.version;
- if (version == "8.0")
- QtEngine = new ActiveXObject("Digia.Qt5ProjectEngine80");
- else if (version == "9.0")
- QtEngine = new ActiveXObject("Digia.Qt5ProjectEngine90");
- else if (version == "10.0")
- QtEngine = new ActiveXObject("Digia.Qt5ProjectEngine100");
- else if (version == "11.0")
- QtEngine = new ActiveXObject("Digia.Qt5ProjectEngine110");
- else if (version == "12.0")
- QtEngine = new ActiveXObject("Digia.Qt5ProjectEngine120");
- else {
- window.external.ReportError("Cannot instantiate QtProjectEngine object!");
- return false;
- }
-
- setDirection();
-
- if (window.external.FindSymbol('DOCUMENT_FIRST_LOAD')) {
- // This function sets the default symbols based
- // on the values specified in the SYMBOL tags above
- //
- window.external.SetDefaults(document);
- UpdateFields();
- }
-
- // Load the document and initialize the controls
- // with the appropriate symbol values
- //
- window.external.Load(document);
- InitControls();
- }
-
- function UpdateFields() {
- var regexp = /\s/g;
- var proName = window.external.FindSymbol('PROJECT_NAME').replace(regexp, "");
-
- if (!window.external.dte.VCLanguageManager.ValidateIdentifier(proName) ||
- window.external.dte.VCLanguageManager.IsReservedName(proName)) {
- window.external.AddSymbol("CLASSNAME_TEXT", "MyClass"); // fall back on myclass
- window.external.AddSymbol("HFILE_TEXT", "myclass.h");
- window.external.AddSymbol("CPPFILE_TEXT", "myclass.cpp");
- } else {
- window.external.AddSymbol("CLASSNAME_TEXT", proName);
- window.external.AddSymbol("HFILE_TEXT", proName.toLowerCase() + ".h");
- window.external.AddSymbol("CPPFILE_TEXT", proName.toLowerCase() + ".cpp");
- }
- }
-
- function InitControls() {
- var strModules = "These are currently selected Qt modules:\r\n - ";
-
- // Essentials
- if (window.external.FindSymbol('THREED_MODULE'))
- strModules += "3D, ";
- if (window.external.FindSymbol('CORE_MODULE'))
- strModules += "Core, ";
- if (window.external.FindSymbol('GUI_MODULE'))
- strModules += "GUI, ";
- if (window.external.FindSymbol('LOCATION_MODULE'))
- strModules += "Location, ";
- if (window.external.FindSymbol('MULTIMEDIA_MODULE'))
- strModules += "Multimedia, ";
- if (window.external.FindSymbol('MULTIMEDIAWIDGETS_MODULE'))
- strModules += "Multimedia Widgets, ";
- if (window.external.FindSymbol('NETWORK_MODULE'))
- strModules += "Network, ";
- if (window.external.FindSymbol('QML_MODULE'))
- strModules += "Qml, ";
- if (window.external.FindSymbol('QUICK_MODULE'))
- strModules += "Quick, ";
- if (window.external.FindSymbol('SQL_MODULE'))
- strModules += "SQL, ";
- if (window.external.FindSymbol('TEST_MODULE'))
- strModules += "Test, ";
- if (window.external.FindSymbol('WEBKIT_MODULE'))
- strModules += "WebKit, ";
-
- // Add-ons
- // Active Qt better split to server and container
- if (window.external.FindSymbol('AQSERVER_MODULE'))
- strModules += "ActiveQt Server, ";
- if (window.external.FindSymbol('AQCONTAINER_MODULE'))
- strModules += "ActiveQt Container, ";
-
- if (window.external.FindSymbol('BLUETOOTH_MODULE'))
- strModules += "Bluetooth, ";
- if (window.external.FindSymbol('CONCURRENT_MODULE'))
- strModules += "Concurrent, ";
- if (window.external.FindSymbol('DECLARATIVE_MODULE'))
- strModules += "Declarative, ";
- if (window.external.FindSymbol('ENGINIO_MODULE'))
- strModules += "Enginio, ";
- if (window.external.FindSymbol('HELP_MODULE'))
- strModules += "Help, ";
- if (window.external.FindSymbol('NFC_MODULE'))
- strModules += "NFC, ";
- if (window.external.FindSymbol('OPENGL_MODULE'))
- strModules += "OpenGL, ";
- if (window.external.FindSymbol('POSITIONING_MODULE'))
- strModules += "Positioning, ";
- if (window.external.FindSymbol('PRINTSUPPORT_MODULE'))
- strModules += "Print Support, ";
- if (window.external.FindSymbol('QUICKWIDGETS_MODULE'))
- strModules += "Quick Widgets, ";
- if (window.external.FindSymbol('SCRIPT_MODULE'))
- strModules += "Script, ";
- if (window.external.FindSymbol('SCRIPTTOOLS_MODULE'))
- strModules += "Script Tools, ";
- if (window.external.FindSymbol('SENSORS_MODULE'))
- strModules += "Sensors, ";
- if (window.external.FindSymbol('SERIALPORT_MODULE'))
- strModules += "Serial Port, ";
- if (window.external.FindSymbol('SVG_MODULE'))
- strModules += "SVG, ";
- if (window.external.FindSymbol('UITOOLS_MODULE'))
- strModules += "UI Tools, ";
- if (window.external.FindSymbol('WEBCHANNEL_MODULE'))
- strModules += "Web Channel, ";
- if (window.external.FindSymbol('WEBKITWIDGETS_MODULE'))
- strModules += "Webkit Widgets, ";
- if (window.external.FindSymbol('WEBSOCKETS_MODULE'))
- strModules += "Web Sockets, ";
- if (window.external.FindSymbol('WIDGETS_MODULE'))
- strModules += "Widgets, ";
- if (window.external.FindSymbol('WINDOWSEXTRAS_MODULE'))
- strModules += "Windows Extras, ";
- if (window.external.FindSymbol('XML_MODULE'))
- strModules += "XML, ";
- if (window.external.FindSymbol('XMLPATTERNS_MODULE'))
- strModules += "XML Patterns, ";
-
- if (strModules.length < 1)
- strModules = "None selected";
- else
- strModules = strModules.slice(0, strModules.length - 2);
-
- strModules += "\r\n\r\nConfiguration:\r\n - "
- if (window.external.FindSymbol('STATICLIB_CHECK'))
- strModules += "Static Library";
- else
- strModules += "Dynamic Library";
-
- QTMODULES.innerText = strModules;
-
- var strHTML = '<select id="PLATFORM_COMBO" name="PLATFORM_COMBO" style="width: 360px" width="250">';
- var qtVersions = QtEngine.GetQtWinCEVersions(window.external.dte);
- var strDefaultQtWinCEVersion = QtEngine.GetDefaultWinCEVersion();
- if (qtVersions.Count > 0) {
- for (var i = 0; i < qtVersions.Count; ++i) {
- var strVersion = qtVersions.Item(i);
- var strSelected = '';
- if (strVersion == strDefaultQtWinCEVersion)
- strSelected = 'selected ';
-
- var strDisplay = QtEngine.GetWinCEPlatformName(strVersion) + ' / Qt ' + strVersion;
- strHTML += '<option ' + strSelected + 'value="' + strVersion + '">' + strDisplay + '</option>';
- }
- strHTML += '</select>';
- PLATFORM_FIELD.innerHTML = strHTML;
- CEPlatformsAvailable = true;
- } else {
- // no Qt versions for Windows CE found
- FinishBtn.disabled = true;
- Page_1.disabled = true;
- Page_2.disabled = true;
- Page_3.disabled = true;
- }
- }
-
- // If the wizard has more than 1 page, this
- // function will browse to the page specified
- //
- function Next(document, linkto) {
- if (CEPlatformsAvailable)
- window.external.Next(document, linkto);
- }
-
- // This is an example of a function which
- // gets called when the user clicks on 'Finish'
- //
- function OnFinish(document) {
- OnWizFinish(document);
- }
-
-</script>
-<script language="JSCRIPT" id="INCLUDE_SCRIPT"></script>
-<script language="JSCRIPT" id="INCLUDE_COMMON"></script>
-<!--
-Common.js is a script file which contains the helper functions
-used by the wizards. Include this line if you want to
-call these functions from your html scripts.
-//-->
-<script>
- var strPath = window.external.FindSymbol("PRODUCT_INSTALLATION_DIR");
- strPath += "VCWizards/";
- strPath += window.external.GetHostLocale();
- var strScriptPath = strPath + "/Script.js";
- var strCommonPath = strPath + "/Common.js";
- document.scripts("INCLUDE_SCRIPT").src = strScriptPath;
- document.scripts("INCLUDE_COMMON").src = strCommonPath;
-</script>
diff --git a/Qt4VS2003/Projects/Qt5WinCELibProject/Images/Qt5WinCELibProject.jpg b/Qt4VS2003/Projects/Qt5WinCELibProject/Images/Qt5WinCELibProject.jpg
deleted file mode 100644
index c95946d3..00000000
--- a/Qt4VS2003/Projects/Qt5WinCELibProject/Images/Qt5WinCELibProject.jpg
+++ /dev/null
Binary files differ
diff --git a/Qt4VS2003/Projects/Qt5WinCELibProject/Qt5WinCELibProject.ico b/Qt4VS2003/Projects/Qt5WinCELibProject/Qt5WinCELibProject.ico
deleted file mode 100644
index 6d826384..00000000
--- a/Qt4VS2003/Projects/Qt5WinCELibProject/Qt5WinCELibProject.ico
+++ /dev/null
Binary files differ
diff --git a/Qt4VS2003/Projects/Qt5WinCELibProject/Qt5WinCELibProject.vcproj b/Qt4VS2003/Projects/Qt5WinCELibProject/Qt5WinCELibProject.vcproj
deleted file mode 100644
index 454febd4..00000000
--- a/Qt4VS2003/Projects/Qt5WinCELibProject/Qt5WinCELibProject.vcproj
+++ /dev/null
@@ -1,260 +0,0 @@
-<?xml version="1.0" encoding="Windows-1252"?>
-<VisualStudioProject
- ProjectType="Visual C++"
- Version="8,00"
- Name="Qt5WinCELibProject"
- ProjectGUID="{AB6B3B4B-75BD-4E32-B795-56E1FEBA40E2}"
- RootNamespace="Qt5WinCELibProject"
- Keyword="CustomAppWizProj"
- >
- <Platforms>
- <Platform
- Name="Win32"
- />
- </Platforms>
- <ToolFiles>
- </ToolFiles>
- <Configurations>
- <Configuration
- Name="Debug|Win32"
- OutputDirectory="$(SolutionDir)$(ConfigurationName)"
- IntermediateDirectory="$(ConfigurationName)"
- ConfigurationType="1"
- InheritedPropertySheets="$(VCInstallDir)VCProjectDefaults\UpgradeFromVC71.vsprops"
- >
- <Tool
- Name="VCPreBuildEventTool"
- />
- <Tool
- Name="VCCustomBuildTool"
- />
- <Tool
- Name="VCXMLDataGeneratorTool"
- />
- <Tool
- Name="VCWebServiceProxyGeneratorTool"
- />
- <Tool
- Name="VCMIDLTool"
- />
- <Tool
- Name="VCCLCompilerTool"
- />
- <Tool
- Name="VCManagedResourceCompilerTool"
- />
- <Tool
- Name="VCResourceCompilerTool"
- />
- <Tool
- Name="VCPreLinkEventTool"
- />
- <Tool
- Name="VCLinkerTool"
- />
- <Tool
- Name="VCALinkTool"
- />
- <Tool
- Name="VCManifestTool"
- />
- <Tool
- Name="VCXDCMakeTool"
- />
- <Tool
- Name="VCBscMakeTool"
- />
- <Tool
- Name="VCFxCopTool"
- />
- <Tool
- Name="VCAppVerifierTool"
- />
- <Tool
- Name="VCWebDeploymentTool"
- />
- <Tool
- Name="VCPostBuildEventTool"
- />
- </Configuration>
- <Configuration
- Name="Release|Win32"
- IntermediateDirectory="$(ConfigurationName)"
- ConfigurationType="1"
- InheritedPropertySheets="$(VCInstallDir)VCProjectDefaults\UpgradeFromVC71.vsprops"
- >
- <Tool
- Name="VCPreBuildEventTool"
- />
- <Tool
- Name="VCCustomBuildTool"
- />
- <Tool
- Name="VCXMLDataGeneratorTool"
- />
- <Tool
- Name="VCWebServiceProxyGeneratorTool"
- />
- <Tool
- Name="VCMIDLTool"
- />
- <Tool
- Name="VCCLCompilerTool"
- />
- <Tool
- Name="VCManagedResourceCompilerTool"
- />
- <Tool
- Name="VCResourceCompilerTool"
- />
- <Tool
- Name="VCPreLinkEventTool"
- />
- <Tool
- Name="VCLinkerTool"
- />
- <Tool
- Name="VCALinkTool"
- />
- <Tool
- Name="VCManifestTool"
- />
- <Tool
- Name="VCXDCMakeTool"
- />
- <Tool
- Name="VCBscMakeTool"
- />
- <Tool
- Name="VCFxCopTool"
- />
- <Tool
- Name="VCAppVerifierTool"
- />
- <Tool
- Name="VCWebDeploymentTool"
- />
- <Tool
- Name="VCPostBuildEventTool"
- />
- </Configuration>
- </Configurations>
- <References>
- </References>
- <Files>
- <Filter
- Name="Template Files"
- Filter="txt"
- >
- <File
- RelativePath=".\Templates\1033\defines.h"
- >
- <FileConfiguration
- Name="Debug|Win32"
- ExcludedFromBuild="true"
- >
- <Tool
- Name="VCCustomBuildTool"
- />
- </FileConfiguration>
- </File>
- <File
- RelativePath=".\Templates\1033\header.h"
- >
- <FileConfiguration
- Name="Debug|Win32"
- ExcludedFromBuild="true"
- >
- <Tool
- Name="VCCustomBuildTool"
- />
- </FileConfiguration>
- </File>
- <File
- RelativePath=".\Templates\1033\source.cpp"
- >
- <FileConfiguration
- Name="Debug|Win32"
- ExcludedFromBuild="true"
- >
- <Tool
- Name="VCCLCompilerTool"
- />
- </FileConfiguration>
- </File>
- </Filter>
- <Filter
- Name="HTML Files"
- Filter="htm"
- >
- <File
- RelativePath=".\Html\1033\default.htm"
- DeploymentContent="true"
- >
- </File>
- <File
- RelativePath=".\Html\1033\Page_2.htm"
- DeploymentContent="true"
- >
- </File>
- <File
- RelativePath=".\Html\1033\Page_3.htm"
- DeploymentContent="true"
- >
- <FileConfiguration
- Name="Debug|Win32"
- ExcludedFromBuild="true"
- >
- <Tool
- Name="VCCustomBuildTool"
- />
- </FileConfiguration>
- </File>
- </Filter>
- <Filter
- Name="Image Files"
- Filter="bmp"
- >
- <File
- RelativePath=".\Images\Qt5WinCELibProject.gif"
- >
- </File>
- <File
- RelativePath=".\Images\Qt5WinCELibProject_Background.gif"
- >
- </File>
- </Filter>
- <Filter
- Name="Script Files"
- Filter="js"
- >
- <File
- RelativePath=".\Scripts\1033\default.js"
- >
- </File>
- </Filter>
- <Filter
- Name="Miscellaneous Files"
- Filter="vsz;vsdir;ico;vcproj;csproj;css;inf"
- >
- <File
- RelativePath=".\Qt5WinCELibProject.ico"
- >
- </File>
- <File
- RelativePath=".\Qt5WinCELibProject.vsdir"
- >
- </File>
- <File
- RelativePath=".\Qt5WinCELibProject.vsz"
- >
- </File>
- <File
- RelativePath=".\1033\styles.css"
- >
- </File>
- </Filter>
- </Files>
- <Globals>
- </Globals>
-</VisualStudioProject>
diff --git a/Qt4VS2003/Projects/Qt5WinCELibProject/Qt5WinCELibProject.vsdir b/Qt4VS2003/Projects/Qt5WinCELibProject/Qt5WinCELibProject.vsdir
deleted file mode 100644
index 7195f1b1..00000000
--- a/Qt4VS2003/Projects/Qt5WinCELibProject/Qt5WinCELibProject.vsdir
+++ /dev/null
@@ -1 +0,0 @@
-Qt5WinCELibProject.vsz| |Qt Windows CE Library|3|A basic Qt Windows CE library.| | |4096|Project
diff --git a/Qt4VS2003/Projects/Qt5WinCELibProject/Qt5WinCELibProject.vsz b/Qt4VS2003/Projects/Qt5WinCELibProject/Qt5WinCELibProject.vsz
deleted file mode 100644
index cd8da7d9..00000000
--- a/Qt4VS2003/Projects/Qt5WinCELibProject/Qt5WinCELibProject.vsz
+++ /dev/null
@@ -1,6 +0,0 @@
-VSWIZARD 7.0
-Wizard=VsWizard.VsWizardEngine.9.0
-
-Param="WIZARD_NAME = Qt5WinCELibProject"
-Param="ABSOLUTE_PATH = C:\Program Files (x86)\Digia\Qt4VSAddin\wizards\Qt5WinCELibProject"
-Param="FALLBACK_LCID = 1033" \ No newline at end of file
diff --git a/Qt4VS2003/Projects/Qt5WinCELibProject/Scripts/1033/default.js b/Qt4VS2003/Projects/Qt5WinCELibProject/Scripts/1033/default.js
deleted file mode 100644
index b4cc1189..00000000
--- a/Qt4VS2003/Projects/Qt5WinCELibProject/Scripts/1033/default.js
+++ /dev/null
@@ -1,183 +0,0 @@
-var QtEngine;
-
-function GetNameFromFile(strFile) {
- var nPos = strFile.lastIndexOf(".");
- return strFile.substr(0, nPos);
-}
-
-function OnFinish(selProj, selObj) {
- try {
- // load right project engine
- var dte = wizard.dte;
- var version = dte.version;
- if (version == "8.0")
- QtEngine = new ActiveXObject("Digia.Qt5ProjectEngine80");
- else if (version == "9.0")
- QtEngine = new ActiveXObject("Digia.Qt5ProjectEngine90");
- else if (version == "10.0")
- QtEngine = new ActiveXObject("Digia.Qt5ProjectEngine100");
- else if (version == "11.0")
- QtEngine = new ActiveXObject("Digia.Qt5ProjectEngine110");
- else if (version == "12.0")
- QtEngine = new ActiveXObject("Digia.Qt5ProjectEngine120");
-
- var strProjectPath = wizard.FindSymbol('PROJECT_PATH');
- var strProjectName = wizard.FindSymbol('PROJECT_NAME');
- var strSolutionName = wizard.FindSymbol('VS_SOLUTION_NAME');
- var strTemplatePath = wizard.FindSymbol('TEMPLATES_PATH') + "\\";
- var bExclusive = wizard.FindSymbol("CLOSE_SOLUTION");
- var bStaticLib = wizard.FindSymbol("STATICLIB_CHECK");
-
- var fileTmp;
- var strClass = wizard.FindSymbol('CLASSNAME_TEXT');
- var strHeader = wizard.FindSymbol('HFILE_TEXT');
- var strSource = wizard.FindSymbol('CPPFILE_TEXT');
- var bPrecompiled = wizard.FindSymbol('PRECOMPILED_HEADERS');
-
- var regexp = /\W/g;
- var strDef = strHeader.toUpperCase().replace(regexp, "_");
- regexp = /\s/g;
- var strProName = strProjectName.toUpperCase().replace(regexp, "");
-
- var strDefine = strProName + "_LIB";
- var strExport = strProName + "_EXPORT";
- var strDefFile = strProName.toLowerCase() + "_global.h"; var strDefGuard = strProName + "_GLOBAL_H";
-
- QtEngine.CreateWinCELibraryProject(wizard.dte, strProjectName,
- strProjectPath, strSolutionName, bExclusive, wizard.FindSymbol("PLATFORM_COMBO"), bStaticLib, bPrecompiled);
-
- // add the selected modules to the project
- AddModules();
-
- var strHeaderInclude = strHeader;
- if (bPrecompiled) {
- strHeaderInclude = "stdafx.h\"\n#include \"" + strHeader;
- fileTmp = QtEngine.CopyFileToProjectFolder(strTemplatePath + "stdafx.cpp", "stdafx.cpp");
- QtEngine.AddFileToProject(fileTmp, "QT_SOURCE_FILTER");
- fileTmp = QtEngine.CopyFileToProjectFolder(strTemplatePath + "stdafx.h", "stdafx.h");
- QtEngine.AddFileToProject(fileTmp, "QT_HEADER_FILTER");
- }
-
-
- // add a define
- QtEngine.AddDefine(strDefine, "BOTH");
-
- // source.cpp
- fileTmp = QtEngine.CopyFileToProjectFolder(strTemplatePath + "source.cpp", strSource);
- QtEngine.ReplaceTokenInFile(fileTmp, "%INCLUDE%", strHeaderInclude);
- QtEngine.ReplaceTokenInFile(fileTmp, "%CLASSNAME%", strClass);
- QtEngine.AddFileToProject(fileTmp, "QT_SOURCE_FILTER");
-
- // header.h
- fileTmp = QtEngine.CopyFileToProjectFolder(strTemplatePath + "header.h", strHeader);
- QtEngine.ReplaceTokenInFile(fileTmp, "%PRE_DEF%", strDef);
- QtEngine.ReplaceTokenInFile(fileTmp, "%CLASSNAME%", strClass);
- if (bStaticLib) {
- QtEngine.ReplaceTokenInFile(fileTmp, "%PRO_LIB_EXPORT% ", "");
- QtEngine.ReplaceTokenInFile(fileTmp, "\n#include \"%DEF_HEADER%\"", "");
- }
- else {
- QtEngine.ReplaceTokenInFile(fileTmp, "%PRO_LIB_EXPORT%", strExport);
- QtEngine.ReplaceTokenInFile(fileTmp, "%DEF_HEADER%", strDefFile);
- }
- QtEngine.AddFileToProject(fileTmp, "QT_HEADER_FILTER");
-
- // defines.h
- if (!bStaticLib) {
- fileTmp = QtEngine.CopyFileToProjectFolder(strTemplatePath + "defines.h", strDefFile);
-
- QtEngine.ReplaceTokenInFile(fileTmp, "%PRE_DEF%", strDefGuard);
- QtEngine.ReplaceTokenInFile(fileTmp, "%PRO_LIB_DEFINE%", strDefine);
- QtEngine.ReplaceTokenInFile(fileTmp, "%PRO_LIB_EXPORT%", strExport);
- QtEngine.AddFileToProject(fileTmp, "QT_HEADER_FILTER");
- }
-
- QtEngine.Finish();
- }
- catch (e) {
- if (e.description.length != 0)
- SetErrorInfo(e);
- return e.number
- }
-}
-
-function AddModules() {
- // Essential modules
- if (wizard.FindSymbol('THREED_MODULE'))
- QtEngine.AddModule("Qt3D");
- if (wizard.FindSymbol('CORE_MODULE'))
- QtEngine.AddModule("QtCore");
- if (wizard.FindSymbol('GUI_MODULE'))
- QtEngine.AddModule("QtGui");
- if (wizard.FindSymbol('LOCATION_MODULE'))
- QtEngine.AddModule("QtLocation");
- if (wizard.FindSymbol('MULTIMEDIA_MODULE'))
- QtEngine.AddModule("QtMultimedia");
- if (wizard.FindSymbol('MULTIMEDIAWIDGETS_MODULE'))
- QtEngine.AddModule("QtMultimediaWidgets");
- if (wizard.FindSymbol('NETWORK_MODULE'))
- QtEngine.AddModule("QtNetwork");
- if (wizard.FindSymbol('QML_MODULE'))
- QtEngine.AddModule("QtQml");
- if (wizard.FindSymbol('QUICK_MODULE'))
- QtEngine.AddModule("QtQuick");
- if (wizard.FindSymbol('SQL_MODULE'))
- QtEngine.AddModule("QtSql");
- if (wizard.FindSymbol('TEST_MODULE'))
- QtEngine.AddModule("QtTest");
- if (wizard.FindSymbol('WEBKIT_MODULE'))
- QtEngine.AddModule("QtWebKit"); // ??
-
- // Add-on modules
- // Active Qt better split to server and container
- if (wizard.FindSymbol('AQCONTAINER_MODULE'))
- QtEngine.AddModule("QtAxContainer");
- if (wizard.FindSymbol('AQSERVER_MODULE'))
- QtEngine.AddModule("QtAxServer");
- if (wizard.FindSymbol('BLUETOOTH_MODULE'))
- QtEngine.AddModule("QtBluetooth");
- if (wizard.FindSymbol('CONCURRENT_MODULE'))
- QtEngine.AddModule("QtConcurrent");
- if (wizard.FindSymbol('DECLARATIVE_MODULE'))
- QtEngine.AddModule("QtDeclarative");
- if (wizard.FindSymbol('ENGINIO_MODULE'))
- QtEngine.AddModule("Enginio");
- if (wizard.FindSymbol('HELP_MODULE'))
- QtEngine.AddModule("QtHelp");
- if (wizard.FindSymbol('NFC_MODULE'))
- QtEngine.AddModule("QtNfc");
- if (wizard.FindSymbol('OPENGL_MODULE'))
- QtEngine.AddModule("QtOpenGL");
- if (wizard.FindSymbol('POSITIONING_MODULE'))
- QtEngine.AddModule("QtPositioning");
- if (wizard.FindSymbol('PRINTSUPPORT_MODULE'))
- QtEngine.AddModule("QtPrintSupport");
- if (wizard.FindSymbol('QUICKWIDGETS_MODULE'))
- QtEngine.AddModule("QtQuickWidgets");
- if (wizard.FindSymbol('SCRIPT_MODULE'))
- QtEngine.AddModule("QtScript");
- if (wizard.FindSymbol('SCRIPTTOOLS_MODULE'))
- QtEngine.AddModule("QtScriptTools");
- if (wizard.FindSymbol('SENSORS_MODULE'))
- QtEngine.AddModule("QtSensors");
- if (wizard.FindSymbol('SERIALPORT_MODULE'))
- QtEngine.AddModule("QtSerialPort");
- if (wizard.FindSymbol('SVG_MODULE'))
- QtEngine.AddModule("QtSvg");
- if (wizard.FindSymbol('UITOOLS_MODULE'))
- QtEngine.AddModule("QtUiTools");
- if (wizard.FindSymbol('WEBCHANNEL_MODULE'))
- QtEngine.AddModule("QtWebChannel");
- if (wizard.FindSymbol('WEBKITWIDGETS_MODULE'))
- QtEngine.AddModule("QtWebkitWidgets"); // ??
- if (wizard.FindSymbol('WEBSOCKETS_MODULE'))
- QtEngine.AddModule("QtWebSockets");
- if (wizard.FindSymbol('WIDGETS_MODULE'))
- QtEngine.AddModule("QtWidgets");
- if (wizard.FindSymbol('WINDOWSEXTRAS_MODULE'))
- QtEngine.AddModule("QtWinExtras");
- if (wizard.FindSymbol('XML_MODULE'))
- QtEngine.AddModule("QtXml");
- if (wizard.FindSymbol('XMLPATTERNS_MODULE'))
- QtEngine.AddModule("QtXmlPatterns");
-}
diff --git a/Qt4VS2003/Projects/Qt5WinCELibProject/Templates/1033/defines.h b/Qt4VS2003/Projects/Qt5WinCELibProject/Templates/1033/defines.h
deleted file mode 100644
index f3ed4da8..00000000
--- a/Qt4VS2003/Projects/Qt5WinCELibProject/Templates/1033/defines.h
+++ /dev/null
@@ -1,12 +0,0 @@
-#ifndef %PRE_DEF%
-#define %PRE_DEF%
-
-#include <QtCore/qglobal.h>
-
-#ifdef %PRO_LIB_DEFINE%
-# define %PRO_LIB_EXPORT% Q_DECL_EXPORT
-#else
-# define %PRO_LIB_EXPORT% Q_DECL_IMPORT
-#endif
-
-#endif // %PRE_DEF%
diff --git a/Qt4VS2003/Projects/Qt5WinCELibProject/Templates/1033/header.h b/Qt4VS2003/Projects/Qt5WinCELibProject/Templates/1033/header.h
deleted file mode 100644
index e4507132..00000000
--- a/Qt4VS2003/Projects/Qt5WinCELibProject/Templates/1033/header.h
+++ /dev/null
@@ -1,16 +0,0 @@
-#ifndef %PRE_DEF%
-#define %PRE_DEF%
-
-#include "%DEF_HEADER%"
-
-class %PRO_LIB_EXPORT% %CLASSNAME%
-{
-public:
- %CLASSNAME%();
- ~%CLASSNAME%();
-
-private:
-
-};
-
-#endif // %PRE_DEF%
diff --git a/Qt4VS2003/Projects/Qt5WinCELibProject/Templates/1033/source.cpp b/Qt4VS2003/Projects/Qt5WinCELibProject/Templates/1033/source.cpp
deleted file mode 100644
index 6d0e2a23..00000000
--- a/Qt4VS2003/Projects/Qt5WinCELibProject/Templates/1033/source.cpp
+++ /dev/null
@@ -1,11 +0,0 @@
-#include "%INCLUDE%"
-
-%CLASSNAME%::%CLASSNAME%()
-{
-
-}
-
-%CLASSNAME%::~%CLASSNAME%()
-{
-
-}
diff --git a/Qt4VS2003/Projects/Qt5WinCELibProject/Templates/1033/stdafx.cpp b/Qt4VS2003/Projects/Qt5WinCELibProject/Templates/1033/stdafx.cpp
deleted file mode 100644
index 1577c4e3..00000000
--- a/Qt4VS2003/Projects/Qt5WinCELibProject/Templates/1033/stdafx.cpp
+++ /dev/null
@@ -1 +0,0 @@
-#include "stdafx.h" \ No newline at end of file
diff --git a/Qt4VS2003/Projects/Qt5WinCELibProject/Templates/1033/stdafx.h b/Qt4VS2003/Projects/Qt5WinCELibProject/Templates/1033/stdafx.h
deleted file mode 100644
index e69de29b..00000000
--- a/Qt4VS2003/Projects/Qt5WinCELibProject/Templates/1033/stdafx.h
+++ /dev/null
diff --git a/Qt4VS2003/Projects/Qt5WinCEProject/1033/styles.css b/Qt4VS2003/Projects/Qt5WinCEProject/1033/styles.css
deleted file mode 100644
index 730bade4..00000000
--- a/Qt4VS2003/Projects/Qt5WinCEProject/1033/styles.css
+++ /dev/null
@@ -1,574 +0,0 @@
-/******************************************************************************/
-/*DEFAULT STYLES FOR ALL SECTIONS**********************************************/
-/******************************************************************************/
-body { font-family: Tahoma, Verdana, Arial, Sans Serif;
- font-weight: normal;
- font-size: 8pt;
- color: buttontext;
- background-color: buttonface;
- margin-top: 0px;
- margin-left: 0px;
- margin-right: 0px;
- margin-bottom: 0px;
- overflow: visible; }
-
-a:link { color: captiontext;
- text-decoration: none; }
-
-a:visited { color: captiontext;
- text-decoration: none; }
-
-a:active { color: captiontext;
- text-decoration: none; }
-
-a:hover { color: captiontext;
- text-decoration: underline; }
-
-table { font-family: Tahoma, Verdana, Arial, Sans Serif;
- font-weight: normal;
- font-size: 8pt;
- color: buttontext;
- width: 100%; }
-
-td.addon_disabled { color: #808080; }
-
-table.one { table-layout: fixed;
- height: 100%;
- width: 100%; }
-
-
-/*DEFAULT STYLES FOR THE 'INTRODUCTION' TABLE**********************************/
-/******************************************************************************/
-
-table.two { table-layout: fixed;
- height: 79px;
- width: 100%;
- background-color: window; }
-
-td.image { text-align: right; }
-
-td.rule { background-color: window; }
-
-h1.head { font-weight: bold;
- font-size: 10pt;
- color: windowtext;
- margin-top: -3px; }
-
-p.subhead { color: windowtext;
- margin-top: -12px;
- margin-left: 10px; }
-
-img.smallest { background-color: #a6ce39;
- z-index: 1; }
-
-img.small { z-index: 1; }
-
-/*DEFAULT STYLES FOR THE 'NAVIGATION' TABLE************************************/
-/******************************************************************************/
-
-table.three { table-layout: fixed;
- height: 100%;
- width: 178px; }
-
-td.three { background-attachment: fixed;
- background-repeat: no-repeat;
- background-position: bottom left;
- background-color: #66b036; }
-
-td.dottedline { background: url(Images/DottedHori.gif) repeat; }
-
-table.linktextselected { font-weight: bold;
- width: 157px;
- height: 30px;
- position: relative;
- left: 10px;
- z-index: 2; }
-
-table.linktextselectedindent { font-weight: bold;
- width: 148px;
- height: 30px;
- position: relative;
- left: 18px;
- z-index: 2; }
-
-table.linktext { width: 157px;
- height: 30px;
- position: relative;
- left: 10px;
- z-index: 2; }
-
-table.linktextindent { width: 148px;
- height: 30px;
- position: relative;
- left: 18px;
- z-index: 2; }
-
-div.linkselected { background-color: buttonface;
- height: 30px;
- width: 166px;
- position: relative;
- left: 0px;
- right: 0px;
- z-index: 1; }
-
-div.link { height: 30px;
- width: 166px;
- position: relative;
- left: 0px;
- right: 0px;
- z-index: 1; }
-
-div.vertline { background: url(Images/DottedVert.gif) repeat;
- height: 125%;
- width: 1px;
- position: relative;
- top: -12px;
- left: -1px; }
-
-span.vertline1 { background: url(Images/DottedVert.gif) repeat;
- height: 100%;
- width: 1px;
- position: absolute;
- top: 0px;
- left: -1px;
- bottom: 0px;
- z-index: 2; }
-
-span.horiline1 { height: 30px;
- width: 166px;
- position: absolute;
- top: -1px;
- left: -1px;
- bottom: -1px;
- z-index: 2; }
-
-span.activelink { color: captiontext;
- text-decoration: none;
- cursor: hand; }
-
-span.activelink2 { color: captiontext;
- text-decoration: underline;
- cursor: hand; }
-
-span.inactivelink { color: buttonface;
- text-decoration: none;
- cursor: default; }
-
-
-/*DEFAULT STYLES FOR THE ALL BUTTONS AND THE 'BUTTONS' TABLE*******************/
-/******************************************************************************/
-
-button { font-family: Tahoma, Verdana, Arial, Sans Serif;
- font-weight: normal;
- font-size: 8pt;
- height: 23px;
- cursor: hand; }
-
-.buttons { width: 75px; }
-
-/*DEFAULT STYLES FOR THE 'CONTENT' TABLE***************************************/
-/******************************************************************************/
-
-table.content { table-layout: fixed;
- height: 100%;
- width: 422px; }
-
-table.content1 { table-layout: fixed;
- height: 100%;
- width: 398px; }
-
-table.content2 { table-layout: fixed;
- height: 100%;
- width: 193px; }
-
-ol { font-family: Tahoma, Verdana, Arial, Sans Serif;
- font-weight: normal;
- font-size: 8pt;
- color: buttontext;
- margin-top: -1px;
- margin-bottom: 16px; }
-
-ul { font-family: Tahoma, Verdana, Arial, Sans Serif;
- font-weight: normal;
- font-size: 8pt;
- color: buttontext;
- margin-top: -1px;
- margin-bottom: 16px; }
-
-li { font-family: Tahoma, Verdana, Arial, Sans Serif;
- font-weight: normal;
- font-size: 8pt;
- color: buttontext;
- position: relative;
- left: -15px;
- margin-bottom: 1px; }
-
-span.itemtext { position: relative;
- top: -3px; }
-
-span.itemtextindent { position: relative;
- left: 17px;
- top: -3px; }
-
-span.itemtextindentA { position: relative;
- left: 25px;
- top: -3px; }
-
-span.itemtextindent1 { position: relative;
- left: 8px;
- top: -3px; }
-
-span.sidebtnhidden { width: 100%;
- margin-top: 3px;
- margin-bottom: 0px; }
-
-div.itemtextradioB { position: relative;
- top: -19px;
- left: 25px;
- margin-bottom: -25px; }
-
-div.itemtextradioindentA { position: relative;
- top: -17px;
- left: 30px;
- margin-bottom: -25px; }
-
-div.itemtextradioindentB { position: relative;
- top: -19px;
- left: 42px;
- margin-bottom: -25px; }
-
-div.itemtextcheckboxA { position: relative;
- top: -17px;
- left: 17px;
- margin-bottom: -23px; }
-
-div.itemtextcheckboxB { position: relative;
- top: -18px;
- left: 25px;
- margin-bottom: -25px; }
-
-div.itemtextcheckboxindentB { position: relative;
- top: -16px;
- left: 42px;
- margin-bottom: -25px; }
-
-div.inlineA { position: relative;
- top: 4px;
- width: 100%;
- height:1px;
- border-top: solid buttonshadow 1px; }
-
-div.inlineB { position: relative;
- top: -9px;
- margin-bottom: -20px;
- width: 100%;
- height:1px;
- border-top: solid threedhighlight 1px; }
-
-input { font-family: Tahoma, Verdana, Arial, Sans Serif;
- font-weight: normal;
- font-size: 8pt;
- color: buttontext; }
-
-.radio { position: relative;
- top: -2px;
- left: 4px; }
-
-.radioIndentA { margin-top: -2px;
- margin-left: 9px; }
-
-.radioIndent { margin-top: -2px;
- margin-left: 17px; }
-
-.checkboxA { position: relative;
- top: -2px;
- left: 4px; }
-
-.checkbox { position: relative;
- top: -1px;
- margin-left: -4px;
- z-index: 2; }
-
-.checkboxIndent { margin-top: -1px;
- margin-left: 21px; }
-
-.comment { width: 566px;
- position: relative;
- top: 5px;
- left: 8px;
- bottom: 6px; }
-
-.comment2 { width: 391px;
- position: relative;
- top: 5px;
- left: 8px;
- bottom: 6px; }
-
-/****THIS IS THE STANDARD INPUT BOX********************************************/
-input.sidebtn { width: 173px;
- position: relative;
- top: 5px;
- left: 8px; }
-
-/****THIS IS AN INPUT BOX INDENTED UNDER A CHECKBOX SECTION*******************/
-input.sidebtnIndent { width: 163px;
- position: relative;
- top: 5px;
- left: 18px;
- bottom: 6px; }
-
-/****THIS INPUT BOX HAS IS INDENTED UNDER A HEADING AND RULE SECTION***********/
-input.sidebtnB { width: 164px;
- position: relative;
- top: 5px;
- left: 8px;
- bottom: 6px; }
-
-/****THIS INPUT BOX HAS A "..." BUTTON BESIDE IT*******************************/
-input.sidebtn2 { width: 149px;
- position: relative;
- top: 5px;
- left: 8px;
- bottom: 6px; }
-
-/****THIS INPUT BOX HAS A "..." BUTTON BESIDE IT AND IT'S UNDER A CHECKBOX*****/
-input.sidebtn2Indent { width: 139px;
- position: relative;
- top: 5px;
- left: 18px;
- bottom: 6px; }
-
-input.sidebtn21 { width: 141px;
- position: relative;
- top: 5px;
- left: 8px;
- bottom: 6px; }
-
-input.sidebtn2Long { width: 253px;
- position: relative;
- top: 5px;
- left: 8px;
- bottom: 6px; }
-
-input.sidebtn2A { width: 140px;
- position: relative;
- top: 5px;
- left: 8px;
- bottom: 6px; }
-
-input.sidebtn2B { width: 156px;
- position: relative;
- top: 6px;
- left: 8px;
- bottom: 0px;
- margin-bottom: -3px; }
-
-select { font-family: Tahoma, Verdana, Arial, Sans Serif;
- font-weight: normal;
- font-size: 8pt;
- color: buttontext; }
-
-/****THIS IS THE STANDARD SELECTION BOX****************************************/
-select.sidebtn { width: 173px;
- position: relative;
- top: 6px;
- left: 8px;
- bottom: 0px;
- margin-bottom: -3px; }
-
-/****THIS IS THE STANDARD SELECTION BOX****************************************/
-span.sidebtn { position: relative;
- top: 6px;
- left: 8px;
- bottom: 0px;
- margin-bottom: -3px; }
-
-/****THIS IS THE STANDARD SELECTION BOX****************************************/
-span.itemtextspecial { position: relative;
- top: -20px;
- left: 16px;
- bottom: 0px;
- margin-bottom: -3px; }
-
-/****THIS IS THE STANDARD SELECTION BOX****************************************/
-span.sidebtnspecial { position: relative;
- top: -2px;
- left: 54px;
- bottom: 0px;
- margin-bottom: -3px; }
-
-/****THIS SELECTION BOX IS INDENTED UNDER A HEADING AND RULE SECTION***********/
-select.sidebtnB { width: 164px;
- position: relative;
- top: 6px;
- left: 8px;
- bottom: 0px;
- margin-bottom: -3px; }
-
-/****THIS SELECTION BOX IS BELOW AND ASSOCIATED WITH A CHECKBOX****************/
-select.sidebtn2 { width: 164px;
- position: relative;
- top: 13px;
- left: 17px;
- bottom: 0px;
- margin-bottom: -3px; }
-
-/****THIS SELECTION BOX IS BELOW AND ASSOCIATED WITH A CHECKBOX AND HEADING****/
-select.sidebtn2A { width: 156px;
- position: relative;
- top: 13px;
- left: 25px;
- bottom: 0px;
- margin-bottom: -3px; }
-
-/****THIS SELECTION BOX IS BELOW AND ASSOCIATED WITH A CHECKBOX AND HEADING****/
-select.sidebtn2ALong { width: 277px;
- position: relative;
- top: 6px;
- left: 25px;
- bottom: 0px;
- margin-bottom: -3px; }
-
-select.sidebtn2B { width: 156px;
- position: relative;
- top: 6px;
- left: 8px;
- bottom: 0px;
- margin-bottom: -3px; }
-
-/****THIS SELECTION BOX HAS "..." BUTTONS BESIDE THEM**************************/
-select.sidebtn2C { width: 149px;
- position: relative;
- top: 5px;
- left: 8px;
- bottom: 6px; }
-
-select.sidebtn2CLong { width: 253px;
- position: relative;
- top: 5px;
- left: 8px;
- bottom: 6px; }
-
-select.sidebtn3 { width: 150px;
- position: relative;
- top: 6px;
- bottom: 0px;
- margin-bottom: -3px; }
-
-/****THIS SELECTION BOX IS FOR HORIZONTAL ADD/REMOVE SECTIONS******************/
-select.sidebtn4Long { width: 574px;
- position: relative;
- top: 6px;
- left: 8px;
- bottom: 0px;
- margin-bottom: -3px; }
-
-object.itemtext { font-family: Tahoma, Verdana, Arial, Sans Serif;
- font-weight: normal;
- font-size: 8pt;
- color: buttontext;
- width: 173px;
- height: 19px;
- position: relative;
- top: 6px;
- left: 8px;
- margin-bottom: 2px; }
-
-.dropdowncombo { font-family: Tahoma, Verdana, Arial, Sans Serif;
- font-weight: normal;
- font-size: 8pt;
- color: buttontext; }
-
-/****THIS DEFINES A STANDARD BUTTON IN THE CONTENT SECTION*********************/
-.buttonclass { margin-top: 2px;
- margin-left: 8px;
- margin-bottom: -6px;
- padding: 2px; }
-
-/****THIS DEFINES ADD/REMOVE BUTTONS IN THE CONTENT SECTION********************/
-.buttonclass2 { margin-top: 8px;
- margin-left: 8px;
- z-index: 1;
- cursor: hand; }
-
-/****THIS DEFINES A "..." BUTTON IN THE CONTENT SECTION************************/
-.buttonclass3 { height: 19px;
- width: 20px;
- position: relative;
- top: 2px; }
-
-/****THIS DEFINES A "..." BUTTON IN THE CONTENT SECTION AND UNDER A CHECKBOX***/
-.buttonclass3Indent { height: 19px;
- width: 20px;
- position: relative;
- top: 2px;
- left: 10px; }
-
-.buttonclass31 { height: 19px;
- width: 20px;
- position: relative;
- top: 2px;
- left:8px; }
-
-.buttonclass3A { height: 19px;
- width: 20px;
- position: relative;
- top: 5px; }
-
-/****THIS DEFINES A ">>" BUTTON IN THE CONTENT SECTION************************/
-.buttonclass4 { margin-bottom: 4px;
- width: 75px;
- height: 23px; }
-
-/****THIS DEFINES ADD/REMOVE BUTTONS HORIZONTALLY IN THE CONTENT SECTION******/
-.buttonclass5 { margin-left: 4px; }
-
-/****THIS DEFINES FIRST ADD/REMOVE BUTTONS HORIZONTALLY IN CONTENT SECTION****/
-.buttonclass5A { margin-left: 8px; }
-
-/****THIS SETS THE LEFT MARGIN FOR THE REMOVE BUTTON***************************/
-#removebtn { margin-left: 4px; }
-
-
-
-/****THIS SETS THE LEFT MARGIN FOR INDENTED SECTION UNDER CHECKBOXES***********/
-label.indent { margin-left: 18px; }
-
-/****THIS SETS THE LEFT MARGIN FOR INDENTED SECTION UNDER CHECKBOXES***********/
-label.indent2 { margin-left: 26px; }
-
-
-/****THESE ARE CUSTOM SPACING ELEMENTS*****************************************/
-p.spacer { margin-bottom: -28px; }
-
-p.elementspacer { margin-bottom: -12px; }
-
-p.elementspacer2 { margin-bottom: -19px; }
-
-p.elementspacer3 { margin-bottom: -3px; }
-
-p.elementspacer4 { margin-bottom: 7px; }
-
-p.elementspacer5 { margin-bottom: 5px; }
-
-p.elementspacer6 { margin-bottom: -24px; }
-
-p.elementspacer7 { margin-bottom: -11px; }
-
-p.elementspacer8 { margin-bottom: -14px; }
-
-p.elementspacer9 { margin-bottom: -7px; }
-
-p.elementspacer10 { margin-bottom: 6px; }
-
-p.elementspacer11 { margin-bottom: 22px; }
-
-p.elementspacer12 { margin-bottom: -17px; }
-
-p.elementspacer13 { margin-bottom: -23px; }
-
-p.elementspacer14 { margin-bottom: -25px; }
-
-
-/*CUSTOM STYLES FOR THE 'CONTENT' FRAME****************************************/
-/******************************************************************************/
diff --git a/Qt4VS2003/Projects/Qt5WinCEProject/HTML/1031/Page_2.htm b/Qt4VS2003/Projects/Qt5WinCEProject/HTML/1031/Page_2.htm
deleted file mode 100644
index c26de626..00000000
--- a/Qt4VS2003/Projects/Qt5WinCEProject/HTML/1031/Page_2.htm
+++ /dev/null
@@ -1,541 +0,0 @@
-<html dir="ltr">
-<head>
- <title>'Qt5WinCEProject'</title>
- <meta content="http://schemas.microsoft.com/intellisense/ie5" name="vs_targetSchema">
- <link id="LINKURL" rel="stylesheet" href="../../1033/styles.css">
-</head>
-<body onkeypress="OnPress();" onkeydown="OnKey();" bottommargin="0" bgcolor="buttonface"
- leftmargin="0" topmargin="0" onload="InitDocument(document);" rightmargin="0">
- <table class="ONE" height="100%" cellspacing="0" cellpadding="0" width="100%" border="0">
- <colgroup>
- <col width="178">
- <col>
- <!--OPEN OF INTRODUCTORY INFORMATION TABLE//-->
- <tr valign="top">
- <td width="100%" colspan="2" height="79">
- <table class="TWO" cellspacing="0" cellpadding="0" border="0">
- <colgroup>
- <col width="12">
- <col>
- <col width="12">
- <tr>
- <td valign="top" width="12" height="12">
- &nbsp;
- </td>
- <td valign="top" height="12">
- &nbsp;
- </td>
- <td valign="top" width="12" height="12">
- &nbsp;
- </td>
- <td class="IMAGE" valign="bottom" width="110" rowspan="2">
- <div class="SMALLA" id="Layer0">
- <img class="SMALLEST" height="63" alt="" src="..\..\Images\Qt5WinCEProject.jpg" width="63"
- border="0">
- </div>
- </td>
- <td valign="top" width="6" height="12" rowspan="2">
- &nbsp;
- </td>
- </tr>
- <tr>
- <td valign="top" width="12" height="65">
- &nbsp;
- </td>
- <td valign="top" height="65">
- <h4 class="HEAD" id="HEAD">
- Willkommen zum Qt5&nbsp;Windows CE Projektwizard</h4>
- <p class="SUBHEAD" id="SUBHEAD">
- Dieser Wizard erstellt ein&nbsp;Qt5&nbsp;Windows CE&nbsp;Anwendungsprojekt. Die&nbsp;
- Anwendung&nbsp;ist vererbt von QApplication und beinhaltet ein leeres Widget.</p>
- </td>
- <td valign="top" width="12" height="65">
- &nbsp;
- </td>
- </tr>
- <tr>
- <td class="RULE" valign="top" colspan="5" height="2">
- <table height="1" cellspacing="0" cellpadding="0" width="100%" border="0">
- <tr valign="top">
- <td width="100%" bgcolor="buttonshadow" height="1">
- <img height="1" alt="" src="../../Images/spacer.gif" width="1">
- </td>
- <td width="1" bgcolor="window" height="1">
- <img height="1" alt="" src="../../Images/spacer.gif" width="1">
- </td>
- </tr>
- </table>
- </td>
- </tr>
- </table>
- </td>
- </tr>
- <!--CLOSE OF INTRODUCTORY INFORMATION TABLE//-->
- <!--OPEN OF NAVIGATION, CONTENT, AND BUTTON TABLES//-->
- <tr valign="top">
- <td class="THREE" valign="top" width="178" height="100%">
- <!--OPEN OF NAVIGATION TABLE//-->
- <table class="THREE" cellspacing="0" cellpadding="0" border="0">
- <colgroup>
- <col width="12">
- <col width="166">
- <col width="1">
- <tr>
- <td valign="top" colspan="3" height="12">
- &nbsp;
- </td>
- </tr>
- <tr>
- <td valign="top" width="12" height="100%">
- &nbsp;
- </td>
- <td valign="top" width="165" height="100%">
- <!--OPEN OF NAVIGATIONAL LINKS//-->
- <div class="LINK">
- <table class="LINKTEXT" height="28" cellspacing="0" cellpadding="0" width="166" border="0">
- <tr valign="middle">
- <td width="162">
- <span class="ACTIVELINK" id="Default" title="" onclick="Next(document, 'default.htm');"
- tabindex="1">bersicht</span>
- </td>
- <td width="4">
- <img height="1" src="../../Images/spacer.gif" width="4">
- </td>
- </tr>
- </table>
- </div>
- <div class="LINKSELECTED">
- <span class="VERTLINE1">
- <img height="1" alt="" src="../../Images/spacer.gif" width="1" border="0">
- </span><span class="HORILINE1">
- <table height="100%" cellspacing="0" cellpadding="0" width="167" border="0">
- <tr valign="top">
- <td class="DOTTEDLINE" height="1">
- </td>
- </tr>
- <tr valign="top">
- <td height="100%">
- <img height="28" alt="" src="../../Images/spacer.gif" width="1" border="0">
- </td>
- </tr>
- <tr valign="top">
- <td class="DOTTEDLINE" height="1">
- </td>
- </tr>
- </table>
- </span>
- <table class="LINKTEXTSELECTED" height="28" cellspacing="0" cellpadding="0" width="160"
- border="0">
- <tr valign="middle">
- <td width="162">
- <span id="Page_2" title="" onclick="Next(document, 'Page_2.htm');" tabindex="1">Projekteinstellungen</span>
- </td>
- <td width="4">
- <img height="1" src="../../Images/spacer.gif" width="4">
- </td>
- </tr>
- </table>
- </div>
- <div class="LINK">
- <table class="LINKTEXT" height="28" cellspacing="0" cellpadding="0" width="166" border="0"
- id="Table1">
- <tr valign="middle">
- <td width="162">
- <span class="ACTIVELINK" id="Page_3" title="" onclick="Next(document, 'Page_3.htm');"
- tabindex="1">Generierte Klassen</span>
- </td>
- <td width="4">
- <img height="1" src="../../Images/spacer.gif" width="4">
- </td>
- </tr>
- </table>
- </div>
- <!--CLOSE OF NAVIGATIONAL LINKS//-->
- </td>
- <td width="1">
- <div class="VERTLINE">
- <img height="1" alt="" src="../../Images/spacer.gif" width="1" border="0">
- </div>
- </td>
- </tr>
- </table>
- <!--CLOSE OF NAVIGATION TABLE//-->
- </td>
- <td valign="top" height="100%">
- <!--OPEN OF CONTENT AND BUTTON TABLE//-->
- <table class="ONE" cellspacing="0" cellpadding="0" border="0">
- <colgroup>
- <col width="100%">
- <tr valign="top">
- <td valign="top" height="100%">
- <!--OPEN OF CONTENT//-->
- <table class="CONTENT" cellspacing="0" cellpadding="0" border="0">
- <colgroup>
- <tr>
- <td width="12" height="12">
- </td>
- <td height="12">
- </td>
- <td height="12">
- </td>
- <td height="12">
- </td>
- <td width="12" height="12">
- </td>
- </tr>
- <tr>
- <td valign="top" width="12">
- </td>
- <td valign="top" colspan="2">
- <p>
- Selektieren Sie die Module, die zum Projekt hinzugefgt werden sollen. Die empfohlenen
- Module sind bereits ausgewhlt.</p>
- <p>
- &nbsp;</p>
- </td>
- <td valign="top" width="12">
- </td>
- </tr>
- <tr>
- <td width="12" height="12">
- </td>
- <td height="12">
- </td>
- <td height="12">
- </td>
- <td height="12">
- </td>
- <td width="12" height="12">
- </td>
- </tr>
-<!-- {ADB367FB-48AA-488e-9102-B037297CFCDB} -->
-<!-- -->
-<!-- START. GENERATED WITH SCRIPT, DO NOT EDIT -->
-<!-- -->
-<tr><td valign="top" width="12"></td><td valign="top" colspan="3"></td><td valign="top" width="12"></td></tr>
-<tr>
-<td valign="top" width="12"></td>
-<td valign="top"><input id="THREED_MODULE" title="Select this if you want to include the 3D library" type="checkbox" name="THREED_MODULE_NAME">&nbsp;3D</td>
-<td valign="top"><input id="NETWORK_MODULE" title="Select this if you want to include the Network library" type="checkbox" name="NETWORK_MODULE_NAME">&nbsp;Network</td>
-<td valign="top"><input id="SVG_MODULE" title="Select this if you want to include the SVG library" type="checkbox" name="SVG_MODULE_NAME">&nbsp;SVG</td>
-<td valign="top" width="12"></td>
-</tr>
-<tr>
-<td valign="top" width="12"></td>
-<td valign="top"><input id="AQCONTAINER_MODULE" title="Select this if you want to include the ActiveQt container library" type="checkbox" name="AQCONTAINER_MODULE_NAME">&nbsp;ActiveQt container&nbsp;</td>
-<td valign="top"><input id="NFC_MODULE" title="Select this if you want to include the NFC library" type="checkbox" name="NFC_MODULE_NAME">&nbsp;NFC</td>
-<td valign="top"><input id="TEST_MODULE" title="Select this if you want to include the Test library" type="checkbox" name="TEST_MODULE_NAME">&nbsp;Test</td>
-<td valign="top" width="12"></td>
-</tr>
-<tr>
-<td valign="top" width="12"></td>
-<td valign="top"><input id="AQSERVER_MODULE" title="Select this if you want to include the ActiveQt server library" type="checkbox" name="AQSERVER_MODULE_NAME">&nbsp;ActiveQt&nbsp;server&nbsp;</td>
-<td valign="top"><input id="OPENGL_MODULE" title="Select this if you want to include the OpenGL library" type="checkbox" name="OPENGL_MODULE_NAME">&nbsp;OpenGL</td>
-<td valign="top"><input id="UITOOLS_MODULE" title="Select this if you want to include the UI Tools" type="checkbox" name="UITOOLS_MODULE_NAME">&nbsp;UI Tools</td>
-<td valign="top" width="12"></td>
-</tr>
-<tr>
-<td valign="top" width="12"></td>
-<td valign="top"><input id="BLUETOOTH_MODULE" title="Select this if you want to include the Bluetooth library" type="checkbox" name="BLUETOOTH_MODULE_NAME">&nbsp;Bluetooth</td>
-<td valign="top"><input id="POSITIONING_MODULE" title="Select this if you want to include the Positioning library" type="checkbox" name="POSITIONING_MODULE_NAME">&nbsp;Positioning</td>
-<td valign="top"><input id="WEBCHANNEL_MODULE" title="Select this if you want to include the Web Channel library" type="checkbox" name="WEBCHANNEL_MODULE_NAME">&nbsp;Web Channel</td>
-<td valign="top" width="12"></td>
-</tr>
-<tr>
-<td valign="top" width="12"></td>
-<td valign="top"><input id="CONCURRENT_MODULE" title="Select this if you want to include the Concurrent library" type="checkbox" name="CONCURRENT_MODULE_NAME">&nbsp;Concurrent</td>
-<td valign="top"><input id="PRINTSUPPORT_MODULE" title="Select this if you want to include the Print Support library" type="checkbox" name="PRINTSUPPORT_MODULE_NAME">&nbsp;Print Support</td>
-<td valign="top"><input id="WEBKIT_MODULE" title="Select this if you want to include the WebKit library" type="checkbox" name="WEBKIT_MODULE_NAME">&nbsp;WebKit</td>
-<td valign="top" width="12"></td>
-</tr>
-<tr>
-<td valign="top" width="12"></td>
-<td valign="top"><input id="CORE_MODULE" title="Select this if you want to include the core library" type="checkbox" name="CORE_MODULE_NAME">&nbsp;Core</td>
-<td valign="top"><input id="QML_MODULE" title="Select this if you want to include the QML library" type="checkbox" name="QML_MODULE_NAME">&nbsp;QML</td>
-<td valign="top"><input id="WEBKITWIDGETS_MODULE" title="Select this if you want to include the Webkit Widgets library" type="checkbox" name="WEBKITWIDGETS_MODULE_NAME">&nbsp;Webkit Widgets</td>
-<td valign="top" width="12"></td>
-</tr>
-<tr>
-<td valign="top" width="12"></td>
-<td valign="top"><input id="ENGINIO_MODULE" title="Select this if you want to include the Enginio library" type="checkbox" name="ENGINIO_MODULE_NAME">&nbsp;Enginio</td>
-<td valign="top"><input id="QUICK_MODULE" title="Select this if you want to include the Quick library" type="checkbox" name="QUICK_MODULE_NAME">&nbsp;Quick</td>
-<td valign="top"><input id="WEBSOCKETS_MODULE" title="Select this if you want to include the Web Sockets library" type="checkbox" name="WEBSOCKETS_MODULE_NAME">&nbsp;Web Sockets</td>
-<td valign="top" width="12"></td>
-</tr>
-<tr>
-<td valign="top" width="12"></td>
-<td valign="top"><input id="DECLARATIVE_MODULE" title="Select this if you want to include the Declarative library" type="checkbox" name="DECLARATIVE_MODULE_NAME">&nbsp;Declarative</td>
-<td valign="top"><input id="QUICKWIDGETS_MODULE" title="Select this if you want to include the Quick Widgets library" type="checkbox" name="QUICKWIDGETS_MODULE_NAME">&nbsp;Quick Widgets</td>
-<td valign="top"><input id="WIDGETS_MODULE" title="Select this if you want to include the Widgets library" type="checkbox" name="WIDGETS_MODULE_NAME">&nbsp;Widgets</td>
-<td valign="top" width="12"></td>
-</tr>
-<tr>
-<td valign="top" width="12"></td>
-<td valign="top"><input id="GUI_MODULE" title="Select this if you want to include the GUI library" type="checkbox" name="GUI_MODULE_NAME">&nbsp;GUI</td>
-<td valign="top"><input id="SCRIPT_MODULE" title="Select this if you want to include the Script library" type="checkbox" name="SCRIPT_MODULE_NAME">&nbsp;Script</td>
-<td valign="top"><input id="WINDOWSEXTRAS_MODULE" title="Select this if you want to include the Windows Extras library" type="checkbox" name="WINDOWSEXTRAS_MODULE_NAME">&nbsp;Windows Extras</td>
-<td valign="top" width="12"></td>
-</tr>
-<tr>
-<td valign="top" width="12"></td>
-<td valign="top"><input id="HELP_MODULE" title="Select this if you want to include the Help library" type="checkbox" name="HELP_MODULE_NAME">&nbsp;Help</td>
-<td valign="top"><input id="SCRIPTTOOLS_MODULE" title="Select this if you want to include the Script Tools" type="checkbox" name="SCRIPTTOOLS_MODULE_NAME">&nbsp;Script Tools</td>
-<td valign="top"><input id="XML_MODULE" title="Select this if you want to include the XML library" type="checkbox" name="XML_MODULE_NAME">&nbsp;XML</td>
-<td valign="top" width="12"></td>
-</tr>
-<tr>
-<td valign="top" width="12"></td>
-<td valign="top"><input id="LOCATION_MODULE" title="Select this if you want to include the Location library" type="checkbox" name="LOCATION_MODULE_NAME">&nbsp;Location</td>
-<td valign="top"><input id="SENSORS_MODULE" title="Select this if you want to include the Sensors library" type="checkbox" name="SENSORS_MODULE_NAME">&nbsp;Sensors</td>
-<td valign="top"><input id="XMLPATTERNS_MODULE" title="Select this if you want to include the XML Patterns library" type="checkbox" name="XMLPATTERNS_MODULE_NAME">&nbsp;XML Patterns</td>
-<td valign="top" width="12"></td>
-</tr>
-<tr>
-<td valign="top" width="12"></td>
-<td valign="top"><input id="MULTIMEDIA_MODULE" title="Select this if you want to include the Multimedia library" type="checkbox" name="MULTIMEDIA_MODULE_NAME">&nbsp;Multimedia</td>
-<td valign="top"><input id="SERIALPORT_MODULE" title="Select this if you want to include the Serial Port library" type="checkbox" name="SERIALPORT_MODULE_NAME">&nbsp;Serial Port</td>
-<td valign="top" width="12"></td>
-<td valign="top" width="12"></td>
-</tr>
-<tr>
-<td valign="top" width="12"></td>
-<td valign="top"><input id="MULTIMEDIAWIDGETS_MODULE" title="Select this if you want to include the Multimedia Widgets library" type="checkbox" name="MULTIMEDIAWIDGETS_MODULE_NAME">&nbsp;Multimedia Widgets</td>
-<td valign="top"><input id="SQL_MODULE" title="Select this if you want to include the SQL library" type="checkbox" name="SQL_MODULE_NAME">&nbsp;SQL</td>
-<td valign="top" width="12"></td>
-<td valign="top" width="12"></td>
-</tr>
-<!-- -->
-<!-- END. GENERATED WITH SCRIPT, DO NOT EDIT -->
-<!-- -->
-<!-- {ADB367FB-48AA-488e-9102-B037297CFCDB} -->
-
-
-
-
- <tr>
- <td valign="top" width="12">
- </td>
- <td valign="top" colspan="3">
- <p>
- &nbsp;</p>
- </td>
- <td valign="top" width="12">
- </td>
- </tr>
- <tr>
- <td valign="top" width="12" height="100%">
- </td>
- <td valign="top" height="100%">
- </td>
- <td valign="top" height="100%">
- </td>
- <td valign="top" height="100%">
- </td>
- <td valign="top" width="12" height="100%">
- </td>
- </tr>
- </table>
- <!--CLOSE OF CONTENT//-->
- </TD> </TR>
- <tr valign="bottom">
- <td height="48">
- <!--OPEN OF BUTTON HTML//-->
- <table height="48" cellspacing="0" cellpadding="0" border="0">
- <colgroup>
- <col width="12">
- <col>
- <col width="75">
- <col width="4">
- <col width="75">
- <col width="4">
- <col width="75">
- <col width="12">
- <tr>
- <td class="RULE" valign="top" colspan="8" height="2">
- <table height="1" cellspacing="0" cellpadding="0" width="100%" border="0">
- <tr valign="top">
- </tr>
- </table>
- </td>
- </tr>
- <tr>
- <td valign="top" colspan="8" height="11">
- &nbsp;
- </td>
- </tr>
- <tr>
- <td valign="middle" width="12" height="23">
- &nbsp;
- </td>
- <td valign="top" height="23">
- &nbsp;
- </td>
- <td valign="middle" width="75" height="23">
- <button class="BUTTONS" id="FinishBtn" accesskey="B" onclick="OnFinish(document);"
- type="button">
- <u>B</u>eenden</button>
- </td>
- <td valign="middle" width="4" height="23">
- &nbsp;
- </td>
- <td valign="middle" width="75" height="23">
- <button class="BUTTONS" id="CancelBtn" accesskey="A" onclick="window.external.Finish(document, 'cancel');"
- type="button">
- <u>A</u>bbrechen</button>
- </td>
- <td valign="middle" width="4" height="23">
- &nbsp;
- </td>
- <td valign="middle" width="75" height="23">
- <button class="BUTTONS" id="HelpBtn" disabled accesskey="H" onclick="window.external.OnHelp('vc.appwiz.custom.overview');"
- type="button">
- <u>H</u>ilfe</button>
- </td>
- <td valign="middle" width="12" height="23">
- &nbsp;
- </td>
- </tr>
- <tr>
- <td valign="top" colspan="8" height="12">
- &nbsp;
- </td>
- </tr>
- </table>
- <!--CLOSE OF BUTTON HTML//-->
- </td>
- </tr>
- </TABLE>
- <!--CLOSE OF NAVIGATION, CONTENT, AND BUTTON TABLES//-->
- </TD> </TR> </TABLE>
-</body>
-</html>
-<script language="JSCRIPT">
-
- var QtEngine;
- var tab_array = new Array();
- tab_array[0] = Default;
- tab_array[1] = Page_2;
-
- // This is an example of a function which initializes the page
- //
- function InitDocument(document) {
- var dte = window.external.dte;
- var version = dte.version;
- if (version == "8.0")
- QtEngine = new ActiveXObject("Digia.Qt5ProjectEngine80");
- else if (version == "9.0")
- QtEngine = new ActiveXObject("Digia.Qt5ProjectEngine90");
- else if (version == "10.0")
- QtEngine = new ActiveXObject("Digia.Qt5ProjectEngine100");
- else if (version == "11.0")
- QtEngine = new ActiveXObject("Digia.Qt5ProjectEngine110");
- else if (version == "12.0")
- QtEngine = new ActiveXObject("Digia.Qt5ProjectEngine120");
- else {
- window.external.ReportError("Cannot instantiate QtProjectEngine object!");
- return false;
- }
-
- setDirection();
- if (window.external.FindSymbol('DOCUMENT_FIRST_LOAD')) {
- // This function sets the default symbols based
- // on the values specified in the SYMBOL tags above
- //
- window.external.SetDefaults(document);
- }
- // Load the document and initialize the controls
- // with the appropriate symbol values
- //
- window.external.Load(document);
-
- // Disable Essential modules which are not installed (Should not found any?)
- DisableUninstalled(THREED_MODULE_NAME, "Qt3D", QtEngine);
- DisableUninstalled(CORE_MODULE_NAME, "QtCore", QtEngine);
- DisableUninstalled(GUI_MODULE_NAME, "QtGui", QtEngine);
- DisableUninstalled(LOCATION_MODULE_NAME, "QtLocation", QtEngine);
- DisableUninstalled(MULTIMEDIA_MODULE_NAME, "QtMultimedia", QtEngine);
- DisableUninstalled(MULTIMEDIAWIDGETS_MODULE_NAME, "QtMultimediaWidgets", QtEngine);
- DisableUninstalled(NETWORK_MODULE_NAME, "QtNetwork", QtEngine);
- DisableUninstalled(QML_MODULE_NAME, "QtQml", QtEngine);
- DisableUninstalled(QUICK_MODULE_NAME, "QtQuick", QtEngine);
- DisableUninstalled(SQL_MODULE_NAME, "QtSql", QtEngine);
- DisableUninstalled(TEST_MODULE_NAME, "QtTest", QtEngine);
- DisableUninstalled(WEBKIT_MODULE_NAME, "QtWebkit", QtEngine);
-
- // Disable Add-on modules which are not installed
- DisableUninstalled(AQCONTAINER_MODULE_NAME, "QtAxContainer", QtEngine);
- DisableUninstalled(AQSERVER_MODULE_NAME, "QtAxServer", QtEngine);
- DisableUninstalled(BLUETOOTH_MODULE_NAME, "QtBluetooth", QtEngine);
- DisableUninstalled(CONCURRENT_MODULE_NAME, "QtConcurrent", QtEngine);
- DisableUninstalled(DECLARATIVE_MODULE_NAME, "QtDeclarative", QtEngine);
- DisableUninstalled(ENGINIO_MODULE_NAME, "Enginio", QtEngine);
- DisableUninstalled(HELP_MODULE_NAME, "QtHelp", QtEngine);
- DisableUninstalled(NFC_MODULE_NAME, "QtNfc", QtEngine);
- DisableUninstalled(OPENGL_MODULE_NAME, "QtOpenGL", QtEngine);
- DisableUninstalled(POSITIONING_MODULE_NAME, "QtPositioning", QtEngine);
- DisableUninstalled(PRINTSUPPORT_MODULE_NAME, "QtPrintSupport", QtEngine);
- DisableUninstalled(QUICKWIDGETS_MODULE_NAME, "QtQuickWidgets", QtEngine);
- DisableUninstalled(SCRIPT_MODULE_NAME, "QtScript", QtEngine);
- DisableUninstalled(SCRIPTTOOLS_MODULE_NAME, "QtScriptTools", QtEngine);
- DisableUninstalled(SENSORS_MODULE_NAME, "QtSensors", QtEngine);
- DisableUninstalled(SERIALPORT_MODULE_NAME, "QtSerialPort", QtEngine);
- DisableUninstalled(SVG_MODULE_NAME, "QtSvg", QtEngine);
- DisableUninstalled(UITOOLS_MODULE_NAME, "QtUiTools", QtEngine);
- DisableUninstalled(WEBCHANNEL_MODULE_NAME, "QtWebChannel", QtEngine);
- DisableUninstalled(WEBKITWIDGETS_MODULE_NAME, "QtWebkitWidgets", QtEngine);
- DisableUninstalled(WEBSOCKETS_MODULE_NAME, "QtWebSockets", QtEngine);
- DisableUninstalled(WIDGETS_MODULE_NAME, "QtWidgets", QtEngine);
- DisableUninstalled(WINDOWSEXTRAS_MODULE_NAME, "QtWinExtras", QtEngine);
- DisableUninstalled(XML_MODULE_NAME, "QtXml", QtEngine);
- DisableUninstalled(XMLPATTERNS_MODULE_NAME, "QtXmlPatterns", QtEngine);
-
- // Disable these cause mandatory for this wizard
- CORE_MODULE_NAME.disabled = true;
- GUI_MODULE_NAME.disabled = true;
- }
-
- function DisableUninstalled(element, lib_name, engine) {
- var not_installed = !engine.IsModuleInstalled(lib_name);
- element.disabled = not_installed;
- if (not_installed) {
- element.title = ""; // Not installed so don't show title
- element.parentNode.className = "addon_disabled";
- }
- return not_installed;
- }
-
- // If the wizard has more than 1 page, this
- // function will browse to the page specified
- //
- function Next(document, linkto) {
- CORE_MODULE_NAME.disabled = false;
- GUI_MODULE_NAME.disabled = false;
- window.external.Next(document, linkto);
- }
-
- // This is an example of a function which
- // gets called when the user clicks on 'Finish'
- //
- function OnFinish(document) {
- CORE_MODULE_NAME.disabled = false;
- GUI_MODULE_NAME.disabled = false;
- OnWizFinish(document);
- }
-
-</script>
-<script language="JSCRIPT" id="INCLUDE_SCRIPT"></script>
-<script language="JSCRIPT" id="INCLUDE_COMMON"></script>
-<!--
-Common.js is a script file which contains the helper functions
-used by the wizards. Include this line if you want to
-call these functions from your html scripts.
-//-->
-<script>
- var strPath = window.external.FindSymbol("PRODUCT_INSTALLATION_DIR");
- strPath += "VCWizards/";
- strPath += window.external.GetHostLocale();
- var strScriptPath = strPath + "/Script.js";
- var strCommonPath = strPath + "/Common.js";
- document.scripts("INCLUDE_SCRIPT").src = strScriptPath;
- document.scripts("INCLUDE_COMMON").src = strCommonPath;
-</script>
diff --git a/Qt4VS2003/Projects/Qt5WinCEProject/HTML/1031/Page_3.htm b/Qt4VS2003/Projects/Qt5WinCEProject/HTML/1031/Page_3.htm
deleted file mode 100644
index a64e9acb..00000000
--- a/Qt4VS2003/Projects/Qt5WinCEProject/HTML/1031/Page_3.htm
+++ /dev/null
@@ -1,524 +0,0 @@
-<html dir="ltr">
-<head>
- <meta name="vs_showGrid" content="True">
- <title>'Qt5WinCEProject'</title>
- <meta content="http://schemas.microsoft.com/intellisense/ie5" name="vs_targetSchema">
- <link id="LINKURL" rel="stylesheet" href="../../1033/styles.css">
-</head>
-<body onkeypress="OnPress();" onkeydown="OnKey();" bottommargin="0" bgcolor="buttonface"
- leftmargin="0" topmargin="0" onload="InitDocument(document);" rightmargin="0">
- <table class="ONE" height="100%" cellspacing="0" cellpadding="0" width="100%" border="0">
- <colgroup>
- <col width="178">
- <col>
- <!--OPEN OF INTRODUCTORY INFORMATION TABLE//-->
- <tr valign="top">
- <td width="100%" colspan="2" height="79">
- <table class="TWO" cellspacing="0" cellpadding="0" border="0">
- <colgroup>
- <col width="12">
- <col>
- <col width="12">
- <tr>
- <td valign="top" width="12" height="12">
- &nbsp;
- </td>
- <td valign="top" height="12">
- &nbsp;
- </td>
- <td valign="top" width="12" height="12">
- &nbsp;
- </td>
- <td class="IMAGE" valign="bottom" width="110" rowspan="2">
- <div class="SMALLA" id="Layer0">
- <img class="SMALLEST" height="63" alt="" src="..\..\Images\Qt5WinCEProject.jpg" width="63"
- border="0">
- </div>
- </td>
- <td valign="top" width="6" height="12" rowspan="2">
- &nbsp;
- </td>
- </tr>
- <tr>
- <td valign="top" width="12" height="65">
- &nbsp;
- </td>
- <td valign="top" height="65">
- <h4 class="HEAD" id="HEAD">
- Willkommen zum Qt5&nbsp;Windows CE Projektwizard</h4>
- <p class="SUBHEAD" id="SUBHEAD">
- Dieser Wizard erstellt ein&nbsp;Qt5&nbsp;Windows CE&nbsp;Anwendungsprojekt. Die&nbsp;
- Anwendung&nbsp;ist vererbt von QApplication und beinhaltet ein leeres Widget.</p>
- </td>
- <td valign="top" width="12" height="65">
- &nbsp;
- </td>
- </tr>
- <tr>
- <td class="RULE" valign="top" colspan="5" height="2">
- <table height="1" cellspacing="0" cellpadding="0" width="100%" border="0">
- <tr valign="top">
- <td width="100%" bgcolor="buttonshadow" height="1">
- <img height="1" alt="" src="../../Images/spacer.gif" width="1">
- </td>
- <td width="1" bgcolor="window" height="1">
- <img height="1" alt="" src="../../Images/spacer.gif" width="1">
- </td>
- </tr>
- </table>
- </td>
- </tr>
- </table>
- </td>
- </tr>
- <!--CLOSE OF INTRODUCTORY INFORMATION TABLE//-->
- <!--OPEN OF NAVIGATION, CONTENT, AND BUTTON TABLES//-->
- <tr valign="top">
- <td class="THREE" valign="top" width="178" height="100%">
- <!--OPEN OF NAVIGATION TABLE//-->
- <table class="THREE" cellspacing="0" cellpadding="0" border="0">
- <colgroup>
- <col width="12">
- <col width="166">
- <col width="1">
- <tr>
- <td valign="top" colspan="3" height="12">
- &nbsp;
- </td>
- </tr>
- <tr>
- <td valign="top" width="12" height="100%">
- &nbsp;
- </td>
- <td valign="top" width="165" height="100%">
- <!--OPEN OF NAVIGATIONAL LINKS//-->
- <div class="LINK">
- <table class="LINKTEXT" height="28" cellspacing="0" cellpadding="0" width="166" border="0">
- <tr valign="middle">
- <td width="162">
- <span class="ACTIVELINK" id="Page_1" title="" onclick="Next(document, 'default.htm');"
- tabindex="1">bersicht</span>
- </td>
- <td width="4">
- <img height="1" src="../../Images/spacer.gif" width="4">
- </td>
- </tr>
- </table>
- </div>
- <div class="LINK">
- <table class="LINKTEXT" height="28" cellspacing="0" cellpadding="0" width="166" border="0"
- id="Table1">
- <tr valign="middle">
- <td width="162">
- <span class="ACTIVELINK" id="Page_2" title="" onclick="Next(document, 'Page_2.htm');"
- tabindex="1">Projekteinstellungen</span>
- </td>
- <td width="4">
- <img height="1" src="../../Images/spacer.gif" width="4">
- </td>
- </tr>
- </table>
- </div>
- <div class="LINKSELECTED">
- <span class="VERTLINE1">
- <img height="1" alt="" src="../../Images/spacer.gif" width="1" border="0">
- </span><span class="HORILINE1">
- <table height="100%" cellspacing="0" cellpadding="0" width="167" border="0">
- <tr valign="top">
- <td class="DOTTEDLINE" height="1">
- </td>
- </tr>
- <tr valign="top">
- <td height="100%">
- <img height="28" alt="" src="../../Images/spacer.gif" width="1" border="0">
- </td>
- </tr>
- <tr valign="top">
- <td class="DOTTEDLINE" height="1">
- </td>
- </tr>
- </table>
- </span>
- <table class="LINKTEXTSELECTED" height="28" cellspacing="0" cellpadding="0" width="160"
- border="0">
- <tr valign="middle">
- <td width="162">
- <span id="Page_3" title="" onclick="Next(document, 'Page_2.htm');" tabindex="1">Generierte
- Klassen</span>
- </td>
- <td width="4">
- <img height="1" src="../../Images/spacer.gif" width="4">
- </td>
- </tr>
- </table>
- </div>
- <!--CLOSE OF NAVIGATIONAL LINKS//-->
- </td>
- <td width="1">
- <div class="VERTLINE">
- <img height="1" alt="" src="../../Images/spacer.gif" width="1" border="0">
- </div>
- </td>
- </tr>
- </table>
- <!--CLOSE OF NAVIGATION TABLE//-->
- </td>
- <td valign="top" height="100%">
- <!--OPEN OF CONTENT AND BUTTON TABLE//-->
- <table class="ONE" cellspacing="0" cellpadding="0" border="0">
- <colgroup>
- <col width="100%">
- <tr valign="top">
- <td valign="top" height="100%">
- <!--OPEN OF CONTENT//-->
- <table class="CONTENT" cellspacing="0" cellpadding="0" border="0">
- <colgroup>
- <tr>
- <td width="12" height="12">
- </td>
- <td height="12">
- </td>
- <td height="12">
- </td>
- <td width="12" height="12">
- </td>
- </tr>
- <tr>
- <td valign="top" width="12">
- </td>
- <td valign="top">
- Klassenname:
- </td>
- <td valign="top">
- Basis Klasse:
- </td>
- <td valign="top" width="12">
- </td>
- </tr>
- <tr>
- <td valign="top" width="12">
- </td>
- <td valign="top">
- <input id="CLASSNAME_TEXT" type="text" name="className" onpropertychange="ClassNameChanged();">
- </td>
- <td valign="top">
- <select id="BASECLASS_COMBO" style="width: 120px" name="baseClass" width="168">
- <option value="1" selected>QMainWindow</option>
- <option value="2">QWidget</option>
- <option value="3">QDialog</option>
- </select>
- </td>
- <td valign="top" width="12">
- </td>
- </tr>
- <tr>
- <td width="12" height="12">
- </td>
- <td height="12">
- </td>
- <td height="12">
- </td>
- <td width="12" height="12">
- </td>
- </tr>
- <tr>
- <td width="12" height="12">
- </td>
- <td height="12">
- </td>
- <td height="12">
- </td>
- <td width="12" height="12">
- </td>
- </tr>
- <tr>
- <td valign="top" width="12">
- </td>
- <td valign="top">
- .h Datei:
- </td>
- <td valign="top">
- <p>
- .cpp&nbsp;Datei:</p>
- </td>
- <td valign="top" width="12">
- </td>
- </tr>
- <tr>
- <td valign="top" width="12">
- </td>
- <td valign="top">
- <input id="HFILE_TEXT" type="text" name="hFile">
- </td>
- <td valign="top">
- <input id="CPPFILE_TEXT" type="text" name="cppFile">
- </td>
- <td valign="top" width="12">
- </td>
- </tr>
- <tr>
- <td valign="top" width="12">
- </td>
- <td valign="top">
- .ui Datei:
- </td>
- <td valign="top">
- .qrc Datei:
- </td>
- <td valign="top" width="12">
- </td>
- </tr>
- <tr>
- <td valign="top" width="12" style="height: 19px">
- </td>
- <td valign="top">
- <input id="UIFILE_TEXT" type="text" name="uiFile">
- <td valign="top">
- <input id="QRCFILE_TEXT" type="text" name="qrcFile">
- </td>
- <td valign="top" width="12" style="height: 19px">
- </td>
- </tr>
- <tr>
- <td width="12" height="12">
- </td>
- <td height="12">
- </td>
- <td height="12">
- </td>
- <td width="12" height="12">
- </td>
- </tr>
- <tr>
- <td width="12" height="24">
- </td>
- <td height="12" colspan="2">
- <input id="APP_ICON" title="Add Default Application Icon (Windows only)" type="checkbox"
- name="APP_ICON_NAME">Erstelle Programmicon (nur fr Windows)
- </td>
- <td width="12" height="12">
- </td>
- </tr>
- <tr>
- <td width="12" height="24">
- </td>
- <td height="12" colspan="2">
- <input id="PRECOMPILED_HEADERS" title="Vorkompilierte Header verwenden" type="checkbox"
- name="precompiledHeaders">Vorkompilierte Header verwenden
- </td>
- <td width="12" height="12">
- </td>
- </tr>
- <tr>
- <td valign="top" width="12" height="100%">
- </td>
- <td valign="top" height="100%">
- </td>
- <td valign="top" height="100%">
- </td>
- <td valign="top" width="12" height="100%">
- </td>
- </tr>
- </table>
- <!--CLOSE OF CONTENT//-->
- </td>
- </tr>
- <tr valign="bottom">
- <td height="48">
- <!--OPEN OF BUTTON HTML//-->
- <table height="48" cellspacing="0" cellpadding="0" border="0">
- <colgroup>
- <col width="12">
- <col>
- <col width="75">
- <col width="4">
- <col width="75">
- <col width="4">
- <col width="75">
- <col width="12">
- <tr>
- <td class="RULE" valign="top" colspan="8" height="2">
- <table height="1" cellspacing="0" cellpadding="0" width="100%" border="0">
- <tr valign="top">
- </tr>
- </table>
- </td>
- </tr>
- <tr>
- <td valign="top" colspan="8" height="11">
- &nbsp;
- </td>
- </tr>
- <tr>
- <td valign="middle" width="12" height="23">
- &nbsp;
- </td>
- <td valign="top" height="23">
- &nbsp;
- </td>
- <td valign="middle" width="75" height="23">
- <button class="BUTTONS" id="FinishBtn" accesskey="B" onclick="OnFinish(document);"
- type="button">
- <u>B</u>eenden</button>
- </td>
- <td valign="middle" width="4" height="23">
- &nbsp;
- </td>
- <td valign="middle" width="75" height="23">
- <button class="BUTTONS" id="CancelBtn" accesskey="A" onclick="window.external.Finish(document, 'cancel');"
- type="button">
- <u>A</u>bbrechen</button>
- </td>
- <td valign="middle" width="4" height="23">
- &nbsp;
- </td>
- <td valign="middle" width="75" height="23">
- <button class="BUTTONS" id="HelpBtn" disabled accesskey="H" onclick="window.external.OnHelp('vc.appwiz.custom.overview');"
- type="button">
- <u>H</u>ilfe</button>
- </td>
- <td valign="middle" width="12" height="23">
- &nbsp;
- </td>
- </tr>
- <tr>
- <td valign="top" colspan="8" height="12">
- &nbsp;
- </td>
- </tr>
- </table>
- <!--CLOSE OF BUTTON HTML//-->
- </td>
- </tr>
- </table>
- <!--CLOSE OF NAVIGATION, CONTENT, AND BUTTON TABLES//-->
- </td>
- </tr>
- </table>
-</body>
-</html>
-<script language="JSCRIPT">
-
- var tab_array = new Array();
- tab_array[0] = Page_1;
- tab_array[1] = Page_2;
-
- // This is an example of a function which initializes the page
- //
- function InitDocument(document) {
- setDirection();
-
- if (window.external.FindSymbol('DOCUMENT_FIRST_LOAD')) {
- // This function sets the default symbols based
- // on the values specified in the SYMBOL tags above
- //
- window.external.SetDefaults(document);
- }
-
- // Load the document and initialize the controls
- // with the appropriate symbol values
- //
- window.external.Load(document);
- }
-
- function ClassNameChanged() {
- HFILE_TEXT.value = CLASSNAME_TEXT.value.toLowerCase() + ".h";
- CPPFILE_TEXT.value = CLASSNAME_TEXT.value.toLowerCase() + ".cpp";
- UIFILE_TEXT.value = CLASSNAME_TEXT.value.toLowerCase() + ".ui";
- QRCFILE_TEXT.value = CLASSNAME_TEXT.value.toLowerCase() + ".qrc";
- }
-
- function ValidateAndUpdate() {
- var Inputs = document.all.tags("INPUT");
-
- var regexp = /\s/g;
- var proName = window.external.FindSymbol('PROJECT_NAME').replace(regexp, "");
-
- var field = Inputs.item("className");
- if (!window.external.dte.VCLanguageManager.ValidateIdentifier(field.value) ||
- window.external.dte.VCLanguageManager.IsReservedName(field.value)) {
- window.external.ReportError("Ungltiger Klassenname!");
- field.value = proName;
- return false;
- }
-
- field = Inputs.item("hFile");
- if (!ValidateFileName(field.value)) {
- window.external.ReportError("Ungltiger Dateiname!");
- field.value = proName.toLowerCase() + ".h";
- return false;
- }
-
- field = Inputs.item("cppFile");
- if (!ValidateFileName(field.value)) {
- window.external.ReportError("Ungltiger Dateiname!");
- field.value = proName.toLowerCase() + ".cpp";
- return false;
- }
-
- field = Inputs.item("uiFile");
- var strFile = field.value.toLowerCase().replace(".h", ".x"); // don't validate .h files...
- var strFile = strFile.replace(".ui", ".h");
- if (!ValidateFileName(strFile)) {
- window.external.ReportError("Ungltiger Dateiname!");
- field.value = proName.toLowerCase() + ".ui";
- return false;
- }
-
- field = Inputs.item("qrcFile");
- var strFile = field.value.toLowerCase().replace(".h", ".x"); // don't validate .h files...
- var strFile = strFile.replace(".qrc", ".h");
-
- if (!ValidateFileName(strFile)) {
- window.external.ReportError("Ungltiger Dateiname!");
- field.value = proName.toLowerCase() + ".qrc";
- return false;
- }
- return true;
- }
-
- function ValidateFileName(FileName) {
- if (!window.external.dte.VCLanguageManager.ValidateFileName(FileName))
- return false;
- if (FileName.search(/[\\\/\:\*\?\"\<\>\|]/g) != -1)
- return false;
- return true;
- }
-
- // If the wizard has more than 1 page, this
- // function will browse to the page specified
- //
- function Next(document, linkto) {
- if (!ValidateAndUpdate())
- return;
-
- window.external.Next(document, linkto);
- }
-
- // This is an example of a function which
- // gets called when the user clicks on 'Finish'
- //
- function OnFinish(document) {
- if (!ValidateAndUpdate())
- return;
-
- OnWizFinish(document);
- }
-
-</script>
-<script language="JSCRIPT" id="INCLUDE_SCRIPT"></script>
-<script language="JSCRIPT" id="INCLUDE_COMMON"></script>
-<!--
-Common.js is a script file which contains the helper functions
-used by the wizards. Include this line if you want to
-call these functions from your html scripts.
-//-->
-<script>
- var strPath = window.external.FindSymbol("PRODUCT_INSTALLATION_DIR");
- strPath += "VCWizards/";
- strPath += window.external.GetHostLocale();
- var strScriptPath = strPath + "/Script.js";
- var strCommonPath = strPath + "/Common.js";
- document.scripts("INCLUDE_SCRIPT").src = strScriptPath;
- document.scripts("INCLUDE_COMMON").src = strCommonPath;
-</script>
diff --git a/Qt4VS2003/Projects/Qt5WinCEProject/HTML/1031/default.htm b/Qt4VS2003/Projects/Qt5WinCEProject/HTML/1031/default.htm
deleted file mode 100644
index 20b9e711..00000000
--- a/Qt4VS2003/Projects/Qt5WinCEProject/HTML/1031/default.htm
+++ /dev/null
@@ -1,572 +0,0 @@
-<html dir="ltr">
-<head>
- <title>'Qt5WinCEProject'</title>
- <meta content="http://schemas.microsoft.com/intellisense/ie5" name="vs_targetSchema">
- <link id="LINKURL" rel="stylesheet" href="../../1033/styles.css">
- <!-- -->
- <!-- The SYMBOL tag is used to set the default values for the user-defined symbols.-->
- <!-- -->
- <symbol name="WIZARD_DIALOG_TITLE" type="text" value="Qt5 Windows CE Project Wizard"></symbol>
- <symbol name="THREED_MODULE" type="checkbox" value="false"></symbol>
- <symbol name="AQCONTAINER_MODULE" type="checkbox" value="false"></symbol>
- <symbol name="AQSERVER_MODULE" type="checkbox" value="false"></symbol>
- <symbol name="BLUETOOTH_MODULE" type="checkbox" value="false"></symbol>
- <symbol name="CONCURRENT_MODULE" type="checkbox" value="false"></symbol>
- <symbol name="CORE_MODULE" type="checkbox" value="true"></symbol>
- <symbol name="ENGINIO_MODULE" type="checkbox" value="false"></symbol>
- <symbol name="DECLARATIVE_MODULE" type="checkbox" value="false"></symbol>
- <symbol name="GUI_MODULE" type="checkbox" value="true"></symbol>
- <symbol name="HELP_MODULE" type="checkbox" value="false"></symbol>
- <symbol name="LOCATION_MODULE" type="checkbox" value="false"></symbol>
- <symbol name="MULTIMEDIA_MODULE" type="checkbox" value="false"></symbol>
- <symbol name="MULTIMEDIAWIDGETS_MODULE" type="checkbox" value="false"></symbol>
- <symbol name="NETWORK_MODULE" type="checkbox" value="false"></symbol>
- <symbol name="NFC_MODULE" type="checkbox" value="false"></symbol>
- <symbol name="OPENGL_MODULE" type="checkbox" value="false"></symbol>
- <symbol name="POSITIONING_MODULE" type="checkbox" value="false"></symbol>
- <symbol name="PRINTSUPPORT_MODULE" type="checkbox" value="false"></symbol>
- <symbol name="QML_MODULE" type="checkbox" value="false"></symbol>
- <symbol name="QUICK_MODULE" type="checkbox" value="false"></symbol>
- <symbol name="QUICKWIDGETS_MODULE" type="checkbox" value="false"></symbol>
- <symbol name="SCRIPT_MODULE" type="checkbox" value="false"></symbol>
- <symbol name="SCRIPTTOOLS_MODULE" type="checkbox" value="false"></symbol>
- <symbol name="SENSORS_MODULE" type="checkbox" value="false"></symbol>
- <symbol name="SERIALPORT_MODULE" type="checkbox" value="false"></symbol>
- <symbol name="SQL_MODULE" type="checkbox" value="false"></symbol>
- <symbol name="SVG_MODULE" type="checkbox" value="false"></symbol>
- <symbol name="TEST_MODULE" type="checkbox" value="false"></symbol>
- <symbol name="UITOOLS_MODULE" type="checkbox" value="false"></symbol>
- <symbol name="WEBCHANNEL_MODULE" type="checkbox" value="false"></symbol>
- <symbol name="WEBKIT_MODULE" type="checkbox" value="false"></symbol>
- <symbol name="WEBKITWIDGETS_MODULE" type="checkbox" value="false"></symbol>
- <symbol name="WEBSOCKETS_MODULE" type="checkbox" value="false"></symbol>
- <symbol name="WIDGETS_MODULE" type="checkbox" value="true"></symbol>
- <symbol name="WINDOWSEXTRAS_MODULE" type="checkbox" value="false"></symbol>
- <symbol name="XML_MODULE" type="checkbox" value="false"></symbol>
- <symbol name="XMLPATTERNS_MODULE" type="checkbox" value="false"></symbol>
- <symbol name="CLASSNAME_TEXT" type="text" value=""></symbol>
- <symbol name="HFILE_TEXT" type="text" value=""></symbol>
- <symbol name="CPPFILE_TEXT" type="text" value=""></symbol>
- <symbol name="UIFILE_TEXT" type="text" value=""></symbol>
- <symbol name="QRCFILE_TEXT" type="text" value=""></symbol>
- <symbol name="APP_TYPE_SUMMARY" type="text" value="Qt5 Windows CE Project"></symbol>
-</head>
-<body onkeypress="OnPress();" onkeydown="OnKey();" bottommargin="0" bgcolor="buttonface"
- leftmargin="0" topmargin="0" onload="InitDocument(document);" rightmargin="0">
- <table class="ONE" height="100%" cellspacing="0" cellpadding="0" width="100%" border="0">
- <colgroup>
- <col width="178">
- <col>
- <!--OPEN OF INTRODUCTORY INFORMATION TABLE//-->
- <tr valign="top">
- <td width="100%" colspan="2" height="79">
- <table class="TWO" cellspacing="0" cellpadding="0" border="0">
- <colgroup>
- <col width="12">
- <col>
- <col width="12">
- <tr>
- <td valign="top" width="12" height="12">
- &nbsp;
- </td>
- <td valign="top" height="12">
- &nbsp;
- </td>
- <td valign="top" width="12" height="12">
- &nbsp;
- </td>
- <td class="IMAGE" valign="bottom" width="110" rowspan="2">
- <div class="SMALLA" id="Layer0">
- <img class="SMALLEST" height="63" alt="" src="../../Images/Qt5WinCEProject.jpg" width="63"
- border="0">
- </div>
- </td>
- <td valign="top" width="6" height="12" rowspan="2">
- &nbsp;
- </td>
- </tr>
- <tr>
- <td valign="top" width="12" height="65">
- &nbsp;
- </td>
- <td valign="top" height="65">
- <h4 class="HEAD" id="HEAD">
- Willkommen zum Qt5&nbsp;Windows CE Projektwizard</h4>
- <p class="SUBHEAD" id="SUBHEAD">
- Dieser Wizard erstellt ein&nbsp;Qt5&nbsp;Windows CE&nbsp;Anwendungsprojekt. Die&nbsp;
- Anwendung&nbsp;ist vererbt von QApplication und beinhaltet ein leeres Widget.</p>
- </td>
- <td valign="top" width="12" height="65">
- &nbsp;
- </td>
- </tr>
- <tr>
- <td class="RULE" valign="top" colspan="5" height="2">
- <table height="1" cellspacing="0" cellpadding="0" width="100%" border="0">
- <tr valign="top">
- <td width="100%" bgcolor="buttonshadow" height="1">
- <img height="1" alt="" src="../../Images/spacer.gif" width="1">
- </td>
- <td width="1" bgcolor="window" height="1">
- <img height="1" alt="" src="../../Images/spacer.gif" width="1">
- </td>
- </tr>
- </table>
- </td>
- </tr>
- </table>
- </td>
- </tr>
- <!--CLOSE OF INTRODUCTORY INFORMATION TABLE//-->
- <!--OPEN OF NAVIGATION, CONTENT, AND BUTTON TABLES//-->
- <tr valign="top">
- <td class="THREE" valign="top" width="178" height="100%">
- <!--OPEN OF NAVIGATION TABLE//-->
- <table class="THREE" cellspacing="0" cellpadding="0" border="0">
- <colgroup>
- <col width="12">
- <col width="166">
- <col width="1">
- <tr>
- <td valign="top" colspan="3" height="12">
- &nbsp;
- </td>
- </tr>
- <tr>
- <td valign="top" width="12" height="100%">
- &nbsp;
- </td>
- <td valign="top" width="165" height="100%">
- <!--OPEN OF NAVIGATIONAL LINKS//-->
- <div class="LINKSELECTED">
- <span class="VERTLINE1">
- <img height="1" alt="" src="../../Images/spacer.gif" width="1" border="0">
- </span><span class="HORILINE1">
- <table height="100%" cellspacing="0" cellpadding="0" width="167" border="0">
- <tr valign="top">
- <td class="DOTTEDLINE" height="1">
- </td>
- </tr>
- <tr valign="top">
- <td height="100%">
- <img height="28" alt="" src="../../Images/spacer.gif" width="1" border="0">
- </td>
- </tr>
- <tr valign="top">
- <td class="DOTTEDLINE" height="1">
- </td>
- </tr>
- </table>
- </span>
- <table class="LINKTEXTSELECTED" height="28" cellspacing="0" cellpadding="0" width="160"
- border="0">
- <tr valign="middle">
- <td width="156">
- <span id="Page_1" title="" onclick="Next(document, 'default.htm');" tabindex="1">bersicht</span>
- </td>
- <td width="4">
- <img height="1" src="../../Images/spacer.gif" width="4">
- </td>
- </tr>
- </table>
- </div>
- <div class="LINK">
- <table class="LINKTEXT" height="28" cellspacing="0" cellpadding="0" width="166" border="0">
- <tr valign="middle">
- <td width="162">
- <span class="ACTIVELINK" id="Page_2" title="" onclick="Next(document, 'Page_2.htm');"
- tabindex="1">Projekteinstellungen</span>
- </td>
- <td width="4">
- <img height="1" src="../../Images/spacer.gif" width="4">
- </td>
- </tr>
- </table>
- </div>
- <div class="LINK">
- <table class="LINKTEXT" height="28" cellspacing="0" cellpadding="0" width="166" border="0"
- id="Table1">
- <tr valign="middle">
- <td width="162">
- <span class="ACTIVELINK" id="Page_3" title="" onclick="Next(document, 'Page_3.htm');"
- tabindex="1">Generierte Klassen</span>
- </td>
- <td width="4">
- <img height="1" src="../../Images/spacer.gif" width="4">
- </td>
- </tr>
- </table>
- </div>
- <!--CLOSE OF NAVIGATIONAL LINKS//-->
- </td>
- <td width="1">
- <div class="VERTLINE">
- <img height="1" alt="" src="../../Images/spacer.gif" width="1" border="0">
- </div>
- </td>
- </tr>
- </table>
- <!--CLOSE OF NAVIGATION TABLE//-->
- </td>
- <td valign="top" height="100%">
- <!--OPEN OF CONTENT AND BUTTON TABLE//-->
- <table class="ONE" cellspacing="0" cellpadding="0" border="0">
- <colgroup>
- <col width="100%">
- <tr valign="top">
- <td height="100%">
- <!--OPEN OF CONTENT//-->
- <table class="CONTENT" cellspacing="0" cellpadding="0" border="0">
- <colgroup>
- <col width="12">
- <col width="185">
- <col width="12">
- <col width="185">
- <col width="12">
- <col width="185">
- <col width="12">
- <tr>
- <td valign="top" colspan="5" height="12">
- &nbsp;
- </td>
- </tr>
- <tr valign="top">
- <td valign="top" width="12">
- </td>
- <td colspan="3" valign="top">
- W&auml;hlen Sie Ihre Zielplattform:<br />
- <br />
- <p id="PLATFORM_FIELD">
- <b>Es sind keine Builds f&uuml;r Qt/CE definiert. Bitte f&uuml;gen Sie einen Build in
- den Einstellungen hinzu.</b>
- </p>
- <br />
- </td>
- <td valign="top" width="12">
- </td>
- </tr>
- <tr valign="top">
- <td valign="top" width="12">
- </td>
- <td colspan="3" valign="top">
- </td>
- <td valign="top" width="12">
- </td>
- </tr>
- <tr valign="top">
- <td valign="top" width="12">
- &nbsp;
- </td>
- <td valign="top" colspan="3">
- <p>
- <span class="ItemTextTop" id="PROJECT_SETTINGS_SPAN">Die momentan selektierten Qt Module
- sind:</span></p>
- <p>
- <span class="ItemTextTop"></span><span class="ItemText" id="QTMODULES" title="">
- </span>
- </p>
- <p>
- <span class="ItemText" title=""></span><span class="ItemText" id="FinishText">Klicken
- Sie <b>Beenden</b> von jeder beliebigen Wizardseite um die aktuellen Einstellungen
- zu bernehmen und das Projekt zu erstellen.</span>
- </p>
- </td>
- <td valign="top" width="12">
- &nbsp;
- </td>
- </tr>
- <tr>
- <td valign="top" colspan="7" height="100%">
- &nbsp;
- </td>
- </tr>
- </table>
- <!--CLOSE OF CONTENT//-->
- </td>
- </tr>
- <tr valign="bottom">
- <td height="48">
- <!--OPEN OF BUTTON HTML//-->
- <table height="48" cellspacing="0" cellpadding="0" border="0">
- <colgroup>
- <col width="12">
- <col>
- <col width="75">
- <col width="4">
- <col width="75">
- <col width="4">
- <col width="75">
- <col width="12">
- <tr>
- <td class="RULE" valign="top" colspan="8" height="2">
- <table height="1" cellspacing="0" cellpadding="0" width="100%" border="0">
- <tr valign="top">
- </tr>
- </table>
- </td>
- </tr>
- <tr>
- <td valign="top" colspan="8" height="11">
- &nbsp;
- </td>
- </tr>
- <tr>
- <td valign="middle" width="12" height="23">
- &nbsp;
- </td>
- <td valign="top" height="23">
- &nbsp;
- </td>
- <td valign="middle" width="75" height="23">
- <button class="BUTTONS" id="FinishBtn" accesskey="B" onclick="OnFinish(document);"
- type="button">
- <u>B</u>eenden</button>
- </td>
- <td valign="middle" width="4" height="23">
- &nbsp;
- </td>
- <td valign="middle" width="75" height="23">
- <button class="BUTTONS" id="CancelBtn" accesskey="A" onclick="window.external.Finish(document, 'cancel');"
- type="button">
- <u>A</u>bbrechen</button>
- </td>
- <td valign="middle" width="4" height="23">
- &nbsp;
- </td>
- <td valign="middle" width="75" height="23">
- <button class="BUTTONS" id="HelpBtn" disabled accesskey="H" onclick="window.external.OnHelp('vc.appwiz.custom.overview');"
- type="button">
- <u>H</u>ilfe</button>
- </td>
- <td valign="middle" width="12" height="23">
- &nbsp;
- </td>
- </tr>
- <tr>
- <td valign="top" colspan="8" height="12">
- &nbsp;
- </td>
- </tr>
- </table>
- <!--CLOSE OF BUTTON HTML//-->
- </td>
- </tr>
- </table>
- <!--CLOSE OF NAVIGATION, CONTENT, AND BUTTON TABLES//-->
- </td>
- </tr>
- </table>
-</body>
-</html>
-<script language="JSCRIPT">
-
- var CEPlatformsAvailable = false;
- var QtEngine;
- var tab_array = new Array();
- tab_array[0] = Page_1;
- tab_array[1] = Page_2;
-
- // This is an example of a function which initializes the page
- //
- function InitDocument(document) {
- var dte = window.external.dte;
- var version = dte.version;
- if (version == "8.0")
- QtEngine = new ActiveXObject("Digia.Qt5ProjectEngine80");
- else if (version == "9.0")
- QtEngine = new ActiveXObject("Digia.Qt5ProjectEngine90");
- else if (version == "10.0")
- QtEngine = new ActiveXObject("Digia.Qt5ProjectEngine100");
- else if (version == "11.0")
- QtEngine = new ActiveXObject("Digia.Qt5ProjectEngine110");
- else if (version == "12.0")
- QtEngine = new ActiveXObject("Digia.Qt5ProjectEngine120");
- else {
- window.external.ReportError("Cannot instantiate QtProjectEngine object!");
- return false;
- }
-
- setDirection();
-
- if (window.external.FindSymbol('DOCUMENT_FIRST_LOAD')) {
- // This function sets the default symbols based
- // on the values specified in the SYMBOL tags above
- //
- window.external.SetDefaults(document);
- UpdateFields();
- }
-
- // Load the document and initialize the controls
- // with the appropriate symbol values
- //
- window.external.Load(document);
- InitControls();
- }
-
- function UpdateFields() {
- var regexp = /\s/g;
- var proName = window.external.FindSymbol('PROJECT_NAME').replace(regexp, "");
-
- if (!window.external.dte.VCLanguageManager.ValidateIdentifier(proName) ||
- window.external.dte.VCLanguageManager.IsReservedName(proName)) {
- window.external.AddSymbol("CLASSNAME_TEXT", "MyClass"); // fall back on myclass
- window.external.AddSymbol("HFILE_TEXT", "myclass.h");
- window.external.AddSymbol("CPPFILE_TEXT", "myclass.cpp");
- window.external.AddSymbol("UIFILE_TEXT", "myclass.ui");
- window.external.AddSymbol("QRCFILE_TEXT", "myclass.qrc");
- } else {
- window.external.AddSymbol("CLASSNAME_TEXT", proName);
- window.external.AddSymbol("HFILE_TEXT", proName.toLowerCase() + ".h");
- window.external.AddSymbol("CPPFILE_TEXT", proName.toLowerCase() + ".cpp");
- window.external.AddSymbol("UIFILE_TEXT", proName.toLowerCase() + ".ui");
- window.external.AddSymbol("QRCFILE_TEXT", proName.toLowerCase() + ".qrc");
- }
- }
-
- function InitControls() {
- var strModules = "";
-
- // Essentials
- if (window.external.FindSymbol('THREED_MODULE'))
- strModules += "3D, ";
- if (window.external.FindSymbol('CORE_MODULE'))
- strModules += "Core, ";
- if (window.external.FindSymbol('GUI_MODULE'))
- strModules += "GUI, ";
- if (window.external.FindSymbol('LOCATION_MODULE'))
- strModules += "Location, ";
- if (window.external.FindSymbol('MULTIMEDIA_MODULE'))
- strModules += "Multimedia, ";
- if (window.external.FindSymbol('MULTIMEDIAWIDGETS_MODULE'))
- strModules += "Multimedia Widgets, ";
- if (window.external.FindSymbol('NETWORK_MODULE'))
- strModules += "Network, ";
- if (window.external.FindSymbol('QML_MODULE'))
- strModules += "Qml, ";
- if (window.external.FindSymbol('QUICK_MODULE'))
- strModules += "Quick, ";
- if (window.external.FindSymbol('SQL_MODULE'))
- strModules += "SQL, ";
- if (window.external.FindSymbol('TEST_MODULE'))
- strModules += "Test, ";
- if (window.external.FindSymbol('WEBKIT_MODULE'))
- strModules += "WebKit, ";
-
- // Add-ons
- // Active Qt better split to server and container
- if (window.external.FindSymbol('AQSERVER_MODULE'))
- strModules += "ActiveQt Server, ";
- if (window.external.FindSymbol('AQCONTAINER_MODULE'))
- strModules += "ActiveQt Container, ";
-
- if (window.external.FindSymbol('BLUETOOTH_MODULE'))
- strModules += "Bluetooth, ";
- if (window.external.FindSymbol('CONCURRENT_MODULE'))
- strModules += "Concurrent, ";
- if (window.external.FindSymbol('DECLARATIVE_MODULE'))
- strModules += "Declarative, ";
- if (window.external.FindSymbol('ENGINIO_MODULE'))
- strModules += "Enginio, ";
- if (window.external.FindSymbol('HELP_MODULE'))
- strModules += "Help, ";
- if (window.external.FindSymbol('NFC_MODULE'))
- strModules += "NFC, ";
- if (window.external.FindSymbol('OPENGL_MODULE'))
- strModules += "OpenGL, ";
- if (window.external.FindSymbol('POSITIONING_MODULE'))
- strModules += "Positioning, ";
- if (window.external.FindSymbol('PRINTSUPPORT_MODULE'))
- strModules += "Print Support, ";
- if (window.external.FindSymbol('QUICKWIDGETS_MODULE'))
- strModules += "Quick Widgets, ";
- if (window.external.FindSymbol('SCRIPT_MODULE'))
- strModules += "Script, ";
- if (window.external.FindSymbol('SCRIPTTOOLS_MODULE'))
- strModules += "Script Tools, ";
- if (window.external.FindSymbol('SENSORS_MODULE'))
- strModules += "Sensors, ";
- if (window.external.FindSymbol('SERIALPORT_MODULE'))
- strModules += "Serial Port, ";
- if (window.external.FindSymbol('SVG_MODULE'))
- strModules += "SVG, ";
- if (window.external.FindSymbol('UITOOLS_MODULE'))
- strModules += "UI Tools, ";
- if (window.external.FindSymbol('WEBCHANNEL_MODULE'))
- strModules += "Web Channel, ";
- if (window.external.FindSymbol('WEBKITWIDGETS_MODULE'))
- strModules += "Webkit Widgets, ";
- if (window.external.FindSymbol('WEBSOCKETS_MODULE'))
- strModules += "Web Sockets, ";
- if (window.external.FindSymbol('WIDGETS_MODULE'))
- strModules += "Widgets, ";
- if (window.external.FindSymbol('WINDOWSEXTRAS_MODULE'))
- strModules += "Windows Extras, ";
- if (window.external.FindSymbol('XML_MODULE'))
- strModules += "XML, ";
- if (window.external.FindSymbol('XMLPATTERNS_MODULE'))
- strModules += "XML Patterns, ";
-
- if (strModules.length < 1)
- strModules = "None selected";
- else
- strModules = strModules.slice(0, strModules.length - 2);
-
- QTMODULES.innerText = strModules;
-
- var strHTML = '<select id="PLATFORM_COMBO" name="PLATFORM_COMBO" style="width: 360px" width="250">';
- var qtVersions = QtEngine.GetQtWinCEVersions(window.external.dte);
- var strDefaultQtWinCEVersion = QtEngine.GetDefaultWinCEVersion();
- if (qtVersions.Count > 0) {
- for (var i = 0; i < qtVersions.Count; ++i) {
- var strVersion = qtVersions.Item(i);
- var strSelected = '';
- if (strVersion == strDefaultQtWinCEVersion)
- strSelected = 'selected ';
-
- var strDisplay = QtEngine.GetWinCEPlatformName(strVersion) + ' / Qt ' + strVersion;
- strHTML += '<option ' + strSelected + 'value="' + strVersion + '">' + strDisplay + '</option>';
- }
- strHTML += '</select>';
- PLATFORM_FIELD.innerHTML = strHTML;
- CEPlatformsAvailable = true;
- } else {
- // no Qt versions for Windows CE found
- FinishBtn.disabled = true;
- Page_1.disabled = true;
- Page_2.disabled = true;
- Page_3.disabled = true;
- }
- }
-
- // If the wizard has more than 1 page, this
- // function will browse to the page specified
- //
- function Next(document, linkto) {
- if (CEPlatformsAvailable)
- window.external.Next(document, linkto);
- }
-
- // This is an example of a function which
- // gets called when the user clicks on 'Finish'
- //
- function OnFinish(document) {
- OnWizFinish(document);
- }
-
-</script>
-<script language="JSCRIPT" id="INCLUDE_SCRIPT"></script>
-<script language="JSCRIPT" id="INCLUDE_COMMON"></script>
-<!--
-Common.js is a script file which contains the helper functions
-used by the wizards. Include this line if you want to
-call these functions from your html scripts.
-//-->
-<script>
- var strPath = window.external.FindSymbol("PRODUCT_INSTALLATION_DIR");
- strPath += "VCWizards/";
- strPath += window.external.GetHostLocale();
- var strScriptPath = strPath + "/Script.js";
- var strCommonPath = strPath + "/Common.js";
- document.scripts("INCLUDE_SCRIPT").src = strScriptPath;
- document.scripts("INCLUDE_COMMON").src = strCommonPath;
-</script>
diff --git a/Qt4VS2003/Projects/Qt5WinCEProject/HTML/1033/Page_2.htm b/Qt4VS2003/Projects/Qt5WinCEProject/HTML/1033/Page_2.htm
deleted file mode 100644
index 85b3a03a..00000000
--- a/Qt4VS2003/Projects/Qt5WinCEProject/HTML/1033/Page_2.htm
+++ /dev/null
@@ -1,541 +0,0 @@
-<html dir="ltr">
-<head>
- <title>'Qt5WinCEProject'</title>
- <meta content="http://schemas.microsoft.com/intellisense/ie5" name="vs_targetSchema">
- <link id="LINKURL" rel="stylesheet" href="../../1033/styles.css">
-</head>
-<body onkeypress="OnPress();" onkeydown="OnKey();" bottommargin="0" bgcolor="buttonface"
- leftmargin="0" topmargin="0" onload="InitDocument(document);" rightmargin="0">
- <table class="ONE" height="100%" cellspacing="0" cellpadding="0" width="100%" border="0">
- <colgroup>
- <col width="178">
- <col>
- <!--OPEN OF INTRODUCTORY INFORMATION TABLE//-->
- <tr valign="top">
- <td width="100%" colspan="2" height="79">
- <table class="TWO" cellspacing="0" cellpadding="0" border="0">
- <colgroup>
- <col width="12">
- <col>
- <col width="12">
- <tr>
- <td valign="top" width="12" height="12">
- &nbsp;
- </td>
- <td valign="top" height="12">
- &nbsp;
- </td>
- <td valign="top" width="12" height="12">
- &nbsp;
- </td>
- <td class="IMAGE" valign="bottom" width="110" rowspan="2">
- <div class="SMALLA" id="Layer0">
- <img class="SMALLEST" height="63" alt="" src="..\..\Images\Qt5WinCEProject.jpg" width="63"
- border="0">
- </div>
- </td>
- <td valign="top" width="6" height="12" rowspan="2">
- &nbsp;
- </td>
- </tr>
- <tr>
- <td valign="top" width="12" height="65">
- &nbsp;
- </td>
- <td valign="top" height="65">
- <h4 class="HEAD" id="HEAD">
- Welcome to the Qt5&nbsp;Windows CE project wizard</h4>
- <p class="SUBHEAD" id="SUBHEAD">
- This wizard generates a&nbsp;Qt5&nbsp;Windows CE&nbsp;application project. The&nbsp;application&nbsp;derives
- by default from QApplication and includes an empty widget.&nbsp;</p>
- </td>
- <td valign="top" width="12" height="65">
- &nbsp;
- </td>
- </tr>
- <tr>
- <td class="RULE" valign="top" colspan="5" height="2">
- <table height="1" cellspacing="0" cellpadding="0" width="100%" border="0">
- <tr valign="top">
- <td width="100%" bgcolor="buttonshadow" height="1">
- <img height="1" alt="" src="../../Images/spacer.gif" width="1">
- </td>
- <td width="1" bgcolor="window" height="1">
- <img height="1" alt="" src="../../Images/spacer.gif" width="1">
- </td>
- </tr>
- </table>
- </td>
- </tr>
- </table>
- </td>
- </tr>
- <!--CLOSE OF INTRODUCTORY INFORMATION TABLE//-->
- <!--OPEN OF NAVIGATION, CONTENT, AND BUTTON TABLES//-->
- <tr valign="top">
- <td class="THREE" valign="top" width="178" height="100%">
- <!--OPEN OF NAVIGATION TABLE//-->
- <table class="THREE" cellspacing="0" cellpadding="0" border="0">
- <colgroup>
- <col width="12">
- <col width="166">
- <col width="1">
- <tr>
- <td valign="top" colspan="3" height="12">
- &nbsp;
- </td>
- </tr>
- <tr>
- <td valign="top" width="12" height="100%">
- &nbsp;
- </td>
- <td valign="top" width="165" height="100%">
- <!--OPEN OF NAVIGATIONAL LINKS//-->
- <div class="LINK">
- <table class="LINKTEXT" height="28" cellspacing="0" cellpadding="0" width="166" border="0">
- <tr valign="middle">
- <td width="162">
- <span class="ACTIVELINK" id="Default" title="" onclick="Next(document, 'default.htm');"
- tabindex="1">Overview</span>
- </td>
- <td width="4">
- <img height="1" src="../../Images/spacer.gif" width="4">
- </td>
- </tr>
- </table>
- </div>
- <div class="LINKSELECTED">
- <span class="VERTLINE1">
- <img height="1" alt="" src="../../Images/spacer.gif" width="1" border="0">
- </span><span class="HORILINE1">
- <table height="100%" cellspacing="0" cellpadding="0" width="167" border="0">
- <tr valign="top">
- <td class="DOTTEDLINE" height="1">
- </td>
- </tr>
- <tr valign="top">
- <td height="100%">
- <img height="28" alt="" src="../../Images/spacer.gif" width="1" border="0">
- </td>
- </tr>
- <tr valign="top">
- <td class="DOTTEDLINE" height="1">
- </td>
- </tr>
- </table>
- </span>
- <table class="LINKTEXTSELECTED" height="28" cellspacing="0" cellpadding="0" width="160"
- border="0">
- <tr valign="middle">
- <td width="162">
- <span id="Page_2" title="" onclick="Next(document, 'Page_2.htm');" tabindex="1">Project
- Settings</span>
- </td>
- <td width="4">
- <img height="1" src="../../Images/spacer.gif" width="4">
- </td>
- </tr>
- </table>
- </div>
- <div class="LINK">
- <table class="LINKTEXT" height="28" cellspacing="0" cellpadding="0" width="166" border="0"
- id="Table1">
- <tr valign="middle">
- <td width="162">
- <span class="ACTIVELINK" id="Page_3" title="" onclick="Next(document, 'Page_3.htm');"
- tabindex="1">Generated Class</span>
- </td>
- <td width="4">
- <img height="1" src="../../Images/spacer.gif" width="4">
- </td>
- </tr>
- </table>
- </div>
- <!--CLOSE OF NAVIGATIONAL LINKS//-->
- </td>
- <td width="1">
- <div class="VERTLINE">
- <img height="1" alt="" src="../../Images/spacer.gif" width="1" border="0">
- </div>
- </td>
- </tr>
- </table>
- <!--CLOSE OF NAVIGATION TABLE//-->
- </td>
- <td valign="top" height="100%">
- <!--OPEN OF CONTENT AND BUTTON TABLE//-->
- <table class="ONE" cellspacing="0" cellpadding="0" border="0">
- <colgroup>
- <col width="100%">
- <tr valign="top">
- <td valign="top" height="100%">
- <!--OPEN OF CONTENT//-->
- <table class="CONTENT" cellspacing="0" cellpadding="0" border="0">
- <colgroup>
- <tr>
- <td width="12" height="12">
- </td>
- <td height="12">
- </td>
- <td height="12">
- </td>
- <td height="12">
- </td>
- <td width="12" height="12">
- </td>
- </tr>
- <tr>
- <td valign="top" width="12">
- </td>
- <td valign="top" colspan="3">
- <p>
- Select the modules you want to include in your project. The recommended modules
- for this project are selected by default.</p>
- <!--<P>&nbsp;</P>-->
- </td>
- <td valign="top" width="12">
- </td>
- </tr>
- <tr>
- <td width="12" height="12">
- </td>
- <td height="12">
- </td>
- <td height="12">
- </td>
- <td height="12">
- </td>
- <td width="12" height="12">
- </td>
- </tr>
-<!-- {ADB367FB-48AA-488e-9102-B037297CFCDB} -->
-<!-- -->
-<!-- START. GENERATED WITH SCRIPT, DO NOT EDIT -->
-<!-- -->
-<tr><td valign="top" width="12"></td><td valign="top" colspan="3"></td><td valign="top" width="12"></td></tr>
-<tr>
-<td valign="top" width="12"></td>
-<td valign="top"><input id="THREED_MODULE" title="Select this if you want to include the 3D library" type="checkbox" name="THREED_MODULE_NAME">&nbsp;3D</td>
-<td valign="top"><input id="NETWORK_MODULE" title="Select this if you want to include the Network library" type="checkbox" name="NETWORK_MODULE_NAME">&nbsp;Network</td>
-<td valign="top"><input id="SVG_MODULE" title="Select this if you want to include the SVG library" type="checkbox" name="SVG_MODULE_NAME">&nbsp;SVG</td>
-<td valign="top" width="12"></td>
-</tr>
-<tr>
-<td valign="top" width="12"></td>
-<td valign="top"><input id="AQCONTAINER_MODULE" title="Select this if you want to include the ActiveQt container library" type="checkbox" name="AQCONTAINER_MODULE_NAME">&nbsp;ActiveQt container&nbsp;</td>
-<td valign="top"><input id="NFC_MODULE" title="Select this if you want to include the NFC library" type="checkbox" name="NFC_MODULE_NAME">&nbsp;NFC</td>
-<td valign="top"><input id="TEST_MODULE" title="Select this if you want to include the Test library" type="checkbox" name="TEST_MODULE_NAME">&nbsp;Test</td>
-<td valign="top" width="12"></td>
-</tr>
-<tr>
-<td valign="top" width="12"></td>
-<td valign="top"><input id="AQSERVER_MODULE" title="Select this if you want to include the ActiveQt server library" type="checkbox" name="AQSERVER_MODULE_NAME">&nbsp;ActiveQt&nbsp;server&nbsp;</td>
-<td valign="top"><input id="OPENGL_MODULE" title="Select this if you want to include the OpenGL library" type="checkbox" name="OPENGL_MODULE_NAME">&nbsp;OpenGL</td>
-<td valign="top"><input id="UITOOLS_MODULE" title="Select this if you want to include the UI Tools" type="checkbox" name="UITOOLS_MODULE_NAME">&nbsp;UI Tools</td>
-<td valign="top" width="12"></td>
-</tr>
-<tr>
-<td valign="top" width="12"></td>
-<td valign="top"><input id="BLUETOOTH_MODULE" title="Select this if you want to include the Bluetooth library" type="checkbox" name="BLUETOOTH_MODULE_NAME">&nbsp;Bluetooth</td>
-<td valign="top"><input id="POSITIONING_MODULE" title="Select this if you want to include the Positioning library" type="checkbox" name="POSITIONING_MODULE_NAME">&nbsp;Positioning</td>
-<td valign="top"><input id="WEBCHANNEL_MODULE" title="Select this if you want to include the Web Channel library" type="checkbox" name="WEBCHANNEL_MODULE_NAME">&nbsp;Web Channel</td>
-<td valign="top" width="12"></td>
-</tr>
-<tr>
-<td valign="top" width="12"></td>
-<td valign="top"><input id="CONCURRENT_MODULE" title="Select this if you want to include the Concurrent library" type="checkbox" name="CONCURRENT_MODULE_NAME">&nbsp;Concurrent</td>
-<td valign="top"><input id="PRINTSUPPORT_MODULE" title="Select this if you want to include the Print Support library" type="checkbox" name="PRINTSUPPORT_MODULE_NAME">&nbsp;Print Support</td>
-<td valign="top"><input id="WEBKIT_MODULE" title="Select this if you want to include the WebKit library" type="checkbox" name="WEBKIT_MODULE_NAME">&nbsp;WebKit</td>
-<td valign="top" width="12"></td>
-</tr>
-<tr>
-<td valign="top" width="12"></td>
-<td valign="top"><input id="CORE_MODULE" title="Select this if you want to include the core library" type="checkbox" name="CORE_MODULE_NAME">&nbsp;Core</td>
-<td valign="top"><input id="QML_MODULE" title="Select this if you want to include the QML library" type="checkbox" name="QML_MODULE_NAME">&nbsp;QML</td>
-<td valign="top"><input id="WEBKITWIDGETS_MODULE" title="Select this if you want to include the Webkit Widgets library" type="checkbox" name="WEBKITWIDGETS_MODULE_NAME">&nbsp;Webkit Widgets</td>
-<td valign="top" width="12"></td>
-</tr>
-<tr>
-<td valign="top" width="12"></td>
-<td valign="top"><input id="ENGINIO_MODULE" title="Select this if you want to include the Enginio library" type="checkbox" name="ENGINIO_MODULE_NAME">&nbsp;Enginio</td>
-<td valign="top"><input id="QUICK_MODULE" title="Select this if you want to include the Quick library" type="checkbox" name="QUICK_MODULE_NAME">&nbsp;Quick</td>
-<td valign="top"><input id="WEBSOCKETS_MODULE" title="Select this if you want to include the Web Sockets library" type="checkbox" name="WEBSOCKETS_MODULE_NAME">&nbsp;Web Sockets</td>
-<td valign="top" width="12"></td>
-</tr>
-<tr>
-<td valign="top" width="12"></td>
-<td valign="top"><input id="DECLARATIVE_MODULE" title="Select this if you want to include the Declarative library" type="checkbox" name="DECLARATIVE_MODULE_NAME">&nbsp;Declarative</td>
-<td valign="top"><input id="QUICKWIDGETS_MODULE" title="Select this if you want to include the Quick Widgets library" type="checkbox" name="QUICKWIDGETS_MODULE_NAME">&nbsp;Quick Widgets</td>
-<td valign="top"><input id="WIDGETS_MODULE" title="Select this if you want to include the Widgets library" type="checkbox" name="WIDGETS_MODULE_NAME">&nbsp;Widgets</td>
-<td valign="top" width="12"></td>
-</tr>
-<tr>
-<td valign="top" width="12"></td>
-<td valign="top"><input id="GUI_MODULE" title="Select this if you want to include the GUI library" type="checkbox" name="GUI_MODULE_NAME">&nbsp;GUI</td>
-<td valign="top"><input id="SCRIPT_MODULE" title="Select this if you want to include the Script library" type="checkbox" name="SCRIPT_MODULE_NAME">&nbsp;Script</td>
-<td valign="top"><input id="WINDOWSEXTRAS_MODULE" title="Select this if you want to include the Windows Extras library" type="checkbox" name="WINDOWSEXTRAS_MODULE_NAME">&nbsp;Windows Extras</td>
-<td valign="top" width="12"></td>
-</tr>
-<tr>
-<td valign="top" width="12"></td>
-<td valign="top"><input id="HELP_MODULE" title="Select this if you want to include the Help library" type="checkbox" name="HELP_MODULE_NAME">&nbsp;Help</td>
-<td valign="top"><input id="SCRIPTTOOLS_MODULE" title="Select this if you want to include the Script Tools" type="checkbox" name="SCRIPTTOOLS_MODULE_NAME">&nbsp;Script Tools</td>
-<td valign="top"><input id="XML_MODULE" title="Select this if you want to include the XML library" type="checkbox" name="XML_MODULE_NAME">&nbsp;XML</td>
-<td valign="top" width="12"></td>
-</tr>
-<tr>
-<td valign="top" width="12"></td>
-<td valign="top"><input id="LOCATION_MODULE" title="Select this if you want to include the Location library" type="checkbox" name="LOCATION_MODULE_NAME">&nbsp;Location</td>
-<td valign="top"><input id="SENSORS_MODULE" title="Select this if you want to include the Sensors library" type="checkbox" name="SENSORS_MODULE_NAME">&nbsp;Sensors</td>
-<td valign="top"><input id="XMLPATTERNS_MODULE" title="Select this if you want to include the XML Patterns library" type="checkbox" name="XMLPATTERNS_MODULE_NAME">&nbsp;XML Patterns</td>
-<td valign="top" width="12"></td>
-</tr>
-<tr>
-<td valign="top" width="12"></td>
-<td valign="top"><input id="MULTIMEDIA_MODULE" title="Select this if you want to include the Multimedia library" type="checkbox" name="MULTIMEDIA_MODULE_NAME">&nbsp;Multimedia</td>
-<td valign="top"><input id="SERIALPORT_MODULE" title="Select this if you want to include the Serial Port library" type="checkbox" name="SERIALPORT_MODULE_NAME">&nbsp;Serial Port</td>
-<td valign="top" width="12"></td>
-<td valign="top" width="12"></td>
-</tr>
-<tr>
-<td valign="top" width="12"></td>
-<td valign="top"><input id="MULTIMEDIAWIDGETS_MODULE" title="Select this if you want to include the Multimedia Widgets library" type="checkbox" name="MULTIMEDIAWIDGETS_MODULE_NAME">&nbsp;Multimedia Widgets</td>
-<td valign="top"><input id="SQL_MODULE" title="Select this if you want to include the SQL library" type="checkbox" name="SQL_MODULE_NAME">&nbsp;SQL</td>
-<td valign="top" width="12"></td>
-<td valign="top" width="12"></td>
-</tr>
-<!-- -->
-<!-- END. GENERATED WITH SCRIPT, DO NOT EDIT -->
-<!-- -->
-<!-- {ADB367FB-48AA-488e-9102-B037297CFCDB} -->
-
-
-
-
- <tr>
- <td valign="top" width="12">
- </td>
- <td valign="top" colspan="3">
- <p>
- &nbsp;</p>
- </td>
- <td valign="top" width="12">
- </td>
- </tr>
- <tr>
- <td valign="top" width="12" height="100%">
- </td>
- <td valign="top" height="100%">
- </td>
- <td valign="top" height="100%">
- </td>
- <td valign="top" height="100%">
- </td>
- <td valign="top" width="12" height="100%">
- </td>
- </tr>
- </table>
- <!--CLOSE OF CONTENT//-->
- </TD> </TR>
- <tr valign="bottom">
- <td height="48">
- <!--OPEN OF BUTTON HTML//-->
- <table height="48" cellspacing="0" cellpadding="0" border="0">
- <colgroup>
- <col width="12">
- <col>
- <col width="75">
- <col width="4">
- <col width="75">
- <col width="4">
- <col width="75">
- <col width="12">
- <tr>
- <td class="RULE" valign="top" colspan="8" height="2">
- <table height="1" cellspacing="0" cellpadding="0" width="100%" border="0">
- <tr valign="top">
- </tr>
- </table>
- </td>
- </tr>
- <tr>
- <td valign="top" colspan="8" height="11">
- &nbsp;
- </td>
- </tr>
- <tr>
- <td valign="middle" width="12" height="23">
- &nbsp;
- </td>
- <td valign="top" height="23">
- &nbsp;
- </td>
- <td valign="middle" width="75" height="23">
- <button class="BUTTONS" id="FinishBtn" accesskey="F" onclick="OnFinish(document);"
- type="button">
- <u>F</u>inish</button>
- </td>
- <td valign="middle" width="4" height="23">
- &nbsp;
- </td>
- <td valign="middle" width="75" height="23">
- <button class="BUTTONS" id="CancelBtn" accesskey="C" onclick="window.external.Finish(document, 'cancel');"
- type="button">
- <u>C</u>ancel</button>
- </td>
- <td valign="middle" width="4" height="23">
- &nbsp;
- </td>
- <td valign="middle" width="75" height="23">
- <button class="BUTTONS" id="HelpBtn" disabled accesskey="H" onclick="window.external.OnHelp('vc.appwiz.custom.overview');"
- type="button">
- <u>H</u>elp</button>
- </td>
- <td valign="middle" width="12" height="23">
- &nbsp;
- </td>
- </tr>
- <tr>
- <td valign="top" colspan="8" height="12">
- &nbsp;
- </td>
- </tr>
- </table>
- <!--CLOSE OF BUTTON HTML//-->
- </td>
- </tr>
- </TABLE>
- <!--CLOSE OF NAVIGATION, CONTENT, AND BUTTON TABLES//-->
- </TD> </TR> </TABLE>
-</body>
-</html>
-<script language="JSCRIPT">
-
- var QtEngine;
- var tab_array = new Array();
- tab_array[0] = Default;
- tab_array[1] = Page_2;
-
- // This is an example of a function which initializes the page
- //
- function InitDocument(document) {
- var dte = window.external.dte;
- var version = dte.version;
- if (version == "8.0")
- QtEngine = new ActiveXObject("Digia.Qt5ProjectEngine80");
- else if (version == "9.0")
- QtEngine = new ActiveXObject("Digia.Qt5ProjectEngine90");
- else if (version == "10.0")
- QtEngine = new ActiveXObject("Digia.Qt5ProjectEngine100");
- else if (version == "11.0")
- QtEngine = new ActiveXObject("Digia.Qt5ProjectEngine110");
- else if (version == "12.0")
- QtEngine = new ActiveXObject("Digia.Qt5ProjectEngine120");
- else {
- window.external.ReportError("Cannot instantiate QtProjectEngine object!");
- return false;
- }
-
- setDirection();
- if (window.external.FindSymbol('DOCUMENT_FIRST_LOAD')) {
- // This function sets the default symbols based
- // on the values specified in the SYMBOL tags above
- //
- window.external.SetDefaults(document);
- }
- // Load the document and initialize the controls
- // with the appropriate symbol values
- //
- window.external.Load(document);
-
- // Disable Essential modules which are not installed (Should not found any?)
- DisableUninstalled(THREED_MODULE_NAME, "Qt3D", QtEngine);
- DisableUninstalled(CORE_MODULE_NAME, "QtCore", QtEngine);
- DisableUninstalled(GUI_MODULE_NAME, "QtGui", QtEngine);
- DisableUninstalled(LOCATION_MODULE_NAME, "QtLocation", QtEngine);
- DisableUninstalled(MULTIMEDIA_MODULE_NAME, "QtMultimedia", QtEngine);
- DisableUninstalled(MULTIMEDIAWIDGETS_MODULE_NAME, "QtMultimediaWidgets", QtEngine);
- DisableUninstalled(NETWORK_MODULE_NAME, "QtNetwork", QtEngine);
- DisableUninstalled(QML_MODULE_NAME, "QtQml", QtEngine);
- DisableUninstalled(QUICK_MODULE_NAME, "QtQuick", QtEngine);
- DisableUninstalled(SQL_MODULE_NAME, "QtSql", QtEngine);
- DisableUninstalled(TEST_MODULE_NAME, "QtTest", QtEngine);
- DisableUninstalled(WEBKIT_MODULE_NAME, "QtWebkit", QtEngine);
-
- // Disable Add-on modules which are not installed
- DisableUninstalled(AQCONTAINER_MODULE_NAME, "QtAxContainer", QtEngine);
- DisableUninstalled(AQSERVER_MODULE_NAME, "QtAxServer", QtEngine);
- DisableUninstalled(BLUETOOTH_MODULE_NAME, "QtBluetooth", QtEngine);
- DisableUninstalled(CONCURRENT_MODULE_NAME, "QtConcurrent", QtEngine);
- DisableUninstalled(DECLARATIVE_MODULE_NAME, "QtDeclarative", QtEngine);
- DisableUninstalled(ENGINIO_MODULE_NAME, "Enginio", QtEngine);
- DisableUninstalled(HELP_MODULE_NAME, "QtHelp", QtEngine);
- DisableUninstalled(NFC_MODULE_NAME, "QtNfc", QtEngine);
- DisableUninstalled(OPENGL_MODULE_NAME, "QtOpenGL", QtEngine);
- DisableUninstalled(POSITIONING_MODULE_NAME, "QtPositioning", QtEngine);
- DisableUninstalled(PRINTSUPPORT_MODULE_NAME, "QtPrintSupport", QtEngine);
- DisableUninstalled(QUICKWIDGETS_MODULE_NAME, "QtQuickWidgets", QtEngine);
- DisableUninstalled(SCRIPT_MODULE_NAME, "QtScript", QtEngine);
- DisableUninstalled(SCRIPTTOOLS_MODULE_NAME, "QtScriptTools", QtEngine);
- DisableUninstalled(SENSORS_MODULE_NAME, "QtSensors", QtEngine);
- DisableUninstalled(SERIALPORT_MODULE_NAME, "QtSerialPort", QtEngine);
- DisableUninstalled(SVG_MODULE_NAME, "QtSvg", QtEngine);
- DisableUninstalled(UITOOLS_MODULE_NAME, "QtUiTools", QtEngine);
- DisableUninstalled(WEBCHANNEL_MODULE_NAME, "QtWebChannel", QtEngine);
- DisableUninstalled(WEBKITWIDGETS_MODULE_NAME, "QtWebkitWidgets", QtEngine);
- DisableUninstalled(WEBSOCKETS_MODULE_NAME, "QtWebSockets", QtEngine);
- DisableUninstalled(WIDGETS_MODULE_NAME, "QtWidgets", QtEngine);
- DisableUninstalled(WINDOWSEXTRAS_MODULE_NAME, "QtWinExtras", QtEngine);
- DisableUninstalled(XML_MODULE_NAME, "QtXml", QtEngine);
- DisableUninstalled(XMLPATTERNS_MODULE_NAME, "QtXmlPatterns", QtEngine);
-
- // Disable these cause mandatory for this wizard
- CORE_MODULE_NAME.disabled = true;
- GUI_MODULE_NAME.disabled = true;
- }
-
- function DisableUninstalled(element, lib_name, engine) {
- var not_installed = !engine.IsModuleInstalled(lib_name);
- element.disabled = not_installed;
- if (not_installed) {
- element.title = ""; // Not installed so don't show title
- element.parentNode.className = "addon_disabled";
- }
- return not_installed;
- }
-
- // If the wizard has more than 1 page, this
- // function will browse to the page specified
- //
- function Next(document, linkto) {
- CORE_MODULE_NAME.disabled = false;
- GUI_MODULE_NAME.disabled = false;
- window.external.Next(document, linkto);
- }
-
- // This is an example of a function which
- // gets called when the user clicks on 'Finish'
- //
- function OnFinish(document) {
- CORE_MODULE_NAME.disabled = false;
- GUI_MODULE_NAME.disabled = false;
- OnWizFinish(document);
- }
-
-</script>
-<script language="JSCRIPT" id="INCLUDE_SCRIPT"></script>
-<script language="JSCRIPT" id="INCLUDE_COMMON"></script>
-<!--
-Common.js is a script file which contains the helper functions
-used by the wizards. Include this line if you want to
-call these functions from your html scripts.
-//-->
-<script>
- var strPath = window.external.FindSymbol("PRODUCT_INSTALLATION_DIR");
- strPath += "VCWizards/";
- strPath += window.external.GetHostLocale();
- var strScriptPath = strPath + "/Script.js";
- var strCommonPath = strPath + "/Common.js";
- document.scripts("INCLUDE_SCRIPT").src = strScriptPath;
- document.scripts("INCLUDE_COMMON").src = strCommonPath;
-</script>
diff --git a/Qt4VS2003/Projects/Qt5WinCEProject/HTML/1033/Page_3.htm b/Qt4VS2003/Projects/Qt5WinCEProject/HTML/1033/Page_3.htm
deleted file mode 100644
index 289889b5..00000000
--- a/Qt4VS2003/Projects/Qt5WinCEProject/HTML/1033/Page_3.htm
+++ /dev/null
@@ -1,524 +0,0 @@
-<html dir="ltr">
-<head>
- <meta name="vs_showGrid" content="True">
- <title>'Qt5WinCEProject'</title>
- <meta content="http://schemas.microsoft.com/intellisense/ie5" name="vs_targetSchema">
- <link id="LINKURL" rel="stylesheet" href="../../1033/styles.css">
-</head>
-<body onkeypress="OnPress();" onkeydown="OnKey();" bottommargin="0" bgcolor="buttonface"
- leftmargin="0" topmargin="0" onload="InitDocument(document);" rightmargin="0">
- <table class="ONE" height="100%" cellspacing="0" cellpadding="0" width="100%" border="0">
- <colgroup>
- <col width="178">
- <col>
- <!--OPEN OF INTRODUCTORY INFORMATION TABLE//-->
- <tr valign="top">
- <td width="100%" colspan="2" height="79">
- <table class="TWO" cellspacing="0" cellpadding="0" border="0">
- <colgroup>
- <col width="12">
- <col>
- <col width="12">
- <tr>
- <td valign="top" width="12" height="12">
- &nbsp;
- </td>
- <td valign="top" height="12">
- &nbsp;
- </td>
- <td valign="top" width="12" height="12">
- &nbsp;
- </td>
- <td class="IMAGE" valign="bottom" width="110" rowspan="2">
- <div class="SMALLA" id="Layer0">
- <img class="SMALLEST" height="63" alt="" src="..\..\Images\Qt5WinCEProject.jpg" width="63"
- border="0">
- </div>
- </td>
- <td valign="top" width="6" height="12" rowspan="2">
- &nbsp;
- </td>
- </tr>
- <tr>
- <td valign="top" width="12" height="65">
- &nbsp;
- </td>
- <td valign="top" height="65">
- <h4 class="HEAD" id="HEAD">
- Welcome to the Qt5&nbsp;Windows CE project wizard</h4>
- <p class="SUBHEAD" id="SUBHEAD">
- This wizard generates a&nbsp;Qt5&nbsp;Windows CE&nbsp;application project. The&nbsp;application&nbsp;derives
- by default from QApplication and includes an empty widget.&nbsp;</p>
- </td>
- <td valign="top" width="12" height="65">
- &nbsp;
- </td>
- </tr>
- <tr>
- <td class="RULE" valign="top" colspan="5" height="2">
- <table height="1" cellspacing="0" cellpadding="0" width="100%" border="0">
- <tr valign="top">
- <td width="100%" bgcolor="buttonshadow" height="1">
- <img height="1" alt="" src="../../Images/spacer.gif" width="1">
- </td>
- <td width="1" bgcolor="window" height="1">
- <img height="1" alt="" src="../../Images/spacer.gif" width="1">
- </td>
- </tr>
- </table>
- </td>
- </tr>
- </table>
- </td>
- </tr>
- <!--CLOSE OF INTRODUCTORY INFORMATION TABLE//-->
- <!--OPEN OF NAVIGATION, CONTENT, AND BUTTON TABLES//-->
- <tr valign="top">
- <td class="THREE" valign="top" width="178" height="100%">
- <!--OPEN OF NAVIGATION TABLE//-->
- <table class="THREE" cellspacing="0" cellpadding="0" border="0">
- <colgroup>
- <col width="12">
- <col width="166">
- <col width="1">
- <tr>
- <td valign="top" colspan="3" height="12">
- &nbsp;
- </td>
- </tr>
- <tr>
- <td valign="top" width="12" height="100%">
- &nbsp;
- </td>
- <td valign="top" width="165" height="100%">
- <!--OPEN OF NAVIGATIONAL LINKS//-->
- <div class="LINK">
- <table class="LINKTEXT" height="28" cellspacing="0" cellpadding="0" width="166" border="0">
- <tr valign="middle">
- <td width="162">
- <span class="ACTIVELINK" id="Page_1" title="" onclick="Next(document, 'default.htm');"
- tabindex="1">Overview</span>
- </td>
- <td width="4">
- <img height="1" src="../../Images/spacer.gif" width="4">
- </td>
- </tr>
- </table>
- </div>
- <div class="LINK">
- <table class="LINKTEXT" height="28" cellspacing="0" cellpadding="0" width="166" border="0"
- id="Table1">
- <tr valign="middle">
- <td width="162">
- <span class="ACTIVELINK" id="Page_2" title="" onclick="Next(document, 'Page_2.htm');"
- tabindex="1">Project Settings</span>
- </td>
- <td width="4">
- <img height="1" src="../../Images/spacer.gif" width="4">
- </td>
- </tr>
- </table>
- </div>
- <div class="LINKSELECTED">
- <span class="VERTLINE1">
- <img height="1" alt="" src="../../Images/spacer.gif" width="1" border="0">
- </span><span class="HORILINE1">
- <table height="100%" cellspacing="0" cellpadding="0" width="167" border="0">
- <tr valign="top">
- <td class="DOTTEDLINE" height="1">
- </td>
- </tr>
- <tr valign="top">
- <td height="100%">
- <img height="28" alt="" src="../../Images/spacer.gif" width="1" border="0">
- </td>
- </tr>
- <tr valign="top">
- <td class="DOTTEDLINE" height="1">
- </td>
- </tr>
- </table>
- </span>
- <table class="LINKTEXTSELECTED" height="28" cellspacing="0" cellpadding="0" width="160"
- border="0">
- <tr valign="middle">
- <td width="162">
- <span id="Page_3" title="" onclick="Next(document, 'Page_2.htm');" tabindex="1">Generated
- Class</span>
- </td>
- <td width="4">
- <img height="1" src="../../Images/spacer.gif" width="4">
- </td>
- </tr>
- </table>
- </div>
- <!--CLOSE OF NAVIGATIONAL LINKS//-->
- </td>
- <td width="1">
- <div class="VERTLINE">
- <img height="1" alt="" src="../../Images/spacer.gif" width="1" border="0">
- </div>
- </td>
- </tr>
- </table>
- <!--CLOSE OF NAVIGATION TABLE//-->
- </td>
- <td valign="top" height="100%">
- <!--OPEN OF CONTENT AND BUTTON TABLE//-->
- <table class="ONE" cellspacing="0" cellpadding="0" border="0">
- <colgroup>
- <col width="100%">
- <tr valign="top">
- <td valign="top" height="100%">
- <!--OPEN OF CONTENT//-->
- <table class="CONTENT" cellspacing="0" cellpadding="0" border="0">
- <colgroup>
- <tr>
- <td width="12" height="12">
- </td>
- <td height="12">
- </td>
- <td height="12">
- </td>
- <td width="12" height="12">
- </td>
- </tr>
- <tr>
- <td valign="top" width="12">
- </td>
- <td valign="top">
- Class name:
- </td>
- <td valign="top">
- Base class:
- </td>
- <td valign="top" width="12">
- </td>
- </tr>
- <tr>
- <td valign="top" width="12">
- </td>
- <td valign="top">
- <input id="CLASSNAME_TEXT" type="text" name="className" onpropertychange="ClassNameChanged();">
- </td>
- <td valign="top">
- <select id="BASECLASS_COMBO" style="width: 120px" name="baseClass" width="168">
- <option value="1" selected>QMainWindow</option>
- <option value="2">QWidget</option>
- <option value="3">QDialog</option>
- </select>
- </td>
- <td valign="top" width="12">
- </td>
- </tr>
- <tr>
- <td width="12" height="12">
- </td>
- <td height="12">
- </td>
- <td height="12">
- </td>
- <td width="12" height="12">
- </td>
- </tr>
- <tr>
- <td width="12" height="12">
- </td>
- <td height="12">
- </td>
- <td height="12">
- </td>
- <td width="12" height="12">
- </td>
- </tr>
- <tr>
- <td valign="top" width="12">
- </td>
- <td valign="top">
- .h file:
- </td>
- <td valign="top">
- <p>
- .cpp&nbsp;file:</p>
- </td>
- <td valign="top" width="12">
- </td>
- </tr>
- <tr>
- <td valign="top" width="12">
- </td>
- <td valign="top">
- <input id="HFILE_TEXT" type="text" name="hFile">
- </td>
- <td valign="top">
- <input id="CPPFILE_TEXT" type="text" name="cppFile">
- </td>
- <td valign="top" width="12">
- </td>
- </tr>
- <tr>
- <td valign="top" width="12">
- </td>
- <td valign="top">
- .ui file:
- </td>
- <td valign="top">
- .qrc file:
- </td>
- <td valign="top" width="12">
- </td>
- </tr>
- <tr>
- <td valign="top" width="12" style="height: 19px">
- </td>
- <td valign="top">
- <input id="UIFILE_TEXT" type="text" name="uiFile">
- <td valign="top">
- <input id="QRCFILE_TEXT" type="text" name="qrcFile">
- </td>
- <td valign="top" width="12" style="height: 19px">
- </td>
- </tr>
- <tr>
- <td width="12" height="12">
- </td>
- <td height="12">
- </td>
- <td height="12">
- </td>
- <td width="12" height="12">
- </td>
- </tr>
- <tr>
- <td width="12" height="24">
- </td>
- <td height="12" colspan="2">
- <input id="APP_ICON" title="Add Default Application Icon (Windows only)" type="checkbox"
- name="APP_ICON_NAME">Add default application icon
- </td>
- <td width="12" height="12">
- </td>
- </tr>
- <tr>
- <td width="12" height="24">
- </td>
- <td height="12" colspan="2">
- <input id="PRECOMPILED_HEADERS" title="Use Precompiled Headers" type="checkbox" name="precompiledHeaders">Use
- Precompiled Headers
- </td>
- <td width="12" height="12">
- </td>
- </tr>
- <tr>
- <td valign="top" width="12" height="100%">
- </td>
- <td valign="top" height="100%">
- </td>
- <td valign="top" height="100%">
- </td>
- <td valign="top" width="12" height="100%">
- </td>
- </tr>
- </table>
- <!--CLOSE OF CONTENT//-->
- </td>
- </tr>
- <tr valign="bottom">
- <td height="48">
- <!--OPEN OF BUTTON HTML//-->
- <table height="48" cellspacing="0" cellpadding="0" border="0">
- <colgroup>
- <col width="12">
- <col>
- <col width="75">
- <col width="4">
- <col width="75">
- <col width="4">
- <col width="75">
- <col width="12">
- <tr>
- <td class="RULE" valign="top" colspan="8" height="2">
- <table height="1" cellspacing="0" cellpadding="0" width="100%" border="0">
- <tr valign="top">
- </tr>
- </table>
- </td>
- </tr>
- <tr>
- <td valign="top" colspan="8" height="11">
- &nbsp;
- </td>
- </tr>
- <tr>
- <td valign="middle" width="12" height="23">
- &nbsp;
- </td>
- <td valign="top" height="23">
- &nbsp;
- </td>
- <td valign="middle" width="75" height="23">
- <button class="BUTTONS" id="FinishBtn" accesskey="F" onclick="OnFinish(document);"
- type="button">
- <u>F</u>inish</button>
- </td>
- <td valign="middle" width="4" height="23">
- &nbsp;
- </td>
- <td valign="middle" width="75" height="23">
- <button class="BUTTONS" id="CancelBtn" accesskey="C" onclick="window.external.Finish(document, 'cancel');"
- type="button">
- <u>C</u>ancel</button>
- </td>
- <td valign="middle" width="4" height="23">
- &nbsp;
- </td>
- <td valign="middle" width="75" height="23">
- <button class="BUTTONS" id="HelpBtn" disabled accesskey="H" onclick="window.external.OnHelp('vc.appwiz.custom.overview');"
- type="button">
- <u>H</u>elp</button>
- </td>
- <td valign="middle" width="12" height="23">
- &nbsp;
- </td>
- </tr>
- <tr>
- <td valign="top" colspan="8" height="12">
- &nbsp;
- </td>
- </tr>
- </table>
- <!--CLOSE OF BUTTON HTML//-->
- </td>
- </tr>
- </table>
- <!--CLOSE OF NAVIGATION, CONTENT, AND BUTTON TABLES//-->
- </td>
- </tr>
- </table>
-</body>
-</html>
-<script language="JSCRIPT">
-
- var tab_array = new Array();
- tab_array[0] = Page_1;
- tab_array[1] = Page_2;
-
- // This is an example of a function which initializes the page
- //
- function InitDocument(document) {
- setDirection();
-
- if (window.external.FindSymbol('DOCUMENT_FIRST_LOAD')) {
- // This function sets the default symbols based
- // on the values specified in the SYMBOL tags above
- //
- window.external.SetDefaults(document);
- }
-
- // Load the document and initialize the controls
- // with the appropriate symbol values
- //
- window.external.Load(document);
- }
-
- function ClassNameChanged() {
- HFILE_TEXT.value = CLASSNAME_TEXT.value.toLowerCase() + ".h";
- CPPFILE_TEXT.value = CLASSNAME_TEXT.value.toLowerCase() + ".cpp";
- UIFILE_TEXT.value = CLASSNAME_TEXT.value.toLowerCase() + ".ui";
- QRCFILE_TEXT.value = CLASSNAME_TEXT.value.toLowerCase() + ".qrc";
- }
-
- function ValidateAndUpdate() {
- var Inputs = document.all.tags("INPUT");
-
- var regexp = /\s/g;
- var proName = window.external.FindSymbol('PROJECT_NAME').replace(regexp, "");
-
- var field = Inputs.item("className");
- if (!window.external.dte.VCLanguageManager.ValidateIdentifier(field.value) ||
- window.external.dte.VCLanguageManager.IsReservedName(field.value)) {
- window.external.ReportError("Not a valid class name!");
- field.value = proName;
- return false;
- }
-
- field = Inputs.item("hFile");
- if (!ValidateFileName(field.value)) {
- window.external.ReportError("Not a valid file name!");
- field.value = proName.toLowerCase() + ".h";
- return false;
- }
-
- field = Inputs.item("cppFile");
- if (!ValidateFileName(field.value)) {
- window.external.ReportError("Not a valid file name!");
- field.value = proName.toLowerCase() + ".cpp";
- return false;
- }
-
- field = Inputs.item("uiFile");
- var strFile = field.value.toLowerCase().replace(".h", ".x"); // don't validate .h files...
- var strFile = strFile.replace(".ui", ".h");
- if (!ValidateFileName(strFile)) {
- window.external.ReportError("Not a valid file name!");
- field.value = proName.toLowerCase() + ".ui";
- return false;
- }
-
- field = Inputs.item("qrcFile");
- var strFile = field.value.toLowerCase().replace(".h", ".x"); // don't validate .h files...
- var strFile = strFile.replace(".qrc", ".h");
-
- if (!ValidateFileName(strFile)) {
- window.external.ReportError("Not a valid file name!");
- field.value = proName.toLowerCase() + ".qrc";
- return false;
- }
- return true;
- }
-
- function ValidateFileName(FileName) {
- if (!window.external.dte.VCLanguageManager.ValidateFileName(FileName))
- return false;
- if (FileName.search(/[\\\/\:\*\?\"\<\>\|]/g) != -1)
- return false;
- return true;
- }
-
- // If the wizard has more than 1 page, this
- // function will browse to the page specified
- //
- function Next(document, linkto) {
- if (!ValidateAndUpdate())
- return;
-
- window.external.Next(document, linkto);
- }
-
- // This is an example of a function which
- // gets called when the user clicks on 'Finish'
- //
- function OnFinish(document) {
- if (!ValidateAndUpdate())
- return;
-
- OnWizFinish(document);
- }
-
-</script>
-<script language="JSCRIPT" id="INCLUDE_SCRIPT"></script>
-<script language="JSCRIPT" id="INCLUDE_COMMON"></script>
-<!--
-Common.js is a script file which contains the helper functions
-used by the wizards. Include this line if you want to
-call these functions from your html scripts.
-//-->
-<script>
- var strPath = window.external.FindSymbol("PRODUCT_INSTALLATION_DIR");
- strPath += "VCWizards/";
- strPath += window.external.GetHostLocale();
- var strScriptPath = strPath + "/Script.js";
- var strCommonPath = strPath + "/Common.js";
- document.scripts("INCLUDE_SCRIPT").src = strScriptPath;
- document.scripts("INCLUDE_COMMON").src = strCommonPath;
-</script>
diff --git a/Qt4VS2003/Projects/Qt5WinCEProject/HTML/1033/default.htm b/Qt4VS2003/Projects/Qt5WinCEProject/HTML/1033/default.htm
deleted file mode 100644
index 1241d2b2..00000000
--- a/Qt4VS2003/Projects/Qt5WinCEProject/HTML/1033/default.htm
+++ /dev/null
@@ -1,571 +0,0 @@
-<html dir="ltr">
-<head>
- <title>'Qt5WinCEProject'</title>
- <meta content="http://schemas.microsoft.com/intellisense/ie5" name="vs_targetSchema">
- <link id="LINKURL" rel="stylesheet" href="../../1033/styles.css">
- <!-- -->
- <!-- The SYMBOL tag is used to set the default values for the user-defined symbols.-->
- <!-- -->
- <symbol name="WIZARD_DIALOG_TITLE" type="text" value="Qt5 Windows CE Project Wizard"></symbol>
- <symbol name="THREED_MODULE" type="checkbox" value="false"></symbol>
- <symbol name="AQCONTAINER_MODULE" type="checkbox" value="false"></symbol>
- <symbol name="AQSERVER_MODULE" type="checkbox" value="false"></symbol>
- <symbol name="BLUETOOTH_MODULE" type="checkbox" value="false"></symbol>
- <symbol name="CONCURRENT_MODULE" type="checkbox" value="false"></symbol>
- <symbol name="CORE_MODULE" type="checkbox" value="true"></symbol>
- <symbol name="ENGINIO_MODULE" type="checkbox" value="false"></symbol>
- <symbol name="DECLARATIVE_MODULE" type="checkbox" value="false"></symbol>
- <symbol name="GUI_MODULE" type="checkbox" value="true"></symbol>
- <symbol name="HELP_MODULE" type="checkbox" value="false"></symbol>
- <symbol name="LOCATION_MODULE" type="checkbox" value="false"></symbol>
- <symbol name="MULTIMEDIA_MODULE" type="checkbox" value="false"></symbol>
- <symbol name="MULTIMEDIAWIDGETS_MODULE" type="checkbox" value="false"></symbol>
- <symbol name="NETWORK_MODULE" type="checkbox" value="false"></symbol>
- <symbol name="NFC_MODULE" type="checkbox" value="false"></symbol>
- <symbol name="OPENGL_MODULE" type="checkbox" value="false"></symbol>
- <symbol name="POSITIONING_MODULE" type="checkbox" value="false"></symbol>
- <symbol name="PRINTSUPPORT_MODULE" type="checkbox" value="false"></symbol>
- <symbol name="QML_MODULE" type="checkbox" value="false"></symbol>
- <symbol name="QUICK_MODULE" type="checkbox" value="false"></symbol>
- <symbol name="QUICKWIDGETS_MODULE" type="checkbox" value="false"></symbol>
- <symbol name="SCRIPT_MODULE" type="checkbox" value="false"></symbol>
- <symbol name="SCRIPTTOOLS_MODULE" type="checkbox" value="false"></symbol>
- <symbol name="SENSORS_MODULE" type="checkbox" value="false"></symbol>
- <symbol name="SERIALPORT_MODULE" type="checkbox" value="false"></symbol>
- <symbol name="SQL_MODULE" type="checkbox" value="false"></symbol>
- <symbol name="SVG_MODULE" type="checkbox" value="false"></symbol>
- <symbol name="TEST_MODULE" type="checkbox" value="false"></symbol>
- <symbol name="UITOOLS_MODULE" type="checkbox" value="false"></symbol>
- <symbol name="WEBCHANNEL_MODULE" type="checkbox" value="false"></symbol>
- <symbol name="WEBKIT_MODULE" type="checkbox" value="false"></symbol>
- <symbol name="WEBKITWIDGETS_MODULE" type="checkbox" value="false"></symbol>
- <symbol name="WEBSOCKETS_MODULE" type="checkbox" value="false"></symbol>
- <symbol name="WIDGETS_MODULE" type="checkbox" value="true"></symbol>
- <symbol name="WINDOWSEXTRAS_MODULE" type="checkbox" value="false"></symbol>
- <symbol name="XML_MODULE" type="checkbox" value="false"></symbol>
- <symbol name="XMLPATTERNS_MODULE" type="checkbox" value="false"></symbol>
- <symbol name="CLASSNAME_TEXT" type="text" value=""></symbol>
- <symbol name="HFILE_TEXT" type="text" value=""></symbol>
- <symbol name="CPPFILE_TEXT" type="text" value=""></symbol>
- <symbol name="UIFILE_TEXT" type="text" value=""></symbol>
- <symbol name="QRCFILE_TEXT" type="text" value=""></symbol>
- <symbol name="APP_TYPE_SUMMARY" type="text" value="Qt5 Windows CE Project"></symbol>
-</head>
-<body onkeypress="OnPress();" onkeydown="OnKey();" bottommargin="0" bgcolor="buttonface"
- leftmargin="0" topmargin="0" onload="InitDocument(document);" rightmargin="0">
- <table class="ONE" height="100%" cellspacing="0" cellpadding="0" width="100%" border="0">
- <colgroup>
- <col width="178">
- <col>
- <!--OPEN OF INTRODUCTORY INFORMATION TABLE//-->
- <tr valign="top">
- <td width="100%" colspan="2" height="79">
- <table class="TWO" cellspacing="0" cellpadding="0" border="0">
- <colgroup>
- <col width="12">
- <col>
- <col width="12">
- <tr>
- <td valign="top" width="12" height="12">
- &nbsp;
- </td>
- <td valign="top" height="12">
- &nbsp;
- </td>
- <td valign="top" width="12" height="12">
- &nbsp;
- </td>
- <td class="IMAGE" valign="bottom" width="110" rowspan="2">
- <div class="SMALLA" id="Layer0">
- <img class="SMALLEST" height="63" alt="" src="../../Images/Qt5WinCEProject.jpg" width="63"
- border="0">
- </div>
- </td>
- <td valign="top" width="6" height="12" rowspan="2">
- &nbsp;
- </td>
- </tr>
- <tr>
- <td valign="top" width="12" height="65">
- &nbsp;
- </td>
- <td valign="top" height="65">
- <h4 class="HEAD" id="HEAD">
- Welcome to the Qt5&nbsp;Windows CE project wizard</h4>
- <p class="SUBHEAD" id="SUBHEAD">
- This wizard generates a&nbsp;Qt5&nbsp;Windows CE&nbsp;application project. The&nbsp;application&nbsp;derives
- by default from QApplication and includes an empty widget.</p>
- </td>
- <td valign="top" width="12" height="65">
- &nbsp;
- </td>
- </tr>
- <tr>
- <td class="RULE" valign="top" colspan="5" height="2">
- <table height="1" cellspacing="0" cellpadding="0" width="100%" border="0">
- <tr valign="top">
- <td width="100%" bgcolor="buttonshadow" height="1">
- <img height="1" alt="" src="../../Images/spacer.gif" width="1">
- </td>
- <td width="1" bgcolor="window" height="1">
- <img height="1" alt="" src="../../Images/spacer.gif" width="1">
- </td>
- </tr>
- </table>
- </td>
- </tr>
- </table>
- </td>
- </tr>
- <!--CLOSE OF INTRODUCTORY INFORMATION TABLE//-->
- <!--OPEN OF NAVIGATION, CONTENT, AND BUTTON TABLES//-->
- <tr valign="top">
- <td class="THREE" valign="top" width="178" height="100%">
- <!--OPEN OF NAVIGATION TABLE//-->
- <table class="THREE" cellspacing="0" cellpadding="0" border="0">
- <colgroup>
- <col width="12">
- <col width="166">
- <col width="1">
- <tr>
- <td valign="top" colspan="3" height="12">
- &nbsp;
- </td>
- </tr>
- <tr>
- <td valign="top" width="12" height="100%">
- &nbsp;
- </td>
- <td valign="top" width="165" height="100%">
- <!--OPEN OF NAVIGATIONAL LINKS//-->
- <div class="LINKSELECTED">
- <span class="VERTLINE1">
- <img height="1" alt="" src="../../Images/spacer.gif" width="1" border="0">
- </span><span class="HORILINE1">
- <table height="100%" cellspacing="0" cellpadding="0" width="167" border="0">
- <tr valign="top">
- <td class="DOTTEDLINE" height="1">
- </td>
- </tr>
- <tr valign="top">
- <td height="100%">
- <img height="28" alt="" src="../../Images/spacer.gif" width="1" border="0">
- </td>
- </tr>
- <tr valign="top">
- <td class="DOTTEDLINE" height="1">
- </td>
- </tr>
- </table>
- </span>
- <table class="LINKTEXTSELECTED" height="28" cellspacing="0" cellpadding="0" width="160"
- border="0">
- <tr valign="middle">
- <td width="156">
- <span id="Page_1" title="" onclick="Next(document, 'default.htm');" tabindex="1">Overview</span>
- </td>
- <td width="4">
- <img height="1" src="../../Images/spacer.gif" width="4">
- </td>
- </tr>
- </table>
- </div>
- <div class="LINK">
- <table class="LINKTEXT" height="28" cellspacing="0" cellpadding="0" width="166" border="0">
- <tr valign="middle">
- <td width="162">
- <span class="ACTIVELINK" id="Page_2" title="" onclick="Next(document, 'Page_2.htm');"
- tabindex="1">Project Settings</span>
- </td>
- <td width="4">
- <img height="1" src="../../Images/spacer.gif" width="4">
- </td>
- </tr>
- </table>
- </div>
- <div class="LINK">
- <table class="LINKTEXT" height="28" cellspacing="0" cellpadding="0" width="166" border="0"
- id="Table1">
- <tr valign="middle">
- <td width="162">
- <span class="ACTIVELINK" id="Page_3" title="" onclick="Next(document, 'Page_3.htm');"
- tabindex="1">Generated Class</span>
- </td>
- <td width="4">
- <img height="1" src="../../Images/spacer.gif" width="4">
- </td>
- </tr>
- </table>
- </div>
- <!--CLOSE OF NAVIGATIONAL LINKS//-->
- </td>
- <td width="1">
- <div class="VERTLINE">
- <img height="1" alt="" src="../../Images/spacer.gif" width="1" border="0">
- </div>
- </td>
- </tr>
- </table>
- <!--CLOSE OF NAVIGATION TABLE//-->
- </td>
- <td valign="top" height="100%">
- <!--OPEN OF CONTENT AND BUTTON TABLE//-->
- <table class="ONE" cellspacing="0" cellpadding="0" border="0">
- <colgroup>
- <col width="100%">
- <tr valign="top">
- <td height="100%">
- <!--OPEN OF CONTENT//-->
- <table class="CONTENT" cellspacing="0" cellpadding="0" border="0">
- <colgroup>
- <col width="12">
- <col width="185">
- <col width="12">
- <col width="185">
- <col width="12">
- <col width="185">
- <col width="12">
- <tr>
- <td valign="top" colspan="5" height="12">
- &nbsp;
- </td>
- </tr>
- <tr valign="top">
- <td valign="top" width="12">
- </td>
- <td colspan="3" valign="top">
- Select your target platform:<br />
- <br />
- <p id="PLATFORM_FIELD">
- <b>There are no Qt/CE platforms defined.<br>
- Please add your Qt/CE build in the Tools/Options/Qt/Builds dialog.</b>
- </p>
- <br />
- </td>
- <td valign="top" width="12">
- </td>
- </tr>
- <tr valign="top">
- <td valign="top" width="12">
- </td>
- <td colspan="3" valign="top">
- </td>
- <td valign="top" width="12">
- </td>
- </tr>
- <tr valign="top">
- <td valign="top" width="12">
- &nbsp;
- </td>
- <td valign="top" colspan="3">
- <p>
- <span class="ItemTextTop" id="PROJECT_SETTINGS_SPAN">These are currently selected Qt
- modules:</span></p>
- <p>
- <span class="ItemTextTop"></span><span class="ItemText" id="QTMODULES" title="">
- </span>
- </p>
- <p>
- <span class="ItemText" title=""></span><span class="ItemText" id="FinishText">Click
- <b>Finish</b> from any window to accept the current settings.</span>
- </p>
- </td>
- <td valign="top" width="12">
- &nbsp;
- </td>
- </tr>
- <tr>
- <td valign="top" colspan="7" height="100%">
- &nbsp;
- </td>
- </tr>
- </table>
- <!--CLOSE OF CONTENT//-->
- </td>
- </tr>
- <tr valign="bottom">
- <td height="48">
- <!--OPEN OF BUTTON HTML//-->
- <table height="48" cellspacing="0" cellpadding="0" border="0">
- <colgroup>
- <col width="12">
- <col>
- <col width="75">
- <col width="4">
- <col width="75">
- <col width="4">
- <col width="75">
- <col width="12">
- <tr>
- <td class="RULE" valign="top" colspan="8" height="2">
- <table height="1" cellspacing="0" cellpadding="0" width="100%" border="0">
- <tr valign="top">
- </tr>
- </table>
- </td>
- </tr>
- <tr>
- <td valign="top" colspan="8" height="11">
- &nbsp;
- </td>
- </tr>
- <tr>
- <td valign="middle" width="12" height="23">
- &nbsp;
- </td>
- <td valign="top" height="23">
- &nbsp;
- </td>
- <td valign="middle" width="75" height="23">
- <button class="BUTTONS" id="FinishBtn" accesskey="F" onclick="OnFinish(document);"
- type="button">
- <u>F</u>inish</button>
- </td>
- <td valign="middle" width="4" height="23">
- &nbsp;
- </td>
- <td valign="middle" width="75" height="23">
- <button class="BUTTONS" id="CancelBtn" accesskey="C" onclick="window.external.Finish(document, 'cancel');"
- type="button">
- <u>C</u>ancel</button>
- </td>
- <td valign="middle" width="4" height="23">
- &nbsp;
- </td>
- <td valign="middle" width="75" height="23">
- <button class="BUTTONS" id="HelpBtn" disabled accesskey="H" onclick="window.external.OnHelp('vc.appwiz.custom.overview');"
- type="button">
- <u>H</u>elp</button>
- </td>
- <td valign="middle" width="12" height="23">
- &nbsp;
- </td>
- </tr>
- <tr>
- <td valign="top" colspan="8" height="12">
- &nbsp;
- </td>
- </tr>
- </table>
- <!--CLOSE OF BUTTON HTML//-->
- </td>
- </tr>
- </table>
- <!--CLOSE OF NAVIGATION, CONTENT, AND BUTTON TABLES//-->
- </td>
- </tr>
- </table>
-</body>
-</html>
-<script language="JSCRIPT">
-
- var CEPlatformsAvailable = false;
- var QtEngine;
- var tab_array = new Array();
- tab_array[0] = Page_1;
- tab_array[1] = Page_2;
-
- // This is an example of a function which initializes the page
- //
- function InitDocument(document) {
- var dte = window.external.dte;
- var version = dte.version;
- if (version == "8.0")
- QtEngine = new ActiveXObject("Digia.Qt5ProjectEngine80");
- else if (version == "9.0")
- QtEngine = new ActiveXObject("Digia.Qt5ProjectEngine90");
- else if (version == "10.0")
- QtEngine = new ActiveXObject("Digia.Qt5ProjectEngine100");
- else if (version == "11.0")
- QtEngine = new ActiveXObject("Digia.Qt5ProjectEngine110");
- else if (version == "12.0")
- QtEngine = new ActiveXObject("Digia.Qt5ProjectEngine120");
- else {
- window.external.ReportError("Cannot instantiate QtProjectEngine object!");
- return false;
- }
-
- setDirection();
-
- if (window.external.FindSymbol('DOCUMENT_FIRST_LOAD')) {
- // This function sets the default symbols based
- // on the values specified in the SYMBOL tags above
- //
- window.external.SetDefaults(document);
- UpdateFields();
- }
-
- // Load the document and initialize the controls
- // with the appropriate symbol values
- //
- window.external.Load(document);
- InitControls();
- }
-
- function UpdateFields() {
- var regexp = /\s/g;
- var proName = window.external.FindSymbol('PROJECT_NAME').replace(regexp, "");
-
- if (!window.external.dte.VCLanguageManager.ValidateIdentifier(proName) ||
- window.external.dte.VCLanguageManager.IsReservedName(proName)) {
- window.external.AddSymbol("CLASSNAME_TEXT", "MyClass"); // fall back on myclass
- window.external.AddSymbol("HFILE_TEXT", "myclass.h");
- window.external.AddSymbol("CPPFILE_TEXT", "myclass.cpp");
- window.external.AddSymbol("UIFILE_TEXT", "myclass.ui");
- window.external.AddSymbol("QRCFILE_TEXT", "myclass.qrc");
- } else {
- window.external.AddSymbol("CLASSNAME_TEXT", proName);
- window.external.AddSymbol("HFILE_TEXT", proName.toLowerCase() + ".h");
- window.external.AddSymbol("CPPFILE_TEXT", proName.toLowerCase() + ".cpp");
- window.external.AddSymbol("UIFILE_TEXT", proName.toLowerCase() + ".ui");
- window.external.AddSymbol("QRCFILE_TEXT", proName.toLowerCase() + ".qrc");
- }
- }
-
- function InitControls() {
- var strModules = "";
-
- // Essentials
- if (window.external.FindSymbol('THREED_MODULE'))
- strModules += "3D, ";
- if (window.external.FindSymbol('CORE_MODULE'))
- strModules += "Core, ";
- if (window.external.FindSymbol('GUI_MODULE'))
- strModules += "GUI, ";
- if (window.external.FindSymbol('LOCATION_MODULE'))
- strModules += "Location, ";
- if (window.external.FindSymbol('MULTIMEDIA_MODULE'))
- strModules += "Multimedia, ";
- if (window.external.FindSymbol('MULTIMEDIAWIDGETS_MODULE'))
- strModules += "Multimedia Widgets, ";
- if (window.external.FindSymbol('NETWORK_MODULE'))
- strModules += "Network, ";
- if (window.external.FindSymbol('QML_MODULE'))
- strModules += "Qml, ";
- if (window.external.FindSymbol('QUICK_MODULE'))
- strModules += "Quick, ";
- if (window.external.FindSymbol('SQL_MODULE'))
- strModules += "SQL, ";
- if (window.external.FindSymbol('TEST_MODULE'))
- strModules += "Test, ";
- if (window.external.FindSymbol('WEBKIT_MODULE'))
- strModules += "WebKit, ";
-
- // Add-ons
- // Active Qt better split to server and container
- if (window.external.FindSymbol('AQSERVER_MODULE'))
- strModules += "ActiveQt Server, ";
- if (window.external.FindSymbol('AQCONTAINER_MODULE'))
- strModules += "ActiveQt Container, ";
-
- if (window.external.FindSymbol('BLUETOOTH_MODULE'))
- strModules += "Bluetooth, ";
- if (window.external.FindSymbol('CONCURRENT_MODULE'))
- strModules += "Concurrent, ";
- if (window.external.FindSymbol('DECLARATIVE_MODULE'))
- strModules += "Declarative, ";
- if (window.external.FindSymbol('ENGINIO_MODULE'))
- strModules += "Enginio, ";
- if (window.external.FindSymbol('HELP_MODULE'))
- strModules += "Help, ";
- if (window.external.FindSymbol('NFC_MODULE'))
- strModules += "NFC, ";
- if (window.external.FindSymbol('OPENGL_MODULE'))
- strModules += "OpenGL, ";
- if (window.external.FindSymbol('POSITIONING_MODULE'))
- strModules += "Positioning, ";
- if (window.external.FindSymbol('PRINTSUPPORT_MODULE'))
- strModules += "Print Support, ";
- if (window.external.FindSymbol('QUICKWIDGETS_MODULE'))
- strModules += "Quick Widgets, ";
- if (window.external.FindSymbol('SCRIPT_MODULE'))
- strModules += "Script, ";
- if (window.external.FindSymbol('SCRIPTTOOLS_MODULE'))
- strModules += "Script Tools, ";
- if (window.external.FindSymbol('SENSORS_MODULE'))
- strModules += "Sensors, ";
- if (window.external.FindSymbol('SERIALPORT_MODULE'))
- strModules += "Serial Port, ";
- if (window.external.FindSymbol('SVG_MODULE'))
- strModules += "SVG, ";
- if (window.external.FindSymbol('UITOOLS_MODULE'))
- strModules += "UI Tools, ";
- if (window.external.FindSymbol('WEBCHANNEL_MODULE'))
- strModules += "Web Channel, ";
- if (window.external.FindSymbol('WEBKITWIDGETS_MODULE'))
- strModules += "Webkit Widgets, ";
- if (window.external.FindSymbol('WEBSOCKETS_MODULE'))
- strModules += "Web Sockets, ";
- if (window.external.FindSymbol('WIDGETS_MODULE'))
- strModules += "Widgets, ";
- if (window.external.FindSymbol('WINDOWSEXTRAS_MODULE'))
- strModules += "Windows Extras, ";
- if (window.external.FindSymbol('XML_MODULE'))
- strModules += "XML, ";
- if (window.external.FindSymbol('XMLPATTERNS_MODULE'))
- strModules += "XML Patterns, ";
-
- if (strModules.length < 1)
- strModules = "None selected";
- else
- strModules = strModules.slice(0, strModules.length - 2);
-
- QTMODULES.innerText = strModules;
-
- var strHTML = '<select id="PLATFORM_COMBO" name="PLATFORM_COMBO" style="width: 360px" width="250">';
- var qtVersions = QtEngine.GetQtWinCEVersions(window.external.dte);
- var strDefaultQtWinCEVersion = QtEngine.GetDefaultWinCEVersion();
- if (qtVersions.Count > 0) {
- for (var i = 0; i < qtVersions.Count; ++i) {
- var strVersion = qtVersions.Item(i);
- var strSelected = '';
- if (strVersion == strDefaultQtWinCEVersion)
- strSelected = 'selected ';
-
- var strDisplay = QtEngine.GetWinCEPlatformName(strVersion) + ' / Qt ' + strVersion;
- strHTML += '<option ' + strSelected + 'value="' + strVersion + '">' + strDisplay + '</option>';
- }
- strHTML += '</select>';
- PLATFORM_FIELD.innerHTML = strHTML;
- CEPlatformsAvailable = true;
- } else {
- // no Qt versions for Windows CE found
- FinishBtn.disabled = true;
- Page_1.disabled = true;
- Page_2.disabled = true;
- Page_3.disabled = true;
- }
- }
-
- // If the wizard has more than 1 page, this
- // function will browse to the page specified
- //
- function Next(document, linkto) {
- if (CEPlatformsAvailable)
- window.external.Next(document, linkto);
- }
-
- // This is an example of a function which
- // gets called when the user clicks on 'Finish'
- //
- function OnFinish(document) {
- OnWizFinish(document);
- }
-
-</script>
-<script language="JSCRIPT" id="INCLUDE_SCRIPT"></script>
-<script language="JSCRIPT" id="INCLUDE_COMMON"></script>
-<!--
-Common.js is a script file which contains the helper functions
-used by the wizards. Include this line if you want to
-call these functions from your html scripts.
-//-->
-<script>
- var strPath = window.external.FindSymbol("PRODUCT_INSTALLATION_DIR");
- strPath += "VCWizards/";
- strPath += window.external.GetHostLocale();
- var strScriptPath = strPath + "/Script.js";
- var strCommonPath = strPath + "/Common.js";
- document.scripts("INCLUDE_SCRIPT").src = strScriptPath;
- document.scripts("INCLUDE_COMMON").src = strCommonPath;
-</script>
diff --git a/Qt4VS2003/Projects/Qt5WinCEProject/Images/Qt5WinCEProject.jpg b/Qt4VS2003/Projects/Qt5WinCEProject/Images/Qt5WinCEProject.jpg
deleted file mode 100644
index c95946d3..00000000
--- a/Qt4VS2003/Projects/Qt5WinCEProject/Images/Qt5WinCEProject.jpg
+++ /dev/null
Binary files differ
diff --git a/Qt4VS2003/Projects/Qt5WinCEProject/Qt5WinCEProject.ico b/Qt4VS2003/Projects/Qt5WinCEProject/Qt5WinCEProject.ico
deleted file mode 100644
index de1736e4..00000000
--- a/Qt4VS2003/Projects/Qt5WinCEProject/Qt5WinCEProject.ico
+++ /dev/null
Binary files differ
diff --git a/Qt4VS2003/Projects/Qt5WinCEProject/Qt5WinCEProject.vcproj b/Qt4VS2003/Projects/Qt5WinCEProject/Qt5WinCEProject.vcproj
deleted file mode 100644
index 25290e21..00000000
--- a/Qt4VS2003/Projects/Qt5WinCEProject/Qt5WinCEProject.vcproj
+++ /dev/null
@@ -1,284 +0,0 @@
-<?xml version="1.0" encoding="Windows-1252"?>
-<VisualStudioProject
- ProjectType="Visual C++"
- Version="8,00"
- Name="Qt5WinCEProject"
- ProjectGUID="{AB6B3B4B-75BD-4E32-B795-56E1FEBA40E2}"
- RootNamespace="Qt5WinCEProject"
- Keyword="CustomAppWizProj"
- >
- <Platforms>
- <Platform
- Name="Win32"
- />
- </Platforms>
- <ToolFiles>
- </ToolFiles>
- <Configurations>
- <Configuration
- Name="Debug|Win32"
- OutputDirectory="$(SolutionDir)$(ConfigurationName)"
- IntermediateDirectory="$(ConfigurationName)"
- ConfigurationType="1"
- InheritedPropertySheets="$(VCInstallDir)VCProjectDefaults\UpgradeFromVC71.vsprops"
- >
- <Tool
- Name="VCPreBuildEventTool"
- />
- <Tool
- Name="VCCustomBuildTool"
- />
- <Tool
- Name="VCXMLDataGeneratorTool"
- />
- <Tool
- Name="VCWebServiceProxyGeneratorTool"
- />
- <Tool
- Name="VCMIDLTool"
- />
- <Tool
- Name="VCCLCompilerTool"
- />
- <Tool
- Name="VCManagedResourceCompilerTool"
- />
- <Tool
- Name="VCResourceCompilerTool"
- />
- <Tool
- Name="VCPreLinkEventTool"
- />
- <Tool
- Name="VCLinkerTool"
- />
- <Tool
- Name="VCALinkTool"
- />
- <Tool
- Name="VCManifestTool"
- />
- <Tool
- Name="VCXDCMakeTool"
- />
- <Tool
- Name="VCBscMakeTool"
- />
- <Tool
- Name="VCFxCopTool"
- />
- <Tool
- Name="VCAppVerifierTool"
- />
- <Tool
- Name="VCWebDeploymentTool"
- />
- <Tool
- Name="VCPostBuildEventTool"
- />
- </Configuration>
- <Configuration
- Name="Release|Win32"
- IntermediateDirectory="$(ConfigurationName)"
- ConfigurationType="1"
- InheritedPropertySheets="$(VCInstallDir)VCProjectDefaults\UpgradeFromVC71.vsprops"
- >
- <Tool
- Name="VCPreBuildEventTool"
- />
- <Tool
- Name="VCCustomBuildTool"
- />
- <Tool
- Name="VCXMLDataGeneratorTool"
- />
- <Tool
- Name="VCWebServiceProxyGeneratorTool"
- />
- <Tool
- Name="VCMIDLTool"
- />
- <Tool
- Name="VCCLCompilerTool"
- />
- <Tool
- Name="VCManagedResourceCompilerTool"
- />
- <Tool
- Name="VCResourceCompilerTool"
- />
- <Tool
- Name="VCPreLinkEventTool"
- />
- <Tool
- Name="VCLinkerTool"
- />
- <Tool
- Name="VCALinkTool"
- />
- <Tool
- Name="VCManifestTool"
- />
- <Tool
- Name="VCXDCMakeTool"
- />
- <Tool
- Name="VCBscMakeTool"
- />
- <Tool
- Name="VCFxCopTool"
- />
- <Tool
- Name="VCAppVerifierTool"
- />
- <Tool
- Name="VCWebDeploymentTool"
- />
- <Tool
- Name="VCPostBuildEventTool"
- />
- </Configuration>
- </Configurations>
- <References>
- </References>
- <Files>
- <Filter
- Name="Template Files"
- Filter="txt"
- >
- <File
- RelativePath=".\Templates\1033\main.cpp"
- >
- <FileConfiguration
- Name="Debug|Win32"
- ExcludedFromBuild="true"
- >
- <Tool
- Name="VCCLCompilerTool"
- />
- </FileConfiguration>
- </File>
- <File
- RelativePath=".\Templates\1033\mywidget.cpp"
- >
- <FileConfiguration
- Name="Debug|Win32"
- ExcludedFromBuild="true"
- >
- <Tool
- Name="VCCLCompilerTool"
- />
- </FileConfiguration>
- </File>
- <File
- RelativePath=".\Templates\1033\mywidget.h"
- >
- <FileConfiguration
- Name="Debug|Win32"
- ExcludedFromBuild="true"
- >
- <Tool
- Name="VCCustomBuildTool"
- />
- </FileConfiguration>
- </File>
- <File
- RelativePath=".\Templates\1033\widget.ui"
- >
- <FileConfiguration
- Name="Debug|Win32"
- ExcludedFromBuild="true"
- >
- <Tool
- Name="VCCustomBuildTool"
- />
- </FileConfiguration>
- </File>
- <File
- RelativePath=".\Templates\1033\winapp.ico"
- >
- <FileConfiguration
- Name="Debug|Win32"
- ExcludedFromBuild="true"
- >
- <Tool
- Name="VCCustomBuildTool"
- />
- </FileConfiguration>
- </File>
- </Filter>
- <Filter
- Name="HTML Files"
- Filter="htm"
- >
- <File
- RelativePath=".\Html\1033\default.htm"
- DeploymentContent="true"
- >
- </File>
- <File
- RelativePath=".\Html\1033\Page_2.htm"
- DeploymentContent="true"
- >
- </File>
- <File
- RelativePath=".\Html\1033\Page_3.htm"
- DeploymentContent="true"
- >
- <FileConfiguration
- Name="Debug|Win32"
- ExcludedFromBuild="true"
- >
- <Tool
- Name="VCCustomBuildTool"
- />
- </FileConfiguration>
- </File>
- </Filter>
- <Filter
- Name="Image Files"
- Filter="bmp"
- >
- <File
- RelativePath=".\Images\Qt5WinCEProject.gif"
- >
- </File>
- <File
- RelativePath=".\Images\Qt5WinCEProject_Background.gif"
- >
- </File>
- </Filter>
- <Filter
- Name="Script Files"
- Filter="js"
- >
- <File
- RelativePath=".\Scripts\1033\default.js"
- >
- </File>
- </Filter>
- <Filter
- Name="Miscellaneous Files"
- Filter="vsz;vsdir;ico;vcproj;csproj;css;inf"
- >
- <File
- RelativePath=".\Qt5WinCEProject.ico"
- >
- </File>
- <File
- RelativePath=".\Qt5WinCEProject.vsdir"
- >
- </File>
- <File
- RelativePath=".\Qt5WinCEProject.vsz"
- >
- </File>
- <File
- RelativePath=".\1033\styles.css"
- >
- </File>
- </Filter>
- </Files>
- <Globals>
- </Globals>
-</VisualStudioProject>
diff --git a/Qt4VS2003/Projects/Qt5WinCEProject/Qt5WinCEProject.vsdir b/Qt4VS2003/Projects/Qt5WinCEProject/Qt5WinCEProject.vsdir
deleted file mode 100644
index 004da78b..00000000
--- a/Qt4VS2003/Projects/Qt5WinCEProject/Qt5WinCEProject.vsdir
+++ /dev/null
@@ -1 +0,0 @@
-Qt5WinCEProject.vsz| |Qt Windows CE Application|1|A simple Qt Windows CE Application with one form.| | |4096|Project
diff --git a/Qt4VS2003/Projects/Qt5WinCEProject/Qt5WinCEProject.vsz b/Qt4VS2003/Projects/Qt5WinCEProject/Qt5WinCEProject.vsz
deleted file mode 100644
index 883ecb6d..00000000
--- a/Qt4VS2003/Projects/Qt5WinCEProject/Qt5WinCEProject.vsz
+++ /dev/null
@@ -1,6 +0,0 @@
-VSWIZARD 7.1
-Wizard=VsWizard.VsWizardEngine.9.0
-
-Param="WIZARD_NAME = Qt5WinCEProject"
-Param="ABSOLUTE_PATH = C:\Program Files (x86)\Digia\Qt4VSAddin\wizards\Qt5WinCEProject"
-Param="FALLBACK_LCID = 1033" \ No newline at end of file
diff --git a/Qt4VS2003/Projects/Qt5WinCEProject/Scripts/1033/default.js b/Qt4VS2003/Projects/Qt5WinCEProject/Scripts/1033/default.js
deleted file mode 100644
index f7972662..00000000
--- a/Qt4VS2003/Projects/Qt5WinCEProject/Scripts/1033/default.js
+++ /dev/null
@@ -1,204 +0,0 @@
-var QtEngine;
-
-function GetNameFromFile(strFile) {
- var nPos = strFile.lastIndexOf(".");
- return strFile.substr(0, nPos);
-}
-
-function OnFinish(selProj, selObj) {
- try {
- // load right project engine
- var dte = wizard.dte;
- var version = dte.version;
- if (version == "8.0")
- QtEngine = new ActiveXObject("Digia.Qt5ProjectEngine80");
- else if (version == "9.0")
- QtEngine = new ActiveXObject("Digia.Qt5ProjectEngine90");
- else if (version == "10.0")
- QtEngine = new ActiveXObject("Digia.Qt5ProjectEngine100");
- else if (version == "11.0")
- QtEngine = new ActiveXObject("Digia.Qt5ProjectEngine110");
- else if (version == "12.0")
- QtEngine = new ActiveXObject("Digia.Qt5ProjectEngine120");
-
- var strProjectPath = wizard.FindSymbol('PROJECT_PATH');
- var strProjectName = wizard.FindSymbol('PROJECT_NAME');
- var strSolutionName = wizard.FindSymbol('VS_SOLUTION_NAME');
- var strTemplatePath = wizard.FindSymbol('TEMPLATES_PATH') + "\\";
- var bExclusive = wizard.FindSymbol("CLOSE_SOLUTION");
-
- var vcfileTmp;
- var fileTmp;
- var strClass = wizard.FindSymbol('CLASSNAME_TEXT');
- var strHeader = wizard.FindSymbol('HFILE_TEXT');
- var strSource = wizard.FindSymbol('CPPFILE_TEXT');
- var strForm = wizard.FindSymbol('UIFILE_TEXT');
- var strQrc = wizard.FindSymbol('QRCFILE_TEXT');
- var baseClassID = wizard.FindSymbol('BASECLASS_COMBO');
- var appIcon = wizard.FindSymbol('APP_ICON');
- var bPrecompiled = wizard.FindSymbol('PRECOMPILED_HEADERS');
- var baseClass = "QMainWindow";
-
- if (baseClassID == 2)
- baseClass = "QWidget";
- else if (baseClassID == 3)
- baseClass = "QDialog";
- else {
- baseClassID = 1;
- baseClass = "QMainWindow";
- }
-
- var regexp = /\W/g;
- var strDef = strHeader.toUpperCase().replace(regexp, "_");
-
- var strFormName = GetNameFromFile(strForm);
-
- QtEngine.CreateWinCEApplicationProject(wizard.dte, strProjectName,
- strProjectPath, strSolutionName, bExclusive, wizard.FindSymbol("PLATFORM_COMBO"), bPrecompiled);
-
- // add the selected modules to the project
- AddModules();
-
- var strHeaderInclude = strHeader;
- if (bPrecompiled) {
- strHeaderInclude = "stdafx.h\"\n#include \"" + strHeader;
- fileTmp = QtEngine.CopyFileToProjectFolder(strTemplatePath + "stdafx.cpp", "stdafx.cpp");
- QtEngine.AddFileToProject(fileTmp, "QT_SOURCE_FILTER");
-
- fileTmp = QtEngine.CopyFileToProjectFolder(strTemplatePath + "stdafx.h", "stdafx.h");
- QtEngine.AddFileToProject(fileTmp, "QT_HEADER_FILTER");
- }
-
- // main.cpp
- fileTmp = QtEngine.CopyFileToProjectFolder(strTemplatePath + "main.cpp", "main.cpp");
- QtEngine.ReplaceTokenInFile(fileTmp, "%INCLUDE%", strHeaderInclude);
- QtEngine.ReplaceTokenInFile(fileTmp, "%CLASS%", strClass);
- QtEngine.AddFileToProject(fileTmp, "QT_SOURCE_FILTER");
-
- // mywidget.cpp
- fileTmp = QtEngine.CopyFileToProjectFolder(strTemplatePath + "mywidget.cpp", strSource);
- QtEngine.ReplaceTokenInFile(fileTmp, "%INCLUDE%", strHeaderInclude);
- QtEngine.ReplaceTokenInFile(fileTmp, "%CLASS%", strClass);
- QtEngine.ReplaceTokenInFile(fileTmp, "%BASECLASS%", baseClass);
- QtEngine.AddFileToProject(fileTmp, "QT_SOURCE_FILTER");
-
- // mywidget.h
- fileTmp = QtEngine.CopyFileToProjectFolder(strTemplatePath + "mywidget.h", strHeader);
- QtEngine.ReplaceTokenInFile(fileTmp, "%PRE_DEF%", strDef);
- QtEngine.ReplaceTokenInFile(fileTmp, "%CLASS%", strClass);
- QtEngine.ReplaceTokenInFile(fileTmp, "%UI_HDR%", "ui_" + strFormName + ".h");
- QtEngine.ReplaceTokenInFile(fileTmp, "%BASECLASS%", baseClass);
- vcfileTmp = QtEngine.AddFileToProject(fileTmp, "QT_HEADER_FILTER");
-
- // widget.ui
- fileTmp = QtEngine.CopyFileToProjectFolder(strTemplatePath + "widget.ui", strForm);
- QtEngine.ReplaceTokenInFile(fileTmp, "%CLASS%", strClass);
- QtEngine.ReplaceTokenInFile(fileTmp, "%BASECLASS%", baseClass);
- QtEngine.ReplaceTokenInFile(fileTmp, "%QRC%", strQrc);
- if (baseClassID == 1) {
- QtEngine.ReplaceTokenInFile(fileTmp, "%CENTRAL_WIDGET%",
- //"\r\n <widget class=\"QMenuBar\" name=\"menuBar\" />" +
- //"\r\n <widget class=\"QToolBar\" name=\"mainToolBar\" />" +
- "\r\n <widget class=\"QWidget\" name=\"centralWidget\" />");
- //"\r\n <widget class=\"QStatusBar\" name=\"statusBar\" />"
- } else {
- QtEngine.ReplaceTokenInFile(fileTmp, "%CENTRAL_WIDGET%", "");
- }
- vcfileTmp = QtEngine.AddFileToProject(fileTmp, "QT_FORM_FILTER");
-
- fileTmp = QtEngine.CreateQrcFile(strClass, strQrc);
- vcfileTmp = QtEngine.AddFileToProject(fileTmp, "QT_RESOURCE_FILTER");
-
- if (appIcon == 1) {
- QtEngine.AddApplicationIcon(strTemplatePath + "winapp.ico");
- }
-
- QtEngine.Finish();
- }
- catch (e) {
- if (e.description.length != 0)
- SetErrorInfo(e);
- return e.number
- }
-}
-
-function AddModules() {
- // Essential modules
- if (wizard.FindSymbol('THREED_MODULE'))
- QtEngine.AddModule("Qt3D");
- if (wizard.FindSymbol('CORE_MODULE'))
- QtEngine.AddModule("QtCore");
- if (wizard.FindSymbol('GUI_MODULE'))
- QtEngine.AddModule("QtGui");
- if (wizard.FindSymbol('LOCATION_MODULE'))
- QtEngine.AddModule("QtLocation");
- if (wizard.FindSymbol('MULTIMEDIA_MODULE'))
- QtEngine.AddModule("QtMultimedia");
- if (wizard.FindSymbol('MULTIMEDIAWIDGETS_MODULE'))
- QtEngine.AddModule("QtMultimediaWidgets");
- if (wizard.FindSymbol('NETWORK_MODULE'))
- QtEngine.AddModule("QtNetwork");
- if (wizard.FindSymbol('QML_MODULE'))
- QtEngine.AddModule("QtQml");
- if (wizard.FindSymbol('QUICK_MODULE'))
- QtEngine.AddModule("QtQuick");
- if (wizard.FindSymbol('SQL_MODULE'))
- QtEngine.AddModule("QtSql");
- if (wizard.FindSymbol('TEST_MODULE'))
- QtEngine.AddModule("QtTest");
- if (wizard.FindSymbol('WEBKIT_MODULE'))
- QtEngine.AddModule("QtWebKit"); // ??
-
- // Add-on modules
- // Active Qt better split to server and container
- if (wizard.FindSymbol('AQCONTAINER_MODULE'))
- QtEngine.AddModule("QtAxContainer");
- if (wizard.FindSymbol('AQSERVER_MODULE'))
- QtEngine.AddModule("QtAxServer");
- if (wizard.FindSymbol('BLUETOOTH_MODULE'))
- QtEngine.AddModule("QtBluetooth");
- if (wizard.FindSymbol('CONCURRENT_MODULE'))
- QtEngine.AddModule("QtConcurrent");
- if (wizard.FindSymbol('DECLARATIVE_MODULE'))
- QtEngine.AddModule("QtDeclarative");
- if (wizard.FindSymbol('ENGINIO_MODULE'))
- QtEngine.AddModule("Enginio");
- if (wizard.FindSymbol('HELP_MODULE'))
- QtEngine.AddModule("QtHelp");
- if (wizard.FindSymbol('NFC_MODULE'))
- QtEngine.AddModule("QtNfc");
- if (wizard.FindSymbol('OPENGL_MODULE'))
- QtEngine.AddModule("QtOpenGL");
- if (wizard.FindSymbol('POSITIONING_MODULE'))
- QtEngine.AddModule("QtPositioning");
- if (wizard.FindSymbol('PRINTSUPPORT_MODULE'))
- QtEngine.AddModule("QtPrintSupport");
- if (wizard.FindSymbol('QUICKWIDGETS_MODULE'))
- QtEngine.AddModule("QtQuickWidgets");
- if (wizard.FindSymbol('SCRIPT_MODULE'))
- QtEngine.AddModule("QtScript");
- if (wizard.FindSymbol('SCRIPTTOOLS_MODULE'))
- QtEngine.AddModule("QtScriptTools");
- if (wizard.FindSymbol('SENSORS_MODULE'))
- QtEngine.AddModule("QtSensors");
- if (wizard.FindSymbol('SERIALPORT_MODULE'))
- QtEngine.AddModule("QtSerialPort");
- if (wizard.FindSymbol('SVG_MODULE'))
- QtEngine.AddModule("QtSvg");
- if (wizard.FindSymbol('UITOOLS_MODULE'))
- QtEngine.AddModule("QtUiTools");
- if (wizard.FindSymbol('WEBCHANNEL_MODULE'))
- QtEngine.AddModule("QtWebChannel");
- if (wizard.FindSymbol('WEBKITWIDGETS_MODULE'))
- QtEngine.AddModule("QtWebkitWidgets"); // ??
- if (wizard.FindSymbol('WEBSOCKETS_MODULE'))
- QtEngine.AddModule("QtWebSockets");
- if (wizard.FindSymbol('WIDGETS_MODULE'))
- QtEngine.AddModule("QtWidgets");
- if (wizard.FindSymbol('WINDOWSEXTRAS_MODULE'))
- QtEngine.AddModule("QtWinExtras");
- if (wizard.FindSymbol('XML_MODULE'))
- QtEngine.AddModule("QtXml");
- if (wizard.FindSymbol('XMLPATTERNS_MODULE'))
- QtEngine.AddModule("QtXmlPatterns");
-}
diff --git a/Qt4VS2003/Projects/Qt5WinCEProject/Templates/1033/main.cpp b/Qt4VS2003/Projects/Qt5WinCEProject/Templates/1033/main.cpp
deleted file mode 100644
index 1e61a4fa..00000000
--- a/Qt4VS2003/Projects/Qt5WinCEProject/Templates/1033/main.cpp
+++ /dev/null
@@ -1,10 +0,0 @@
-#include "%INCLUDE%"
-#include <QtWidgets/QApplication>
-
-int main(int argc, char *argv[])
-{
- QApplication a(argc, argv);
- %CLASS% w;
- w.showMaximized();
- return a.exec();
-}
diff --git a/Qt4VS2003/Projects/Qt5WinCEProject/Templates/1033/mywidget.cpp b/Qt4VS2003/Projects/Qt5WinCEProject/Templates/1033/mywidget.cpp
deleted file mode 100644
index 02d6f7bd..00000000
--- a/Qt4VS2003/Projects/Qt5WinCEProject/Templates/1033/mywidget.cpp
+++ /dev/null
@@ -1,12 +0,0 @@
-#include "%INCLUDE%"
-
-%CLASS%::%CLASS%(QWidget *parent)
- : %BASECLASS%(parent)
-{
- ui.setupUi(this);
-}
-
-%CLASS%::~%CLASS%()
-{
-
-}
diff --git a/Qt4VS2003/Projects/Qt5WinCEProject/Templates/1033/mywidget.h b/Qt4VS2003/Projects/Qt5WinCEProject/Templates/1033/mywidget.h
deleted file mode 100644
index 526ad034..00000000
--- a/Qt4VS2003/Projects/Qt5WinCEProject/Templates/1033/mywidget.h
+++ /dev/null
@@ -1,19 +0,0 @@
-#ifndef %PRE_DEF%
-#define %PRE_DEF%
-
-#include <QtWidgets/%BASECLASS%>
-#include "%UI_HDR%"
-
-class %CLASS% : public %BASECLASS%
-{
- Q_OBJECT
-
-public:
- %CLASS%(QWidget *parent = 0);
- ~%CLASS%();
-
-private:
- Ui::%CLASS%Class ui;
-};
-
-#endif // %PRE_DEF%
diff --git a/Qt4VS2003/Projects/Qt5WinCEProject/Templates/1033/stdafx.cpp b/Qt4VS2003/Projects/Qt5WinCEProject/Templates/1033/stdafx.cpp
deleted file mode 100644
index 1577c4e3..00000000
--- a/Qt4VS2003/Projects/Qt5WinCEProject/Templates/1033/stdafx.cpp
+++ /dev/null
@@ -1 +0,0 @@
-#include "stdafx.h" \ No newline at end of file
diff --git a/Qt4VS2003/Projects/Qt5WinCEProject/Templates/1033/stdafx.h b/Qt4VS2003/Projects/Qt5WinCEProject/Templates/1033/stdafx.h
deleted file mode 100644
index 6a418984..00000000
--- a/Qt4VS2003/Projects/Qt5WinCEProject/Templates/1033/stdafx.h
+++ /dev/null
@@ -1 +0,0 @@
-#include <QtWidgets> \ No newline at end of file
diff --git a/Qt4VS2003/Projects/Qt5WinCEProject/Templates/1033/widget.ui b/Qt4VS2003/Projects/Qt5WinCEProject/Templates/1033/widget.ui
deleted file mode 100644
index 4a5d55a5..00000000
--- a/Qt4VS2003/Projects/Qt5WinCEProject/Templates/1033/widget.ui
+++ /dev/null
@@ -1,46 +0,0 @@
-<UI version="4.0" >
- <class>%CLASS%Class</class>
- <widget class="%BASECLASS%" name="%CLASS%Class" >
- <property name="objectName" >
- <string notr="true">%CLASS%Class</string>
- </property>
- <property name="geometry" >
- <rect>
- <x>0</x>
- <y>0</y>
- <width>600</width>
- <height>400</height>
- </rect>
- </property>
- <property name="windowTitle" >
- <string>%CLASS%</string>
- </property>%CENTRAL_WIDGET%
- <widget class="QMenuBar" name="menuBar">
- <widget class="QMenu" name="menu_File" >
- <property name="title" >
- <string>&amp;File</string>
- </property>
- <addaction name="actionExit" />
- </widget>
- <addaction name="menu_File" />
- </widget>
- <action name="actionExit" >
- <property name="text" >
- <string>E&amp;xit</string>
- </property>
- </action>
- </widget>
- <layoutDefault spacing="6" margin="11" />
- <pixmapfunction></pixmapfunction>
- <resources>
- <include location="%QRC%"/>
- </resources>
- <connections>
- <connection>
- <sender>actionExit</sender>
- <signal>triggered()</signal>
- <receiver>%CLASS%Class</receiver>
- <slot>close()</slot>
- </connection>
- </connections>
-</UI>
diff --git a/Qt4VS2003/Projects/Qt5WinCEProject/Templates/1033/winapp.ico b/Qt4VS2003/Projects/Qt5WinCEProject/Templates/1033/winapp.ico
deleted file mode 100644
index 7500a1d4..00000000
--- a/Qt4VS2003/Projects/Qt5WinCEProject/Templates/1033/winapp.ico
+++ /dev/null
Binary files differ
diff --git a/Qt4VS2003/Qt4VSAddin/.gitignore b/Qt4VS2003/Qt4VSAddin/.gitignore
deleted file mode 100644
index ba077a40..00000000
--- a/Qt4VS2003/Qt4VSAddin/.gitignore
+++ /dev/null
@@ -1 +0,0 @@
-bin
diff --git a/Qt4VS2003/Qt4VSAddin/AddInEventHandler.cs b/Qt4VS2003/Qt4VSAddin/AddInEventHandler.cs
deleted file mode 100644
index 0914f70f..00000000
--- a/Qt4VS2003/Qt4VSAddin/AddInEventHandler.cs
+++ /dev/null
@@ -1,1045 +0,0 @@
-/****************************************************************************
-**
-** Copyright (C) 2016 The Qt Company Ltd.
-** Contact: https://www.qt.io/licensing/
-**
-** This file is part of the Qt VS Add-in.
-**
-** $QT_BEGIN_LICENSE:GPL-EXCEPT$
-** Commercial License Usage
-** Licensees holding valid commercial Qt licenses may use this file in
-** accordance with the commercial license agreement provided with the
-** Software or, alternatively, in accordance with the terms contained in
-** a written agreement between you and The Qt Company. For licensing terms
-** and conditions see https://www.qt.io/terms-conditions. For further
-** information use the contact form at https://www.qt.io/contact-us.
-**
-** GNU General Public License Usage
-** Alternatively, this file may be used under the terms of the GNU
-** General Public License version 3 as published by the Free Software
-** Foundation with exceptions as appearing in the file LICENSE.GPL3-EXCEPT
-** included in the packaging of this file. Please review the following
-** information to ensure the GNU General Public License requirements will
-** be met: https://www.gnu.org/licenses/gpl-3.0.html.
-**
-** $QT_END_LICENSE$
-**
-****************************************************************************/
-
-using System;
-using System.IO;
-using System.Collections.Generic;
-using System.Windows.Forms;
-using EnvDTE;
-using EnvDTE80;
-using Microsoft.VisualStudio.VCProjectEngine;
-using System.Text.RegularExpressions;
-using System.Net.Sockets;
-using System.Net;
-using System.Runtime.InteropServices;
-using System.Text;
-using System.Collections;
-using Digia.Qt5ProjectLib;
-
-namespace Qt5VSAddin
-{
- class AddInEventHandler
- {
- private DTE dte;
- private EnvDTE.SolutionEvents solutionEvents;
- private EnvDTE.BuildEvents buildEvents;
- private EnvDTE.DocumentEvents documentEvents;
- private EnvDTE.ProjectItemsEvents projectItemsEvents;
- private EnvDTE.vsBuildAction currentBuildAction = vsBuildAction.vsBuildActionBuild;
- private VCProjectEngineEvents vcProjectEngineEvents = null;
- private CommandEvents debugStartEvents;
- private CommandEvents debugStartWithoutDebuggingEvents;
- private System.Threading.Thread appWrapperThread = null;
- private System.Diagnostics.Process appWrapperProcess = null;
- private bool terminateEditorThread = false;
- private TcpClient client = null;
- private byte[] qtAppWrapperHelloMessage = new byte[] { 0x48, 0x45, 0x4C, 0x4C, 0x4F };
- private SimpleThreadMessenger simpleThreadMessenger = null;
- private int dispId_VCFileConfiguration_ExcludedFromBuild;
- private int dispId_VCCLCompilerTool_UsePrecompiledHeader;
- private int dispId_VCCLCompilerTool_PrecompiledHeaderThrough;
- private int dispId_VCCLCompilerTool_PreprocessorDefinitions;
- private int dispId_VCCLCompilerTool_AdditionalIncludeDirectories;
-
- public AddInEventHandler(DTE _dte)
- {
- simpleThreadMessenger = new SimpleThreadMessenger(this);
- dte = _dte;
- Events2 events = dte.Events as Events2;
-
- buildEvents = (EnvDTE.BuildEvents)events.BuildEvents;
- buildEvents.OnBuildBegin += new _dispBuildEvents_OnBuildBeginEventHandler(buildEvents_OnBuildBegin);
- buildEvents.OnBuildProjConfigBegin += new _dispBuildEvents_OnBuildProjConfigBeginEventHandler(this.OnBuildProjConfigBegin);
- buildEvents.OnBuildDone += new _dispBuildEvents_OnBuildDoneEventHandler(this.buildEvents_OnBuildDone);
-
- documentEvents = (EnvDTE.DocumentEvents)events.get_DocumentEvents(null);
- documentEvents.DocumentSaved += new _dispDocumentEvents_DocumentSavedEventHandler(this.DocumentSaved);
-
- projectItemsEvents = (ProjectItemsEvents)events.ProjectItemsEvents;
- projectItemsEvents.ItemAdded += new _dispProjectItemsEvents_ItemAddedEventHandler(this.ProjectItemsEvents_ItemAdded);
- projectItemsEvents.ItemRemoved += new _dispProjectItemsEvents_ItemRemovedEventHandler(this.ProjectItemsEvents_ItemRemoved);
- projectItemsEvents.ItemRenamed += new _dispProjectItemsEvents_ItemRenamedEventHandler(this.ProjectItemsEvents_ItemRenamed);
-
- solutionEvents = (SolutionEvents)events.SolutionEvents;
- solutionEvents.ProjectAdded += new _dispSolutionEvents_ProjectAddedEventHandler(this.SolutionEvents_ProjectAdded);
- solutionEvents.ProjectRemoved += new _dispSolutionEvents_ProjectRemovedEventHandler(this.SolutionEvents_ProjectRemoved);
- solutionEvents.Opened += new _dispSolutionEvents_OpenedEventHandler(SolutionEvents_Opened);
- solutionEvents.AfterClosing += new _dispSolutionEvents_AfterClosingEventHandler(SolutionEvents_AfterClosing);
-
- const string debugCommandsGUID = "{5EFC7975-14BC-11CF-9B2B-00AA00573819}";
- debugStartEvents = events.get_CommandEvents(debugCommandsGUID, 295);
- debugStartEvents.BeforeExecute += new _dispCommandEvents_BeforeExecuteEventHandler(debugStartEvents_BeforeExecute);
-
- debugStartWithoutDebuggingEvents = events.get_CommandEvents(debugCommandsGUID, 368);
- debugStartWithoutDebuggingEvents.BeforeExecute += new _dispCommandEvents_BeforeExecuteEventHandler(debugStartWithoutDebuggingEvents_BeforeExecute);
-
- dispId_VCFileConfiguration_ExcludedFromBuild = GetPropertyDispId(typeof(VCFileConfiguration), "ExcludedFromBuild");
- dispId_VCCLCompilerTool_UsePrecompiledHeader = GetPropertyDispId(typeof(VCCLCompilerTool), "UsePrecompiledHeader");
- dispId_VCCLCompilerTool_PrecompiledHeaderThrough = GetPropertyDispId(typeof(VCCLCompilerTool), "PrecompiledHeaderThrough");
- dispId_VCCLCompilerTool_PreprocessorDefinitions = GetPropertyDispId(typeof(VCCLCompilerTool), "PreprocessorDefinitions");
- dispId_VCCLCompilerTool_AdditionalIncludeDirectories = GetPropertyDispId(typeof(VCCLCompilerTool), "AdditionalIncludeDirectories");
- RegisterVCProjectEngineEvents();
-
- if (Vsix.Instance.AppWrapperPath == null)
- {
- Messages.DisplayCriticalErrorMessage("QtAppWrapper can't be found in the installation directory.");
- }
- else
- {
- appWrapperProcess = new System.Diagnostics.Process();
- appWrapperProcess.StartInfo.FileName = Vsix.Instance.AppWrapperPath;
- }
- appWrapperThread = new System.Threading.Thread(new System.Threading.ThreadStart(ListenForRequests));
- appWrapperThread.Name = "QtAppWrapperListener";
- appWrapperThread.Start();
- }
-
- void debugStartEvents_BeforeExecute(string Guid, int ID, object CustomIn, object CustomOut, ref bool CancelDefault)
- {
- EnvDTE.Project selectedProject = HelperFunctions.GetSelectedQtProject(dte);
- if (selectedProject != null)
- {
- QtProject qtProject = QtProject.Create(selectedProject);
- if (qtProject != null)
- qtProject.SetQtEnvironment();
- }
- }
-
- void debugStartWithoutDebuggingEvents_BeforeExecute(string Guid, int ID, object CustomIn, object CustomOut, ref bool CancelDefault)
- {
- EnvDTE.Project selectedProject = HelperFunctions.GetSelectedQtProject(dte);
- if (selectedProject != null)
- {
- QtProject qtProject = QtProject.Create(selectedProject);
- if (qtProject != null)
- qtProject.SetQtEnvironment();
- }
- }
-
- private void OpenFileExternally(string fileName)
- {
- bool abortOperation;
- CheckoutFileIfNeeded(fileName, out abortOperation);
- if (abortOperation)
- return;
-
- string lowerCaseFileName = fileName.ToLower();
- if (lowerCaseFileName.EndsWith(".ui"))
- {
- Vsix.Instance.ExtLoader.loadDesigner(fileName);
-
- // Designer can't cope with many files in a short time.
- System.Threading.Thread.Sleep(1000);
- }
- else if (lowerCaseFileName.EndsWith(".ts"))
- {
- ExtLoader.loadLinguist(fileName);
- }
-#if false
- // QRC files are directly opened, using the QRC editor.
- else if (lowerCaseFileName.EndsWith(".qrc"))
- {
- Connect.extLoader.loadQrcEditor(fileName);
- }
-#endif
- }
-
-#if DEBUG
- private void setDirectory(string dir, string value)
- {
- foreach (EnvDTE.Project project in HelperFunctions.ProjectsInSolution(dte))
- {
- VCProject vcProject = project.Object as VCProject;
- if (vcProject == null || vcProject.Files == null)
- continue;
- QtProject qtProject = QtProject.Create(project);
- if (qtProject == null)
- continue;
-
- if (dir == "MocDir")
- {
- string oldMocDir = QtVSIPSettings.GetMocDirectory(project);
- QtVSIPSettings.SaveMocDirectory(project, value);
- qtProject.UpdateMocSteps(oldMocDir);
- }
- else if (dir == "RccDir")
- {
- string oldRccDir = QtVSIPSettings.GetRccDirectory(project);
- QtVSIPSettings.SaveRccDirectory(project, value);
- qtProject.RefreshRccSteps(oldRccDir);
- }
- else if (dir == "UicDir")
- {
- string oldUicDir = QtVSIPSettings.GetUicDirectory(project);
- QtVSIPSettings.SaveUicDirectory(project, value);
- qtProject.UpdateUicSteps(oldUicDir, true);
- }
- }
- }
-#endif
-
- private void OnQRCFileSaved(string fileName)
- {
- foreach (EnvDTE.Project project in HelperFunctions.ProjectsInSolution(dte))
- {
- VCProject vcProject = project.Object as VCProject;
- if (vcProject == null || vcProject.Files == null)
- continue;
-
- VCFile vcFile = (VCFile)((IVCCollection)vcProject.Files).Item(fileName);
- if (vcFile == null)
- continue;
-
- QtProject qtProject = QtProject.Create(project);
- qtProject.UpdateRccStep(vcFile, null);
- }
- }
-
- private void CheckoutFileIfNeeded(string fileName, out bool abortOperation)
- {
- abortOperation = false;
-
- if (QtVSIPSettings.GetDisableCheckoutFiles())
- return;
-
- SourceControl sourceControl = dte.SourceControl;
- if (sourceControl == null)
- return;
-
- if (!sourceControl.IsItemUnderSCC(fileName))
- return;
-
- if (sourceControl.IsItemCheckedOut(fileName))
- return;
-
- if (QtVSIPSettings.GetAskBeforeCheckoutFile())
- {
- string shortFileName = System.IO.Path.GetFileName(fileName);
- DialogResult dr = MessageBox.Show(
- SR.GetString("QuestionSCCCheckoutOnOpen", shortFileName),
- Resources.msgBoxCaption, MessageBoxButtons.YesNoCancel,
- MessageBoxIcon.Question, MessageBoxDefaultButton.Button1);
- if (dr == DialogResult.Cancel)
- abortOperation = true;
- if (dr != DialogResult.Yes)
- return;
- }
-
- sourceControl.CheckOutItem(fileName);
- }
-
- /// <summary>
- /// Dumb control to send stuff from one thread to another.
- /// </summary>
- private class SimpleThreadMessenger : Control
- {
- private AddInEventHandler addinEventHandler = null;
-
- public SimpleThreadMessenger(AddInEventHandler handler)
- {
- addinEventHandler = handler;
- CreateControl();
- }
-
- public delegate void HandleMessageFromQtAppWrapperDelegate(string message);
-
- /// <summary>
- /// This function handle file names in the Addin's main thread,
- /// that come from the QtAppWrapper.
- /// </summary>
- public void HandleMessageFromQtAppWrapper(string message)
- {
- if (message.ToLower().EndsWith(".qrc"))
- addinEventHandler.OnQRCFileSaved(message);
-#if DEBUG
- else if (message.StartsWith("Autotests:set"))
- {
- // Messageformat from Autotests is Autotests:set<dir>:<value>
- // where dir is MocDir, RccDir or UicDir
-
- //remove Autotests:set
- message = message.Substring(13);
-
- string dir = message.Remove(6);
- string value = message.Substring(7);
-
- addinEventHandler.setDirectory(dir, value);
- }
-#endif
- else
- addinEventHandler.OpenFileExternally(message);
- }
- }
-
- private void ListenForRequests()
- {
- if (appWrapperProcess == null)
- return;
-
- SimpleThreadMessenger.HandleMessageFromQtAppWrapperDelegate handleMessageFromQtAppWrapperDelegate;
- handleMessageFromQtAppWrapperDelegate = new SimpleThreadMessenger.HandleMessageFromQtAppWrapperDelegate(simpleThreadMessenger.HandleMessageFromQtAppWrapper);
-
- bool firstIteration = true;
- while (!terminateEditorThread)
- {
- try
- {
- if (!firstIteration)
- {
- if (appWrapperProcess.HasExited)
- appWrapperProcess.Close();
- }
- else
- {
- firstIteration = false;
- }
- }
- catch
- { }
-
- appWrapperProcess.Start();
-
- client = new TcpClient();
- int connectionAttempts = 0;
- int appwrapperPort = 12015;
- while (!client.Connected && !terminateEditorThread && connectionAttempts < 10)
- {
- try
- {
- client.Connect(IPAddress.Loopback, appwrapperPort);
- if (!client.Connected)
- {
- ++connectionAttempts;
- System.Threading.Thread.Sleep(1000);
- }
- }
- catch
- {
- ++connectionAttempts;
- System.Threading.Thread.Sleep(1000);
- }
- }
-
- if (connectionAttempts >= 10)
- {
- Messages.DisplayErrorMessage(SR.GetString("CouldNotConnectToAppwrapper", appwrapperPort));
- terminateEditorThread = true;
- }
-
- if (terminateEditorThread)
- {
- TerminateClient();
- return;
- }
-
- NetworkStream clientStream = client.GetStream();
-
- // say hello to qtappwrapper
- clientStream.Write(qtAppWrapperHelloMessage, 0, qtAppWrapperHelloMessage.Length);
- clientStream.Flush();
-
- byte[] message = new byte[4096];
- int bytesRead;
-
- while (!terminateEditorThread)
- {
- try
- {
- bytesRead = 0;
-
- try
- {
- //blocks until a client sends a message
- bytesRead = clientStream.Read(message, 0, 4096);
- }
- catch
- {
- // A socket error has occured, probably because
- // the QtAppWrapper has been terminated.
- // Break and then try to restart the QtAppWrapper.
- break;
- }
-
- if (bytesRead == 0)
- {
- //the client has disconnected from the server
- break;
- }
-
- //message has successfully been received
- UnicodeEncoding encoder = new UnicodeEncoding();
- string fullMessageString = encoder.GetString(message, 0, bytesRead);
- string[] messages = fullMessageString.Split(new Char[] { '\n' }, StringSplitOptions.RemoveEmptyEntries);
- foreach (string messageString in messages)
- {
- int index = messageString.IndexOf(' ');
- int requestedPid = Convert.ToInt32(messageString.Substring(0, index));
- int currentPid = System.Diagnostics.Process.GetCurrentProcess().Id;
- if (requestedPid == currentPid)
- {
- // Actual file opening is done in the main thread.
- string file = messageString.Substring(index + 1);
- simpleThreadMessenger.Invoke(handleMessageFromQtAppWrapperDelegate, new object[] { file });
- }
- }
- }
- catch (System.Threading.ThreadAbortException)
- {
- break;
- }
- catch { }
- }
- TerminateClient();
- }
- }
-
- private void TerminateClient()
- {
- try
- {
- if (client != null && client.Connected)
- {
- NetworkStream stream = client.GetStream();
- if (stream != null)
- stream.Close();
- client.Close();
- client = null;
- }
- }
- catch
- { /* ignore */ }
- }
-
- public void Disconnect()
- {
- if (buildEvents != null)
- {
- buildEvents.OnBuildBegin -= new _dispBuildEvents_OnBuildBeginEventHandler(this.buildEvents_OnBuildBegin);
- buildEvents.OnBuildProjConfigBegin -= new _dispBuildEvents_OnBuildProjConfigBeginEventHandler(this.OnBuildProjConfigBegin);
- buildEvents.OnBuildDone -= new _dispBuildEvents_OnBuildDoneEventHandler(this.buildEvents_OnBuildDone);
- }
-
- if (documentEvents != null)
- documentEvents.DocumentSaved -= new _dispDocumentEvents_DocumentSavedEventHandler(this.DocumentSaved);
-
- if (projectItemsEvents != null)
- {
- projectItemsEvents.ItemAdded -= new _dispProjectItemsEvents_ItemAddedEventHandler(this.ProjectItemsEvents_ItemAdded);
- projectItemsEvents.ItemRemoved -= new _dispProjectItemsEvents_ItemRemovedEventHandler(this.ProjectItemsEvents_ItemRemoved);
- projectItemsEvents.ItemRenamed -= new _dispProjectItemsEvents_ItemRenamedEventHandler(this.ProjectItemsEvents_ItemRenamed);
- }
-
- if (solutionEvents != null)
- {
- solutionEvents.ProjectAdded -= new _dispSolutionEvents_ProjectAddedEventHandler(this.SolutionEvents_ProjectAdded);
- solutionEvents.ProjectRemoved -= new _dispSolutionEvents_ProjectRemovedEventHandler(SolutionEvents_ProjectRemoved);
- solutionEvents.Opened -= new _dispSolutionEvents_OpenedEventHandler(SolutionEvents_Opened);
- solutionEvents.AfterClosing -= new _dispSolutionEvents_AfterClosingEventHandler(SolutionEvents_AfterClosing);
- }
-
- if (debugStartEvents != null)
- debugStartEvents.BeforeExecute -= new _dispCommandEvents_BeforeExecuteEventHandler(debugStartEvents_BeforeExecute);
-
- if (debugStartWithoutDebuggingEvents != null)
- debugStartWithoutDebuggingEvents.BeforeExecute -= new _dispCommandEvents_BeforeExecuteEventHandler(debugStartWithoutDebuggingEvents_BeforeExecute);
-
- if (vcProjectEngineEvents != null)
- vcProjectEngineEvents.ItemPropertyChange -= new _dispVCProjectEngineEvents_ItemPropertyChangeEventHandler(OnVCProjectEngineItemPropertyChange);
-
- if (appWrapperThread != null)
- {
- terminateEditorThread = true;
- if (appWrapperThread.IsAlive)
- {
- TerminateClient();
- if (!appWrapperThread.Join(1000))
- appWrapperThread.Abort();
- }
- }
- }
-
- public void OnBuildProjConfigBegin(string projectName, string projectConfig, string platform, string solutionConfig)
- {
- if (currentBuildAction != vsBuildAction.vsBuildActionBuild &&
- currentBuildAction != vsBuildAction.vsBuildActionRebuildAll)
- {
- return; // Don't do anything, if we're not building.
- }
-
- EnvDTE.Project project = null;
- foreach (EnvDTE.Project p in HelperFunctions.ProjectsInSolution(dte))
- {
- if (p.UniqueName == projectName)
- {
- project = p;
- break;
- }
- }
- if (project == null || !HelperFunctions.IsQtProject(project))
- return;
-
- QtProject qtpro = QtProject.Create(project);
- QtVersionManager versionManager = QtVersionManager.The();
- string qtVersion = versionManager.GetProjectQtVersion(project, platform);
- if (qtVersion == null)
- {
- Messages.DisplayCriticalErrorMessage(SR.GetString("ProjectQtVersionNotFoundError", platform));
- dte.ExecuteCommand("Build.Cancel", "");
- return;
- }
-
- if (!QtVSIPSettings.GetDisableAutoMocStepsUpdate())
- {
- if (qtpro.ConfigurationRowNamesChanged)
- {
- qtpro.UpdateMocSteps(QtVSIPSettings.GetMocDirectory(project));
- }
- }
-
- // Solution config is given to function to get QTDIR property
- // set correctly also during batch build
- qtpro.SetQtEnvironment(qtVersion, solutionConfig);
- if (QtVSIPSettings.GetLUpdateOnBuild(project))
- Translation.RunlUpdate(project);
- }
-
- void buildEvents_OnBuildBegin(vsBuildScope Scope, vsBuildAction Action)
- {
- currentBuildAction = Action;
- }
-
- public void buildEvents_OnBuildDone(vsBuildScope Scope, vsBuildAction Action)
- {
- }
-
- public void DocumentSaved(EnvDTE.Document document)
- {
- QtProject qtPro = QtProject.Create(document.ProjectItem.ContainingProject);
-
- if (!HelperFunctions.IsQtProject(qtPro.VCProject))
- return;
-
- VCFile file = (VCFile)((IVCCollection)qtPro.VCProject.Files).Item(document.FullName);
-
- if (file.Extension == ".ui")
- {
- if (QtVSIPSettings.AutoUpdateUicSteps() && !QtProject.HasUicStep(file))
- qtPro.AddUic4BuildStep(file);
- return;
- }
-
- if (!HelperFunctions.HasSourceFileExtension(file.Name) && !HelperFunctions.HasHeaderFileExtension(file.Name))
- return;
-
- if (HelperFunctions.HasQObjectDeclaration(file))
- {
- if (!qtPro.HasMocStep(file))
- qtPro.AddMocStep(file);
- }
- else
- {
- qtPro.RemoveMocStep(file);
- }
-
- if (HelperFunctions.HasSourceFileExtension(file.Name))
- {
- string moccedFileName = "moc_" + file.Name;
-
- if (qtPro.IsMoccedFileIncluded(file))
- {
- // exclude moc_foo.cpp from build
- // Code copied here from 'GetFilesFromProject'
- // For some reason error CS1771 was generated from function call
- List<VCFile> tmpList = new System.Collections.Generic.List<VCFile>();
- moccedFileName = HelperFunctions.NormalizeRelativeFilePath(moccedFileName);
-
- FileInfo fi = new FileInfo(moccedFileName);
- foreach (VCFile f in (IVCCollection)qtPro.VCProject.Files)
- {
- if (f.Name.ToLower() == fi.Name.ToLower())
- tmpList.Add(f);
- }
- foreach (VCFile moccedFile in tmpList)
- QtProject.ExcludeFromAllBuilds(moccedFile);
- }
- else
- {
- // make sure that moc_foo.cpp isn't excluded from build
- // Code copied here from 'GetFilesFromProject'
- // For some reason error CS1771 was generated from function call
- List<VCFile> moccedFiles = new System.Collections.Generic.List<VCFile>();
- moccedFileName = HelperFunctions.NormalizeRelativeFilePath(moccedFileName);
-
- FileInfo fi = new FileInfo(moccedFileName);
- foreach (VCFile f in (IVCCollection)qtPro.VCProject.Files)
- {
- if (f.Name.ToLower() == fi.Name.ToLower())
- moccedFiles.Add(f);
- }
- if (moccedFiles.Count > 0)
- {
- bool hasDifferentMocFilesPerConfig = QtVSIPSettings.HasDifferentMocFilePerConfig(qtPro.Project);
- bool hasDifferentMocFilesPerPlatform = QtVSIPSettings.HasDifferentMocFilePerPlatform(qtPro.Project);
- VCFilter generatedFiles = qtPro.FindFilterFromGuid(Filters.GeneratedFiles().UniqueIdentifier);
- foreach (VCFile fileInFilter in (IVCCollection)generatedFiles.Files)
- {
- if (fileInFilter.Name == moccedFileName)
- {
- foreach (VCFileConfiguration config in (IVCCollection)fileInFilter.FileConfigurations)
- {
- bool exclude = true;
- VCConfiguration vcConfig = config.ProjectConfiguration as VCConfiguration;
- if (hasDifferentMocFilesPerConfig && hasDifferentMocFilesPerPlatform)
- {
- VCPlatform platform = vcConfig.Platform as VCPlatform;
- if (fileInFilter.RelativePath.ToLower().Contains(vcConfig.ConfigurationName.ToLower())
- && fileInFilter.RelativePath.ToLower().Contains(platform.Name.ToLower()))
- exclude = false;
- }
- else if (hasDifferentMocFilesPerConfig)
- {
- if (fileInFilter.RelativePath.ToLower().Contains(vcConfig.ConfigurationName.ToLower()))
- exclude = false;
- }
- else if (hasDifferentMocFilesPerPlatform)
- {
- VCPlatform platform = vcConfig.Platform as VCPlatform;
- string platformName = platform.Name;
- if (fileInFilter.RelativePath.ToLower().Contains(platformName.ToLower()))
- exclude = false;
- }
- else
- {
- exclude = false;
- }
- if (config.ExcludedFromBuild != exclude)
- config.ExcludedFromBuild = exclude;
- }
- }
- }
- foreach (VCFilter filt in (IVCCollection)generatedFiles.Filters)
- {
- foreach (VCFile f in (IVCCollection)filt.Files)
- {
- if (f.Name == moccedFileName)
- {
- foreach (VCFileConfiguration config in (IVCCollection)f.FileConfigurations)
- {
- VCConfiguration vcConfig = config.ProjectConfiguration as VCConfiguration;
- string filterToLookFor = "";
- if (hasDifferentMocFilesPerConfig)
- filterToLookFor = vcConfig.ConfigurationName;
- if (hasDifferentMocFilesPerPlatform)
- {
- VCPlatform platform = vcConfig.Platform as VCPlatform;
- if (!string.IsNullOrEmpty(filterToLookFor))
- filterToLookFor += '_';
- filterToLookFor += platform.Name;
- }
- if (filt.Name == filterToLookFor)
- {
- if (config.ExcludedFromBuild)
- config.ExcludedFromBuild = false;
- }
- else
- {
- if (!config.ExcludedFromBuild)
- config.ExcludedFromBuild = true;
- }
- }
- }
- }
- }
- }
- }
- }
- }
-
- public void ProjectItemsEvents_ItemAdded(ProjectItem projectItem)
- {
- Project project = HelperFunctions.GetSelectedQtProject(Vsix.Instance.Dte);
- QtProject qtPro = QtProject.Create(project);
- if (!HelperFunctions.IsQtProject(project))
- return;
- VCFilter filter = null;
- VCFile vcFile = GetVCFileFromProject(projectItem.Name, qtPro.VCProject);
- if (vcFile == null)
- return;
-
- try
- {
- // Try to find the filter, the file is located in
- // If the file is not inside any filter, move it to
- // the according one, used by the Add-in
- filter = (VCFilter)vcFile.Parent;
- }
- catch { }
-
- try
- {
- FakeFilter ui = Filters.FormFiles();
- FakeFilter qrc = Filters.ResourceFiles();
- FakeFilter ts = Filters.TranslationFiles();
- FakeFilter h = Filters.HeaderFiles();
- FakeFilter src = Filters.SourceFiles();
-
- VCFilter uiFilter = qtPro.FindFilterFromGuid(ui.UniqueIdentifier);
- VCFilter tsFilter = qtPro.FindFilterFromGuid(ts.UniqueIdentifier);
- VCFilter qrcFilter = qtPro.FindFilterFromGuid(qrc.UniqueIdentifier);
- VCFilter hFilter = qtPro.FindFilterFromGuid(h.UniqueIdentifier);
- VCFilter srcFilter = qtPro.FindFilterFromGuid(src.UniqueIdentifier);
-
- if (HelperFunctions.HasSourceFileExtension(vcFile.Name))
- {
- if (vcFile.Name.ToLower().StartsWith("moc_"))
- return;
- else if (vcFile.Name.ToLower().StartsWith("qrc_"))
- {
- // Do not use precompiled headers with these files
- QtProject.SetPCHOption(vcFile, pchOption.pchNone);
- return;
- }
- string pcHeaderThrough = qtPro.GetPrecompiledHeaderThrough();
- if (pcHeaderThrough != null)
- {
- string pcHeaderCreator = pcHeaderThrough.Remove(pcHeaderThrough.LastIndexOf('.')) + ".cpp";
- if (vcFile.Name.ToLower().EndsWith(pcHeaderCreator.ToLower())
- && HelperFunctions.CxxFileContainsNotCommented(vcFile, "#include \"" + pcHeaderThrough + "\"", false, false))
- {
- //File is used to create precompiled headers
- QtProject.SetPCHOption(vcFile, pchOption.pchCreateUsingSpecific);
- return;
- }
- }
- if (filter == null && !HelperFunctions.IsInFilter(vcFile, src))
- {
- if (null == srcFilter && qtPro.VCProject.CanAddFilter(src.Name))
- {
- srcFilter = (VCFilter)qtPro.VCProject.AddFilter(src.Name);
- srcFilter.Filter = src.Filter;
- srcFilter.ParseFiles = src.ParseFiles;
- srcFilter.UniqueIdentifier = src.UniqueIdentifier;
- }
- qtPro.RemoveItem(projectItem);
- qtPro.AddFileToProject(vcFile.FullPath, src);
- }
- if (HelperFunctions.HasQObjectDeclaration(vcFile))
- {
- HelperFunctions.EnsureCustomBuildToolAvailable(projectItem);
- qtPro.AddMocStep(vcFile);
- }
- }
- else if (HelperFunctions.HasHeaderFileExtension(vcFile.Name))
- {
- if (vcFile.Name.ToLower().StartsWith("ui_"))
- return;
- if (filter == null && !HelperFunctions.IsInFilter(vcFile, h))
- {
- if (null == hFilter && qtPro.VCProject.CanAddFilter(h.Name))
- {
- hFilter = (VCFilter)qtPro.VCProject.AddFilter(h.Name);
- hFilter.Filter = h.Filter;
- hFilter.ParseFiles = h.ParseFiles;
- hFilter.UniqueIdentifier = h.UniqueIdentifier;
- }
- qtPro.RemoveItem(projectItem);
- qtPro.AddFileToProject(vcFile.FullPath, h);
- }
- if (HelperFunctions.HasQObjectDeclaration(vcFile))
- {
- HelperFunctions.EnsureCustomBuildToolAvailable(projectItem);
- qtPro.AddMocStep(vcFile);
- }
- }
- else if (vcFile.Name.EndsWith(".ui"))
- {
- if (filter == null && !HelperFunctions.IsInFilter(vcFile, ui))
- {
- if (null == uiFilter && qtPro.VCProject.CanAddFilter(ui.Name))
- {
- uiFilter = (VCFilter)qtPro.VCProject.AddFilter(ui.Name);
- uiFilter.Filter = ui.Filter;
- uiFilter.ParseFiles = ui.ParseFiles;
- uiFilter.UniqueIdentifier = ui.UniqueIdentifier;
- }
- qtPro.RemoveItem(projectItem);
- qtPro.AddFileToProject(vcFile.FullPath, ui);
- }
- HelperFunctions.EnsureCustomBuildToolAvailable(projectItem);
- qtPro.AddUic4BuildStep(vcFile);
- }
- else if (vcFile.Name.EndsWith(".qrc"))
- {
- if (filter == null && !HelperFunctions.IsInFilter(vcFile, qrc))
- {
- if (null == qrcFilter && qtPro.VCProject.CanAddFilter(qrc.Name))
- {
- qrcFilter = (VCFilter)qtPro.VCProject.AddFilter(qrc.Name);
- qrcFilter.Filter = qrc.Filter;
- qrcFilter.ParseFiles = qrc.ParseFiles;
- qrcFilter.UniqueIdentifier = qrc.UniqueIdentifier;
- }
- qtPro.RemoveItem(projectItem);
- qtPro.AddFileToProject(vcFile.FullPath, qrc);
- }
- HelperFunctions.EnsureCustomBuildToolAvailable(projectItem);
- qtPro.UpdateRccStep(vcFile, null);
- }
- else if (HelperFunctions.IsTranslationFile(vcFile))
- {
- if (filter == null && !HelperFunctions.IsInFilter(vcFile, ts))
- {
- if (null == tsFilter && qtPro.VCProject.CanAddFilter(ts.Name))
- {
- tsFilter = (VCFilter)qtPro.VCProject.AddFilter(ts.Name);
- tsFilter.Filter = ts.Filter;
- tsFilter.ParseFiles = ts.ParseFiles;
- tsFilter.UniqueIdentifier = ts.UniqueIdentifier;
- }
- qtPro.RemoveItem(projectItem);
- qtPro.AddFileToProject(vcFile.FullPath, ts);
- }
- }
- }
- catch { }
-
- return;
- }
-
- void ProjectItemsEvents_ItemRemoved(ProjectItem ProjectItem)
- {
- Project pro = HelperFunctions.GetSelectedQtProject(Vsix.Instance.Dte);
- if (pro == null)
- return;
-
- QtProject qtPro = QtProject.Create(pro);
- qtPro.RemoveGeneratedFiles(ProjectItem.Name);
- }
-
- void ProjectItemsEvents_ItemRenamed(ProjectItem ProjectItem, string OldName)
- {
- if (OldName == null)
- return;
- Project pro = HelperFunctions.GetSelectedQtProject(Vsix.Instance.Dte);
- if (pro == null)
- return;
-
- QtProject qtPro = QtProject.Create(pro);
- qtPro.RemoveGeneratedFiles(OldName);
- ProjectItemsEvents_ItemAdded(ProjectItem);
- }
-
- void SolutionEvents_ProjectAdded(Project project)
- {
- if (HelperFunctions.IsQMakeProject(project))
- {
- RegisterVCProjectEngineEvents(project);
- VCProject vcpro = project.Object as VCProject;
- VCFilter filter = null;
- foreach (VCFilter f in vcpro.Filters as IVCCollection)
- if (f.Name == Filters.HeaderFiles().Name)
- {
- filter = f;
- break;
- }
- if (filter != null)
- {
- foreach (VCFile file in filter.Files as IVCCollection)
- {
- foreach (VCFileConfiguration config in file.FileConfigurations as IVCCollection)
- {
- VCCustomBuildTool tool = HelperFunctions.GetCustomBuildTool(config);
- if (tool != null && tool.CommandLine != null && tool.CommandLine.Contains("moc.exe"))
- {
- Regex reg = new Regex("[^ ^\n]+moc\\.exe");
- MatchCollection matches = reg.Matches(tool.CommandLine);
- string qtDir = null;
- if (matches.Count != 1)
- {
- QtVersionManager vm = QtVersionManager.The();
- qtDir = vm.GetInstallPath(vm.GetDefaultVersion());
- }
- else
- {
- qtDir = matches[0].ToString();
- qtDir = qtDir.Remove(qtDir.LastIndexOf("\\"));
- qtDir = qtDir.Remove(qtDir.LastIndexOf("\\"));
- }
- qtDir = qtDir.Replace("_(QTDIR)", "$(QTDIR)");
- HelperFunctions.SetDebuggingEnvironment(project, "PATH=" + qtDir + "\\bin;$(PATH)", false);
- }
- }
- }
- }
- }
- }
-
- void SolutionEvents_ProjectRemoved(Project project)
- {
- }
-
- void SolutionEvents_Opened()
- {
- foreach (Project p in HelperFunctions.ProjectsInSolution(Vsix.Instance.Dte))
- {
- if (HelperFunctions.IsQtProject(p))
- {
- RegisterVCProjectEngineEvents(p);
- }
- }
- }
-
- void SolutionEvents_AfterClosing()
- {
- QtProject.ClearInstances();
- }
-
- /// <summary>
- /// Tries to get a VCProjectEngine from the loaded projects and registers the handlers for VCProjectEngineEvents.
- /// </summary>
- void RegisterVCProjectEngineEvents()
- {
- foreach (EnvDTE.Project project in HelperFunctions.ProjectsInSolution(dte))
- if (project != null && HelperFunctions.IsQtProject(project))
- RegisterVCProjectEngineEvents(project);
- }
-
- /// <summary>
- /// Retrieves the VCProjectEngine from the given project and registers the handlers for VCProjectEngineEvents.
- /// </summary>
- void RegisterVCProjectEngineEvents(Project p)
- {
- if (vcProjectEngineEvents != null)
- return;
-
- VCProject vcPrj = p.Object as VCProject;
- VCProjectEngine prjEngine = vcPrj.VCProjectEngine as VCProjectEngine;
- if (prjEngine != null)
- {
- vcProjectEngineEvents = prjEngine.Events as VCProjectEngineEvents;
- if (vcProjectEngineEvents != null)
- {
- try
- {
- vcProjectEngineEvents.ItemPropertyChange += new _dispVCProjectEngineEvents_ItemPropertyChangeEventHandler(OnVCProjectEngineItemPropertyChange);
- }
- catch
- {
- Messages.DisplayErrorMessage("VCProjectEngine events could not be registered.");
- }
- }
- }
- }
-
- private void OnVCProjectEngineItemPropertyChange(object item, object tool, int dispid)
- {
- //System.Diagnostics.Debug.WriteLine("OnVCProjectEngineItemPropertyChange " + dispid.ToString());
- VCFileConfiguration vcFileCfg = item as VCFileConfiguration;
- if (vcFileCfg == null)
- {
- // A global or project specific property has changed.
-
- VCConfiguration vcCfg = item as VCConfiguration;
- if (vcCfg == null)
- return;
- VCProject vcPrj = vcCfg.project as VCProject;
- if (vcPrj == null)
- return;
- if (!HelperFunctions.IsQtProject(vcPrj))
- return;
-
- if (dispid == dispId_VCCLCompilerTool_UsePrecompiledHeader
- || dispid == dispId_VCCLCompilerTool_PrecompiledHeaderThrough
- || dispid == dispId_VCCLCompilerTool_AdditionalIncludeDirectories
- || dispid == dispId_VCCLCompilerTool_PreprocessorDefinitions)
- {
- QtProject qtPrj = QtProject.Create(vcPrj);
- qtPrj.RefreshMocSteps();
- }
- }
- else
- {
- // A file specific property has changed.
-
- VCFile vcFile = vcFileCfg.File as VCFile;
- if (vcFile == null)
- return;
- VCProject vcPrj = vcFile.project as VCProject;
- if (vcPrj == null)
- return;
- if (!HelperFunctions.IsQtProject(vcPrj))
- return;
-
- if (dispid == dispId_VCFileConfiguration_ExcludedFromBuild)
- {
- QtProject qtPrj = QtProject.Create(vcPrj);
- qtPrj.OnExcludedFromBuildChanged(vcFile, vcFileCfg);
- }
- else if (dispid == dispId_VCCLCompilerTool_UsePrecompiledHeader
- || dispid == dispId_VCCLCompilerTool_PrecompiledHeaderThrough
- || dispid == dispId_VCCLCompilerTool_AdditionalIncludeDirectories
- || dispid == dispId_VCCLCompilerTool_PreprocessorDefinitions)
- {
- QtProject qtPrj = QtProject.Create(vcPrj);
- qtPrj.RefreshMocStep(vcFile);
- }
- }
- }
-
- private static VCFile GetVCFileFromProject(string absFileName, VCProject project)
- {
- foreach (VCFile f in (IVCCollection)project.Files)
- {
- if (f.Name.ToLower() == absFileName.ToLower())
- return f;
- }
- return null;
- }
-
- /// <summary>
- /// Returns the COM DISPID of the given property.
- /// </summary>
- private static int GetPropertyDispId(Type type, string propertyName)
- {
- System.Reflection.PropertyInfo pi = type.GetProperty(propertyName);
- if (pi != null)
- {
- foreach (Attribute attribute in pi.GetCustomAttributes(true))
- {
- DispIdAttribute dispIdAttribute = attribute as DispIdAttribute;
- if (dispIdAttribute != null)
- {
- return dispIdAttribute.Value;
- }
- }
- }
- return 0;
- }
-
- }
-}
diff --git a/Qt4VS2003/Qt4VSAddin/AddQtVersionDialog.cs b/Qt4VS2003/Qt4VSAddin/AddQtVersionDialog.cs
deleted file mode 100644
index 1a028005..00000000
--- a/Qt4VS2003/Qt4VSAddin/AddQtVersionDialog.cs
+++ /dev/null
@@ -1,379 +0,0 @@
-/****************************************************************************
-**
-** Copyright (C) 2016 The Qt Company Ltd.
-** Contact: https://www.qt.io/licensing/
-**
-** This file is part of the Qt VS Add-in.
-**
-** $QT_BEGIN_LICENSE:GPL-EXCEPT$
-** Commercial License Usage
-** Licensees holding valid commercial Qt licenses may use this file in
-** accordance with the commercial license agreement provided with the
-** Software or, alternatively, in accordance with the terms contained in
-** a written agreement between you and The Qt Company. For licensing terms
-** and conditions see https://www.qt.io/terms-conditions. For further
-** information use the contact form at https://www.qt.io/contact-us.
-**
-** GNU General Public License Usage
-** Alternatively, this file may be used under the terms of the GNU
-** General Public License version 3 as published by the Free Software
-** Foundation with exceptions as appearing in the file LICENSE.GPL3-EXCEPT
-** included in the packaging of this file. Please review the following
-** information to ensure the GNU General Public License requirements will
-** be met: https://www.gnu.org/licenses/gpl-3.0.html.
-**
-** $QT_END_LICENSE$
-**
-****************************************************************************/
-
-using System;
-using System.Windows.Forms;
-using System.IO;
-using Microsoft.Win32;
-
-using Digia.Qt5ProjectLib;
-namespace Qt5VSAddin
-{
- public class AddQtVersionDialog : System.Windows.Forms.Form
- {
- private System.Windows.Forms.Label label1;
- private System.Windows.Forms.Label label2;
- private System.Windows.Forms.Button okButton;
- private System.Windows.Forms.Button cancelButton;
- private System.Windows.Forms.TextBox nameBox;
- private System.Windows.Forms.TextBox pathBox;
- private System.Windows.Forms.Button browseButton;
- private bool nameBoxDirty = false;
- private Timer errorTimer;
- private Label errorLabel;
- private string lastErrorString = "";
-
- private System.ComponentModel.Container components = null;
-
- public AddQtVersionDialog()
- {
- InitializeComponent();
-
- this.nameBox.TabIndex = 0;
- this.pathBox.TabIndex = 1;
- this.browseButton.TabIndex = 2;
-
- this.label1.Text = SR.GetString("AddQtVersionDialog_VersionName");
- this.label2.Text = SR.GetString("AddQtVersionDialog_Path");
- this.okButton.Text = SR.GetString(SR.OK);
- this.cancelButton.Text = SR.GetString(SR.Cancel);
- this.Text = SR.GetString("AddQtVersionDialog_Title");
-
- this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;
-
- this.errorTimer = new Timer();
- this.errorTimer.Tick += new EventHandler(errorTimer_Tick);
- this.errorTimer.Interval = 3000;
-
- this.KeyPress += new KeyPressEventHandler(this.AddQtVersionDialog_KeyPress);
- }
-
- void errorTimer_Tick(object sender, EventArgs e)
- {
- errorLabel.Text = lastErrorString;
- }
-
- void AddQtVersionDialog_KeyPress(object sender, KeyPressEventArgs e)
- {
- if (e.KeyChar == 27)
- {
- DialogResult = DialogResult.Cancel;
- Close();
- }
- }
-
- protected override void Dispose(bool disposing)
- {
- if (disposing)
- {
- if (components != null)
- {
- components.Dispose();
- }
- }
- base.Dispose(disposing);
- }
-
- #region Windows Form Designer generated code
- /// <summary>
- /// Required method for Designer support - do not modify
- /// the contents of this method with the code editor.
- /// </summary>
- private void InitializeComponent()
- {
- this.label1 = new System.Windows.Forms.Label();
- this.label2 = new System.Windows.Forms.Label();
- this.okButton = new System.Windows.Forms.Button();
- this.cancelButton = new System.Windows.Forms.Button();
- this.nameBox = new System.Windows.Forms.TextBox();
- this.pathBox = new System.Windows.Forms.TextBox();
- this.browseButton = new System.Windows.Forms.Button();
- this.errorLabel = new System.Windows.Forms.Label();
- this.SuspendLayout();
- //
- // label1
- //
- this.label1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
- | System.Windows.Forms.AnchorStyles.Right)));
- this.label1.Location = new System.Drawing.Point(8, 16);
- this.label1.Name = "label1";
- this.label1.Size = new System.Drawing.Size(88, 24);
- this.label1.TabIndex = 0;
- this.label1.Text = "Version name:";
- //
- // label2
- //
- this.label2.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
- | System.Windows.Forms.AnchorStyles.Right)));
- this.label2.Location = new System.Drawing.Point(8, 48);
- this.label2.Name = "label2";
- this.label2.Size = new System.Drawing.Size(88, 23);
- this.label2.TabIndex = 1;
- this.label2.Text = "Path:";
- //
- // okButton
- //
- this.okButton.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
- this.okButton.Enabled = false;
- this.okButton.Location = new System.Drawing.Point(144, 104);
- this.okButton.Name = "okButton";
- this.okButton.Size = new System.Drawing.Size(75, 23);
- this.okButton.TabIndex = 2;
- this.okButton.Text = "&OK";
- this.okButton.Click += new System.EventHandler(this.okButton_Click);
- //
- // cancelButton
- //
- this.cancelButton.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
- this.cancelButton.DialogResult = System.Windows.Forms.DialogResult.Cancel;
- this.cancelButton.Location = new System.Drawing.Point(224, 104);
- this.cancelButton.Name = "cancelButton";
- this.cancelButton.Size = new System.Drawing.Size(75, 23);
- this.cancelButton.TabIndex = 3;
- this.cancelButton.Text = "&Cancel";
- //
- // nameBox
- //
- this.nameBox.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
- this.nameBox.Location = new System.Drawing.Point(96, 16);
- this.nameBox.Name = "nameBox";
- this.nameBox.Size = new System.Drawing.Size(200, 20);
- this.nameBox.TabIndex = 4;
- this.nameBox.TextChanged += new System.EventHandler(this.DataChanged);
- //
- // pathBox
- //
- this.pathBox.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
- this.pathBox.Location = new System.Drawing.Point(96, 48);
- this.pathBox.Name = "pathBox";
- this.pathBox.Size = new System.Drawing.Size(176, 20);
- this.pathBox.TabIndex = 5;
- this.pathBox.TextChanged += new System.EventHandler(this.DataChanged);
- //
- // browseButton
- //
- this.browseButton.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
- this.browseButton.Location = new System.Drawing.Point(272, 48);
- this.browseButton.Name = "browseButton";
- this.browseButton.Size = new System.Drawing.Size(24, 20);
- this.browseButton.TabIndex = 6;
- this.browseButton.Text = "...";
- this.browseButton.Click += new System.EventHandler(this.browseButton_Click);
- //
- // errorLabel
- //
- this.errorLabel.AutoSize = true;
- this.errorLabel.ForeColor = System.Drawing.Color.Red;
- this.errorLabel.Location = new System.Drawing.Point(8, 71);
- this.errorLabel.Name = "errorLabel";
- this.errorLabel.Size = new System.Drawing.Size(0, 13);
- this.errorLabel.TabIndex = 7;
- //
- // AddQtVersionDialog
- //
- this.AcceptButton = this.okButton;
- this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
- this.CancelButton = this.cancelButton;
- this.ClientSize = new System.Drawing.Size(304, 134);
- this.Controls.Add(this.errorLabel);
- this.Controls.Add(this.browseButton);
- this.Controls.Add(this.pathBox);
- this.Controls.Add(this.nameBox);
- this.Controls.Add(this.cancelButton);
- this.Controls.Add(this.okButton);
- this.Controls.Add(this.label2);
- this.Controls.Add(this.label1);
- this.KeyPreview = true;
- this.Name = "AddQtVersionDialog";
- this.SizeGripStyle = System.Windows.Forms.SizeGripStyle.Hide;
- this.Text = "Add New Qt Version";
- this.ResumeLayout(false);
- this.PerformLayout();
-
- }
- #endregion
-
- private void okButton_Click(object sender, EventArgs e)
- {
- QtVersionManager vm = QtVersionManager.The();
- VersionInformation versionInfo = null;
- try
- {
- versionInfo = new VersionInformation(pathBox.Text);
- }
- catch (Exception exception)
- {
- if (nameBox.Text == "$(QTDIR)")
- {
- string defaultVersion = vm.GetDefaultVersion();
- versionInfo = vm.GetVersionInfo(defaultVersion);
- }
- else
- {
- Messages.DisplayErrorMessage(exception.Message);
- return;
- }
- }
-
- string makefileGenerator = versionInfo.GetQMakeConfEntry("MAKEFILE_GENERATOR");
- if (makefileGenerator != "MSVC.NET" && makefileGenerator != "MSBUILD")
- {
- MessageBox.Show(SR.GetString("AddQtVersionDialog_IncorrectMakefileGenerator", makefileGenerator),
- null, MessageBoxButtons.OK,
- MessageBoxIcon.Error, MessageBoxDefaultButton.Button1);
- return;
- }
- vm.SaveVersion(nameBox.Text, pathBox.Text);
- DialogResult = DialogResult.OK;
- Close();
- }
-
- private void DataChanged(object sender, EventArgs e)
- {
- errorLabel.Text = "";
- errorTimer.Stop();
- errorTimer.Start();
- string name = nameBox.Text.Trim();
- string path = pathBox.Text;
-
- if (sender == nameBox)
- nameBoxDirty = true;
-
- if (!nameBoxDirty)
- {
- string str;
- if (path.EndsWith("\\"))
- str = path.Substring(0, path.Length - 1);
- else
- str = path;
-
- int pos = str.LastIndexOf('\\');
- name = str.Substring(pos + 1);
- nameBox.TextChanged -= new System.EventHandler(this.DataChanged);
- nameBox.Text = name;
- nameBox.TextChanged += new System.EventHandler(this.DataChanged);
- }
-
- pathBox.Enabled = name != "$(QTDIR)";
- browseButton.Enabled = pathBox.Enabled;
-
- if (name.Length < 1 || (name != "$(QTDIR)" && path.Length < 1))
- {
- okButton.Enabled = false;
- return;
- }
-
- if (name != "$(QTDIR)")
- {
- try
- {
- System.IO.DirectoryInfo di = new System.IO.DirectoryInfo(pathBox.Text);
- if (!di.Exists)
- {
- lastErrorString = "";
- okButton.Enabled = false;
- return;
- }
- }
- catch
- {
- lastErrorString = SR.GetString("AddQtVersionDialog_InvalidDirectory");
- okButton.Enabled = false;
- return;
- }
-
- FileInfo fi = new FileInfo(pathBox.Text + "\\lib\\libqtmain.a");
- if (!fi.Exists)
- fi = new FileInfo(pathBox.Text + "\\lib\\libqtmaind.a");
- if (fi.Exists)
- {
- lastErrorString = SR.GetString("AddQtVersionDialog_MingwQt");
- okButton.Enabled = false;
- return;
- }
-
- fi = new FileInfo(pathBox.Text + "\\bin\\qmake.exe");
- if (!fi.Exists)
- {
- lastErrorString = SR.GetString("AddQtVersionDialog_NotFound", fi.FullName);
- okButton.Enabled = false;
- return;
- }
- }
-
- bool found = false;
- foreach (string s in QtVersionManager.The().GetVersions())
- {
- if (nameBox.Text == s)
- {
- lastErrorString = SR.GetString("AddQtVersionDialog_VersionAlreadyPresent");
- found = true;
- break;
- }
- }
- okButton.Enabled = !found;
- if (!found)
- lastErrorString = "";
- }
-
- private void browseButton_Click(object sender, EventArgs e)
- {
- System.Windows.Forms.FolderBrowserDialog fd = new FolderBrowserDialog();
- fd.Description = SR.GetString("SelectQtPath");
- fd.SelectedPath = RestoreLastSelectedPath();
- if (fd.ShowDialog() == DialogResult.OK)
- {
- pathBox.Text = fd.SelectedPath;
- SaveLastSelectedPath(fd.SelectedPath);
- }
- fd.Dispose();
- }
-
- private static string RestoreLastSelectedPath()
- {
- try
- {
- RegistryKey key = Registry.CurrentUser.OpenSubKey("SOFTWARE\\" + Resources.registryPackagePath, false);
- if (key != null)
- return (string)key.GetValue("QtVersionLastSelectedPath");
- }
- catch
- {
- }
-
- return "";
- }
-
- private static void SaveLastSelectedPath(string path)
- {
- RegistryKey key = Registry.CurrentUser.CreateSubKey("SOFTWARE\\" + Resources.registryPackagePath);
- if (key != null)
- key.SetValue("QtVersionLastSelectedPath", path);
- }
- }
-}
diff --git a/Qt4VS2003/Qt4VSAddin/AddQtVersionDialog.resx b/Qt4VS2003/Qt4VSAddin/AddQtVersionDialog.resx
deleted file mode 100644
index 19dc0dd8..00000000
--- a/Qt4VS2003/Qt4VSAddin/AddQtVersionDialog.resx
+++ /dev/null
@@ -1,120 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<root>
- <!--
- Microsoft ResX Schema
-
- Version 2.0
-
- The primary goals of this format is to allow a simple XML format
- that is mostly human readable. The generation and parsing of the
- various data types are done through the TypeConverter classes
- associated with the data types.
-
- Example:
-
- ... ado.net/XML headers & schema ...
- <resheader name="resmimetype">text/microsoft-resx</resheader>
- <resheader name="version">2.0</resheader>
- <resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
- <resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
- <data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
- <data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
- <data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
- <value>[base64 mime encoded serialized .NET Framework object]</value>
- </data>
- <data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
- <value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
- <comment>This is a comment</comment>
- </data>
-
- There are any number of "resheader" rows that contain simple
- name/value pairs.
-
- Each data row contains a name, and value. The row also contains a
- type or mimetype. Type corresponds to a .NET class that support
- text/value conversion through the TypeConverter architecture.
- Classes that don't support this are serialized and stored with the
- mimetype set.
-
- The mimetype is used for serialized objects, and tells the
- ResXResourceReader how to depersist the object. This is currently not
- extensible. For a given mimetype the value must be set accordingly:
-
- Note - application/x-microsoft.net.object.binary.base64 is the format
- that the ResXResourceWriter will generate, however the reader can
- read any of the formats listed below.
-
- mimetype: application/x-microsoft.net.object.binary.base64
- value : The object must be serialized with
- : System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
- : and then encoded with base64 encoding.
-
- mimetype: application/x-microsoft.net.object.soap.base64
- value : The object must be serialized with
- : System.Runtime.Serialization.Formatters.Soap.SoapFormatter
- : and then encoded with base64 encoding.
-
- mimetype: application/x-microsoft.net.object.bytearray.base64
- value : The object must be serialized into a byte array
- : using a System.ComponentModel.TypeConverter
- : and then encoded with base64 encoding.
- -->
- <xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
- <xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
- <xsd:element name="root" msdata:IsDataSet="true">
- <xsd:complexType>
- <xsd:choice maxOccurs="unbounded">
- <xsd:element name="metadata">
- <xsd:complexType>
- <xsd:sequence>
- <xsd:element name="value" type="xsd:string" minOccurs="0" />
- </xsd:sequence>
- <xsd:attribute name="name" use="required" type="xsd:string" />
- <xsd:attribute name="type" type="xsd:string" />
- <xsd:attribute name="mimetype" type="xsd:string" />
- <xsd:attribute ref="xml:space" />
- </xsd:complexType>
- </xsd:element>
- <xsd:element name="assembly">
- <xsd:complexType>
- <xsd:attribute name="alias" type="xsd:string" />
- <xsd:attribute name="name" type="xsd:string" />
- </xsd:complexType>
- </xsd:element>
- <xsd:element name="data">
- <xsd:complexType>
- <xsd:sequence>
- <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
- <xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
- </xsd:sequence>
- <xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
- <xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
- <xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
- <xsd:attribute ref="xml:space" />
- </xsd:complexType>
- </xsd:element>
- <xsd:element name="resheader">
- <xsd:complexType>
- <xsd:sequence>
- <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
- </xsd:sequence>
- <xsd:attribute name="name" type="xsd:string" use="required" />
- </xsd:complexType>
- </xsd:element>
- </xsd:choice>
- </xsd:complexType>
- </xsd:element>
- </xsd:schema>
- <resheader name="resmimetype">
- <value>text/microsoft-resx</value>
- </resheader>
- <resheader name="version">
- <value>2.0</value>
- </resheader>
- <resheader name="reader">
- <value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
- </resheader>
- <resheader name="writer">
- <value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
- </resheader>
-</root> \ No newline at end of file
diff --git a/Qt4VS2003/Qt4VSAddin/AddTranslationDialog.cs b/Qt4VS2003/Qt4VSAddin/AddTranslationDialog.cs
deleted file mode 100644
index ce61e434..00000000
--- a/Qt4VS2003/Qt4VSAddin/AddTranslationDialog.cs
+++ /dev/null
@@ -1,273 +0,0 @@
-/****************************************************************************
-**
-** Copyright (C) 2016 The Qt Company Ltd.
-** Contact: https://www.qt.io/licensing/
-**
-** This file is part of the Qt VS Add-in.
-**
-** $QT_BEGIN_LICENSE:GPL-EXCEPT$
-** Commercial License Usage
-** Licensees holding valid commercial Qt licenses may use this file in
-** accordance with the commercial license agreement provided with the
-** Software or, alternatively, in accordance with the terms contained in
-** a written agreement between you and The Qt Company. For licensing terms
-** and conditions see https://www.qt.io/terms-conditions. For further
-** information use the contact form at https://www.qt.io/contact-us.
-**
-** GNU General Public License Usage
-** Alternatively, this file may be used under the terms of the GNU
-** General Public License version 3 as published by the Free Software
-** Foundation with exceptions as appearing in the file LICENSE.GPL3-EXCEPT
-** included in the packaging of this file. Please review the following
-** information to ensure the GNU General Public License requirements will
-** be met: https://www.gnu.org/licenses/gpl-3.0.html.
-**
-** $QT_END_LICENSE$
-**
-****************************************************************************/
-
-using System.Windows.Forms;
-using System.Globalization;
-using System.Collections.Generic;
-
-namespace Qt5VSAddin
-{
- /// <summary>
- /// Summary description for AddTranslationDialog.
- /// </summary>
- public class AddTranslationDialog : System.Windows.Forms.Form
- {
- private System.Windows.Forms.Label langLabel;
- private System.Windows.Forms.ComboBox langComboBox;
- private System.Windows.Forms.Label label1;
- private System.Windows.Forms.Button okButton;
- private System.Windows.Forms.Button cancelButton;
- private System.Windows.Forms.TextBox fileTextBox;
- private EnvDTE.Project project;
- private System.Windows.Forms.Panel panel1;
- /// <summary>
- /// Required designer variable.
- /// </summary>
- private System.ComponentModel.Container components = null;
-
- public AddTranslationDialog(EnvDTE.Project pro)
- {
- project = pro;
- //
- // Required for Windows Form Designer support
- //
- InitializeComponent();
- ShowInTaskbar = false;
-
- this.langLabel.Text = SR.GetString("AddTranslationDialog_Language");
- this.cancelButton.Text = SR.GetString(SR.Cancel);
- this.okButton.Text = SR.GetString(SR.OK);
- this.label1.Text = SR.GetString("AddTranslationDialog_FileName");
- this.Text = SR.GetString("AddTranslationDialog_Title");
-
- this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;
-
- //if (SR.LanguageName == "ja")
- //{
- // this.cancelButton.Location = new System.Drawing.Point(188, 72);
- // this.cancelButton.Size = new System.Drawing.Size(84, 24);
- // this.okButton.Location = new System.Drawing.Point(100, 72);
- // this.okButton.Size = new System.Drawing.Size(84, 24);
- //}
- this.KeyPress += new KeyPressEventHandler(this.AddTranslationDialog_KeyPress);
- }
-
- void AddTranslationDialog_KeyPress(object sender, KeyPressEventArgs e)
- {
- if (e.KeyChar == 27)
- {
- DialogResult = DialogResult.Cancel;
- Close();
- }
- }
-
- public string TranslationFile
- {
- get { return fileTextBox.Text; }
- }
-
- /// <summary>
- /// Clean up any resources being used.
- /// </summary>
- protected override void Dispose( bool disposing )
- {
- if (disposing)
- {
- if (components != null)
- {
- components.Dispose();
- }
- }
- base.Dispose( disposing );
- }
-
- #region Windows Form Designer generated code
- /// <summary>
- /// Required method for Designer support - do not modify
- /// the contents of this method with the code editor.
- /// </summary>
- private void InitializeComponent()
- {
- this.langLabel = new System.Windows.Forms.Label();
- this.langComboBox = new System.Windows.Forms.ComboBox();
- this.cancelButton = new System.Windows.Forms.Button();
- this.okButton = new System.Windows.Forms.Button();
- this.label1 = new System.Windows.Forms.Label();
- this.fileTextBox = new System.Windows.Forms.TextBox();
- this.panel1 = new System.Windows.Forms.Panel();
- this.panel1.SuspendLayout();
- this.SuspendLayout();
- //
- // langLabel
- //
- this.langLabel.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
- | System.Windows.Forms.AnchorStyles.Right)));
- this.langLabel.Location = new System.Drawing.Point(8, 8);
- this.langLabel.Name = "langLabel";
- this.langLabel.Size = new System.Drawing.Size(72, 21);
- this.langLabel.TabIndex = 0;
- this.langLabel.Text = "Language";
- //
- // langComboBox
- //
- this.langComboBox.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
- this.langComboBox.AutoCompleteMode = System.Windows.Forms.AutoCompleteMode.Suggest;
- this.langComboBox.AutoCompleteSource = System.Windows.Forms.AutoCompleteSource.ListItems;
- this.langComboBox.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
- this.langComboBox.Location = new System.Drawing.Point(80, 8);
- this.langComboBox.Name = "langComboBox";
- this.langComboBox.Size = new System.Drawing.Size(192, 21);
- this.langComboBox.Sorted = true;
- this.langComboBox.TabIndex = 1;
- this.langComboBox.SelectedIndexChanged += new System.EventHandler(this.langComboBox_SelectedIndexChanged);
- //
- // cancelButton
- //
- this.cancelButton.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
- this.cancelButton.DialogResult = System.Windows.Forms.DialogResult.Cancel;
- this.cancelButton.Location = new System.Drawing.Point(200, 72);
- this.cancelButton.Name = "cancelButton";
- this.cancelButton.Size = new System.Drawing.Size(72, 24);
- this.cancelButton.TabIndex = 1;
- this.cancelButton.Text = "Cancel";
- //
- // okButton
- //
- this.okButton.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
- this.okButton.DialogResult = System.Windows.Forms.DialogResult.OK;
- this.okButton.Location = new System.Drawing.Point(120, 72);
- this.okButton.Name = "okButton";
- this.okButton.Size = new System.Drawing.Size(72, 24);
- this.okButton.TabIndex = 0;
- this.okButton.Text = "OK";
- //
- // label1
- //
- this.label1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
- | System.Windows.Forms.AnchorStyles.Right)));
- this.label1.Location = new System.Drawing.Point(8, 32);
- this.label1.Name = "label1";
- this.label1.Size = new System.Drawing.Size(72, 24);
- this.label1.TabIndex = 3;
- this.label1.Text = "Filename";
- //
- // fileTextBox
- //
- this.fileTextBox.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
- this.fileTextBox.Location = new System.Drawing.Point(80, 32);
- this.fileTextBox.Name = "fileTextBox";
- this.fileTextBox.Size = new System.Drawing.Size(192, 20);
- this.fileTextBox.TabIndex = 4;
- //
- // panel1
- //
- this.panel1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
- | System.Windows.Forms.AnchorStyles.Right)));
- this.panel1.Controls.Add(this.langLabel);
- this.panel1.Controls.Add(this.label1);
- this.panel1.Controls.Add(this.langComboBox);
- this.panel1.Controls.Add(this.fileTextBox);
- this.panel1.Location = new System.Drawing.Point(0, 0);
- this.panel1.Name = "panel1";
- this.panel1.Size = new System.Drawing.Size(280, 64);
- this.panel1.TabIndex = 5;
- //
- // AddTranslationDialog
- //
- this.AcceptButton = this.okButton;
- this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
- this.CancelButton = this.cancelButton;
- this.ClientSize = new System.Drawing.Size(282, 104);
- this.Controls.Add(this.panel1);
- this.Controls.Add(this.okButton);
- this.Controls.Add(this.cancelButton);
- this.KeyPreview = true;
- this.MaximizeBox = false;
- this.MinimizeBox = false;
- this.Name = "AddTranslationDialog";
- this.SizeGripStyle = System.Windows.Forms.SizeGripStyle.Hide;
- this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent;
- this.Text = "Add Translation";
- this.Load += new System.EventHandler(this.AddTranslationDialog_Load);
- this.panel1.ResumeLayout(false);
- this.panel1.PerformLayout();
- this.ResumeLayout(false);
-
- }
- #endregion
-
- private void AddTranslationDialog_Load(object sender, System.EventArgs e)
- {
- TranslationItem[] cultures = TranslationItem.GetTranslationItems();
- langComboBox.Items.AddRange(cultures);
- langComboBox.SelectedItem = TranslationItem.SystemLanguage();
- }
-
- private void langComboBox_SelectedIndexChanged(object sender, System.EventArgs e)
- {
- string country = ((TranslationItem)langComboBox.SelectedItem).TwoLetterISOLanguageName;
- fileTextBox.Text = project.Name.ToLower() + "_" + country + ".ts";
- }
- }
-
- public class TranslationItem : System.Globalization.CultureInfo
- {
- public TranslationItem(int culture) : base(culture) { }
-
- public override string ToString()
- {
- CultureInfo currentCulture = CultureInfo.GetCultureInfo(Vsix.Instance.Dte.LocaleID);
- if (NativeName != DisplayName ||
- currentCulture.TwoLetterISOLanguageName == this.TwoLetterISOLanguageName)
- return DisplayName;
- else
- return EnglishName;
- }
-
- public static TranslationItem SystemLanguage()
- {
- return new TranslationItem(CultureInfo.CurrentCulture.LCID);
- }
-
- public static TranslationItem[] GetTranslationItems()
- {
- CultureInfo[] cultures = CultureInfo.GetCultures(CultureTypes.SpecificCultures
- & ~CultureTypes.UserCustomCulture & ~CultureTypes.ReplacementCultures);
- List<TranslationItem> transItems = new List<TranslationItem>();
- for(int i=0; i<cultures.Length; i++)
- {
- // Locales without a LCID are given LCID 0x1000 (http://msdn.microsoft.com/en-us/library/dn363603.aspx)
- // Trying to create a TranslationItem for these will cause an exception to be thrown.
- int lcid = cultures[i].LCID;
- if (lcid != 0x1000)
- transItems.Add(new TranslationItem(lcid));
- }
- return transItems.ToArray();
- }
- }
-}
diff --git a/Qt4VS2003/Qt4VSAddin/AddTranslationDialog.resx b/Qt4VS2003/Qt4VSAddin/AddTranslationDialog.resx
deleted file mode 100644
index 19dc0dd8..00000000
--- a/Qt4VS2003/Qt4VSAddin/AddTranslationDialog.resx
+++ /dev/null
@@ -1,120 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<root>
- <!--
- Microsoft ResX Schema
-
- Version 2.0
-
- The primary goals of this format is to allow a simple XML format
- that is mostly human readable. The generation and parsing of the
- various data types are done through the TypeConverter classes
- associated with the data types.
-
- Example:
-
- ... ado.net/XML headers & schema ...
- <resheader name="resmimetype">text/microsoft-resx</resheader>
- <resheader name="version">2.0</resheader>
- <resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
- <resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
- <data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
- <data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
- <data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
- <value>[base64 mime encoded serialized .NET Framework object]</value>
- </data>
- <data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
- <value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
- <comment>This is a comment</comment>
- </data>
-
- There are any number of "resheader" rows that contain simple
- name/value pairs.
-
- Each data row contains a name, and value. The row also contains a
- type or mimetype. Type corresponds to a .NET class that support
- text/value conversion through the TypeConverter architecture.
- Classes that don't support this are serialized and stored with the
- mimetype set.
-
- The mimetype is used for serialized objects, and tells the
- ResXResourceReader how to depersist the object. This is currently not
- extensible. For a given mimetype the value must be set accordingly:
-
- Note - application/x-microsoft.net.object.binary.base64 is the format
- that the ResXResourceWriter will generate, however the reader can
- read any of the formats listed below.
-
- mimetype: application/x-microsoft.net.object.binary.base64
- value : The object must be serialized with
- : System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
- : and then encoded with base64 encoding.
-
- mimetype: application/x-microsoft.net.object.soap.base64
- value : The object must be serialized with
- : System.Runtime.Serialization.Formatters.Soap.SoapFormatter
- : and then encoded with base64 encoding.
-
- mimetype: application/x-microsoft.net.object.bytearray.base64
- value : The object must be serialized into a byte array
- : using a System.ComponentModel.TypeConverter
- : and then encoded with base64 encoding.
- -->
- <xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
- <xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
- <xsd:element name="root" msdata:IsDataSet="true">
- <xsd:complexType>
- <xsd:choice maxOccurs="unbounded">
- <xsd:element name="metadata">
- <xsd:complexType>
- <xsd:sequence>
- <xsd:element name="value" type="xsd:string" minOccurs="0" />
- </xsd:sequence>
- <xsd:attribute name="name" use="required" type="xsd:string" />
- <xsd:attribute name="type" type="xsd:string" />
- <xsd:attribute name="mimetype" type="xsd:string" />
- <xsd:attribute ref="xml:space" />
- </xsd:complexType>
- </xsd:element>
- <xsd:element name="assembly">
- <xsd:complexType>
- <xsd:attribute name="alias" type="xsd:string" />
- <xsd:attribute name="name" type="xsd:string" />
- </xsd:complexType>
- </xsd:element>
- <xsd:element name="data">
- <xsd:complexType>
- <xsd:sequence>
- <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
- <xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
- </xsd:sequence>
- <xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
- <xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
- <xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
- <xsd:attribute ref="xml:space" />
- </xsd:complexType>
- </xsd:element>
- <xsd:element name="resheader">
- <xsd:complexType>
- <xsd:sequence>
- <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
- </xsd:sequence>
- <xsd:attribute name="name" type="xsd:string" use="required" />
- </xsd:complexType>
- </xsd:element>
- </xsd:choice>
- </xsd:complexType>
- </xsd:element>
- </xsd:schema>
- <resheader name="resmimetype">
- <value>text/microsoft-resx</value>
- </resheader>
- <resheader name="version">
- <value>2.0</value>
- </resheader>
- <resheader name="reader">
- <value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
- </resheader>
- <resheader name="writer">
- <value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
- </resheader>
-</root> \ No newline at end of file
diff --git a/Qt4VS2003/Qt4VSAddin/AssemblyInfo.cs b/Qt4VS2003/Qt4VSAddin/AssemblyInfo.cs
deleted file mode 100644
index f52e7979..00000000
--- a/Qt4VS2003/Qt4VSAddin/AssemblyInfo.cs
+++ /dev/null
@@ -1,78 +0,0 @@
-/****************************************************************************
-**
-** Copyright (C) 2016 The Qt Company Ltd.
-** Contact: https://www.qt.io/licensing/
-**
-** This file is part of the Qt VS Add-in.
-**
-** $QT_BEGIN_LICENSE:GPL-EXCEPT$
-** Commercial License Usage
-** Licensees holding valid commercial Qt licenses may use this file in
-** accordance with the commercial license agreement provided with the
-** Software or, alternatively, in accordance with the terms contained in
-** a written agreement between you and The Qt Company. For licensing terms
-** and conditions see https://www.qt.io/terms-conditions. For further
-** information use the contact form at https://www.qt.io/contact-us.
-**
-** GNU General Public License Usage
-** Alternatively, this file may be used under the terms of the GNU
-** General Public License version 3 as published by the Free Software
-** Foundation with exceptions as appearing in the file LICENSE.GPL3-EXCEPT
-** included in the packaging of this file. Please review the following
-** information to ensure the GNU General Public License requirements will
-** be met: https://www.gnu.org/licenses/gpl-3.0.html.
-**
-** $QT_END_LICENSE$
-**
-****************************************************************************/
-
-using System.Reflection;
-
-//
-// General Information about an assembly is controlled through the following
-// set of attributes. Change these attribute values to modify the information
-// associated with an assembly.
-//
-[assembly: AssemblyTitle("Qt5VSAddin")]
-[assembly: AssemblyDescription("")]
-[assembly: AssemblyConfiguration("")]
-[assembly: AssemblyCompany("The Qt Company Ltd.")]
-[assembly: AssemblyProduct("")]
-[assembly: AssemblyCopyright("Copyright (C) 2016 The Qt Company Ltd.")]
-[assembly: AssemblyTrademark("The Qt Company Ltd. Qt and their respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.")]
-[assembly: AssemblyCulture("")]
-
-//
-// Version information for an assembly consists of the following four values:
-//
-// Major Version
-// Minor Version
-// Revision
-// Build Number
-//
-// You can specify all the value or you can default the Revision and Build Numbers
-// by using the '*' as shown below:
-
-[assembly: AssemblyVersion("1.0.*")]
-
-//
-// In order to sign your assembly you must specify a key to use. Refer to the
-// Microsoft .NET Framework documentation for more information on assembly signing.
-//
-// Use the attributes below to control which key is used for signing.
-//
-// Notes:
-// (*) If no key is specified - the assembly cannot be signed.
-// (*) KeyName refers to a key that has been installed in the Crypto Service
-// Provider (CSP) on your machine.
-// (*) If the key file and a key name attributes are both specified, the
-// following processing occurs:
-// (1) If the KeyName can be found in the CSP - that key is used.
-// (2) If the KeyName does not exist and the KeyFile does exist, the key
-// in the file is installed into the CSP and used.
-// (*) Delay Signing is an advanced option - see the Microsoft .NET Framework
-// documentation for more information on this.
-//
-[assembly: AssemblyDelaySign(false)]
-[assembly: AssemblyKeyFile("")]
-[assembly: AssemblyKeyName("")]
diff --git a/Qt4VS2003/Qt4VSAddin/Changes-1.0.1 b/Qt4VS2003/Qt4VSAddin/Changes-1.0.1
deleted file mode 100644
index d4d59e00..00000000
--- a/Qt4VS2003/Qt4VSAddin/Changes-1.0.1
+++ /dev/null
@@ -1,11 +0,0 @@
-The Qt Visual Studio Add-In version 1.0.1 contains multiple bugfixes.
-
-Changes
--------
-- Qt .pro file import fixed for projects containing SUBDIRS.
-- Fixed moc file build exclusion when saving a .cpp file.
-- Keep user defined debugging environment when adding the Qt environment.
-- Fix the display of full file paths in custom build tool descriptions.
-- Documentation updated.
-
-
diff --git a/Qt4VS2003/Qt4VSAddin/Changes-1.0.2 b/Qt4VS2003/Qt4VSAddin/Changes-1.0.2
deleted file mode 100644
index 642128e8..00000000
--- a/Qt4VS2003/Qt4VSAddin/Changes-1.0.2
+++ /dev/null
@@ -1,14 +0,0 @@
-The Qt Visual Studio Add-In version 1.0.2 contains multiple bugfixes.
-
-Changes
--------
-- Platform was not set correctly when solution contains several projects.
-- Repair broken QTDIR Variable when project is added to solution.
-- Fix problem with dots in pro file names.
-- Qt module Phonon added to wizards and dialogs.
-- Don't mess around with whitespaces in every source file we add. (Task 251987)
-- Prevent duplicates in additional dependencies, includes etc.
-- Fix rare exception when importing solution pro file.
-- Fix switching between static and dynamic Qt build.
-- Enable the user to add a "$(QTDIR)" Qt version even if QTDIR is not set.
-
diff --git a/Qt4VS2003/Qt4VSAddin/Changes-1.1.0 b/Qt4VS2003/Qt4VSAddin/Changes-1.1.0
deleted file mode 100644
index 063d523f..00000000
--- a/Qt4VS2003/Qt4VSAddin/Changes-1.1.0
+++ /dev/null
@@ -1,26 +0,0 @@
-The Qt Visual Studio Add-In version 1.1.0 contains multiple bugfixes and
-improvements.
-
-Changes
--------
-- The custom build step generation has been changed to use a subfolder for
- every configuration. This solves the problem of heavy changes in the vcproj
- file whenever the user switches to another build configuration. (Task 251918)
-- Qt Designer, Qt Linguist and the QRC Editor are started via a properly
- registered editor wrapper. Now its possible to open ui files in other
- editors, like the built-in XML editor. (Task 250601)
-- Projects can be converted from Qt Add-in projects to qmake generated
- projects and back. (Task 153484)
-- Fixing the behaviour of adding a file to a filter. (Task 254968)
-- Opening a vcproj file that has a non-defined Qt version works now like in
- the old Qt VS integration. (Task 258704)
-- The detection of Windows CE Qt builds has been fixed.
-- OpenGL Desktop Windows libraries aren't added to linker options in
- Windows CE projects. (Task 260550)
-- If there's no Generated Files folder, then we don't try to delete its
- content. (Task 260723)
-- Fix bug for solutions that contain disabled (unloaded) projects.
- (Task 259807)
-- Switching between static and dynamic Qt builds has been fixed.
-- Add-in's documentation has been updated.
-
diff --git a/Qt4VS2003/Qt4VSAddin/Changes-1.1.1 b/Qt4VS2003/Qt4VSAddin/Changes-1.1.1
deleted file mode 100644
index 0eef399c..00000000
--- a/Qt4VS2003/Qt4VSAddin/Changes-1.1.1
+++ /dev/null
@@ -1,26 +0,0 @@
-The Qt Visual Studio Add-In version 1.1.1 contains multiple bugfixes and
-improvements.
-
-Changes
--------
-- Fixed startup of Qt Designer and Qt Linguist when the application was
- not build for the current project's Qt Version. The Add-In tries to find
- the needed tool inside the directory of the other registered Qt Versions.
-- "Generate basic pro file" gets disabled in project's context menu and Qt
- menu if the current project is a qmake generated project.
-- When importing a solution file while a solution is opened, the user gets
- the possibility to automatically close the current solution.
-- Avoid infinite recursion in inclusion which happened when moccing .cpp
- files, which used precompiled headers.
-- Translation files are added when exporting project to a .pri file.
-- Project is cleaned, when its Qt version is changed.
-- As there is no way to avoid the expansion of generated files filter when
- the project is built the first time, the generated files are collapsed
- after the build has finished (QTBUG-4750).
-- Changing the project's Qt Version after importing a .pro file does not
- longer make the build fail (QTBUG-4756)
-- Exclusion of .cpp and .h files cause the mocced files to be excluded from
- build too (QTBUG-3404)
-- Adding a Qt class no longer implies that precompiled headers are used.
-- Fixed processing of lupdate in projects with a big amount of files
- (QTBUG-4783).
diff --git a/Qt4VS2003/Qt4VSAddin/Changes-1.1.10 b/Qt4VS2003/Qt4VSAddin/Changes-1.1.10
deleted file mode 100644
index 69d4823a..00000000
--- a/Qt4VS2003/Qt4VSAddin/Changes-1.1.10
+++ /dev/null
@@ -1,30 +0,0 @@
-The Qt Visual Studio Add-In version 1.1.10 contains multiple bugfixes and
-improvements.
-
-Changes
--------
-- Be aware of comments when parsing qmake.conf. (QTVSADDINBUG-76)
-- Fixed exception when using using unsupported lupdate parameters.
- (QTVSADDINGBUG-70)
-- Detecting the MSVC version from qmake.conf was fixed.
-- Added QtScriptTools and QtUiTools to project settings. (QTVSADDINBUG-71)
-- Removed the MSVC version check when adding Qt versions.
- As this "feature" seems to cause more trouble than it solves, we
- decided to remove it. Checking for the makefile generator should at
- least prevent people from trying to add MinGW builds.
-- Fixed creation of addin projects from 64 bit Qt qmake projects.
-- Do not add the include path "$QTDIR/include/qtmain".
- This path is a relict and confuses IntelliSense. (QTVSADDINBUG-81)
-- Be aware of strings when looking for Q_OBJECT macros. (QTVSADDINBUG-75)
-- Fix problems with the debugging environment. (QTVSADDINBUG-93)
-- Pass correct QtDesigner4.lib library name to linker. (QTVSADDINBUG-85)
-- Fix cleaning of autoexp.dat on uninstallation for VS 2005. (QTVSADDINBUG-67)
-- Use slashes as path separators in includes in moc files. (QTVSADDINBUG-84)
-- Choose a valid Qt version if the default Qt version becomes invalid.
- (QTVSADDINBUG-60)
-- Prevent infinite loop if QtAppWrapper cannot connect. (QTVSADDINBUG-73)
-- Add and remove the correct OpenGL libraries when changing project's Qt
- version. (QTVSADDINBUG-80)
-- Use project macro for filenames in moc step. (QTVSADDINBUG-30)
-- Fixed batch builds of Qt projects for multiple platforms. (QTVSADDINBUG-51)
-
diff --git a/Qt4VS2003/Qt4VSAddin/Changes-1.1.11 b/Qt4VS2003/Qt4VSAddin/Changes-1.1.11
deleted file mode 100644
index 2d4d2154..00000000
--- a/Qt4VS2003/Qt4VSAddin/Changes-1.1.11
+++ /dev/null
@@ -1,12 +0,0 @@
-The Qt Visual Studio Add-In version 1.1.11 contains multiple bugfixes and
-improvements.
-
-Changes
--------
-- Documentation updated
-- Documentation support for Visual Studio 2010. (QTVSADDINBUG-15)
-- Fixed always moc'ing problem. (QTVSADDINBUG-92)
-- Fixed .pro file opening having include to "." path. (QTVSADDINBUG-117)
-- Removed extra back slashes from qmake arg paths.
-- Fixed some additional include dir handling causing same path to be
- added multiple times to custom build step.
diff --git a/Qt4VS2003/Qt4VSAddin/Changes-1.1.2 b/Qt4VS2003/Qt4VSAddin/Changes-1.1.2
deleted file mode 100644
index 1f579167..00000000
--- a/Qt4VS2003/Qt4VSAddin/Changes-1.1.2
+++ /dev/null
@@ -1,20 +0,0 @@
-The Qt Visual Studio Add-In version 1.1.2 contains multiple bugfixes and
-improvements.
-
-Changes
--------
-- Fixed various problems concerning precompiled headers (stdafx as default
- (QTBUG-5226), change of settings when building...)
-- Increased support for solution folders (QTBUG-4914)
-- Detection of solution .pro files fixed (be aware of possible newline
- after \)
-- Fixed bug, which could appear when moc steps had to be updated.
- The update caused an invalid moc commandline which made the build fail.
-- Added support for Q_Gadget macro(QTBUG-5291)
-- Project tree is not expanded on every build when using VS2005 (QTBUG-5291)
-- Fixed conversion from AddIn project to Qmake project and vice
- versa (QTBUG5380)
-- Repair moc path when importing .pro file (QTBUG-4221)
-- Support of commandline builds (QTBUG-5321)
- (In VS2005 there are some issues when trying to load AddIns from the
- commandline. See http://support.microsoft.com/kb/934517)
diff --git a/Qt4VS2003/Qt4VSAddin/Changes-1.1.3 b/Qt4VS2003/Qt4VSAddin/Changes-1.1.3
deleted file mode 100644
index 9ed5ae1c..00000000
--- a/Qt4VS2003/Qt4VSAddin/Changes-1.1.3
+++ /dev/null
@@ -1,21 +0,0 @@
-The Qt Visual Studio Add-In version 1.1.3 contains multiple bugfixes and
-improvements.
-
-Changes
--------
-- Added checks to avoid unneeded access to .vcproj file when saving files
- with Q_OBJECT. (QTBUG-5813)
-- When using Visual Studio 2005 the project tree is no longer expanded
- after each build. (QTBUG-6482)
-- Switching between qmake and AddIn projects more robust. (QTBUG-6434)
-- Set target machine explicitly when changing Qt version. (QTBUG-5206)
-- Work around Visual Studio bug to support the simplifiedChinese
- versionofVisualStudio. (QTBUG-6318)
-- Fixed bug for Windows CE static builds. (QTBUG-3493)
-- Create signature step for Windows CE projects. (QTBUG-3493)
-- Fixed visualizers for QList and QMap. (very simple version for QMap as
- an appropiate visualization seems impossible in autoexp.dat) (QTBUG-660
- and QTBUG-3970)
-- Fixed visualizers for QVector. (QTBUG-7121)
-- Support empty base classes in Qt4Class wizard. (QTBUG-6797)
-- Support namespaces when creating Qt classes. (QTBUG-5227)
diff --git a/Qt4VS2003/Qt4VSAddin/Changes-1.1.4 b/Qt4VS2003/Qt4VSAddin/Changes-1.1.4
deleted file mode 100644
index 52e5d0f2..00000000
--- a/Qt4VS2003/Qt4VSAddin/Changes-1.1.4
+++ /dev/null
@@ -1,24 +0,0 @@
-The Qt Visual Studio Add-In version 1.1.4 contains multiple bugfixes and
-improvements.
-
-Changes
--------
-- Several bugs when opening .ui and .ts files have been fixed.
- The qtappwrapper has been overhauled. (QTBUG-6857, QTBUG-7491)
-- Importing .pro files with source files in subdirectories does not longer cause
- creation of invalid moc steps. (QTBUG-7603)
-- The Qt Multimedia module is now available in all project wizards and the Qt
- modules dialog. (QTBUG-7487)
-- The "Generated Files" filter is collapsed after .pro file import. (QTBUG-7687)
-- Automatically checkout .ui, .qrc and .ts files if they are under source control.
- (QTBUG-7680)
-- Remove .res files from the "Generated Files" filter after .pro file import as
- they are not needed. (QTBUG-7494)
-- Class wizards: Take care of forbidden characters when building include guards for
- header files. (QTBUG-7811)
-- Fix exception when accessing the Qt project settings for projects, that do not have
- a compiler tool. (QTBUG-7930)
-- Fix bug in moc step update, which occured when there was more than one file in
- the "Outputs" property of the custom build step. (QTBUG-7937)
-- Added an option to turn off the automatic moc steps update. (QTBUG-7938)
-
diff --git a/Qt4VS2003/Qt4VSAddin/Changes-1.1.5 b/Qt4VS2003/Qt4VSAddin/Changes-1.1.5
deleted file mode 100644
index 06be02a6..00000000
--- a/Qt4VS2003/Qt4VSAddin/Changes-1.1.5
+++ /dev/null
@@ -1,39 +0,0 @@
-The Qt Visual Studio Add-In version 1.1.5 contains multiple bugfixes and
-improvements.
-
-Changes
--------
-- Fixed setting of preprocessor definitions when changing to a Windows CE
- Qt version. (QTBUG-10564)
-- Added contribution for QMap visualization. (QTBUG-3970)
-- Recursively look for includes/defines in PropertySheets. (QTBUG-10406)
-- Fixed bugs affecting Q_OBJECTs in .cpp files.
-- On import, the content of .qrc files is added to the Resources filter of the
- Visual Studio project. (QTBUG-10113)
-- QRC Editor: The add-in will synchronize the list of resources in a .qrc file
- with the files in the Resources filter of the project. (QTBUG-6103)
-- QRC Editor: show full resource URL. (QTBUG-3801)
-- Refresh moc steps when PCH options are changed. (QTBUG-7700)
-- You don't have to be admin anymore to set Windows CE Qt versions.
- (QTBUG-9550)
-- QtAppWrapper: Do not stop listening to new connections if error occurs.
- (QTBUG-8508)
-- Handle C++ comments correctly. (QTBUG-7641)
-- Support $(PlatformName) for moc, uic and rcc directories. (QTBUG-5814)
-- Fixed exception when exporting non-C++ projects. (QTBUG-9234)
-- Fixed module handling for static libraries. (QTBUG-8670)
-- Resolve %BASECLASS% in Qt4Class template again, to keep old custom class
- wizard additions working. (QTBUG-8615)
-- Fixed wrong DLL names in Windows CE deployment of Qt modules. (QTBUG-8622)
-- Fixed import of .pro files with library dependency paths that contain
- whitespace characters. (QTBUG-8493)
-- Added possibility to use mocDir without $(ConfigurationName). (QTBUG-7288)
-- Fixed import for projects with relative moc dir settings. (QTBUG-8372)
-- Fixed import for project without resources.
-- Don't depend on .NET Framework 3.5 SP1. (QTBUG-8415)
-- Fix moc steps for file names, that are contain substrings of variables,
- like "Config.h" (QTBUG-8218)
-- Detection of invalid class names in projects wizards. (QTBUG-8154)
-- Fixed creation of translation files when custom cultures are present.
- (QTBUG-11124)
-
diff --git a/Qt4VS2003/Qt4VSAddin/Changes-1.1.6 b/Qt4VS2003/Qt4VSAddin/Changes-1.1.6
deleted file mode 100644
index 1ea62b72..00000000
--- a/Qt4VS2003/Qt4VSAddin/Changes-1.1.6
+++ /dev/null
@@ -1,22 +0,0 @@
-The Qt Visual Studio Add-In version 1.1.6 contains multiple bugfixes and
-improvements.
-
-Changes
--------
-- Fixed collapse of Generated files after import/build on Visual Studio
- 2005. (QTBUG-4750)
-- Support for Visual Studio 2010. (QTBUG-5374)
-- Added check for invalid variables in Rcc/Uic directories in Qt (project)
- settings. (QTBUG-6818)
-- Updated documentation for changing the target platform. (QTBUG-7262)
-- Translate filter names on .pro file import or when switching from a
- qmake generated (qmake -tp vc) project to an Add-in project. (QTBUG-11325)
-- Fixed regression in custom build step generation. (QTBUG-11527)
-- Fixed "Change Solution's Qt version" for solutions that contain Intel
- Fortran projects. (QTBUG-11567)
-- Fix output paths for custom build steps in release configuration.
- (QTBUG-12145)
-- Fix import if CONFIG contains "silent". (QTBUG-12344)
-- Phonon is added automatically if WebKit is selected. (QTBUG-10154)
-- Fixed display of uninitialized QSet and QHash object. (QTBUG-12890)
-
diff --git a/Qt4VS2003/Qt4VSAddin/Changes-1.1.7 b/Qt4VS2003/Qt4VSAddin/Changes-1.1.7
deleted file mode 100644
index d7623c8b..00000000
--- a/Qt4VS2003/Qt4VSAddin/Changes-1.1.7
+++ /dev/null
@@ -1,14 +0,0 @@
-The Qt Visual Studio Add-In version 1.1.7 contains multiple bugfixes and
-improvements.
-
-Changes
--------
-- Fix import of .pro files with "CONFIG -= flat". (QTVSADDINBUG-10)
-- Fix naming of classes in generated .ui files. (QTVSADDINBUG-9)
-- Visualizers for QPolygon and QPolygonF fixed. (QTVSADDINBUG-8)
-- Fix expanding filters on build.
-- Fix Qt 4.7 qmake warning wrt backslash escaping on import.
-- VS2010: fix AddMocStep for new header files. (QTVSADDINBUG-2)
-- GUI class wizard: fix .ui file overwriting check. (QTVSADDINBUG-3)
-- When adding moc step, do not assume that cpp file is present. (QTVSADDINBUG-1)
-
diff --git a/Qt4VS2003/Qt4VSAddin/Changes-1.1.8 b/Qt4VS2003/Qt4VSAddin/Changes-1.1.8
deleted file mode 100644
index f7139969..00000000
--- a/Qt4VS2003/Qt4VSAddin/Changes-1.1.8
+++ /dev/null
@@ -1,27 +0,0 @@
-The Qt Visual Studio Add-In version 1.1.8 contains multiple bugfixes and
-improvements.
-
-Changes
--------
-- Do not save the QTDIR in a property sheet for VS 2010. (QTVSADDINBUG-12)
-- QtDeclarative module added to the modules page and wizards. (QTVSADDINBUG-44)
-- Fix import of .pri files. (QTVSADDINBUG-38)
-- Save the modified generated .vc(x)proj after .pro file import.
- (QTVSADDINBUG-40)
-- Proper handling of moc file exclusion when saving cpp files.
- (QTVSADDINBUG-33)
-- Remove user macro from property sheed when $(QTDIR) is used in VS2010.
- (QTVSADDINBUG-12)
-- Documented possibility to add $(QTDIR) version. (QTVSADDINGBUG-19)
-- Fix broken include paths in moc calls for VS 2010. (QTVSADDINBUG-34)
-- Fix import of previously unloaded projects. (QTVSADDINBUG-31)
-- Preserve line breaks in custom build steps after import. (QTVSADDINBUG-32)
-- Fix exception that could be raised when changing the Qt version of solutions
- that contained non-C++ projects. (QTVSADDINBUG-50)
-- Fix moc command line creation for include paths that contain whitespace
- characters. (QTVSADDINBUG-53)
-- Fixed the Windows CE wizards that stopped working under certain circumstances.
- (QTVSADDINBUG-42)
-- Several fixes for Windows CE project generation.
-- Qt 4.7.2 documentation included.
-
diff --git a/Qt4VS2003/Qt4VSAddin/Changes-1.1.9 b/Qt4VS2003/Qt4VSAddin/Changes-1.1.9
deleted file mode 100644
index 821ae049..00000000
--- a/Qt4VS2003/Qt4VSAddin/Changes-1.1.9
+++ /dev/null
@@ -1,12 +0,0 @@
-The Qt Visual Studio Add-In version 1.1.9 contains multiple bugfixes and
-improvements.
-
-Changes
--------
-- Fix a regression when importing .pro files that was introduced in 1.1.8.
-- Make the add-in work with Intel VTune projects. (QTVSADDINBUG-65)
-- Check for compatibility with VS version when adding new Qt version.
- This will hopefully stop people from trying to use a MinGW Qt build with
- Visual Studio. (QTVSADDINBUG-58)
-- Added possiblity to specifiy lupdate/lrelease options. (QTVSADDINBUG-48)
-
diff --git a/Qt4VS2003/Qt4VSAddin/Changes-1.2.0 b/Qt4VS2003/Qt4VSAddin/Changes-1.2.0
deleted file mode 100644
index 54a18a76..00000000
--- a/Qt4VS2003/Qt4VSAddin/Changes-1.2.0
+++ /dev/null
@@ -1,11 +0,0 @@
-The Qt Visual Studio Add-In version 1.2.0 supports Qt 5.0.
-
-Changes
--------
-- Parameter passing to lupdate fixed (QTVSADDINBUG-131)
-- Project creation wizards updated to follow Qt5 module structure
-- Project settings form updated to follow Qt5 module structure
-- Help documents updated to Qt5
-- No more Qt4 project creation wizards and project settings
-- Support for Visual Studio 2012
-- All project files (*.sln, *.csproj etc) are renamed to Qt5
diff --git a/Qt4VS2003/Qt4VSAddin/Changes-1.2.1 b/Qt4VS2003/Qt4VSAddin/Changes-1.2.1
deleted file mode 100644
index 9683b252..00000000
--- a/Qt4VS2003/Qt4VSAddin/Changes-1.2.1
+++ /dev/null
@@ -1,26 +0,0 @@
-The Qt Visual Studio Add-In version 1.2.1 contains multiple bugfixes and
-improvements.
-
-Changes
--------
-- Qt 5.0.1 help documents included
-- Qmake wrapper COM component removed and replaced with command line tool
- qmakefilereader to avoid need to load Qt5 library binaries to Visual Studio
- process. And to get installation of add-in easier, especially with VS2008.
-- Qt4 add-in is not allowed to run same time, if found it will be closed.
- Also if Qt4 add-in is present in system, default editor values for .ts, .ui
- and .qrc file types are not permanently overwritten by Qt5 add-in. Values are
- written when Qt5 add-in loads and Qt4 values are set when Qt5 add-in unloads.
- This should make it possible to install and use both Qt4 and Qt5 versions of
- add-in. Not to use same time but in turns. Though user must be careful what he
- does.
-- Recognizing Qt5 CE build. (QTVSADDINBUG-153)
-- Incorrect additional directories paths set when Qt modules added/removed from
- Qt Project Settings page. (QTVSADDINBUG-151)
-- Include directories search path for some Qt modules fixed (QTVSADDINBUG-150)
-- Invalid Qt module names fixed (QTVSADDINBUG-142)
-- Crash when importing .pri file fixed (QTVSADDINBUG-139)
-- Qt default settings saving problem fixed (QTVSADDINBUG-137)
-- Naming of precompiled header fixed (QTVSADDINBUG-132)
-- Support for debugger visualizers in VS2012 (QTVSADDINBUG-129)
-- Setting Qt libraries path for debugging session fixed (QTVSADDINBUG-125)
diff --git a/Qt4VS2003/Qt4VSAddin/Changes-1.2.2 b/Qt4VS2003/Qt4VSAddin/Changes-1.2.2
deleted file mode 100644
index 451815ae..00000000
--- a/Qt4VS2003/Qt4VSAddin/Changes-1.2.2
+++ /dev/null
@@ -1,9 +0,0 @@
-The Qt Visual Studio Add-In version 1.2.2 contains updated help documents and
-two bug fixes.
-
-Changes
--------
-- Qt 5.1 help documents included.
-- Incorrect overwriting of the environment setting value on every build/run
- removed. (QTVSADDINBUG-159)
-- Links in Qt help not working, fixed. (QTVSADDINBUG-160) \ No newline at end of file
diff --git a/Qt4VS2003/Qt4VSAddin/Changes-1.2.3 b/Qt4VS2003/Qt4VSAddin/Changes-1.2.3
deleted file mode 100644
index 221c0ac1..00000000
--- a/Qt4VS2003/Qt4VSAddin/Changes-1.2.3
+++ /dev/null
@@ -1,14 +0,0 @@
-The Qt Visual Studio Add-In version 1.2.3 contains support for VS2013,
-updated help documents and some bug fixes.
-
-Changes
--------
-- Visual Studio 2013 support.
-- Qt 5.3 help documents included.
-- Handle wchar_t as builtin type, fixed. (QTVSADDINBUG-171)
-- Fix for detecting wince build. (QTVSADDINBUG-176)
-- Release project with debug info enabled links wrong
- qt dll's, fixed.(QTVSADDINBUG-350)
-- Generated pri/pro files have mixed line endings (LF/CRLF),
- fixed.(QTVSADDINBUG-351)
-- Intermediate Directory needs a trailing slash, fixed.(QTVSADDINBUG-356)
diff --git a/Qt4VS2003/Qt4VSAddin/Changes-1.2.4 b/Qt4VS2003/Qt4VSAddin/Changes-1.2.4
deleted file mode 100644
index a9f84a2a..00000000
--- a/Qt4VS2003/Qt4VSAddin/Changes-1.2.4
+++ /dev/null
@@ -1,7 +0,0 @@
-The Qt Visual Studio Add-In version 1.2.3 contains updated help
-documents and a bug fixes.
-
-Changes
--------
-- Qt 5.4 help documents included.
-- Fixed crash when creating new Qt5 app in VS2008 (QTVSADDINBUG-385)
diff --git a/Qt4VS2003/Qt4VSAddin/Changes-1.2.5 b/Qt4VS2003/Qt4VSAddin/Changes-1.2.5
deleted file mode 100644
index b02e7642..00000000
--- a/Qt4VS2003/Qt4VSAddin/Changes-1.2.5
+++ /dev/null
@@ -1,11 +0,0 @@
-The Qt Visual Studio Add-In version 1.2.5 contains an update of the Qt documentation
-and some bug fixes.
-
-Changes
--------
-- Qt 5.6 help documents included.
-- Fixed wrong VCProjectEngine dependency for 2012 installer, which prevented the Add-In from being loaded (QTVSADDINBUG-392)
-- Use correct solution platform when creating projects using x64 Qt build (QTVSADDINBUG-377)
-- Fixed several issues with projects' Qt modules settings (QTVSADDINBUG-344, QTVSADDINBUG-359, QTVSADDINBUG-388, QTVSADDINBUG-390)
-- Do not overwrite debugging environment on project loading (QTVSADDINBUG-375)
-- Fixed issues that prevented Qt 5.6 version from being registered to the Add-In (QTVSADDINBUG-418)
diff --git a/Qt4VS2003/Qt4VSAddin/CommandBar.resx b/Qt4VS2003/Qt4VSAddin/CommandBar.resx
deleted file mode 100644
index a417de43..00000000
--- a/Qt4VS2003/Qt4VSAddin/CommandBar.resx
+++ /dev/null
@@ -1,442 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<root>
- <!--
- Microsoft ResX Schema
-
- Version 2.0
-
- The primary goals of this format is to allow a simple XML format
- that is mostly human readable. The generation and parsing of the
- various data types are done through the TypeConverter classes
- associated with the data types.
-
- Example:
-
- ... ado.net/XML headers & schema ...
- <resheader name="resmimetype">text/microsoft-resx</resheader>
- <resheader name="version">2.0</resheader>
- <resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
- <resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
- <data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
- <data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
- <data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
- <value>[base64 mime encoded serialized .NET Framework object]</value>
- </data>
- <data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
- <value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
- <comment>This is a comment</comment>
- </data>
-
- There are any number of "resheader" rows that contain simple
- name/value pairs.
-
- Each data row contains a name, and value. The row also contains a
- type or mimetype. Type corresponds to a .NET class that support
- text/value conversion through the TypeConverter architecture.
- Classes that don't support this are serialized and stored with the
- mimetype set.
-
- The mimetype is used for serialized objects, and tells the
- ResXResourceReader how to depersist the object. This is currently not
- extensible. For a given mimetype the value must be set accordingly:
-
- Note - application/x-microsoft.net.object.binary.base64 is the format
- that the ResXResourceWriter will generate, however the reader can
- read any of the formats listed below.
-
- mimetype: application/x-microsoft.net.object.binary.base64
- value : The object must be serialized with
- : System.Serialization.Formatters.Binary.BinaryFormatter
- : and then encoded with base64 encoding.
-
- mimetype: application/x-microsoft.net.object.soap.base64
- value : The object must be serialized with
- : System.Runtime.Serialization.Formatters.Soap.SoapFormatter
- : and then encoded with base64 encoding.
-
- mimetype: application/x-microsoft.net.object.bytearray.base64
- value : The object must be serialized into a byte array
- : using a System.ComponentModel.TypeConverter
- : and then encoded with base64 encoding.
- -->
- <xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
- <xsd:element name="root" msdata:IsDataSet="true">
- <xsd:complexType>
- <xsd:choice maxOccurs="unbounded">
- <xsd:element name="metadata">
- <xsd:complexType>
- <xsd:sequence>
- <xsd:element name="value" type="xsd:string" minOccurs="0" />
- </xsd:sequence>
- <xsd:attribute name="name" use="required" type="xsd:string" />
- <xsd:attribute name="type" type="xsd:string" />
- <xsd:attribute name="mimetype" type="xsd:string" />
- </xsd:complexType>
- </xsd:element>
- <xsd:element name="assembly">
- <xsd:complexType>
- <xsd:attribute name="alias" type="xsd:string" />
- <xsd:attribute name="name" type="xsd:string" />
- </xsd:complexType>
- </xsd:element>
- <xsd:element name="data">
- <xsd:complexType>
- <xsd:sequence>
- <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
- <xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
- </xsd:sequence>
- <xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
- <xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
- <xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
- </xsd:complexType>
- </xsd:element>
- <xsd:element name="resheader">
- <xsd:complexType>
- <xsd:sequence>
- <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
- </xsd:sequence>
- <xsd:attribute name="name" type="xsd:string" use="required" />
- </xsd:complexType>
- </xsd:element>
- </xsd:choice>
- </xsd:complexType>
- </xsd:element>
- </xsd:schema>
- <resheader name="resmimetype">
- <value>text/microsoft-resx</value>
- </resheader>
- <resheader name="version">
- <value>2.0</value>
- </resheader>
- <resheader name="reader">
- <value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
- </resheader>
- <resheader name="writer">
- <value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
- </resheader>
-
- <data name="enAction"> <value xml:space="preserve">Action</value></data>
- <data name="enAddins"> <value xml:space="preserve">Addins</value></data>
- <data name="enBuild"> <value xml:space="preserve">Build</value></data>
- <data name="enClass Diagram"> <value xml:space="preserve">Class Diagram</value></data>
- <data name="enCommunity"> <value xml:space="preserve">Community</value></data>
- <data name="enData"> <value xml:space="preserve">Data</value></data>
- <data name="enDatabase"> <value xml:space="preserve">Database</value></data>
- <data name="enDatabase Diagram"><value xml:space="preserve">Database Diagram</value></data>
- <data name="enDebug"> <value xml:space="preserve">Debug</value></data>
- <data name="enAnalyze"> <value xml:space="preserve">Analyze</value></data>
- <data name="enDiagram"> <value xml:space="preserve">Diagram</value></data>
- <data name="enEdit"> <value xml:space="preserve">Edit</value></data>
- <data name="enFile"> <value xml:space="preserve">File</value></data>
- <data name="enFormat"> <value xml:space="preserve">Format</value></data>
- <data name="enFrames"> <value xml:space="preserve">Frames</value></data>
- <data name="enHelp"> <value xml:space="preserve">Help</value></data>
- <data name="enImage"> <value xml:space="preserve">Image</value></data>
- <data name="enLayout"> <value xml:space="preserve">Layout</value></data>
- <data name="enMacros"> <value xml:space="preserve">Macros</value></data>
- <data name="enProject"> <value xml:space="preserve">Project</value></data>
- <data name="enQuery"> <value xml:space="preserve">Query</value></data>
- <data name="enQuery Designer"> <value xml:space="preserve">Query Designer</value></data>
- <data name="enRefactor"> <value xml:space="preserve">Refactor</value></data>
- <data name="enReport"> <value xml:space="preserve">Report</value></data>
- <data name="enResources"> <value xml:space="preserve">Resources</value></data>
- <data name="enSchema"> <value xml:space="preserve">Schema</value></data>
- <data name="enStyles"> <value xml:space="preserve">Styles</value></data>
- <data name="enTeam"> <value xml:space="preserve">Team</value></data>
- <data name="enTable"> <value xml:space="preserve">Table</value></data>
- <data name="enTable Designer"> <value xml:space="preserve">Table Designer</value></data>
- <data name="enTest"> <value xml:space="preserve">Test</value></data>
- <data name="enTools"> <value xml:space="preserve">Tools</value></data>
- <data name="enView"> <value xml:space="preserve">View</value></data>
- <data name="enWindow"> <value xml:space="preserve">Window</value></data>
- <data name="enXML"> <value xml:space="preserve">XML</value></data>
-
- <data name="jaAction"> <value xml:space="preserve">操作</value></data>
- <data name="jaAddins"> <value xml:space="preserve">アドイン</value></data>
- <data name="jaBuild"> <value xml:space="preserve">ビルド</value></data>
- <data name="jaClass Diagram"> <value xml:space="preserve">クラス ダイアグラム</value></data>
- <data name="jaCommunity"> <value xml:space="preserve">コミュニティ</value></data>
- <data name="jaData"> <value xml:space="preserve">データ</value></data>
- <data name="jaDatabase"> <value xml:space="preserve">データベース</value></data>
- <data name="jaDatabase Diagram"><value xml:space="preserve">データベース ダイアグラム</value></data>
- <data name="jaDebug"> <value xml:space="preserve">デバッグ</value></data>
- <data name="jaAnalyze"> <value xml:space="preserve">分析</value></data>
- <data name="jaDiagram"> <value xml:space="preserve">ダイアグラム</value></data>
- <data name="jaEdit"> <value xml:space="preserve">編集</value></data>
- <data name="jaFile"> <value xml:space="preserve">ファイル</value></data>
- <data name="jaFormat"> <value xml:space="preserve">書式</value></data>
- <data name="jaFrames"> <value xml:space="preserve">フレーム</value></data>
- <data name="jaHelp"> <value xml:space="preserve">ヘルプ</value></data>
- <data name="jaImage"> <value xml:space="preserve">イメージ</value></data>
- <data name="jaLayout"> <value xml:space="preserve">レイアウト</value></data>
- <data name="jaMacros"> <value xml:space="preserve">マクロ</value></data>
- <data name="jaProject"> <value xml:space="preserve">プロジェクト</value></data>
- <data name="jaQuery"> <value xml:space="preserve">クエリ</value></data>
- <data name="jaQuery Designer"> <value xml:space="preserve">クエリ デザイナ</value></data>
- <data name="jaRefactor"> <value xml:space="preserve">リファクタ</value></data>
- <data name="jaReport"> <value xml:space="preserve">レポート</value></data>
- <data name="jaResources"> <value xml:space="preserve">リソース</value></data>
- <data name="jaSchema"> <value xml:space="preserve">スキーマ</value></data>
- <data name="jaStyles"> <value xml:space="preserve">スタイル</value></data>
- <data name="jaTeam"> <value xml:space="preserve">チーム</value></data>
- <data name="jaTable"> <value xml:space="preserve">テーブル</value></data>
- <data name="jaTable Designer"> <value xml:space="preserve">テーブル デザイナ</value></data>
- <data name="jaTest"> <value xml:space="preserve">テスト</value></data>
- <data name="jaTools"> <value xml:space="preserve">ツール</value></data>
- <data name="jaView"> <value xml:space="preserve">表示</value></data>
- <data name="jaWindow"> <value xml:space="preserve">ウィンドウ</value></data>
- <data name="jaXML"> <value xml:space="preserve">XML</value></data>
-
- <data name="deAction"> <value xml:space="preserve">Aktion</value></data>
- <data name="deAddins"> <value xml:space="preserve">Add-Ins</value></data>
- <data name="deBuild"> <value xml:space="preserve">Erstellen</value></data>
- <data name="deClass Diagram"> <value xml:space="preserve">Klassendiagramm</value></data>
- <data name="deCommunity"> <value xml:space="preserve">Community</value></data>
- <data name="deData"> <value xml:space="preserve">Daten</value></data>
- <data name="deDatabase"> <value xml:space="preserve">Datenbank</value></data>
- <data name="deDatabase Diagram"><value xml:space="preserve">Datenbankdiagramm</value></data>
- <data name="deDebug"> <value xml:space="preserve">Debuggen</value></data>
- <data name="deAnalyze"> <value xml:space="preserve">Analysieren</value></data>
- <data name="deDiagram"> <value xml:space="preserve">Diagramm</value></data>
- <data name="deEdit"> <value xml:space="preserve">Bearbeiten</value></data>
- <data name="deFile"> <value xml:space="preserve">Datei</value></data>
- <data name="deFormat"> <value xml:space="preserve">Format</value></data>
- <data name="deFrames"> <value xml:space="preserve">Rahmen</value></data>
- <data name="deHelp"> <value xml:space="preserve">Hilfe</value></data>
- <data name="deImage"> <value xml:space="preserve">Bild</value></data>
- <data name="deLayout"> <value xml:space="preserve">Layout</value></data>
- <data name="deMacros"> <value xml:space="preserve">Makros</value></data>
- <data name="deProject"> <value xml:space="preserve">Projekt</value></data>
- <data name="deQuery"> <value xml:space="preserve">Query</value></data>
- <data name="deQuery Designer"> <value xml:space="preserve">Abfrage-Designer</value></data>
- <data name="deRefactor"> <value xml:space="preserve">Umgestalten</value></data>
- <data name="deReport"> <value xml:space="preserve">Bericht</value></data>
- <data name="deResources"> <value xml:space="preserve">Ressourcen</value></data>
- <data name="deSchema"> <value xml:space="preserve">Schema</value></data>
- <data name="deStyles"> <value xml:space="preserve">Formate</value></data>
- <data name="deTeam"> <value xml:space="preserve">Team</value></data>
- <data name="deTable"> <value xml:space="preserve">Tabelle</value></data>
- <data name="deTable Designer"> <value xml:space="preserve">Tabellen-Designer</value></data>
- <data name="deTest"> <value xml:space="preserve">Testen</value></data>
- <data name="deTools"> <value xml:space="preserve">Extras</value></data>
- <data name="deView"> <value xml:space="preserve">Ansicht</value></data>
- <data name="deWindow"> <value xml:space="preserve">Fenster</value></data>
- <data name="deXML"> <value xml:space="preserve">XML</value></data>
-
- <data name="esAction"> <value xml:space="preserve">Acción</value></data>
- <data name="esAddins"> <value xml:space="preserve">Complementos</value></data>
- <data name="esBuild"> <value xml:space="preserve">Generar</value></data>
- <data name="esClass Diagram"> <value xml:space="preserve">Diagrama de clase</value></data>
- <data name="esCommunity"> <value xml:space="preserve">Comunidad</value></data>
- <data name="esData"> <value xml:space="preserve">Datos</value></data>
- <data name="esDatabase"> <value xml:space="preserve">Base de datos</value></data>
- <data name="esDatabase Diagram"><value xml:space="preserve">Diagrama de base de datos</value></data>
- <data name="esDebug"> <value xml:space="preserve">Depurar</value></data>
- <data name="esAnalyze"> <value xml:space="preserve">Analizar</value></data>
- <data name="esDiagram"> <value xml:space="preserve">Diagrama</value></data>
- <data name="esEdit"> <value xml:space="preserve">Editar</value></data>
- <data name="esFile"> <value xml:space="preserve">Archivo</value></data>
- <data name="esFormat"> <value xml:space="preserve">Formato</value></data>
- <data name="esFrames"> <value xml:space="preserve">Marcos</value></data>
- <data name="esHelp"> <value xml:space="preserve">Ayuda</value></data>
- <data name="esImage"> <value xml:space="preserve">Imagen</value></data>
- <data name="esLayout"> <value xml:space="preserve">Diseño</value></data>
- <data name="esMacros"> <value xml:space="preserve">Macros</value></data>
- <data name="esProject"> <value xml:space="preserve">Proyecto</value></data>
- <data name="esQuery"> <value xml:space="preserve">Consulta</value></data>
- <data name="esQuery Designer"> <value xml:space="preserve">Diseñador de consultas</value></data>
- <data name="esRefactor"> <value xml:space="preserve">Refactorizar</value></data>
- <data name="esReport"> <value xml:space="preserve">Informe</value></data>
- <data name="esResources"> <value xml:space="preserve">Recursos</value></data>
- <data name="esSchema"> <value xml:space="preserve">Esquema</value></data>
- <data name="esStyles"> <value xml:space="preserve">Estilos</value></data>
- <data name="esTeam"> <value xml:space="preserve">Equipo</value></data>
- <data name="esTable"> <value xml:space="preserve">Tabla</value></data>
- <data name="esTable Designer"> <value xml:space="preserve">Diseñador de tablas</value></data>
- <data name="esTest"> <value xml:space="preserve">Prueba</value></data>
- <data name="esTools"> <value xml:space="preserve">Herramientas</value></data>
- <data name="esView"> <value xml:space="preserve">Ver</value></data>
- <data name="esWindow"> <value xml:space="preserve">Ventana</value></data>
- <data name="esXML"> <value xml:space="preserve">XML</value></data>
-
- <data name="frAction"> <value xml:space="preserve">Action</value></data>
- <data name="frAddins"> <value xml:space="preserve">Compléments</value></data>
- <data name="frBuild"> <value xml:space="preserve">Générer</value></data>
- <data name="frClass Diagram"> <value xml:space="preserve">Diagramme de classes</value></data>
- <data name="frCommunity"> <value xml:space="preserve">Communauté</value></data>
- <data name="frData"> <value xml:space="preserve">Données</value></data>
- <data name="frDatabase"> <value xml:space="preserve">Base de données</value></data>
- <data name="frDatabase Diagram"><value xml:space="preserve">Schéma de base de données</value></data>
- <data name="frDebug"> <value xml:space="preserve">Déboguer</value></data>
- <data name="frAnalyze"> <value xml:space="preserve">Analyser</value></data>
- <data name="frDiagram"> <value xml:space="preserve">Schéma</value></data>
- <data name="frEdit"> <value xml:space="preserve">Modifier</value></data>
- <data name="frFile"> <value xml:space="preserve">Fichier</value></data>
- <data name="frFormat"> <value xml:space="preserve">Format</value></data>
- <data name="frFrames"> <value xml:space="preserve">Frames</value></data>
- <data name="frHelp"> <value xml:space="preserve">?</value></data>
- <data name="frImage"> <value xml:space="preserve">Image</value></data>
- <data name="frLayout"> <value xml:space="preserve">Disposition</value></data>
- <data name="frMacros"> <value xml:space="preserve">Macros</value></data>
- <data name="frProject"> <value xml:space="preserve">Projet</value></data>
- <data name="frQuery"> <value xml:space="preserve">Requête</value></data>
- <data name="frQuery Designer"> <value xml:space="preserve">Concepteur de requêtes</value></data>
- <data name="frRefactor"> <value xml:space="preserve">Refactoriser</value></data>
- <data name="frReport"> <value xml:space="preserve">Rapport</value></data>
- <data name="frResources"> <value xml:space="preserve">Ressources</value></data>
- <data name="frSchema"> <value xml:space="preserve">Schéma</value></data>
- <data name="frStyles"> <value xml:space="preserve">Styles</value></data>
- <data name="frTeam"> <value xml:space="preserve">équipe</value></data>
- <data name="frTable"> <value xml:space="preserve">Tableau</value></data>
- <data name="frTable Designer"> <value xml:space="preserve">Concepteur de tables</value></data>
- <data name="frTest"> <value xml:space="preserve">Test</value></data>
- <data name="frTools"> <value xml:space="preserve">Outils</value></data>
- <data name="frView"> <value xml:space="preserve">Affichage</value></data>
- <data name="frWindow"> <value xml:space="preserve">Fenêtre</value></data>
- <data name="frXML"> <value xml:space="preserve">XML</value></data>
-
- <data name="itAction"> <value xml:space="preserve">Azione</value></data>
- <data name="itAddins"> <value xml:space="preserve">Componenti aggiuntivi</value></data>
- <data name="itBuild"> <value xml:space="preserve">Genera</value></data>
- <data name="itClass Diagram"> <value xml:space="preserve">Diagramma classi</value></data>
- <data name="itCommunity"> <value xml:space="preserve">Comunità</value></data>
- <data name="itData"> <value xml:space="preserve">Dati</value></data>
- <data name="itDatabase"> <value xml:space="preserve">Database</value></data>
- <data name="itDatabase Diagram"><value xml:space="preserve">Diagramma database</value></data>
- <data name="itDebug"> <value xml:space="preserve">Debug</value></data>
- <data name="itAnalyze"> <value xml:space="preserve">Analizza</value></data>
- <data name="itDiagram"> <value xml:space="preserve">Diagramma</value></data>
- <data name="itEdit"> <value xml:space="preserve">Modifica</value></data>
- <data name="itFile"> <value xml:space="preserve">File</value></data>
- <data name="itFormat"> <value xml:space="preserve">Formato</value></data>
- <data name="itFrames"> <value xml:space="preserve">Frame</value></data>
- <data name="itHelp"> <value xml:space="preserve">?</value></data>
- <data name="itImage"> <value xml:space="preserve">Immagine</value></data>
- <data name="itLayout"> <value xml:space="preserve">Layout</value></data>
- <data name="itMacros"> <value xml:space="preserve">Macro</value></data>
- <data name="itProject"> <value xml:space="preserve">Progetto</value></data>
- <data name="itQuery"> <value xml:space="preserve">Query</value></data>
- <data name="itQuery Designer"> <value xml:space="preserve">Progettazione query</value></data>
- <data name="itRefactor"> <value xml:space="preserve">Effettua refactoring</value></data>
- <data name="itReport"> <value xml:space="preserve">Report</value></data>
- <data name="itResources"> <value xml:space="preserve">Risorse</value></data>
- <data name="itSchema"> <value xml:space="preserve">Schema</value></data>
- <data name="itStyles"> <value xml:space="preserve">Stili</value></data>
- <data name="itTeam"> <value xml:space="preserve">Team</value></data>
- <data name="itTable"> <value xml:space="preserve">Tabella</value></data>
- <data name="itTable Designer"> <value xml:space="preserve">Progettazione tabelle</value></data>
- <data name="itTest"> <value xml:space="preserve">Prova</value></data>
- <data name="itTools"> <value xml:space="preserve">Strumenti</value></data>
- <data name="itView"> <value xml:space="preserve">Visualizza</value></data>
- <data name="itWindow"> <value xml:space="preserve">Finestra</value></data>
- <data name="itXML"> <value xml:space="preserve">XML</value></data>
-
- <data name="koAction"> <value xml:space="preserve">작업</value></data>
- <data name="koAddins"> <value xml:space="preserve">추가 기능</value></data>
- <data name="koBuild"> <value xml:space="preserve">빌드</value></data>
- <data name="koClass Diagram"> <value xml:space="preserve">클래스 다이어그램</value></data>
- <data name="koCommunity"> <value xml:space="preserve">커뮤니티</value></data>
- <data name="koData"> <value xml:space="preserve">데이터</value></data>
- <data name="koDatabase"> <value xml:space="preserve">데이터베이스</value></data>
- <data name="koDatabase Diagram"><value xml:space="preserve">데이터베이스 다이어그램</value></data>
- <data name="koDebug"> <value xml:space="preserve">디버그</value></data>
- <data name="koAnalyze"> <value xml:space="preserve">분석</value></data>
- <data name="koDiagram"> <value xml:space="preserve">다이어그램</value></data>
- <data name="koEdit"> <value xml:space="preserve">편집</value></data>
- <data name="koFile"> <value xml:space="preserve">파일</value></data>
- <data name="koFormat"> <value xml:space="preserve">서식</value></data>
- <data name="koFrames"> <value xml:space="preserve">프레임</value></data>
- <data name="koHelp"> <value xml:space="preserve">도움말</value></data>
- <data name="koImage"> <value xml:space="preserve">이미지</value></data>
- <data name="koLayout"> <value xml:space="preserve">레이아웃</value></data>
- <data name="koMacros"> <value xml:space="preserve">매크로</value></data>
- <data name="koProject"> <value xml:space="preserve">프로젝트</value></data>
- <data name="koQuery"> <value xml:space="preserve">쿼리</value></data>
- <data name="koQuery Designer"> <value xml:space="preserve">쿼리 디자이너</value></data>
- <data name="koRefactor"> <value xml:space="preserve">리팩터링</value></data>
- <data name="koReport"> <value xml:space="preserve">보고서</value></data>
- <data name="koResources"> <value xml:space="preserve">리소스</value></data>
- <data name="koSchema"> <value xml:space="preserve">스키마</value></data>
- <data name="koStyles"> <value xml:space="preserve">스타일</value></data>
- <data name="koTeam"> <value xml:space="preserve">팀</value></data>
- <data name="koTable"> <value xml:space="preserve">테이블</value></data>
- <data name="koTable Designer"> <value xml:space="preserve">테이블 디자이너</value></data>
- <data name="koTest"> <value xml:space="preserve">테스트</value></data>
- <data name="koTools"> <value xml:space="preserve">도구</value></data>
- <data name="koView"> <value xml:space="preserve">뷰</value></data>
- <data name="koWindow"> <value xml:space="preserve">창</value></data>
- <data name="koXML"> <value xml:space="preserve">XML</value></data>
-
- <data name="zh-CHSAction"> <value xml:space="preserve">操作</value></data>
- <data name="zh-CHSAddins"> <value xml:space="preserve">外接程序</value></data>
- <data name="zh-CHSBuild"> <value xml:space="preserve">生成</value></data>
- <data name="zh-CHSClass Diagram"> <value xml:space="preserve">类关系图</value></data>
- <data name="zh-CHSCommunity"> <value xml:space="preserve">社区</value></data>
- <data name="zh-CHSData"> <value xml:space="preserve">数据</value></data>
- <data name="zh-CHSDatabase"> <value xml:space="preserve">数据库</value></data>
- <data name="zh-CHSDatabase Diagram"><value xml:space="preserve">数据库关系图</value></data>
- <data name="zh-CHSDebug"> <value xml:space="preserve">调试</value></data>
- <data name="zh-CHSAnalyze"> <value xml:space="preserve">分析</value></data>
- <data name="zh-CHSDiagram"> <value xml:space="preserve">关系图</value></data>
- <data name="zh-CHSEdit"> <value xml:space="preserve">编辑</value></data>
- <data name="zh-CHSFile"> <value xml:space="preserve">文件</value></data>
- <data name="zh-CHSFormat"> <value xml:space="preserve">格式</value></data>
- <data name="zh-CHSFrames"> <value xml:space="preserve">框架</value></data>
- <data name="zh-CHSHelp"> <value xml:space="preserve">帮助</value></data>
- <data name="zh-CHSImage"> <value xml:space="preserve">图像</value></data>
- <data name="zh-CHSLayout"> <value xml:space="preserve">布局</value></data>
- <data name="zh-CHSMacros"> <value xml:space="preserve">宏</value></data>
- <data name="zh-CHSProject"> <value xml:space="preserve">项目</value></data>
- <data name="zh-CHSQuery"> <value xml:space="preserve">查询</value></data>
- <data name="zh-CHSQuery Designer"> <value xml:space="preserve">查询设计器</value></data>
- <data name="zh-CHSRefactor"> <value xml:space="preserve">重构</value></data>
- <data name="zh-CHSReport"> <value xml:space="preserve">报表</value></data>
- <data name="zh-CHSResources"> <value xml:space="preserve">资源</value></data>
- <data name="zh-CHSSchema"> <value xml:space="preserve">架构</value></data>
- <data name="zh-CHSStyles"> <value xml:space="preserve">样式</value></data>
- <data name="zh-CHSTeam"> <value xml:space="preserve">工作组</value></data>
- <data name="zh-CHSTable"> <value xml:space="preserve">表</value></data>
- <data name="zh-CHSTable Designer"> <value xml:space="preserve">表设计器</value></data>
- <data name="zh-CHSTest"> <value xml:space="preserve">测试</value></data>
- <data name="zh-CHSTools"> <value xml:space="preserve">工具</value></data>
- <data name="zh-CHSView"> <value xml:space="preserve">视图</value></data>
- <data name="zh-CHSWindow"> <value xml:space="preserve">窗口</value></data>
- <data name="zh-CHSXML"> <value xml:space="preserve">XML</value></data>
-
- <data name="zh-CHTAction"> <value xml:space="preserve">動作</value></data>
- <data name="zh-CHTAddins"> <value xml:space="preserve">增益集</value></data>
- <data name="zh-CHTBuild"> <value xml:space="preserve">建置</value></data>
- <data name="zh-CHTClass Diagram"> <value xml:space="preserve">類別圖表</value></data>
- <data name="zh-CHTCommunity"> <value xml:space="preserve">社群</value></data>
- <data name="zh-CHTData"> <value xml:space="preserve">資料</value></data>
- <data name="zh-CHTDatabase"> <value xml:space="preserve">資料庫</value></data>
- <data name="zh-CHTDatabase Diagram"><value xml:space="preserve">資料庫圖表</value></data>
- <data name="zh-CHTDebug"> <value xml:space="preserve">偵錯</value></data>
- <data name="zh-CHTAnalyze"> <value xml:space="preserve">分析</value></data>
- <data name="zh-CHTDiagram"> <value xml:space="preserve">圖表</value></data>
- <data name="zh-CHTEdit"> <value xml:space="preserve">編輯</value></data>
- <data name="zh-CHTFile"> <value xml:space="preserve">檔案</value></data>
- <data name="zh-CHTFormat"> <value xml:space="preserve">格式</value></data>
- <data name="zh-CHTFrames"> <value xml:space="preserve">框架</value></data>
- <data name="zh-CHTHelp"> <value xml:space="preserve">說明</value></data>
- <data name="zh-CHTImage"> <value xml:space="preserve">影像</value></data>
- <data name="zh-CHTLayout"> <value xml:space="preserve">配置</value></data>
- <data name="zh-CHTMacros"> <value xml:space="preserve">巨集</value></data>
- <data name="zh-CHTProject"> <value xml:space="preserve">專案</value></data>
- <data name="zh-CHTQuery"> <value xml:space="preserve">查詢</value></data>
- <data name="zh-CHTQuery Designer"> <value xml:space="preserve">查詢設計工具</value></data>
- <data name="zh-CHTRefactor"> <value xml:space="preserve">重整</value></data>
- <data name="zh-CHTReport"> <value xml:space="preserve">報表</value></data>
- <data name="zh-CHTResources"> <value xml:space="preserve">資源</value></data>
- <data name="zh-CHTSchema"> <value xml:space="preserve">結構描述</value></data>
- <data name="zh-CHTStyles"> <value xml:space="preserve">樣式</value></data>
- <data name="zh-CHTTeam"> <value xml:space="preserve">小組</value></data>
- <data name="zh-CHTTable"> <value xml:space="preserve">資料表</value></data>
- <data name="zh-CHTTable Designer"> <value xml:space="preserve">資料表設計工具</value></data>
- <data name="zh-CHTTest"> <value xml:space="preserve">測試</value></data>
- <data name="zh-CHTTools"> <value xml:space="preserve">工具</value></data>
- <data name="zh-CHTView"> <value xml:space="preserve">檢視</value></data>
- <data name="zh-CHTWindow"> <value xml:space="preserve">視窗</value></data>
- <data name="zh-CHTXML"> <value xml:space="preserve">XML</value></data>
-
-</root> \ No newline at end of file
diff --git a/Qt4VS2003/Qt4VSAddin/ExtLoader.cs b/Qt4VS2003/Qt4VSAddin/ExtLoader.cs
deleted file mode 100644
index f8ffebab..00000000
--- a/Qt4VS2003/Qt4VSAddin/ExtLoader.cs
+++ /dev/null
@@ -1,513 +0,0 @@
-/****************************************************************************
-**
-** Copyright (C) 2016 The Qt Company Ltd.
-** Contact: https://www.qt.io/licensing/
-**
-** This file is part of the Qt VS Add-in.
-**
-** $QT_BEGIN_LICENSE:GPL-EXCEPT$
-** Commercial License Usage
-** Licensees holding valid commercial Qt licenses may use this file in
-** accordance with the commercial license agreement provided with the
-** Software or, alternatively, in accordance with the terms contained in
-** a written agreement between you and The Qt Company. For licensing terms
-** and conditions see https://www.qt.io/terms-conditions. For further
-** information use the contact form at https://www.qt.io/contact-us.
-**
-** GNU General Public License Usage
-** Alternatively, this file may be used under the terms of the GNU
-** General Public License version 3 as published by the Free Software
-** Foundation with exceptions as appearing in the file LICENSE.GPL3-EXCEPT
-** included in the packaging of this file. Please review the following
-** information to ensure the GNU General Public License requirements will
-** be met: https://www.gnu.org/licenses/gpl-3.0.html.
-**
-** $QT_END_LICENSE$
-**
-****************************************************************************/
-
-using EnvDTE;
-using System;
-using System.IO;
-using System.Windows.Forms;
-using System.Diagnostics;
-using System.Text.RegularExpressions;
-using System.Runtime.InteropServices;
-using Microsoft.VisualStudio.VCProjectEngine;
-using System.Collections;
-using System.Net.Sockets;
-using System.Collections.Generic;
-using System.Threading;
-using Digia.Qt5ProjectLib;
-
-namespace Qt5VSAddin
-// --------------------------------------------------------------------------------------
-{
- public class ExtLoader
- {
-
- private struct DesignerData
- {
- public System.Diagnostics.Process process;
- public int port;
- }
-
- [DllImport("user32.dll", SetLastError = true)]
- static extern void SwitchToThisWindow(IntPtr hWnd, bool fAltTab);
-
- private static Dictionary<string, DesignerData> designerDict
- = new Dictionary<string, DesignerData>();
- private static ManualResetEvent portFound = new ManualResetEvent(false);
- private static int designerPort = 0;
-
- // Functions ------------------------------------------------------
- public ExtLoader()
- {
- }
-
- public static void ImportProFile()
- {
- QtVersionManager vm = QtVersionManager.The();
- string qtVersion = vm.GetDefaultVersion();
- string qtDir = vm.GetInstallPath(qtVersion);
- if (qtDir == null)
- {
- Messages.DisplayErrorMessage(SR.GetString("CannotFindQMake"));
- return;
- }
- VersionInformation vi = new VersionInformation(qtDir);
- if (vi.qtMajor < 5)
- {
- Messages.DisplayErrorMessage(SR.GetString("NoVSSupport"));
- return;
- }
- if (Vsix.Instance.Dte != null)
- {
- ProjectImporter proFileImporter = new ProjectImporter(Vsix.Instance.Dte);
- proFileImporter.ImportProFile(qtVersion);
- }
- }
-
- public static void ImportPriFile(EnvDTE.Project project)
- {
- VCProject vcproj;
-
- if (!HelperFunctions.IsQtProject(project))
- return;
-
- vcproj = project.Object as VCProject;
- if (vcproj == null)
- return;
-
- // make the user able to choose .pri file
- OpenFileDialog fd = new OpenFileDialog();
- fd.Multiselect = false;
- fd.CheckFileExists = true;
- fd.Title = SR.GetString("ExportProject_ImportPriFile");
- fd.Filter = "Project Include Files (*.pri)|*.pri";
- fd.FileName = vcproj.ProjectDirectory + vcproj.Name + ".pri";
-
- if (fd.ShowDialog() != DialogResult.OK)
- return;
-
- ImportPriFile(project, fd.FileName);
- }
-
- public static void ImportPriFile(EnvDTE.Project project, string fileName)
- {
- VCProject vcproj;
-
- if (!HelperFunctions.IsQtProject(project))
- return;
-
- vcproj = project.Object as VCProject;
- if (vcproj == null)
- return;
-
- QtVersionManager vm = QtVersionManager.The();
- string qtDir = vm.GetInstallPath(vm.GetDefaultVersion());
- if (qtDir == null)
- {
- Messages.DisplayErrorMessage(SR.GetString("CannotFindQMake"));
- return;
- }
-
- FileInfo priFileInfo = new FileInfo(fileName);
-
- QMakeWrapper qmake = new QMakeWrapper();
- qmake.setQtDir(qtDir);
- if (qmake.readFile(priFileInfo.FullName))
- {
- bool flat = qmake.isFlat();
- List<string> priFiles = ResolveFilesFromQMake(qmake.sourceFiles(), project, priFileInfo.DirectoryName);
- List<string> projFiles = HelperFunctions.GetProjectFiles(project, FilesToList.FL_CppFiles);
- projFiles = ProjectExporter.ConvertFilesToFullPath(projFiles, vcproj.ProjectDirectory);
- ProjectExporter.SyncIncludeFiles(vcproj, priFiles, projFiles, project.DTE, flat, Filters.SourceFiles());
-
- priFiles = ResolveFilesFromQMake(qmake.headerFiles(), project, priFileInfo.DirectoryName);
- projFiles = HelperFunctions.GetProjectFiles(project, FilesToList.FL_HFiles);
- projFiles = ProjectExporter.ConvertFilesToFullPath(projFiles, vcproj.ProjectDirectory);
- ProjectExporter.SyncIncludeFiles(vcproj, priFiles, projFiles, project.DTE, flat, Filters.HeaderFiles());
-
- priFiles = ResolveFilesFromQMake(qmake.formFiles(), project, priFileInfo.DirectoryName);
- projFiles = HelperFunctions.GetProjectFiles(project, FilesToList.FL_UiFiles);
- projFiles = ProjectExporter.ConvertFilesToFullPath(projFiles, vcproj.ProjectDirectory);
- ProjectExporter.SyncIncludeFiles(vcproj, priFiles, projFiles, project.DTE, flat, Filters.FormFiles());
-
- priFiles = ResolveFilesFromQMake(qmake.resourceFiles(), project, priFileInfo.DirectoryName);
- projFiles = HelperFunctions.GetProjectFiles(project, FilesToList.FL_Resources);
- projFiles = ProjectExporter.ConvertFilesToFullPath(projFiles, vcproj.ProjectDirectory);
- ProjectExporter.SyncIncludeFiles(vcproj, priFiles, projFiles, project.DTE, flat, Filters.ResourceFiles());
- }
- else
- {
- Messages.PaneMessage(project.DTE, "--- (Importing .pri file) file: "
- + priFileInfo + " could not be read.");
- }
- }
-
- private static List<String> ResolveFilesFromQMake(string[] files, EnvDTE.Project project, string path)
- {
- List<string> lst = new List<string>();
- foreach (string file in files)
- {
- string s = ResolveEnvironmentVariables(file, project);
- if (s == null)
- {
- Messages.PaneMessage(project.DTE, SR.GetString("ImportPriFileNotResolved", file));
- }
- else
- {
- if (!HelperFunctions.IsAbsoluteFilePath(s))
- s = path + "\\" + s;
- lst.Add(s);
- }
- }
- return lst;
- }
-
- private static string ResolveEnvironmentVariables(string str, EnvDTE.Project project)
- {
- string env = null;
- string val = null;
- Regex reg = new Regex(@"\$\(([^\s\(\)]+)\)");
- MatchCollection col = reg.Matches(str);
- for (int i = 0; i < col.Count; ++i)
- {
- env = col[i].Groups[1].ToString();
- if (env == "QTDIR")
- {
- QtVersionManager vm = QtVersionManager.The();
- val = vm.GetInstallPath(project);
- if (val == null)
- val = System.Environment.GetEnvironmentVariable(env);
- }
- else
- {
- val = System.Environment.GetEnvironmentVariable(env);
- }
- if (val == null)
- return null;
- str = str.Replace("$(" + env + ")", val);
- }
- return str;
- }
-
- public static void ExportProFile()
- {
- if (Vsix.Instance.Dte != null)
- {
- ProjectExporter proFileExporter = new ProjectExporter(Vsix.Instance.Dte);
- proFileExporter.ExportToProFile();
- }
- }
-
- public static void ExportPriFile()
- {
- EnvDTE.DTE dte = Vsix.Instance.Dte;
- if (dte != null)
- {
- ProjectExporter proFileExporter = new ProjectExporter(dte);
- proFileExporter.ExportToPriFile(HelperFunctions.GetSelectedQtProject
- (dte));
- }
- }
-
- private static System.Diagnostics.Process getQtApplicationProcess(string applicationName,
- string arguments,
- string workingDir,
- string givenQtDir)
- {
- if (!applicationName.ToLower().EndsWith(".exe"))
- applicationName += ".exe";
-
- System.Diagnostics.Process process = new System.Diagnostics.Process();
- process.StartInfo.Arguments = arguments;
- process.StartInfo.WindowStyle = ProcessWindowStyle.Normal;
-
- if (givenQtDir != null && givenQtDir.Length > 0)
- {
- process.StartInfo.FileName = givenQtDir + "\\bin\\" + applicationName;
- process.StartInfo.WorkingDirectory = workingDir;
- }
- if (!File.Exists(process.StartInfo.FileName)
- && HelperFunctions.GetSelectedQtProject(Vsix.Instance.Dte) != null)
- { // Try to find apllication in project's Qt dir first
- string path = null;
- QtVersionManager vm = QtVersionManager.The();
- Project prj = HelperFunctions.GetSelectedQtProject(Vsix.Instance.Dte);
- if (prj != null)
- path = vm.GetInstallPath(prj);
- if (path != null)
- {
- process.StartInfo.FileName = path + "\\bin\\" + applicationName;
- process.StartInfo.WorkingDirectory = workingDir;
- }
- }
-
- if (!File.Exists(process.StartInfo.FileName)) // Try with Path
- {
- process.StartInfo.FileName = HelperFunctions.FindFileInPATH(applicationName);
- if (workingDir != null)
- process.StartInfo.WorkingDirectory = workingDir;
- }
-
- if (!File.Exists(process.StartInfo.FileName)) // try to start application of the default Qt version
- {
- QtVersionManager vm = QtVersionManager.The();
- string qtDir = vm.GetInstallPath(vm.GetDefaultVersion());
- process.StartInfo.FileName = qtDir + "\\bin\\" + applicationName;
- process.StartInfo.WorkingDirectory = qtDir + "\\bin";
- }
-
- if (!File.Exists(process.StartInfo.FileName))
- return null;
-
- return process;
- }
-
- public void loadDesigner(string fileName)
- {
- Project prj = HelperFunctions.GetSelectedQtProject(Vsix.Instance.Dte);
- string qtVersion = null;
- QtVersionManager vm = QtVersionManager.The();
- if (prj != null)
- {
- qtVersion = vm.GetProjectQtVersion(prj);
- }
- else
- {
- prj = HelperFunctions.GetSelectedProject(Vsix.Instance.Dte);
- if (prj != null && HelperFunctions.IsQMakeProject(prj)) {
- string qmakeQtDir = HelperFunctions.GetQtDirFromQMakeProject(prj);
- qtVersion = vm.GetQtVersionFromInstallDir(qmakeQtDir);
- }
- }
- string qtDir = HelperFunctions.FindQtDirWithTools("designer", qtVersion);
- if (qtDir == null || qtDir.Length == 0)
- {
- MessageBox.Show(SR.GetString("NoDefaultQtVersionError"),
- Resources.msgBoxCaption);
- return;
- }
-
- try
- {
- if (!designerDict.ContainsKey(qtDir) || designerDict[qtDir].process.HasExited)
- {
- string workingDir, formFile;
- if (fileName == null)
- {
- formFile = "";
- workingDir = (prj == null) ? null : Path.GetDirectoryName(prj.FullName);
- }
- else
- {
- formFile = fileName;
- workingDir = Path.GetDirectoryName(fileName);
- if (!formFile.StartsWith("\""))
- {
- formFile = "\"" + formFile;
- }
- if (!formFile.EndsWith("\""))
- {
- formFile += "\"";
- }
- }
-
- string launchCMD = "-server " + formFile;
- System.Diagnostics.Process tmp = getQtApplicationProcess("designer", launchCMD, workingDir, qtDir);
- tmp.StartInfo.UseShellExecute = false;
- tmp.StartInfo.RedirectStandardOutput = true;
- tmp.OutputDataReceived += new DataReceivedEventHandler(designerOutputHandler);
- tmp.Start();
- tmp.BeginOutputReadLine();
- try
- {
- portFound.WaitOne(5000, false);
- }
- catch (Exception e)
- {
- MessageBox.Show(e.Message);
- }
- tmp.WaitForInputIdle();
- DesignerData data;
- data.process = tmp;
- data.port = designerPort;
- portFound.Reset();
- designerDict[qtDir] = data;
- }
- else if (fileName != null)
- {
- try
- {
- TcpClient c = new TcpClient("127.0.0.1", designerDict[qtDir].port);
- System.Text.UTF8Encoding enc = new System.Text.UTF8Encoding();
- byte[] bArray = enc.GetBytes(fileName + "\n");
- Stream stream = c.GetStream();
- stream.Write(bArray, 0, bArray.Length);
- c.Close();
- stream.Close();
- }
- catch
- {
- Messages.DisplayErrorMessage(SR.GetString("DesignerAddError"));
- }
- }
- }
- catch
- {
- MessageBox.Show(SR.GetString("QtAppNotFoundErrorMessage", "Qt Designer"),
- SR.GetString("QtAppNotFoundErrorTitle", "Designer"));
- return;
- }
- try
- {
- if ((int)designerDict[qtDir].process.MainWindowHandle == 0)
- {
- System.Diagnostics.Process prc = System.Diagnostics.Process.GetProcessById(designerDict[qtDir].process.Id);
- if ((int)prc.MainWindowHandle != 0)
- {
- DesignerData data;
- data.process = prc;
- data.port = designerDict[qtDir].port;
- designerDict[qtDir] = data;
- }
- }
- SwitchToThisWindow(designerDict[qtDir].process.MainWindowHandle, true);
- }
- catch
- {
- // silent
- }
- }
-
- private void designerOutputHandler(object sendingProcess, DataReceivedEventArgs outLine)
- {
- if (!String.IsNullOrEmpty(outLine.Data))
- {
- try
- {
- designerPort = Convert.ToInt32(outLine.Data);
- System.Diagnostics.Process tmp = sendingProcess as System.Diagnostics.Process;
- tmp.CancelOutputRead();
- portFound.Set();
- }
- catch { }
- }
- }
-
- public static void loadLinguist(string fileName)
- {
- Project prj = HelperFunctions.GetSelectedQtProject(Vsix.Instance.Dte);
- string qtVersion = null;
- QtVersionManager vm = QtVersionManager.The();
- if (prj != null)
- {
- qtVersion = vm.GetProjectQtVersion(prj);
- }
- else
- {
- prj = HelperFunctions.GetSelectedProject(Vsix.Instance.Dte);
- if (prj != null && HelperFunctions.IsQMakeProject(prj)) {
- string qmakeQtDir = HelperFunctions.GetQtDirFromQMakeProject(prj);
- qtVersion = vm.GetQtVersionFromInstallDir(qmakeQtDir);
- }
- }
- string qtDir = HelperFunctions.FindQtDirWithTools("linguist", qtVersion);
- if (qtDir == null || qtDir.Length == 0)
- {
- MessageBox.Show(SR.GetString("NoDefaultQtVersionError"),
- Resources.msgBoxCaption);
- return;
- }
-
- try
- {
- string workingDir = null;
- string arguments = null;
- if (fileName != null)
- {
- workingDir = Path.GetDirectoryName(fileName);
- arguments = fileName;
- if (!arguments.StartsWith("\""))
- {
- arguments = "\"" + arguments;
- }
- if (!arguments.EndsWith("\""))
- {
- arguments += "\"";
- }
- }
-
- System.Diagnostics.Process tmp = getQtApplicationProcess("linguist", arguments, workingDir, qtDir);
- tmp.Start();
- }
- catch
- {
- MessageBox.Show(SR.GetString("QtAppNotFoundErrorMessage", "Qt Linguist"),
- SR.GetString("QtAppNotFoundErrorTitle", "Linguist"));
- }
- }
-
- public static void loadQrcEditor(string file)
- {
- string resourceFile = null;
- if (file != null && file.Length != 0 && file.ToLower().EndsWith(".qrc"))
- resourceFile = "\"" + file + "\"";
-
- // locate qrceditor.exe in the parent directory of the installation directory
- string filename = Vsix.Instance.PkgInstallPath;
- int idx = filename.Length - 1;
- if (filename.EndsWith("\\")) idx--;
- idx = filename.LastIndexOf('\\', idx);
- if (idx > -1)
- filename = filename.Substring(0, idx + 1);
- filename += "q5rceditor.exe";
-
- System.Diagnostics.Process tmp = null;
- try
- {
- if (!File.Exists(filename))
- filename = Vsix.Instance.PkgInstallPath + "q5rceditor.exe";
-
- tmp = new System.Diagnostics.Process();
- Project prj = HelperFunctions.GetSelectedProject(Vsix.Instance.Dte);
- tmp.StartInfo.FileName = filename;
- tmp.StartInfo.Arguments = resourceFile;
- tmp.StartInfo.WorkingDirectory = Path.GetFullPath(prj.FullName);
- tmp.StartInfo.WindowStyle = ProcessWindowStyle.Normal;
- tmp.Start();
- }
- catch {
- tmp = null;
- }
-
- if (tmp == null)
- {
- MessageBox.Show(SR.GetString("QrcEditorNotFoundErrorMessage"),
- SR.GetString("QtAppNotFoundErrorTitle", "QrcEditor"));
- }
- }
- }
-}
diff --git a/Qt4VS2003/Qt4VSAddin/FormChangeQtVersion.Designer.cs b/Qt4VS2003/Qt4VSAddin/FormChangeQtVersion.Designer.cs
deleted file mode 100644
index 7bfc6748..00000000
--- a/Qt4VS2003/Qt4VSAddin/FormChangeQtVersion.Designer.cs
+++ /dev/null
@@ -1,104 +0,0 @@
-namespace Qt5VSAddin
-{
- partial class FormChangeQtVersion
- {
- /// <summary>
- /// Required designer variable.
- /// </summary>
- private System.ComponentModel.IContainer components = null;
-
- /// <summary>
- /// Clean up any resources being used.
- /// </summary>
- /// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
- protected override void Dispose(bool disposing)
- {
- if (disposing && (components != null))
- {
- components.Dispose();
- }
- base.Dispose(disposing);
- }
-
- #region Windows Form Designer generated code
-
- /// <summary>
- /// Required method for Designer support - do not modify
- /// the contents of this method with the code editor.
- /// </summary>
- private void InitializeComponent()
- {
- this.btnOK = new System.Windows.Forms.Button();
- this.btnCancel = new System.Windows.Forms.Button();
- this.lbQtVersions = new System.Windows.Forms.ListBox();
- this.lQtVersions = new System.Windows.Forms.Label();
- this.SuspendLayout();
- //
- // btnOK
- //
- this.btnOK.DialogResult = System.Windows.Forms.DialogResult.OK;
- this.btnOK.Location = new System.Drawing.Point(124, 231);
- this.btnOK.Name = "btnOK";
- this.btnOK.Size = new System.Drawing.Size(75, 23);
- this.btnOK.TabIndex = 1;
- this.btnOK.Text = "&OK";
- this.btnOK.UseVisualStyleBackColor = true;
- //
- // btnCancel
- //
- this.btnCancel.DialogResult = System.Windows.Forms.DialogResult.Cancel;
- this.btnCancel.Location = new System.Drawing.Point(205, 231);
- this.btnCancel.Name = "btnCancel";
- this.btnCancel.Size = new System.Drawing.Size(75, 23);
- this.btnCancel.TabIndex = 2;
- this.btnCancel.Text = "&Cancel";
- this.btnCancel.UseVisualStyleBackColor = true;
- //
- // lbQtVersions
- //
- this.lbQtVersions.FormattingEnabled = true;
- this.lbQtVersions.Location = new System.Drawing.Point(13, 39);
- this.lbQtVersions.Name = "lbQtVersions";
- this.lbQtVersions.Size = new System.Drawing.Size(267, 173);
- this.lbQtVersions.TabIndex = 0;
- //
- // lQtVersions
- //
- this.lQtVersions.AutoSize = true;
- this.lQtVersions.Location = new System.Drawing.Point(13, 20);
- this.lQtVersions.Name = "lQtVersions";
- this.lQtVersions.Size = new System.Drawing.Size(103, 13);
- this.lQtVersions.TabIndex = 3;
- this.lQtVersions.Text = "Installed Qt Versions";
- //
- // FormChangeQtVersion
- //
- this.AcceptButton = this.btnOK;
- this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
- this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
- this.CancelButton = this.btnCancel;
- this.ClientSize = new System.Drawing.Size(292, 266);
- this.Controls.Add(this.lQtVersions);
- this.Controls.Add(this.lbQtVersions);
- this.Controls.Add(this.btnCancel);
- this.Controls.Add(this.btnOK);
- this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;
- this.KeyPreview = true;
- this.MaximizeBox = false;
- this.MinimizeBox = false;
- this.Name = "FormChangeQtVersion";
- this.ShowInTaskbar = false;
- this.Text = "FormChangeQtVersion";
- this.ResumeLayout(false);
- this.PerformLayout();
-
- }
-
- #endregion
-
- private System.Windows.Forms.Button btnOK;
- private System.Windows.Forms.Button btnCancel;
- private System.Windows.Forms.ListBox lbQtVersions;
- private System.Windows.Forms.Label lQtVersions;
- }
-} \ No newline at end of file
diff --git a/Qt4VS2003/Qt4VSAddin/FormChangeQtVersion.cs b/Qt4VS2003/Qt4VSAddin/FormChangeQtVersion.cs
deleted file mode 100644
index d91abac5..00000000
--- a/Qt4VS2003/Qt4VSAddin/FormChangeQtVersion.cs
+++ /dev/null
@@ -1,106 +0,0 @@
-/****************************************************************************
-**
-** Copyright (C) 2016 The Qt Company Ltd.
-** Contact: https://www.qt.io/licensing/
-**
-** This file is part of the Qt VS Add-in.
-**
-** $QT_BEGIN_LICENSE:GPL-EXCEPT$
-** Commercial License Usage
-** Licensees holding valid commercial Qt licenses may use this file in
-** accordance with the commercial license agreement provided with the
-** Software or, alternatively, in accordance with the terms contained in
-** a written agreement between you and The Qt Company. For licensing terms
-** and conditions see https://www.qt.io/terms-conditions. For further
-** information use the contact form at https://www.qt.io/contact-us.
-**
-** GNU General Public License Usage
-** Alternatively, this file may be used under the terms of the GNU
-** General Public License version 3 as published by the Free Software
-** Foundation with exceptions as appearing in the file LICENSE.GPL3-EXCEPT
-** included in the packaging of this file. Please review the following
-** information to ensure the GNU General Public License requirements will
-** be met: https://www.gnu.org/licenses/gpl-3.0.html.
-**
-** $QT_END_LICENSE$
-**
-****************************************************************************/
-
-using EnvDTE;
-using System;
-using System.Windows.Forms;
-
-using Digia.Qt5ProjectLib;
-namespace Qt5VSAddin
-{
- public enum ChangeFor { Solution, Project };
-
- public partial class FormChangeQtVersion : Form
- {
-
- public FormChangeQtVersion()
- {
- InitializeComponent();
- this.btnOK.Text = SR.GetString("OK");
- this.btnCancel.Text = SR.GetString("Cancel");
- this.Text = SR.GetString("SolutionQtVersion");
- lQtVersions.Text = SR.GetString("InstalledQtVersions");
- lbQtVersions.DoubleClick += new EventHandler(lbQtVersions_DoubleClick);
- this.KeyPress += new KeyPressEventHandler(this.FormChangeQtVersion_KeyPress);
- }
-
- void lbQtVersions_DoubleClick(object sender, EventArgs e)
- {
- DialogResult = DialogResult.OK;
- Close();
- }
-
- void FormChangeQtVersion_KeyPress(object sender, KeyPressEventArgs e)
- {
- if (e.KeyChar == 27)
- {
- DialogResult = DialogResult.Cancel;
- Close();
- }
- }
-
- public void UpdateContent(ChangeFor change)
- {
- lbQtVersions.Items.Clear();
- QtVersionManager vm = QtVersionManager.The();
- foreach (string versionName in vm.GetVersions())
- {
- lbQtVersions.Items.Add(versionName);
- }
- lbQtVersions.Items.Add("$(DefaultQtVersion)");
- string qtVer = null;
- if (change == ChangeFor.Solution)
- {
- qtVer = vm.GetSolutionQtVersion(Vsix.Instance.Dte.Solution);
- if (qtVer == null)
- qtVer = vm.GetDefaultVersion();
- if (qtVer != null)
- lbQtVersions.SelectedItem = qtVer;
- this.Text = SR.GetString("SolutionQtVersion");
- }
- else
- {
- Project pro = HelperFunctions.GetSelectedProject(Vsix.Instance.Dte);
- qtVer = vm.GetProjectQtVersion(pro);
- if (qtVer == null)
- qtVer = vm.GetDefaultVersion();
- if (qtVer != null)
- lbQtVersions.SelectedItem = qtVer;
- this.Text = SR.GetString("ProjectQtVersion");
- }
- }
-
- public string GetSelectedQtVersion()
- {
- int idx = lbQtVersions.SelectedIndex;
- if (idx < 0)
- return null;
- return lbQtVersions.Items[idx].ToString();
- }
- }
-}
diff --git a/Qt4VS2003/Qt4VSAddin/FormChangeQtVersion.resx b/Qt4VS2003/Qt4VSAddin/FormChangeQtVersion.resx
deleted file mode 100644
index 19dc0dd8..00000000
--- a/Qt4VS2003/Qt4VSAddin/FormChangeQtVersion.resx
+++ /dev/null
@@ -1,120 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<root>
- <!--
- Microsoft ResX Schema
-
- Version 2.0
-
- The primary goals of this format is to allow a simple XML format
- that is mostly human readable. The generation and parsing of the
- various data types are done through the TypeConverter classes
- associated with the data types.
-
- Example:
-
- ... ado.net/XML headers & schema ...
- <resheader name="resmimetype">text/microsoft-resx</resheader>
- <resheader name="version">2.0</resheader>
- <resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
- <resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
- <data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
- <data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
- <data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
- <value>[base64 mime encoded serialized .NET Framework object]</value>
- </data>
- <data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
- <value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
- <comment>This is a comment</comment>
- </data>
-
- There are any number of "resheader" rows that contain simple
- name/value pairs.
-
- Each data row contains a name, and value. The row also contains a
- type or mimetype. Type corresponds to a .NET class that support
- text/value conversion through the TypeConverter architecture.
- Classes that don't support this are serialized and stored with the
- mimetype set.
-
- The mimetype is used for serialized objects, and tells the
- ResXResourceReader how to depersist the object. This is currently not
- extensible. For a given mimetype the value must be set accordingly:
-
- Note - application/x-microsoft.net.object.binary.base64 is the format
- that the ResXResourceWriter will generate, however the reader can
- read any of the formats listed below.
-
- mimetype: application/x-microsoft.net.object.binary.base64
- value : The object must be serialized with
- : System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
- : and then encoded with base64 encoding.
-
- mimetype: application/x-microsoft.net.object.soap.base64
- value : The object must be serialized with
- : System.Runtime.Serialization.Formatters.Soap.SoapFormatter
- : and then encoded with base64 encoding.
-
- mimetype: application/x-microsoft.net.object.bytearray.base64
- value : The object must be serialized into a byte array
- : using a System.ComponentModel.TypeConverter
- : and then encoded with base64 encoding.
- -->
- <xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
- <xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
- <xsd:element name="root" msdata:IsDataSet="true">
- <xsd:complexType>
- <xsd:choice maxOccurs="unbounded">
- <xsd:element name="metadata">
- <xsd:complexType>
- <xsd:sequence>
- <xsd:element name="value" type="xsd:string" minOccurs="0" />
- </xsd:sequence>
- <xsd:attribute name="name" use="required" type="xsd:string" />
- <xsd:attribute name="type" type="xsd:string" />
- <xsd:attribute name="mimetype" type="xsd:string" />
- <xsd:attribute ref="xml:space" />
- </xsd:complexType>
- </xsd:element>
- <xsd:element name="assembly">
- <xsd:complexType>
- <xsd:attribute name="alias" type="xsd:string" />
- <xsd:attribute name="name" type="xsd:string" />
- </xsd:complexType>
- </xsd:element>
- <xsd:element name="data">
- <xsd:complexType>
- <xsd:sequence>
- <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
- <xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
- </xsd:sequence>
- <xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
- <xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
- <xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
- <xsd:attribute ref="xml:space" />
- </xsd:complexType>
- </xsd:element>
- <xsd:element name="resheader">
- <xsd:complexType>
- <xsd:sequence>
- <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
- </xsd:sequence>
- <xsd:attribute name="name" type="xsd:string" use="required" />
- </xsd:complexType>
- </xsd:element>
- </xsd:choice>
- </xsd:complexType>
- </xsd:element>
- </xsd:schema>
- <resheader name="resmimetype">
- <value>text/microsoft-resx</value>
- </resheader>
- <resheader name="version">
- <value>2.0</value>
- </resheader>
- <resheader name="reader">
- <value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
- </resheader>
- <resheader name="writer">
- <value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
- </resheader>
-</root> \ No newline at end of file
diff --git a/Qt4VS2003/Qt4VSAddin/FormProjectQtSettings.Designer.cs b/Qt4VS2003/Qt4VSAddin/FormProjectQtSettings.Designer.cs
deleted file mode 100644
index 716b60fc..00000000
--- a/Qt4VS2003/Qt4VSAddin/FormProjectQtSettings.Designer.cs
+++ /dev/null
@@ -1,532 +0,0 @@
-namespace Qt5VSAddin
-{
- partial class FormProjectQtSettings
- {
- /// <summary>
- /// Required designer variable.
- /// </summary>
- private System.ComponentModel.IContainer components = null;
-
- /// <summary>
- /// Clean up any resources being used.
- /// </summary>
- /// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
- protected override void Dispose(bool disposing)
- {
- if (disposing && (components != null))
- {
- components.Dispose();
- }
- base.Dispose(disposing);
- }
-
- #region Windows Form Designer generated code
-
- /// <summary>
- /// Required method for Designer support - do not modify
- /// the contents of this method with the code editor.
- /// </summary>
- private void InitializeComponent()
- {
- this.OptionsPropertyGrid = new System.Windows.Forms.PropertyGrid();
- this.panel1 = new System.Windows.Forms.Panel();
- this.okButton = new System.Windows.Forms.Button();
- this.cancelButton = new System.Windows.Forms.Button();
- this.tabControl1 = new System.Windows.Forms.TabControl();
- this.tabPage1 = new System.Windows.Forms.TabPage();
- this.tabPage2 = new System.Windows.Forms.TabPage();
- this.quickWidgetsLib = new System.Windows.Forms.CheckBox();
- this.windowsExtrasLib = new System.Windows.Forms.CheckBox();
- this.webSocketsLib = new System.Windows.Forms.CheckBox();
- this.webChannelLib = new System.Windows.Forms.CheckBox();
- this.serialPortLib = new System.Windows.Forms.CheckBox();
- this.positioningLib = new System.Windows.Forms.CheckBox();
- this.nfcLib = new System.Windows.Forms.CheckBox();
- this.enginioLib = new System.Windows.Forms.CheckBox();
- this.uiToolsLib = new System.Windows.Forms.CheckBox();
- this.scriptToolsLib = new System.Windows.Forms.CheckBox();
- this.quickLib = new System.Windows.Forms.CheckBox();
- this.qmlLib = new System.Windows.Forms.CheckBox();
- this.webKitLib = new System.Windows.Forms.CheckBox();
- this.multimediaLib = new System.Windows.Forms.CheckBox();
- this.networkLib = new System.Windows.Forms.CheckBox();
- this.coreLib = new System.Windows.Forms.CheckBox();
- this.threeDLib = new System.Windows.Forms.CheckBox();
- this.guiLib = new System.Windows.Forms.CheckBox();
- this.sqlLib = new System.Windows.Forms.CheckBox();
- this.testLib = new System.Windows.Forms.CheckBox();
- this.svgLib = new System.Windows.Forms.CheckBox();
- this.multimediaWidgetsLib = new System.Windows.Forms.CheckBox();
- this.concurrentLib = new System.Windows.Forms.CheckBox();
- this.widgetsLib = new System.Windows.Forms.CheckBox();
- this.locationLib = new System.Windows.Forms.CheckBox();
- this.webkitWidgetsLib = new System.Windows.Forms.CheckBox();
- this.sensorsLib = new System.Windows.Forms.CheckBox();
- this.declarativeLib = new System.Windows.Forms.CheckBox();
- this.printSupportLib = new System.Windows.Forms.CheckBox();
- this.bluetoothLib = new System.Windows.Forms.CheckBox();
- this.helpLib = new System.Windows.Forms.CheckBox();
- this.xmlLib = new System.Windows.Forms.CheckBox();
- this.activeQtCLib = new System.Windows.Forms.CheckBox();
- this.activeQtSLib = new System.Windows.Forms.CheckBox();
- this.xmlPatternsLib = new System.Windows.Forms.CheckBox();
- this.openGLLib = new System.Windows.Forms.CheckBox();
- this.scriptLib = new System.Windows.Forms.CheckBox();
- this.panel1.SuspendLayout();
- this.tabControl1.SuspendLayout();
- this.tabPage1.SuspendLayout();
- this.tabPage2.SuspendLayout();
- this.SuspendLayout();
- //
- // OptionsPropertyGrid
- //
- this.OptionsPropertyGrid.HelpVisible = false;
- this.OptionsPropertyGrid.Location = new System.Drawing.Point(6, 6);
- this.OptionsPropertyGrid.Name = "OptionsPropertyGrid";
- this.OptionsPropertyGrid.PropertySort = System.Windows.Forms.PropertySort.Alphabetical;
- this.OptionsPropertyGrid.Size = new System.Drawing.Size(443, 213);
- this.OptionsPropertyGrid.TabIndex = 8;
- this.OptionsPropertyGrid.ToolbarVisible = false;
- //
- // panel1
- //
- this.panel1.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
- this.panel1.Controls.Add(this.okButton);
- this.panel1.Controls.Add(this.cancelButton);
- this.panel1.Location = new System.Drawing.Point(304, 388);
- this.panel1.Name = "panel1";
- this.panel1.Size = new System.Drawing.Size(168, 38);
- this.panel1.TabIndex = 9;
- //
- // okButton
- //
- this.okButton.Location = new System.Drawing.Point(8, 8);
- this.okButton.Name = "okButton";
- this.okButton.Size = new System.Drawing.Size(75, 23);
- this.okButton.TabIndex = 0;
- this.okButton.Click += new System.EventHandler(this.okButton_Click);
- //
- // cancelButton
- //
- this.cancelButton.DialogResult = System.Windows.Forms.DialogResult.Cancel;
- this.cancelButton.Location = new System.Drawing.Point(88, 8);
- this.cancelButton.Name = "cancelButton";
- this.cancelButton.Size = new System.Drawing.Size(75, 23);
- this.cancelButton.TabIndex = 1;
- //
- // tabControl1
- //
- this.tabControl1.Controls.Add(this.tabPage1);
- this.tabControl1.Controls.Add(this.tabPage2);
- this.tabControl1.Location = new System.Drawing.Point(12, 12);
- this.tabControl1.Name = "tabControl1";
- this.tabControl1.SelectedIndex = 0;
- this.tabControl1.Size = new System.Drawing.Size(463, 344);
- this.tabControl1.TabIndex = 10;
- //
- // tabPage1
- //
- this.tabPage1.BackColor = System.Drawing.SystemColors.Control;
- this.tabPage1.Controls.Add(this.OptionsPropertyGrid);
- this.tabPage1.Location = new System.Drawing.Point(4, 22);
- this.tabPage1.Name = "tabPage1";
- this.tabPage1.Padding = new System.Windows.Forms.Padding(3);
- this.tabPage1.Size = new System.Drawing.Size(455, 318);
- this.tabPage1.TabIndex = 0;
- this.tabPage1.Text = "General Settings";
- //
- // tabPage2
- //
- this.tabPage2.BackColor = System.Drawing.SystemColors.Control;
- this.tabPage2.Controls.Add(this.quickWidgetsLib);
- this.tabPage2.Controls.Add(this.windowsExtrasLib);
- this.tabPage2.Controls.Add(this.webSocketsLib);
- this.tabPage2.Controls.Add(this.webChannelLib);
- this.tabPage2.Controls.Add(this.serialPortLib);
- this.tabPage2.Controls.Add(this.positioningLib);
- this.tabPage2.Controls.Add(this.nfcLib);
- this.tabPage2.Controls.Add(this.enginioLib);
- this.tabPage2.Controls.Add(this.uiToolsLib);
- this.tabPage2.Controls.Add(this.scriptToolsLib);
- this.tabPage2.Controls.Add(this.quickLib);
- this.tabPage2.Controls.Add(this.qmlLib);
- this.tabPage2.Controls.Add(this.webKitLib);
- this.tabPage2.Controls.Add(this.multimediaLib);
- this.tabPage2.Controls.Add(this.networkLib);
- this.tabPage2.Controls.Add(this.coreLib);
- this.tabPage2.Controls.Add(this.threeDLib);
- this.tabPage2.Controls.Add(this.guiLib);
- this.tabPage2.Controls.Add(this.sqlLib);
- this.tabPage2.Controls.Add(this.testLib);
- this.tabPage2.Controls.Add(this.svgLib);
- this.tabPage2.Controls.Add(this.multimediaWidgetsLib);
- this.tabPage2.Controls.Add(this.concurrentLib);
- this.tabPage2.Controls.Add(this.widgetsLib);
- this.tabPage2.Controls.Add(this.locationLib);
- this.tabPage2.Controls.Add(this.webkitWidgetsLib);
- this.tabPage2.Controls.Add(this.sensorsLib);
- this.tabPage2.Controls.Add(this.declarativeLib);
- this.tabPage2.Controls.Add(this.printSupportLib);
- this.tabPage2.Controls.Add(this.bluetoothLib);
- this.tabPage2.Controls.Add(this.helpLib);
- this.tabPage2.Controls.Add(this.xmlLib);
- this.tabPage2.Controls.Add(this.activeQtCLib);
- this.tabPage2.Controls.Add(this.activeQtSLib);
- this.tabPage2.Controls.Add(this.xmlPatternsLib);
- this.tabPage2.Controls.Add(this.openGLLib);
- this.tabPage2.Controls.Add(this.scriptLib);
- this.tabPage2.Location = new System.Drawing.Point(4, 22);
- this.tabPage2.Name = "tabPage2";
- this.tabPage2.Padding = new System.Windows.Forms.Padding(3);
- this.tabPage2.Size = new System.Drawing.Size(455, 318);
- this.tabPage2.TabIndex = 1;
- this.tabPage2.Text = "Add/Remove Qt Modules";
- //
- // quickWidgetsLib
- //
- this.quickWidgetsLib.Location = new System.Drawing.Point(150, 171);
- this.quickWidgetsLib.Name = "quickWidgetsLib";
- this.quickWidgetsLib.Size = new System.Drawing.Size(128, 24);
- this.quickWidgetsLib.TabIndex = 49;
- this.quickWidgetsLib.UseVisualStyleBackColor = true;
- //
- // windowsExtrasLib
- //
- this.windowsExtrasLib.Location = new System.Drawing.Point(294, 195);
- this.windowsExtrasLib.Name = "windowsExtrasLib";
- this.windowsExtrasLib.Size = new System.Drawing.Size(135, 24);
- this.windowsExtrasLib.TabIndex = 63;
- this.windowsExtrasLib.UseVisualStyleBackColor = true;
- //
- // webSocketsLib
- //
- this.webSocketsLib.Location = new System.Drawing.Point(294, 147);
- this.webSocketsLib.Name = "webSocketsLib";
- this.webSocketsLib.Size = new System.Drawing.Size(135, 24);
- this.webSocketsLib.TabIndex = 61;
- this.webSocketsLib.UseVisualStyleBackColor = true;
- //
- // webChannelLib
- //
- this.webChannelLib.Location = new System.Drawing.Point(294, 75);
- this.webChannelLib.Name = "webChannelLib";
- this.webChannelLib.Size = new System.Drawing.Size(111, 24);
- this.webChannelLib.TabIndex = 58;
- //
- // serialPortLib
- //
- this.serialPortLib.Location = new System.Drawing.Point(150, 267);
- this.serialPortLib.Name = "serialPortLib";
- this.serialPortLib.Size = new System.Drawing.Size(135, 24);
- this.serialPortLib.TabIndex = 53;
- this.serialPortLib.UseVisualStyleBackColor = true;
- //
- // positioningLib
- //
- this.positioningLib.Location = new System.Drawing.Point(150, 75);
- this.positioningLib.Name = "positioningLib";
- this.positioningLib.Size = new System.Drawing.Size(120, 24);
- this.positioningLib.TabIndex = 45;
- //
- // nfcLib
- //
- this.nfcLib.Location = new System.Drawing.Point(150, 27);
- this.nfcLib.Name = "nfcLib";
- this.nfcLib.Size = new System.Drawing.Size(128, 24);
- this.nfcLib.TabIndex = 43;
- //
- // enginioLib
- //
- this.enginioLib.Location = new System.Drawing.Point(6, 147);
- this.enginioLib.Name = "enginioLib";
- this.enginioLib.Size = new System.Drawing.Size(128, 24);
- this.enginioLib.TabIndex = 35;
- //
- // uiToolsLib
- //
- this.uiToolsLib.Location = new System.Drawing.Point(294, 51);
- this.uiToolsLib.Name = "uiToolsLib";
- this.uiToolsLib.Size = new System.Drawing.Size(135, 24);
- this.uiToolsLib.TabIndex = 57;
- this.uiToolsLib.UseVisualStyleBackColor = true;
- //
- // scriptToolsLib
- //
- this.scriptToolsLib.Location = new System.Drawing.Point(150, 219);
- this.scriptToolsLib.Name = "scriptToolsLib";
- this.scriptToolsLib.Size = new System.Drawing.Size(135, 24);
- this.scriptToolsLib.TabIndex = 51;
- this.scriptToolsLib.UseVisualStyleBackColor = true;
- //
- // quickLib
- //
- this.quickLib.Location = new System.Drawing.Point(150, 147);
- this.quickLib.Name = "quickLib";
- this.quickLib.Size = new System.Drawing.Size(128, 24);
- this.quickLib.TabIndex = 48;
- this.quickLib.UseVisualStyleBackColor = true;
- //
- // qmlLib
- //
- this.qmlLib.Location = new System.Drawing.Point(150, 123);
- this.qmlLib.Name = "qmlLib";
- this.qmlLib.Size = new System.Drawing.Size(128, 24);
- this.qmlLib.TabIndex = 47;
- this.qmlLib.UseVisualStyleBackColor = true;
- //
- // webKitLib
- //
- this.webKitLib.Location = new System.Drawing.Point(294, 99);
- this.webKitLib.Name = "webKitLib";
- this.webKitLib.Size = new System.Drawing.Size(111, 24);
- this.webKitLib.TabIndex = 59;
- //
- // multimediaLib
- //
- this.multimediaLib.Location = new System.Drawing.Point(6, 267);
- this.multimediaLib.Name = "multimediaLib";
- this.multimediaLib.Size = new System.Drawing.Size(128, 24);
- this.multimediaLib.TabIndex = 40;
- //
- // networkLib
- //
- this.networkLib.Location = new System.Drawing.Point(150, 3);
- this.networkLib.Name = "networkLib";
- this.networkLib.Size = new System.Drawing.Size(128, 24);
- this.networkLib.TabIndex = 42;
- //
- // coreLib
- //
- this.coreLib.Location = new System.Drawing.Point(6, 123);
- this.coreLib.Name = "coreLib";
- this.coreLib.Size = new System.Drawing.Size(128, 24);
- this.coreLib.TabIndex = 34;
- //
- // threeDLib
- //
- this.threeDLib.Location = new System.Drawing.Point(6, 3);
- this.threeDLib.Name = "threeDLib";
- this.threeDLib.Size = new System.Drawing.Size(128, 24);
- this.threeDLib.TabIndex = 29;
- this.threeDLib.UseVisualStyleBackColor = true;
- //
- // guiLib
- //
- this.guiLib.Location = new System.Drawing.Point(6, 195);
- this.guiLib.Name = "guiLib";
- this.guiLib.Size = new System.Drawing.Size(135, 24);
- this.guiLib.TabIndex = 37;
- //
- // sqlLib
- //
- this.sqlLib.Location = new System.Drawing.Point(150, 291);
- this.sqlLib.Name = "sqlLib";
- this.sqlLib.Size = new System.Drawing.Size(111, 24);
- this.sqlLib.TabIndex = 54;
- //
- // testLib
- //
- this.testLib.Location = new System.Drawing.Point(294, 27);
- this.testLib.Name = "testLib";
- this.testLib.Size = new System.Drawing.Size(111, 24);
- this.testLib.TabIndex = 56;
- //
- // svgLib
- //
- this.svgLib.Location = new System.Drawing.Point(294, 3);
- this.svgLib.Name = "svgLib";
- this.svgLib.Size = new System.Drawing.Size(118, 24);
- this.svgLib.TabIndex = 55;
- //
- // multimediaWidgetsLib
- //
- this.multimediaWidgetsLib.Location = new System.Drawing.Point(6, 291);
- this.multimediaWidgetsLib.Name = "multimediaWidgetsLib";
- this.multimediaWidgetsLib.Size = new System.Drawing.Size(118, 24);
- this.multimediaWidgetsLib.TabIndex = 41;
- this.multimediaWidgetsLib.UseVisualStyleBackColor = true;
- //
- // concurrentLib
- //
- this.concurrentLib.Location = new System.Drawing.Point(6, 99);
- this.concurrentLib.Name = "concurrentLib";
- this.concurrentLib.Size = new System.Drawing.Size(128, 24);
- this.concurrentLib.TabIndex = 33;
- this.concurrentLib.UseVisualStyleBackColor = true;
- //
- // widgetsLib
- //
- this.widgetsLib.Location = new System.Drawing.Point(294, 171);
- this.widgetsLib.Name = "widgetsLib";
- this.widgetsLib.Size = new System.Drawing.Size(135, 24);
- this.widgetsLib.TabIndex = 62;
- this.widgetsLib.UseVisualStyleBackColor = true;
- //
- // locationLib
- //
- this.locationLib.Location = new System.Drawing.Point(6, 243);
- this.locationLib.Name = "locationLib";
- this.locationLib.Size = new System.Drawing.Size(128, 24);
- this.locationLib.TabIndex = 39;
- this.locationLib.UseVisualStyleBackColor = true;
- //
- // webkitWidgetsLib
- //
- this.webkitWidgetsLib.Location = new System.Drawing.Point(294, 123);
- this.webkitWidgetsLib.Name = "webkitWidgetsLib";
- this.webkitWidgetsLib.Size = new System.Drawing.Size(135, 24);
- this.webkitWidgetsLib.TabIndex = 60;
- this.webkitWidgetsLib.UseVisualStyleBackColor = true;
- //
- // sensorsLib
- //
- this.sensorsLib.Location = new System.Drawing.Point(150, 243);
- this.sensorsLib.Name = "sensorsLib";
- this.sensorsLib.Size = new System.Drawing.Size(135, 24);
- this.sensorsLib.TabIndex = 52;
- this.sensorsLib.UseVisualStyleBackColor = true;
- //
- // declarativeLib
- //
- this.declarativeLib.Location = new System.Drawing.Point(6, 171);
- this.declarativeLib.Name = "declarativeLib";
- this.declarativeLib.Size = new System.Drawing.Size(135, 24);
- this.declarativeLib.TabIndex = 36;
- this.declarativeLib.UseVisualStyleBackColor = true;
- //
- // printSupportLib
- //
- this.printSupportLib.Location = new System.Drawing.Point(150, 99);
- this.printSupportLib.Name = "printSupportLib";
- this.printSupportLib.Size = new System.Drawing.Size(135, 24);
- this.printSupportLib.TabIndex = 46;
- this.printSupportLib.UseVisualStyleBackColor = true;
- //
- // bluetoothLib
- //
- this.bluetoothLib.Location = new System.Drawing.Point(6, 75);
- this.bluetoothLib.Name = "bluetoothLib";
- this.bluetoothLib.Size = new System.Drawing.Size(137, 24);
- this.bluetoothLib.TabIndex = 32;
- this.bluetoothLib.UseVisualStyleBackColor = true;
- //
- // helpLib
- //
- this.helpLib.Location = new System.Drawing.Point(6, 219);
- this.helpLib.Name = "helpLib";
- this.helpLib.Size = new System.Drawing.Size(128, 24);
- this.helpLib.TabIndex = 38;
- //
- // xmlLib
- //
- this.xmlLib.Location = new System.Drawing.Point(294, 219);
- this.xmlLib.Name = "xmlLib";
- this.xmlLib.Size = new System.Drawing.Size(118, 24);
- this.xmlLib.TabIndex = 64;
- //
- // activeQtCLib
- //
- this.activeQtCLib.Location = new System.Drawing.Point(6, 27);
- this.activeQtCLib.Name = "activeQtCLib";
- this.activeQtCLib.Size = new System.Drawing.Size(128, 24);
- this.activeQtCLib.TabIndex = 30;
- //
- // activeQtSLib
- //
- this.activeQtSLib.Location = new System.Drawing.Point(6, 51);
- this.activeQtSLib.Name = "activeQtSLib";
- this.activeQtSLib.Size = new System.Drawing.Size(120, 24);
- this.activeQtSLib.TabIndex = 31;
- //
- // xmlPatternsLib
- //
- this.xmlPatternsLib.Location = new System.Drawing.Point(294, 243);
- this.xmlPatternsLib.Name = "xmlPatternsLib";
- this.xmlPatternsLib.Size = new System.Drawing.Size(118, 24);
- this.xmlPatternsLib.TabIndex = 65;
- //
- // openGLLib
- //
- this.openGLLib.Location = new System.Drawing.Point(150, 51);
- this.openGLLib.Name = "openGLLib";
- this.openGLLib.Size = new System.Drawing.Size(120, 24);
- this.openGLLib.TabIndex = 44;
- //
- // scriptLib
- //
- this.scriptLib.Location = new System.Drawing.Point(150, 195);
- this.scriptLib.Name = "scriptLib";
- this.scriptLib.Size = new System.Drawing.Size(128, 24);
- this.scriptLib.TabIndex = 50;
- //
- // FormProjectQtSettings
- //
- this.AcceptButton = this.okButton;
- this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
- this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
- this.CancelButton = this.cancelButton;
- this.ClientSize = new System.Drawing.Size(481, 438);
- this.Controls.Add(this.tabControl1);
- this.Controls.Add(this.panel1);
- this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;
- this.KeyPreview = true;
- this.MaximizeBox = false;
- this.Name = "FormProjectQtSettings";
- this.ShowInTaskbar = false;
- this.Text = "FormAddinSettings";
- this.panel1.ResumeLayout(false);
- this.tabControl1.ResumeLayout(false);
- this.tabPage1.ResumeLayout(false);
- this.tabPage2.ResumeLayout(false);
- this.ResumeLayout(false);
-
- }
-
- #endregion
-
- private System.Windows.Forms.PropertyGrid OptionsPropertyGrid;
- private System.Windows.Forms.Panel panel1;
- private System.Windows.Forms.Button okButton;
- private System.Windows.Forms.Button cancelButton;
- private System.Windows.Forms.TabControl tabControl1;
- private System.Windows.Forms.TabPage tabPage1;
- private System.Windows.Forms.TabPage tabPage2;
- private System.Windows.Forms.CheckBox uiToolsLib;
- private System.Windows.Forms.CheckBox scriptToolsLib;
- private System.Windows.Forms.CheckBox quickLib;
- private System.Windows.Forms.CheckBox qmlLib;
- private System.Windows.Forms.CheckBox webKitLib;
- private System.Windows.Forms.CheckBox multimediaLib;
- private System.Windows.Forms.CheckBox networkLib;
- private System.Windows.Forms.CheckBox coreLib;
- private System.Windows.Forms.CheckBox threeDLib;
- private System.Windows.Forms.CheckBox guiLib;
- private System.Windows.Forms.CheckBox sqlLib;
- private System.Windows.Forms.CheckBox testLib;
- private System.Windows.Forms.CheckBox svgLib;
- private System.Windows.Forms.CheckBox multimediaWidgetsLib;
- private System.Windows.Forms.CheckBox concurrentLib;
- private System.Windows.Forms.CheckBox widgetsLib;
- private System.Windows.Forms.CheckBox locationLib;
- private System.Windows.Forms.CheckBox webkitWidgetsLib;
- private System.Windows.Forms.CheckBox sensorsLib;
- private System.Windows.Forms.CheckBox declarativeLib;
- private System.Windows.Forms.CheckBox printSupportLib;
- private System.Windows.Forms.CheckBox bluetoothLib;
- private System.Windows.Forms.CheckBox helpLib;
- private System.Windows.Forms.CheckBox xmlLib;
- private System.Windows.Forms.CheckBox activeQtCLib;
- private System.Windows.Forms.CheckBox activeQtSLib;
- private System.Windows.Forms.CheckBox xmlPatternsLib;
- private System.Windows.Forms.CheckBox openGLLib;
- private System.Windows.Forms.CheckBox scriptLib;
- private System.Windows.Forms.CheckBox enginioLib;
- private System.Windows.Forms.CheckBox nfcLib;
- private System.Windows.Forms.CheckBox positioningLib;
- private System.Windows.Forms.CheckBox serialPortLib;
- private System.Windows.Forms.CheckBox webChannelLib;
- private System.Windows.Forms.CheckBox webSocketsLib;
- private System.Windows.Forms.CheckBox windowsExtrasLib;
- private System.Windows.Forms.CheckBox quickWidgetsLib;
- }
-} \ No newline at end of file
diff --git a/Qt4VS2003/Qt4VSAddin/FormProjectQtSettings.cs b/Qt4VS2003/Qt4VSAddin/FormProjectQtSettings.cs
deleted file mode 100644
index 3ad5175b..00000000
--- a/Qt4VS2003/Qt4VSAddin/FormProjectQtSettings.cs
+++ /dev/null
@@ -1,238 +0,0 @@
-/****************************************************************************
-**
-** Copyright (C) 2016 The Qt Company Ltd.
-** Contact: https://www.qt.io/licensing/
-**
-** This file is part of the Qt VS Add-in.
-**
-** $QT_BEGIN_LICENSE:GPL-EXCEPT$
-** Commercial License Usage
-** Licensees holding valid commercial Qt licenses may use this file in
-** accordance with the commercial license agreement provided with the
-** Software or, alternatively, in accordance with the terms contained in
-** a written agreement between you and The Qt Company. For licensing terms
-** and conditions see https://www.qt.io/terms-conditions. For further
-** information use the contact form at https://www.qt.io/contact-us.
-**
-** GNU General Public License Usage
-** Alternatively, this file may be used under the terms of the GNU
-** General Public License version 3 as published by the Free Software
-** Foundation with exceptions as appearing in the file LICENSE.GPL3-EXCEPT
-** included in the packaging of this file. Please review the following
-** information to ensure the GNU General Public License requirements will
-** be met: https://www.gnu.org/licenses/gpl-3.0.html.
-**
-** $QT_END_LICENSE$
-**
-****************************************************************************/
-
-using System;
-using System.Windows.Forms;
-using System.Collections.Generic;
-using EnvDTE;
-
-
-using Digia.Qt5ProjectLib;
-namespace Qt5VSAddin
-{
- public partial class FormProjectQtSettings : Form
- {
- private Project project;
- private QtProject qtProject;
- private ProjectQtSettings qtSettings = null;
-
- private struct ModuleMapItem
- {
- public CheckBox checkbox;
- public QtModule moduleId;
- public bool initialValue;
-
- public ModuleMapItem(CheckBox cb, QtModule mid)
- {
- checkbox = cb;
- moduleId = mid;
- initialValue = false;
- }
- }
-
- private List<ModuleMapItem> moduleMap = new List<ModuleMapItem>();
-
- public FormProjectQtSettings()
- {
- InitializeComponent();
- okButton.Text = SR.GetString("OK");
- cancelButton.Text = SR.GetString("Cancel");
- tabControl1.TabPages[0].Text = this.Text = SR.GetString("ActionDialog_Properties");
- tabControl1.TabPages[1].Text = this.Text = SR.GetString("QtModules");
- this.activeQtCLib.Text = SR.GetString("ActiveQtContainerLibrary");
- this.activeQtSLib.Text = SR.GetString("ActiveQtServerLibrary");
- this.testLib.Text = SR.GetString("TestLibrary");
- this.svgLib.Text = SR.GetString("SVGLibrary");
- this.xmlLib.Text = SR.GetString("XMLLibrary");
- this.networkLib.Text = SR.GetString("NetworkLibrary");
- this.openGLLib.Text = SR.GetString("OpenGLLibrary");
- this.sqlLib.Text = SR.GetString("SQLLibrary");
- this.guiLib.Text = SR.GetString("GUILibrary");
- this.multimediaLib.Text = SR.GetString("MultimediaLibrary");
- this.coreLib.Text = SR.GetString("CoreLibrary");
- this.Text = SR.GetString("ProjectQtSettingsButtonText");
- this.scriptLib.Text = SR.GetString("ScriptLibrary");
- this.helpLib.Text = SR.GetString("HelpLibrary");
- this.webKitLib.Text = SR.GetString("WebKitLibrary");
- this.xmlPatternsLib.Text = SR.GetString("XmlPatternsLibrary");
- this.scriptToolsLib.Text = SR.GetString("ScriptToolsLibrary");
- this.uiToolsLib.Text = SR.GetString("UiToolsLibrary");
-
- threeDLib.Text = SR.GetString("3DLibrary");
- locationLib.Text = SR.GetString("LocationLibrary");
- qmlLib.Text = SR.GetString("QmlLibrary");
- quickLib.Text = SR.GetString("QuickLibrary");
- bluetoothLib.Text = SR.GetString("BluetoothLibrary");
- printSupportLib.Text = SR.GetString("PrintSupportLibrary");
- declarativeLib.Text = SR.GetString("DeclarativeLibrary");
- sensorsLib.Text = SR.GetString("SensorsLibrary");
- webkitWidgetsLib.Text = SR.GetString("WebkitWidgetsLibrary");
- widgetsLib.Text = SR.GetString("WidgetsLibrary");
-
- concurrentLib.Text = SR.GetString("ConcurrentLibrary");
- multimediaWidgetsLib.Text = SR.GetString("MultimediaWidgetsLibrary");
-
- enginioLib.Text = SR.GetString("EnginioLibrary");
- nfcLib.Text = SR.GetString("NfcLibrary");
- positioningLib.Text = SR.GetString("PositioningLibrary");
- serialPortLib.Text = SR.GetString("SerialPortLibrary");
- webChannelLib.Text = SR.GetString("WebChannelLibrary");
- webSocketsLib.Text = SR.GetString("WebSocketsLibrary");
- windowsExtrasLib.Text = SR.GetString("WindowsExtrasLibrary");
- quickWidgetsLib.Text = SR.GetString("QuickWidgetsLibrary");
-
- // essentials
- AddMapping(threeDLib, QtModule.ThreeD);
- AddMapping(coreLib, QtModule.Core);
- AddMapping(guiLib, QtModule.Gui);
- AddMapping(locationLib, QtModule.Location);
- AddMapping(multimediaLib, QtModule.Multimedia);
- AddMapping(networkLib, QtModule.Network);
- AddMapping(qmlLib, QtModule.Qml);
- AddMapping(quickLib, QtModule.Quick);
- AddMapping(sqlLib, QtModule.Sql);
- AddMapping(testLib, QtModule.Test);
- AddMapping(webKitLib, QtModule.WebKit);
-
- // add-ons
- AddMapping(activeQtCLib, QtModule.ActiveQtC);
- AddMapping(activeQtSLib, QtModule.ActiveQtS);
- AddMapping(bluetoothLib, QtModule.Bluetooth);
- AddMapping(helpLib, QtModule.Help);
- AddMapping(openGLLib, QtModule.OpenGL);
- AddMapping(scriptToolsLib, QtModule.ScriptTools);
- AddMapping(uiToolsLib, QtModule.UiTools);
- AddMapping(printSupportLib, QtModule.PrintSupport);
- AddMapping(declarativeLib, QtModule.Declarative);
- AddMapping(scriptLib, QtModule.Script);
- AddMapping(sensorsLib, QtModule.Sensors);
- AddMapping(svgLib, QtModule.Svg);
- AddMapping(webkitWidgetsLib, QtModule.WebkitWidgets);
- AddMapping(widgetsLib, QtModule.Widgets);
- AddMapping(xmlLib, QtModule.Xml);
- AddMapping(xmlPatternsLib, QtModule.XmlPatterns);
-
- AddMapping(concurrentLib, QtModule.Concurrent);
- AddMapping(multimediaWidgetsLib, QtModule.MultimediaWidgets);
-
- AddMapping(enginioLib, QtModule.Enginio);
- AddMapping(nfcLib, QtModule.Nfc);
- AddMapping(positioningLib, QtModule.Positioning);
- AddMapping(serialPortLib, QtModule.SerialPort);
- AddMapping(webChannelLib, QtModule.WebChannel);
- AddMapping(webSocketsLib, QtModule.WebSockets);
- AddMapping(windowsExtrasLib, QtModule.WindowsExtras);
- AddMapping(quickWidgetsLib, QtModule.QuickWidgets);
-
-
- FormBorderStyle = FormBorderStyle.FixedDialog;
- this.KeyPress += new KeyPressEventHandler(this.FormProjectQtSettings_KeyPress);
- }
-
- private void AddMapping(CheckBox checkbox, QtModule moduleId)
- {
- moduleMap.Add(new ModuleMapItem(checkbox, moduleId));
- }
-
- public void SetProject(Project pro)
- {
- project = pro;
- qtProject = QtProject.Create(project);
- InitModules();
- qtSettings = new ProjectQtSettings(project);
- OptionsPropertyGrid.SelectedObject = qtSettings;
- }
-
- private void FormProjectQtSettings_KeyPress(object sender, KeyPressEventArgs e)
- {
- if (e.KeyChar == 27)
- {
- DialogResult = DialogResult.Cancel;
- Close();
- }
- }
-
- private void okButton_Click(object sender, EventArgs e)
- {
- qtSettings.SaveSettings();
- saveModules();
- this.okButton.DialogResult = DialogResult.OK;
- this.Close();
- }
-
- private void InitModules()
- {
- QtVersionManager versionManager = QtVersionManager.The();
- string qtVersion = qtProject.GetQtVersion();
- string install_path = versionManager.GetInstallPath(qtVersion);
-
- for (int i = 0; i < moduleMap.Count; ++i)
- {
- ModuleMapItem item = moduleMap[i];
- item.initialValue = qtProject.HasModule(item.moduleId);
- item.checkbox.Checked = item.initialValue;
- moduleMap[i] = item;
-
- // Disable if module not installed
- QtModuleInfo info = QtModules.Instance.ModuleInformation(item.moduleId);
- string libraryPrefix = info.LibraryPrefix;
- if (libraryPrefix.StartsWith("Qt"))
- {
- libraryPrefix = "Qt5" + libraryPrefix.Substring(2);
- }
- string full_path = install_path + "\\lib\\" + libraryPrefix + ".lib";
- System.IO.FileInfo fi = new System.IO.FileInfo(full_path);
- item.checkbox.Enabled = fi.Exists;
- if (fi.Exists == false)
- {
- // Don't disable item if qtVersion not available
- if (qtVersion != null)
- item.checkbox.Checked = false;
- }
- }
- }
-
- private void saveModules()
- {
- qtProject = QtProject.Create(project);
- for (int i = 0; i < moduleMap.Count; ++i)
- {
- ModuleMapItem item = moduleMap[i];
- bool isModuleChecked = item.checkbox.Checked;
- if (isModuleChecked != item.initialValue)
- {
- if (isModuleChecked)
- qtProject.AddModule(item.moduleId);
- else
- qtProject.RemoveModule(item.moduleId);
- }
- }
- }
-
- }
-}
diff --git a/Qt4VS2003/Qt4VSAddin/FormProjectQtSettings.resx b/Qt4VS2003/Qt4VSAddin/FormProjectQtSettings.resx
deleted file mode 100644
index d58980a3..00000000
--- a/Qt4VS2003/Qt4VSAddin/FormProjectQtSettings.resx
+++ /dev/null
@@ -1,120 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<root>
- <!--
- Microsoft ResX Schema
-
- Version 2.0
-
- The primary goals of this format is to allow a simple XML format
- that is mostly human readable. The generation and parsing of the
- various data types are done through the TypeConverter classes
- associated with the data types.
-
- Example:
-
- ... ado.net/XML headers & schema ...
- <resheader name="resmimetype">text/microsoft-resx</resheader>
- <resheader name="version">2.0</resheader>
- <resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
- <resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
- <data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
- <data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
- <data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
- <value>[base64 mime encoded serialized .NET Framework object]</value>
- </data>
- <data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
- <value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
- <comment>This is a comment</comment>
- </data>
-
- There are any number of "resheader" rows that contain simple
- name/value pairs.
-
- Each data row contains a name, and value. The row also contains a
- type or mimetype. Type corresponds to a .NET class that support
- text/value conversion through the TypeConverter architecture.
- Classes that don't support this are serialized and stored with the
- mimetype set.
-
- The mimetype is used for serialized objects, and tells the
- ResXResourceReader how to depersist the object. This is currently not
- extensible. For a given mimetype the value must be set accordingly:
-
- Note - application/x-microsoft.net.object.binary.base64 is the format
- that the ResXResourceWriter will generate, however the reader can
- read any of the formats listed below.
-
- mimetype: application/x-microsoft.net.object.binary.base64
- value : The object must be serialized with
- : System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
- : and then encoded with base64 encoding.
-
- mimetype: application/x-microsoft.net.object.soap.base64
- value : The object must be serialized with
- : System.Runtime.Serialization.Formatters.Soap.SoapFormatter
- : and then encoded with base64 encoding.
-
- mimetype: application/x-microsoft.net.object.bytearray.base64
- value : The object must be serialized into a byte array
- : using a System.ComponentModel.TypeConverter
- : and then encoded with base64 encoding.
- -->
- <xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
- <xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
- <xsd:element name="root" msdata:IsDataSet="true">
- <xsd:complexType>
- <xsd:choice maxOccurs="unbounded">
- <xsd:element name="metadata">
- <xsd:complexType>
- <xsd:sequence>
- <xsd:element name="value" type="xsd:string" minOccurs="0" />
- </xsd:sequence>
- <xsd:attribute name="name" use="required" type="xsd:string" />
- <xsd:attribute name="type" type="xsd:string" />
- <xsd:attribute name="mimetype" type="xsd:string" />
- <xsd:attribute ref="xml:space" />
- </xsd:complexType>
- </xsd:element>
- <xsd:element name="assembly">
- <xsd:complexType>
- <xsd:attribute name="alias" type="xsd:string" />
- <xsd:attribute name="name" type="xsd:string" />
- </xsd:complexType>
- </xsd:element>
- <xsd:element name="data">
- <xsd:complexType>
- <xsd:sequence>
- <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
- <xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
- </xsd:sequence>
- <xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
- <xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
- <xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
- <xsd:attribute ref="xml:space" />
- </xsd:complexType>
- </xsd:element>
- <xsd:element name="resheader">
- <xsd:complexType>
- <xsd:sequence>
- <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
- </xsd:sequence>
- <xsd:attribute name="name" type="xsd:string" use="required" />
- </xsd:complexType>
- </xsd:element>
- </xsd:choice>
- </xsd:complexType>
- </xsd:element>
- </xsd:schema>
- <resheader name="resmimetype">
- <value>text/microsoft-resx</value>
- </resheader>
- <resheader name="version">
- <value>2.0</value>
- </resheader>
- <resheader name="reader">
- <value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
- </resheader>
- <resheader name="writer">
- <value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
- </resheader>
-</root> \ No newline at end of file
diff --git a/Qt4VS2003/Qt4VSAddin/FormVSQtSettings.Designer.cs b/Qt4VS2003/Qt4VSAddin/FormVSQtSettings.Designer.cs
deleted file mode 100644
index 0aa4116c..00000000
--- a/Qt4VS2003/Qt4VSAddin/FormVSQtSettings.Designer.cs
+++ /dev/null
@@ -1,202 +0,0 @@
-namespace Qt5VSAddin
-{
- partial class FormVSQtSettings
- {
- /// <summary>
- /// Required designer variable.
- /// </summary>
- private System.ComponentModel.IContainer components = null;
-
- /// <summary>
- /// Clean up any resources being used.
- /// </summary>
- /// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
- protected override void Dispose(bool disposing)
- {
- if (disposing && (components != null))
- {
- components.Dispose();
- }
- base.Dispose(disposing);
- }
-
- #region Windows Form Designer generated code
-
- /// <summary>
- /// Required method for Designer support - do not modify
- /// the contents of this method with the code editor.
- /// </summary>
- private void InitializeComponent()
- {
- this.okButton = new System.Windows.Forms.Button();
- this.cancelButton = new System.Windows.Forms.Button();
- this.tabControl1 = new System.Windows.Forms.TabControl();
- this.tabPage1 = new System.Windows.Forms.TabPage();
- this.defaultCombo = new System.Windows.Forms.ComboBox();
- this.label2 = new System.Windows.Forms.Label();
- this.deleteButton = new System.Windows.Forms.Button();
- this.addButton = new System.Windows.Forms.Button();
- this.listView = new System.Windows.Forms.ListView();
- this.tabPage2 = new System.Windows.Forms.TabPage();
- this.optionsPropertyGrid = new System.Windows.Forms.PropertyGrid();
- this.tabControl1.SuspendLayout();
- this.tabPage1.SuspendLayout();
- this.tabPage2.SuspendLayout();
- this.SuspendLayout();
- //
- // okButton
- //
- this.okButton.DialogResult = System.Windows.Forms.DialogResult.OK;
- this.okButton.Location = new System.Drawing.Point(247, 287);
- this.okButton.Name = "okButton";
- this.okButton.Size = new System.Drawing.Size(80, 24);
- this.okButton.TabIndex = 18;
- this.okButton.Text = "&OK";
- this.okButton.UseVisualStyleBackColor = true;
- this.okButton.Click += new System.EventHandler(this.okButton_Click);
- //
- // cancelButton
- //
- this.cancelButton.DialogResult = System.Windows.Forms.DialogResult.Cancel;
- this.cancelButton.Location = new System.Drawing.Point(337, 287);
- this.cancelButton.Name = "cancelButton";
- this.cancelButton.Size = new System.Drawing.Size(75, 23);
- this.cancelButton.TabIndex = 19;
- this.cancelButton.Text = "&Cancel";
- this.cancelButton.UseVisualStyleBackColor = true;
- this.cancelButton.Click += new System.EventHandler(this.cancelButton_Click);
- //
- // tabControl1
- //
- this.tabControl1.Controls.Add(this.tabPage1);
- this.tabControl1.Controls.Add(this.tabPage2);
- this.tabControl1.Location = new System.Drawing.Point(13, 13);
- this.tabControl1.Name = "tabControl1";
- this.tabControl1.SelectedIndex = 0;
- this.tabControl1.Size = new System.Drawing.Size(399, 268);
- this.tabControl1.TabIndex = 20;
- //
- // tabPage1
- //
- this.tabPage1.BackColor = System.Drawing.SystemColors.Control;
- this.tabPage1.Controls.Add(this.defaultCombo);
- this.tabPage1.Controls.Add(this.label2);
- this.tabPage1.Controls.Add(this.deleteButton);
- this.tabPage1.Controls.Add(this.addButton);
- this.tabPage1.Controls.Add(this.listView);
- this.tabPage1.Location = new System.Drawing.Point(4, 22);
- this.tabPage1.Name = "tabPage1";
- this.tabPage1.Padding = new System.Windows.Forms.Padding(3);
- this.tabPage1.Size = new System.Drawing.Size(391, 242);
- this.tabPage1.TabIndex = 0;
- this.tabPage1.Text = "tabPage1";
- //
- // defaultCombo
- //
- this.defaultCombo.FormattingEnabled = true;
- this.defaultCombo.Location = new System.Drawing.Point(146, 207);
- this.defaultCombo.Name = "defaultCombo";
- this.defaultCombo.Size = new System.Drawing.Size(145, 21);
- this.defaultCombo.TabIndex = 22;
- //
- // label2
- //
- this.label2.AutoSize = true;
- this.label2.Location = new System.Drawing.Point(6, 210);
- this.label2.Name = "label2";
- this.label2.Size = new System.Drawing.Size(119, 13);
- this.label2.TabIndex = 21;
- this.label2.Text = "Default Qt/Win version:";
- //
- // deleteButton
- //
- this.deleteButton.Location = new System.Drawing.Point(301, 36);
- this.deleteButton.Name = "deleteButton";
- this.deleteButton.Size = new System.Drawing.Size(80, 24);
- this.deleteButton.TabIndex = 20;
- this.deleteButton.Text = "&Delete";
- this.deleteButton.UseVisualStyleBackColor = true;
- this.deleteButton.Click += new System.EventHandler(this.deleteButton_Click);
- //
- // addButton
- //
- this.addButton.Location = new System.Drawing.Point(301, 6);
- this.addButton.Name = "addButton";
- this.addButton.Size = new System.Drawing.Size(80, 24);
- this.addButton.TabIndex = 19;
- this.addButton.Text = "&Add";
- this.addButton.UseVisualStyleBackColor = true;
- this.addButton.Click += new System.EventHandler(this.addButton_Click);
- //
- // listView
- //
- this.listView.FullRowSelect = true;
- this.listView.HideSelection = false;
- this.listView.Location = new System.Drawing.Point(6, 6);
- this.listView.MultiSelect = false;
- this.listView.Name = "listView";
- this.listView.Size = new System.Drawing.Size(285, 195);
- this.listView.TabIndex = 18;
- this.listView.UseCompatibleStateImageBehavior = false;
- this.listView.View = System.Windows.Forms.View.Details;
- //
- // tabPage2
- //
- this.tabPage2.BackColor = System.Drawing.SystemColors.Control;
- this.tabPage2.Controls.Add(this.optionsPropertyGrid);
- this.tabPage2.Location = new System.Drawing.Point(4, 22);
- this.tabPage2.Name = "tabPage2";
- this.tabPage2.Padding = new System.Windows.Forms.Padding(3);
- this.tabPage2.Size = new System.Drawing.Size(391, 242);
- this.tabPage2.TabIndex = 1;
- this.tabPage2.Text = "tabPage2";
- //
- // optionsPropertyGrid
- //
- this.optionsPropertyGrid.HelpVisible = false;
- this.optionsPropertyGrid.Location = new System.Drawing.Point(7, 7);
- this.optionsPropertyGrid.Name = "optionsPropertyGrid";
- this.optionsPropertyGrid.PropertySort = System.Windows.Forms.PropertySort.Alphabetical;
- this.optionsPropertyGrid.Size = new System.Drawing.Size(378, 229);
- this.optionsPropertyGrid.TabIndex = 0;
- this.optionsPropertyGrid.ToolbarVisible = false;
- //
- // FormVSQtSettings
- //
- this.AcceptButton = this.okButton;
- this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
- this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
- this.CancelButton = this.cancelButton;
- this.ClientSize = new System.Drawing.Size(427, 322);
- this.Controls.Add(this.tabControl1);
- this.Controls.Add(this.cancelButton);
- this.Controls.Add(this.okButton);
- this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;
- this.KeyPreview = true;
- this.MaximizeBox = false;
- this.Name = "FormVSQtSettings";
- this.ShowInTaskbar = false;
- this.Text = "FormQtVersions";
- this.tabControl1.ResumeLayout(false);
- this.tabPage1.ResumeLayout(false);
- this.tabPage1.PerformLayout();
- this.tabPage2.ResumeLayout(false);
- this.ResumeLayout(false);
-
- }
-
- #endregion
-
- private System.Windows.Forms.Button okButton;
- private System.Windows.Forms.Button cancelButton;
- private System.Windows.Forms.TabControl tabControl1;
- private System.Windows.Forms.TabPage tabPage1;
- private System.Windows.Forms.ComboBox defaultCombo;
- private System.Windows.Forms.Label label2;
- private System.Windows.Forms.Button deleteButton;
- private System.Windows.Forms.Button addButton;
- private System.Windows.Forms.ListView listView;
- private System.Windows.Forms.TabPage tabPage2;
- private System.Windows.Forms.PropertyGrid optionsPropertyGrid;
- }
-} \ No newline at end of file
diff --git a/Qt4VS2003/Qt4VSAddin/FormVSQtSettings.cs b/Qt4VS2003/Qt4VSAddin/FormVSQtSettings.cs
deleted file mode 100644
index e2e90500..00000000
--- a/Qt4VS2003/Qt4VSAddin/FormVSQtSettings.cs
+++ /dev/null
@@ -1,182 +0,0 @@
-/****************************************************************************
-**
-** Copyright (C) 2016 The Qt Company Ltd.
-** Contact: https://www.qt.io/licensing/
-**
-** This file is part of the Qt VS Add-in.
-**
-** $QT_BEGIN_LICENSE:GPL-EXCEPT$
-** Commercial License Usage
-** Licensees holding valid commercial Qt licenses may use this file in
-** accordance with the commercial license agreement provided with the
-** Software or, alternatively, in accordance with the terms contained in
-** a written agreement between you and The Qt Company. For licensing terms
-** and conditions see https://www.qt.io/terms-conditions. For further
-** information use the contact form at https://www.qt.io/contact-us.
-**
-** GNU General Public License Usage
-** Alternatively, this file may be used under the terms of the GNU
-** General Public License version 3 as published by the Free Software
-** Foundation with exceptions as appearing in the file LICENSE.GPL3-EXCEPT
-** included in the packaging of this file. Please review the following
-** information to ensure the GNU General Public License requirements will
-** be met: https://www.gnu.org/licenses/gpl-3.0.html.
-**
-** $QT_END_LICENSE$
-**
-****************************************************************************/
-
-using System;
-using System.Windows.Forms;
-
-
-using Digia.Qt5ProjectLib;
-namespace Qt5VSAddin
-{
- public partial class FormVSQtSettings : Form
- {
- private QtVersionManager versionManager;
- private VSQtSettings vsQtSettings;
-
- public FormVSQtSettings()
- {
- InitializeComponent();
- versionManager = QtVersionManager.The();
-
- this.Text = SR.GetString("VSQtOptionsButtonText");
- listView.Columns.Add(SR.GetString("BuildOptionsPage_Name"), 100, HorizontalAlignment.Left);
- listView.Columns.Add(SR.GetString("BuildOptionsPage_Path"), 180, HorizontalAlignment.Left);
- addButton.Text = SR.GetString(SR.Add);
- deleteButton.Text = SR.GetString(SR.Delete);
- label2.Text = SR.GetString("BuildOptionsPage_DefaultQtVersion");
- okButton.Text = SR.GetString("OK");
- cancelButton.Text = SR.GetString("Cancel");
- tabControl1.TabPages[0].Text = SR.GetString("BuildOptionsPage_Title");
- tabControl1.TabPages[1].Text = SR.GetString("QtDefaultSettings");
-
- SetupDefaultVersionComboBox(null);
- UpdateListBox();
- FormBorderStyle = FormBorderStyle.FixedDialog;
-
- vsQtSettings = new VSQtSettings();
- optionsPropertyGrid.SelectedObject = vsQtSettings;
-
- this.KeyPress += new KeyPressEventHandler(this.FormQtVersions_KeyPress);
- this.Shown += new EventHandler(FormQtVersions_Shown);
- }
-
- void FormQtVersions_KeyPress(object sender, KeyPressEventArgs e)
- {
- if (e.KeyChar == 27)
- {
- DialogResult = DialogResult.Cancel;
- Close();
- }
- }
-
- void FormQtVersions_Shown(object sender, System.EventArgs args)
- {
- string error = null;
- if (versionManager.HasInvalidVersions(out error))
- Messages.DisplayErrorMessage(error);
- }
-
- public void LoadSettings()
- {
- SetupDefaultVersionComboBox(versionManager.GetDefaultVersion());
- }
-
- public void SaveSettings()
- {
- versionManager.SaveDefaultVersion(defaultCombo.Text);
- }
-
- private void UpdateListBox()
- {
- UpdateListBox(null);
- }
-
- private void UpdateListBox(string defaultQtVersionDir)
- {
- listView.Items.Clear();
- foreach (string version in versionManager.GetVersions())
- {
- string path = null;
- if (defaultQtVersionDir != null && version == "$(DefaultQtVersion)")
- path = defaultQtVersionDir;
- else
- path = versionManager.GetInstallPath(version);
- if (path == null && version != "$(QTDIR)")
- continue;
- ListViewItem itm = new ListViewItem();
- itm.Tag = version;
- itm.Text = version;
- itm.SubItems.Add(path);
- listView.Items.Add(itm);
- }
- }
-
- private void SetupDefaultVersionComboBox(string version)
- {
- string currentItem = defaultCombo.Text;
- if (version != null)
- currentItem = version;
- defaultCombo.Items.Clear();
-
- foreach (string v in versionManager.GetVersions())
- {
- if (v == "$(DefaultQtVersion)")
- continue;
- defaultCombo.Items.Add(v);
- }
-
- if (defaultCombo.Items.Count > 0)
- {
- if (defaultCombo.Items.Contains(currentItem))
- defaultCombo.Text = currentItem;
- else
- defaultCombo.Text = (string)defaultCombo.Items[0];
- }
- else
- {
- defaultCombo.Text = "";
- }
- }
-
- private void deleteButton_Click(object sender, EventArgs e)
- {
- QtVersionManager.The().ClearVersionCache();
- foreach (ListViewItem itm in listView.SelectedItems)
- {
- string name = itm.Text;
- versionManager.RemoveVersion(name);
- listView.Items.Remove(itm);
- SetupDefaultVersionComboBox(null);
- }
- }
-
- private void addButton_Click(object sender, EventArgs e)
- {
- QtVersionManager.The().ClearVersionCache();
- AddQtVersionDialog dia = new AddQtVersionDialog();
- dia.StartPosition = FormStartPosition.CenterParent;
- MainWinWrapper ww = new MainWinWrapper(Vsix.Instance.Dte);
- if (dia.ShowDialog(ww) == DialogResult.OK)
- {
- UpdateListBox();
- SetupDefaultVersionComboBox(null);
- }
- }
-
- private void okButton_Click(object sender, EventArgs e)
- {
- vsQtSettings.SaveSettings();
- Close();
- }
-
- private void cancelButton_Click(object sender, EventArgs e)
- {
- Close();
- }
- }
-}
diff --git a/Qt4VS2003/Qt4VSAddin/FormVSQtSettings.resx b/Qt4VS2003/Qt4VSAddin/FormVSQtSettings.resx
deleted file mode 100644
index 19dc0dd8..00000000
--- a/Qt4VS2003/Qt4VSAddin/FormVSQtSettings.resx
+++ /dev/null
@@ -1,120 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<root>
- <!--
- Microsoft ResX Schema
-
- Version 2.0
-
- The primary goals of this format is to allow a simple XML format
- that is mostly human readable. The generation and parsing of the
- various data types are done through the TypeConverter classes
- associated with the data types.
-
- Example:
-
- ... ado.net/XML headers & schema ...
- <resheader name="resmimetype">text/microsoft-resx</resheader>
- <resheader name="version">2.0</resheader>
- <resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
- <resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
- <data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
- <data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
- <data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
- <value>[base64 mime encoded serialized .NET Framework object]</value>
- </data>
- <data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
- <value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
- <comment>This is a comment</comment>
- </data>
-
- There are any number of "resheader" rows that contain simple
- name/value pairs.
-
- Each data row contains a name, and value. The row also contains a
- type or mimetype. Type corresponds to a .NET class that support
- text/value conversion through the TypeConverter architecture.
- Classes that don't support this are serialized and stored with the
- mimetype set.
-
- The mimetype is used for serialized objects, and tells the
- ResXResourceReader how to depersist the object. This is currently not
- extensible. For a given mimetype the value must be set accordingly:
-
- Note - application/x-microsoft.net.object.binary.base64 is the format
- that the ResXResourceWriter will generate, however the reader can
- read any of the formats listed below.
-
- mimetype: application/x-microsoft.net.object.binary.base64
- value : The object must be serialized with
- : System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
- : and then encoded with base64 encoding.
-
- mimetype: application/x-microsoft.net.object.soap.base64
- value : The object must be serialized with
- : System.Runtime.Serialization.Formatters.Soap.SoapFormatter
- : and then encoded with base64 encoding.
-
- mimetype: application/x-microsoft.net.object.bytearray.base64
- value : The object must be serialized into a byte array
- : using a System.ComponentModel.TypeConverter
- : and then encoded with base64 encoding.
- -->
- <xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
- <xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
- <xsd:element name="root" msdata:IsDataSet="true">
- <xsd:complexType>
- <xsd:choice maxOccurs="unbounded">
- <xsd:element name="metadata">
- <xsd:complexType>
- <xsd:sequence>
- <xsd:element name="value" type="xsd:string" minOccurs="0" />
- </xsd:sequence>
- <xsd:attribute name="name" use="required" type="xsd:string" />
- <xsd:attribute name="type" type="xsd:string" />
- <xsd:attribute name="mimetype" type="xsd:string" />
- <xsd:attribute ref="xml:space" />
- </xsd:complexType>
- </xsd:element>
- <xsd:element name="assembly">
- <xsd:complexType>
- <xsd:attribute name="alias" type="xsd:string" />
- <xsd:attribute name="name" type="xsd:string" />
- </xsd:complexType>
- </xsd:element>
- <xsd:element name="data">
- <xsd:complexType>
- <xsd:sequence>
- <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
- <xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
- </xsd:sequence>
- <xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
- <xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
- <xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
- <xsd:attribute ref="xml:space" />
- </xsd:complexType>
- </xsd:element>
- <xsd:element name="resheader">
- <xsd:complexType>
- <xsd:sequence>
- <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
- </xsd:sequence>
- <xsd:attribute name="name" type="xsd:string" use="required" />
- </xsd:complexType>
- </xsd:element>
- </xsd:choice>
- </xsd:complexType>
- </xsd:element>
- </xsd:schema>
- <resheader name="resmimetype">
- <value>text/microsoft-resx</value>
- </resheader>
- <resheader name="version">
- <value>2.0</value>
- </resheader>
- <resheader name="reader">
- <value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
- </resheader>
- <resheader name="writer">
- <value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
- </resheader>
-</root> \ No newline at end of file
diff --git a/Qt4VS2003/Qt4VSAddin/Properties/AssemblyInfo.cs b/Qt4VS2003/Qt4VSAddin/Properties/AssemblyInfo.cs
deleted file mode 100644
index 4aca6f6a..00000000
--- a/Qt4VS2003/Qt4VSAddin/Properties/AssemblyInfo.cs
+++ /dev/null
@@ -1,61 +0,0 @@
-/****************************************************************************
-**
-** Copyright (C) 2016 The Qt Company Ltd.
-** Contact: https://www.qt.io/licensing/
-**
-** This file is part of the Qt VS Add-in.
-**
-** $QT_BEGIN_LICENSE:GPL-EXCEPT$
-** Commercial License Usage
-** Licensees holding valid commercial Qt licenses may use this file in
-** accordance with the commercial license agreement provided with the
-** Software or, alternatively, in accordance with the terms contained in
-** a written agreement between you and The Qt Company. For licensing terms
-** and conditions see https://www.qt.io/terms-conditions. For further
-** information use the contact form at https://www.qt.io/contact-us.
-**
-** GNU General Public License Usage
-** Alternatively, this file may be used under the terms of the GNU
-** General Public License version 3 as published by the Free Software
-** Foundation with exceptions as appearing in the file LICENSE.GPL3-EXCEPT
-** included in the packaging of this file. Please review the following
-** information to ensure the GNU General Public License requirements will
-** be met: https://www.gnu.org/licenses/gpl-3.0.html.
-**
-** $QT_END_LICENSE$
-**
-****************************************************************************/
-
-using System.Reflection;
-using System.Resources;
-using System.Runtime.InteropServices;
-
-// General Information about an assembly is controlled through the following
-// set of attributes. Change these attribute values to modify the information
-// associated with an assembly.
-[assembly: AssemblyTitle("Qt Visual Studio Tools")]
-[assembly: AssemblyDescription("The Qt Visual Studio Tools allow developers to use the standard development environment without having to worry about any Qt-related build steps or tools.")]
-[assembly: AssemblyConfiguration("")]
-[assembly: AssemblyCompany("The Qt Company Ltd.")]
-[assembly: AssemblyProduct("Qt Visual Studio Tools")]
-[assembly: AssemblyCopyright("Copyright (C) 2016 The Qt Company Ltd.")]
-[assembly: AssemblyTrademark("The Qt Company Ltd. Qt and their respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.")]
-[assembly: AssemblyCulture("")]
-
-// Setting ComVisible to false makes the types in this assembly not visible
-// to COM components. If you need to access a type in this assembly from
-// COM, set the ComVisible attribute to true on that type.
-[assembly: ComVisible(true)]
-
-// Version information for an assembly consists of the following four values:
-//
-// Major Version
-// Minor Version
-// Build Number
-// Revision
-//
-// You can specify all the values or you can default the Build and Revision Numbers
-// by using the '*' as shown below:
-// [assembly: AssemblyVersion("1.0.*")]
-[assembly: AssemblyVersion("1.0.0.0")]
-[assembly: AssemblyFileVersion("1.0.0.0")]
diff --git a/Qt4VS2003/Qt4VSAddin/QMakeWrapper.cs b/Qt4VS2003/Qt4VSAddin/QMakeWrapper.cs
deleted file mode 100644
index db864e6b..00000000
--- a/Qt4VS2003/Qt4VSAddin/QMakeWrapper.cs
+++ /dev/null
@@ -1,147 +0,0 @@
-/****************************************************************************
-**
-** Copyright (C) 2016 The Qt Company Ltd.
-** Contact: https://www.qt.io/licensing/
-**
-** This file is part of the Qt VS Add-in.
-**
-** $QT_BEGIN_LICENSE:GPL-EXCEPT$
-** Commercial License Usage
-** Licensees holding valid commercial Qt licenses may use this file in
-** accordance with the commercial license agreement provided with the
-** Software or, alternatively, in accordance with the terms contained in
-** a written agreement between you and The Qt Company. For licensing terms
-** and conditions see https://www.qt.io/terms-conditions. For further
-** information use the contact form at https://www.qt.io/contact-us.
-**
-** GNU General Public License Usage
-** Alternatively, this file may be used under the terms of the GNU
-** General Public License version 3 as published by the Free Software
-** Foundation with exceptions as appearing in the file LICENSE.GPL3-EXCEPT
-** included in the packaging of this file. Please review the following
-** information to ensure the GNU General Public License requirements will
-** be met: https://www.gnu.org/licenses/gpl-3.0.html.
-**
-** $QT_END_LICENSE$
-**
-****************************************************************************/
-
-using System;
-using System.Collections.Generic;
-using System.Diagnostics;
-using System.Xml;
-
-namespace Qt5VSAddin
-{
- public class QMakeWrapper
- {
- private string qtdir;
- private bool valid;
- private bool flat;
- private string[] sources;
- private string[] headers;
- private string[] resources;
- private string[] forms;
-
- public QMakeWrapper()
- {
- }
-
- public void setQtDir(string path)
- {
- qtdir = path;
- }
-
- public bool readFile(string filePath)
- {
- string output;
- try
- {
- string exeFilePath = Vsix.Instance.QMakeFileReaderPath;
- if (!System.IO.File.Exists(exeFilePath))
- return false;
-
- Process process = new Process();
- process.StartInfo.CreateNoWindow = true;
- process.StartInfo.FileName = exeFilePath;
- process.StartInfo.Arguments = shellQuote(qtdir) + ' ' + shellQuote(filePath);
- process.StartInfo.UseShellExecute = false;
- process.StartInfo.RedirectStandardOutput = true;
- if (!process.Start())
- return false;
- output = process.StandardOutput.ReadToEnd();
- process.WaitForExit();
-
- XmlReader reader = new XmlTextReader(new System.IO.StringReader(output));
- reader.ReadToFollowing("content");
- valid = stringToBool(reader.GetAttribute("valid"));
- flat = stringToBool(reader.GetAttribute("flat"));
- sources = readFileElements(reader, "SOURCES");
- headers = readFileElements(reader, "HEADERS");
- resources = readFileElements(reader, "RESOURCES");
- forms = readFileElements(reader, "FORMS");
- }
- catch
- {
- return false;
- }
- return true;
- }
-
- public bool isValid()
- {
- return valid;
- }
-
- public bool isFlat()
- {
- return flat;
- }
-
- public string[] sourceFiles()
- {
- return sources;
- }
-
- public string[] headerFiles()
- {
- return headers;
- }
-
- public string[] resourceFiles()
- {
- return resources;
- }
-
- public string[] formFiles()
- {
- return forms;
- }
-
- private bool stringToBool(string str)
- {
- return str == "true";
- }
-
- private string[] readFileElements(XmlReader reader, string tag)
- {
- List<string> fileNames = new List<string>();
- if (reader.ReadToFollowing(tag)) {
- if (reader.ReadToDescendant("file")) {
- do {
- string fname = reader.ReadString();
- fileNames.Add(fname);
- } while (reader.ReadToNextSibling("file"));
- }
- }
- return fileNames.ToArray();
- }
-
- private string shellQuote(string filePath)
- {
- return filePath.Contains(" ")
- ? ('"' + filePath + '"')
- : filePath;
- }
- }
-}
diff --git a/Qt4VS2003/Qt4VSAddin/Qt5VSAddin.AddIn b/Qt4VS2003/Qt4VSAddin/Qt5VSAddin.AddIn
deleted file mode 100644
index ea147351..00000000
--- a/Qt4VS2003/Qt4VSAddin/Qt5VSAddin.AddIn
+++ /dev/null
@@ -1,18 +0,0 @@
-<?xml version="1.0" encoding="Windows-1252" standalone="no"?>
-<Extensibility xmlns="http://schemas.microsoft.com/AutomationExtensibility">
- <HostApplication>
- <Name>Microsoft Visual Studio</Name>
- <Version>9.0</Version>
- </HostApplication>
- <Addin>
- <FriendlyName>Qt Add-in Development Version</FriendlyName>
- <Description>Qt Add-in Development Version</Description>
- <AboutBoxDetails>This is Visual Studio Add-in component for Qt. For more information about Qt, see \r\nhttp://www.qt.io\r\nCopyright (C) 2016 The Qt Company Ltd.</AboutBoxDetails>
- <AboutIconData>@AboutIcon</AboutIconData>
- <Assembly>Qt5VSAddin.dll</Assembly>
- <FullClassName>Qt5VSAddin.Connect</FullClassName>
- <LoadBehavior>5</LoadBehavior>
- <CommandPreload>0</CommandPreload>
- <CommandLineSafe>1</CommandLineSafe>
- </Addin>
-</Extensibility>
diff --git a/Qt4VS2003/Qt4VSAddin/Qt5VSAddin2015.csproj b/Qt4VS2003/Qt4VSAddin/Qt5VSAddin2015.csproj
deleted file mode 100644
index dbe91af1..00000000
--- a/Qt4VS2003/Qt4VSAddin/Qt5VSAddin2015.csproj
+++ /dev/null
@@ -1,209 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="14.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
- <Import Project="..\packages\Microsoft.VSSDK.BuildTools.14.2.25201\build\Microsoft.VSSDK.BuildTools.props" Condition="Exists('..\packages\Microsoft.VSSDK.BuildTools.14.2.25201\build\Microsoft.VSSDK.BuildTools.props')" />
- <PropertyGroup>
- <MinimumVisualStudioVersion>14.0</MinimumVisualStudioVersion>
- <VSToolsPath Condition="'$(VSToolsPath)' == ''">$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)</VSToolsPath>
- <NuGetPackageImportStamp>
- </NuGetPackageImportStamp>
- <UseCodebase>true</UseCodebase>
- <TargetFrameworkProfile />
- </PropertyGroup>
- <PropertyGroup>
- <SignAssembly>false</SignAssembly>
- </PropertyGroup>
- <Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
- <PropertyGroup>
- <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
- <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
- <SchemaVersion>2.0</SchemaVersion>
- <ProjectTypeGuids>{82b43b9b-a64c-4715-b499-d71e9ca2bd60};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
- <ProjectGuid>{428368CF-0EBE-47A3-87B0-DFB20CE81608}</ProjectGuid>
- <OutputType>Library</OutputType>
- <AppDesignerFolder>Properties</AppDesignerFolder>
- <RootNamespace>Qt5VSAddin</RootNamespace>
- <AssemblyName>Qt5VSAddin</AssemblyName>
- <TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
- <GeneratePkgDefFile>true</GeneratePkgDefFile>
- <IncludeAssemblyInVSIXContainer>true</IncludeAssemblyInVSIXContainer>
- <IncludeDebugSymbolsInVSIXContainer>true</IncludeDebugSymbolsInVSIXContainer>
- <IncludeDebugSymbolsInLocalVSIXDeployment>true</IncludeDebugSymbolsInLocalVSIXDeployment>
- <CopyBuildOutputToOutputDirectory>true</CopyBuildOutputToOutputDirectory>
- <CopyOutputSymbolsToOutputDirectory>false</CopyOutputSymbolsToOutputDirectory>
- </PropertyGroup>
- <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
- <DebugSymbols>true</DebugSymbols>
- <DebugType>full</DebugType>
- <Optimize>false</Optimize>
- <OutputPath>Debug\</OutputPath>
- <DefineConstants>TRACE;DEBUG;VS2015</DefineConstants>
- <ErrorReport>prompt</ErrorReport>
- <WarningLevel>4</WarningLevel>
- <CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
- </PropertyGroup>
- <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
- <DebugType>pdbonly</DebugType>
- <Optimize>true</Optimize>
- <OutputPath>Release\</OutputPath>
- <DefineConstants>TRACE;VS2015</DefineConstants>
- <ErrorReport>prompt</ErrorReport>
- <WarningLevel>4</WarningLevel>
- <CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
- </PropertyGroup>
- <ItemGroup>
- <Compile Include="AddInEventHandler.cs" />
- <Compile Include="AddQtVersionDialog.cs">
- <SubType>Form</SubType>
- </Compile>
- <Compile Include="AddTranslationDialog.cs">
- <SubType>Form</SubType>
- </Compile>
- <Compile Include="Vsix.cs" />
- <Compile Include="ExtLoader.cs" />
- <Compile Include="FormChangeQtVersion.cs">
- <SubType>Form</SubType>
- </Compile>
- <Compile Include="FormChangeQtVersion.Designer.cs">
- <DependentUpon>FormChangeQtVersion.cs</DependentUpon>
- </Compile>
- <Compile Include="FormProjectQtSettings.cs">
- <SubType>Form</SubType>
- </Compile>
- <Compile Include="FormProjectQtSettings.Designer.cs">
- <DependentUpon>FormProjectQtSettings.cs</DependentUpon>
- </Compile>
- <Compile Include="FormVSQtSettings.cs">
- <SubType>Form</SubType>
- </Compile>
- <Compile Include="FormVSQtSettings.Designer.cs">
- <DependentUpon>FormVSQtSettings.cs</DependentUpon>
- </Compile>
- <Compile Include="Properties\AssemblyInfo.cs" />
- <Compile Include="QMakeWrapper.cs" />
- <Compile Include="QtDefaultEditorsHelper.cs" />
- <Compile Include="QtItemContextMenu.cs" />
- <Compile Include="QtProjectContextMenu.cs" />
- <Compile Include="QtSettings.cs" />
- <Compile Include="QtSolutionContextMenu.cs" />
- <Compile Include="QtVersionDialog.cs">
- <SubType>Form</SubType>
- </Compile>
- <Compile Include="QtMainMenu.cs" />
- <Compile Include="ResClass.cs" />
- <Compile Include="Resource.cs" />
- <Compile Include="Translation.cs" />
- <Compile Include="VSQtSettings.cs" />
- </ItemGroup>
- <ItemGroup>
- <None Include="source.extension.vsixmanifest">
- </None>
- </ItemGroup>
- <ItemGroup>
- <Reference Include="EnvDTE, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
- <EmbedInteropTypes>False</EmbedInteropTypes>
- </Reference>
- <Reference Include="EnvDTE80, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
- <EmbedInteropTypes>False</EmbedInteropTypes>
- </Reference>
- <Reference Include="Extensibility, Version=7.0.3300.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
- <EmbedInteropTypes>True</EmbedInteropTypes>
- </Reference>
- <Reference Include="Microsoft.CSharp" />
- <Reference Include="Microsoft.VisualStudio.CommandBars, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
- <EmbedInteropTypes>False</EmbedInteropTypes>
- </Reference>
- <Reference Include="Microsoft.VisualStudio.OLE.Interop, Version=7.1.40304.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
- <Private>True</Private>
- </Reference>
- <Reference Include="Microsoft.VisualStudio.Shell.14.0, Version=14.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL" />
- <Reference Include="Microsoft.VisualStudio.Shell.Immutable.10.0, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL" />
- <Reference Include="Microsoft.VisualStudio.Shell.Interop, Version=7.1.40304.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
- <Private>True</Private>
- </Reference>
- <Reference Include="Microsoft.VisualStudio.Shell.Interop.10.0, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
- <EmbedInteropTypes>True</EmbedInteropTypes>
- </Reference>
- <Reference Include="Microsoft.VisualStudio.Shell.Interop.8.0, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
- <Reference Include="Microsoft.VisualStudio.Shell.Interop.9.0, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
- <Reference Include="Microsoft.VisualStudio.VCProjectEngine, Version=14.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
- <EmbedInteropTypes>True</EmbedInteropTypes>
- </Reference>
- <Reference Include="System" />
- <Reference Include="System.Design" />
- <Reference Include="System.Drawing" />
- <Reference Include="System.Windows.Forms" />
- <Reference Include="System.Xml" />
- </ItemGroup>
- <ItemGroup>
- <Content Include="preview.png">
- <CopyToOutputDirectory>Always</CopyToOutputDirectory>
- <IncludeInVSIX>true</IncludeInVSIX>
- </Content>
- <Content Include="qt.ico">
- <CopyToOutputDirectory>Always</CopyToOutputDirectory>
- <IncludeInVSIX>true</IncludeInVSIX>
- </Content>
- <Content Include="Resources\menuimages.png" />
- <VSCTCompile Include="QtMenus.vsct">
- <ResourceName>Menus.ctmenu</ResourceName>
- </VSCTCompile>
- <Content Include="Resources\qt.ico">
- <CopyToOutputDirectory>Always</CopyToOutputDirectory>
- <IncludeInVSIX>true</IncludeInVSIX>
- </Content>
- </ItemGroup>
- <ItemGroup>
- <EmbeddedResource Include="AddQtVersionDialog.resx">
- <DependentUpon>AddQtVersionDialog.cs</DependentUpon>
- </EmbeddedResource>
- <EmbeddedResource Include="AddTranslationDialog.resx">
- <DependentUpon>AddTranslationDialog.cs</DependentUpon>
- </EmbeddedResource>
- <EmbeddedResource Include="CommandBar.resx" />
- <EmbeddedResource Include="FormChangeQtVersion.resx">
- <DependentUpon>FormChangeQtVersion.cs</DependentUpon>
- </EmbeddedResource>
- <EmbeddedResource Include="FormProjectQtSettings.resx">
- <DependentUpon>FormProjectQtSettings.cs</DependentUpon>
- </EmbeddedResource>
- <EmbeddedResource Include="FormVSQtSettings.resx">
- <DependentUpon>FormVSQtSettings.cs</DependentUpon>
- </EmbeddedResource>
- <EmbeddedResource Include="QtVersionDialog.resx">
- <DependentUpon>QtVersionDialog.cs</DependentUpon>
- </EmbeddedResource>
- <EmbeddedResource Include="StringResources.de.resx">
- <SubType>Designer</SubType>
- </EmbeddedResource>
- <EmbeddedResource Include="StringResources.resx">
- <SubType>Designer</SubType>
- </EmbeddedResource>
- <EmbeddedResource Include="VSPackage.resx">
- <MergeWithCTO>true</MergeWithCTO>
- <ManifestResourceName>VSPackage</ManifestResourceName>
- </EmbeddedResource>
- </ItemGroup>
- <ItemGroup>
- <ProjectReference Include="..\QtProjectEngine\Qt5ProjectEngineLib2015.csproj">
- <Project>{acdebcac-b50b-4045-a769-d222f0195b0c}</Project>
- <Name>Qt5ProjectEngineLib2015</Name>
- </ProjectReference>
- <ProjectReference Include="..\QtProjectLib\Qt5ProjectLib2015.csproj">
- <Project>{2785d082-ce93-4097-bf45-072083a53261}</Project>
- <Name>Qt5ProjectLib2015</Name>
- </ProjectReference>
- </ItemGroup>
- <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
- <Import Project="$(VSToolsPath)\VSSDK\Microsoft.VsSDK.targets" Condition="'$(VSToolsPath)' != ''" />
- <PropertyGroup>
- <PreBuildEvent>if exist "$(TargetPath).locked" del "$(TargetPath).locked"
-if exist "$(TargetPath)" if not exist "$(TargetPath).locked" move "$(TargetPath)" "$(TargetPath).locked"</PreBuildEvent>
- </PropertyGroup>
- <!-- To modify your build process, add your task inside one of the targets below and uncomment it.
- Other similar extension points exist, see Microsoft.Common.targets.
- <Target Name="BeforeBuild">
- </Target>
- <Target Name="AfterBuild">
- </Target>
- -->
-</Project>
diff --git a/Qt4VS2003/Qt4VSAddin/QtDefaultEditorsHelper.cs b/Qt4VS2003/Qt4VSAddin/QtDefaultEditorsHelper.cs
deleted file mode 100644
index 5a5db267..00000000
--- a/Qt4VS2003/Qt4VSAddin/QtDefaultEditorsHelper.cs
+++ /dev/null
@@ -1,149 +0,0 @@
-/****************************************************************************
-**
-** Copyright (C) 2016 The Qt Company Ltd.
-** Contact: https://www.qt.io/licensing/
-**
-** This file is part of the Qt VS Add-in.
-**
-** $QT_BEGIN_LICENSE:GPL-EXCEPT$
-** Commercial License Usage
-** Licensees holding valid commercial Qt licenses may use this file in
-** accordance with the commercial license agreement provided with the
-** Software or, alternatively, in accordance with the terms contained in
-** a written agreement between you and The Qt Company. For licensing terms
-** and conditions see https://www.qt.io/terms-conditions. For further
-** information use the contact form at https://www.qt.io/contact-us.
-**
-** GNU General Public License Usage
-** Alternatively, this file may be used under the terms of the GNU
-** General Public License version 3 as published by the Free Software
-** Foundation with exceptions as appearing in the file LICENSE.GPL3-EXCEPT
-** included in the packaging of this file. Please review the following
-** information to ensure the GNU General Public License requirements will
-** be met: https://www.gnu.org/licenses/gpl-3.0.html.
-**
-** $QT_END_LICENSE$
-**
-****************************************************************************/
-
-using Microsoft.Win32;
-
-namespace Qt5VSAddin
-{
- // Base class to support writing default editor values to registry
- public class DefaultEditorsBase
- {
- private const string templatesDir = "TemplatesDir";
- private const string registryBasePath = @"SOFTWARE\Microsoft\VisualStudio\{0}";
- private const string newProjectTemplates = @"\NewProjectTemplates\TemplateDirs\{0}\/1";
-
- private const string linguist = @"\Default Editors\ts\Qt Linguist";
- private const string designer = @"\Default Editors\ui\Qt Designer";
- private const string qrcEditor = @"\Default Editors\qrc\Qt Resource Editor";
-
- protected static string addinGuid = null;
- protected static string appWrapper = null;
- protected static string qrcEditorName = null;
-
- /// <summary>
- /// Write default editor values to registry for VS 2013 if add-in is installed. Applies
- /// both to Qt4 and Qt5 version of the add-in. TODO: Remove if we drop Visual Studio 2013.
- /// </summary>
- public void WriteAddinRegistryValues()
- {
- var basePath = string.Format(registryBasePath, @"12.0");
- var projectTemplates = basePath + string.Format(newProjectTemplates, addinGuid);
-
- var addinInstallPath = GetAddinInstallPath(GetCUKey(projectTemplates, false));
- if (string.IsNullOrEmpty(addinInstallPath))
- addinInstallPath = GetAddinInstallPath(GetLMKey(projectTemplates, false));
- WriteRegistryValues(basePath, addinInstallPath);
- }
-
- /// <summary>
- /// Write default editor values to registry for Visual Studio 2013 and above. Uses the VSIX
- /// install path.
- /// </summary>
- public void WriteVsixRegistryValues()
- {
- if (Vsix.Instance.Dte != null) {
- var basePath = string.Format(registryBasePath, Vsix.Instance.Dte.Version)
-#if DEBUG
- + @"Exp"
-#endif
- ;
- WriteRegistryValues(basePath, Vsix.Instance.PkgInstallPath);
- }
- }
-
- // Get add-in installation path using a registry key
- private string GetAddinInstallPath(RegistryKey key)
- {
- if (key == null)
- return null;
-
- var templatesDirPath = key.GetValue(templatesDir) as string;
- if (string.IsNullOrEmpty(templatesDirPath))
- return null;
-
- return templatesDirPath.Substring(0, templatesDirPath.IndexOf(@"\projects\"));
- }
-
- // Get/create registry key under HKCU
- private RegistryKey GetCUKey(string key_path, bool writable)
- {
- RegistryKey key = Registry.CurrentUser.OpenSubKey(key_path, writable);
- if (key == null && writable)
- key = Registry.CurrentUser.CreateSubKey(key_path);
- return key;
- }
-
- // Get/create registry key under HKLM
- private RegistryKey GetLMKey(string key_path, bool writable)
- {
- RegistryKey key = Registry.LocalMachine.OpenSubKey(key_path, writable);
- if (key == null && writable)
- key = Registry.LocalMachine.CreateSubKey(key_path);
- return key;
- }
-
- private void WriteRegistryValues(string basePath, string installPath)
- {
- if (string.IsNullOrEmpty(basePath) || string.IsNullOrEmpty(installPath))
- return;
-
- var key = GetCUKey(basePath + linguist, true);
- key.SetValue(@"", installPath + @"\" + appWrapper);
-
- key = GetCUKey(basePath + designer, true);
- key.SetValue(@"", installPath + @"\" + appWrapper);
-
- key = GetCUKey(basePath + qrcEditor, true);
- key.SetValue(@"", installPath + @"\" + qrcEditorName);
- }
- }
-
- // Default editor handling for Qt4 add-in
- public class Qt4DefaultEditors : DefaultEditorsBase
- {
- public Qt4DefaultEditors()
- {
- // Set add-in specific values
- addinGuid = @"{6A7385B4-1D62-46e0-A4E3-AED4475371F0}";
- appWrapper = @"qtappwrapper.exe";
- qrcEditorName = @"qrceditor.exe";
- }
- }
-
- // Default editor handling for Qt5 add-in
- public class Qt5DefaultEditors : DefaultEditorsBase
- {
- public Qt5DefaultEditors()
- {
- // Set add-in specific values
- addinGuid = @"{C80C78C8-F64B-43df-9A53-96F7C44A1EB6}";
- appWrapper = @"qt5appwrapper.exe";
- qrcEditorName = @"q5rceditor.exe";
- }
- }
-}
diff --git a/Qt4VS2003/Qt4VSAddin/QtItemContextMenu.cs b/Qt4VS2003/Qt4VSAddin/QtItemContextMenu.cs
deleted file mode 100644
index bf6eec22..00000000
--- a/Qt4VS2003/Qt4VSAddin/QtItemContextMenu.cs
+++ /dev/null
@@ -1,159 +0,0 @@
-/****************************************************************************
-**
-** Copyright (C) 2016 The Qt Company Ltd.
-** Contact: https://www.qt.io/licensing/
-**
-** This file is part of the Qt VS Add-in.
-**
-** $QT_BEGIN_LICENSE:GPL-EXCEPT$
-** Commercial License Usage
-** Licensees holding valid commercial Qt licenses may use this file in
-** accordance with the commercial license agreement provided with the
-** Software or, alternatively, in accordance with the terms contained in
-** a written agreement between you and The Qt Company. For licensing terms
-** and conditions see https://www.qt.io/terms-conditions. For further
-** information use the contact form at https://www.qt.io/contact-us.
-**
-** GNU General Public License Usage
-** Alternatively, this file may be used under the terms of the GNU
-** General Public License version 3 as published by the Free Software
-** Foundation with exceptions as appearing in the file LICENSE.GPL3-EXCEPT
-** included in the packaging of this file. Please review the following
-** information to ensure the GNU General Public License requirements will
-** be met: https://www.gnu.org/licenses/gpl-3.0.html.
-**
-** $QT_END_LICENSE$
-**
-****************************************************************************/
-
-using Digia.Qt5ProjectLib;
-using EnvDTE;
-using Microsoft.VisualStudio.Shell;
-using System;
-using System.ComponentModel.Design;
-
-namespace Qt5VSAddin
-{
- /// <summary>
- /// Command handler
- /// </summary>
- internal sealed class QtItemContextMenu
- {
- #region public
-
- /// <summary>
- /// Command menu group (command set GUID).
- /// </summary>
- public static readonly Guid ItemContextMenuGuid = new Guid("9f67a0bd-ee0a-47e3-b656-5efb12e3c770");
-
- /// <summary>
- /// Gets the instance of the command.
- /// </summary>
- public static QtItemContextMenu Instance {
- get;
- private set;
- }
-
- /// <summary>
- /// Initializes the singleton instance of the command.
- /// </summary>
- /// <param name="package">Owner package, not null.</param>
- public static void Initialize(Package package)
- {
- Instance = new QtItemContextMenu(package);
- }
-
- #endregion public
-
- #region private
-
- /// <summary>
- /// VS Package that provides this command, not null.
- /// </summary>
- private readonly Package m_package;
-
- /// <summary>
- /// Command ID.
- /// </summary>
- private const int lUpdateOnItemId = 0x0125;
- private const int lReleaseOnItemId = 0x0126;
-
- /// <summary>
- /// Gets the service provider from the owner package.
- /// </summary>
- private IServiceProvider ServiceProvider {
- get { return m_package; }
- }
-
- /// <summary>
- /// Initializes a new instance of the <see cref="QtMainMenu"/> class.
- /// Adds our command handlers for menu (commands must exist in the command table file)
- /// </summary>
- /// <param name="package">Owner package, not null.</param>
- private QtItemContextMenu(Package package)
- {
- if (package == null)
- throw new ArgumentNullException("package");
-
- m_package = package;
-
- var commandService = ServiceProvider.GetService(typeof(IMenuCommandService))
- as OleMenuCommandService;
- if (commandService == null)
- return;
-
- var command = new OleMenuCommand(new EventHandler(execHandler),
- new CommandID(ItemContextMenuGuid, lUpdateOnItemId));
- command.BeforeQueryStatus += new EventHandler(beforeQueryStatus);
- commandService.AddCommand(command);
-
- command = new OleMenuCommand(new EventHandler(execHandler),
- new CommandID(ItemContextMenuGuid, lReleaseOnItemId));
- command.BeforeQueryStatus += new EventHandler(beforeQueryStatus);
- commandService.AddCommand(command);
- }
-
- private void execHandler(object sender, EventArgs e)
- {
- var command = sender as OleMenuCommand;
- if (command == null)
- return;
-
- switch (command.CommandID.ID) {
- case lUpdateOnItemId:
- Translation.RunlUpdate(HelperFunctions.GetSelectedFiles(Vsix.Instance.Dte),
- HelperFunctions.GetSelectedQtProject(Vsix.Instance.Dte));
- break;
- case lReleaseOnItemId:
- Translation.RunlRelease(HelperFunctions.GetSelectedFiles(Vsix.Instance.Dte));
- break;
- default:
- break;
- }
- }
-
- private void beforeQueryStatus(object sender, EventArgs e)
- {
- var command = sender as OleMenuCommand;
- if (command == null)
- return;
-
- command.Enabled = false;
- command.Visible = false;
-
- var prj = HelperFunctions.GetSelectedProject(Vsix.Instance.Dte);
- if (!HelperFunctions.IsQtProject(prj) || Vsix.Instance.Dte.SelectedItems.Count <= 0)
- return;
-
- foreach (SelectedItem si in Vsix.Instance.Dte.SelectedItems) {
- if (!si.Name.ToLower().EndsWith(".ts"))
- return; // Don't display commands if one of the selected files is not a .ts file.
- }
-
- command.Enabled = true;
- command.Visible = true;
- }
-
- #endregion private
- }
-}
diff --git a/Qt4VS2003/Qt4VSAddin/QtMainMenu.cs b/Qt4VS2003/Qt4VSAddin/QtMainMenu.cs
deleted file mode 100644
index 23da0d26..00000000
--- a/Qt4VS2003/Qt4VSAddin/QtMainMenu.cs
+++ /dev/null
@@ -1,258 +0,0 @@
-/****************************************************************************
-**
-** Copyright (C) 2016 The Qt Company Ltd.
-** Contact: https://www.qt.io/licensing/
-**
-** This file is part of the Qt VS Add-in.
-**
-** $QT_BEGIN_LICENSE:GPL-EXCEPT$
-** Commercial License Usage
-** Licensees holding valid commercial Qt licenses may use this file in
-** accordance with the commercial license agreement provided with the
-** Software or, alternatively, in accordance with the terms contained in
-** a written agreement between you and The Qt Company. For licensing terms
-** and conditions see https://www.qt.io/terms-conditions. For further
-** information use the contact form at https://www.qt.io/contact-us.
-**
-** GNU General Public License Usage
-** Alternatively, this file may be used under the terms of the GNU
-** General Public License version 3 as published by the Free Software
-** Foundation with exceptions as appearing in the file LICENSE.GPL3-EXCEPT
-** included in the packaging of this file. Please review the following
-** information to ensure the GNU General Public License requirements will
-** be met: https://www.gnu.org/licenses/gpl-3.0.html.
-**
-** $QT_END_LICENSE$
-**
-****************************************************************************/
-
-using Digia.Qt5ProjectLib;
-using EnvDTE;
-using Microsoft.VisualStudio.Shell;
-using System;
-using System.ComponentModel.Design;
-using System.Windows.Forms;
-
-namespace Qt5VSAddin
-{
- /// <summary>
- /// Command handler
- /// </summary>
- internal sealed class QtMainMenu
- {
- #region public
-
- /// <summary>
- /// Command menu group (command set GUID).
- /// </summary>
- public static readonly Guid MainMenuGuid = new Guid("58f83fff-d39d-4c66-810b-2702e1f04e73");
-
- /// <summary>
- /// Gets the instance of the command.
- /// </summary>
- public static QtMainMenu Instance {
- get;
- private set;
- }
-
- /// <summary>
- /// Initializes the singleton instance of the command.
- /// </summary>
- /// <param name="package">Owner package, not null.</param>
- public static void Initialize(Package package)
- {
- Instance = new QtMainMenu(package);
- }
-
- #endregion public
-
- #region private
-
- /// <summary>
- /// Command ID.
- /// </summary>
- private enum CommandId : int
- {
- LaunchDesignerId = 0x0100,
- LaunchLinguistId = 0x0101,
- OpenProFileId = 0x0102,
- ImportPriFileId = 0x0103,
- ExportPriFileId = 0x0104,
- ExportProFileId = 0x0105,
- CreateNewTsFileId = 0x0107,
- ConvertToQtId = 0x0124,
- ConvertToQmakeId = 0x0108,
- QtProjectSettingsId = 0x0109,
- ChangeProjectQtVersionId = 0x0126,
- QtOptionsId = 0x0110
- }
-
- /// <summary>
- /// VS Package that provides this command, not null.
- /// </summary>
- private readonly Package m_package;
-
- /// <summary>
- /// Gets the service provider from the owner package.
- /// </summary>
- private IServiceProvider ServiceProvider {
- get { return m_package; }
- }
-
- /// <summary>
- /// Initializes a new instance of the <see cref="QtMainMenu"/> class.
- /// Adds our command handlers for menu (commands must exist in the command table file)
- /// </summary>
- /// <param name="package">Owner package, not null.</param>
- private QtMainMenu(Package package)
- {
- if (package == null)
- throw new ArgumentNullException("package");
-
- m_package = package;
-
- var commandService = ServiceProvider.GetService(typeof(IMenuCommandService))
- as OleMenuCommandService;
- if (commandService == null)
- return;
-
- foreach (var id in Enum.GetValues(typeof(CommandId))) {
- var command = new OleMenuCommand(new EventHandler(execHandler),
- new CommandID(MainMenuGuid, (int)id));
- command.BeforeQueryStatus += new EventHandler(beforeQueryStatus);
- commandService.AddCommand(command);
- }
- }
-
- private void execHandler(object sender, EventArgs e)
- {
- var command = sender as OleMenuCommand;
- if (command == null)
- return;
-
- switch ((CommandId)command.CommandID.ID) {
- case CommandId.LaunchDesignerId:
- Vsix.Instance.ExtLoader.loadDesigner(null);
- break;
- case CommandId.LaunchLinguistId:
- ExtLoader.loadLinguist(null);
- break;
- case CommandId.OpenProFileId:
- ExtLoader.ImportProFile();
- break;
- case CommandId.ImportPriFileId:
- ExtLoader.ImportPriFile(HelperFunctions.GetSelectedQtProject(Vsix.Instance.Dte));
- break;
- case CommandId.ExportPriFileId:
- ExtLoader.ExportPriFile();
- break;
- case CommandId.ExportProFileId:
- ExtLoader.ExportProFile();
- break;
- case CommandId.CreateNewTsFileId:
- Translation.CreateNewTranslationFile(HelperFunctions.GetSelectedQtProject(Vsix
- .Instance.Dte));
- break;
- case CommandId.ConvertToQtId:
- case CommandId.ConvertToQmakeId: {
- var caption = SR.GetString("ConvertTitle");
- var text = SR.GetString("ConvertConfirmation");
- if (MessageBox.Show(text, caption, MessageBoxButtons.YesNo) == DialogResult.Yes) {
- HelperFunctions.ToggleProjectKind(HelperFunctions.GetSelectedProject(Vsix
- .Instance.Dte));
- }
- } break;
- case CommandId.QtProjectSettingsId: {
- var pro = HelperFunctions.GetSelectedQtProject(Vsix.Instance.Dte);
- if (pro != null) {
- var formProjectQtSettings = new FormProjectQtSettings();
- formProjectQtSettings.SetProject(pro);
- formProjectQtSettings.StartPosition = FormStartPosition.CenterParent;
- var ww = new MainWinWrapper(Vsix.Instance.Dte);
- formProjectQtSettings.ShowDialog(ww);
- } else {
- MessageBox.Show(SR.GetString("NoProjectOpened"));
- }
- } break;
- case CommandId.ChangeProjectQtVersionId: {
- var pro = HelperFunctions.GetSelectedQtProject(Vsix.Instance.Dte);
- if (HelperFunctions.IsQMakeProject(pro)) {
- var formChangeQtVersion = new FormChangeQtVersion();
- formChangeQtVersion.UpdateContent(ChangeFor.Project);
- var ww = new MainWinWrapper(Vsix.Instance.Dte);
- if (formChangeQtVersion.ShowDialog(ww) == DialogResult.OK) {
- string qtVersion = formChangeQtVersion.GetSelectedQtVersion();
- HelperFunctions.SetDebuggingEnvironment(pro, "PATH=" + QtVersionManager
- .The().GetInstallPath(qtVersion) + @"\bin;$(PATH)", true);
- }
- }
- } break;
- case CommandId.QtOptionsId: {
- var formQtVersions = new FormVSQtSettings();
- formQtVersions.LoadSettings();
- formQtVersions.StartPosition = FormStartPosition.CenterParent;
- var ww = new MainWinWrapper(Vsix.Instance.Dte);
- if (formQtVersions.ShowDialog(ww) == DialogResult.OK)
- formQtVersions.SaveSettings();
- } break;
- default:
- break;
- }
- }
-
- private void beforeQueryStatus(object sender, EventArgs e)
- {
- var command = sender as OleMenuCommand;
- if (command == null)
- return;
-
- switch ((CommandId)command.CommandID.ID) {
- case CommandId.LaunchDesignerId:
- case CommandId.LaunchLinguistId:
- case CommandId.OpenProFileId:
- case CommandId.QtOptionsId:
- command.Visible = true;
- command.Enabled = true;
- break;
- case CommandId.ImportPriFileId:
- case CommandId.ExportPriFileId:
- case CommandId.ExportProFileId:
- case CommandId.CreateNewTsFileId: {
- command.Visible = true;
- command.Enabled = HelperFunctions.IsQtProject(HelperFunctions
- .GetSelectedProject(Vsix.Instance.Dte));
- } break;
- case CommandId.ConvertToQmakeId:
- case CommandId.QtProjectSettingsId: {
- var status = vsCommandStatus.vsCommandStatusSupported;
- var project = HelperFunctions.GetSelectedProject(Vsix.Instance.Dte);
- if (project != null) {
- if (HelperFunctions.IsQtProject(project))
- status |= vsCommandStatus.vsCommandStatusEnabled;
- else if ((project != null) && HelperFunctions.IsQMakeProject(project))
- status |= vsCommandStatus.vsCommandStatusInvisible;
- }
- command.Enabled = ((status & vsCommandStatus.vsCommandStatusEnabled) != 0);
- command.Visible = ((status & vsCommandStatus.vsCommandStatusInvisible) == 0);
- } break;
- case CommandId.ConvertToQtId:
- case CommandId.ChangeProjectQtVersionId: {
- var status = vsCommandStatus.vsCommandStatusSupported;
- var project = HelperFunctions.GetSelectedProject(Vsix.Instance.Dte);
- if ((project == null) || HelperFunctions.IsQtProject(project))
- status |= vsCommandStatus.vsCommandStatusInvisible;
- else if (HelperFunctions.IsQMakeProject(project))
- status |= vsCommandStatus.vsCommandStatusEnabled;
- else
- status |= vsCommandStatus.vsCommandStatusInvisible;
- command.Enabled = ((status & vsCommandStatus.vsCommandStatusEnabled) != 0);
- command.Visible = ((status & vsCommandStatus.vsCommandStatusInvisible) == 0);
- } break;
- default:
- break;
- }
- }
-
- #endregion private
- }
-}
diff --git a/Qt4VS2003/Qt4VSAddin/QtMenus.vsct b/Qt4VS2003/Qt4VSAddin/QtMenus.vsct
deleted file mode 100644
index 141af747..00000000
--- a/Qt4VS2003/Qt4VSAddin/QtMenus.vsct
+++ /dev/null
@@ -1,542 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!--
- *****************************************************************************
- **
- ** Copyright (C) 2016 The Qt Company Ltd.
- ** Contact: https://www.qt.io/licensing/
- **
- ** This file is part of the Qt VS Add-in.
- **
- ** $QT_BEGIN_LICENSE:GPL-EXCEPT$
- ** Commercial License Usage
- ** Licensees holding valid commercial Qt licenses may use this file in
- ** accordance with the commercial license agreement provided with the
- ** Software or, alternatively, in accordance with the terms contained in
- ** a written agreement between you and The Qt Company. For licensing terms
- ** and conditions see https://www.qt.io/terms-conditions. For further
- ** information use the contact form at https://www.qt.io/contact-us.
- **
- ** GNU General Public License Usage
- ** Alternatively, this file may be used under the terms of the GNU
- ** General Public License version 3 as published by the Free Software
- ** Foundation with exceptions as appearing in the file LICENSE.GPL3-EXCEPT
- ** included in the packaging of this file. Please review the following
- ** information to ensure the GNU General Public License requirements will
- ** be met: https://www.gnu.org/licenses/gpl-3.0.html.
- **
- ** $QT_END_LICENSE$
- **
- *****************************************************************************
--->
-
-<CommandTable xmlns="http://schemas.microsoft.com/VisualStudio/2005-10-18/CommandTable"
- xmlns:xs="http://www.w3.org/2001/XMLSchema">
-
- <!--
- This is the file that defines the actual layout and type of the commands.
- It is divided in different sections (e.g. command definition, command
- placement, ...), with each defining a specific set of properties.
- See the comment before each section for more details about how to
- use it.
- -->
-
- <!--
- The VSCT compiler (the tool that translates this file into the binary
- format that VisualStudio will consume) has the ability to run a preprocessor
- on the vsct file; this preprocessor is (usually) the C++ preprocessor, so
- it is possible to define includes and macros with the same syntax used
- in C++ files. Using this ability of the compiler here, we include some files
- defining some of the constants that we will use inside the file.
- -->
-
- <!-- This is the file that defines the IDs for all the commands exposed by VisualStudio. -->
- <Extern href="stdidcmd.h"/>
-
- <!-- This header contains the command ids for the menus provided by the shell. -->
- <Extern href="vsshlids.h"/>
-
- <!--
- The Commands section is where commands, menus, and menu groups are defined.
- This section uses a Guid to identify the package that provides the command defined inside it.
- -->
- <Commands package="PackageGuid">
- <!--
- Inside this section we have different sub-sections: one for the menus, another
- for the menu groups, one for the buttons (the actual commands), one for the combos
- and the last one for the bitmaps used. Each element is identified by a command id that
- is a unique pair of guid and numeric identifier; the guid part of the identifier is usually
- called "command set" and is used to group different command inside a logically related
- group; your package should define its own command set in order to avoid collisions
- with command ids defined by other packages.
- -->
- <Menus>
- <Menu guid="MainMenuGuid" id="QtMainMenu" priority="0x700" type="Menu">
- <Parent guid="guidSHLMainMenu" id="IDG_VS_MM_TOOLSADDINS" />
- <Strings>
- <ButtonText>Qt VS Tools</ButtonText>
- </Strings>
- </Menu>
- </Menus>
-
- <!--
- In this section you can define new menu groups. A menu group is a container for
- other menus or buttons (commands); from a visual point of view you can see the
- group as the part of a menu contained between two lines. The parent of a group
- must be a menu.
- -->
- <Groups>
-
- <!-- Region Main menu groups -->
-
- <Group guid="MainMenuGuid" id="LaunchMenuGroup" priority="0x0600">
- <Parent guid="MainMenuGuid" id="QtMainMenu"/>
- </Group>
- <Group guid="MainMenuGuid" id="ProjectMenuGroup" priority="0x0600">
- <Parent guid="MainMenuGuid" id="QtMainMenu"/>
- </Group>
- <Group guid="MainMenuGuid" id="OthersMenuGroup" priority="0x0600">
- <Parent guid="MainMenuGuid" id="QtMainMenu"/>
- </Group>
- <Group guid="MainMenuGuid" id="OptionsMenuGroup" priority="0x0600">
- <Parent guid="MainMenuGuid" id="QtMainMenu"/>
- </Group>
-
- <!-- Endregion Main menu groups -->
-
- <!-- Region Solution context menu groups -->
-
- <Group guid="SolutionContextMenuGuid" id="SolutionContextTsMenuGroup" priority="0x0600">
- <Parent guid="guidSHLMainMenu" id="IDM_VS_CTXT_SOLNNODE" />
- </Group>
- <Group guid="SolutionContextMenuGuid" id="SolutionContextQtMenuGroup" priority="0x0600">
- <Parent guid="guidSHLMainMenu" id="IDM_VS_CTXT_SOLNNODE" />
- </Group>
-
- <!-- Endregion Solution context menu groups -->
-
- <!-- Region Project context menu groups -->
-
- <Group guid="ProjectContextMenuGuid" id="ProjectContextProjectMenuGroup" priority="0x0600">
- <Parent guid="guidSHLMainMenu" id="IDM_VS_CTXT_PROJNODE" />
- </Group>
- <Group guid="ProjectContextMenuGuid" id="ProjectContextTsMenuGroup" priority="0x0600">
- <Parent guid="guidSHLMainMenu" id="IDM_VS_CTXT_PROJNODE" />
- </Group>
- <Group guid="ProjectContextMenuGuid" id="ProjectContextOthersMenuGroup" priority="0x0600">
- <Parent guid="guidSHLMainMenu" id="IDM_VS_CTXT_PROJNODE" />
- </Group>
-
- <!-- Endregion Project context menu groups -->
-
- <Group guid="ItemContextMenuGuid" id="ItemContextTsMenuGroup" priority="0x0600">
- <Parent guid="guidSHLMainMenu" id="IDM_VS_CTXT_ITEMNODE" />
- </Group>
-
- </Groups>
-
- <!--
- This section defines the elements the user can interact with, like a menu command or a button
- or combo box in a toolbar.
- -->
- <Buttons>
- <!--
- To define a menu group you have to specify its ID, the parent menu and its display priority.
- The command is visible and enabled by default. If you need to change the visibility, status,
- etc, you can use the CommandFlag node. You can add more than one CommandFlag node e.g.:
- <CommandFlag>DefaultInvisible</CommandFlag>
- <CommandFlag>DynamicVisibility</CommandFlag>
- If you do not want an image next to your command, remove the Icon node />
- -->
-
- <!-- Region Main menu buttons -->
-
- <Button guid="MainMenuGuid" id="LaunchDesignerId" priority="0x0100" type="Button">
- <Parent guid="MainMenuGuid" id="LaunchMenuGroup" />
- <Icon guid="MenuImages" id="LaunchDesignerBitmap" />
- <CommandFlag>DefaultDisabled</CommandFlag>
- <Strings>
- <ButtonText>Launch Designer</ButtonText>
- <ToolTipText>This will start Qt Designer.</ToolTipText>
- </Strings>
- </Button>
- <Button guid="MainMenuGuid" id="LaunchLinguistId" priority="0x0100" type="Button">
- <Parent guid="MainMenuGuid" id="LaunchMenuGroup" />
- <Icon guid="MenuImages" id="LaunchLinguistBitmap" />
- <CommandFlag>DefaultDisabled</CommandFlag>
- <Strings>
- <ButtonText>Launch Linguist</ButtonText>
- <ToolTipText>This will start Qt Linguist.</ToolTipText>
- </Strings>
- </Button>
-
- <Button guid="MainMenuGuid" id="OpenProFileId" priority="0x0100" type="Button">
- <Parent guid="MainMenuGuid" id="ProjectMenuGroup" />
- <Icon guid="MenuImages" id="OpenProFileBitmap" />
- <Strings>
- <ButtonText>Open Qt Project File (.pro)...</ButtonText>
- <ToolTipText>Opens a Qt Project File (.pro) and creates a new solution respectively adds a new project to the current solution.</ToolTipText>
- </Strings>
- </Button>
- <Button guid="MainMenuGuid" id="ImportPriFileId" priority="0x0100" type="Button">
- <Parent guid="MainMenuGuid" id="ProjectMenuGroup" />
- <Icon guid="MenuImages" id="ImportPriFileBitmap" />
- <CommandFlag>DefaultDisabled</CommandFlag>
- <Strings>
- <ButtonText>Import .pri File to Project...</ButtonText>
- <ToolTipText>This will import a .pri file and create a Qt project from it.</ToolTipText>
- </Strings>
- </Button>
- <Button guid="MainMenuGuid" id="ExportPriFileId" priority="0x0100" type="Button">
- <Parent guid="MainMenuGuid" id="ProjectMenuGroup" />
- <Icon guid="MenuImages" id="ExportProFileBitmap" />
- <CommandFlag>DefaultDisabled</CommandFlag>
- <Strings>
- <ButtonText>Export Project to .pri File...</ButtonText>
- <ToolTipText>This will export the current project to a .pri file.</ToolTipText>
- </Strings>
- </Button>
- <Button guid="MainMenuGuid" id="ExportProFileId" priority="0x0100" type="Button">
- <Parent guid="MainMenuGuid" id="ProjectMenuGroup" />
- <Icon guid="MenuImages" id="CreateProFileBitmap" />
- <CommandFlag>DefaultDisabled</CommandFlag>
- <Strings>
- <ButtonText>Create basic .pro File...</ButtonText>
- <ToolTipText>This will export the current project to a Qt Project file (.pro).</ToolTipText>
- </Strings>
- </Button>
-
- <Button guid="MainMenuGuid" id="CreateNewTsFileId" priority="0x0100" type="Button">
- <Parent guid="MainMenuGuid" id="OthersMenuGroup" />
- <CommandFlag>DefaultDisabled</CommandFlag>
- <Strings>
- <ButtonText>Create new Translation File</ButtonText>
- <ToolTipText>Creates a new translation file for Qt Linguist.</ToolTipText>
- </Strings>
- </Button>
- <Button guid="MainMenuGuid" id="ConvertToQtId" priority="0x0100" type="Button">
- <Parent guid="MainMenuGuid" id="OthersMenuGroup" />
- <CommandFlag>DefaultDisabled</CommandFlag>
- <CommandFlag>DefaultInvisible</CommandFlag>
- <CommandFlag>DynamicVisibility</CommandFlag>
- <Strings>
- <ButtonText>Convert project to Qt Add-in project</ButtonText>
- </Strings>
- </Button>
- <Button guid="MainMenuGuid" id="ConvertToQmakeId" priority="0x0100" type="Button">
- <Parent guid="MainMenuGuid" id="OthersMenuGroup" />
- <CommandFlag>DefaultDisabled</CommandFlag>
- <CommandFlag>DynamicVisibility</CommandFlag>
- <Strings>
- <ButtonText>Convert project to QMake generated project</ButtonText>
- </Strings>
- </Button>
- <Button guid="MainMenuGuid" id="QtProjectSettingsId" priority="0x0100" type="Button">
- <Parent guid="MainMenuGuid" id="OthersMenuGroup" />
- <CommandFlag>DefaultDisabled</CommandFlag>
- <CommandFlag>DynamicVisibility</CommandFlag>
- <Strings>
- <ButtonText>Qt Project Settings</ButtonText>
- <ToolTipText>Edit Qt settings of the current project.</ToolTipText>
- </Strings>
- </Button>
- <Button guid="MainMenuGuid" id="ChangeProjectQtVersionId" priority="0x0100" type="Button">
- <Parent guid="MainMenuGuid" id="OthersMenuGroup" />
- <CommandFlag>DefaultDisabled</CommandFlag>
- <CommandFlag>DefaultInvisible</CommandFlag>
- <CommandFlag>DynamicVisibility</CommandFlag>
- <Strings>
- <ButtonText>Change project's Qt Version</ButtonText>
- </Strings>
- </Button>
-
- <Button guid="MainMenuGuid" id="QtOptionsId" priority="0x0100" type="Button">
- <Parent guid="MainMenuGuid" id="OptionsMenuGroup" />
- <Icon guid="MenuImages" id="QtLogoBitmap" />
- <Strings>
- <ButtonText>Qt Options</ButtonText>
- <ToolTipText>Configure the default Qt settings.</ToolTipText>
- </Strings>
- </Button>
-
- <!-- Endregion Main menu buttons -->
-
- <!-- Region Solution context menu button -->
-
- <Button guid="SolutionContextMenuGuid" id="lUpdateOnSolutionId" priority="0x0100" type="Button">
- <Parent guid="SolutionContextMenuGuid" id="SolutionContextTsMenuGroup" />
- <Icon guid="MenuImages" id="LaunchLinguistBitmap" />
- <CommandFlag>DefaultDisabled</CommandFlag>
- <CommandFlag>DefaultInvisible</CommandFlag>
- <CommandFlag>DynamicVisibility</CommandFlag>
- <Strings>
- <ButtonText>lupdate all .ts files in solution</ButtonText>
- </Strings>
- </Button>
- <Button guid="SolutionContextMenuGuid" id="lReleaseOnSolutionId" priority="0x0100" type="Button">
- <Parent guid="SolutionContextMenuGuid" id="SolutionContextTsMenuGroup" />
- <Icon guid="MenuImages" id="LaunchLinguistBitmap" />
- <CommandFlag>DefaultDisabled</CommandFlag>
- <CommandFlag>DefaultInvisible</CommandFlag>
- <CommandFlag>DynamicVisibility</CommandFlag>
- <Strings>
- <ButtonText>lrelease all .ts files in solution</ButtonText>
- </Strings>
- </Button>
-
- <Button guid="SolutionContextMenuGuid" id="ChangeSolutionQtVersionId" priority="0x0100" type="Button">
- <Parent guid="SolutionContextMenuGuid" id="SolutionContextQtMenuGroup" />
- <CommandFlag>DefaultDisabled</CommandFlag>
- <CommandFlag>DefaultInvisible</CommandFlag>
- <CommandFlag>DynamicVisibility</CommandFlag>
- <Strings>
- <ButtonText>Change Solution's Qt Version</ButtonText>
- <ToolTipText>Change the Qt version for this solution and all contained projects.</ToolTipText>
- </Strings>
- </Button>
-
- <!-- Endregion Solution context menu button -->
-
- <!-- Region Project context menu button -->
-
- <Button guid="ProjectContextMenuGuid" id="ImportPriFileProjectId" priority="0x0100" type="Button">
- <Parent guid="ProjectContextMenuGuid" id="ProjectContextProjectMenuGroup" />
- <Icon guid="MenuImages" id="ImportPriFileBitmap" />
- <CommandFlag>DefaultDisabled</CommandFlag>
- <Strings>
- <ButtonText>Import .pri File to Project...</ButtonText>
- <ToolTipText>This will import a .pri file and create a Qt project from it.</ToolTipText>
- </Strings>
- </Button>
- <Button guid="ProjectContextMenuGuid" id="ExportPriFileProjectId" priority="0x0100" type="Button">
- <Parent guid="ProjectContextMenuGuid" id="ProjectContextProjectMenuGroup" />
- <Icon guid="MenuImages" id="ExportProFileBitmap" />
- <CommandFlag>DefaultDisabled</CommandFlag>
- <Strings>
- <ButtonText>Export Project to .pri File...</ButtonText>
- <ToolTipText>This will export the current project to a .pri file.</ToolTipText>
- </Strings>
- </Button>
- <Button guid="ProjectContextMenuGuid" id="ExportProFileProjectId" priority="0x0100" type="Button">
- <Parent guid="ProjectContextMenuGuid" id="ProjectContextProjectMenuGroup" />
- <Icon guid="MenuImages" id="CreateProFileBitmap" />
- <CommandFlag>DefaultDisabled</CommandFlag>
- <Strings>
- <ButtonText>Create basic .pro File...</ButtonText>
- <ToolTipText>This will export the current project to a Qt Project file (.pro).</ToolTipText>
- </Strings>
- </Button>
-
- <Button guid="ProjectContextMenuGuid" id="CreateNewTsFileProjectId" priority="0x0100" type="Button">
- <Parent guid="ProjectContextMenuGuid" id="ProjectContextTsMenuGroup" />
- <CommandFlag>DefaultDisabled</CommandFlag>
- <Strings>
- <ButtonText>Create new Translation File</ButtonText>
- <ToolTipText>Creates a new translation file for Qt Linguist.</ToolTipText>
- </Strings>
- </Button>
- <Button guid="ProjectContextMenuGuid" id="lUpdateOnProjectId" priority="0x0100" type="Button">
- <Parent guid="ProjectContextMenuGuid" id="ProjectContextTsMenuGroup" />
- <Icon guid="MenuImages" id="LaunchLinguistBitmap" />
- <CommandFlag>DefaultDisabled</CommandFlag>
- <Strings>
- <ButtonText>lupdate all .ts files in project</ButtonText>
- </Strings>
- </Button>
- <Button guid="ProjectContextMenuGuid" id="lReleaseOnProjectId" priority="0x0100" type="Button">
- <Parent guid="ProjectContextMenuGuid" id="ProjectContextTsMenuGroup" />
- <Icon guid="MenuImages" id="LaunchLinguistBitmap" />
- <CommandFlag>DefaultDisabled</CommandFlag>
- <Strings>
- <ButtonText>lrelease all .ts files in project</ButtonText>
- </Strings>
- </Button>
-
- <Button guid="ProjectContextMenuGuid" id="ConvertToQtProjectId" priority="0x0100" type="Button">
- <Parent guid="ProjectContextMenuGuid" id="ProjectContextOthersMenuGroup" />
- <CommandFlag>DefaultDisabled</CommandFlag>
- <CommandFlag>DefaultInvisible</CommandFlag>
- <CommandFlag>DynamicVisibility</CommandFlag>
- <Strings>
- <ButtonText>Convert project to Qt Add-in project</ButtonText>
- </Strings>
- </Button>
- <Button guid="ProjectContextMenuGuid" id="ConvertToQmakeProjectId" priority="0x0100" type="Button">
- <Parent guid="ProjectContextMenuGuid" id="ProjectContextOthersMenuGroup" />
- <CommandFlag>DefaultDisabled</CommandFlag>
- <CommandFlag>DynamicVisibility</CommandFlag>
- <Strings>
- <ButtonText>Convert project to QMake generated project</ButtonText>
- </Strings>
- </Button>
- <Button guid="ProjectContextMenuGuid" id="QtProjectSettingsProjectId" priority="0x0100" type="Button">
- <Parent guid="ProjectContextMenuGuid" id="ProjectContextOthersMenuGroup" />
- <CommandFlag>DefaultDisabled</CommandFlag>
- <CommandFlag>DynamicVisibility</CommandFlag>
- <Strings>
- <ButtonText>Qt Project Settings</ButtonText>
- <ToolTipText>Edit Qt settings of the current project.</ToolTipText>
- </Strings>
- </Button>
- <Button guid="ProjectContextMenuGuid" id="ChangeProjectQtVersionProjectId" priority="0x0100" type="Button">
- <Parent guid="ProjectContextMenuGuid" id="ProjectContextOthersMenuGroup" />
- <CommandFlag>DefaultDisabled</CommandFlag>
- <CommandFlag>DefaultInvisible</CommandFlag>
- <CommandFlag>DynamicVisibility</CommandFlag>
- <Strings>
- <ButtonText>Change project's Qt Version</ButtonText>
- </Strings>
- </Button>
-
- <!-- Endregion Project context menu button -->
-
- <!-- Region Item context menu buttons -->
-
- <Button guid="ItemContextMenuGuid" id="lUpdateOnItemId" priority="0x0100" type="Button">
- <Parent guid="ItemContextMenuGuid" id="ItemContextTsMenuGroup" />
- <Icon guid="MenuImages" id="LaunchLinguistBitmap" />
- <CommandFlag>DefaultDisabled</CommandFlag>
- <CommandFlag>DefaultInvisible</CommandFlag>
- <CommandFlag>DynamicVisibility</CommandFlag>
- <Strings>
- <ButtonText>lupdate</ButtonText>
- </Strings>
- </Button>
- <Button guid="ItemContextMenuGuid" id="lReleaseOnItemId" priority="0x0100" type="Button">
- <Parent guid="ItemContextMenuGuid" id="ItemContextTsMenuGroup" />
- <Icon guid="MenuImages" id="LaunchLinguistBitmap" />
- <CommandFlag>DefaultDisabled</CommandFlag>
- <CommandFlag>DefaultInvisible</CommandFlag>
- <CommandFlag>DynamicVisibility</CommandFlag>
- <Strings>
- <ButtonText>lrelease</ButtonText>
- </Strings>
- </Button>
-
- <!-- Endregion Item context menu buttons -->
-
- </Buttons>
-
- <!-- The bitmaps section is used to define the bitmaps that are used for the commands. -->
- <Bitmaps>
- <!--
- The bitmap id is defined in a way that is a little bit different from the others:
- the declaration starts with a guid for the bitmap strip, then there is the resource
- id of the bitmap strip containing the bitmaps and then there are the numeric ids of
- the elements used inside a button definition. An important aspect of this declaration
- is that the element id must be the actual index (1-based) of the bitmap inside the
- bitmap strip.
- -->
- <Bitmap guid="MenuImages" href="Resources\menuimages.png" usedList="LaunchDesignerBitmap,
- LaunchLinguistBitmap, OpenProFileBitmap, ImportPriFileBitmap, ExportProFileBitmap,
- CreateProFileBitmap, QtLogoBitmap" />
- </Bitmaps>
- </Commands>
-
- <Symbols>
- <!-- This is the package guid. -->
- <GuidSymbol name="PackageGuid" value="{15021976-647e-4876-9040-2507afde45d2}" />
-
- <!-- This is the guid used to group the menu commands together -->
- <GuidSymbol name="MainMenuGuid" value="{58f83fff-d39d-4c66-810b-2702e1f04e73}">
-
- <!-- Region Main menu buttons Ids-->
-
- <IDSymbol name="QtMainMenu" value="0x1020"/>
-
- <IDSymbol name="LaunchMenuGroup" value="0x1021" />
- <IDSymbol name="LaunchDesignerId" value="0x0100" />
- <IDSymbol name="LaunchLinguistId" value="0x0101" />
-
- <IDSymbol name="ProjectMenuGroup" value="0x1022" />
- <IDSymbol name="OpenProFileId" value="0x0102" />
- <IDSymbol name="ImportPriFileId" value="0x0103" />
- <IDSymbol name="ExportPriFileId" value="0x0104" />
- <IDSymbol name="ExportProFileId" value="0x0105" />
-
- <IDSymbol name="OthersMenuGroup" value="0x1023" />
- <IDSymbol name="CreateNewTsFileId" value="0x0107" />
- <IDSymbol name="ConvertToQtId" value="0x0124" />
- <IDSymbol name="ConvertToQmakeId" value="0x0108" />
- <IDSymbol name="QtProjectSettingsId" value="0x0109" />
- <IDSymbol name="ChangeProjectQtVersionId" value="0x0126" />
-
- <IDSymbol name="OptionsMenuGroup" value="0x1024" />
- <IDSymbol name="QtOptionsId" value="0x0110" />
-
- <!-- Endregion Main menu buttons Ids -->
-
- </GuidSymbol>
-
- <GuidSymbol name="SolutionContextMenuGuid" value="{6dcda34f-4d22-4d6a-a176-5507069c5a3e}">
-
- <!-- Region Solution context menu button Ids -->
-
- <IDSymbol name="SolutionContextTsMenuGroup" value="0x1025" />
- <IDSymbol name="lUpdateOnSolutionId" value="0x0111" />
- <IDSymbol name="lReleaseOnSolutionId" value="0x0112" />
-
- <IDSymbol name="SolutionContextQtMenuGroup" value="0x1026" />
- <IDSymbol name="ChangeSolutionQtVersionId" value="0x0113" />
-
- <!-- Endregion Solution context menu button Ids -->
-
- </GuidSymbol>
-
- <GuidSymbol name="ProjectContextMenuGuid" value="{5732faa9-6074-4e07-b035-2816e809f50e}" >
-
- <!-- Region Project context menu button Ids -->
-
- <IDSymbol name="ProjectContextProjectMenuGroup" value="0x1027" />
- <IDSymbol name="ImportPriFileProjectId" value="0x0114" />
- <IDSymbol name="ExportPriFileProjectId" value="0x0115" />
- <IDSymbol name="ExportProFileProjectId" value="0x0116" />
-
- <IDSymbol name="ProjectContextTsMenuGroup" value="0x1028" />
- <IDSymbol name="CreateNewTsFileProjectId" value="0x0117" />
- <IDSymbol name="lUpdateOnProjectId" value="0x0118" />
- <IDSymbol name="lReleaseOnProjectId" value="0x0119" />
-
- <IDSymbol name="ProjectContextOthersMenuGroup" value="0x1029" />
- <IDSymbol name="ConvertToQtProjectId" value="0x0120" />
- <IDSymbol name="ConvertToQmakeProjectId" value="0x0121" />
- <IDSymbol name="QtProjectSettingsProjectId" value="0x0122" />
- <IDSymbol name="ChangeProjectQtVersionProjectId" value="0x0123" />
-
- <!-- Endregion Project context menu button Ids -->
-
- </GuidSymbol>
-
- <GuidSymbol name="ItemContextMenuGuid" value="{9f67a0bd-ee0a-47e3-b656-5efb12e3c770}">
-
- <IDSymbol name="ItemContextTsMenuGroup" value="0x1030" />
- <IDSymbol name="lUpdateOnItemId" value="0x0125" />
- <IDSymbol name="lReleaseOnItemId" value="0x0126" />
-
- </GuidSymbol>
-
- <GuidSymbol name="MenuImages" value="{d7cf9f1c-0f37-4609-8eb3-72589dc5a5ec}" >
- <IDSymbol name="LaunchDesignerBitmap" value="1" />
- <IDSymbol name="LaunchLinguistBitmap" value="2" />
- <IDSymbol name="OpenProFileBitmap" value="3" />
- <IDSymbol name="ImportPriFileBitmap" value="4" />
- <IDSymbol name="ExportProFileBitmap" value="5" />
- <IDSymbol name="CreateProFileBitmap" value="6" />
- <IDSymbol name="QtLogoBitmap" value="7" />
- </GuidSymbol>
- </Symbols>
-
- <VisibilityConstraints>
- <VisibilityItem guid="SolutionContextMenuGuid" id="lUpdateOnSolutionId"
- context="UICONTEXT_SolutionHasSingleProject" />
- <VisibilityItem guid="SolutionContextMenuGuid" id="lUpdateOnSolutionId"
- context="UICONTEXT_SolutionHasMultipleProjects" />
- <VisibilityItem guid="SolutionContextMenuGuid" id="lReleaseOnSolutionId"
- context="UICONTEXT_SolutionHasSingleProject" />
- <VisibilityItem guid="SolutionContextMenuGuid" id="lReleaseOnSolutionId"
- context="UICONTEXT_SolutionHasMultipleProjects" />
- <VisibilityItem guid="SolutionContextMenuGuid" id="ChangeSolutionQtVersionId"
- context="UICONTEXT_SolutionHasSingleProject" />
- <VisibilityItem guid="SolutionContextMenuGuid" id="ChangeSolutionQtVersionId"
- context="UICONTEXT_SolutionHasMultipleProjects" />
- </VisibilityConstraints>
-</CommandTable>
diff --git a/Qt4VS2003/Qt4VSAddin/QtProjectContextMenu.cs b/Qt4VS2003/Qt4VSAddin/QtProjectContextMenu.cs
deleted file mode 100644
index 35252f5f..00000000
--- a/Qt4VS2003/Qt4VSAddin/QtProjectContextMenu.cs
+++ /dev/null
@@ -1,240 +0,0 @@
-/****************************************************************************
-**
-** Copyright (C) 2016 The Qt Company Ltd.
-** Contact: https://www.qt.io/licensing/
-**
-** This file is part of the Qt VS Add-in.
-**
-** $QT_BEGIN_LICENSE:GPL-EXCEPT$
-** Commercial License Usage
-** Licensees holding valid commercial Qt licenses may use this file in
-** accordance with the commercial license agreement provided with the
-** Software or, alternatively, in accordance with the terms contained in
-** a written agreement between you and The Qt Company. For licensing terms
-** and conditions see https://www.qt.io/terms-conditions. For further
-** information use the contact form at https://www.qt.io/contact-us.
-**
-** GNU General Public License Usage
-** Alternatively, this file may be used under the terms of the GNU
-** General Public License version 3 as published by the Free Software
-** Foundation with exceptions as appearing in the file LICENSE.GPL3-EXCEPT
-** included in the packaging of this file. Please review the following
-** information to ensure the GNU General Public License requirements will
-** be met: https://www.gnu.org/licenses/gpl-3.0.html.
-**
-** $QT_END_LICENSE$
-**
-****************************************************************************/
-
-using Digia.Qt5ProjectLib;
-using EnvDTE;
-using Microsoft.VisualStudio.Shell;
-using System;
-using System.ComponentModel.Design;
-using System.Windows.Forms;
-
-namespace Qt5VSAddin
-{
- /// <summary>
- /// Command handler
- /// </summary>
- internal sealed class QtProjectContextMenu
- {
- #region public
-
- /// <summary>
- /// Command menu group (command set GUID).
- /// </summary>
- public static readonly Guid ProjectContextMenuGuid = new Guid("5732faa9-6074-4e07-b035-2816e809f50e");
-
- /// <summary>
- /// Gets the instance of the command.
- /// </summary>
- public static QtProjectContextMenu Instance {
- get;
- private set;
- }
-
- /// <summary>
- /// Initializes the singleton instance of the command.
- /// </summary>
- /// <param name="package">Owner package, not null.</param>
- public static void Initialize(Package package)
- {
- Instance = new QtProjectContextMenu(package);
- }
-
- #endregion public
-
- #region private
-
- /// <summary>
- /// Command ID.
- /// </summary>
- private enum CommandId : int
- {
- ImportPriFileProjectId = 0x0114,
- ExportPriFileProjectId = 0x0115,
- ExportProFileProjectId = 0x0116,
- CreateNewTsFileProjectId = 0x0117,
- lUpdateOnProjectId = 0x0118,
- lReleaseOnProjectId = 0x0119,
- ConvertToQtProjectId = 0x0120,
- ConvertToQmakeProjectId = 0x0121,
- QtProjectSettingsProjectId = 0x0122,
- ChangeProjectQtVersionProjectId = 0x0123
- }
-
- /// <summary>
- /// VS Package that provides this command, not null.
- /// </summary>
- private readonly Package m_package;
-
- /// <summary>
- /// Gets the service provider from the owner package.
- /// </summary>
- private IServiceProvider ServiceProvider {
- get { return m_package; }
- }
-
- /// <summary>
- /// Initializes a new instance of the <see cref="QtMainMenu"/> class.
- /// Adds our command handlers for menu (commands must exist in the command table file)
- /// </summary>
- /// <param name="package">Owner package, not null.</param>
- private QtProjectContextMenu(Package package)
- {
- if (package == null)
- throw new ArgumentNullException("package");
-
- m_package = package;
-
- var commandService = ServiceProvider.GetService(typeof(IMenuCommandService))
- as OleMenuCommandService;
- if (commandService == null)
- return;
-
- foreach (var id in Enum.GetValues(typeof(CommandId))) {
- var command = new OleMenuCommand(new EventHandler(execHandler),
- new CommandID(ProjectContextMenuGuid, (int)id));
- command.BeforeQueryStatus += new EventHandler(beforeQueryStatus);
- commandService.AddCommand(command);
- }
- }
-
- private void execHandler(object sender, EventArgs e)
- {
- var command = sender as OleMenuCommand;
- if (command == null)
- return;
-
- switch ((CommandId)command.CommandID.ID) {
- case CommandId.ImportPriFileProjectId:
- ExtLoader.ImportPriFile(HelperFunctions.GetSelectedQtProject(Vsix.Instance.Dte));
- break;
- case CommandId.ExportPriFileProjectId:
- ExtLoader.ExportPriFile();
- break;
- case CommandId.ExportProFileProjectId:
- ExtLoader.ExportProFile();
- break;
- case CommandId.CreateNewTsFileProjectId:
- Translation.CreateNewTranslationFile(HelperFunctions.GetSelectedQtProject(Vsix
- .Instance.Dte));
- break;
- case CommandId.lUpdateOnProjectId:
- Translation.RunlUpdate(HelperFunctions.GetSelectedQtProject(Vsix.Instance.Dte));
- break;
- case CommandId.lReleaseOnProjectId:
- Translation.RunlRelease(HelperFunctions.GetSelectedQtProject(Vsix.Instance.Dte));
- break;
- case CommandId.ConvertToQtProjectId:
- case CommandId.ConvertToQmakeProjectId: {
- var caption = SR.GetString("ConvertTitle");
- var text = SR.GetString("ConvertConfirmation");
- if (MessageBox.Show(text, caption, MessageBoxButtons.YesNo) == DialogResult.Yes) {
- HelperFunctions.ToggleProjectKind(HelperFunctions.GetSelectedProject(Vsix
- .Instance.Dte));
- }
- } break;
- case CommandId.QtProjectSettingsProjectId: {
- var pro = HelperFunctions.GetSelectedQtProject(Vsix.Instance.Dte);
- if (pro != null) {
- var formProjectQtSettings = new FormProjectQtSettings();
- formProjectQtSettings.SetProject(pro);
- formProjectQtSettings.StartPosition = FormStartPosition.CenterParent;
- var ww = new MainWinWrapper(Vsix.Instance.Dte);
- formProjectQtSettings.ShowDialog(ww);
- } else {
- MessageBox.Show(SR.GetString("NoProjectOpened"));
- }
- } break;
- case CommandId.ChangeProjectQtVersionProjectId: {
- var pro = HelperFunctions.GetSelectedQtProject(Vsix.Instance.Dte);
- if (HelperFunctions.IsQMakeProject(pro)) {
- var formChangeQtVersion = new FormChangeQtVersion();
- formChangeQtVersion.UpdateContent(ChangeFor.Project);
- var ww = new MainWinWrapper(Vsix.Instance.Dte);
- if (formChangeQtVersion.ShowDialog(ww) == DialogResult.OK) {
- string qtVersion = formChangeQtVersion.GetSelectedQtVersion();
- HelperFunctions.SetDebuggingEnvironment(pro, "PATH=" + QtVersionManager
- .The().GetInstallPath(qtVersion) + @"\bin;$(PATH)", true);
- }
- }
- } break;
- default:
- break;
- }
- }
-
- private void beforeQueryStatus(object sender, EventArgs e)
- {
- var command = sender as OleMenuCommand;
- if (command == null)
- return;
-
- switch ((CommandId)command.CommandID.ID) {
- case CommandId.ImportPriFileProjectId:
- case CommandId.ExportPriFileProjectId:
- case CommandId.ExportProFileProjectId:
- case CommandId.CreateNewTsFileProjectId:
- case CommandId.lUpdateOnProjectId:
- case CommandId.lReleaseOnProjectId:
- command.Visible = true;
- command.Enabled = HelperFunctions.IsQtProject(HelperFunctions
- .GetSelectedProject(Vsix.Instance.Dte));
- break;
- case CommandId.ConvertToQmakeProjectId:
- case CommandId.QtProjectSettingsProjectId: {
- var status = vsCommandStatus.vsCommandStatusSupported;
- var project = HelperFunctions.GetSelectedProject(Vsix.Instance.Dte);
- if (project != null) {
- if (HelperFunctions.IsQtProject(project))
- status |= vsCommandStatus.vsCommandStatusEnabled;
- else if ((project != null) && HelperFunctions.IsQMakeProject(project))
- status |= vsCommandStatus.vsCommandStatusInvisible;
- }
- command.Enabled = ((status & vsCommandStatus.vsCommandStatusEnabled) != 0);
- command.Visible = ((status & vsCommandStatus.vsCommandStatusInvisible) == 0);
- } break;
- case CommandId.ConvertToQtProjectId:
- case CommandId.ChangeProjectQtVersionProjectId: {
- var status = vsCommandStatus.vsCommandStatusSupported;
- var project = HelperFunctions.GetSelectedProject(Vsix.Instance.Dte);
- if ((project == null) || HelperFunctions.IsQtProject(project))
- status |= vsCommandStatus.vsCommandStatusInvisible;
- else if (HelperFunctions.IsQMakeProject(project))
- status |= vsCommandStatus.vsCommandStatusEnabled;
- else
- status |= vsCommandStatus.vsCommandStatusInvisible;
- command.Enabled = ((status & vsCommandStatus.vsCommandStatusEnabled) != 0);
- command.Visible = ((status & vsCommandStatus.vsCommandStatusInvisible) == 0);
- } break;
- default:
- break;
- }
- }
-
- #endregion private
- }
-}
diff --git a/Qt4VS2003/Qt4VSAddin/QtSettings.cs b/Qt4VS2003/Qt4VSAddin/QtSettings.cs
deleted file mode 100644
index 954fe06f..00000000
--- a/Qt4VS2003/Qt4VSAddin/QtSettings.cs
+++ /dev/null
@@ -1,289 +0,0 @@
-/****************************************************************************
-**
-** Copyright (C) 2016 The Qt Company Ltd.
-** Contact: https://www.qt.io/licensing/
-**
-** This file is part of the Qt VS Add-in.
-**
-** $QT_BEGIN_LICENSE:GPL-EXCEPT$
-** Commercial License Usage
-** Licensees holding valid commercial Qt licenses may use this file in
-** accordance with the commercial license agreement provided with the
-** Software or, alternatively, in accordance with the terms contained in
-** a written agreement between you and The Qt Company. For licensing terms
-** and conditions see https://www.qt.io/terms-conditions. For further
-** information use the contact form at https://www.qt.io/contact-us.
-**
-** GNU General Public License Usage
-** Alternatively, this file may be used under the terms of the GNU
-** General Public License version 3 as published by the Free Software
-** Foundation with exceptions as appearing in the file LICENSE.GPL3-EXCEPT
-** included in the packaging of this file. Please review the following
-** information to ensure the GNU General Public License requirements will
-** be met: https://www.gnu.org/licenses/gpl-3.0.html.
-**
-** $QT_END_LICENSE$
-**
-****************************************************************************/
-
-using System;
-using System.Windows.Forms;
-using System.ComponentModel;
-
-using Digia.Qt5ProjectLib;
-namespace Qt5VSAddin
-{
- public class ProjectQtSettings
- {
-
- public ProjectQtSettings(EnvDTE.Project proj)
- {
- versionManager = QtVersionManager.The();
- project = proj;
- newMocDir = oldMocDir = QtVSIPSettings.GetMocDirectory(project);
- newMocOptions = oldMocOptions= QtVSIPSettings.GetMocOptions(project);
- newRccDir = oldRccDir = QtVSIPSettings.GetRccDirectory(project);
- newUicDir = oldUicDir = QtVSIPSettings.GetUicDirectory(project);
- newLUpdateOnBuild = oldLUpdateOnBuild = QtVSIPSettings.GetLUpdateOnBuild(project);
- newLUpdateOptions = oldLUpdateOptions = QtVSIPSettings.GetLUpdateOptions(project);
- newLReleaseOptions = oldLReleaseOptions = QtVSIPSettings.GetLReleaseOptions(project);
- newQtVersion = oldQtVersion = versionManager.GetProjectQtVersion(project);
- }
-
- private QtVersionManager versionManager;
- private EnvDTE.Project project;
-
- private string oldMocDir = null;
- private string oldMocOptions= null;
- private string oldRccDir = null;
- private string oldUicDir = null;
- private string oldQtVersion = null;
- private bool oldLUpdateOnBuild = false;
- private string oldLUpdateOptions = null;
- private string oldLReleaseOptions = null;
-
- private string newMocDir = null;
- private string newMocOptions = null;
- private string newRccDir = null;
- private string newUicDir = null;
- private string newQtVersion = null;
- private bool newLUpdateOnBuild = false;
- private string newLUpdateOptions = null;
- private string newLReleaseOptions = null;
-
- public void SaveSettings()
- {
- bool updateMoc = false;
- QtProject qtPro = QtProject.Create(project);
-
- if (oldMocDir != newMocDir)
- {
- QtVSIPSettings.SaveMocDirectory(project, newMocDir);
- updateMoc = true;
- }
- if (oldMocOptions != newMocOptions)
- {
- QtVSIPSettings.SaveMocOptions(project, newMocOptions);
- updateMoc = true;
- }
- if (updateMoc)
- qtPro.UpdateMocSteps(oldMocDir);
-
- if (oldUicDir != newUicDir)
- {
- QtVSIPSettings.SaveUicDirectory(project, newUicDir);
- qtPro.UpdateUicSteps(oldUicDir, true);
- }
-
- if (oldRccDir != newRccDir)
- {
- QtVSIPSettings.SaveRccDirectory(project, newRccDir);
- qtPro.RefreshRccSteps(oldRccDir);
- }
-
- if (oldLUpdateOnBuild != newLUpdateOnBuild)
- QtVSIPSettings.SaveLUpdateOnBuild(project, newLUpdateOnBuild);
-
- if (oldLUpdateOptions != newLUpdateOptions)
- QtVSIPSettings.SaveLUpdateOptions(project, newLUpdateOptions);
-
- if (oldLReleaseOptions != newLReleaseOptions)
- QtVSIPSettings.SaveLReleaseOptions(project, newLReleaseOptions);
-
- if (oldQtVersion != newQtVersion)
- {
- bool newProjectCreated = false;
- bool versionChanged = qtPro.ChangeQtVersion(oldQtVersion, newQtVersion, ref newProjectCreated);
- if (versionChanged && newProjectCreated)
- project = qtPro.Project;
- }
- }
-
- public string MocDirectory
- {
- get
- {
- return newMocDir;
- }
- set
- {
- string tmp = HelperFunctions.NormalizeRelativeFilePath(value);
- if (tmp.ToLower() == oldMocDir.ToLower())
- return;
-
- if (ContainsInvalidVariable(tmp))
- Messages.DisplayErrorMessage(SR.GetString("OnlyVariableInDir"));
- else
- newMocDir = tmp;
- }
- }
-
- public string MocOptions
- {
- get
- {
- return newMocOptions;
- }
-
- set
- {
- newMocOptions = value;
- }
- }
-
- public string UicDirectory
- {
- get
- {
- return newUicDir;
- }
- set
- {
- string tmp = HelperFunctions.NormalizeRelativeFilePath(value);
- if (tmp.ToLower() == oldUicDir.ToLower())
- return;
-
- if (ContainsInvalidVariable(tmp))
- Messages.DisplayErrorMessage(SR.GetString("OnlyVariableInDir"));
- else
- newUicDir = tmp;
- }
- }
-
- public string RccDirectory
- {
- get
- {
- return newRccDir;
- }
- set
- {
- string tmp = HelperFunctions.NormalizeRelativeFilePath(value);
- if (tmp.ToLower() == oldRccDir.ToLower())
- return;
-
- if (ContainsInvalidVariable(tmp))
- Messages.DisplayErrorMessage(SR.GetString("OnlyVariableInDir"));
- else
- newRccDir = tmp;
- }
- }
-
- public bool lupdateOnBuild
- {
- get
- {
- return newLUpdateOnBuild;
- }
-
- set
- {
- newLUpdateOnBuild = value;
- }
- }
-
- public string LUpdateOptions
- {
- get
- {
- return newLUpdateOptions;
- }
-
- set
- {
- newLUpdateOptions = value;
- }
- }
-
- public string LReleaseOptions
- {
- get
- {
- return newLReleaseOptions;
- }
-
- set
- {
- newLReleaseOptions = value;
- }
- }
-
- [TypeConverter(typeof(VersionConverter))]
- public string Version
- {
- get
- {
- return newQtVersion;
- }
- set
- {
- newQtVersion = value;
- }
- }
-
- internal class VersionConverter : StringConverter
- {
- private QtVersionManager versionManager;
-
- public VersionConverter()
- {
- versionManager = QtVersionManager.The();
- }
-
- public override bool GetStandardValuesSupported(ITypeDescriptorContext context)
- {
- return true;
- }
-
- public override StandardValuesCollection GetStandardValues(ITypeDescriptorContext context)
- {
- string[] versions = versionManager.GetVersions();
- Array.Resize(ref versions, versions.Length + 1);
- versions[versions.Length - 1] = "$(DefaultQtVersion)";
- return new StandardValuesCollection(versions);
- }
-
- public override bool GetStandardValuesExclusive(ITypeDescriptorContext context)
- {
- return true;
- }
- }
-
- private static bool ContainsInvalidVariable(string directory)
- {
- if (String.IsNullOrEmpty(directory))
- return false;
-
- string pattern = "\\$\\([^\\)]+\\)";
- System.Text.RegularExpressions.Regex regExp = new System.Text.RegularExpressions.Regex(pattern);
- System.Text.RegularExpressions.MatchCollection matchList = regExp.Matches(directory);
- for (int i = 0; i < matchList.Count; i++)
- {
- if (matchList[i].ToString() != "$(ConfigurationName)"
- && matchList[i].ToString() != "$(PlatformName)")
- return true;
- }
- return false;
- }
- }
-}
diff --git a/Qt4VS2003/Qt4VSAddin/QtSolutionContextMenu.cs b/Qt4VS2003/Qt4VSAddin/QtSolutionContextMenu.cs
deleted file mode 100644
index 2702e6b4..00000000
--- a/Qt4VS2003/Qt4VSAddin/QtSolutionContextMenu.cs
+++ /dev/null
@@ -1,170 +0,0 @@
-/****************************************************************************
-**
-** Copyright (C) 2016 The Qt Company Ltd.
-** Contact: https://www.qt.io/licensing/
-**
-** This file is part of the Qt VS Add-in.
-**
-** $QT_BEGIN_LICENSE:GPL-EXCEPT$
-** Commercial License Usage
-** Licensees holding valid commercial Qt licenses may use this file in
-** accordance with the commercial license agreement provided with the
-** Software or, alternatively, in accordance with the terms contained in
-** a written agreement between you and The Qt Company. For licensing terms
-** and conditions see https://www.qt.io/terms-conditions. For further
-** information use the contact form at https://www.qt.io/contact-us.
-**
-** GNU General Public License Usage
-** Alternatively, this file may be used under the terms of the GNU
-** General Public License version 3 as published by the Free Software
-** Foundation with exceptions as appearing in the file LICENSE.GPL3-EXCEPT
-** included in the packaging of this file. Please review the following
-** information to ensure the GNU General Public License requirements will
-** be met: https://www.gnu.org/licenses/gpl-3.0.html.
-**
-** $QT_END_LICENSE$
-**
-****************************************************************************/
-
-using Digia.Qt5ProjectLib;
-using EnvDTE;
-using EnvDTE80;
-using Microsoft.VisualStudio.Shell;
-using System;
-using System.ComponentModel.Design;
-using System.Windows.Forms;
-
-namespace Qt5VSAddin
-{
- /// <summary>
- /// Command handler
- /// </summary>
- internal sealed class QtSolutionContextMenu
- {
- #region public
-
- /// <summary>
- /// Command menu group (command set GUID).
- /// </summary>
- public static readonly Guid SolutionContextMenuGuid = new Guid("6dcda34f-4d22-4d6a-a176-5507069c5a3e");
-
- /// <summary>
- /// Gets the instance of the command.
- /// </summary>
- public static QtSolutionContextMenu Instance {
- get;
- private set;
- }
-
- /// <summary>
- /// Initializes the singleton instance of the command.
- /// </summary>
- /// <param name="package">Owner package, not null.</param>
- public static void Initialize(Package package)
- {
- Instance = new QtSolutionContextMenu(package);
- }
-
- #endregion public
-
- #region private
-
- /// <summary>
- /// VS Package that provides this command, not null.
- /// </summary>
- private readonly Package m_package;
-
- /// <summary>
- /// Command ID.
- /// </summary>
- private const int lUpdateOnSolutionId = 0x0111;
- private const int lReleaseOnSolutionId = 0x0112;
- private const int ChangeSolutionQtVersionId = 0x0113;
-
- /// <summary>
- /// Gets the service provider from the owner package.
- /// </summary>
- private IServiceProvider ServiceProvider {
- get { return m_package; }
- }
-
- /// <summary>
- /// Initializes a new instance of the <see cref="QtMainMenu"/> class.
- /// Adds our command handlers for menu (commands must exist in the command table file)
- /// </summary>
- /// <param name="package">Owner package, not null.</param>
- private QtSolutionContextMenu(Package package)
- {
- if (package == null)
- throw new ArgumentNullException("package");
-
- m_package = package;
-
- var commandService = ServiceProvider.GetService(typeof(IMenuCommandService))
- as OleMenuCommandService;
- if (commandService == null)
- return;
-
- commandService.AddCommand(new OleMenuCommand(new EventHandler(execHandler),
- new CommandID(SolutionContextMenuGuid, lUpdateOnSolutionId)));
-
- commandService.AddCommand(new OleMenuCommand(new EventHandler(execHandler),
- new CommandID(SolutionContextMenuGuid, lReleaseOnSolutionId)));
-
- commandService.AddCommand(new OleMenuCommand(new EventHandler(execHandler),
- new CommandID(SolutionContextMenuGuid, ChangeSolutionQtVersionId)));
- }
-
- private void execHandler(object sender, EventArgs e)
- {
- var command = sender as OleMenuCommand;
- if (command == null)
- return;
-
- switch (command.CommandID.ID) {
- case lUpdateOnSolutionId:
- Translation.RunlUpdate(Vsix.Instance.Dte.Solution);
- break;
- case lReleaseOnSolutionId:
- Translation.RunlRelease(Vsix.Instance.Dte.Solution);
- break;
- case ChangeSolutionQtVersionId:
- var formChangeQtVersion = new FormChangeQtVersion();
- formChangeQtVersion.UpdateContent(ChangeFor.Solution);
- if (formChangeQtVersion.ShowDialog() != DialogResult.OK)
- return;
-
- var newQtVersion = formChangeQtVersion.GetSelectedQtVersion();
- if (newQtVersion == null)
- return;
-
- string currentPlatform = null;
- try {
- var config2 = Vsix.Instance.Dte.Solution.SolutionBuild
- .ActiveConfiguration as SolutionConfiguration2;
- currentPlatform = config2.PlatformName;
- } catch { }
- if (string.IsNullOrEmpty(currentPlatform))
- return;
-
- var dte = Vsix.Instance.Dte;
- foreach (Project project in HelperFunctions.ProjectsInSolution(dte)) {
- if (HelperFunctions.IsQtProject(project)) {
- var OldQtVersion = QtVersionManager.The().GetProjectQtVersion(project,
- currentPlatform);
- if (OldQtVersion == null)
- OldQtVersion = QtVersionManager.The().GetDefaultVersion();
-
- bool created = false;
- var qtProject = QtProject.Create(project);
- qtProject.ChangeQtVersion(OldQtVersion, newQtVersion, ref created);
- }
- }
- QtVersionManager.The().SaveSolutionQtVersion(dte.Solution, newQtVersion);
- break;
- }
- }
-
- #endregion private
- }
-}
diff --git a/Qt4VS2003/Qt4VSAddin/QtVersionDialog.cs b/Qt4VS2003/Qt4VSAddin/QtVersionDialog.cs
deleted file mode 100644
index 6d616cac..00000000
--- a/Qt4VS2003/Qt4VSAddin/QtVersionDialog.cs
+++ /dev/null
@@ -1,186 +0,0 @@
-/****************************************************************************
-**
-** Copyright (C) 2016 The Qt Company Ltd.
-** Contact: https://www.qt.io/licensing/
-**
-** This file is part of the Qt VS Add-in.
-**
-** $QT_BEGIN_LICENSE:GPL-EXCEPT$
-** Commercial License Usage
-** Licensees holding valid commercial Qt licenses may use this file in
-** accordance with the commercial license agreement provided with the
-** Software or, alternatively, in accordance with the terms contained in
-** a written agreement between you and The Qt Company. For licensing terms
-** and conditions see https://www.qt.io/terms-conditions. For further
-** information use the contact form at https://www.qt.io/contact-us.
-**
-** GNU General Public License Usage
-** Alternatively, this file may be used under the terms of the GNU
-** General Public License version 3 as published by the Free Software
-** Foundation with exceptions as appearing in the file LICENSE.GPL3-EXCEPT
-** included in the packaging of this file. Please review the following
-** information to ensure the GNU General Public License requirements will
-** be met: https://www.gnu.org/licenses/gpl-3.0.html.
-**
-** $QT_END_LICENSE$
-**
-****************************************************************************/
-
-using System.Collections;
-using System.Windows.Forms;
-
-
-using Digia.Qt5ProjectLib;
-namespace Qt5VSAddin
-{
- /// <summary>
- /// Summary description for QtVersionDialog.
- /// </summary>
- public class QtVersionDialog : System.Windows.Forms.Form
- {
- private System.ComponentModel.Container components = null;
- private System.Windows.Forms.ComboBox versionComboBox;
- private System.Windows.Forms.Button cancelButton;
- private System.Windows.Forms.Button okButton;
- private System.Windows.Forms.GroupBox groupBox1;
- private EnvDTE.DTE dteObj = null;
-
- public QtVersionDialog(EnvDTE.DTE dte)
- {
- dteObj = dte;
- QtVersionManager vM = QtVersionManager.The();
- InitializeComponent();
-
- this.cancelButton.Text = SR.GetString(SR.Cancel);
- this.okButton.Text = SR.GetString(SR.OK);
- this.groupBox1.Text = SR.GetString("QtVersionDialog_BoxTitle");
- this.Text = SR.GetString("QtVersionDialog_Title");
-
- this.versionComboBox.Items.AddRange(vM.GetVersions());
- if (this.versionComboBox.Items.Count > 0)
- {
- string defVersion = vM.GetSolutionQtVersion(dteObj.Solution);
- if (defVersion != null && defVersion.Length > 0)
- {
- this.versionComboBox.Text = defVersion;
- }
- else if (dte.Solution != null && HelperFunctions.ProjectsInSolution(dte) != null)
- {
- IEnumerator prjEnum = HelperFunctions.ProjectsInSolution(dte).GetEnumerator();
- prjEnum.Reset();
- if (prjEnum.MoveNext())
- {
- EnvDTE.Project prj = prjEnum.Current as EnvDTE.Project;
- defVersion = vM.GetProjectQtVersion(prj);
- }
- }
- if (defVersion != null && defVersion.Length > 0)
- this.versionComboBox.Text = defVersion;
- else
- this.versionComboBox.Text = (string)this.versionComboBox.Items[0];
- }
-
- //if (SR.LanguageName == "ja")
- //{
- // this.cancelButton.Location = new System.Drawing.Point(224, 72);
- // this.cancelButton.Size = new Size(80, 22);
- // this.okButton.Location = new System.Drawing.Point(138, 72);
- // this.okButton.Size = new Size(80, 22);
- //}
- this.KeyPress += new KeyPressEventHandler(this.QtVersionDialog_KeyPress);
- }
-
- void QtVersionDialog_KeyPress(object sender, KeyPressEventArgs e)
- {
- if (e.KeyChar == 27)
- {
- DialogResult = DialogResult.Cancel;
- Close();
- }
- }
-
- public string QtVersion
- {
- get { return this.versionComboBox.Text; }
- }
-
- /// <summary>
- /// Clean up any resources being used.
- /// </summary>
- protected override void Dispose( bool disposing )
- {
- if (disposing)
- {
- if (components != null)
- {
- components.Dispose();
- }
- }
- base.Dispose( disposing );
- }
-
- #region Windows Form Designer generated code
- /// <summary>
- /// Required method for Designer support - do not modify
- /// the contents of this method with the code editor.
- /// </summary>
- private void InitializeComponent()
- {
- this.versionComboBox = new System.Windows.Forms.ComboBox();
- this.cancelButton = new System.Windows.Forms.Button();
- this.okButton = new System.Windows.Forms.Button();
- this.groupBox1 = new System.Windows.Forms.GroupBox();
- this.groupBox1.SuspendLayout();
- this.SuspendLayout();
- //
- // versionComboBox
- //
- this.versionComboBox.Location = new System.Drawing.Point(8, 24);
- this.versionComboBox.Name = "versionComboBox";
- this.versionComboBox.Size = new System.Drawing.Size(280, 21);
- this.versionComboBox.TabIndex = 0;
- //
- // cancelButton
- //
- this.cancelButton.DialogResult = System.Windows.Forms.DialogResult.Cancel;
- this.cancelButton.Location = new System.Drawing.Point(232, 72);
- this.cancelButton.Name = "cancelButton";
- this.cancelButton.Size = new System.Drawing.Size(75, 23);
- this.cancelButton.TabIndex = 1;
- //
- // okButton
- //
- this.okButton.DialogResult = System.Windows.Forms.DialogResult.OK;
- this.okButton.Location = new System.Drawing.Point(152, 72);
- this.okButton.Name = "okButton";
- this.okButton.Size = new System.Drawing.Size(75, 23);
- this.okButton.TabIndex = 2;
- //
- // groupBox1
- //
- this.groupBox1.Controls.Add(this.versionComboBox);
- this.groupBox1.Location = new System.Drawing.Point(8, 8);
- this.groupBox1.Name = "groupBox1";
- this.groupBox1.Size = new System.Drawing.Size(296, 56);
- this.groupBox1.TabIndex = 4;
- this.groupBox1.TabStop = false;
- //
- // QtVersionDialog
- //
- this.AcceptButton = this.okButton;
- this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
- this.CancelButton = this.cancelButton;
- this.ClientSize = new System.Drawing.Size(314, 103);
- this.Controls.Add(this.groupBox1);
- this.Controls.Add(this.okButton);
- this.Controls.Add(this.cancelButton);
- this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;
- this.KeyPreview = true;
- this.Name = "QtVersionDialog";
- this.groupBox1.ResumeLayout(false);
- this.ResumeLayout(false);
-
- }
- #endregion
- }
-}
diff --git a/Qt4VS2003/Qt4VSAddin/QtVersionDialog.resx b/Qt4VS2003/Qt4VSAddin/QtVersionDialog.resx
deleted file mode 100644
index 19dc0dd8..00000000
--- a/Qt4VS2003/Qt4VSAddin/QtVersionDialog.resx
+++ /dev/null
@@ -1,120 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<root>
- <!--
- Microsoft ResX Schema
-
- Version 2.0
-
- The primary goals of this format is to allow a simple XML format
- that is mostly human readable. The generation and parsing of the
- various data types are done through the TypeConverter classes
- associated with the data types.
-
- Example:
-
- ... ado.net/XML headers & schema ...
- <resheader name="resmimetype">text/microsoft-resx</resheader>
- <resheader name="version">2.0</resheader>
- <resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
- <resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
- <data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
- <data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
- <data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
- <value>[base64 mime encoded serialized .NET Framework object]</value>
- </data>
- <data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
- <value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
- <comment>This is a comment</comment>
- </data>
-
- There are any number of "resheader" rows that contain simple
- name/value pairs.
-
- Each data row contains a name, and value. The row also contains a
- type or mimetype. Type corresponds to a .NET class that support
- text/value conversion through the TypeConverter architecture.
- Classes that don't support this are serialized and stored with the
- mimetype set.
-
- The mimetype is used for serialized objects, and tells the
- ResXResourceReader how to depersist the object. This is currently not
- extensible. For a given mimetype the value must be set accordingly:
-
- Note - application/x-microsoft.net.object.binary.base64 is the format
- that the ResXResourceWriter will generate, however the reader can
- read any of the formats listed below.
-
- mimetype: application/x-microsoft.net.object.binary.base64
- value : The object must be serialized with
- : System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
- : and then encoded with base64 encoding.
-
- mimetype: application/x-microsoft.net.object.soap.base64
- value : The object must be serialized with
- : System.Runtime.Serialization.Formatters.Soap.SoapFormatter
- : and then encoded with base64 encoding.
-
- mimetype: application/x-microsoft.net.object.bytearray.base64
- value : The object must be serialized into a byte array
- : using a System.ComponentModel.TypeConverter
- : and then encoded with base64 encoding.
- -->
- <xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
- <xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
- <xsd:element name="root" msdata:IsDataSet="true">
- <xsd:complexType>
- <xsd:choice maxOccurs="unbounded">
- <xsd:element name="metadata">
- <xsd:complexType>
- <xsd:sequence>
- <xsd:element name="value" type="xsd:string" minOccurs="0" />
- </xsd:sequence>
- <xsd:attribute name="name" use="required" type="xsd:string" />
- <xsd:attribute name="type" type="xsd:string" />
- <xsd:attribute name="mimetype" type="xsd:string" />
- <xsd:attribute ref="xml:space" />
- </xsd:complexType>
- </xsd:element>
- <xsd:element name="assembly">
- <xsd:complexType>
- <xsd:attribute name="alias" type="xsd:string" />
- <xsd:attribute name="name" type="xsd:string" />
- </xsd:complexType>
- </xsd:element>
- <xsd:element name="data">
- <xsd:complexType>
- <xsd:sequence>
- <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
- <xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
- </xsd:sequence>
- <xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
- <xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
- <xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
- <xsd:attribute ref="xml:space" />
- </xsd:complexType>
- </xsd:element>
- <xsd:element name="resheader">
- <xsd:complexType>
- <xsd:sequence>
- <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
- </xsd:sequence>
- <xsd:attribute name="name" type="xsd:string" use="required" />
- </xsd:complexType>
- </xsd:element>
- </xsd:choice>
- </xsd:complexType>
- </xsd:element>
- </xsd:schema>
- <resheader name="resmimetype">
- <value>text/microsoft-resx</value>
- </resheader>
- <resheader name="version">
- <value>2.0</value>
- </resheader>
- <resheader name="reader">
- <value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
- </resheader>
- <resheader name="writer">
- <value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
- </resheader>
-</root> \ No newline at end of file
diff --git a/Qt4VS2003/Qt4VSAddin/ResClass.cs b/Qt4VS2003/Qt4VSAddin/ResClass.cs
deleted file mode 100644
index 10f26bea..00000000
--- a/Qt4VS2003/Qt4VSAddin/ResClass.cs
+++ /dev/null
@@ -1,201 +0,0 @@
-/****************************************************************************
-**
-** Copyright (C) 2016 The Qt Company Ltd.
-** Contact: https://www.qt.io/licensing/
-**
-** This file is part of the Qt VS Add-in.
-**
-** $QT_BEGIN_LICENSE:GPL-EXCEPT$
-** Commercial License Usage
-** Licensees holding valid commercial Qt licenses may use this file in
-** accordance with the commercial license agreement provided with the
-** Software or, alternatively, in accordance with the terms contained in
-** a written agreement between you and The Qt Company. For licensing terms
-** and conditions see https://www.qt.io/terms-conditions. For further
-** information use the contact form at https://www.qt.io/contact-us.
-**
-** GNU General Public License Usage
-** Alternatively, this file may be used under the terms of the GNU
-** General Public License version 3 as published by the Free Software
-** Foundation with exceptions as appearing in the file LICENSE.GPL3-EXCEPT
-** included in the packaging of this file. Please review the following
-** information to ensure the GNU General Public License requirements will
-** be met: https://www.gnu.org/licenses/gpl-3.0.html.
-**
-** $QT_END_LICENSE$
-**
-****************************************************************************/
-
-namespace Qt5VSAddin
-{
- using System;
- using System.Globalization;
- using System.Resources;
- using System.Threading;
- using System.ComponentModel;
-
- [AttributeUsage(AttributeTargets.All)]
- internal sealed class SRDescriptionAttribute : DescriptionAttribute
- {
-
- private bool replaced = false;
-
- /// <summary>
- /// Constructs a new sys description.
- /// </summary>
- /// <param name='description'>
- /// description text.
- /// </param>
- public SRDescriptionAttribute(string description) : base(description)
- {
- }
-
- /// <summary>
- /// Retrieves the description text.
- /// </summary>
- /// <returns>
- /// description
- /// </returns>
- public override string Description
- {
- get
- {
- if (!replaced)
- {
- replaced = true;
- DescriptionValue = SR.GetString(base.Description);
- }
- return base.Description;
- }
- }
- }
-
- [AttributeUsage(AttributeTargets.All)]
- internal sealed class SRCategoryAttribute : CategoryAttribute
- {
-
- public SRCategoryAttribute(string category) : base(category)
- {
- }
-
- protected override string GetLocalizedString(string value)
- {
- return SR.GetString(value);
- }
- }
-
- internal sealed class SR
- {
- static SR loader = null;
- ResourceManager resources;
-
- internal const string OK = "OK";
- internal const string Cancel = "Cancel";
- internal const string QtVSIntegration = "QtVSIntegration";
- internal const string CannotOpenFile = "CannotOpenFile";
- internal const string NotExistingFile = "NotExistingFile";
- internal const string Add = "Add";
- internal const string Edit = "Edit";
- internal const string Remove = "Remove";
- internal const string Delete = "Delete";
- internal static CultureInfo appCultureInfo = null;
- internal static CultureInfo defaultCultureInfo = null;
-
- internal SR()
- {
- defaultCultureInfo = CultureInfo.GetCultureInfo("en");
- appCultureInfo = CultureInfo.GetCultureInfo(Vsix.Instance.Dte.LocaleID);
- if (appCultureInfo.Name.StartsWith("en"))
- appCultureInfo = null;
- resources = new System.Resources.ResourceManager("Qt5VSAddin.StringResources", this.GetType().Assembly);
- }
-
- private static SR GetLoader()
- {
- if (loader == null)
- {
- lock(typeof(SR))
- {
- if (loader == null)
- {
- loader = new SR();
- }
- }
- }
-
- return loader;
- }
-
- private static CultureInfo Culture
- {
- get { return appCultureInfo; }
- //get { return null/*use ResourceManager default, CultureInfo.CurrentUICulture*/; }
- //get { return new CultureInfo("de"); }
- }
-
- public static ResourceManager Resources
- {
- get
- {
- return GetLoader().resources;
- }
- }
-
- public static String LanguageName
- {
- get { return Thread.CurrentThread.CurrentUICulture.TwoLetterISOLanguageName; }
- //get { return Culture.TwoLetterISOLanguageName; }
- }
-
- public static string GetString(string name, params object[] args)
- {
- string res = GetString(name);
- if (args != null && args.Length > 0)
- {
- return String.Format(res, args);
- }
- else
- {
- return res;
- }
- }
-
- public static string GetString(string name)
- {
- SR sys = GetLoader();
- if (sys == null)
- return null;
-
- string result;
- try
- {
- result = sys.resources.GetString(name, SR.Culture);
- }
- catch (Exception)
- {
- result = sys.resources.GetString(name, defaultCultureInfo);
- }
-
- return result;
- }
-
- public static object GetObject(string name)
- {
- SR sys = GetLoader();
- if (sys == null)
- return null;
-
- object result;
- try
- {
- result = sys.resources.GetObject(name, SR.Culture);
- }
- catch (Exception)
- {
- result = sys.resources.GetObject(name, defaultCultureInfo);
- }
-
- return result;
- }
- }
-}
diff --git a/Qt4VS2003/Qt4VSAddin/Resource.cs b/Qt4VS2003/Qt4VSAddin/Resource.cs
deleted file mode 100644
index 6866a38e..00000000
--- a/Qt4VS2003/Qt4VSAddin/Resource.cs
+++ /dev/null
@@ -1,145 +0,0 @@
-/****************************************************************************
-**
-** Copyright (C) 2016 The Qt Company Ltd.
-** Contact: https://www.qt.io/licensing/
-**
-** This file is part of the Qt VS Add-in.
-**
-** $QT_BEGIN_LICENSE:GPL-EXCEPT$
-** Commercial License Usage
-** Licensees holding valid commercial Qt licenses may use this file in
-** accordance with the commercial license agreement provided with the
-** Software or, alternatively, in accordance with the terms contained in
-** a written agreement between you and The Qt Company. For licensing terms
-** and conditions see https://www.qt.io/terms-conditions. For further
-** information use the contact form at https://www.qt.io/contact-us.
-**
-** GNU General Public License Usage
-** Alternatively, this file may be used under the terms of the GNU
-** General Public License version 3 as published by the Free Software
-** Foundation with exceptions as appearing in the file LICENSE.GPL3-EXCEPT
-** included in the packaging of this file. Please review the following
-** information to ensure the GNU General Public License requirements will
-** be met: https://www.gnu.org/licenses/gpl-3.0.html.
-**
-** $QT_END_LICENSE$
-**
-****************************************************************************/
-
-namespace Qt5VSAddin
-// --------------------------------------------------------------------------------------
-{
- using System.Collections;
-
- public class Res
- {
- // The CommandBarName must follow the ProgId
- // defined in Connect.cs
-
- public const string CommandBarName = "Qt5VSAddin";
- // The command bar constants.
-
- // All the constants for the LaunchDesigner command.
- public const int DesignerBitmapID = 1 ;
- public const string
- LaunchDesigner = "LaunchDesigner",
- LaunchDesignerFullCommand = CommandBarName + ".Connect." + LaunchDesigner;
-
- // All the constants for the LaunchLinguist command.
- public const int LinguistBitmapID = 3;
- public const string
- LaunchLinguist = "LaunchLinguist",
- LaunchLinguistFullCommand = CommandBarName + ".Connect." + LaunchLinguist;
-
- // All the constants for the ImportProFile command.
- public const int ImportProFileBitmapID = 11;
- public const string
- ImportProFile = "ImportProFile",
- ImportProFileFullCommand = CommandBarName + ".Connect." + ImportProFile;
-
- // All the constants for the ImportProFile command.
- public const int ImportPriFileBitmapID = 12;
- public const string
- ImportPriFile = "ImportPriFile",
- ImportPriFileFullCommand = CommandBarName + ".Connect." + ImportPriFile;
-
- // All the constants for the ExportProFile command.
- public const int ExportProFileBitmapID = 13;
- public const string
- ExportProFile = "ExportProFile",
- ExportProFileFullCommand = CommandBarName + ".Connect." + ExportProFile;
-
- // All the constants for the ExportPriFile command.
- public const int ExportPriFileBitmapID = 14;
- public const string
- ExportPriFile = "ExportPriFile",
- ExportPriFileFullCommand = CommandBarName + ".Connect." + ExportPriFile;
-
- // All the constants for the ChangeQtVersion command.
- public const int QtBitmapID = 4;
- public const string
- ChangeSolutionQtVersion = "ChangeSolutionQtVersion",
- ChangeSolutionQtVersionFullCommand = CommandBarName + ".Connect." + ChangeSolutionQtVersion;
-
- // All the constants for the Add/RemoveQtModules command.
- public const int AddRemoveModulesBitmapID = 0;
- public const string
- AddRemoveModules = "AddRemoveModules",
- AddRemoveModulesButtonText = "Add/Remove Qt Modules",
- AddRemoveModulesFullCommand = CommandBarName + ".Connect." + AddRemoveModules;
-
- // All the constants for the ProjectQtSettings command.
- public const int ProjectQtSettingsBitmapID = 0;
- public const string
- ProjectQtSettings = "ProjectQtSettings",
- ProjectQtSettingsFullCommand = CommandBarName + ".Connect." + ProjectQtSettings;
-
- // All the constants for the ChangeProjectQtVersion command.
- public const int ChangeProjectQtVersionBitmapID = 0;
- public const string
- ChangeProjectQtVersion = "ChangeProjectQtVersion",
- ChangeProjectQtVersionFullCommand = CommandBarName + ".Connect." + ChangeProjectQtVersion;
-
- // All the constants for the VSQtOptions command.
- public const int VSQtOptionsBitmapID = 0;
- public const string
- VSQtOptions = "VSQtOptions",
- VSQtOptionsFullCommand = CommandBarName + ".Connect." + VSQtOptions;
-
- // All the constants for the CreateTranslationFile command.
- public const int CreateNewTranslationFileBitmapID = 0;
- public const string
- CreateNewTranslationFile = "CreateNewTranslationFile",
- CreateNewTranslationFileFullCommand = CommandBarName + ".Connect." + CreateNewTranslationFile;
-
- // All the constants for the lupdateProject command.
- public const string
- lupdateProject = "lupdateProject",
- lupdateProjectFullCommand = CommandBarName + ".Connect." + lupdateProject;
-
- // All the constants for the lupdateProject command.
- public const string
- lreleaseProject = "lreleaseProject",
- lreleaseProjectFullCommand = CommandBarName + ".Connect." + lreleaseProject;
-
- // All the constants for the lupdateSolution command.
- public const string
- lupdateSolution = "lupdateSolution",
- lupdateSolutionFullCommand = CommandBarName + ".Connect." + lupdateSolution;
-
- // All the constants for the lupdateSolution command.
- public const string
- lreleaseSolution = "lreleaseSolution",
- lreleaseSolutionFullCommand = CommandBarName + ".Connect." + lreleaseSolution;
-
- // All the constants for the ConvertToQt command.
- public const string
- ConvertToQt = "ConvertToQt",
- ConvertToQtFullCommand = CommandBarName + ".Connect." + ConvertToQt;
-
- // All the constants for the ConvertToQMake command.
- public const string
- ConvertToQMake = "ConvertToQMake",
- ConvertToQMakeFullCommand = CommandBarName + ".Connect." + ConvertToQMake;
- }
-}
diff --git a/Qt4VS2003/Qt4VSAddin/Resources/AboutIcon.ico b/Qt4VS2003/Qt4VSAddin/Resources/AboutIcon.ico
deleted file mode 100644
index ccb4500f..00000000
--- a/Qt4VS2003/Qt4VSAddin/Resources/AboutIcon.ico
+++ /dev/null
Binary files differ
diff --git a/Qt4VS2003/Qt4VSAddin/Resources/Assistant.bmp b/Qt4VS2003/Qt4VSAddin/Resources/Assistant.bmp
deleted file mode 100644
index 494b635e..00000000
--- a/Qt4VS2003/Qt4VSAddin/Resources/Assistant.bmp
+++ /dev/null
Binary files differ
diff --git a/Qt4VS2003/Qt4VSAddin/Resources/Designer.bmp b/Qt4VS2003/Qt4VSAddin/Resources/Designer.bmp
deleted file mode 100644
index 0f11c05b..00000000
--- a/Qt4VS2003/Qt4VSAddin/Resources/Designer.bmp
+++ /dev/null
Binary files differ
diff --git a/Qt4VS2003/Qt4VSAddin/Resources/ExportPri.bmp b/Qt4VS2003/Qt4VSAddin/Resources/ExportPri.bmp
deleted file mode 100644
index 2571dea3..00000000
--- a/Qt4VS2003/Qt4VSAddin/Resources/ExportPri.bmp
+++ /dev/null
Binary files differ
diff --git a/Qt4VS2003/Qt4VSAddin/Resources/ExportPro.bmp b/Qt4VS2003/Qt4VSAddin/Resources/ExportPro.bmp
deleted file mode 100644
index 231ee0e6..00000000
--- a/Qt4VS2003/Qt4VSAddin/Resources/ExportPro.bmp
+++ /dev/null
Binary files differ
diff --git a/Qt4VS2003/Qt4VSAddin/Resources/ImportPri.bmp b/Qt4VS2003/Qt4VSAddin/Resources/ImportPri.bmp
deleted file mode 100644
index b0f574eb..00000000
--- a/Qt4VS2003/Qt4VSAddin/Resources/ImportPri.bmp
+++ /dev/null
Binary files differ
diff --git a/Qt4VS2003/Qt4VSAddin/Resources/ImportPro.bmp b/Qt4VS2003/Qt4VSAddin/Resources/ImportPro.bmp
deleted file mode 100644
index 1028230a..00000000
--- a/Qt4VS2003/Qt4VSAddin/Resources/ImportPro.bmp
+++ /dev/null
Binary files differ
diff --git a/Qt4VS2003/Qt4VSAddin/Resources/Linguist.bmp b/Qt4VS2003/Qt4VSAddin/Resources/Linguist.bmp
deleted file mode 100644
index 977c8873..00000000
--- a/Qt4VS2003/Qt4VSAddin/Resources/Linguist.bmp
+++ /dev/null
Binary files differ
diff --git a/Qt4VS2003/Qt4VSAddin/Resources/Qt.bmp b/Qt4VS2003/Qt4VSAddin/Resources/Qt.bmp
deleted file mode 100644
index 6a85f812..00000000
--- a/Qt4VS2003/Qt4VSAddin/Resources/Qt.bmp
+++ /dev/null
Binary files differ
diff --git a/Qt4VS2003/Qt4VSAddin/Resources/menuimages.png b/Qt4VS2003/Qt4VSAddin/Resources/menuimages.png
deleted file mode 100644
index 0a806c19..00000000
--- a/Qt4VS2003/Qt4VSAddin/Resources/menuimages.png
+++ /dev/null
Binary files differ
diff --git a/Qt4VS2003/Qt4VSAddin/Resources/qt.ico b/Qt4VS2003/Qt4VSAddin/Resources/qt.ico
deleted file mode 100644
index 1c4fb80d..00000000
--- a/Qt4VS2003/Qt4VSAddin/Resources/qt.ico
+++ /dev/null
Binary files differ
diff --git a/Qt4VS2003/Qt4VSAddin/StringResources.de.resx b/Qt4VS2003/Qt4VSAddin/StringResources.de.resx
deleted file mode 100644
index bf093924..00000000
--- a/Qt4VS2003/Qt4VSAddin/StringResources.de.resx
+++ /dev/null
@@ -1,778 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<root>
- <!--
- Microsoft ResX Schema
-
- Version 2.0
-
- The primary goals of this format is to allow a simple XML format
- that is mostly human readable. The generation and parsing of the
- various data types are done through the TypeConverter classes
- associated with the data types.
-
- Example:
-
- ... ado.net/XML headers & schema ...
- <resheader name="resmimetype">text/microsoft-resx</resheader>
- <resheader name="version">2.0</resheader>
- <resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
- <resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
- <data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
- <data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
- <data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
- <value>[base64 mime encoded serialized .NET Framework object]</value>
- </data>
- <data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
- <value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
- <comment>This is a comment</comment>
- </data>
-
- There are any number of "resheader" rows that contain simple
- name/value pairs.
-
- Each data row contains a name, and value. The row also contains a
- type or mimetype. Type corresponds to a .NET class that support
- text/value conversion through the TypeConverter architecture.
- Classes that don't support this are serialized and stored with the
- mimetype set.
-
- The mimetype is used for serialized objects, and tells the
- ResXResourceReader how to depersist the object. This is currently not
- extensible. For a given mimetype the value must be set accordingly:
-
- Note - application/x-microsoft.net.object.binary.base64 is the format
- that the ResXResourceWriter will generate, however the reader can
- read any of the formats listed below.
-
- mimetype: application/x-microsoft.net.object.binary.base64
- value : The object must be serialized with
- : System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
- : and then encoded with base64 encoding.
-
- mimetype: application/x-microsoft.net.object.soap.base64
- value : The object must be serialized with
- : System.Runtime.Serialization.Formatters.Soap.SoapFormatter
- : and then encoded with base64 encoding.
-
- mimetype: application/x-microsoft.net.object.bytearray.base64
- value : The object must be serialized into a byte array
- : using a System.ComponentModel.TypeConverter
- : and then encoded with base64 encoding.
- -->
- <xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
- <xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
- <xsd:element name="root" msdata:IsDataSet="true">
- <xsd:complexType>
- <xsd:choice maxOccurs="unbounded">
- <xsd:element name="metadata">
- <xsd:complexType>
- <xsd:sequence>
- <xsd:element name="value" type="xsd:string" minOccurs="0" />
- </xsd:sequence>
- <xsd:attribute name="name" use="required" type="xsd:string" />
- <xsd:attribute name="type" type="xsd:string" />
- <xsd:attribute name="mimetype" type="xsd:string" />
- <xsd:attribute ref="xml:space" />
- </xsd:complexType>
- </xsd:element>
- <xsd:element name="assembly">
- <xsd:complexType>
- <xsd:attribute name="alias" type="xsd:string" />
- <xsd:attribute name="name" type="xsd:string" />
- </xsd:complexType>
- </xsd:element>
- <xsd:element name="data">
- <xsd:complexType>
- <xsd:sequence>
- <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
- <xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
- </xsd:sequence>
- <xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
- <xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
- <xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
- <xsd:attribute ref="xml:space" />
- </xsd:complexType>
- </xsd:element>
- <xsd:element name="resheader">
- <xsd:complexType>
- <xsd:sequence>
- <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
- </xsd:sequence>
- <xsd:attribute name="name" type="xsd:string" use="required" />
- </xsd:complexType>
- </xsd:element>
- </xsd:choice>
- </xsd:complexType>
- </xsd:element>
- </xsd:schema>
- <resheader name="resmimetype">
- <value>text/microsoft-resx</value>
- </resheader>
- <resheader name="version">
- <value>2.0</value>
- </resheader>
- <resheader name="reader">
- <value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
- </resheader>
- <resheader name="writer">
- <value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
- </resheader>
- <data name="OK" xml:space="preserve">
- <value>&amp;OK</value>
- </data>
- <data name="Cancel" xml:space="preserve">
- <value>&amp;Abbrechen</value>
- </data>
- <data name="QtVSIntegration" xml:space="preserve">
- <value>Qt Visual Studio Add-in</value>
- </data>
- <data name="CannotOpenFile" xml:space="preserve">
- <value>Die Datei {0} kann nicht geöffnet werden!</value>
- </data>
- <data name="NotExistingFile" xml:space="preserve">
- <value>Die Datei {0} existiert nicht!</value>
- </data>
- <data name="Add" xml:space="preserve">
- <value>Hinzufügen</value>
- </data>
- <data name="Edit" xml:space="preserve">
- <value>Bearbeiten</value>
- </data>
- <data name="Remove" xml:space="preserve">
- <value>Entfernen</value>
- </data>
- <data name="Delete" xml:space="preserve">
- <value>Löschen</value>
- </data>
- <data name="ActionDialog_Text" xml:space="preserve">
- <value>Text:</value>
- </data>
- <data name="ActionDialog_ObjectName" xml:space="preserve">
- <value>Objektname:</value>
- </data>
- <data name="ActionDialog_Change" xml:space="preserve">
- <value>Ändern</value>
- </data>
- <data name="ActionDialog_Icon" xml:space="preserve">
- <value>Icon:</value>
- </data>
- <data name="ActionDialog_Properties" xml:space="preserve">
- <value>Eigenschaften</value>
- </data>
- <data name="ActionDialog_AddAction" xml:space="preserve">
- <value>Neue Aktion hinzufügen</value>
- </data>
- <data name="QtModules" xml:space="preserve">
- <value>Qt Module</value>
- </data>
- <data name="ActiveQtContainerLibrary" xml:space="preserve">
- <value>ActiveQt Container Bibliothek </value>
- </data>
- <data name="ActiveQtServerLibrary" xml:space="preserve">
- <value>ActiveQt Server Bibliothek</value>
- </data>
- <data name="TestLibrary" xml:space="preserve">
- <value>Test</value>
- </data>
- <data name="ScriptLibrary" xml:space="preserve">
- <value>Script</value>
- </data>
- <data name="SVGLibrary" xml:space="preserve">
- <value>SVG</value>
- </data>
- <data name="XMLLibrary" xml:space="preserve">
- <value>XML</value>
- </data>
- <data name="Qt3SupportLibrary" xml:space="preserve">
- <value>Qt3 support Bibliothek</value>
- </data>
- <data name="NetworkLibrary" xml:space="preserve">
- <value>Netzwerk</value>
- </data>
- <data name="OpenGLLibrary" xml:space="preserve">
- <value>OpenGL</value>
- </data>
- <data name="SQLLibrary" xml:space="preserve">
- <value>SQL</value>
- </data>
- <data name="GUILibrary" xml:space="preserve">
- <value>GUI</value>
- </data>
- <data name="CoreLibrary" xml:space="preserve">
- <value>Core</value>
- </data>
- <data name="HelpLibrary" xml:space="preserve">
- <value>Hilfe</value>
- </data>
- <data name="WebKitLibrary" xml:space="preserve">
- <value>WebKit</value>
- </data>
- <data name="XmlPatternsLibrary" xml:space="preserve">
- <value>XML Patterns</value>
- </data>
- <data name="AddQtModule" xml:space="preserve">
- <value>Qt Modul hinzufügen/entfernen</value>
- </data>
- <data name="AddQtVersionDialog_VersionName" xml:space="preserve">
- <value>Versionsname:</value>
- </data>
- <data name="AddQtVersionDialog_Path" xml:space="preserve">
- <value>Verzeichnis:</value>
- </data>
- <data name="AddQtVersionDialog_Title" xml:space="preserve">
- <value>Neue Qt Version hinzufügen</value>
- </data>
- <data name="AddQtVersionDialog_PlatformNotFoundError" xml:space="preserve">
- <value>Die Plattform "{0}" ist in Visual Studio nicht definiert. Bitte stellen Sie sicher, dass das benötigte SDK installiert ist.</value>
- </data>
- <data name="AddQtVersionDialog_IncorrectMakefileGenerator" xml:space="preserve">
- <value>Die Qt Version nutzt einen nicht unterstützten Makefile Generator (genutzt: {0}, unsterstützt: MSVC.NET, MSBUILD)</value>
- </data>
- <data name="AddTranslationDialog_Language" xml:space="preserve">
- <value>Sprache:</value>
- </data>
- <data name="AddTranslationDialog_FileName" xml:space="preserve">
- <value>Dateiname:</value>
- </data>
- <data name="AddTranslationDialog_Title" xml:space="preserve">
- <value>Übersetzung hinzufügen</value>
- </data>
- <data name="BuildOptionsPage_QtBuilds" xml:space="preserve">
- <value>Qt Versionen:</value>
- </data>
- <data name="BuildOptionsPage_Name" xml:space="preserve">
- <value>Name</value>
- </data>
- <data name="BuildOptionsPage_Path" xml:space="preserve">
- <value>Verzeichnis</value>
- </data>
- <data name="BuildOptionsPage_DefaultQtVersion" xml:space="preserve">
- <value>Standard Qt/Win version:</value>
- </data>
- <data name="BuildSystem_IncompatibleMsg" xml:space="preserve">
- <value>Die momentan verwendete Qt Version ist nicht kompatibel zu der in der Add-in verwendeten.
-Um das Laden des Plugins in der Add-in zu ermöglichen muß Qt {0} benutzt werden.
-Soll die Qt Version auf Qt {0} geändert werden?</value>
- </data>
- <data name="BuildSystem_Problem" xml:space="preserve">
- <value>Achtung: Eine passende Qt Version konnte nicht gefunden werden,
-d.h. die Qt Visual Studio Add-in kann das erstellte Plugin nicht laden.</value>
- </data>
- <data name="BuildSystem_Solution" xml:space="preserve">
- <value>Gehen Sie auf www.qt.io und laden Qt {0} herunter.</value>
- </data>
- <data name="EditorFactory_OpenFailure" xml:space="preserve">
- <value>
-Die Datei {0}
-konnte nicht mit dem Qt 4 Formeditor geöffnet werden.
-Versuchen Sie die Datei mit Hilfe von uic.exe zu konvertieren.</value>
- </data>
- <data name="EditorPane_TrySetProperty" xml:space="preserve">
- <value>Versuche die Werte für die Eigenschaft {0} zu setzen:
-{1} {2}</value>
- </data>
- <data name="EditorPane_CannotRunUic" xml:space="preserve">
- <value>Uic konnte nicht ausgeführt werden!</value>
- </data>
- <data name="EditorPane_NoFormClassFound" xml:space="preserve">
- <value>Das Projekt beinhaltet keine Klasse, die diese Form benutzt!</value>
- </data>
- <data name="EditorPane_NoSourceFileFound" xml:space="preserve">
- <value>Es konnte keine geeignete Datei für die Slotimplementierung gefunden werden!</value>
- </data>
- <data name="EditorPane_UnableToRetrieve" xml:space="preserve">
- <value>Weitere Informationen über {0} konnten nicht gefunden werden.</value>
- </data>
- <data name="EditorPane_CannotOpenUi" xml:space="preserve">
- <value>"Die Datei {0} kann nicht geöffnet werden!</value>
- </data>
- <data name="EditorPane_ErrorWhileOpening" xml:space="preserve">
- <value>Beim Öffnen des Formeditors ist ein Fehler aufgetreten!</value>
- </data>
- <data name="EditorPane_Reload" xml:space="preserve">
- <value>{0}
-
-Die Datei wurde außerhalb des Editors geändert. Soll sie neu geladen werden?</value>
- </data>
- <data name="GeneralOptionsPage_ManualBuildSteps" xml:space="preserve">
- <value>Manuell bearbeitete Buildschritte können zu Problemen führen wenn das Projekt nicht in Visual Studio kompiliert wird.
-Möchten Sie fortfahren?</value>
- </data>
- <data name="Helpers_CannotStart" xml:space="preserve">
- <value>Die Anwendung {0} konnte nicht gestartet werden.
-
-Stellen Sie sicher, dass das momentane Projekt eine gültige Qt Version benutzt.
-Falls Sie noch keine Qt Version spezifiziert haben, öffnen Sie die Qt|Qt Versionen
-Seite unter Extras|Optionen und fügen die relevanten Informationen ein.</value>
- </data>
- <data name="IconPropertyDialog_Preview" xml:space="preserve">
- <value>Vorschau:</value>
- </data>
- <data name="IconPropertyDialog_Icon" xml:space="preserve">
- <value>Symbol:</value>
- </data>
- <data name="IconPropertyDialog_Filter" xml:space="preserve">
- <value>Filter:</value>
- </data>
- <data name="IconPropertyDialog_Title" xml:space="preserve">
- <value>Symboleigenschaften Dialog</value>
- </data>
- <data name="PriWatcher_Import" xml:space="preserve">
- <value>Die überwachte .pri Datei wurde außerhalb Visual Studio's geändert. Möchten Sie die Änderungen in die Visual Studio Projektdatei importieren?</value>
- </data>
- <data name="PriWatcher_Title" xml:space="preserve">
- <value>Die überwachte .pri Datei wurde geändert.</value>
- </data>
- <data name="ProjectExtender_Filter" xml:space="preserve">
- <value>pri Dateien (*.pri)|*.pri</value>
- </data>
- <data name="ProjectExtender_CannotUpdate" xml:space="preserve">
- <value>Die Qt Bibliotheken dieses Projektes konnten nicht aktualisiert werden.</value>
- </data>
- <data name="ProjectExtender_CannotUpdateSolution" xml:space="preserve">
- <value>Stellen Sie sicher, dass der Pfad für diese Qt Version korrekt ist.</value>
- </data>
- <data name="ProjectExtender_Warning" xml:space="preserve">
- <value>Eine Änderung des Pfades zieht eine Aktualierung aller {0} benutzerdefinierten Buildschritte nach
-sich. Eventuelle manuelle Änderungen gehen dabei verloren. Möchten Sie fortfahren?</value>
- </data>
- <data name="ProjectExtender_Title" xml:space="preserve">
- <value>{0} Ausgabepfad</value>
- </data>
- <data name="PropertyEditor_DefaultError" xml:space="preserve">
- <value>Die Defaultwertrückgabefunktion für {0} konnte nicht erstellt werden!</value>
- </data>
- <data name="QDateTimeControl_Time" xml:space="preserve">
- <value>Zeit:</value>
- </data>
- <data name="QProcess_UnspecifiedError" xml:space="preserve">
- <value>&lt;unspezifizierter Rückgabewert&gt;</value>
- </data>
- <data name="QtVersionDialog_BoxTitle" xml:space="preserve">
- <value>Qt Version für gesamte Projektmappe</value>
- </data>
- <data name="QtVersionDialog_Title" xml:space="preserve">
- <value>Projektmappen Qt Version</value>
- </data>
- <data name="ResourceDialog_New" xml:space="preserve">
- <value>Neu</value>
- </data>
- <data name="ResourceDialog_Type" xml:space="preserve">
- <value>Ressourcenart:</value>
- </data>
- <data name="ResourceDialog_Import" xml:space="preserve">
- <value>Importieren...</value>
- </data>
- <data name="ResourceDialog_Name" xml:space="preserve">
- <value>Name:</value>
- </data>
- <data name="ResourceDialog_Title" xml:space="preserve">
- <value>Ressourcen Dialog</value>
- </data>
- <data name="SignalChooser_Connect" xml:space="preserve">
- <value>Verbinde Signal</value>
- </data>
- <data name="SignalChooser_Title" xml:space="preserve">
- <value>Verbinde Signals &amp; Slots</value>
- </data>
- <data name="ProductDetails" xml:space="preserve">
- <value>Qt Add-in für Visual Studio .NET</value>
- </data>
- <data name="LicenseCheck" xml:space="preserve">
- <value>Qt Lizenzprüfung</value>
- </data>
- <data name="InvalidLicense" xml:space="preserve">
- <value>Eine gültige Qt Lizenz konnte nicht gefunden werden!
-
-Bitte benutzen Sie Kontaktformular auf https://www.qt.io/buy-product eine Qt Lizenz zu bestellen.</value>
- </data>
- <data name="InitComponentsFailure" xml:space="preserve">
- <value>Die Formeditorkomponenten können nicht initialisiert werden!</value>
- </data>
- <data name="InitIntegrationFailure" xml:space="preserve">
- <value>Die Qt Visual Studio Add-in kann nicht initialisiert werden!</value>
- </data>
- <data name="InitFactoryFailure" xml:space="preserve">
- <value>Cannot initialize EditorFactory!</value>
- </data>
- <data name="ExtensionServiceFailure" xml:space="preserve">
- <value>Cannot retrieve the extension service of Visual Studio!</value>
- </data>
- <data name="CommandServiceFailure" xml:space="preserve">
- <value>Cannot retrieve the command service of Visual Studio!</value>
- </data>
- <data name="SelectionServiceFailure" xml:space="preserve">
- <value>Cannot retrieve the selection service of Visual Studio!</value>
- </data>
- <data name="HelpServiceFailure" xml:space="preserve">
- <value>Cannot retrieve the help service of Visual Studio!</value>
- </data>
- <data name="TrackProjectDocuments2ServiceFailure" xml:space="preserve">
- <value>Cannot retrieve the TrackProjectDocuments2 service of Visual Studio!</value>
- </data>
- <data name="SolutionServiceFailure" xml:space="preserve">
- <value>Cannot retrieve the solution service of Visual Studio!</value>
- </data>
- <data name="QtToolBoxFrame" xml:space="preserve">
- <value>Qt Werkzeugkiste</value>
- </data>
- <data name="QtObjectInspectorFrame" xml:space="preserve">
- <value>Qt Objectinspektor</value>
- </data>
- <data name="QtSignalSlotEditorFrame" xml:space="preserve">
- <value>Qt Signal- und Sloteditor</value>
- </data>
- <data name="QtActionEditorFrame" xml:space="preserve">
- <value>Qt Aktionseditor</value>
- </data>
- <data name="QtToolBoxFailure" xml:space="preserve">
- <value>Die Qt Werkzeugkiste konnte nicht erstellt werden!</value>
- </data>
- <data name="QtObjectInspectorFailure" xml:space="preserve">
- <value>Der Qt Objectinspector konnte nicht erstellt werden!</value>
- </data>
- <data name="QtSignalSlotEditorFailure" xml:space="preserve">
- <value>Der Qt Signal- und Sloteditor konnte nicht erstellt werden!</value>
- </data>
- <data name="QtActionEditorFailure" xml:space="preserve">
- <value>Der Qt Aktionseditor konnte nicht erstellt werden!</value>
- </data>
- <data name="QtPropertyAddFailure" xml:space="preserve">
- <value>Eine Qt Eigenschaft kann nicht zu einer Klasse ohne Q_OBJECT Makro hinzugefügt werden.</value>
- </data>
- <data name="InvalidPropertyName" xml:space="preserve">
- <value>Der Eigenschaftsname ist nicht gültig.</value>
- </data>
- <data name="FileNotPartOfSolution" xml:space="preserve">
- <value>Die Datei {0} ist nicht Teil der Projektmappe!</value>
- </data>
- <data name="CannotFindQMake" xml:space="preserve">
- <value>QMake konnte nicht gefunden werden. Stellen Sie sicher, eine Qt version spezifiziert zu haben.</value>
- </data>
- <data name="CannotChangeQtVersion" xml:space="preserve">
- <value>Die Qt Version von mindestens einem Projekt konnte nicht geändert werden.</value>
- </data>
- <data name="UicOuputFileCreationFailure" xml:space="preserve">
- <value>Uic kann die Ausgabedatei {0} nicht erstellen!</value>
- </data>
- <data name="MakeSureWritePermission" xml:space="preserve">
- <value>Stellen Sie sicher, dass Sie Schreibrechte haben.</value>
- </data>
- <data name="ImportPriFile" xml:space="preserve">
- <value>Importiere .pri Datei in {0}...</value>
- </data>
- <data name="ExportToProFile" xml:space="preserve">
- <value>Exportiere {0} in .pri Datei...</value>
- </data>
- <data name="ImportingFromProFile" xml:space="preserve">
- <value>Importiere Projekt(e) aus .pro Datei...</value>
- </data>
- <data name="ImportingPriFile" xml:space="preserve">
- <value>Importiere .pri Datei...</value>
- </data>
- <data name="WelcomeDialog_Header" xml:space="preserve">
- <value>Willkommen zur
-Qt Visual Studio Add-in</value>
- </data>
- <data name="WelcomeDialog_MainText" xml:space="preserve">
- <value>Mit der Add-in lassen sich Qt Applikationen schneller als jemals zu vor entwickeln. Es müssen keine externen Programme gestartet werden da der Qt Formdesigner und die Qt Onlinehilfe integriert sind. Weitere Informationen über die Features sowie die Gebrauchsanleitung stehen in der Onlinehilfe.
-
-Achtung: Falls Visual Studio im Moment nicht reagieren sollte, liegt es daran, dass die Onlinehilfe neu generiert wird was einige Minuten dauern kann.</value>
- </data>
- <data name="WelcomeDialog_DontShow" xml:space="preserve">
- <value>Diesen Dialog nicht mehr zeigen.</value>
- </data>
- <data name="WelcomeDialog_Close" xml:space="preserve">
- <value>Schließen</value>
- </data>
- <data name="WelcomeDialog_ShowDocumentation" xml:space="preserve">
- <value>Dokumentation zeigen</value>
- </data>
- <data name="WelcomeDialog_ShowTutorial" xml:space="preserve">
- <value>Tutorial zeigen</value>
- </data>
- <data name="BuildOptionsPage_Title" xml:space="preserve">
- <value>QT Versionen</value>
- </data>
- <assembly alias="System.Windows.Forms" name="System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
- <data name="1" type="System.Resources.ResXFileRef, System.Windows.Forms">
- <value>Resources\Designer.bmp;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
- </data>
- <data name="11" type="System.Resources.ResXFileRef, System.Windows.Forms">
- <value>Resources\ImportPro.bmp;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
- </data>
- <data name="12" type="System.Resources.ResXFileRef, System.Windows.Forms">
- <value>Resources\ImportPri.bmp;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
- </data>
- <data name="13" type="System.Resources.ResXFileRef, System.Windows.Forms">
- <value>Resources\ExportPro.bmp;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
- </data>
- <data name="14" type="System.Resources.ResXFileRef, System.Windows.Forms">
- <value>Resources\ExportPri.bmp;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
- </data>
- <data name="2" type="System.Resources.ResXFileRef, System.Windows.Forms">
- <value>Resources\Assistant.bmp;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
- </data>
- <data name="3" type="System.Resources.ResXFileRef, System.Windows.Forms">
- <value>Resources\Linguist.bmp;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
- </data>
- <data name="4" type="System.Resources.ResXFileRef, System.Windows.Forms">
- <value>Resources\Qt.bmp;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
- </data>
- <data name="AboutIcon" type="System.Resources.ResXFileRef, System.Windows.Forms">
- <value>Resources\AboutIcon.ico;System.Drawing.Icon, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
- </data>
- <data name="AddRemoveModulesButtonText" xml:space="preserve">
- <value>Qt Module hinzufügen/entfernen</value>
- </data>
- <data name="AddRemoveModulesToolTip" xml:space="preserve">
- <value>Fügt dem aktuellen Projekt Qt Module hinzu bzw. entfernt diese.</value>
- </data>
- <data name="BuildPlatformQtVersionNotFound" xml:space="preserve">
- <value>Für die momentane Plattform kann kein Qt Version gefunden werden.</value>
- </data>
- <data name="ChangeSolutionQtVersionButtonText" xml:space="preserve">
- <value>Projektmappen Qt Version ändern</value>
- </data>
- <data name="ChangeSolutionQtVersionToolTip" xml:space="preserve">
- <value>Ändert die Qt Version für die aktuelle Projektmappe und alle darin enthaltenen Projekte.</value>
- </data>
- <data name="CommandBarsNotRegistered" xml:space="preserve">
- <value>Befehlsleisten konnten nicht registriert werden.</value>
- </data>
- <data name="CommandsNotRegistered" xml:space="preserve">
- <value>Es konnten nicht alle Qt4VSAddin Befehle registriert werden</value>
- </data>
- <data name="CreateNewTranslationFileButtonText" xml:space="preserve">
- <value>Neue Übersetzungsdatei erstellen</value>
- </data>
- <data name="CreateNewTranslationFileToolTip" xml:space="preserve">
- <value>Erstellt eine neue Übersetzungsdatei für Qt Linguist.</value>
- </data>
- <data name="DesignerAddError" xml:space="preserve">
- <value>.ui Datei konnt in bestehemdem Designer nicht geöffnet werden</value>
- </data>
- <data name="ExportPriFileButtonText" xml:space="preserve">
- <value>Projekt in .pri Datei exportieren...</value>
- </data>
- <data name="ExportPriFileToolTip" xml:space="preserve">
- <value>Exportiert das aktuelle Projekt in eine .pri Datei.</value>
- </data>
- <data name="ExportProFileButtonText" xml:space="preserve">
- <value>Einfache .pro Datei erzeugen...</value>
- </data>
- <data name="ExportProFileToolTip" xml:space="preserve">
- <value>Exportiert das aktuelle Projekt in eine Qt Projektdatei (.pro).</value>
- </data>
- <data name="File" xml:space="preserve">
- <value>Datei</value>
- </data>
- <data name="ImportPriFileButtonText" xml:space="preserve">
- <value>.pri Datei importieren</value>
- </data>
- <data name="ImportPriFileNotRead" xml:space="preserve">
- <value>--- (Importiert .pri Datei) Datei: {0} konnte nicht gelesen werden.</value>
- </data>
- <data name="ImportPriFileNotResolved" xml:space="preserve">
- <value>--- (Importiert .pri Datei) Datei: {0} konnte nicht aufgelöst werden. Überspringe Datei.</value>
- </data>
- <data name="ImportPriFileToolTip" xml:space="preserve">
- <value>Importiert eine .pri Datei und erzeugt aus dieser ein Qt Projekt.</value>
- </data>
- <data name="ImportProFileButtonText" xml:space="preserve">
- <value>Qt Projektdatei (.pro) öffnen</value>
- </data>
- <data name="ImportProFileToolTip" xml:space="preserve">
- <value>Öffnet eine Qt Projektdatei und erstellt aus dieser eine Projektmappe beziehungsweise fügt das erstellte Projekt der aktuellen Projektmappe hinzu.</value>
- </data>
- <data name="InstalledQtVersions" xml:space="preserve">
- <value>Installierte Qt Versionen</value>
- </data>
- <data name="LaunchDesignerButtonText" xml:space="preserve">
- <value>Designer starten</value>
- </data>
- <data name="LaunchDesignerToolTip" xml:space="preserve">
- <value>Startet Qt Designer.</value>
- </data>
- <data name="LaunchLinguistButtonText" xml:space="preserve">
- <value>Linguist starten</value>
- </data>
- <data name="LaunchLinguistToolTip" xml:space="preserve">
- <value>Startet Qt Linguist</value>
- </data>
- <data name="NoProjectOpened" xml:space="preserve">
- <value>Kein Projekt geöffnet</value>
- </data>
- <data name="ProjectQtSettingsButtonText" xml:space="preserve">
- <value>Qt Projekteinstellungen</value>
- </data>
- <data name="ProjectQtSettingsToolTip" xml:space="preserve">
- <value>Dient zum Bearbeiten der Qt Einstellungen für das aktuelle Projekt.</value>
- </data>
- <data name="ProjectQtVersionNotFoundError" xml:space="preserve">
- <value>Es ist keine gültige Qt-Version für die Platform {0} diesem Projekt zugeordnet. Bitte wählen Sie eine existierende Qt Version in den Qt-Projekteinstellungen.</value>
- </data>
- <data name="QrcEditorNotFoundError" xml:space="preserve">
- <value>*** QRC Editor konnte nicht gestartet werden! Bitte stellen Sie sicher, dass sich die qrceditor.exe im Installationsverzeichnis des Addins befindet.</value>
- </data>
- <data name="QtDefaultSettings" xml:space="preserve">
- <value>Qt Standardeinstellungen</value>
- </data>
- <data name="QtAppNotFoundErrorMessage" xml:space="preserve">
- <value>*** {0} konnte nicht gestartet werden!</value>
- </data>
- <data name="QtAppNotFoundErrorTitle" xml:space="preserve">
- <value>{0} nicht gestartet.</value>
- </data>
- <data name="SelectQtPath" xml:space="preserve">
- <value>Qt Verzeichnis wählen</value>
- </data>
- <data name="SolutionQtVersion" xml:space="preserve">
- <value>Qt Version der Projektmappe setzen</value>
- </data>
- <data name="VSQtOptionsButtonText" xml:space="preserve">
- <value>Qt Optionen</value>
- </data>
- <data name="VSQtOptionsToolTip" xml:space="preserve">
- <value>Dient zum Bearbeiten der Qt Standardeinstellungen</value>
- </data>
- <data name="OnlyVariableInDir" xml:space="preserve">
- <value>Der Pfad darf lediglich die Variable "$(ConfigurationName)" und/oder "$(PlatformName)" enthalten! Ein Beispiel für einen gültigen Pfad wäre "./$(ConfigurationName)/moc".</value>
- </data>
- <data name="lreleaseProjectButtonText" xml:space="preserve">
- <value>lrelease alle .ts Dateien im Projekt</value>
- </data>
- <data name="lreleaseSolutionButtonText" xml:space="preserve">
- <value>lrelease alle .ts Dateien in der Projektmappe</value>
- </data>
- <data name="lupdateProjectButtonText" xml:space="preserve">
- <value>lupdate alle .ts Dateien im Projekt</value>
- </data>
- <data name="lupdateSolutionButtonText" xml:space="preserve">
- <value>lupdate alle .ts Dateien in der Projektmappe</value>
- </data>
- <data name="ChangeProjectQtVersionButtonText" xml:space="preserve">
- <value>Qt Version des Projekts ändern</value>
- </data>
- <data name="ProjectQtVersion" xml:space="preserve">
- <value>Qt Version des Projekts setzen</value>
- </data>
- <data name="DeleteGeneratedFilesError" xml:space="preserve">
- <value>Die generierten Dateien konnten nicht gelöscht werden.</value>
- </data>
- <data name="ConvertToQMakeButtonText" xml:space="preserve">
- <value>Projekt in qmake generiertes Projekt umwandeln</value>
- </data>
- <data name="ConvertToQtButtonText" xml:space="preserve">
- <value>Projekt in Qt Add-In Projekt umwandeln</value>
- </data>
- <data name="ConvertConfirmation" xml:space="preserve">
- <value>Möchten Sie das gewählte Projekt wirklich umwandeln?</value>
- </data>
- <data name="ConvertTitle" xml:space="preserve">
- <value>Projekt umwandeln...</value>
- </data>
- <data name="UiToolsLibrary" xml:space="preserve">
- <value>UI Tools</value>
- </data>
- <data name="ScriptToolsLibrary" xml:space="preserve">
- <value>Script Tools</value>
- </data>
- <data name="NoDefaultQtVersionError" xml:space="preserve">
- <value>Es wurde keine Standard-Qt-Version gefunden. Bitte überprüfen Sie Ihre Qt Visual Studio Add-in Einstellungen.</value>
- </data>
- <data name="MultimediaLibrary" xml:space="preserve">
- <value>Multimedia</value>
- </data>
- <data name="QuestionSCCCheckoutOnOpen" xml:space="preserve">
- <value>Die Datei {0} ist unter Versionskontrolle und im Moment nicht ausgecheckt. Soll die Datei vor dem Öffnen ausgecheckt werden?
-
-Hinweis: Sie können diese Frage ausschalten, indem Sie in den Einstellungen des Qt Add-ins die Eigenschaft "ask_before_checkout_file" auf "false" setzen.</value>
- </data>
- <data name="AddQtVersionDialog_InvalidDirectory" xml:space="preserve">
- <value>Der angegebene Pfad ist kein gültiges Verzeichnis.</value>
- </data>
- <data name="AddQtVersionDialog_NotFound" xml:space="preserve">
- <value>{0} konnte nicht gefunden werden.</value>
- </data>
- <data name="AddQtVersionDialog_VersionAlreadyPresent" xml:space="preserve">
- <value>Der angegebene Name wurde bereits registriert.</value>
- </data>
- <data name="AddQtVersionDialog_NotExistingDirectory" xml:space="preserve">
- <value>Verzeichnis existiert nicht.</value>
- </data>
- <data name="AddQtVersionDialog_MingwQt" xml:space="preserve">
- <value>Das Qt im angegebenen Verzeichnis wurde mit MinGW gebaut.</value>
- </data>
- <data name="CouldNotConnectToAppwrapper" xml:space="preserve">
- <value>Verbindung zu appwrapper konnte nicht hergestellt werden. Vergewissern Sie sich, dass TCP Port {0} nicht blockiert wird.</value>
- </data>
- <data name="3DLibrary" xml:space="preserve">
- <value>3D</value>
- </data>
- <data name="BluetoothLibrary" xml:space="preserve">
- <value>Bluetooth</value>
- </data>
- <data name="LocationLibrary" xml:space="preserve">
- <value>Location</value>
- </data>
- <data name="PrintSupportLibrary" xml:space="preserve">
- <value>Print Support</value>
- </data>
- <data name="QmlLibrary" xml:space="preserve">
- <value>QML</value>
- </data>
- <data name="DeclarativeLibrary" xml:space="preserve">
- <value>Declarative</value>
- </data>
- <data name="QuickLibrary" xml:space="preserve">
- <value>Quick</value>
- </data>
- <data name="SensorsLibrary" xml:space="preserve">
- <value>Sensors</value>
- </data>
- <data name="WebkitWidgetsLibrary" xml:space="preserve">
- <value>Webkit Widgets</value>
- </data>
- <data name="WidgetsLibrary" xml:space="preserve">
- <value>Widgets</value>
- </data>
- <data name="ConcurrentLibrary" xml:space="preserve">
- <value>Concurrent</value>
- </data>
- <data name="MultimediaWidgetsLibrary" xml:space="preserve">
- <value>Multimedia Widgets</value>
- </data>
- <data name="Qt4Unloaded_pane_msg" xml:space="preserve">
- <value>!!! Qt4 Add-in was found and closed! !!!
-Qt4 and Qt5 versions can't be used at the same time.
-Add-in Manager from Tools menu can be used to close Qt5 Add-in and to restart Qt4 Add-in.</value>
- </data>
- <data name="NoVSSupport" xml:space="preserve">
- <value>Visual Studio unterstützt die derzeitige Standard-Qt-Version nicht. Um .pro Dateien importieren zu können, muss eine Version &gt;=5.6 angegeben werden.</value>
- </data>
- <data name="EnginioLibrary" xml:space="preserve">
- <value>Enginio</value>
- </data>
- <data name="NfcLibrary" xml:space="preserve">
- <value>NFC</value>
- </data>
- <data name="PositioningLibrary" xml:space="preserve">
- <value>Positioning</value>
- </data>
- <data name="SerialPortLibrary" xml:space="preserve">
- <value>Serial Port</value>
- </data>
- <data name="WebChannelLibrary" xml:space="preserve">
- <value>Web Channel</value>
- </data>
- <data name="WebSocketsLibrary" xml:space="preserve">
- <value>Web Sockets</value>
- </data>
- <data name="WindowsExtrasLibrary" xml:space="preserve">
- <value>Windows Extras</value>
- </data>
- <data name="QuickWidgetsLibrary" xml:space="preserve">
- <value>Quick Widgets</value>
- </data>
-</root>
diff --git a/Qt4VS2003/Qt4VSAddin/StringResources.resx b/Qt4VS2003/Qt4VSAddin/StringResources.resx
deleted file mode 100644
index 7bb221a7..00000000
--- a/Qt4VS2003/Qt4VSAddin/StringResources.resx
+++ /dev/null
@@ -1,775 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<root>
- <!--
- Microsoft ResX Schema
-
- Version 2.0
-
- The primary goals of this format is to allow a simple XML format
- that is mostly human readable. The generation and parsing of the
- various data types are done through the TypeConverter classes
- associated with the data types.
-
- Example:
-
- ... ado.net/XML headers & schema ...
- <resheader name="resmimetype">text/microsoft-resx</resheader>
- <resheader name="version">2.0</resheader>
- <resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
- <resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
- <data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
- <data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
- <data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
- <value>[base64 mime encoded serialized .NET Framework object]</value>
- </data>
- <data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
- <value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
- <comment>This is a comment</comment>
- </data>
-
- There are any number of "resheader" rows that contain simple
- name/value pairs.
-
- Each data row contains a name, and value. The row also contains a
- type or mimetype. Type corresponds to a .NET class that support
- text/value conversion through the TypeConverter architecture.
- Classes that don't support this are serialized and stored with the
- mimetype set.
-
- The mimetype is used for serialized objects, and tells the
- ResXResourceReader how to depersist the object. This is currently not
- extensible. For a given mimetype the value must be set accordingly:
-
- Note - application/x-microsoft.net.object.binary.base64 is the format
- that the ResXResourceWriter will generate, however the reader can
- read any of the formats listed below.
-
- mimetype: application/x-microsoft.net.object.binary.base64
- value : The object must be serialized with
- : System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
- : and then encoded with base64 encoding.
-
- mimetype: application/x-microsoft.net.object.soap.base64
- value : The object must be serialized with
- : System.Runtime.Serialization.Formatters.Soap.SoapFormatter
- : and then encoded with base64 encoding.
-
- mimetype: application/x-microsoft.net.object.bytearray.base64
- value : The object must be serialized into a byte array
- : using a System.ComponentModel.TypeConverter
- : and then encoded with base64 encoding.
- -->
- <xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
- <xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
- <xsd:element name="root" msdata:IsDataSet="true">
- <xsd:complexType>
- <xsd:choice maxOccurs="unbounded">
- <xsd:element name="metadata">
- <xsd:complexType>
- <xsd:sequence>
- <xsd:element name="value" type="xsd:string" minOccurs="0" />
- </xsd:sequence>
- <xsd:attribute name="name" use="required" type="xsd:string" />
- <xsd:attribute name="type" type="xsd:string" />
- <xsd:attribute name="mimetype" type="xsd:string" />
- <xsd:attribute ref="xml:space" />
- </xsd:complexType>
- </xsd:element>
- <xsd:element name="assembly">
- <xsd:complexType>
- <xsd:attribute name="alias" type="xsd:string" />
- <xsd:attribute name="name" type="xsd:string" />
- </xsd:complexType>
- </xsd:element>
- <xsd:element name="data">
- <xsd:complexType>
- <xsd:sequence>
- <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
- <xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
- </xsd:sequence>
- <xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
- <xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
- <xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
- <xsd:attribute ref="xml:space" />
- </xsd:complexType>
- </xsd:element>
- <xsd:element name="resheader">
- <xsd:complexType>
- <xsd:sequence>
- <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
- </xsd:sequence>
- <xsd:attribute name="name" type="xsd:string" use="required" />
- </xsd:complexType>
- </xsd:element>
- </xsd:choice>
- </xsd:complexType>
- </xsd:element>
- </xsd:schema>
- <resheader name="resmimetype">
- <value>text/microsoft-resx</value>
- </resheader>
- <resheader name="version">
- <value>2.0</value>
- </resheader>
- <resheader name="reader">
- <value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
- </resheader>
- <resheader name="writer">
- <value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
- </resheader>
- <data name="OK" xml:space="preserve">
- <value>&amp;OK</value>
- </data>
- <data name="Cancel" xml:space="preserve">
- <value>&amp;Cancel</value>
- </data>
- <data name="QtVSIntegration" xml:space="preserve">
- <value>Qt Visual Studio Add-in</value>
- </data>
- <data name="CannotOpenFile" xml:space="preserve">
- <value>Cannot open {0}!</value>
- </data>
- <data name="NotExistingFile" xml:space="preserve">
- <value>The file {0} does not exist!</value>
- </data>
- <data name="Add" xml:space="preserve">
- <value>Add</value>
- </data>
- <data name="Edit" xml:space="preserve">
- <value>Edit</value>
- </data>
- <data name="Remove" xml:space="preserve">
- <value>Remove</value>
- </data>
- <data name="Delete" xml:space="preserve">
- <value>Delete</value>
- </data>
- <data name="ActionDialog_Text" xml:space="preserve">
- <value>Text:</value>
- </data>
- <data name="ActionDialog_ObjectName" xml:space="preserve">
- <value>Object Name:</value>
- </data>
- <data name="ActionDialog_Change" xml:space="preserve">
- <value>Change</value>
- </data>
- <data name="ActionDialog_Icon" xml:space="preserve">
- <value>Icon:</value>
- </data>
- <data name="ActionDialog_Properties" xml:space="preserve">
- <value>Properties</value>
- </data>
- <data name="ActionDialog_AddAction" xml:space="preserve">
- <value>Add New Action</value>
- </data>
- <data name="QtModules" xml:space="preserve">
- <value>Qt Modules</value>
- </data>
- <data name="ActiveQtContainerLibrary" xml:space="preserve">
- <value>ActiveQt container</value>
- </data>
- <data name="ActiveQtServerLibrary" xml:space="preserve">
- <value>ActiveQt server</value>
- </data>
- <data name="TestLibrary" xml:space="preserve">
- <value>Test</value>
- </data>
- <data name="ScriptLibrary" xml:space="preserve">
- <value>Script</value>
- </data>
- <data name="SVGLibrary" xml:space="preserve">
- <value>SVG</value>
- </data>
- <data name="XMLLibrary" xml:space="preserve">
- <value>XML</value>
- </data>
- <data name="Qt3SupportLibrary" xml:space="preserve">
- <value>Qt3 support library</value>
- </data>
- <data name="NetworkLibrary" xml:space="preserve">
- <value>Network</value>
- </data>
- <data name="OpenGLLibrary" xml:space="preserve">
- <value>OpenGL</value>
- </data>
- <data name="SQLLibrary" xml:space="preserve">
- <value>SQL</value>
- </data>
- <data name="GUILibrary" xml:space="preserve">
- <value>GUI</value>
- </data>
- <data name="CoreLibrary" xml:space="preserve">
- <value>Core</value>
- </data>
- <data name="HelpLibrary" xml:space="preserve">
- <value>Help</value>
- </data>
- <data name="WebKitLibrary" xml:space="preserve">
- <value>WebKit</value>
- </data>
- <data name="XmlPatternsLibrary" xml:space="preserve">
- <value>XML Patterns</value>
- </data>
- <data name="AddQtModule" xml:space="preserve">
- <value>Add/Remove Qt Module</value>
- </data>
- <data name="AddQtVersionDialog_VersionName" xml:space="preserve">
- <value>Version name:</value>
- </data>
- <data name="AddQtVersionDialog_Path" xml:space="preserve">
- <value>Path:</value>
- </data>
- <data name="AddQtVersionDialog_Title" xml:space="preserve">
- <value>Add New Qt Version</value>
- </data>
- <data name="AddQtVersionDialog_PlatformNotFoundError" xml:space="preserve">
- <value>The platform "{0}" is not defined within Visual Studio. Make sure you have installed the required SDK.</value>
- </data>
- <data name="AddQtVersionDialog_IncorrectMakefileGenerator" xml:space="preserve">
- <value>This Qt version uses an unsupported makefile generator (used: {0}, supported: MSVC.NET, MSBUILD)</value>
- </data>
- <data name="AddTranslationDialog_Language" xml:space="preserve">
- <value>Language:</value>
- </data>
- <data name="AddTranslationDialog_FileName" xml:space="preserve">
- <value>Filename:</value>
- </data>
- <data name="AddTranslationDialog_Title" xml:space="preserve">
- <value>Add Translation</value>
- </data>
- <data name="BuildOptionsPage_QtBuilds" xml:space="preserve">
- <value>Qt Builds:</value>
- </data>
- <data name="BuildOptionsPage_Name" xml:space="preserve">
- <value>Name</value>
- </data>
- <data name="BuildOptionsPage_Path" xml:space="preserve">
- <value>Path</value>
- </data>
- <data name="BuildOptionsPage_DefaultQtVersion" xml:space="preserve">
- <value>Default Qt/Win version:</value>
- </data>
- <data name="BuildSystem_IncompatibleMsg" xml:space="preserve">
- <value>The currently selected Qt version is not compatible to the one used by the Visual Studio Add-in.
-To enable the plugin to be loaded, the Qt version {0} has to be used. Do you want to switch Qt version?</value>
- </data>
- <data name="BuildSystem_Problem" xml:space="preserve">
- <value>Warning: A matching Qt version for the Add-in could not be found!
-The resulting plugin will not work with the current Qt Visual Studio Add-in.</value>
- </data>
- <data name="BuildSystem_Solution" xml:space="preserve">
- <value>Goto www.qt.io and download the binary package of Qt {0}.</value>
- </data>
- <data name="EditorFactory_OpenFailure" xml:space="preserve">
- <value>
-The file {0}
-cannot be opened with the Qt 4 form editor.
-Try converting the file using uic.exe</value>
- </data>
- <data name="EditorPane_TrySetProperty" xml:space="preserve">
- <value>Try to set property: {0}
-
-{1} {2}</value>
- </data>
- <data name="EditorPane_CannotRunUic" xml:space="preserve">
- <value>Cannot run uic!</value>
- </data>
- <data name="EditorPane_NoFormClassFound" xml:space="preserve">
- <value>The project doesn't contain any class which uses this form!</value>
- </data>
- <data name="EditorPane_NoSourceFileFound" xml:space="preserve">
- <value>Cannot find a suitable source file for writing the slot implementation!</value>
- </data>
- <data name="EditorPane_UnableToRetrieve" xml:space="preserve">
- <value>Unable to retrieve more information for {0}.</value>
- </data>
- <data name="EditorPane_CannotOpenUi" xml:space="preserve">
- <value>Cannot open {0}!
-Is this a valid .ui file?"</value>
- </data>
- <data name="EditorPane_ErrorWhileOpening" xml:space="preserve">
- <value>An error occured while opening the form editor!</value>
- </data>
- <data name="EditorPane_Reload" xml:space="preserve">
- <value>{0}
-
-This file has changed outside the editor. Do you want to reload it?</value>
- </data>
- <data name="GeneralOptionsPage_ManualBuildSteps" xml:space="preserve">
- <value>Manually managed build steps may cause problems when the project is built outside Visual Studio.
-Do you want to continue?</value>
- </data>
- <data name="Helpers_CannotStart" xml:space="preserve">
- <value>Cannot start {0}
-
-Make sure that you have specified a valid Qt version in the current project.
-If you haven't specified a Qt version at all, goto Tools|Options|Qt|Builds
-and insert the information about the Qt version you want to use.</value>
- </data>
- <data name="IconPropertyDialog_Preview" xml:space="preserve">
- <value>Preview:</value>
- </data>
- <data name="IconPropertyDialog_Icon" xml:space="preserve">
- <value>Icon:</value>
- </data>
- <data name="IconPropertyDialog_Filter" xml:space="preserve">
- <value>Filter:</value>
- </data>
- <data name="IconPropertyDialog_Title" xml:space="preserve">
- <value>Icon Property Dialog</value>
- </data>
- <data name="PriWatcher_Import" xml:space="preserve">
- <value>The watched .pri file has been changed outside Visual Studio. Do you want to import the changes into the vcproj file?</value>
- </data>
- <data name="PriWatcher_Title" xml:space="preserve">
- <value>Watched .pri file changed</value>
- </data>
- <data name="ProjectExtender_Filter" xml:space="preserve">
- <value>pri Files (*.pri)|*.pri</value>
- </data>
- <data name="ProjectExtender_CannotUpdate" xml:space="preserve">
- <value>Cannot update the Qt libraries in your project to reflect the currently selected version.</value>
- </data>
- <data name="ProjectExtender_CannotUpdateSolution" xml:space="preserve">
- <value>Verify that the path for this Qt installation is correct.</value>
- </data>
- <data name="ProjectExtender_Warning" xml:space="preserve">
- <value>Changing the path will update all {0} build steps. Manual changes will be lost. Do you want to continue?</value>
- </data>
- <data name="ProjectExtender_Title" xml:space="preserve">
- <value>Changing {0} Output Path</value>
- </data>
- <data name="PropertyEditor_DefaultError" xml:space="preserve">
- <value>Cannot create default value function for {0}!</value>
- </data>
- <data name="QDateTimeControl_Time" xml:space="preserve">
- <value>Time:</value>
- </data>
- <data name="QProcess_UnspecifiedError" xml:space="preserve">
- <value>&lt;unspecified return code&gt;</value>
- </data>
- <data name="QtVersionDialog_BoxTitle" xml:space="preserve">
- <value>Solution wide Qt Version</value>
- </data>
- <data name="QtVersionDialog_Title" xml:space="preserve">
- <value>Change Qt Version for Solution</value>
- </data>
- <data name="ResourceDialog_New" xml:space="preserve">
- <value>New</value>
- </data>
- <data name="ResourceDialog_Type" xml:space="preserve">
- <value>Resource Type:</value>
- </data>
- <data name="ResourceDialog_Import" xml:space="preserve">
- <value>Import...</value>
- </data>
- <data name="ResourceDialog_Name" xml:space="preserve">
- <value>Name:</value>
- </data>
- <data name="ResourceDialog_Title" xml:space="preserve">
- <value>Resource Dialog</value>
- </data>
- <data name="SignalChooser_Connect" xml:space="preserve">
- <value>Connect Signal</value>
- </data>
- <data name="SignalChooser_Title" xml:space="preserve">
- <value>Connecting Signals &amp; Slots</value>
- </data>
- <data name="ProductDetails" xml:space="preserve">
- <value>Qt Add-in for Visual Studio .NET</value>
- </data>
- <data name="LicenseCheck" xml:space="preserve">
- <value>Qt License Check</value>
- </data>
- <data name="InvalidLicense" xml:space="preserve">
- <value>A valid Qt license key could not be found or your license has expired!
-
-Please use contact form at https://www.qt.io/buy-product/ to order a Qt license.</value>
- </data>
- <data name="InitComponentsFailure" xml:space="preserve">
- <value>Cannot initialize FormEditor components!</value>
- </data>
- <data name="InitIntegrationFailure" xml:space="preserve">
- <value>The VS Add-in of Qt could not be initialized!</value>
- </data>
- <data name="InitFactoryFailure" xml:space="preserve">
- <value>Cannot initialize EditorFactory!</value>
- </data>
- <data name="ExtensionServiceFailure" xml:space="preserve">
- <value>Cannot retrieve the extension service of Visual Studio!</value>
- </data>
- <data name="CommandServiceFailure" xml:space="preserve">
- <value>Cannot retrieve the command service of Visual Studio!</value>
- </data>
- <data name="SelectionServiceFailure" xml:space="preserve">
- <value>Cannot retrieve the selection service of Visual Studio!</value>
- </data>
- <data name="HelpServiceFailure" xml:space="preserve">
- <value>Cannot retrieve the help service of Visual Studio!</value>
- </data>
- <data name="TrackProjectDocuments2ServiceFailure" xml:space="preserve">
- <value>Cannot retrieve the TrackProjectDocuments2 service of Visual Studio!</value>
- </data>
- <data name="SolutionServiceFailure" xml:space="preserve">
- <value>Cannot retrieve the solution service of Visual Studio!</value>
- </data>
- <data name="QtToolBoxFrame" xml:space="preserve">
- <value>Qt Toolbox</value>
- </data>
- <data name="QtObjectInspectorFrame" xml:space="preserve">
- <value>Qt Object Inspector</value>
- </data>
- <data name="QtSignalSlotEditorFrame" xml:space="preserve">
- <value>Qt Signal Slot Editor</value>
- </data>
- <data name="QtActionEditorFrame" xml:space="preserve">
- <value>Qt Action Editor</value>
- </data>
- <data name="QtToolBoxFailure" xml:space="preserve">
- <value>Failed to create the Qt Toolbox!</value>
- </data>
- <data name="QtObjectInspectorFailure" xml:space="preserve">
- <value>Failed to create the Qt Object Inspector!</value>
- </data>
- <data name="QtSignalSlotEditorFailure" xml:space="preserve">
- <value>Failed to create the Qt Signal Slot Editor!</value>
- </data>
- <data name="QtActionEditorFailure" xml:space="preserve">
- <value>Failed to create the Qt Action Editor!</value>
- </data>
- <data name="QtPropertyAddFailure" xml:space="preserve">
- <value>Cannot add Qt property to a class containing no Q_OBJECT macro.</value>
- </data>
- <data name="InvalidPropertyName" xml:space="preserve">
- <value>No valid property name was entered.</value>
- </data>
- <data name="FileNotPartOfSolution" xml:space="preserve">
- <value>The file {0} is not part of the solution!</value>
- </data>
- <data name="CannotFindQMake" xml:space="preserve">
- <value>Cannot find qmake. Make sure you have specified a Qt version.</value>
- </data>
- <data name="CannotChangeQtVersion" xml:space="preserve">
- <value>The Qt version of at least one project could not be changed.</value>
- </data>
- <data name="UicOuputFileCreationFailure" xml:space="preserve">
- <value>Uic could not create output file {0}!</value>
- </data>
- <data name="MakeSureWritePermission" xml:space="preserve">
- <value>Make sure you have write permission.</value>
- </data>
- <data name="ImportPriFile" xml:space="preserve">
- <value>Import .pri File to {0}...</value>
- </data>
- <data name="ExportToProFile" xml:space="preserve">
- <value>Export {0} to .pri File...</value>
- </data>
- <data name="ImportingFromProFile" xml:space="preserve">
- <value>Importing project(s) from .pro file...</value>
- </data>
- <data name="ImportingPriFile" xml:space="preserve">
- <value>Importing .pri file...</value>
- </data>
- <data name="WelcomeDialog_Header" xml:space="preserve">
- <value>Welcome to the
-Qt Visual Studio Add-in</value>
- </data>
- <data name="WelcomeDialog_MainText" xml:space="preserve">
- <value>The Add-in enables you to develop Qt applications faster than ever. With its integrated form designer and help browser, there is no need for starting any external applications. More information about features and usage can be found in the documentation.
-
-Note: If Visual Studio is currently not responsive, this is because it updates its help system, which can take a few minutes.</value>
- </data>
- <data name="WelcomeDialog_DontShow" xml:space="preserve">
- <value>Don't show this dialog again.</value>
- </data>
- <data name="WelcomeDialog_Close" xml:space="preserve">
- <value>Close</value>
- </data>
- <data name="WelcomeDialog_ShowDocumentation" xml:space="preserve">
- <value>Show Documentation</value>
- </data>
- <data name="WelcomeDialog_ShowTutorial" xml:space="preserve">
- <value>Show Tutorial</value>
- </data>
- <data name="BuildOptionsPage_Title" xml:space="preserve">
- <value>Qt Versions</value>
- </data>
- <assembly alias="System.Windows.Forms" name="System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
- <data name="1" type="System.Resources.ResXFileRef, System.Windows.Forms">
- <value>Resources\Designer.bmp;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
- </data>
- <data name="11" type="System.Resources.ResXFileRef, System.Windows.Forms">
- <value>Resources\ImportPro.bmp;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
- </data>
- <data name="12" type="System.Resources.ResXFileRef, System.Windows.Forms">
- <value>Resources\ImportPri.bmp;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
- </data>
- <data name="13" type="System.Resources.ResXFileRef, System.Windows.Forms">
- <value>Resources\ExportPro.bmp;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
- </data>
- <data name="14" type="System.Resources.ResXFileRef, System.Windows.Forms">
- <value>Resources\ExportPri.bmp;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
- </data>
- <data name="2" type="System.Resources.ResXFileRef, System.Windows.Forms">
- <value>Resources\Assistant.bmp;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
- </data>
- <data name="3" type="System.Resources.ResXFileRef, System.Windows.Forms">
- <value>Resources\Linguist.bmp;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
- </data>
- <data name="4" type="System.Resources.ResXFileRef, System.Windows.Forms">
- <value>Resources\Qt.bmp;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
- </data>
- <data name="AboutIcon" type="System.Resources.ResXFileRef, System.Windows.Forms">
- <value>Resources\AboutIcon.ico;System.Drawing.Icon, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
- </data>
- <data name="AddRemoveModulesButtonText" xml:space="preserve">
- <value>Add/Remove Qt Modules</value>
- </data>
- <data name="AddRemoveModulesToolTip" xml:space="preserve">
- <value>Add or remove Qt Modules to/from the current Project</value>
- </data>
- <data name="BuildPlatformQtVersionNotFound" xml:space="preserve">
- <value>Can't find a Qt version for the current build platform.</value>
- </data>
- <data name="ChangeSolutionQtVersionButtonText" xml:space="preserve">
- <value>Change Solution's Qt Version</value>
- </data>
- <data name="ChangeSolutionQtVersionToolTip" xml:space="preserve">
- <value>Change the Qt version for this solution and all contained projects .</value>
- </data>
- <data name="CommandBarsNotRegistered" xml:space="preserve">
- <value>Couldn't register CommandBars</value>
- </data>
- <data name="CommandsNotRegistered" xml:space="preserve">
- <value>Couldn't register all Qt4VSAddin commands.</value>
- </data>
- <data name="CreateNewTranslationFileButtonText" xml:space="preserve">
- <value>Create new Translation File</value>
- </data>
- <data name="CreateNewTranslationFileToolTip" xml:space="preserve">
- <value>Creates a new translation file for Qt Linguist</value>
- </data>
- <data name="DesignerAddError" xml:space="preserve">
- <value>Could not open .ui file in existing Qt Designer</value>
- </data>
- <data name="ExportPriFileButtonText" xml:space="preserve">
- <value>Export Project to .pri File...</value>
- </data>
- <data name="ExportPriFileToolTip" xml:space="preserve">
- <value>This will export the current project to a .pri file.</value>
- </data>
- <data name="ExportProFileButtonText" xml:space="preserve">
- <value>Create basic .pro File...</value>
- </data>
- <data name="ExportProFileToolTip" xml:space="preserve">
- <value>This will export the current project to a Qt Project file (.pro).</value>
- </data>
- <data name="File" xml:space="preserve">
- <value>file</value>
- </data>
- <data name="ImportPriFileButtonText" xml:space="preserve">
- <value>Import .pri File to Project...</value>
- </data>
- <data name="ImportPriFileNotRead" xml:space="preserve">
- <value>--- (importing .pri file) file: {0} could not be read.</value>
- </data>
- <data name="ImportPriFileNotResolved" xml:space="preserve">
- <value>--- (importing .pri file) file: {0} could not be resolved. Skipping file.</value>
- </data>
- <data name="ImportPriFileToolTip" xml:space="preserve">
- <value>This will import a .pri file and create a Qt project from it.</value>
- </data>
- <data name="ImportProFileButtonText" xml:space="preserve">
- <value>Open Qt Project File (.pro)...</value>
- </data>
- <data name="ImportProFileToolTip" xml:space="preserve">
- <value>Opens a Qt Project File (.pro) and creates a new solution respectively adds a new project to the current solution.</value>
- </data>
- <data name="InstalledQtVersions" xml:space="preserve">
- <value>Installed Qt Versions</value>
- </data>
- <data name="LaunchDesignerButtonText" xml:space="preserve">
- <value>Launch Designer</value>
- </data>
- <data name="LaunchDesignerToolTip" xml:space="preserve">
- <value>This will start Qt Designer.</value>
- </data>
- <data name="LaunchLinguistButtonText" xml:space="preserve">
- <value>Launch Linguist</value>
- </data>
- <data name="LaunchLinguistToolTip" xml:space="preserve">
- <value>This will start Qt Linguist.</value>
- </data>
- <data name="NoProjectOpened" xml:space="preserve">
- <value>No Project Opened</value>
- </data>
- <data name="ProjectQtSettingsButtonText" xml:space="preserve">
- <value>Qt Project Settings</value>
- </data>
- <data name="ProjectQtSettingsToolTip" xml:space="preserve">
- <value>Edit Qt settings of the current project.</value>
- </data>
- <data name="ProjectQtVersionNotFoundError" xml:space="preserve">
- <value>There's no Qt version assigned to this project for platform {0}. Please use the 'change Qt version' feature and choose a valid Qt version for this platform.</value>
- </data>
- <data name="QrcEditorNotFoundErrorMessage" xml:space="preserve">
- <value>*** Couldn't start QRC editor! Please verify that qrceditor.exe is in the Add-in installation directory.</value>
- </data>
- <data name="QtAppNotFoundErrorMessage" xml:space="preserve">
- <value>*** Couldn't start {0}!</value>
- </data>
- <data name="QtAppNotFoundErrorTitle" xml:space="preserve">
- <value>Not starting {0}</value>
- </data>
- <data name="QtDefaultSettings" xml:space="preserve">
- <value>Qt Default Settings</value>
- </data>
- <data name="SelectQtPath" xml:space="preserve">
- <value>Select Qt Path</value>
- </data>
- <data name="SolutionQtVersion" xml:space="preserve">
- <value>Set Solution's Qt Version</value>
- </data>
- <data name="VSQtOptionsButtonText" xml:space="preserve">
- <value>Qt Options</value>
- </data>
- <data name="VSQtOptionsToolTip" xml:space="preserve">
- <value>Configure the default Qt settings</value>
- </data>
- <data name="OnlyVariableInDir" xml:space="preserve">
- <value>The path may only contain the "$(ConfigurationName)" and/or "$(PlatformName)" variable! A valid path is e.g.".$(ConfigurationName)/moc".</value>
- </data>
- <data name="lreleaseProjectButtonText" xml:space="preserve">
- <value>lrelease all .ts files in project</value>
- </data>
- <data name="lreleaseSolutionButtonText" xml:space="preserve">
- <value>lrelease all .ts files in solution</value>
- </data>
- <data name="lupdateProjectButtonText" xml:space="preserve">
- <value>lupdate all .ts files in project</value>
- </data>
- <data name="lupdateSolutionButtonText" xml:space="preserve">
- <value>lupdate all .ts files in solution</value>
- </data>
- <data name="ChangeProjectQtVersionButtonText" xml:space="preserve">
- <value>Change project's Qt Version</value>
- </data>
- <data name="ProjectQtVersion" xml:space="preserve">
- <value>Set Project's Qt Version</value>
- </data>
- <data name="DeleteGeneratedFilesError" xml:space="preserve">
- <value>The generated files could not be deleted.</value>
- </data>
- <data name="ConvertToQMakeButtonText" xml:space="preserve">
- <value>Convert project to QMake generated project</value>
- </data>
- <data name="ConvertToQtButtonText" xml:space="preserve">
- <value>Convert project to Qt Add-in project</value>
- </data>
- <data name="ConvertConfirmation" xml:space="preserve">
- <value>Do you really want to convert the selected project?</value>
- </data>
- <data name="ConvertTitle" xml:space="preserve">
- <value>Project Conversion</value>
- </data>
- <data name="UiToolsLibrary" xml:space="preserve">
- <value>UI Tools</value>
- </data>
- <data name="ScriptToolsLibrary" xml:space="preserve">
- <value>Script Tools</value>
- </data>
- <data name="NoDefaultQtVersionError" xml:space="preserve">
- <value>No default Qt version found. Please check your Qt Visual Studio Add-in settings</value>
- </data>
- <data name="MultimediaLibrary" xml:space="preserve">
- <value>Multimedia</value>
- </data>
- <data name="QuestionSCCCheckoutOnOpen" xml:space="preserve">
- <value>The file {0} is under source control and not checked out. Do you want to check out the file before opening it?
-
-Note: You can turn off this question by setting "ask_before_checkout_file" to "false" in the options menu of the Qt add-in.</value>
- </data>
- <data name="AddQtVersionDialog_InvalidDirectory" xml:space="preserve">
- <value>The given path is no valid directory.</value>
- </data>
- <data name="AddQtVersionDialog_NotFound" xml:space="preserve">
- <value>{0} could not be found.</value>
- </data>
- <data name="AddQtVersionDialog_VersionAlreadyPresent" xml:space="preserve">
- <value>The given name has already been registered.</value>
- </data>
- <data name="AddQtVersionDialog_MingwQt" xml:space="preserve">
- <value>Qt in the given path was built using MinGW.</value>
- </data>
- <data name="CouldNotConnectToAppwrapper" xml:space="preserve">
- <value>Could not connect to Appwrapper. Please make sure that TCP port {0} is not blocked.</value>
- </data>
- <data name="3DLibrary" xml:space="preserve">
- <value>3D</value>
- </data>
- <data name="BluetoothLibrary" xml:space="preserve">
- <value>Bluetooth</value>
- </data>
- <data name="LocationLibrary" xml:space="preserve">
- <value>Location</value>
- </data>
- <data name="PrintSupportLibrary" xml:space="preserve">
- <value>Print Support</value>
- </data>
- <data name="QmlLibrary" xml:space="preserve">
- <value>QML</value>
- </data>
- <data name="DeclarativeLibrary" xml:space="preserve">
- <value>Declarative</value>
- </data>
- <data name="QuickLibrary" xml:space="preserve">
- <value>Quick</value>
- </data>
- <data name="SensorsLibrary" xml:space="preserve">
- <value>Sensors</value>
- </data>
- <data name="WebkitWidgetsLibrary" xml:space="preserve">
- <value>Webkit Widgets</value>
- </data>
- <data name="WidgetsLibrary" xml:space="preserve">
- <value>Widgets</value>
- </data>
- <data name="ConcurrentLibrary" xml:space="preserve">
- <value>Concurrent</value>
- </data>
- <data name="MultimediaWidgetsLibrary" xml:space="preserve">
- <value>Multimedia Widgets</value>
- </data>
- <data name="Qt4Unloaded_pane_msg" xml:space="preserve">
- <value>!!! Qt4 Add-in was found and closed! !!!
-Qt4 and Qt5 versions can't be used at the same time.
-Add-in Manager from Tools menu can be used to close Qt5 Add-in and to restart Qt4 Add-in.</value>
- </data>
- <data name="EnginioLibrary" xml:space="preserve">
- <data name="NoVSSupport" xml:space="preserve">
- <value>The default Qt version does not support Visual Studio. In order to import .pro files specify a Qt version &gt;=5.6 as default.</value>
- </data>
- <value>Enginio</value>
- </data>
- <data name="NfcLibrary" xml:space="preserve">
- <value>NFC</value>
- </data>
- <data name="PositioningLibrary" xml:space="preserve">
- <value>Positioning</value>
- </data>
- <data name="SerialPortLibrary" xml:space="preserve">
- <value>Serial Port</value>
- </data>
- <data name="WebChannelLibrary" xml:space="preserve">
- <value>Web Channel</value>
- </data>
- <data name="WebSocketsLibrary" xml:space="preserve">
- <value>Web Sockets</value>
- </data>
- <data name="WindowsExtrasLibrary" xml:space="preserve">
- <value>Windows Extras</value>
- </data>
- <data name="QuickWidgetsLibrary" xml:space="preserve">
- <value>Quick Widgets</value>
- </data>
-</root>
diff --git a/Qt4VS2003/Qt4VSAddin/Translation.cs b/Qt4VS2003/Qt4VSAddin/Translation.cs
deleted file mode 100644
index 7c1a2d27..00000000
--- a/Qt4VS2003/Qt4VSAddin/Translation.cs
+++ /dev/null
@@ -1,292 +0,0 @@
-/****************************************************************************
-**
-** Copyright (C) 2016 The Qt Company Ltd.
-** Contact: https://www.qt.io/licensing/
-**
-** This file is part of the Qt VS Add-in.
-**
-** $QT_BEGIN_LICENSE:GPL-EXCEPT$
-** Commercial License Usage
-** Licensees holding valid commercial Qt licenses may use this file in
-** accordance with the commercial license agreement provided with the
-** Software or, alternatively, in accordance with the terms contained in
-** a written agreement between you and The Qt Company. For licensing terms
-** and conditions see https://www.qt.io/terms-conditions. For further
-** information use the contact form at https://www.qt.io/contact-us.
-**
-** GNU General Public License Usage
-** Alternatively, this file may be used under the terms of the GNU
-** General Public License version 3 as published by the Free Software
-** Foundation with exceptions as appearing in the file LICENSE.GPL3-EXCEPT
-** included in the packaging of this file. Please review the following
-** information to ensure the GNU General Public License requirements will
-** be met: https://www.gnu.org/licenses/gpl-3.0.html.
-**
-** $QT_END_LICENSE$
-**
-****************************************************************************/
-
-using Microsoft.VisualStudio.VCProjectEngine;
-using Digia.Qt5ProjectLib;
-using System.Collections.Generic;
-using System.Windows.Forms;
-
-namespace Qt5VSAddin
-{
- /// <summary>
- /// Summary description for Translation.
- /// </summary>
- public class Translation
- {
- public static bool RunlRelease(VCFile vcFile)
- {
- bool success = true;
- try
- {
- VCProject vcProject = vcFile.project as VCProject;
- string cmdLine = "";
- if (HelperFunctions.IsQtProject(vcProject))
- {
- string options = QtVSIPSettings.GetLReleaseOptions();
- if (!string.IsNullOrEmpty(options))
- cmdLine += options + " ";
- }
- EnvDTE.Project project = vcProject.Object as EnvDTE.Project;
- Messages.PaneMessage(project.DTE,
- "--- (lrelease) file: " + vcFile.FullPath);
-
- cmdLine += vcFile.RelativePath;
- HelperFunctions.StartExternalQtApplication(Resources.lreleaseCommand, cmdLine,
- vcProject.ProjectDirectory, HelperFunctions.GetSelectedQtProject(project.DTE), true,
- null);
- }
- catch (QtVSException e)
- {
- success = false;
- Messages.DisplayErrorMessage(e.Message);
- }
-
- return success;
- }
-
- public static void RunlRelease(VCFile[] vcFiles)
- {
- foreach (VCFile vcFile in vcFiles)
- {
- if (vcFile == null)
- continue;
- if (HelperFunctions.IsTranslationFile(vcFile))
- {
- if (!RunlRelease(vcFile))
- return;
- }
- }
- }
-
- public static void RunlRelease(EnvDTE.Project project)
- {
- QtProject qtPro = QtProject.Create(project);
- if (qtPro == null)
- return;
-
- FakeFilter ts = Filters.TranslationFiles();
- VCFilter tsFilter = qtPro.FindFilterFromGuid(ts.UniqueIdentifier);
- if (tsFilter == null)
- return;
-
- IVCCollection files = tsFilter.Files as IVCCollection;
- foreach (VCFile file in files)
- {
- VCFile vcFile = file as VCFile;
- if (HelperFunctions.IsTranslationFile(vcFile))
- {
- if (!RunlRelease(vcFile))
- return;
- }
- }
- }
-
- public static void RunlRelease(EnvDTE.Solution solution)
- {
- foreach (EnvDTE.Project project in HelperFunctions.ProjectsInSolution(solution.DTE))
- RunlRelease(project);
- }
-
- public static bool RunlUpdate(VCFile vcFile, EnvDTE.Project pro)
- {
- if (!HelperFunctions.IsQtProject(pro))
- return false;
-
- string cmdLine = "";
- string options = QtVSIPSettings.GetLUpdateOptions(pro);
- if (!string.IsNullOrEmpty(options))
- cmdLine += options + " ";
- List<string> headers = HelperFunctions.GetProjectFiles(pro, FilesToList.FL_HFiles);
- List<string> sources = HelperFunctions.GetProjectFiles(pro, FilesToList.FL_CppFiles);
- List<string> uifiles = HelperFunctions.GetProjectFiles(pro, FilesToList.FL_UiFiles);
-
- foreach (string file in headers)
- cmdLine += file + " ";
-
- foreach (string file in sources)
- cmdLine += file + " ";
-
- foreach (string file in uifiles)
- cmdLine += file + " ";
-
- cmdLine += "-ts " + vcFile.RelativePath;
-
- int cmdLineLength = cmdLine.Length + Resources.lupdateCommand.Length + 1;
- string temporaryProFile = null;
- if (cmdLineLength > HelperFunctions.GetMaximumCommandLineLength())
- {
- string codec = "";
- if (!string.IsNullOrEmpty(options))
- {
- int cc4tr_location = options.IndexOf("-codecfortr", System.StringComparison.CurrentCultureIgnoreCase);
- if (cc4tr_location != -1)
- {
- codec = options.Substring(cc4tr_location).Split(' ')[1];
- string remove_this = options.Substring(cc4tr_location, "-codecfortr".Length + 1 + codec.Length);
- options = options.Replace(remove_this, "");
- }
- }
- VCProject vcPro = (VCProject) pro.Object;
- temporaryProFile = System.IO.Path.GetTempFileName();
- temporaryProFile = System.IO.Path.GetDirectoryName(temporaryProFile) + "\\" +
- System.IO.Path.GetFileNameWithoutExtension(temporaryProFile) + ".pro";
- if (System.IO.File.Exists(temporaryProFile))
- System.IO.File.Delete(temporaryProFile);
- System.IO.StreamWriter sw = new System.IO.StreamWriter(temporaryProFile);
- writeFilesToPro(sw, "HEADERS",
- ProjectExporter.ConvertFilesToFullPath(headers, vcPro.ProjectDirectory));
- writeFilesToPro(sw, "SOURCES",
- ProjectExporter.ConvertFilesToFullPath(sources, vcPro.ProjectDirectory));
- writeFilesToPro(sw, "FORMS",
- ProjectExporter.ConvertFilesToFullPath(uifiles, vcPro.ProjectDirectory));
-
- List<string> tsFiles = new List<string>(1);
- tsFiles.Add(vcFile.FullPath);
- writeFilesToPro(sw, "TRANSLATIONS", tsFiles);
-
- if (!string.IsNullOrEmpty(codec))
- {
- sw.WriteLine("CODECFORTR = " + codec);
- }
- sw.Close();
-
- cmdLine = "";
- if (!string.IsNullOrEmpty(options))
- cmdLine += options + " ";
- cmdLine += "\"" + temporaryProFile + "\"";
- }
-
- bool success = true;
- try
- {
- Messages.PaneMessage(pro.DTE, "--- (lupdate) file: " + vcFile.FullPath);
-
- HelperFunctions.StartExternalQtApplication(Resources.lupdateCommand, cmdLine,
- ((VCProject)vcFile.project).ProjectDirectory, pro, true, null);
- }
- catch (QtVSException e)
- {
- success = false;
- Messages.DisplayErrorMessage(e.Message);
- }
-
- if (temporaryProFile != null && System.IO.File.Exists(temporaryProFile))
- {
- System.IO.File.Delete(temporaryProFile);
- temporaryProFile = temporaryProFile.Substring(0, temporaryProFile.Length - 3);
- temporaryProFile += "TMP";
- if (System.IO.File.Exists(temporaryProFile))
- System.IO.File.Delete(temporaryProFile);
- }
-
- return success;
- }
-
- private static void writeFilesToPro(System.IO.StreamWriter pro, string section, List<string> files)
- {
- if (files.Count > 0)
- {
- pro.Write(section + " = ");
- foreach (string file in files)
- {
- pro.WriteLine("\\");
- pro.Write("\"" + file + "\"");
- }
- pro.WriteLine();
- }
- }
-
- public static void RunlUpdate(VCFile[] vcFiles, EnvDTE.Project pro)
- {
- foreach (VCFile vcFile in vcFiles)
- {
- if (vcFile == null)
- continue;
- if (HelperFunctions.IsTranslationFile(vcFile))
- {
- if (!RunlUpdate(vcFile, pro))
- return;
- }
- }
- }
-
- public static void RunlUpdate(EnvDTE.Project project)
- {
- QtProject qtPro = QtProject.Create(project);
- if (qtPro == null)
- return;
-
- FakeFilter ts = Filters.TranslationFiles();
- VCFilter tsFilter = qtPro.FindFilterFromGuid(ts.UniqueIdentifier);
- if (tsFilter == null)
- return;
-
- IVCCollection files = tsFilter.Files as IVCCollection;
- foreach (VCFile file in files)
- {
- VCFile vcFile = file as VCFile;
- if (HelperFunctions.IsTranslationFile(vcFile))
- {
- if (!RunlUpdate(vcFile, project))
- return;
- }
- }
- }
-
- public static void RunlUpdate(EnvDTE.Solution solution)
- {
- foreach (EnvDTE.Project project in HelperFunctions.ProjectsInSolution(solution.DTE))
- RunlUpdate(project);
- }
-
- public static void CreateNewTranslationFile(EnvDTE.Project project)
- {
- if (project == null)
- return;
-
- AddTranslationDialog transDlg = new AddTranslationDialog(project);
- if (transDlg.ShowDialog() == DialogResult.OK)
- {
- try
- {
- QtProject qtPro = QtProject.Create(project);
- VCFile file = qtPro.AddFileInFilter(Filters.TranslationFiles(), transDlg.TranslationFile, true);
- Translation.RunlUpdate(file, project);
- }
- catch (QtVSException e)
- {
- Messages.DisplayErrorMessage(e.Message);
- }
- catch (System.Exception ex)
- {
- Messages.DisplayErrorMessage(ex.Message);
- }
- }
- }
- }
-}
diff --git a/Qt4VS2003/Qt4VSAddin/VSPackage.resx b/Qt4VS2003/Qt4VSAddin/VSPackage.resx
deleted file mode 100644
index bfd12596..00000000
--- a/Qt4VS2003/Qt4VSAddin/VSPackage.resx
+++ /dev/null
@@ -1,173 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!--
- *****************************************************************************
- **
- ** Copyright (C) 2016 The Qt Company Ltd.
- ** Contact: https://www.qt.io/licensing/
- **
- ** This file is part of the Qt VS Add-in.
- **
- ** $QT_BEGIN_LICENSE:GPL-EXCEPT$
- ** Commercial License Usage
- ** Licensees holding valid commercial Qt licenses may use this file in
- ** accordance with the commercial license agreement provided with the
- ** Software or, alternatively, in accordance with the terms contained in
- ** a written agreement between you and The Qt Company. For licensing terms
- ** and conditions see https://www.qt.io/terms-conditions. For further
- ** information use the contact form at https://www.qt.io/contact-us.
- **
- ** GNU General Public License Usage
- ** Alternatively, this file may be used under the terms of the GNU
- ** General Public License version 3 as published by the Free Software
- ** Foundation with exceptions as appearing in the file LICENSE.GPL3-EXCEPT
- ** included in the packaging of this file. Please review the following
- ** information to ensure the GNU General Public License requirements will
- ** be met: https://www.gnu.org/licenses/gpl-3.0.html.
- **
- ** $QT_END_LICENSE$
- **
- *****************************************************************************
-
- VS SDK Notes: This resx file contains the resources that will be consumed from your package by Visual Studio.
- For example, Visual Studio will attempt to load resource '400' from this resource stream when it needs to
- load your package's icon. Because Visual Studio will always look in the VSPackage.resources stream first for
- resources it needs, you should put additional resources that Visual Studio will load directly into this resx
- file.
-
- Resources that you would like to access directly from your package in a strong-typed fashion should be stored
- in Resources.resx or another resx file.
--->
-<root>
- <!--
- Microsoft ResX Schema
-
- Version 2.0
-
- The primary goals of this format is to allow a simple XML format
- that is mostly human readable. The generation and parsing of the
- various data types are done through the TypeConverter classes
- associated with the data types.
-
- Example:
-
- ... ado.net/XML headers & schema ...
- <resheader name="resmimetype">text/microsoft-resx</resheader>
- <resheader name="version">2.0</resheader>
- <resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
- <resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
- <data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
- <data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
- <data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
- <value>[base64 mime encoded serialized .NET Framework object]</value>
- </data>
- <data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
- <value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
- <comment>This is a comment</comment>
- </data>
-
- There are any number of "resheader" rows that contain simple
- name/value pairs.
-
- Each data row contains a name, and value. The row also contains a
- type or mimetype. Type corresponds to a .NET class that support
- text/value conversion through the TypeConverter architecture.
- Classes that don't support this are serialized and stored with the
- mimetype set.
-
- The mimetype is used for serialized objects, and tells the
- ResXResourceReader how to depersist the object. This is currently not
- extensible. For a given mimetype the value must be set accordingly:
-
- Note - application/x-microsoft.net.object.binary.base64 is the format
- that the ResXResourceWriter will generate, however the reader can
- read any of the formats listed below.
-
- mimetype: application/x-microsoft.net.object.binary.base64
- value : The object must be serialized with
- : System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
- : and then encoded with base64 encoding.
-
- mimetype: application/x-microsoft.net.object.soap.base64
- value : The object must be serialized with
- : System.Runtime.Serialization.Formatters.Soap.SoapFormatter
- : and then encoded with base64 encoding.
-
- mimetype: application/x-microsoft.net.object.bytearray.base64
- value : The object must be serialized into a byte array
- : using a System.ComponentModel.TypeConverter
- : and then encoded with base64 encoding.
- -->
- <xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema"
- xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
- <xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
- <xsd:element name="root" msdata:IsDataSet="true">
- <xsd:complexType>
- <xsd:choice maxOccurs="unbounded">
- <xsd:element name="metadata">
- <xsd:complexType>
- <xsd:sequence>
- <xsd:element name="value" type="xsd:string" minOccurs="0" />
- </xsd:sequence>
- <xsd:attribute name="name" use="required" type="xsd:string" />
- <xsd:attribute name="type" type="xsd:string" />
- <xsd:attribute name="mimetype" type="xsd:string" />
- <xsd:attribute ref="xml:space" />
- </xsd:complexType>
- </xsd:element>
- <xsd:element name="assembly">
- <xsd:complexType>
- <xsd:attribute name="alias" type="xsd:string" />
- <xsd:attribute name="name" type="xsd:string" />
- </xsd:complexType>
- </xsd:element>
- <xsd:element name="data">
- <xsd:complexType>
- <xsd:sequence>
- <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
- <xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
- </xsd:sequence>
- <xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
- <xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
- <xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
- <xsd:attribute ref="xml:space" />
- </xsd:complexType>
- </xsd:element>
- <xsd:element name="resheader">
- <xsd:complexType>
- <xsd:sequence>
- <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
- </xsd:sequence>
- <xsd:attribute name="name" type="xsd:string" use="required" />
- </xsd:complexType>
- </xsd:element>
- </xsd:choice>
- </xsd:complexType>
- </xsd:element>
- </xsd:schema>
- <resheader name="resmimetype">
- <value>text/microsoft-resx</value>
- </resheader>
- <resheader name="version">
- <value>2.0</value>
- </resheader>
- <resheader name="reader">
- <value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral,
- PublicKeyToken=b77a5c561934e089</value>
- </resheader>
- <resheader name="writer">
- <value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral,
- PublicKeyToken=b77a5c561934e089</value>
- </resheader>
- <assembly alias="System.Windows.Forms" name="System.Windows.Forms, Version=4.0.0.0, Culture=neutral,
- PublicKeyToken=b77a5c561934e089" />
- <data name="110" xml:space="preserve">
- <value>Qt Visual Studio Tools</value>
- </data>
- <data name="112" xml:space="preserve">
- <value>The Qt Visual Studio Tools allow developers to use the standard development environment without having to worry about any Qt-related build steps or tools.</value>
- </data>
- <data name="400" type="System.Resources.ResXFileRef, System.Windows.Forms">
- <value>Resources\qt.ico;System.Drawing.Icon, System.Drawing, Version=4.0.0.0, Culture=neutral,
- PublicKeyToken=b03f5f7f11d50a3a</value>
- </data>
-</root>
diff --git a/Qt4VS2003/Qt4VSAddin/VSQtSettings.cs b/Qt4VS2003/Qt4VSAddin/VSQtSettings.cs
deleted file mode 100644
index 76df9f79..00000000
--- a/Qt4VS2003/Qt4VSAddin/VSQtSettings.cs
+++ /dev/null
@@ -1,245 +0,0 @@
-/****************************************************************************
-**
-** Copyright (C) 2016 The Qt Company Ltd.
-** Contact: https://www.qt.io/licensing/
-**
-** This file is part of the Qt VS Add-in.
-**
-** $QT_BEGIN_LICENSE:GPL-EXCEPT$
-** Commercial License Usage
-** Licensees holding valid commercial Qt licenses may use this file in
-** accordance with the commercial license agreement provided with the
-** Software or, alternatively, in accordance with the terms contained in
-** a written agreement between you and The Qt Company. For licensing terms
-** and conditions see https://www.qt.io/terms-conditions. For further
-** information use the contact form at https://www.qt.io/contact-us.
-**
-** GNU General Public License Usage
-** Alternatively, this file may be used under the terms of the GNU
-** General Public License version 3 as published by the Free Software
-** Foundation with exceptions as appearing in the file LICENSE.GPL3-EXCEPT
-** included in the packaging of this file. Please review the following
-** information to ensure the GNU General Public License requirements will
-** be met: https://www.gnu.org/licenses/gpl-3.0.html.
-**
-** $QT_END_LICENSE$
-**
-****************************************************************************/
-
-using System;
-
-using Digia.Qt5ProjectLib;
-using System.ComponentModel;
-
-namespace Qt5VSAddin
-{
- public class VSQtSettings
- {
-
- public VSQtSettings()
- {
- newMocDir = QtVSIPSettings.GetMocDirectory();
- newMocOptions = QtVSIPSettings.GetMocOptions();
- newRccDir = QtVSIPSettings.GetRccDirectory();
- newUicDir = QtVSIPSettings.GetUicDirectory();
- newLUpdateOnBuild = QtVSIPSettings.GetLUpdateOnBuild();
- newLUpdateOptions = QtVSIPSettings.GetLUpdateOptions();
- newLReleaseOptions = QtVSIPSettings.GetLReleaseOptions();
- newAskBeforeCheckoutFile = QtVSIPSettings.GetAskBeforeCheckoutFile();
- newDisableCheckoutFiles = QtVSIPSettings.GetDisableCheckoutFiles();
- newDisableAutoMOCStepsUpdate = QtVSIPSettings.GetDisableAutoMocStepsUpdate();
- }
-
- private string newMocDir = null;
- private string newMocOptions = null;
- private string newRccDir = null;
- private string newUicDir = null;
- private bool newLUpdateOnBuild = false;
- private string newLUpdateOptions = null;
- private string newLReleaseOptions = null;
- private bool newAskBeforeCheckoutFile = true;
- private bool newDisableCheckoutFiles = true;
- private bool newDisableAutoMOCStepsUpdate = false;
-
- public void SaveSettings()
- {
- QtVSIPSettings.SaveMocDirectory(newMocDir);
- QtVSIPSettings.SaveMocOptions(newMocOptions);
- QtVSIPSettings.SaveUicDirectory(newUicDir);
- QtVSIPSettings.SaveRccDirectory(newRccDir);
- QtVSIPSettings.SaveLUpdateOnBuild(newLUpdateOnBuild);
- QtVSIPSettings.SaveLUpdateOptions(newLUpdateOptions);
- QtVSIPSettings.SaveLReleaseOptions(newLReleaseOptions);
- QtVSIPSettings.SaveAskBeforeCheckoutFile(newAskBeforeCheckoutFile);
- QtVSIPSettings.SaveDisableCheckoutFiles(newDisableCheckoutFiles);
- QtVSIPSettings.SaveDisableAutoMocStepsUpdate(newDisableAutoMOCStepsUpdate);
- }
-
- public string MocDirectory
- {
- get
- {
- return newMocDir;
- }
- set
- {
- string tmp = HelperFunctions.NormalizeRelativeFilePath(value);
- if (tmp.ToLower() == newMocDir.ToLower())
- return;
-
- if (ContainsInvalidVariable(tmp))
- Messages.DisplayErrorMessage(SR.GetString("OnlyVariableInDir"));
- else
- newMocDir = tmp;
- }
- }
-
- public string MocOptions
- {
- get
- {
- return newMocOptions;
- }
-
- set
- {
- newMocOptions = value;
- }
- }
-
- public string UicDirectory
- {
- get
- {
- return newUicDir;
- }
- set
- {
- string tmp = HelperFunctions.NormalizeRelativeFilePath(value);
- if (tmp.ToLower() == newUicDir.ToLower())
- return;
-
- if (ContainsInvalidVariable(tmp))
- Messages.DisplayErrorMessage(SR.GetString("OnlyVariableInDir"));
- else
- newUicDir = tmp;
- }
- }
-
- public string RccDirectory
- {
- get
- {
- return newRccDir;
- }
- set
- {
- string tmp = HelperFunctions.NormalizeRelativeFilePath(value);
- if (tmp.ToLower() == newRccDir.ToLower())
- return;
-
- if (ContainsInvalidVariable(tmp))
- Messages.DisplayErrorMessage(SR.GetString("OnlyVariableInDir"));
- else
- newRccDir = tmp;
- }
- }
-
- public bool lupdateOnBuild
- {
- get
- {
- return newLUpdateOnBuild;
- }
- set
- {
- newLUpdateOnBuild = value;
- }
- }
-
- public string LUpdateOptions
- {
- get
- {
- return newLUpdateOptions;
- }
-
- set
- {
- newLUpdateOptions = value;
- }
- }
-
- public string LReleaseOptions
- {
- get
- {
- return newLReleaseOptions;
- }
-
- set
- {
- newLReleaseOptions = value;
- }
- }
-
- [DisplayName("Ask before checkout files")]
- public bool ask_before_checkout_file
- {
- get
- {
- return newAskBeforeCheckoutFile;
- }
- set
- {
- newAskBeforeCheckoutFile = value;
- }
- }
-
- [DisplayName("Disable checkout files")]
- public bool disable_checkout_files
- {
- get
- {
- return newDisableCheckoutFiles;
- }
-
- set
- {
- newDisableCheckoutFiles = value;
- }
- }
-
- [DisplayName("Disable auto MOC steps update")]
- public bool disable_auto_MOC_steps_update
- {
- get
- {
- return newDisableAutoMOCStepsUpdate;
- }
-
- set
- {
- newDisableAutoMOCStepsUpdate = value;
- }
- }
-
- private static bool ContainsInvalidVariable(string directory)
- {
- if (String.IsNullOrEmpty(directory))
- return false;
-
- string pattern = "\\$\\([^\\)]+\\)";
- System.Text.RegularExpressions.Regex regExp = new System.Text.RegularExpressions.Regex(pattern);
- System.Text.RegularExpressions.MatchCollection matchList = regExp.Matches(directory);
- for (int i = 0; i < matchList.Count; i++)
- {
- if (matchList[i].ToString() != "$(ConfigurationName)"
- && matchList[i].ToString() != "$(PlatformName)")
- return true;
- }
- return false;
- }
- }
-}
-
diff --git a/Qt4VS2003/Qt4VSAddin/Vsix.cs b/Qt4VS2003/Qt4VSAddin/Vsix.cs
deleted file mode 100644
index bf137ee6..00000000
--- a/Qt4VS2003/Qt4VSAddin/Vsix.cs
+++ /dev/null
@@ -1,211 +0,0 @@
-/****************************************************************************
-**
-** Copyright (C) 2016 The Qt Company Ltd.
-** Contact: https://www.qt.io/licensing/
-**
-** This file is part of the Qt VS Add-in.
-**
-** $QT_BEGIN_LICENSE:GPL-EXCEPT$
-** Commercial License Usage
-** Licensees holding valid commercial Qt licenses may use this file in
-** accordance with the commercial license agreement provided with the
-** Software or, alternatively, in accordance with the terms contained in
-** a written agreement between you and The Qt Company. For licensing terms
-** and conditions see https://www.qt.io/terms-conditions. For further
-** information use the contact form at https://www.qt.io/contact-us.
-**
-** GNU General Public License Usage
-** Alternatively, this file may be used under the terms of the GNU
-** General Public License version 3 as published by the Free Software
-** Foundation with exceptions as appearing in the file LICENSE.GPL3-EXCEPT
-** included in the packaging of this file. Please review the following
-** information to ensure the GNU General Public License requirements will
-** be met: https://www.gnu.org/licenses/gpl-3.0.html.
-**
-** $QT_END_LICENSE$
-**
-****************************************************************************/
-
-using Digia.Qt5ProjectLib;
-using EnvDTE;
-using Microsoft.VisualStudio.Shell;
-using System;
-using System.Diagnostics.CodeAnalysis;
-using System.IO;
-using System.Runtime.InteropServices;
-using System.Windows.Forms;
-
-namespace Qt5VSAddin
-{
- [Guid(Vsix.PackageGuid)]
- [PackageRegistration(UseManagedResourcesOnly = true)]
- [SuppressMessage("StyleCop.CSharp.DocumentationRules",
- "SA1650:ElementDocumentationMustBeSpelledCorrectly",
- Justification = "pkgdef, VS and vsixmanifest are valid VS terms")]
- [InstalledProductRegistration("#110", "#112", "1.0.0", IconResourceID = 400)]
- [ProvideMenuResource("Menus.ctmenu", 1)]
- [ProvideAutoLoad(Microsoft.VisualStudio.Shell.Interop.UIContextGuids.SolutionExists)]
- public sealed class Vsix : Package
- {
- #region public
-
- /// <summary>
- /// The package GUID string.
- /// </summary>
- public const string PackageGuid = "15021976-647e-4876-9040-2507afde45d2";
-
- /// <summary>
- /// Gets the Visual Studio application object that hosts the package.
- /// </summary>
- public DTE Dte {
- get;
- private set;
- }
-
- public ExtLoader ExtLoader {
- get;
- private set;
- }
-
- /// <summary>
- /// Gets the installation path of the package.
- /// </summary>
- public string PkgInstallPath {
- get;
- private set;
- }
-
- /// <summary>
- /// Gets the instance of the package.
- /// </summary>
- public static Vsix Instance {
- get;
- private set;
- }
-
- private string appWrapperPath = null;
- public string AppWrapperPath {
- get {
- if (appWrapperPath == null)
- appWrapperPath = locateHelperExecutable("qt5appwrapper.exe");
- return appWrapperPath;
- }
- }
-
- private string qmakeFileReaderPath = null;
- public string QMakeFileReaderPath {
- get {
- if (qmakeFileReaderPath == null)
- qmakeFileReaderPath = locateHelperExecutable("qmakefilereader.exe");
- return qmakeFileReaderPath;
- }
- }
-
- #endregion public
-
- #region protected
-
- /// <summary>
- /// Initialization of the package; this method is called right after the package is sited,
- /// so this is the place where you can put all the initialization code that rely on services
- /// provided by VisualStudio.
- /// </summary>
- protected override void Initialize()
- {
- Instance = this;
- base.Initialize();
-
- Dte = (this as IServiceProvider).GetService(typeof(DTE)) as DTE;
-
- // determine the package installation directory
- var uri = new Uri(System.Reflection.Assembly.GetExecutingAssembly().EscapedCodeBase);
- PkgInstallPath = Path.GetDirectoryName(Uri.UnescapeDataString(uri.AbsolutePath)) + @"\";
-
- QtVersionManager vm = QtVersionManager.The();
- string error = null;
- if (vm.HasInvalidVersions(out error))
- Messages.DisplayErrorMessage(error);
- eventHandler = new AddInEventHandler(Dte);
- ExtLoader = new ExtLoader();
-
- QtMainMenu.Initialize(this);
- QtSolutionContextMenu.Initialize(this);
- QtProjectContextMenu.Initialize(this);
- QtItemContextMenu.Initialize(this);
-
- try {
- UpdateDefaultEditors(Mode.Startup);
- } catch (System.Exception e) {
- MessageBox.Show(e.Message + "\r\n\r\nStacktrace:\r\n" + e.StackTrace);
- }
- }
-
- /// <summary>
- /// Called to ask the package if the shell can be closed.
- /// </summary>
- /// <param term='canClose'>Returns true if the shell can be closed, otherwise false.</param>
- /// <returns>
- /// Microsoft.VisualStudio.VSConstants.S_OK if the method succeeded, otherwise an error code.
- /// </returns>
- protected override int QueryClose(out bool canClose)
- {
- eventHandler.Disconnect();
- try {
- UpdateDefaultEditors(Mode.Shutdown);
- } catch (System.Exception e) {
- MessageBox.Show(e.Message + "\r\n\r\nStacktrace:\r\n" + e.StackTrace);
- }
- return base.QueryClose(out canClose);
- }
-
- #endregion protected
-
- #region private
-
- private enum Mode
- {
- Startup = 0,
- Shutdown
- }
-
- private AddInEventHandler eventHandler = null;
-
- private string locateHelperExecutable(string exeName)
- {
- string filePath = PkgInstallPath + exeName;
- if (!File.Exists(filePath)) {
- filePath = PkgInstallPath;
- if (filePath.EndsWith("\\"))
- filePath = filePath.Remove(filePath.Length - 1);
- int idx = filePath.LastIndexOf('\\');
- if (idx >= 0 && idx < filePath.Length - 1)
- filePath = filePath.Remove(idx + 1);
- filePath += exeName;
- if (!File.Exists(filePath))
- filePath = null;
- }
- return filePath;
- }
-
- /// <summary>
- /// This is to support VS2013, both VSIX and Qt4 or Qt5 Add-In installed. Default editor
- /// values in the registry are changed so that Qt4 or Qt5 Add-in values are default and
- /// Qt5 VSIX values are set only when the VSIX is loaded. On startup, Qt5 related registry
- /// values for *.qrc, *.ts and *.ui extensions are written, while on shutdown possible
- /// existing Add-in values are written back.
- /// </summary>
- private void UpdateDefaultEditors(Mode mode)
- {
- var qt5 = new Qt5DefaultEditors();
- if (mode == Mode.Shutdown) {
- qt5.WriteAddinRegistryValues();
- var qt4 = new Qt4DefaultEditors();
- qt4.WriteAddinRegistryValues();
- } else {
- qt5.WriteVsixRegistryValues();
- }
- }
-
- #endregion private
- }
-}
diff --git a/Qt4VS2003/Qt4VSAddin/preview.png b/Qt4VS2003/Qt4VSAddin/preview.png
deleted file mode 100644
index 7797e6e7..00000000
--- a/Qt4VS2003/Qt4VSAddin/preview.png
+++ /dev/null
Binary files differ
diff --git a/Qt4VS2003/Qt4VSAddin/qt.ico b/Qt4VS2003/Qt4VSAddin/qt.ico
deleted file mode 100644
index 1c4fb80d..00000000
--- a/Qt4VS2003/Qt4VSAddin/qt.ico
+++ /dev/null
Binary files differ
diff --git a/Qt4VS2003/Qt4VSAddin/source.extension.vsixmanifest b/Qt4VS2003/Qt4VSAddin/source.extension.vsixmanifest
deleted file mode 100644
index 5614cf0e..00000000
--- a/Qt4VS2003/Qt4VSAddin/source.extension.vsixmanifest
+++ /dev/null
@@ -1,54 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!--
- *****************************************************************************
- **
- ** Copyright (C) 2016 The Qt Company Ltd.
- ** Contact: https://www.qt.io/licensing/
- **
- ** This file is part of the Qt VS Add-in.
- **
- ** $QT_BEGIN_LICENSE:GPL-EXCEPT$
- ** Commercial License Usage
- ** Licensees holding valid commercial Qt licenses may use this file in
- ** accordance with the commercial license agreement provided with the
- ** Software or, alternatively, in accordance with the terms contained in
- ** a written agreement between you and The Qt Company. For licensing terms
- ** and conditions see https://www.qt.io/terms-conditions. For further
- ** information use the contact form at https://www.qt.io/contact-us.
- **
- ** GNU General Public License Usage
- ** Alternatively, this file may be used under the terms of the GNU
- ** General Public License version 3 as published by the Free Software
- ** Foundation with exceptions as appearing in the file LICENSE.GPL3-EXCEPT
- ** included in the packaging of this file. Please review the following
- ** information to ensure the GNU General Public License requirements will
- ** be met: https://www.gnu.org/licenses/gpl-3.0.html.
- **
- ** $QT_END_LICENSE$
- **
- *****************************************************************************
--->
-
-<PackageManifest Version="2.0.0" xmlns="http://schemas.microsoft.com/developer/vsx-schema/2011"
- xmlns:d="http://schemas.microsoft.com/developer/vsx-schema-design/2011">
- <Metadata>
- <Identity Id="QtVsTools.15021976-cd02-4fd0-89bd-e36f85abe16a" Version="1.0.0" Language="en-US"
- Publisher="The Qt Company Ltd." />
- <DisplayName>Qt Visual Studio Tools</DisplayName>
- <Description xml:space="preserve">The Qt Visual Studio Tools allow developers to use the standard development environment without having to worry about any Qt-related build steps or tools.</Description>
- <MoreInfo>http://www.qt.io</MoreInfo>
- <Icon>qt.ico</Icon>
- <PreviewImage>preview.png</PreviewImage>
- </Metadata>
- <Installation>
- <InstallationTarget Id="Microsoft.VisualStudio.Pro" Version="[12.0,)" />
- <InstallationTarget Id="Microsoft.VisualStudio.Community" Version="[12.0,)" />
- </Installation>
- <Dependencies>
- <Dependency Id="Microsoft.Framework.NDP" DisplayName="Microsoft .NET Framework" d:Source="Manual" Version="[4.5,)" />
- </Dependencies>
- <Assets>
- <Asset Type="Microsoft.VisualStudio.VsPackage" d:Source="Project" d:ProjectName="%CurrentProject%"
- Path="|%CurrentProject%;PkgdefProjectOutputGroup|" />
- </Assets>
-</PackageManifest>
diff --git a/Qt4VS2003/Qt5VSAddin2015.sln b/Qt4VS2003/Qt5VSAddin2015.sln
deleted file mode 100644
index c4d396f2..00000000
--- a/Qt4VS2003/Qt5VSAddin2015.sln
+++ /dev/null
@@ -1,34 +0,0 @@
-
-Microsoft Visual Studio Solution File, Format Version 12.00
-# Visual Studio 14
-VisualStudioVersion = 14.0.25123.0
-MinimumVisualStudioVersion = 10.0.40219.1
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Qt5VSAddin2015", "Qt4VSAddin\Qt5VSAddin2015.csproj", "{428368CF-0EBE-47A3-87B0-DFB20CE81608}"
-EndProject
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Qt5ProjectEngineLib2015", "QtProjectEngine\Qt5ProjectEngineLib2015.csproj", "{ACDEBCAC-B50B-4045-A769-D222F0195B0C}"
-EndProject
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Qt5ProjectLib2015", "QtProjectLib\Qt5ProjectLib2015.csproj", "{2785D082-CE93-4097-BF45-072083A53261}"
-EndProject
-Global
- GlobalSection(SolutionConfigurationPlatforms) = preSolution
- Debug|Any CPU = Debug|Any CPU
- Release|Any CPU = Release|Any CPU
- EndGlobalSection
- GlobalSection(ProjectConfigurationPlatforms) = postSolution
- {428368CF-0EBE-47A3-87B0-DFB20CE81608}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {428368CF-0EBE-47A3-87B0-DFB20CE81608}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {428368CF-0EBE-47A3-87B0-DFB20CE81608}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {428368CF-0EBE-47A3-87B0-DFB20CE81608}.Release|Any CPU.Build.0 = Release|Any CPU
- {ACDEBCAC-B50B-4045-A769-D222F0195B0C}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {ACDEBCAC-B50B-4045-A769-D222F0195B0C}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {ACDEBCAC-B50B-4045-A769-D222F0195B0C}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {ACDEBCAC-B50B-4045-A769-D222F0195B0C}.Release|Any CPU.Build.0 = Release|Any CPU
- {2785D082-CE93-4097-BF45-072083A53261}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {2785D082-CE93-4097-BF45-072083A53261}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {2785D082-CE93-4097-BF45-072083A53261}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {2785D082-CE93-4097-BF45-072083A53261}.Release|Any CPU.Build.0 = Release|Any CPU
- EndGlobalSection
- GlobalSection(SolutionProperties) = preSolution
- HideSolutionNode = FALSE
- EndGlobalSection
-EndGlobal
diff --git a/Qt4VS2003/QtProjectEngine/AssemblyInfo.cs b/Qt4VS2003/QtProjectEngine/AssemblyInfo.cs
deleted file mode 100644
index 6748fbe2..00000000
--- a/Qt4VS2003/QtProjectEngine/AssemblyInfo.cs
+++ /dev/null
@@ -1,84 +0,0 @@
-/****************************************************************************
-**
-** Copyright (C) 2016 The Qt Company Ltd.
-** Contact: https://www.qt.io/licensing/
-**
-** This file is part of the Qt VS Add-in.
-**
-** $QT_BEGIN_LICENSE:GPL-EXCEPT$
-** Commercial License Usage
-** Licensees holding valid commercial Qt licenses may use this file in
-** accordance with the commercial license agreement provided with the
-** Software or, alternatively, in accordance with the terms contained in
-** a written agreement between you and The Qt Company. For licensing terms
-** and conditions see https://www.qt.io/terms-conditions. For further
-** information use the contact form at https://www.qt.io/contact-us.
-**
-** GNU General Public License Usage
-** Alternatively, this file may be used under the terms of the GNU
-** General Public License version 3 as published by the Free Software
-** Foundation with exceptions as appearing in the file LICENSE.GPL3-EXCEPT
-** included in the packaging of this file. Please review the following
-** information to ensure the GNU General Public License requirements will
-** be met: https://www.gnu.org/licenses/gpl-3.0.html.
-**
-** $QT_END_LICENSE$
-**
-****************************************************************************/
-
-using System.Reflection;
-
-//
-// General Information about an assembly is controlled through the following
-// set of attributes. Change these attribute values to modify the information
-// associated with an assembly.
-//
-[assembly: AssemblyTitle("Qt5ProjectEngine")]
-[assembly: AssemblyDescription("")]
-[assembly: AssemblyConfiguration("")]
-[assembly: AssemblyCompany("The Qt Company Ltd")]
-[assembly: AssemblyProduct("")]
-[assembly: AssemblyCopyright("Copyright (C) 2016 The Qt Company Ltd.")]
-[assembly: AssemblyTrademark("The Qt Company Ltd., Qt and their respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.")]
-[assembly: AssemblyCulture("")]
-
-//
-// Version information for an assembly consists of the following four values:
-//
-// Major Version
-// Minor Version
-// Build Number
-// Revision
-//
-// You can specify all the values or you can default the Revision and Build Numbers
-// by using the '*' as shown below:
-
-[assembly: AssemblyVersion("1.0.*")]
-
-//
-// In order to sign your assembly you must specify a key to use. Refer to the
-// Microsoft .NET Framework documentation for more information on assembly signing.
-//
-// Use the attributes below to control which key is used for signing.
-//
-// Notes:
-// (*) If no key is specified, the assembly is not signed.
-// (*) KeyName refers to a key that has been installed in the Crypto Service
-// Provider (CSP) on your machine. KeyFile refers to a file which contains
-// a key.
-// (*) If the KeyFile and the KeyName values are both specified, the
-// following processing occurs:
-// (1) If the KeyName can be found in the CSP, that key is used.
-// (2) If the KeyName does not exist and the KeyFile does exist, the key
-// in the KeyFile is installed into the CSP and used.
-// (*) In order to create a KeyFile, you can use the sn.exe (Strong Name) utility.
-// When specifying the KeyFile, the location of the KeyFile should be
-// relative to the project output directory which is
-// %Project Directory%\obj\<configuration>. For example, if your KeyFile is
-// located in the project directory, you would specify the AssemblyKeyFile
-// attribute as [assembly: AssemblyKeyFile("..\\..\\mykey.snk")]
-// (*) Delay Signing is an advanced option - see the Microsoft .NET Framework
-// documentation for more information on this.
-//
-[assembly: AssemblyDelaySign(false)]
-[assembly: AssemblyKeyName("")]
diff --git a/Qt4VS2003/QtProjectEngine/Qt5ProjectEngineLib2015.csproj b/Qt4VS2003/QtProjectEngine/Qt5ProjectEngineLib2015.csproj
deleted file mode 100644
index 7536b68c..00000000
--- a/Qt4VS2003/QtProjectEngine/Qt5ProjectEngineLib2015.csproj
+++ /dev/null
@@ -1,146 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="14.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
- <PropertyGroup>
- <ProjectType>Local</ProjectType>
- <ProductVersion>9.0.30729</ProductVersion>
- <SchemaVersion>2.0</SchemaVersion>
- <ProjectGuid>{ACDEBCAC-B50B-4045-A769-D222F0195B0C}</ProjectGuid>
- <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
- <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
- <ApplicationIcon>
- </ApplicationIcon>
- <AssemblyKeyContainerName>
- </AssemblyKeyContainerName>
- <AssemblyName>Qt5ProjectEngineLib</AssemblyName>
- <DefaultClientScript>JScript</DefaultClientScript>
- <DefaultHTMLPageLayout>Grid</DefaultHTMLPageLayout>
- <DefaultTargetSchema>IE50</DefaultTargetSchema>
- <DelaySign>false</DelaySign>
- <OutputType>Library</OutputType>
- <RootNamespace>Digia.Qt5ProjectEngineLib</RootNamespace>
- <RunPostBuildEvent>OnBuildSuccess</RunPostBuildEvent>
- <StartupObject>
- </StartupObject>
- <FileUpgradeFlags>
- </FileUpgradeFlags>
- <UpgradeBackupLocation>
- </UpgradeBackupLocation>
- <SignAssembly>false</SignAssembly>
- <IsWebBootstrapper>false</IsWebBootstrapper>
- <TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
- <OldToolsVersion>3.5</OldToolsVersion>
- <PublishUrl>publish\</PublishUrl>
- <Install>true</Install>
- <InstallFrom>Disk</InstallFrom>
- <UpdateEnabled>false</UpdateEnabled>
- <UpdateMode>Foreground</UpdateMode>
- <UpdateInterval>7</UpdateInterval>
- <UpdateIntervalUnits>Days</UpdateIntervalUnits>
- <UpdatePeriodically>false</UpdatePeriodically>
- <UpdateRequired>false</UpdateRequired>
- <MapFileExtensions>true</MapFileExtensions>
- <ApplicationRevision>0</ApplicationRevision>
- <ApplicationVersion>1.0.0.%2a</ApplicationVersion>
- <UseApplicationTrust>false</UseApplicationTrust>
- <BootstrapperEnabled>true</BootstrapperEnabled>
- <TargetFrameworkProfile />
- </PropertyGroup>
- <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
- <OutputPath>bin\Debug\</OutputPath>
- <AllowUnsafeBlocks>false</AllowUnsafeBlocks>
- <BaseAddress>285212672</BaseAddress>
- <CheckForOverflowUnderflow>false</CheckForOverflowUnderflow>
- <ConfigurationOverrideFile>
- </ConfigurationOverrideFile>
- <DefineConstants>TRACE;DEBUG;VS2015</DefineConstants>
- <DocumentationFile>
- </DocumentationFile>
- <DebugSymbols>true</DebugSymbols>
- <FileAlignment>4096</FileAlignment>
- <NoStdLib>false</NoStdLib>
- <NoWarn>
- </NoWarn>
- <Optimize>false</Optimize>
- <RegisterForComInterop>true</RegisterForComInterop>
- <RemoveIntegerChecks>false</RemoveIntegerChecks>
- <TreatWarningsAsErrors>false</TreatWarningsAsErrors>
- <WarningLevel>4</WarningLevel>
- <CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
- </PropertyGroup>
- <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
- <OutputPath>bin\Release\</OutputPath>
- <AllowUnsafeBlocks>false</AllowUnsafeBlocks>
- <BaseAddress>285212672</BaseAddress>
- <CheckForOverflowUnderflow>false</CheckForOverflowUnderflow>
- <ConfigurationOverrideFile>
- </ConfigurationOverrideFile>
- <DefineConstants>TRACE;VS2015</DefineConstants>
- <DocumentationFile>
- </DocumentationFile>
- <DebugSymbols>false</DebugSymbols>
- <FileAlignment>4096</FileAlignment>
- <NoStdLib>false</NoStdLib>
- <NoWarn>
- </NoWarn>
- <Optimize>true</Optimize>
- <RegisterForComInterop>true</RegisterForComInterop>
- <RemoveIntegerChecks>false</RemoveIntegerChecks>
- <TreatWarningsAsErrors>false</TreatWarningsAsErrors>
- <WarningLevel>4</WarningLevel>
- <PlatformTarget>AnyCPU</PlatformTarget>
- <CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
- </PropertyGroup>
- <ItemGroup>
- <Compile Include="AssemblyInfo.cs">
- <SubType>Code</SubType>
- </Compile>
- <Compile Include="QtProjectEngine.cs">
- <SubType>Code</SubType>
- </Compile>
- </ItemGroup>
- <ItemGroup>
- <BootstrapperPackage Include=".NETFramework,Version=v4.0">
- <Visible>False</Visible>
- <ProductName>Microsoft .NET Framework 4 %28x86 and x64%29</ProductName>
- <Install>true</Install>
- </BootstrapperPackage>
- <BootstrapperPackage Include="Microsoft.Net.Client.3.5">
- <Visible>False</Visible>
- <ProductName>.NET Framework 3.5 SP1 Client Profile</ProductName>
- <Install>false</Install>
- </BootstrapperPackage>
- <BootstrapperPackage Include="Microsoft.Net.Framework.3.5.SP1">
- <Visible>False</Visible>
- <ProductName>.NET Framework 3.5 SP1</ProductName>
- <Install>false</Install>
- </BootstrapperPackage>
- <BootstrapperPackage Include="Microsoft.Windows.Installer.3.1">
- <Visible>False</Visible>
- <ProductName>Windows Installer 3.1</ProductName>
- <Install>true</Install>
- </BootstrapperPackage>
- </ItemGroup>
- <ItemGroup>
- <Reference Include="EnvDTE, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
- <EmbedInteropTypes>False</EmbedInteropTypes>
- </Reference>
- <Reference Include="Microsoft.VisualStudio.VCProjectEngine, Version=14.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
- <EmbedInteropTypes>True</EmbedInteropTypes>
- </Reference>
- <Reference Include="System" />
- <Reference Include="System.Windows.Forms" />
- </ItemGroup>
- <ItemGroup>
- <ProjectReference Include="..\QtProjectLib\Qt5ProjectLib2015.csproj">
- <Project>{2785d082-ce93-4097-bf45-072083a53261}</Project>
- <Name>Qt5ProjectLib2015</Name>
- </ProjectReference>
- </ItemGroup>
- <Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
- <PropertyGroup>
- <PreBuildEvent>if exist "$(TargetPath).locked" del "$(TargetPath).locked"
-if exist "$(TargetPath)" if not exist "$(TargetPath).locked" move "$(TargetPath)" "$(TargetPath).locked"</PreBuildEvent>
- <PostBuildEvent>
- </PostBuildEvent>
- </PropertyGroup>
-</Project>
diff --git a/Qt4VS2003/QtProjectEngine/QtProjectEngine.cs b/Qt4VS2003/QtProjectEngine/QtProjectEngine.cs
deleted file mode 100644
index 8fb059a7..00000000
--- a/Qt4VS2003/QtProjectEngine/QtProjectEngine.cs
+++ /dev/null
@@ -1,472 +0,0 @@
-/****************************************************************************
-**
-** Copyright (C) 2016 The Qt Company Ltd.
-** Contact: https://www.qt.io/licensing/
-**
-** This file is part of the Qt VS Add-in.
-**
-** $QT_BEGIN_LICENSE:GPL-EXCEPT$
-** Commercial License Usage
-** Licensees holding valid commercial Qt licenses may use this file in
-** accordance with the commercial license agreement provided with the
-** Software or, alternatively, in accordance with the terms contained in
-** a written agreement between you and The Qt Company. For licensing terms
-** and conditions see https://www.qt.io/terms-conditions. For further
-** information use the contact form at https://www.qt.io/contact-us.
-**
-** GNU General Public License Usage
-** Alternatively, this file may be used under the terms of the GNU
-** General Public License version 3 as published by the Free Software
-** Foundation with exceptions as appearing in the file LICENSE.GPL3-EXCEPT
-** included in the packaging of this file. Please review the following
-** information to ensure the GNU General Public License requirements will
-** be met: https://www.gnu.org/licenses/gpl-3.0.html.
-**
-** $QT_END_LICENSE$
-**
-****************************************************************************/
-
-namespace Digia.Qt5ProjectLib
-{
- using System;
- using System.Collections;
- using System.Runtime.InteropServices;
- using System.Windows.Forms;
- using Microsoft.VisualStudio.VCProjectEngine;
- using EnvDTE;
-
-#if VS2013
- [ProgId("Digia.Qt5ProjectEngine120"), GuidAttribute("95821D7C-037F-451C-AEE4-3692748F6985")]
-#elif VS2015
- [ProgId("Digia.Qt5ProjectEngine140"), GuidAttribute("A497F79F-D264-491F-A8C9-6CEEF8BE01CE")]
-#else
-#error GUID must be specified for this Visual Studio version!
-#endif
- public class QtProjectEngine
- {
- private EnvDTE.Project pro = null;
- private QtProject qtPro = null;
- private const string commonError =
- "You have to call CreateXProject(...) or UseSelectedProject(...) before calling this function";
-
- public QtProjectEngine()
- {
- // does nothing, for now
- }
-
- #region helper functions
-
- private uint GetBuildConfigFromName(string configName)
- {
- if (configName == "RELEASE")
- return BuildConfig.Release;
- else if (configName == "DEBUG")
- return BuildConfig.Debug;
- else if (configName == "BOTH")
- return BuildConfig.Both;
- return BuildConfig.Both; // fall back to both
- }
-
- private FakeFilter GetFakeFilterFromName(string filterName)
- {
- if (filterName == "QT_SOURCE_FILTER")
- return Filters.SourceFiles();
- else if (filterName == "QT_HEADER_FILTER")
- return Filters.HeaderFiles();
- else if (filterName == "QT_FORM_FILTER")
- return Filters.FormFiles();
- else if (filterName == "QT_RESOURCE_FILTER")
- return Filters.ResourceFiles();
- else if (filterName == "QT_TRANSLATION_FILTER")
- return Filters.TranslationFiles();
- else if (filterName == "QT_OTHER_FILTER")
- return Filters.OtherFiles();
-
- return null;
- }
-
- private QtModule GetQtModuleFromName(string module)
- {
- return QtModules.Instance.ModuleIdByName(module);
- }
-
- private void CreateProject(EnvDTE.DTE app, string proName,
- string proPath, string slnName, bool exclusive, FakeFilter[] filters,
- string qtVersion, string platformName)
- {
- QtVersionManager versionManager = QtVersionManager.The();
- if (qtVersion == null)
- qtVersion = versionManager.GetDefaultVersion();
-
- if (qtVersion == null)
- throw new QtVSException("Unable to find a Qt build!\r\n"
- + "To solve this problem specify a Qt build");
-
- string solutionPath = "";
- Solution newSolution = app.Solution;
-
- if (platformName == null)
- {
- string tmpQtVersion = versionManager.GetSolutionQtVersion(newSolution);
- qtVersion = tmpQtVersion != null ? tmpQtVersion : qtVersion;
- try
- {
- VersionInformation vi = new VersionInformation(versionManager.GetInstallPath(qtVersion));
- if (vi.is64Bit())
- platformName = "x64";
- else
- platformName = "Win32";
- }
- catch (Exception e)
- {
- Messages.DisplayErrorMessage(e);
- }
- }
-
- if (!string.IsNullOrEmpty(slnName) && (exclusive == true))
- {
- solutionPath = proPath.Substring(0, proPath.LastIndexOf("\\"));
- newSolution.Create(solutionPath, slnName);
- }
-
- System.IO.Directory.CreateDirectory(proPath);
- string templatePath = HelperFunctions.CreateProjectTemplateFile(filters, true, platformName);
-
- pro = newSolution.AddFromTemplate(templatePath, proPath, proName, exclusive);
-
- HelperFunctions.ReleaseProjectTemplateFile();
-
- qtPro = QtProject.Create(pro);
- QtVSIPSettings.SaveUicDirectory(pro, null);
- QtVSIPSettings.SaveMocDirectory(pro, null);
- QtVSIPSettings.SaveMocOptions(pro, null);
- QtVSIPSettings.SaveRccDirectory(pro, null);
- QtVSIPSettings.SaveLUpdateOnBuild(pro);
- QtVSIPSettings.SaveLUpdateOptions(pro, null);
- QtVSIPSettings.SaveLReleaseOptions(pro, null);
-
- if (platformName != "Win32")
- qtPro.SelectSolutionPlatform(platformName);
- versionManager.SaveProjectQtVersion(pro, qtVersion);
-
- qtPro.MarkAsQtProject("v1.0");
- qtPro.AddDirectories();
-
- if (!string.IsNullOrEmpty(slnName) && (exclusive == true))
- newSolution.SaveAs(solutionPath + "\\" + slnName + ".sln");
- }
- #endregion
-
- #region functions for creating projects
- /// <summary>
- /// Creates an initializes a new qt library project. Call this function before calling other functions in this class.
- /// </summary>
- /// <param name="app">The DTE object</param>
- /// <param name="proName">Name of the project to create</param>
- /// <param name="proPath">The path to the new project</param>
- /// <param name="slnName">Name of solution to create (If this is empty it will create a solution with
- /// the same name as the project)</param>
- /// <param name="exclusive">true if the project should be opened in a new solution</param>
- /// <param name="staticLib">true if the project should be created as a static library</param>
- public void CreateLibraryProject(EnvDTE.DTE app, string proName,
- string proPath, string slnName, bool exclusive, bool staticLib, bool usePrecompiledHeaders)
- {
- FakeFilter[] filters = {Filters.SourceFiles(), Filters.HeaderFiles(),
- Filters.FormFiles(), Filters.ResourceFiles(), Filters.GeneratedFiles()};
- uint projType;
- if (staticLib)
- projType = TemplateType.StaticLibrary | TemplateType.GUISystem;
- else
- projType = TemplateType.DynamicLibrary | TemplateType.GUISystem;
-
- CreateProject(app, proName, proPath, slnName, exclusive, filters, null, null);
- qtPro.WriteProjectBasicConfigurations(projType, usePrecompiledHeaders);
- qtPro.AddModule(QtModule.Main);
- }
-
- /// <summary>
- /// Creates an initializes a new qt console application project. Call this function before calling other functions in this class.
- /// </summary>
- /// <param name="app">The DTE object</param>
- /// <param name="proName">Name of the project to create</param>
- /// <param name="proPath">The path to the new project</param>
- /// <param name="slnName">Name of solution to create (If this is empty it will create a solution with
- /// the same name as the project)</param>
- /// <param name="exclusive">true if the project should be opened in a new solution</param>
- public void CreateConsoleProject(EnvDTE.DTE app, string proName,
- string proPath, string slnName, bool exclusive, bool usePrecompiledHeaders)
- {
- FakeFilter[] filters = {Filters.SourceFiles(), Filters.HeaderFiles(),
- Filters.ResourceFiles(), Filters.GeneratedFiles()};
- const uint projType = TemplateType.Application | TemplateType.ConsoleSystem;
- CreateProject(app, proName, proPath, slnName, exclusive, filters, null, null);
- qtPro.WriteProjectBasicConfigurations(projType, usePrecompiledHeaders);
- qtPro.AddModule(QtModule.Main);
- }
-
- /// <summary>
- /// Creates an initializes a new qt application project. Call this function before calling other functions in this class.
- /// </summary>
- /// <param name="app">The DTE object</param>
- /// <param name="proName">Name of the project to create</param>
- /// <param name="proPath">The path to the new project</param>
- /// <param name="slnName">Name of solution to create (If this is empty it will create a solution with
- /// the same name as the project)</param>
- /// <param name="exclusive">true if the project should be opened in a new solution</param>
- public void CreateApplicationProject(EnvDTE.DTE app, string proName,
- string proPath, string slnName, bool exclusive, bool usePrecompiledHeaders)
- {
- FakeFilter[] filters = {Filters.SourceFiles(), Filters.HeaderFiles(),
- Filters.FormFiles(), Filters.ResourceFiles(), Filters.GeneratedFiles()};
- const uint projType = TemplateType.Application | TemplateType.GUISystem;
- CreateProject(app, proName, proPath, slnName, exclusive, filters, null, null);
- qtPro.WriteProjectBasicConfigurations(projType, usePrecompiledHeaders);
- qtPro.AddModule(QtModule.Main);
- }
-
- public void CreatePluginProject(EnvDTE.DTE app, string proName,
- string proPath, string slnName, bool exclusive, bool usePrecompiledHeaders)
- {
- FakeFilter[] filters = {Filters.SourceFiles(), Filters.HeaderFiles(), Filters.GeneratedFiles()};
- const uint projType = TemplateType.PluginProject | TemplateType.DynamicLibrary | TemplateType.GUISystem;
- CreateProject(app, proName, proPath, slnName, exclusive, filters, null, null);
- qtPro.WriteProjectBasicConfigurations(projType, usePrecompiledHeaders);
- qtPro.AddModule(QtModule.Main);
- qtPro.AddModule(QtModule.Designer);
- }
- #endregion
-
- /// <summary>
- /// Adds a file to the project
- /// </summary>
- /// <param name="file">file (result from CopyFileToProjectFolder)</param>
- /// <param name="filter">the filter
- /// can be one of the following: QT_SOURCE_FILTER, QT_HEADER_FILTER,
- /// QT_FORM_FILTER, QT_RESOURCE_FILTER, QT_TRANSLATION_FILTER, QT_OTHER_FILTER</param>
- public VCFile AddFileToProject(string file, string filter)
- {
- if (qtPro == null)
- throw new QtVSException(commonError);
- qtPro.AdjustWhitespace(file);
- return qtPro.AddFileToProject(file, GetFakeFilterFromName(filter));
- }
-
- /// <summary>
- /// Copy a file to the project folder.
- /// </summary>
- /// <param name="srcFile">full path to source file</param>
- /// <param name="destName">destination file (relative to the location of the project)</param>
- /// <returns>full path to the destination file</returns>
- public string CopyFileToProjectFolder(string srcFile, string destName)
- {
- if (qtPro == null)
- throw new QtVSException(commonError);
-
- return qtPro.CopyFileToProject(srcFile, destName);
- }
-
- public string CopyFileToFolder(string srcFile, string destFolder, string destName)
- {
- return QtProject.CopyFileToFolder(srcFile, destFolder, destName);
- }
-
- /// <summary>
- ///
- /// </summary>
- /// <param name="className"></param>
- /// <param name="destName"></param>
- /// <returns></returns>
- public string CreateQrcFile(string className, string destName)
- {
- if (qtPro == null)
- throw new QtVSException(commonError);
- return qtPro.CreateQrcFile(className, destName);
- }
-
- /// <summary>
- /// Adds a qt module to the project
- /// </summary>
- /// <param name="module">the module to add
- /// see QtModules.ModuleIdByName()
- /// </param>
- public void AddModule(string module)
- {
- if (qtPro == null)
- throw new QtVSException(commonError);
- qtPro.AddModule(GetQtModuleFromName(module));
- }
-
- /// <summary>
- /// Removes a qt module from the project
- /// </summary>
- /// <param name="module">the module to remove
- /// see QtModules.ModuleIdByName()
- /// </param>
- public void RemoveModule(string module)
- {
- if (qtPro == null)
- throw new QtVSException(commonError);
- qtPro.RemoveModule(GetQtModuleFromName(module));
- }
-
- /// <summary>
- /// Checks if an add-on qt module is installed
- /// </summary>
- /// <param name="moduleName">the module to find
- /// </param>
- public bool IsModuleInstalled(string moduleName)
- {
- QtVersionManager versionManager = QtVersionManager.The();
- string qtVersion = versionManager.GetDefaultVersion();
- if (qtVersion == null)
- throw new QtVSException("Unable to find a Qt build!\r\n"
- + "To solve this problem specify a Qt build");
- string install_path = versionManager.GetInstallPath(qtVersion);
-
- if (moduleName.StartsWith("Qt"))
- {
- moduleName = "Qt5" + moduleName.Substring(2);
- }
- string full_path = install_path + "\\lib\\" + moduleName + ".lib";
-
- System.IO.FileInfo fi = new System.IO.FileInfo(full_path);
-
- return fi.Exists;
- }
-
- /// <summary>
- /// Adds a icon resource to the project
- /// </summary>
- /// <param name="iconFileName">the icon file to add</param>
- /// <returns>true if everything is ok</returns>
- public bool AddApplicationIcon(string iconFileName)
- {
- if (qtPro == null)
- throw new QtVSException(commonError);
- return qtPro.AddApplicationIcon(iconFileName);
- }
-
- /// <summary>
- /// Creates a new GUID and returns it as a string.
- /// </summary>
- /// <returns>the new GUID</returns>
- public string CreateNewGUID()
- {
- return System.Guid.NewGuid().ToString().ToUpper();
- }
-
- /// <summary>
- /// Returns the file name of a given file path.
- /// </summary>
- /// <param name="filePath">can be relative or absolute</param>
- /// <returns>the file name</returns>
- public string GetFileName(string filePath)
- {
- System.IO.FileInfo fi = new System.IO.FileInfo(filePath);
- return fi.Name;
- }
-
- /// <summary>
- /// Replaces a token in a VCFile. The tokens are usually class names and file names.
- /// </summary>
- /// <param name="file">the file in which to replace tokens</param>
- /// <param name="token">the token to replace</param>
- /// <param name="replacement">the replacement value</param>
- public void ReplaceTokenInFile(string file, string token, string replacement)
- {
- QtProject.ReplaceTokenInFile(file, token, replacement);
- }
-
- public void EnableSection(string file, string sectionName, bool enable)
- {
- QtProject.EnableSection(file, sectionName, enable);
- }
-
- /// <summary>
- /// Adds a ActiveQt build step to the project.
- /// </summary>
- /// <param name="version">the version of the library</param>
- public void AddActiveQtBuildStep(string version)
- {
- if (qtPro == null)
- throw new QtVSException(commonError);
- qtPro.AddActiveQtBuildStep(version);
- }
-
- /// <summary>
- /// Adds a define to the config.
- /// </summary>
- /// <param name="define">the define to add</param>
- /// <param name="config">the config (can be RELEASE, DEBUG or BOTH)</param>
- public void AddDefine(string define, string config)
- {
- if (qtPro == null)
- throw new QtVSException(commonError);
- qtPro.AddDefine(define, GetBuildConfigFromName(config));
- }
-
- /// <summary>
- /// The created project.
- /// </summary>
- public EnvDTE.Project Project
- {
- get
- {
- if (qtPro == null)
- throw new QtVSException(commonError);
- return pro;
- }
- }
-
- /// <summary>
- /// Finishes the creation of the qt project
- /// </summary>
- public void Finish()
- {
- if (qtPro == null)
- throw new QtVSException(commonError);
- qtPro.Finish();
- }
-
- public void UseSelectedProject(EnvDTE.DTE app)
- {
- pro = HelperFunctions.GetSelectedQtProject(app);
- if (pro == null)
- throw new QtVSException("Can't find a selected project");
-
- qtPro = QtProject.Create(pro);
- }
-
- public bool IsSelectedProjectQt(EnvDTE.DTE app)
- {
- pro = HelperFunctions.GetSelectedQtProject(app);
- if (pro == null)
- return false;
- return true;
- }
-
- public string ShowOpenFolderDialog(string directory)
- {
- FolderBrowserDialog dia = new FolderBrowserDialog();
- dia.Description = "Select a directory:";
- dia.SelectedPath = directory;
- if (dia.ShowDialog() == DialogResult.OK)
- return dia.SelectedPath;
- return directory;
- }
-
- public bool UsesPrecompiledHeaders()
- {
- if (qtPro == null)
- throw new QtVSException(commonError);
- return qtPro.UsesPrecompiledHeaders();
- }
-
- public string GetPrecompiledHeaderThrough()
- {
- if (qtPro == null)
- throw new QtVSException(commonError);
- return qtPro.GetPrecompiledHeaderThrough();
- }
- }
-}
diff --git a/Qt4VS2003/QtProjectLib/AssemblyInfo.cs b/Qt4VS2003/QtProjectLib/AssemblyInfo.cs
deleted file mode 100644
index 522feb8f..00000000
--- a/Qt4VS2003/QtProjectLib/AssemblyInfo.cs
+++ /dev/null
@@ -1,84 +0,0 @@
-/****************************************************************************
-**
-** Copyright (C) 2016 The Qt Company Ltd.
-** Contact: https://www.qt.io/licensing/
-**
-** This file is part of the Qt VS Add-in.
-**
-** $QT_BEGIN_LICENSE:GPL-EXCEPT$
-** Commercial License Usage
-** Licensees holding valid commercial Qt licenses may use this file in
-** accordance with the commercial license agreement provided with the
-** Software or, alternatively, in accordance with the terms contained in
-** a written agreement between you and The Qt Company. For licensing terms
-** and conditions see https://www.qt.io/terms-conditions. For further
-** information use the contact form at https://www.qt.io/contact-us.
-**
-** GNU General Public License Usage
-** Alternatively, this file may be used under the terms of the GNU
-** General Public License version 3 as published by the Free Software
-** Foundation with exceptions as appearing in the file LICENSE.GPL3-EXCEPT
-** included in the packaging of this file. Please review the following
-** information to ensure the GNU General Public License requirements will
-** be met: https://www.gnu.org/licenses/gpl-3.0.html.
-**
-** $QT_END_LICENSE$
-**
-****************************************************************************/
-
-using System.Reflection;
-
-//
-// General Information about an assembly is controlled through the following
-// set of attributes. Change these attribute values to modify the information
-// associated with an assembly.
-//
-[assembly: AssemblyTitle("Qt5ProjectLib")]
-[assembly: AssemblyDescription("")]
-[assembly: AssemblyConfiguration("")]
-[assembly: AssemblyCompany("The Qt Company Ltd")]
-[assembly: AssemblyProduct("")]
-[assembly: AssemblyCopyright("Copyright (C) 2016 The Qt Company Ltd.")]
-[assembly: AssemblyTrademark("The Qt Company Ltd., Qt and their respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.")]
-[assembly: AssemblyCulture("")]
-
-//
-// Version information for an assembly consists of the following four values:
-//
-// Major Version
-// Minor Version
-// Build Number
-// Revision
-//
-// You can specify all the values or you can default the Revision and Build Numbers
-// by using the '*' as shown below:
-
-[assembly: AssemblyVersion("1.0.*")]
-
-//
-// In order to sign your assembly you must specify a key to use. Refer to the
-// Microsoft .NET Framework documentation for more information on assembly signing.
-//
-// Use the attributes below to control which key is used for signing.
-//
-// Notes:
-// (*) If no key is specified, the assembly is not signed.
-// (*) KeyName refers to a key that has been installed in the Crypto Service
-// Provider (CSP) on your machine. KeyFile refers to a file which contains
-// a key.
-// (*) If the KeyFile and the KeyName values are both specified, the
-// following processing occurs:
-// (1) If the KeyName can be found in the CSP, that key is used.
-// (2) If the KeyName does not exist and the KeyFile does exist, the key
-// in the KeyFile is installed into the CSP and used.
-// (*) In order to create a KeyFile, you can use the sn.exe (Strong Name) utility.
-// When specifying the KeyFile, the location of the KeyFile should be
-// relative to the project output directory which is
-// %Project Directory%\obj\<configuration>. For example, if your KeyFile is
-// located in the project directory, you would specify the AssemblyKeyFile
-// attribute as [assembly: AssemblyKeyFile("..\\..\\mykey.snk")]
-// (*) Delay Signing is an advanced option - see the Microsoft .NET Framework
-// documentation for more information on this.
-//
-[assembly: AssemblyDelaySign(false)]
-[assembly: AssemblyKeyName("")]
diff --git a/Qt4VS2003/QtProjectLib/CompilerToolWrapper.cs b/Qt4VS2003/QtProjectLib/CompilerToolWrapper.cs
deleted file mode 100644
index b63fbd81..00000000
--- a/Qt4VS2003/QtProjectLib/CompilerToolWrapper.cs
+++ /dev/null
@@ -1,553 +0,0 @@
-/****************************************************************************
-**
-** Copyright (C) 2016 The Qt Company Ltd.
-** Contact: https://www.qt.io/licensing/
-**
-** This file is part of the Qt VS Add-in.
-**
-** $QT_BEGIN_LICENSE:GPL-EXCEPT$
-** Commercial License Usage
-** Licensees holding valid commercial Qt licenses may use this file in
-** accordance with the commercial license agreement provided with the
-** Software or, alternatively, in accordance with the terms contained in
-** a written agreement between you and The Qt Company. For licensing terms
-** and conditions see https://www.qt.io/terms-conditions. For further
-** information use the contact form at https://www.qt.io/contact-us.
-**
-** GNU General Public License Usage
-** Alternatively, this file may be used under the terms of the GNU
-** General Public License version 3 as published by the Free Software
-** Foundation with exceptions as appearing in the file LICENSE.GPL3-EXCEPT
-** included in the packaging of this file. Please review the following
-** information to ensure the GNU General Public License requirements will
-** be met: https://www.gnu.org/licenses/gpl-3.0.html.
-**
-** $QT_END_LICENSE$
-**
-****************************************************************************/
-
-using System;
-using System.IO;
-using System.Collections.Generic;
-
-namespace Digia.Qt5ProjectLib
-{
- using Microsoft.VisualStudio.VCProjectEngine;
-
- /// <summary>
- /// Wrapper for the VCCLCompilerTool class.
- /// </summary>
- /// For platforms other than Win32 the type VCCLCompilerTool is not available.
- /// See http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=220646&SiteID=1
- /// So we have to use the reflection system to get and set the desired properties.
- /// This class should be the only place where VCCLCompilerTool is used.
- /// Using VCCLCompilerTool directly will break the VS integration for Win CE.
- class CompilerToolWrapper
- {
- private VCCLCompilerTool compilerTool;
- private Object compilerObj;
- private Type compilerType;
-
- public static CompilerToolWrapper Create(VCConfiguration config)
- {
- CompilerToolWrapper wrapper = null;
- try
- {
- wrapper = new CompilerToolWrapper(((IVCCollection)config.Tools).Item("VCCLCompilerTool"));
- }
- catch
- {
- }
-
- return wrapper.IsNull() ? null : wrapper;
- }
-
- public static CompilerToolWrapper Create(VCFileConfiguration config)
- {
- CompilerToolWrapper wrapper = null;
- try
- {
- wrapper = new CompilerToolWrapper(config.Tool);
- }
- catch
- {
- }
-
- return wrapper.IsNull() ? null : wrapper;
- }
-
- public static CompilerToolWrapper Create(VCPropertySheet sheet)
- {
- CompilerToolWrapper wrapper = null;
- try
- {
- wrapper = new CompilerToolWrapper(((IVCCollection)sheet.Tools).Item("VCCLCompilerTool"));
- }
- catch
- {
- }
-
- return wrapper.IsNull() ? null : wrapper;
- }
-
- protected CompilerToolWrapper(object tool)
- {
- if (tool == null)
- return;
-
- compilerTool = tool as VCCLCompilerTool;
- if (compilerTool == null)
- {
- compilerObj = tool;
- compilerType = compilerObj.GetType();
- }
- }
-
- protected bool IsNull()
- {
- return compilerTool == null && compilerObj == null;
- }
-
- public string ObjectFile
- {
- get
- {
- if (compilerTool != null)
- return compilerTool.ObjectFile;
- else
- return GetStringProperty("ObjectFile");
- }
-
- set
- {
- if (compilerTool != null)
- compilerTool.ObjectFile = value;
- else
- SetStringProperty("ObjectFile", value);
- }
- }
-
- public string ProgramDataBaseFileName
- {
- get
- {
- if (compilerTool != null)
- return compilerTool.ProgramDataBaseFileName;
- else
- return GetStringProperty("ProgramDataBaseFileName");
- }
-
- set
- {
- if (compilerTool != null)
- compilerTool.ProgramDataBaseFileName = value;
- else
- SetStringProperty("ProgramDataBaseFileName", value);
- }
- }
-
- public List<string> AdditionalIncludeDirectories
- {
- get
- {
- string directories = GetAdditionalIncludeDirectories();
- if (directories == null)
- return new List<string>();
- // double quotes are escaped
- directories = directories.Replace("\\\"", "\"");
- string[] dirArray = directories.Split(new char[] { ';', ',' }, StringSplitOptions.RemoveEmptyEntries);
- List<string> lst = new List<string>(dirArray);
- int i = 0;
- while (i < lst.Count)
- {
- string item = lst[i];
- if (item.StartsWith("\"") && item.EndsWith("\""))
- {
- item = item.Remove(0, 1);
- item = item.Remove(item.Length - 1, 1);
- lst[i] = item;
- }
-
- if (lst[i].Length > 0)
- ++i;
- else
- lst.RemoveAt(i);
- }
- return lst;
- }
-
- set
- {
- if (value == null)
- {
- SetAdditionalIncludeDirectories(null);
- return;
- }
- string newDirectories = "";
- bool firstLoop = true;
- foreach (string dir in value)
- {
- if (firstLoop)
- firstLoop = false;
- else
- newDirectories += ";";
-
- if (dir.IndexOfAny(new char[] { ' ', '\t' }) > 0 || !Path.IsPathRooted(dir))
- newDirectories += "\"" + dir + "\"";
- else
- newDirectories += dir;
- }
- if (newDirectories != GetAdditionalIncludeDirectories())
- SetAdditionalIncludeDirectories(newDirectories);
- }
- }
-
- public void SetAdditionalIncludeDirectories(string value)
- {
- // Prevent setting of empty substring, as they break the build
- value = value.Replace("\"\",", "");
- if (compilerTool != null)
- compilerTool.AdditionalIncludeDirectories = value;
- else
- SetStringProperty("AdditionalIncludeDirectories", value);
- }
-
- public List<string> PreprocessorDefinitions
- {
- get
- {
- string ppdefsstr = GetPreprocessorDefinitions();
- if (String.IsNullOrEmpty(ppdefsstr))
- return new List<string>();
-
- string[] ppdefs = ppdefsstr.Split(new char[] { ',', ';' }, StringSplitOptions.RemoveEmptyEntries);
- return new List<string>(ppdefs);
- }
-
- set
- {
- if (value == null)
- {
- SetPreprocessorDefinitions("");
- }
- else
- {
- string ppdefsstr = "";
- bool firstLoop = true;
- foreach (string ppdef in value)
- {
- if (firstLoop)
- firstLoop = false;
- else
- ppdefsstr += ",";
- ppdefsstr += ppdef;
- }
- SetPreprocessorDefinitions(ppdefsstr);
- }
- }
- }
-
- /// <summary>
- /// Adds a single preprocessor definition.
- /// </summary>
- /// <param name="value"></param>
- public void AddPreprocessorDefinition(string value)
- {
- string preprocessorDefs = GetPreprocessorDefinitions();
- if (preprocessorDefs != null)
- {
- string[] definesArray = preprocessorDefs.Split(new char[] {';', ','}, StringSplitOptions.RemoveEmptyEntries);
- List<string> definesList = new List<string>(definesArray);
- if (definesList.Contains(value))
- return;
- if (preprocessorDefs.Length > 0 && !preprocessorDefs.EndsWith(";") && !value.StartsWith(";"))
- preprocessorDefs += ";";
- }
- preprocessorDefs += value;
- SetPreprocessorDefinitions(preprocessorDefs);
- }
-
- /// <summary>
- /// Removes a single preprocessor definition.
- /// </summary>
- /// <param name="value"></param>
- public void RemovePreprocessorDefinition(string value)
- {
- string preprocessorDefs = GetPreprocessorDefinitions();
- if (preprocessorDefs == null)
- return;
-
- string[] definesArray = preprocessorDefs.Split(new char[] { ';', ',' }, StringSplitOptions.RemoveEmptyEntries);
- List<string> definesList = new List<string>(definesArray);
- if (definesList == null || !definesList.Remove(value))
- return;
- preprocessorDefs = "";
- bool firstIteration = true;
- foreach (string define in definesList)
- {
- if (firstIteration)
- firstIteration = false;
- else
- preprocessorDefs += ';';
- preprocessorDefs += define;
- }
- NormalizePreprocessorDefinitions(ref preprocessorDefs);
- SetPreprocessorDefinitions(preprocessorDefs);
- }
-
- private static void NormalizePreprocessorDefinitions(ref string preprocessorDefs)
- {
- int idx = 0;
- while ((idx = preprocessorDefs.IndexOf(' ', idx)) != -1)
- preprocessorDefs = preprocessorDefs.Remove(idx, 1);
-
- preprocessorDefs = preprocessorDefs.Replace(',', ';');
-
- idx = 0;
- while ((idx = preprocessorDefs.IndexOf(";;", idx)) != -1)
- preprocessorDefs = preprocessorDefs.Remove(idx, 1);
-
- if (preprocessorDefs.EndsWith(";"))
- preprocessorDefs = preprocessorDefs.Remove(preprocessorDefs.Length - 1);
- }
-
- public void SetPreprocessorDefinitions(string value)
- {
- if (compilerTool != null)
- compilerTool.PreprocessorDefinitions = value;
- else
- SetStringProperty("PreprocessorDefinitions", value);
- }
-
- public string GetPreprocessorDefinitions()
- {
- if (compilerTool != null)
- return compilerTool.PreprocessorDefinitions;
- else
- return GetStringProperty("PreprocessorDefinitions");
- }
-
- public void AddAdditionalIncludeDirectories(string value)
- {
- if (string.IsNullOrEmpty(value))
- return;
-
- bool directoryAdded = false;
- string[] directories = value.Split(new char[] { ';', ',' }, StringSplitOptions.RemoveEmptyEntries);
- List<string> lst = this.AdditionalIncludeDirectories;
- foreach (string directory in directories)
- {
- if (lst.Contains(directory))
- continue;
-
- lst.Add(directory);
- directoryAdded = true;
- }
-
- if (directoryAdded)
- this.AdditionalIncludeDirectories = lst;
- }
-
- public string[] GetAdditionalIncludeDirectoriesList()
- {
- string[] includes = this.GetAdditionalIncludeDirectories().Split(new char[] { ',', ';' });
- string[] fixedincludes;
- fixedincludes = new string[includes.Length];
- int i = 0;
- foreach (string include in includes)
- {
- string incl = include;
- if (incl.StartsWith("\\\"") && incl.EndsWith("\\\""))
- {
- incl = incl.Remove(0, 2);
- incl = incl.Remove(incl.Length - 2, 2);
- }
- fixedincludes[i++] = incl;
- }
- return fixedincludes;
- }
-
- public string GetAdditionalIncludeDirectories()
- {
- if (compilerTool != null)
- return compilerTool.AdditionalIncludeDirectories;
- else
- return GetStringProperty("AdditionalIncludeDirectories");
- }
-
- public string GetPrecompiledHeaderFile()
- {
- if (compilerTool != null)
- return compilerTool.PrecompiledHeaderFile;
- else
- return GetStringProperty("PrecompiledHeaderFile");
- }
-
- public string GetPrecompiledHeaderThrough()
- {
- if (compilerTool != null)
- return compilerTool.PrecompiledHeaderThrough;
- else
- return GetStringProperty("PrecompiledHeaderThrough");
- }
-
- public pchOption GetUsePrecompiledHeader()
- {
- if (compilerTool != null)
- return compilerTool.UsePrecompiledHeader;
- else
- {
- object obj = compilerType.InvokeMember("UsePrecompiledHeader", System.Reflection.BindingFlags.GetProperty, null, compilerObj, null);
- if (obj == null)
- return pchOption.pchNone;
- else
- return (pchOption)obj;
- }
- }
-
- public void SetDebugInformationFormat(debugOption value)
- {
- if (compilerTool != null)
- compilerTool.DebugInformationFormat = value;
- else
- compilerType.InvokeMember(
- "DebugInformationFormat",
- System.Reflection.BindingFlags.SetProperty,
- null,
- compilerObj,
- new object[] { @value });
- }
-
- public void SetRuntimeLibrary(runtimeLibraryOption value)
- {
- if (compilerTool != null)
- compilerTool.RuntimeLibrary = value;
- else
- compilerType.InvokeMember(
- "RuntimeLibrary",
- System.Reflection.BindingFlags.SetProperty,
- null,
- compilerObj,
- new object[] { @value });
- }
-
- public void SetOptimization(optimizeOption value)
- {
- if (compilerTool != null)
- compilerTool.Optimization = value;
- else
- compilerType.InvokeMember(
- "Optimization",
- System.Reflection.BindingFlags.SetProperty,
- null,
- compilerObj,
- new object[] { @value });
- }
-
- public void SetTreatWChar_tAsBuiltInType(bool value)
- {
- if (compilerTool != null)
- compilerTool.TreatWChar_tAsBuiltInType = value;
- else
- compilerType.InvokeMember(
- "TreatWChar_tAsBuiltInType",
- System.Reflection.BindingFlags.SetProperty,
- null,
- compilerObj,
- new object[] { @value });
- }
-
- public void SetWarningLevel(warningLevelOption value)
- {
- if (compilerTool != null)
- compilerTool.WarningLevel = value;
- else
- compilerType.InvokeMember(
- "WarningLevel",
- System.Reflection.BindingFlags.SetProperty,
- null,
- compilerObj,
- new object[] { @value });
- }
-
- public void SetBufferSecurityCheck(bool value)
- {
- if (compilerTool != null)
- compilerTool.BufferSecurityCheck = value;
- else
- compilerType.InvokeMember(
- "BufferSecurityCheck",
- System.Reflection.BindingFlags.SetProperty,
- null,
- compilerObj,
- new object[] { @value });
- }
-
- public void SetPrecompiledHeaderFile(string file)
- {
- if (compilerTool != null)
- compilerTool.PrecompiledHeaderFile = file;
- else
- compilerType.InvokeMember(
- "PrecompiledHeaderFile",
- System.Reflection.BindingFlags.SetProperty,
- null,
- compilerObj,
- new object[] { @file });
- }
-
- public void SetPrecompiledHeaderThrough(string value)
- {
- if (compilerTool != null)
- compilerTool.PrecompiledHeaderThrough = value;
- else
- compilerType.InvokeMember(
- "PrecompiledHeaderThrough",
- System.Reflection.BindingFlags.SetProperty,
- null,
- compilerObj,
- new object[] { @value });
- }
-
- public void SetUsePrecompiledHeader(pchOption value)
- {
- if (compilerTool != null)
- compilerTool.UsePrecompiledHeader = value;
- else
- compilerType.InvokeMember(
- "UsePrecompiledHeader",
- System.Reflection.BindingFlags.SetProperty,
- null,
- compilerObj,
- new object[] { @value });
- }
-
- private void SetStringProperty(string name, string value)
- {
- compilerType.InvokeMember(
- name,
- System.Reflection.BindingFlags.SetProperty,
- null,
- compilerObj,
- new object[] { @value });
- }
-
- private string GetStringProperty(string name)
- {
- object obj;
- try
- {
- obj = compilerType.InvokeMember(name, System.Reflection.BindingFlags.GetProperty, null, compilerObj, null);
- }
- catch
- {
- obj = null;
- }
- if (obj == null)
- return "";
- else
- return (string)obj;
- }
-
- }
-}
diff --git a/Qt4VS2003/QtProjectLib/CxxStreamReader.cs b/Qt4VS2003/QtProjectLib/CxxStreamReader.cs
deleted file mode 100644
index 7c7ee5c4..00000000
--- a/Qt4VS2003/QtProjectLib/CxxStreamReader.cs
+++ /dev/null
@@ -1,191 +0,0 @@
-/****************************************************************************
-**
-** Copyright (C) 2016 The Qt Company Ltd.
-** Contact: https://www.qt.io/licensing/
-**
-** This file is part of the Qt VS Add-in.
-**
-** $QT_BEGIN_LICENSE:GPL-EXCEPT$
-** Commercial License Usage
-** Licensees holding valid commercial Qt licenses may use this file in
-** accordance with the commercial license agreement provided with the
-** Software or, alternatively, in accordance with the terms contained in
-** a written agreement between you and The Qt Company. For licensing terms
-** and conditions see https://www.qt.io/terms-conditions. For further
-** information use the contact form at https://www.qt.io/contact-us.
-**
-** GNU General Public License Usage
-** Alternatively, this file may be used under the terms of the GNU
-** General Public License version 3 as published by the Free Software
-** Foundation with exceptions as appearing in the file LICENSE.GPL3-EXCEPT
-** included in the packaging of this file. Please review the following
-** information to ensure the GNU General Public License requirements will
-** be met: https://www.gnu.org/licenses/gpl-3.0.html.
-**
-** $QT_END_LICENSE$
-**
-****************************************************************************/
-
-using System;
-using System.IO;
-
-namespace Digia.Qt5ProjectLib
-{
- /// <summary>
- /// StreamReader for C++ files.
- /// Removes comments, takes care of strings and skips empty lines.
- /// </summary>
- class CxxStreamReader
- {
- private enum State
- {
- Normal, Comment, String
- }
- private State state = State.Normal;
- private StreamReader sr = null;
- private string partialLine = "";
-
- public CxxStreamReader(string fileName)
- {
- sr = new StreamReader(fileName);
- }
-
- public void Close()
- {
- sr.Close();
- }
-
- public string ReadLine()
- {
- return ReadLine(false);
- }
-
- public string ReadLine(bool removeStrings)
- {
- string line;
- do
- {
- line = sr.ReadLine();
- if (line == null)
- return null;
- line = ProcessString(line, removeStrings);
- } while (line.Length == 0);
- return line;
- }
-
- private string ProcessString(string line, bool removeStrings)
- {
- switch (state)
- {
- case State.Normal:
- {
- string lineCopy = line;
- line = "";
- for (int i = 0, j = 1; i < lineCopy.Length; ++i, ++j)
- {
- if (lineCopy[i] == '/' && j < lineCopy.Length)
- {
- if (lineCopy[j] == '*')
- {
- // C style comment detected
- int endIdx = lineCopy.IndexOf("*/", j + 1);
- if (endIdx >= 0)
- {
- i = endIdx + 1;
- j = i + 1;
- continue;
- }
- else
- {
- state = State.Comment;
- break;
- }
- }
- else if (lineCopy[j] == '/')
- {
- // C++ style comment detected
- break;
- }
- }
- else if (lineCopy[i] == '"')
- {
- // start of a string detected
- int endIdx = j - 1;
- do
- {
- endIdx = lineCopy.IndexOf('"', endIdx + 1);
- } while (endIdx >= 0 && lineCopy[endIdx - 1] == '\\');
-
- if (endIdx < 0)
- {
- if (lineCopy.EndsWith("\\"))
- {
- partialLine = line;
- if (!removeStrings)
- partialLine += lineCopy.Substring(i);
- state = State.String;
- }
- else
- {
- state = State.Normal;
- }
- line = "";
- break;
- }
- else
- {
- if (!removeStrings)
- line += lineCopy.Substring(i, endIdx - i + 1);
- i = endIdx;
- j = i + 1;
- continue;
- }
- }
- line += lineCopy[i];
- }
- }
- break;
- case State.Comment:
- {
- int idx = line.IndexOf("*/");
- if (idx >= 0)
- {
- state = State.Normal;
- line = line.Substring(idx + 2);
- break;
- }
- else
- {
- line = ""; // skip line
- }
- }
- break;
- case State.String:
- {
- string lineCopy = line;
- line = "";
- int endIdx = -1;
- do
- {
- endIdx = lineCopy.IndexOf('"', endIdx + 1);
- } while (endIdx >= 0 && lineCopy[endIdx - 1] == '\\');
- if (endIdx < 0)
- {
- if (!removeStrings)
- partialLine += lineCopy;
- }
- else
- {
- state = State.Normal;
- line = partialLine;
- if (!removeStrings)
- line += lineCopy.Substring(0, endIdx + 1);
- line += ProcessString(lineCopy.Substring(endIdx + 1), removeStrings);
- }
- }
- break;
- }
- return line;
- }
- }
-}
diff --git a/Qt4VS2003/QtProjectLib/DeploymentToolWrapper.cs b/Qt4VS2003/QtProjectLib/DeploymentToolWrapper.cs
deleted file mode 100644
index 50040e6f..00000000
--- a/Qt4VS2003/QtProjectLib/DeploymentToolWrapper.cs
+++ /dev/null
@@ -1,121 +0,0 @@
-/****************************************************************************
-**
-** Copyright (C) 2016 The Qt Company Ltd.
-** Contact: https://www.qt.io/licensing/
-**
-** This file is part of the Qt VS Add-in.
-**
-** $QT_BEGIN_LICENSE:GPL-EXCEPT$
-** Commercial License Usage
-** Licensees holding valid commercial Qt licenses may use this file in
-** accordance with the commercial license agreement provided with the
-** Software or, alternatively, in accordance with the terms contained in
-** a written agreement between you and The Qt Company. For licensing terms
-** and conditions see https://www.qt.io/terms-conditions. For further
-** information use the contact form at https://www.qt.io/contact-us.
-**
-** GNU General Public License Usage
-** Alternatively, this file may be used under the terms of the GNU
-** General Public License version 3 as published by the Free Software
-** Foundation with exceptions as appearing in the file LICENSE.GPL3-EXCEPT
-** included in the packaging of this file. Please review the following
-** information to ensure the GNU General Public License requirements will
-** be met: https://www.gnu.org/licenses/gpl-3.0.html.
-**
-** $QT_END_LICENSE$
-**
-****************************************************************************/
-
-using System;
-using Microsoft.VisualStudio.VCProjectEngine;
-
-namespace Digia.Qt5ProjectLib
-{
- class DeploymentToolWrapper
- {
- object deploymentToolObj;
- Type deploymentToolType;
-
- public static DeploymentToolWrapper Create(VCConfiguration config)
- {
- DeploymentToolWrapper wrapper = null;
- try
- {
- wrapper = new DeploymentToolWrapper(config.DeploymentTool);
- }
- catch
- {
- }
- return (wrapper.deploymentToolObj == null) ? null : wrapper;
- }
-
- protected DeploymentToolWrapper(object tool)
- {
- deploymentToolObj = tool;
- deploymentToolType = deploymentToolObj.GetType();
- }
-
- public void Clear()
- {
- string filesToDeploy = "";
- deploymentToolType.InvokeMember(
- "AdditionalFiles",
- System.Reflection.BindingFlags.SetProperty,
- null,
- deploymentToolObj,
- new object[] { @filesToDeploy });
- }
-
- public void Add(string filename, string sourceDir, string destDir)
- {
- string filesToDeploy = GetAdditionalFiles();
- if (filesToDeploy.Length > 0)
- filesToDeploy += ";";
- filesToDeploy += filename + "|" + sourceDir + "|" + destDir + "|0";
- SetAdditionalFiles(filesToDeploy);
- }
-
- public void Remove(string filename, string sourceDir, string destDir)
- {
- string filesToDeploy = GetAdditionalFiles();
- filesToDeploy = filesToDeploy.Replace(filename + "|" + sourceDir + "|" + destDir + "|0", "");
- filesToDeploy = filesToDeploy.Replace(";;", ";");
- if (filesToDeploy.EndsWith(";"))
- filesToDeploy = filesToDeploy.Remove(filesToDeploy.Length - 1);
- SetAdditionalFiles(filesToDeploy);
- }
-
- public string GetAdditionalFiles()
- {
- object obj;
- try
- {
- obj = deploymentToolType.InvokeMember(
- "AdditionalFiles",
- System.Reflection.BindingFlags.GetProperty,
- null,
- deploymentToolObj,
- null);
- }
- catch
- {
- obj = null;
- }
-
- if (obj != null)
- return (string)obj;
-
- return "";
- }
-
- public void SetAdditionalFiles(string value)
- {
- deploymentToolType.InvokeMember(
- "AdditionalFiles",
- System.Reflection.BindingFlags.SetProperty,
- null,
- deploymentToolObj,
- new object[] { @value });
- }
- }
-}
diff --git a/Qt4VS2003/QtProjectLib/ExportProjectDialog.cs b/Qt4VS2003/QtProjectLib/ExportProjectDialog.cs
deleted file mode 100644
index 80e5cc96..00000000
--- a/Qt4VS2003/QtProjectLib/ExportProjectDialog.cs
+++ /dev/null
@@ -1,464 +0,0 @@
-/****************************************************************************
-**
-** Copyright (C) 2016 The Qt Company Ltd.
-** Contact: https://www.qt.io/licensing/
-**
-** This file is part of the Qt VS Add-in.
-**
-** $QT_BEGIN_LICENSE:GPL-EXCEPT$
-** Commercial License Usage
-** Licensees holding valid commercial Qt licenses may use this file in
-** accordance with the commercial license agreement provided with the
-** Software or, alternatively, in accordance with the terms contained in
-** a written agreement between you and The Qt Company. For licensing terms
-** and conditions see https://www.qt.io/terms-conditions. For further
-** information use the contact form at https://www.qt.io/contact-us.
-**
-** GNU General Public License Usage
-** Alternatively, this file may be used under the terms of the GNU
-** General Public License version 3 as published by the Free Software
-** Foundation with exceptions as appearing in the file LICENSE.GPL3-EXCEPT
-** included in the packaging of this file. Please review the following
-** information to ensure the GNU General Public License requirements will
-** be met: https://www.gnu.org/licenses/gpl-3.0.html.
-**
-** $QT_END_LICENSE$
-**
-****************************************************************************/
-
-using System.Drawing;
-using System.Windows.Forms;
-
-namespace Digia.Qt5ProjectLib
-{
- /// <summary>
- /// Summary description for ExportProjectDialog.
- /// </summary>
- internal class ExportProjectDialog : System.Windows.Forms.Form
- {
- private System.Windows.Forms.Button cancelButton;
- private System.Windows.Forms.Button okButton;
- private System.Windows.Forms.Label projLabel;
- private System.Windows.Forms.ListBox optionListBox;
- private System.Windows.Forms.Label optionLabel;
- private System.Windows.Forms.ComboBox optionComboBox;
- private System.Windows.Forms.Label commentLabel;
- private System.Windows.Forms.TextBox optionTextBox;
- private System.Windows.Forms.CheckBox openCheckBox;
- private System.Windows.Forms.CheckedListBox projListBox;
- private System.Windows.Forms.GroupBox lineBox;
- private System.Windows.Forms.CheckBox createPriFileCheckBox;
- private System.Windows.Forms.Panel panel1;
- private System.Windows.Forms.Panel panel2;
- private System.Windows.Forms.Button newButton;
- private System.Windows.Forms.Button delButton;
- /// <summary>
- /// Required designer variable.
- /// </summary>
- private System.ComponentModel.Container components = null;
-
- public ExportProjectDialog()
- {
- //
- // Required for Windows Form Designer support
- //
- InitializeComponent();
-
- this.cancelButton.Text = SR.GetString("ExportProjectDialog_Cancel");
- this.okButton.Text = SR.GetString("ExportProjectDialog_OK");
- this.projLabel.Text = SR.GetString("ExportProjectDialog_CreatePro");
- this.optionLabel.Text = SR.GetString("ExportProjectDialog_Project");
- this.optionTextBox.Text = "";
- this.openCheckBox.Text = SR.GetString("ExportProjectDialog_Open");
- this.createPriFileCheckBox.Text = SR.GetString("ExportProjectDialog_CreatePri");
- this.Text = SR.GetString("ExportProjectDialog_Title");
-
- if (SR.LanguageName == "de")
- this.Size = new Size(470, 300);
- else
- this.Size = new Size(400, 300);
-
- ShowInTaskbar = false;
- //
- // TODO: Add any constructor code after InitializeComponent call
- //
- }
-
- /// <summary>
- /// Clean up any resources being used.
- /// </summary>
- protected override void Dispose( bool disposing )
- {
- if (disposing)
- {
- if (components != null)
- {
- components.Dispose();
- }
- }
- base.Dispose( disposing );
- }
-
- #region Windows Form Designer generated code
- /// <summary>
- /// Required method for Designer support - do not modify
- /// the contents of this method with the code editor.
- /// </summary>
- private void InitializeComponent()
- {
- this.cancelButton = new System.Windows.Forms.Button();
- this.okButton = new System.Windows.Forms.Button();
- this.projLabel = new System.Windows.Forms.Label();
- this.optionListBox = new System.Windows.Forms.ListBox();
- this.optionLabel = new System.Windows.Forms.Label();
- this.optionComboBox = new System.Windows.Forms.ComboBox();
- this.commentLabel = new System.Windows.Forms.Label();
- this.optionTextBox = new System.Windows.Forms.TextBox();
- this.projListBox = new System.Windows.Forms.CheckedListBox();
- this.openCheckBox = new System.Windows.Forms.CheckBox();
- this.lineBox = new System.Windows.Forms.GroupBox();
- this.createPriFileCheckBox = new System.Windows.Forms.CheckBox();
- this.panel1 = new System.Windows.Forms.Panel();
- this.panel2 = new System.Windows.Forms.Panel();
-
- this.newButton = new ImageButton(HelperFunctions.GetSharedImage("Qt5ProjectLib.Images.newitem.png"),
- HelperFunctions.GetSharedImage("Qt5ProjectLib.Images.newitem_d.png"));
- this.delButton = new ImageButton(HelperFunctions.GetSharedImage("Qt5ProjectLib.Images.delete.png"),
- HelperFunctions.GetSharedImage("Qt5ProjectLib.Images.delete_d.png"));
- this.panel1.SuspendLayout();
- this.panel2.SuspendLayout();
- this.SuspendLayout();
- //
- // cancelButton
- //
- this.cancelButton.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
- this.cancelButton.DialogResult = System.Windows.Forms.DialogResult.Cancel;
- this.cancelButton.Location = new System.Drawing.Point(352, 232);
- this.cancelButton.Name = "cancelButton";
- this.cancelButton.Size = new System.Drawing.Size(72, 24);
- this.cancelButton.TabIndex = 5;
- this.cancelButton.Text = "Cancel";
- //
- // okButton
- //
- this.okButton.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
- this.okButton.DialogResult = System.Windows.Forms.DialogResult.OK;
- this.okButton.Location = new System.Drawing.Point(272, 232);
- this.okButton.Name = "okButton";
- this.okButton.Size = new System.Drawing.Size(72, 24);
- this.okButton.TabIndex = 4;
- this.okButton.Text = "OK";
- //
- // projLabel
- //
- this.projLabel.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
- | System.Windows.Forms.AnchorStyles.Right)));
- this.projLabel.Location = new System.Drawing.Point(0, 8);
- this.projLabel.Name = "projLabel";
- this.projLabel.Size = new System.Drawing.Size(200, 16);
- this.projLabel.TabIndex = 3;
- this.projLabel.Text = "Create .pro files for:";
- //
- // optionListBox
- //
- this.optionListBox.Location = new System.Drawing.Point(0, 72);
- this.optionListBox.Name = "optionListBox";
- this.optionListBox.Size = new System.Drawing.Size(200, 82);
- this.optionListBox.TabIndex = 3;
- this.optionListBox.SelectedIndexChanged += new System.EventHandler(this.optionListBox_SelectedIndexChanged);
- //
- // optionLabel
- //
- this.optionLabel.Location = new System.Drawing.Point(0, 8);
- this.optionLabel.Name = "optionLabel";
- this.optionLabel.Size = new System.Drawing.Size(200, 16);
- this.optionLabel.TabIndex = 5;
- this.optionLabel.Text = "Project &tag:";
- //
- // optionComboBox
- //
- this.optionComboBox.Location = new System.Drawing.Point(0, 24);
- this.optionComboBox.Name = "optionComboBox";
- this.optionComboBox.Size = new System.Drawing.Size(200, 21);
- this.optionComboBox.TabIndex = 2;
- this.optionComboBox.SelectedIndexChanged += new System.EventHandler(this.optionComboBox_SelectedIndexChanged);
- //
- // commentLabel
- //
- this.commentLabel.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
- this.commentLabel.Location = new System.Drawing.Point(0, 160);
- this.commentLabel.Name = "commentLabel";
- this.commentLabel.Size = new System.Drawing.Size(200, 48);
- this.commentLabel.TabIndex = 6;
- //
- // optionTextBox
- //
- this.optionTextBox.Enabled = false;
- this.optionTextBox.Location = new System.Drawing.Point(0, 48);
- this.optionTextBox.Name = "optionTextBox";
- this.optionTextBox.Size = new System.Drawing.Size(136, 20);
- this.optionTextBox.TabIndex = 7;
- this.optionTextBox.Text = "";
- this.optionTextBox.TextChanged += new System.EventHandler(this.optionTextBox_TextChanged);
- //
- // projListBox
- //
- this.projListBox.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
- | System.Windows.Forms.AnchorStyles.Right)));
- this.projListBox.Location = new System.Drawing.Point(0, 24);
- this.projListBox.Name = "projListBox";
- this.projListBox.Size = new System.Drawing.Size(200, 124);
- this.projListBox.TabIndex = 10;
- this.projListBox.SelectedIndexChanged += new System.EventHandler(this.projListBox_SelectedIndexChanged);
- this.projListBox.ItemCheck += new System.Windows.Forms.ItemCheckEventHandler(this.projListBox_ItemCheck);
- //
- // openCheckBox
- //
- this.openCheckBox.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
- | System.Windows.Forms.AnchorStyles.Right)));
- this.openCheckBox.Checked = true;
- this.openCheckBox.CheckState = System.Windows.Forms.CheckState.Checked;
- this.openCheckBox.Location = new System.Drawing.Point(0, 184);
- this.openCheckBox.Name = "openCheckBox";
- this.openCheckBox.Size = new System.Drawing.Size(208, 24);
- this.openCheckBox.TabIndex = 11;
- this.openCheckBox.Text = "Open Created Files";
- //
- // lineBox
- //
- this.lineBox.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
- this.lineBox.Location = new System.Drawing.Point(-8, 216);
- this.lineBox.Name = "lineBox";
- this.lineBox.Size = new System.Drawing.Size(536, 8);
- this.lineBox.TabIndex = 12;
- this.lineBox.TabStop = false;
- //
- // createPriFileCheckBox
- //
- this.createPriFileCheckBox.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
- | System.Windows.Forms.AnchorStyles.Right)));
- this.createPriFileCheckBox.Checked = true;
- this.createPriFileCheckBox.CheckState = System.Windows.Forms.CheckState.Checked;
- this.createPriFileCheckBox.Location = new System.Drawing.Point(0, 160);
- this.createPriFileCheckBox.Name = "createPriFileCheckBox";
- this.createPriFileCheckBox.Size = new System.Drawing.Size(200, 24);
- this.createPriFileCheckBox.TabIndex = 13;
- this.createPriFileCheckBox.Text = "Create .pri File";
- //
- // panel1
- //
- this.panel1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
- | System.Windows.Forms.AnchorStyles.Right)));
- this.panel1.Controls.Add(this.projLabel);
- this.panel1.Controls.Add(this.projListBox);
- this.panel1.Controls.Add(this.createPriFileCheckBox);
- this.panel1.Controls.Add(this.openCheckBox);
- this.panel1.Location = new System.Drawing.Point(8, 0);
- this.panel1.Name = "panel1";
- this.panel1.Size = new System.Drawing.Size(200, 208);
- this.panel1.TabIndex = 14;
- //
- // panel2
- //
- this.panel2.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
- this.panel2.Controls.Add(this.newButton);
- this.panel2.Controls.Add(this.delButton);
- this.panel2.Controls.Add(this.optionLabel);
- this.panel2.Controls.Add(this.optionComboBox);
- this.panel2.Controls.Add(this.optionTextBox);
- this.panel2.Controls.Add(this.optionListBox);
- this.panel2.Controls.Add(this.commentLabel);
- this.panel2.Location = new System.Drawing.Point(216, 0);
- this.panel2.Name = "panel2";
- this.panel2.Size = new System.Drawing.Size(208, 208);
- this.panel2.TabIndex = 15;
- //
- // newButton
- //
- this.newButton.Location = new System.Drawing.Point(144, 48);
- this.newButton.Name = "button1";
- this.newButton.Size = new System.Drawing.Size(24, 23);
- this.newButton.TabIndex = 8;
- this.newButton.Click += new System.EventHandler(this.newButton_Click);
-
- //
- // delButton
- //
- this.delButton.Location = new System.Drawing.Point(176, 48);
- this.delButton.Name = "button2";
- this.delButton.Size = new System.Drawing.Size(24, 23);
- this.delButton.TabIndex = 9;
- this.delButton.Click += new System.EventHandler(this.delButton_Click);
-
- //
- // ExportProjectDialog
- //
- this.AcceptButton = okButton;
- this.CancelButton = cancelButton;
- this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
- this.ClientSize = new System.Drawing.Size(432, 262);
- this.Controls.Add(this.panel2);
- this.Controls.Add(this.panel1);
- this.Controls.Add(this.lineBox);
- this.Controls.Add(this.okButton);
- this.Controls.Add(this.cancelButton);
- this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;
- this.MaximizeBox = false;
- this.MinimizeBox = false;
- this.Name = "ExportProjectDialog";
- this.SizeGripStyle = System.Windows.Forms.SizeGripStyle.Hide;
- this.Text = "Export Project";
- this.Load += new System.EventHandler(this.ExportProjectDialog_Load);
- this.panel1.ResumeLayout(false);
- this.panel2.ResumeLayout(false);
- this.ResumeLayout(false);
-
- }
- #endregion
-
- public ProSolution ProFileSolution
- {
- set
- {
- proSln = value;
- InitProSolution();
- }
- }
-
- private void InitProSolution()
- {
- projListBox.DataSource = proSln.ProFiles;
- projListBox.SelectedIndex = 0;
- }
-
- private ProSolution proSln;
- private ProFileContent currentPro;
- private ProFileOption currentOpt;
-
- private void optionComboBox_SelectedIndexChanged(object sender, System.EventArgs e)
- {
- currentOpt = (ProFileOption)currentPro.Options[optionComboBox.SelectedIndex];
- UpdateCurrentListItem();
-
- optionTextBox.Text = "";
-
- // update comment field
- commentLabel.Text = currentOpt.Comment;
- UpdateButtons();
- }
-
- private void optionListBox_SelectedIndexChanged(object sender, System.EventArgs e)
- {
- int idx = optionListBox.SelectedIndex;
- if (idx < 0)
- return;
- optionTextBox.Text = (string)currentOpt.List[optionListBox.SelectedIndex];
- optionTextBox.Focus();
- UpdateButtons();
- }
-
- private void optionTextBox_TextChanged(object sender, System.EventArgs e)
- {
- if (optionListBox.SelectedIndex < 0)
- {
- optionTextBox.Enabled = false;
- }
- else
- {
- optionTextBox.Enabled = true;
- currentOpt.List[optionListBox.SelectedIndex] = optionTextBox.Text;
- int index = optionListBox.SelectedIndex;
- UpdateCurrentListItem();
- optionListBox.SelectedIndex = index;
- }
- }
-
- private void UpdateCurrentListItem()
- {
- optionListBox.BeginUpdate();
- optionListBox.Items.Clear();
- foreach(string tag in currentOpt.List)
- {
- optionListBox.Items.Add(tag);
- }
- optionListBox.EndUpdate();
- }
-
- private void newButton_Click(object sender, System.EventArgs e)
- {
- currentOpt.List.Add("{New}");
- int index = currentOpt.List.Count - 1;
- UpdateCurrentListItem();
- optionListBox.SelectedIndex = index;
- optionTextBox.SelectAll();
- }
-
- private void UpdateButtons()
- {
- bool delEnabled = true;
- bool addEnabled = true;
-
- if (optionListBox.SelectedIndex < 0)
- delEnabled = false;
-
- if (optionListBox.Items.Count <= 0)
- delEnabled = false;
-
- if ((optionListBox.Items.Count > 0) && (currentOpt.NewOption == null))
- addEnabled = false;
-
- delButton.Enabled = delEnabled;
- newButton.Enabled = addEnabled;
- }
-
- private void delButton_Click(object sender, System.EventArgs e)
- {
- int index = optionListBox.SelectedIndex;
- currentOpt.List.RemoveAt(optionListBox.SelectedIndex);
- UpdateCurrentListItem();
-
- if (index > (optionListBox.Items.Count-1))
- index--;
-
- optionListBox.SelectedIndex = index;
-
- if (index < 0)
- {
- optionTextBox.Text = "";
- UpdateButtons();
- }
- }
-
- private void projListBox_SelectedIndexChanged(object sender, System.EventArgs e)
- {
- currentPro = (ProFileContent)proSln.ProFiles[projListBox.SelectedIndex];
- optionComboBox.DataSource = currentPro.Options;
- }
-
- private void projListBox_ItemCheck(object sender, ItemCheckEventArgs e)
- {
- if (e.NewValue == CheckState.Checked)
- ((ProFileContent)proSln.ProFiles[e.Index]).Export = true;
- else
- ((ProFileContent)proSln.ProFiles[e.Index]).Export = false;
- }
-
- private void ExportProjectDialog_Load(object sender, System.EventArgs e)
- {
- for (int i=0; i<projListBox.Items.Count; i++)
- {
- projListBox.SetItemChecked(i,true);
- }
- }
-
- public bool OpenFiles
- {
- get { return openCheckBox.Checked; }
- }
-
- public bool CreatePriFile
- {
- get { return createPriFileCheckBox.Checked; }
- }
- }
-}
diff --git a/Qt4VS2003/QtProjectLib/ExportProjectDialog.de-DE.resx b/Qt4VS2003/QtProjectLib/ExportProjectDialog.de-DE.resx
deleted file mode 100644
index 9741a72c..00000000
--- a/Qt4VS2003/QtProjectLib/ExportProjectDialog.de-DE.resx
+++ /dev/null
@@ -1,163 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<root>
- <!--
- Microsoft ResX Schema
-
- Version 1.3
-
- The primary goals of this format is to allow a simple XML format
- that is mostly human readable. The generation and parsing of the
- various data types are done through the TypeConverter classes
- associated with the data types.
-
- Example:
-
- ... ado.net/XML headers & schema ...
- <resheader name="resmimetype">text/microsoft-resx</resheader>
- <resheader name="version">1.3</resheader>
- <resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
- <resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
- <data name="Name1">this is my long string</data>
- <data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
- <data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
- [base64 mime encoded serialized .NET Framework object]
- </data>
- <data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
- [base64 mime encoded string representing a byte array form of the .NET Framework object]
- </data>
-
- There are any number of "resheader" rows that contain simple
- name/value pairs.
-
- Each data row contains a name, and value. The row also contains a
- type or mimetype. Type corresponds to a .NET class that support
- text/value conversion through the TypeConverter architecture.
- Classes that don't support this are serialized and stored with the
- mimetype set.
-
- The mimetype is used forserialized objects, and tells the
- ResXResourceReader how to depersist the object. This is currently not
- extensible. For a given mimetype the value must be set accordingly:
-
- Note - application/x-microsoft.net.object.binary.base64 is the format
- that the ResXResourceWriter will generate, however the reader can
- read any of the formats listed below.
-
- mimetype: application/x-microsoft.net.object.binary.base64
- value : The object must be serialized with
- : System.Serialization.Formatters.Binary.BinaryFormatter
- : and then encoded with base64 encoding.
-
- mimetype: application/x-microsoft.net.object.soap.base64
- value : The object must be serialized with
- : System.Runtime.Serialization.Formatters.Soap.SoapFormatter
- : and then encoded with base64 encoding.
-
- mimetype: application/x-microsoft.net.object.bytearray.base64
- value : The object must be serialized into a byte array
- : using a System.ComponentModel.TypeConverter
- : and then encoded with base64 encoding.
- -->
- <xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
- <xsd:element name="root" msdata:IsDataSet="true">
- <xsd:complexType>
- <xsd:choice maxOccurs="unbounded">
- <xsd:element name="data">
- <xsd:complexType>
- <xsd:sequence>
- <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
- <xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
- </xsd:sequence>
- <xsd:attribute name="name" type="xsd:string" msdata:Ordinal="1" />
- <xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
- <xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
- </xsd:complexType>
- </xsd:element>
- <xsd:element name="resheader">
- <xsd:complexType>
- <xsd:sequence>
- <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
- </xsd:sequence>
- <xsd:attribute name="name" type="xsd:string" use="required" />
- </xsd:complexType>
- </xsd:element>
- </xsd:choice>
- </xsd:complexType>
- </xsd:element>
- </xsd:schema>
- <resheader name="resmimetype">
- <value>text/microsoft-resx</value>
- </resheader>
- <resheader name="version">
- <value>1.3</value>
- </resheader>
- <resheader name="reader">
- <value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
- </resheader>
- <resheader name="writer">
- <value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
- </resheader>
- <data name="cancelButton.ImeMode" type="System.Windows.Forms.ImeMode, System.Windows.Forms, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
- <value>NoControl</value>
- </data>
- <data name="cancelButton.Location" type="System.Drawing.Point, System.Drawing, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
- <value>296, 232</value>
- </data>
- <data name="okButton.ImeMode" type="System.Windows.Forms.ImeMode, System.Windows.Forms, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
- <value>NoControl</value>
- </data>
- <data name="okButton.Location" type="System.Drawing.Point, System.Drawing, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
- <value>216, 232</value>
- </data>
- <data name="projLabel.ImeMode" type="System.Windows.Forms.ImeMode, System.Windows.Forms, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
- <value>NoControl</value>
- </data>
- <data name="projLabel.Size" type="System.Drawing.Size, System.Drawing, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
- <value>128, 16</value>
- </data>
- <data name="optionListBox.Location" type="System.Drawing.Point, System.Drawing, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
- <value>152, 100</value>
- </data>
- <data name="optionLabel.ImeMode" type="System.Windows.Forms.ImeMode, System.Windows.Forms, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
- <value>NoControl</value>
- </data>
- <data name="optionLabel.Location" type="System.Drawing.Point, System.Drawing, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
- <value>152, 16</value>
- </data>
- <data name="optionComboBox.Location" type="System.Drawing.Point, System.Drawing, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
- <value>152, 32</value>
- </data>
- <data name="commentLabel.ImeMode" type="System.Windows.Forms.ImeMode, System.Windows.Forms, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
- <value>NoControl</value>
- </data>
- <data name="commentLabel.Location" type="System.Drawing.Point, System.Drawing, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
- <value>152, 160</value>
- </data>
- <data name="optionTextBox.Location" type="System.Drawing.Point, System.Drawing, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
- <value>152, 72</value>
- </data>
- <data name="projListBox.Size" type="System.Drawing.Size, System.Drawing, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
- <value>136, 124</value>
- </data>
- <data name="openCheckBox.ImeMode" type="System.Windows.Forms.ImeMode, System.Windows.Forms, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
- <value>NoControl</value>
- </data>
- <data name="openCheckBox.Size" type="System.Drawing.Size, System.Drawing, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
- <value>136, 24</value>
- </data>
- <data name="lineBox.Location" type="System.Drawing.Point, System.Drawing, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
- <value>-16, 216</value>
- </data>
- <data name="createPriFileCheckBox.ImeMode" type="System.Windows.Forms.ImeMode, System.Windows.Forms, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
- <value>NoControl</value>
- </data>
- <data name="createPriFileCheckBox.Size" type="System.Drawing.Size, System.Drawing, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
- <value>136, 24</value>
- </data>
- <data name="$this.ClientSize" type="System.Drawing.Size, System.Drawing, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
- <value>376, 262</value>
- </data>
- <data name="$this.ImeMode" type="System.Windows.Forms.ImeMode, System.Windows.Forms, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
- <value>NoControl</value>
- </data>
-</root> \ No newline at end of file
diff --git a/Qt4VS2003/QtProjectLib/ExportProjectDialog.resx b/Qt4VS2003/QtProjectLib/ExportProjectDialog.resx
deleted file mode 100644
index 0207cabe..00000000
--- a/Qt4VS2003/QtProjectLib/ExportProjectDialog.resx
+++ /dev/null
@@ -1,301 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<root>
- <!--
- Microsoft ResX Schema
-
- Version 1.3
-
- The primary goals of this format is to allow a simple XML format
- that is mostly human readable. The generation and parsing of the
- various data types are done through the TypeConverter classes
- associated with the data types.
-
- Example:
-
- ... ado.net/XML headers & schema ...
- <resheader name="resmimetype">text/microsoft-resx</resheader>
- <resheader name="version">1.3</resheader>
- <resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
- <resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
- <data name="Name1">this is my long string</data>
- <data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
- <data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
- [base64 mime encoded serialized .NET Framework object]
- </data>
- <data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
- [base64 mime encoded string representing a byte array form of the .NET Framework object]
- </data>
-
- There are any number of "resheader" rows that contain simple
- name/value pairs.
-
- Each data row contains a name, and value. The row also contains a
- type or mimetype. Type corresponds to a .NET class that support
- text/value conversion through the TypeConverter architecture.
- Classes that don't support this are serialized and stored with the
- mimetype set.
-
- The mimetype is used forserialized objects, and tells the
- ResXResourceReader how to depersist the object. This is currently not
- extensible. For a given mimetype the value must be set accordingly:
-
- Note - application/x-microsoft.net.object.binary.base64 is the format
- that the ResXResourceWriter will generate, however the reader can
- read any of the formats listed below.
-
- mimetype: application/x-microsoft.net.object.binary.base64
- value : The object must be serialized with
- : System.Serialization.Formatters.Binary.BinaryFormatter
- : and then encoded with base64 encoding.
-
- mimetype: application/x-microsoft.net.object.soap.base64
- value : The object must be serialized with
- : System.Runtime.Serialization.Formatters.Soap.SoapFormatter
- : and then encoded with base64 encoding.
-
- mimetype: application/x-microsoft.net.object.bytearray.base64
- value : The object must be serialized into a byte array
- : using a System.ComponentModel.TypeConverter
- : and then encoded with base64 encoding.
- -->
- <xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
- <xsd:element name="root" msdata:IsDataSet="true">
- <xsd:complexType>
- <xsd:choice maxOccurs="unbounded">
- <xsd:element name="data">
- <xsd:complexType>
- <xsd:sequence>
- <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
- <xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
- </xsd:sequence>
- <xsd:attribute name="name" type="xsd:string" msdata:Ordinal="1" />
- <xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
- <xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
- </xsd:complexType>
- </xsd:element>
- <xsd:element name="resheader">
- <xsd:complexType>
- <xsd:sequence>
- <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
- </xsd:sequence>
- <xsd:attribute name="name" type="xsd:string" use="required" />
- </xsd:complexType>
- </xsd:element>
- </xsd:choice>
- </xsd:complexType>
- </xsd:element>
- </xsd:schema>
- <resheader name="resmimetype">
- <value>text/microsoft-resx</value>
- </resheader>
- <resheader name="version">
- <value>1.3</value>
- </resheader>
- <resheader name="reader">
- <value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
- </resheader>
- <resheader name="writer">
- <value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
- </resheader>
- <data name="cancelButton.Locked" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
- <value>False</value>
- </data>
- <data name="cancelButton.DefaultModifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
- <value>Private</value>
- </data>
- <data name="cancelButton.Modifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
- <value>Private</value>
- </data>
- <data name="okButton.Locked" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
- <value>False</value>
- </data>
- <data name="okButton.DefaultModifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
- <value>Private</value>
- </data>
- <data name="okButton.Modifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
- <value>Private</value>
- </data>
- <data name="projLabel.Locked" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
- <value>False</value>
- </data>
- <data name="projLabel.DefaultModifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
- <value>Private</value>
- </data>
- <data name="projLabel.Modifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
- <value>Private</value>
- </data>
- <data name="optionListBox.DefaultModifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
- <value>Private</value>
- </data>
- <data name="optionListBox.Locked" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
- <value>False</value>
- </data>
- <data name="optionListBox.Modifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
- <value>Private</value>
- </data>
- <data name="optionLabel.Locked" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
- <value>False</value>
- </data>
- <data name="optionLabel.DefaultModifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
- <value>Private</value>
- </data>
- <data name="optionLabel.Modifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
- <value>Private</value>
- </data>
- <data name="optionComboBox.DefaultModifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
- <value>Private</value>
- </data>
- <data name="optionComboBox.Locked" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
- <value>False</value>
- </data>
- <data name="optionComboBox.Modifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
- <value>Private</value>
- </data>
- <data name="commentLabel.Locked" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
- <value>False</value>
- </data>
- <data name="commentLabel.DefaultModifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
- <value>Private</value>
- </data>
- <data name="commentLabel.Modifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
- <value>Private</value>
- </data>
- <data name="optionTextBox.DefaultModifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
- <value>Private</value>
- </data>
- <data name="optionTextBox.Locked" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
- <value>False</value>
- </data>
- <data name="optionTextBox.Modifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
- <value>Private</value>
- </data>
- <data name="projListBox.DefaultModifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
- <value>Private</value>
- </data>
- <data name="projListBox.Locked" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
- <value>False</value>
- </data>
- <data name="projListBox.Modifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
- <value>Private</value>
- </data>
- <data name="openCheckBox.Locked" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
- <value>False</value>
- </data>
- <data name="openCheckBox.DefaultModifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
- <value>Private</value>
- </data>
- <data name="openCheckBox.Modifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
- <value>Private</value>
- </data>
- <data name="lineBox.DefaultModifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
- <value>Private</value>
- </data>
- <data name="lineBox.GridSize" type="System.Drawing.Size, System.Drawing, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
- <value>8, 8</value>
- </data>
- <data name="lineBox.SnapToGrid" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
- <value>True</value>
- </data>
- <data name="lineBox.Locked" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
- <value>False</value>
- </data>
- <data name="lineBox.DrawGrid" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
- <value>True</value>
- </data>
- <data name="lineBox.Modifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
- <value>Private</value>
- </data>
- <data name="createPriFileCheckBox.Locked" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
- <value>False</value>
- </data>
- <data name="createPriFileCheckBox.DefaultModifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
- <value>Private</value>
- </data>
- <data name="createPriFileCheckBox.Modifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
- <value>Private</value>
- </data>
- <data name="panel1.Locked" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
- <value>False</value>
- </data>
- <data name="panel1.SnapToGrid" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
- <value>True</value>
- </data>
- <data name="panel1.DefaultModifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
- <value>Private</value>
- </data>
- <data name="panel1.GridSize" type="System.Drawing.Size, System.Drawing, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
- <value>8, 8</value>
- </data>
- <data name="panel1.DrawGrid" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
- <value>True</value>
- </data>
- <data name="panel1.Modifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
- <value>Private</value>
- </data>
- <data name="panel2.Locked" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
- <value>False</value>
- </data>
- <data name="panel2.SnapToGrid" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
- <value>True</value>
- </data>
- <data name="panel2.DefaultModifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
- <value>Private</value>
- </data>
- <data name="panel2.GridSize" type="System.Drawing.Size, System.Drawing, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
- <value>8, 8</value>
- </data>
- <data name="panel2.DrawGrid" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
- <value>True</value>
- </data>
- <data name="panel2.Modifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
- <value>Private</value>
- </data>
- <data name="button1.Modifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
- <value>Private</value>
- </data>
- <data name="button1.Locked" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
- <value>False</value>
- </data>
- <data name="button1.DefaultModifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
- <value>Private</value>
- </data>
- <data name="button2.Locked" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
- <value>False</value>
- </data>
- <data name="button2.DefaultModifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
- <value>Private</value>
- </data>
- <data name="button2.Modifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
- <value>Private</value>
- </data>
- <data name="$this.Locked" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
- <value>False</value>
- </data>
- <data name="$this.Language" type="System.Globalization.CultureInfo, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
- <value>(Default)</value>
- </data>
- <data name="$this.TrayLargeIcon" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
- <value>False</value>
- </data>
- <data name="$this.Localizable" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
- <value>False</value>
- </data>
- <data name="$this.GridSize" type="System.Drawing.Size, System.Drawing, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
- <value>8, 8</value>
- </data>
- <data name="$this.DrawGrid" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
- <value>True</value>
- </data>
- <data name="$this.TrayHeight" type="System.Int32, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
- <value>80</value>
- </data>
- <data name="$this.Name">
- <value>ExportProjectDialog</value>
- </data>
- <data name="$this.SnapToGrid" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
- <value>True</value>
- </data>
- <data name="$this.DefaultModifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
- <value>Private</value>
- </data>
-</root> \ No newline at end of file
diff --git a/Qt4VS2003/QtProjectLib/HelperClasses.cs b/Qt4VS2003/QtProjectLib/HelperClasses.cs
deleted file mode 100644
index 56de3f07..00000000
--- a/Qt4VS2003/QtProjectLib/HelperClasses.cs
+++ /dev/null
@@ -1,187 +0,0 @@
-/****************************************************************************
-**
-** Copyright (C) 2016 The Qt Company Ltd.
-** Contact: https://www.qt.io/licensing/
-**
-** This file is part of the Qt VS Add-in.
-**
-** $QT_BEGIN_LICENSE:GPL-EXCEPT$
-** Commercial License Usage
-** Licensees holding valid commercial Qt licenses may use this file in
-** accordance with the commercial license agreement provided with the
-** Software or, alternatively, in accordance with the terms contained in
-** a written agreement between you and The Qt Company. For licensing terms
-** and conditions see https://www.qt.io/terms-conditions. For further
-** information use the contact form at https://www.qt.io/contact-us.
-**
-** GNU General Public License Usage
-** Alternatively, this file may be used under the terms of the GNU
-** General Public License version 3 as published by the Free Software
-** Foundation with exceptions as appearing in the file LICENSE.GPL3-EXCEPT
-** included in the packaging of this file. Please review the following
-** information to ensure the GNU General Public License requirements will
-** be met: https://www.gnu.org/licenses/gpl-3.0.html.
-**
-** $QT_END_LICENSE$
-**
-****************************************************************************/
-
-namespace Digia.Qt5ProjectLib
-{
- using System;
- using System.Drawing;
- using System.Windows.Forms;
-
- public class ProjectMacros
- {
- public const string Name = "%(Filename)";
- public const string FileName = "%(Identity)";
- public const string Path = "%(FullPath)";
- }
-
- public class FakeFilter
- {
- private string uniqueIdentifier = "";
- private string name = "";
- private string filter = "";
- private bool parseFiles = true;
- private bool sccFiles = true;
-
- public string UniqueIdentifier
- {
- get { return uniqueIdentifier; }
- set { uniqueIdentifier = value; }
- }
-
- public string Name
- {
- get { return name; }
- set { name = value; }
- }
-
- public string Filter
- {
- get { return filter; }
- set { filter = value; }
- }
-
- public bool ParseFiles
- {
- get { return parseFiles; }
- set { parseFiles = value; }
- }
-
- public bool SCCFiles
- {
- get { return sccFiles; }
- set { sccFiles = value; }
- }
- }
-
- public struct BuildConfig
- {
- public const uint Both = 0x03;
- public const uint Release = 0x01;
- public const uint Debug = 0x02;
- }
-
- public enum FilesToList
- {
- FL_Resources = 1,
- FL_CppFiles = 2,
- FL_HFiles = 3,
- FL_UiFiles = 4,
- FL_Generated = 5,
- FL_Translation = 6,
- FL_WinResource = 7
- }
-
- public struct TemplateType
- {
- // project type
- public const uint ProjectType = 0x003; // 0011
- public const uint Application = 0x000; // 0000
- public const uint DynamicLibrary = 0x001; // 0001
- public const uint StaticLibrary = 0x002; // 0010
- // subsystem
- public const uint GUISystem = 0x004; // 0100
- public const uint ConsoleSystem = 0x008; // 1000
- // qt3
- public const uint Qt3Project = 0x010; //10000
- // plugin
- public const uint PluginProject = 0x100;
- }
-
- [Serializable]
- public class QtVSException : ApplicationException
- {
- public QtVSException(string message)
- : base(message)
- {
- }
- }
-
- public class MainWinWrapper : IWin32Window
- {
- private EnvDTE.DTE dteObject = null;
-
- public MainWinWrapper(EnvDTE.DTE dte)
- {
- dteObject = dte;
- }
-
- #region IWin32Window Members
- public System.IntPtr Handle
- {
- get
- {
- if (dteObject != null)
- return new System.IntPtr(dteObject.MainWindow.HWnd);
- return new System.IntPtr(0);
- }
- }
- #endregion
- }
-
- public class ImageButton : System.Windows.Forms.Button
- {
- private Image img = null;
- private Image dimg = null;
- public ImageButton(Image image)
- {
- img = image;
- BackColor = System.Drawing.SystemColors.Control;
- }
-
- // support for disabled image
- public ImageButton(Image image, Image dimage)
- {
- img = image;
- dimg = dimage;
- BackColor = System.Drawing.SystemColors.Control;
- }
-
- protected override void OnPaint(PaintEventArgs e)
- {
- base.OnPaint(e);
-
- int xoffset = (Size.Width - img.Width)/2;
- int yoffset = (Size.Height - img.Height)/2;
- int imgWidth = img.Width;
- int imgHeight = img.Height;
-
- // make it smaller if necessary
- if (xoffset < 0)
- imgWidth = Size.Width;
- if (yoffset < 0)
- imgHeight = Size.Height;
-
- if ((dimg != null) && (!this.Enabled))
- e.Graphics.DrawImage(dimg, xoffset, yoffset,
- imgWidth, imgHeight);
- else if (img != null)
- e.Graphics.DrawImage(img, xoffset, yoffset,
- imgWidth, imgHeight);
- }
- }
-}
diff --git a/Qt4VS2003/QtProjectLib/HelperFunctions.cs b/Qt4VS2003/QtProjectLib/HelperFunctions.cs
deleted file mode 100644
index 2251e0e4..00000000
--- a/Qt4VS2003/QtProjectLib/HelperFunctions.cs
+++ /dev/null
@@ -1,1831 +0,0 @@
-/****************************************************************************
-**
-** Copyright (C) 2016 The Qt Company Ltd.
-** Contact: https://www.qt.io/licensing/
-**
-** This file is part of the Qt VS Add-in.
-**
-** $QT_BEGIN_LICENSE:GPL-EXCEPT$
-** Commercial License Usage
-** Licensees holding valid commercial Qt licenses may use this file in
-** accordance with the commercial license agreement provided with the
-** Software or, alternatively, in accordance with the terms contained in
-** a written agreement between you and The Qt Company. For licensing terms
-** and conditions see https://www.qt.io/terms-conditions. For further
-** information use the contact form at https://www.qt.io/contact-us.
-**
-** GNU General Public License Usage
-** Alternatively, this file may be used under the terms of the GNU
-** General Public License version 3 as published by the Free Software
-** Foundation with exceptions as appearing in the file LICENSE.GPL3-EXCEPT
-** included in the packaging of this file. Please review the following
-** information to ensure the GNU General Public License requirements will
-** be met: https://www.gnu.org/licenses/gpl-3.0.html.
-**
-** $QT_END_LICENSE$
-**
-****************************************************************************/
-
-namespace Digia.Qt5ProjectLib
-{
- using Microsoft.Win32;
- using Microsoft.VisualStudio.VCProjectEngine;
- using System;
- using System.IO;
- using System.Runtime.InteropServices;
- using System.Security.Permissions;
- using System.Collections;
- using System.Collections.Generic;
- using System.Windows.Forms;
- using System.Drawing;
- using System.Reflection;
- using System.Text.RegularExpressions;
- using EnvDTE;
- using System.Xml;
-
- public class HelperFunctions
- {
- [DllImport("kernel32.dll",CharSet=CharSet.Auto, SetLastError=true)]
- [return:MarshalAs(UnmanagedType.Bool)]
- public static extern bool SetEnvironmentVariable(string lpName, string lpValue);
-
- // used when creating a new template (needs to be static)
- private static System.CodeDom.Compiler.TempFileCollection tmpFiles = null;
-
- public static string FindQtDirWithTools()
- {
- string empty = null;
- return FindQtDirWithTools(empty);
- }
-
- public static string FindQtDirWithTools(Project project)
- {
- QtVersionManager versionManager = QtVersionManager.The();
- string projectQtVersion = null;
- if (HelperFunctions.IsQtProject(project))
- {
- projectQtVersion = versionManager.GetProjectQtVersion(project);
- }
- return FindQtDirWithTools(projectQtVersion);
- }
-
- public static string FindQtDirWithTools(string projectQtVersion)
- {
- string tool = null;
- return FindQtDirWithTools(tool, projectQtVersion);
- }
-
- public static string FindQtDirWithTools(string tool, string projectQtVersion)
- {
- if (!string.IsNullOrEmpty(tool))
- {
- if (!tool.ToLower().StartsWith("\\bin\\"))
- tool = "\\bin\\" + tool;
- if (!tool.ToLower().EndsWith(".exe"))
- tool += ".exe";
- }
-
- QtVersionManager versionManager = QtVersionManager.The();
- string qtDir = null;
- if (projectQtVersion != null)
- qtDir = versionManager.GetInstallPath(projectQtVersion);
-
- if (qtDir == null)
- qtDir = System.Environment.GetEnvironmentVariable("QTDIR");
-
- bool found = false;
- if (tool == null)
- found = File.Exists(qtDir + "\\bin\\designer.exe")
- && File.Exists(qtDir + "\\bin\\linguist.exe");
- else
- found = File.Exists(qtDir + tool);
- if (!found)
- {
- VersionInformation exactlyMatchingVersion = null;
- VersionInformation matchingVersion = null;
- VersionInformation somehowMatchingVersion = null;
- VersionInformation viProjectQtVersion = versionManager.GetVersionInfo(projectQtVersion);
- foreach (string qtVersion in versionManager.GetVersions())
- {
- VersionInformation vi = versionManager.GetVersionInfo(qtVersion);
- if (tool == null)
- found = File.Exists(vi.qtDir + "\\bin\\designer.exe")
- && File.Exists(vi.qtDir + "\\bin\\linguist.exe");
- else
- found = File.Exists(vi.qtDir + tool);
- if (!found)
- continue;
-
- if (viProjectQtVersion != null
- && vi.qtMajor == viProjectQtVersion.qtMajor
- && vi.qtMinor == viProjectQtVersion.qtMinor)
- {
- exactlyMatchingVersion = vi;
- break;
- }
- if (matchingVersion == null
- && viProjectQtVersion != null
- && vi.qtMajor == viProjectQtVersion.qtMajor)
- {
- matchingVersion = vi;
- }
- if (somehowMatchingVersion == null)
- somehowMatchingVersion = vi;
- }
-
- if (exactlyMatchingVersion != null)
- qtDir = exactlyMatchingVersion.qtDir;
- else if (matchingVersion != null)
- qtDir = matchingVersion.qtDir;
- else if (somehowMatchingVersion != null)
- qtDir = somehowMatchingVersion.qtDir;
- else
- {
- qtDir = null;
- }
- }
- return qtDir;
- }
-
- static public bool HasSourceFileExtension(string fileName)
- {
- fileName = fileName.ToLower();
- if (fileName.EndsWith(".cpp") || fileName.EndsWith(".c")
- || fileName.EndsWith(".cxx"))
- return true;
- return false;
- }
-
- static public bool HasHeaderFileExtension(string fileName)
- {
- fileName = fileName.ToLower();
- if (fileName.EndsWith(".h") || fileName.EndsWith(".hpp")
- || fileName.EndsWith(".hxx"))
- return true;
- return false;
- }
-
- static public void SetDebuggingEnvironment(EnvDTE.Project prj)
- {
- SetDebuggingEnvironment(prj, "");
- }
-
- static public void SetDebuggingEnvironment(EnvDTE.Project prj, string solutionConfig)
- {
- SetDebuggingEnvironment(prj, "PATH=$(QTDIR)\\bin;$(PATH)", false, solutionConfig);
- }
-
- static public void SetDebuggingEnvironment(EnvDTE.Project prj, string envpath, bool overwrite)
- {
- SetDebuggingEnvironment(prj, envpath, overwrite, "");
- }
-
- static public void SetDebuggingEnvironment(EnvDTE.Project prj, string envpath, bool overwrite, string solutionConfig)
- {
- // Get platform name from given solution configuration
- // or if not available take the active configuration
- String activePlatformName = "";
- if (solutionConfig == null || solutionConfig.Length == 0)
- {
- // First get active configuration cause not given as parameter
- EnvDTE.Configuration activeConf = prj.ConfigurationManager.ActiveConfiguration;
- solutionConfig = activeConf.ConfigurationName + "|" + activeConf.PlatformName;
- activePlatformName = activeConf.PlatformName;
- }
- else
- {
- activePlatformName = solutionConfig.Split('|')[1];
- }
-
- VCProject vcprj = prj.Object as VCProject;
- foreach (VCConfiguration conf in vcprj.Configurations as IVCCollection)
- {
- // Set environment only for active (or given) platform
- VCPlatform cur_platform = conf.Platform as VCPlatform;
- if (cur_platform.Name != activePlatformName)
- continue;
-
- VCDebugSettings de = conf.DebugSettings as VCDebugSettings;
- string withoutPath = envpath.Remove(envpath.LastIndexOf(";$(PATH)"));
- if (overwrite || de.Environment == null || de.Environment.Length == 0)
- de.Environment = envpath;
- else if (!de.Environment.Contains(envpath) && !de.Environment.Contains(withoutPath))
- {
- Match m = Regex.Match(de.Environment, "PATH\\s*=\\s*");
- if (m.Success)
- {
- de.Environment = Regex.Replace(de.Environment, "PATH\\s*=\\s*", withoutPath + ";");
- if (!de.Environment.Contains("$(PATH)") && !de.Environment.Contains("%PATH%"))
- {
- if (!de.Environment.EndsWith(";"))
- de.Environment = de.Environment + ";";
- de.Environment += "$(PATH)";
- }
- }
- else
- {
- if (!string.IsNullOrEmpty(de.Environment))
- de.Environment += "\n";
- de.Environment += envpath;
- }
- }
- }
- }
-
- public static bool IsProjectInSolution(EnvDTE.DTE dteObject, string fullName)
- {
- FileInfo fi = new FileInfo(fullName);
-
- foreach (EnvDTE.Project p in HelperFunctions.ProjectsInSolution(dteObject))
- {
- if (p.FullName.ToLower() == fi.FullName.ToLower())
- return true;
- }
- return false;
- }
-
- /// <summary>
- /// Returns the normalized file path of a given file.
- /// </summary>
- /// <param name="name">file name</param>
- static public string NormalizeFilePath(string name)
- {
- FileInfo fi = new FileInfo(name);
- return fi.FullName;
- }
-
- static public string NormalizeRelativeFilePath(string path)
- {
- if (path == null)
- return ".\\";
-
- path = path.Trim();
- path = path.Replace("/", "\\");
-
- string tmp = "";
- while (tmp != path)
- {
- tmp = path;
- path = path.Replace("\\\\", "\\");
- }
-
- path = path.Replace("\"", "");
-
- if (path != "." && !IsAbsoluteFilePath(path) && !path.StartsWith(".\\")
- && !path.StartsWith("$"))
- path = ".\\" + path;
-
- if (path.EndsWith("\\"))
- path = path.Substring(0, path.Length - 1);
-
- return path;
- }
-
- static public bool IsAbsoluteFilePath(string path)
- {
- path = path.Trim();
- if (path.Length >= 2 && path[1] == ':')
- return true;
- if (path.StartsWith("\\") || path.StartsWith("/"))
- return true;
-
- return false;
- }
-
- /// <summary>
- /// Returns the normalized file path of a given file. If quote
- /// is true the returned string will be set in quotes otherwise
- /// not.
- /// </summary>
- /// <param name="name">file name</param>
- /// <param name="quote">quote</param>
- static public string NormalizeFilePath(string name, bool quote)
- {
- if (quote == true)
- return "\"" + NormalizeFilePath(name) + "\"";
- else
- return NormalizeFilePath(name);
- }
-
- /// <summary>
- /// Reads lines from a .pro file that is opened with a StreamReader
- /// and concatenates strings that end with a backslash.
- /// </summary>
- /// <param name="streamReader"></param>
- /// <returns>the composite string</returns>
- static private string ReadProFileLine(StreamReader streamReader)
- {
- string line = streamReader.ReadLine();
- while (line != null && line.EndsWith("\\")) {
- line = line.Remove(line.Length - 1);
- string appendix = streamReader.ReadLine();
- if (appendix != null) line += appendix;
- }
- return line;
- }
-
- /// <summary>
- /// Reads a .pro file and returns true if it is a subdirs template.
- /// </summary>
- /// <param name="profile">full name of .pro file to read</param>
- /// <returns>true if this is a subdirs file</returns>
- static public bool IsSubDirsFile(string profile)
- {
- try
- {
- StreamReader sr = new StreamReader(profile);
- string strLine = "";
-
- while ((strLine = ReadProFileLine(sr)) != null)
- {
- strLine = strLine.Replace(" ", "").Replace("\t", "").ToLower();
- if (strLine.StartsWith("template"))
- {
- sr.Close();
- if (strLine.StartsWith("template=subdirs"))
- return true;
- return false;
- }
- }
- sr.Close();
- }
- catch(System.Exception e)
- {
- Messages.DisplayErrorMessage(e);
- }
- return false;
- }
-
- /// <summary>
- /// Returns the relative path between a given file and a path.
- /// </summary>
- /// <param name="path">absolute path</param>
- /// <param name="file">absolute file name</param>
- public static string GetRelativePath(string path, string file)
- {
- if (file == null || path == null)
- return "";
- FileInfo fi = new FileInfo(file);
- DirectoryInfo di = new DirectoryInfo(path);
-
- char[] separator = { '\\' };
- string[] fiArray = fi.FullName.Split(separator);
- string dir = di.FullName;
- while (dir.EndsWith("\\"))
- dir = dir.Remove(dir.Length-1, 1);
- string[] diArray = dir.Split(separator);
-
- int minLen = fiArray.Length < diArray.Length ? fiArray.Length : diArray.Length;
- int i=0, j=0, commonParts=0;
-
- while (i<minLen && fiArray[i].ToLower() == diArray[i].ToLower())
- {
- commonParts++;
- i++;
- }
-
- if (commonParts < 1)
- return fi.FullName;
-
- string result = "";
-
- for (j=i; j<fiArray.Length; j++)
- {
- if (j==i)
- result = fiArray[j];
- else
- result += "\\" + fiArray[j];
- }
- while (i<diArray.Length)
- {
- result = "..\\" + result;
- i++;
- }
- //MessageBox.Show(path + "\n" + file + "\n" + result);
- if (result.StartsWith("..\\"))
- return result;
- return ".\\" + result;
- }
-
-
- /// <summary>
- /// Replaces a string in the commandLine, description, outputs and additional dependencies
- /// in all Custom build tools of the project
- /// </summary>
- /// <param name="project">Project</param>
- /// <param name="oldString">String, which is going to be replaced</param>
- /// <param name="oldString">String, which is going to replace the other one</param>
- /// <returns></returns>
- public static void ReplaceInCustomBuildTools(EnvDTE.Project project, string oldString, string replaceString)
- {
- VCProject vcPro = (VCProject)project.Object;
- if (vcPro == null)
- return;
-
- foreach (VCFile vcfile in (IVCCollection)vcPro.Files)
- {
- foreach (VCFileConfiguration config in (IVCCollection)vcfile.FileConfigurations)
- {
- try
- {
- VCCustomBuildTool tool = HelperFunctions.GetCustomBuildTool(config);
- if (tool == null)
- continue;
-
- tool.CommandLine = ReplaceCaseInsensitive(tool.CommandLine, oldString, replaceString);
- tool.Description = ReplaceCaseInsensitive(tool.Description, oldString, replaceString);
- tool.Outputs = ReplaceCaseInsensitive(tool.Outputs, oldString, replaceString);
- tool.AdditionalDependencies = ReplaceCaseInsensitive(tool.AdditionalDependencies, oldString, replaceString);
- }
- catch (Exception)
- {
- }
- }
- }
- }
-
- /// <summary>
- /// Since VS2010 it is possible to have VCCustomBuildTools without commandlines
- /// for certain filetypes. We are not interested in them and thus try to read the
- /// tool's commandline. If this causes an exception, we ignore it.
- /// There does not seem to be another way for checking which kind of tool it is.
- /// </summary>
- /// <param name="config">File configuration</param>
- /// <returns></returns>
- static public VCCustomBuildTool GetCustomBuildTool(VCFileConfiguration config)
- {
- VCCustomBuildTool tool = config.Tool as VCCustomBuildTool;
- if (tool == null)
- return null;
-
- try
- {
- // TODO: The return value is not used at all?
- string cmdLine = tool.CommandLine;
- }
- catch
- {
- return null;
- }
- return tool;
- }
-
- /// <summary>
- /// Since VS2010 we have to ensure, that a custom build tool is present
- /// if we want to use it. In order to do so, the ProjectItem's ItemType
- /// has to be "CustomBuild"
- /// </summary>
- /// <param name="projectItem">Project Item which needs to have custom build tool</param>
- static public void EnsureCustomBuildToolAvailable(ProjectItem projectItem)
- {
- foreach (Property prop in projectItem.Properties)
- {
- if (prop.Name == "ItemType")
- {
- if ((string)prop.Value != "CustomBuild")
- prop.Value = "CustomBuild";
- break;
- }
- }
- }
-
- public static string ReplaceCaseInsensitive(string original,
- string pattern, string replacement)
- {
- int count, position0, position1;
- count = position0 = position1 = 0;
- string upperString = original.ToUpper();
- string upperPattern = pattern.ToUpper();
- int inc = (original.Length / pattern.Length) *
- (replacement.Length - pattern.Length);
- char[] chars = new char[original.Length + Math.Max(0, inc)];
- while ((position1 = upperString.IndexOf(upperPattern,
- position0)) != -1)
- {
- for (int i = position0; i < position1; ++i)
- chars[count++] = original[i];
- for (int i = 0; i < replacement.Length; ++i)
- chars[count++] = replacement[i];
- position0 = position1 + pattern.Length;
- }
- if (position0 == 0) return original;
- for (int i = position0; i < original.Length; ++i)
- chars[count++] = original[i];
- return new string(chars, 0, count);
- }
-
- /// <summary>
- /// As Qmake -tp vc Adds the full path to the additional dependencies
- /// we need to do the same when toggling project kind to qmake generated.
- /// </summary>
- /// <param name="project">Project</param>
- /// <returns></returns>
- private static string AddFullPathToAdditionalDependencies(string qtDir, string additionalDependencies)
- {
- string returnString = additionalDependencies;
- returnString =
- Regex.Replace(returnString, "Qt(\\S+5?)\\.lib", qtDir + "\\lib\\Qt${1}.lib");
- returnString =
- Regex.Replace(returnString, "(qtmaind?5?)\\.lib", qtDir + "\\lib\\${1}.lib");
- returnString =
- Regex.Replace(returnString, "(enginiod?5?)\\.lib", qtDir + "\\lib\\${1}.lib");
- return returnString;
- }
-
- /// <summary>
- /// Toggles the kind of a project. If the project is a QMake generated project (qmake -tp vc)
- /// it is transformed to an Add-in Qt project and vice versa.
- /// </summary>
- /// <param name="project">Project</param>
- /// <returns></returns>
- public static void ToggleProjectKind(EnvDTE.Project project)
- {
- string qtDir = null;
- VCProject vcPro = (VCProject)project.Object;
- if (!IsQMakeProject(project))
- return;
- if (IsQtProject(project))
- {
- QtProject qtPro = QtProject.Create(project);
- QtVersionManager vm = QtVersionManager.The();
- qtDir = vm.GetInstallPath(project);
-
- foreach (string global in (string[])project.Globals.VariableNames)
- {
- if (global.StartsWith("Qt5Version"))
- {
- project.Globals.set_VariablePersists(global, false);
- }
- }
-
- foreach (VCConfiguration config in (IVCCollection)vcPro.Configurations)
- {
- CompilerToolWrapper compiler = CompilerToolWrapper.Create(config);
- VCLinkerTool linker = (VCLinkerTool)((IVCCollection)config.Tools).Item("VCLinkerTool");
- VCLibrarianTool librarian = (VCLibrarianTool)((IVCCollection)config.Tools).Item("VCLibrarianTool");
- if (compiler != null)
- {
- string additionalIncludes = compiler.GetAdditionalIncludeDirectories();
- additionalIncludes = ReplaceCaseInsensitive(additionalIncludes, "$(QTDIR)", qtDir);
- compiler.SetAdditionalIncludeDirectories(additionalIncludes);
- }
- if (linker != null)
- {
- linker.AdditionalLibraryDirectories = ReplaceCaseInsensitive(linker.AdditionalLibraryDirectories, "$(QTDIR)", qtDir);
- linker.AdditionalDependencies = AddFullPathToAdditionalDependencies(qtDir, linker.AdditionalDependencies);
- }
- else
- {
- librarian.AdditionalLibraryDirectories = ReplaceCaseInsensitive(librarian.AdditionalLibraryDirectories, "$(QTDIR)", qtDir);
- librarian.AdditionalDependencies = AddFullPathToAdditionalDependencies(qtDir, librarian.AdditionalDependencies);
- }
- }
-
- ReplaceInCustomBuildTools(project, "$(QTDIR)", qtDir);
- }
- else
- {
- qtDir = GetQtDirFromQMakeProject(project);
-
- QtVersionManager vm = QtVersionManager.The();
- string qtVersion = vm.GetQtVersionFromInstallDir(qtDir);
- if (qtVersion == null)
- qtVersion = vm.GetDefaultVersion();
- if (qtDir == null)
- qtDir = vm.GetInstallPath(qtVersion);
- VersionInformation vi = vm.GetVersionInfo(qtVersion);
- string platformName = vi.GetVSPlatformName();
- vm.SaveProjectQtVersion(project, qtVersion, platformName);
- QtProject qtPro = QtProject.Create(project);
- if (!qtPro.SelectSolutionPlatform(platformName) || !qtPro.HasPlatform(platformName))
- {
- bool newProject = false;
- qtPro.CreatePlatform("Win32", platformName, null, vi, ref newProject);
- if (!qtPro.SelectSolutionPlatform(platformName))
- {
- Messages.PaneMessage(project.DTE, "Can't select the platform " + platformName + ".");
- }
- }
-
- string activeConfig = project.ConfigurationManager.ActiveConfiguration.ConfigurationName;
- VCConfiguration activeVCConfig = (VCConfiguration)((IVCCollection)qtPro.VCProject.Configurations).Item(activeConfig);
- if (activeVCConfig.ConfigurationType == ConfigurationTypes.typeDynamicLibrary)
- {
- CompilerToolWrapper compiler = CompilerToolWrapper.Create(activeVCConfig);
- VCLinkerTool linker = (VCLinkerTool)((IVCCollection)activeVCConfig.Tools).Item("VCLinkerTool");
- string ppdefs = compiler.GetPreprocessorDefinitions();
- if (ppdefs != null
- && ppdefs.IndexOf("QT_PLUGIN") > -1
- && ppdefs.IndexOf("QDESIGNER_EXPORT_WIDGETS") > -1
- && ppdefs.IndexOf("QtDesigner") > -1
- && linker.AdditionalDependencies != null
- && linker.AdditionalDependencies.IndexOf("QtDesigner") > -1)
- {
- qtPro.MarkAsDesignerPluginProject();
- }
- }
-
- HelperFunctions.CleanupQMakeDependencies(project);
-
- foreach (VCConfiguration config in (IVCCollection)vcPro.Configurations)
- {
- CompilerToolWrapper compiler = CompilerToolWrapper.Create(config);
- VCLinkerTool linker = (VCLinkerTool)((IVCCollection)config.Tools).Item("VCLinkerTool");
-
- if (compiler != null)
- {
- List<string> additionalIncludes = compiler.AdditionalIncludeDirectories;
- if (additionalIncludes != null)
- {
- ReplaceDirectory(ref additionalIncludes, qtDir, "$(QTDIR)", project);
- compiler.AdditionalIncludeDirectories = additionalIncludes;
- }
- }
- if (linker != null)
- {
- LinkerToolWrapper linkerToolWrapper = new LinkerToolWrapper(linker);
- List<string> paths = linkerToolWrapper.AdditionalLibraryDirectories;
- if (paths != null)
- {
- ReplaceDirectory(ref paths, qtDir, "$(QTDIR)", project);
- linkerToolWrapper.AdditionalLibraryDirectories = paths;
- }
- }
- }
-
- ReplaceInCustomBuildTools(project, qtDir, "$(QTDIR)");
- qtPro.TranslateFilterNames();
- }
- project.Save(project.FullName);
- }
-
- /// <summary>
- /// Replaces every occurrence of oldDirectory with replacement in the array of strings.
- /// Parameter oldDirectory must be an absolute path.
- /// This function converts relative directories to absolute paths internally
- /// and replaces them, if necessary. If no replacement is done, the path isn't altered.
- /// </summary>
- /// <param name="files"></param>
- /// <param name="project">The project is needed to convert relative paths to absolute paths.</param>
- private static void ReplaceDirectory(ref List<string> paths, string oldDirectory, string replacement, Project project)
- {
- for (int i = 0; i < paths.Count; ++i)
- {
- string dirName = paths[i];
- if (dirName.StartsWith("\"") && dirName.EndsWith("\""))
- {
- dirName = dirName.Substring(1, dirName.Length - 2);
- }
- if (!Path.IsPathRooted(dirName))
- {
- // convert to absolute path
- dirName = Path.Combine(Path.GetDirectoryName(project.FullName), dirName);
- dirName = Path.GetFullPath(dirName);
- string alteredDirName = ReplaceCaseInsensitive(dirName, oldDirectory, replacement);
- if (alteredDirName == dirName)
- continue;
- dirName = alteredDirName;
- }
- else
- {
- dirName = ReplaceCaseInsensitive(dirName, oldDirectory, replacement);
- }
- paths[i] = dirName;
- }
- }
-
- public static string GetQtDirFromQMakeProject(Project project)
- {
- VCProject vcProject = project.Object as VCProject;
- if (vcProject == null)
- return null;
-
- try
- {
- foreach (VCConfiguration projectConfig in vcProject.Configurations as IVCCollection)
- {
- CompilerToolWrapper compiler = CompilerToolWrapper.Create(projectConfig);
- if (compiler != null)
- {
- List<string> additionalIncludeDirectories = compiler.AdditionalIncludeDirectories;
- if (additionalIncludeDirectories != null)
- {
- foreach (string dir in additionalIncludeDirectories)
- {
- string subdir = Path.GetFileName(dir);
- if (subdir != "QtCore" && subdir != "QtGui") // looking for Qt include directories
- continue;
- string dirName = Path.GetDirectoryName(dir); // cd ..
- dirName = Path.GetDirectoryName(dirName); // cd ..
- if (!Path.IsPathRooted(dirName))
- {
- string projectDir = Path.GetDirectoryName(project.FullName);
- dirName = Path.Combine(projectDir, dirName);
- dirName = Path.GetFullPath(dirName);
- }
- return dirName;
- }
- }
- }
-
- VCLinkerTool linker = (VCLinkerTool)((IVCCollection)projectConfig.Tools).Item("VCLinkerTool");
- if (linker != null)
- {
- LinkerToolWrapper linkerWrapper = new LinkerToolWrapper(linker);
- List<string> linkerPaths = linkerWrapper.AdditionalDependencies;
- if (linkerPaths != null)
- {
- foreach (string library in linkerPaths)
- {
- string lowerLibrary = library.ToLower();
- int idx = lowerLibrary.IndexOf("\\lib\\qtmain.lib");
- if (idx == -1)
- idx = lowerLibrary.IndexOf("\\lib\\qtmaind.lib");
- if (idx == -1)
- idx = lowerLibrary.IndexOf("\\lib\\qtcore5.lib");
- if (idx == -1)
- idx = lowerLibrary.IndexOf("\\lib\\qtcored5.lib");
- if (idx == -1)
- continue;
-
- string dirName = Path.GetDirectoryName(library);
- dirName = Path.GetDirectoryName(dirName); // cd ..
- if (!Path.IsPathRooted(dirName))
- {
- string projectDir = Path.GetDirectoryName(project.FullName);
- dirName = Path.Combine(projectDir, dirName);
- dirName = Path.GetFullPath(dirName);
- }
-
- return dirName;
- }
- }
-
- linkerPaths = linkerWrapper.AdditionalLibraryDirectories;
- if (linker != null && linkerPaths != null)
- {
- foreach (string libDir in linkerPaths)
- {
- string dirName = libDir;
- if (!Path.IsPathRooted(dirName))
- {
- string projectDir = Path.GetDirectoryName(project.FullName);
- dirName = Path.Combine(projectDir, dirName);
- dirName = Path.GetFullPath(dirName);
- }
-
- if (File.Exists(dirName + "\\qtmain.lib") ||
- File.Exists(dirName + "\\qtmaind.lib") ||
- File.Exists(dirName + "\\QtCore5.lib") ||
- File.Exists(dirName + "\\QtCored5.lib"))
- {
- return Path.GetDirectoryName(dirName);
- }
- }
- }
- }
- }
- }
- catch { }
-
- return null;
- }
-
- /// <summary>
- /// Return true if the project is a Qt project, otherwise false.
- /// </summary>
- /// <param name="proj">project</param>
- /// <returns></returns>
- public static bool IsQtProject(VCProject proj)
- {
- if (!IsQMakeProject(proj))
- return false;
-
- EnvDTE.Project envPro = proj.Object as EnvDTE.Project;
- if (envPro.Globals == null || envPro.Globals.VariableNames == null)
- return false;
-
- foreach (string global in envPro.Globals.VariableNames as string[])
- if (global.StartsWith("Qt5Version") && envPro.Globals.get_VariablePersists(global))
- return true;
- return false;
- }
-
- /// <summary>
- /// Returns true if the specified project is a Qt Project.
- /// </summary>
- /// <param name="proj">project</param>
- public static bool IsQtProject(EnvDTE.Project proj)
- {
- try
- {
- if (proj != null && proj.Kind == "{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}")
- {
- return HelperFunctions.IsQtProject(proj.Object as VCProject);
- }
- }
- catch { }
- return false;
- }
-
- /// <summary>
- /// Return true if the project is a QMake -tp vc project, otherwise false.
- /// </summary>
- /// <param name="proj">project</param>
- /// <returns></returns>
- public static bool IsQMakeProject(VCProject proj)
- {
- if (proj == null)
- return false;
- string keyword = proj.keyword;
- if (keyword == null || !keyword.StartsWith(Resources.qtProjectKeyword))
- return false;
-
- return true;
- }
-
- /// <summary>
- /// Returns true if the specified project is a QMake -tp vc Project.
- /// </summary>
- /// <param name="proj">project</param>
- public static bool IsQMakeProject(EnvDTE.Project proj)
- {
- try
- {
- if (proj != null && proj.Kind == "{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}")
- {
- return HelperFunctions.IsQMakeProject(proj.Object as VCProject);
- }
- }
- catch { }
- return false;
- }
-
- public static void CleanupQMakeDependencies(EnvDTE.Project project)
- {
- VCProject vcPro = (VCProject)project.Object;
- // clean up qmake mess
- Regex rxp1 = new Regex("\\bQt\\w+d?5?\\.lib\\b");
- Regex rxp2 = new Regex("\\bQAx\\w+\\.lib\\b");
- Regex rxp3 = new Regex("\\bqtmaind?.lib\\b");
- Regex rxp4 = new Regex("\\benginiod?.lib\\b");
- foreach (VCConfiguration cfg in (IVCCollection)vcPro.Configurations)
- {
- VCLinkerTool linker = (VCLinkerTool)((IVCCollection)cfg.Tools).Item("VCLinkerTool");
- if (linker == null || linker.AdditionalDependencies == null)
- continue;
- LinkerToolWrapper linkerWrapper = new LinkerToolWrapper(linker);
- List<string> deps = linkerWrapper.AdditionalDependencies;
- List<string> newDeps = new List<string>();
- foreach (string lib in deps)
- {
- Match m1 = rxp1.Match(lib);
- Match m2 = rxp2.Match(lib);
- Match m3 = rxp3.Match(lib);
- Match m4 = rxp4.Match(lib);
- if (m1.Success)
- newDeps.Add(m1.ToString());
- else if (m2.Success)
- newDeps.Add(m2.ToString());
- else if (m3.Success)
- newDeps.Add(m3.ToString());
- else if (m4.Success)
- newDeps.Add(m4.ToString());
- else
- newDeps.Add(lib);
- }
- // Remove Duplicates
- Dictionary<string, int> uniques = new Dictionary<string,int>();
- foreach (string dep in newDeps)
- {
- uniques[dep] = 1;
- }
- List<string> uniqueList = new List<string>(uniques.Keys);
- linkerWrapper.AdditionalDependencies = uniqueList;
- }
- }
-
- /// <summary>
- /// Creates a temporary qt project template file. It creates the filters
- /// in the order specified by the array.
- /// </summary>
- /// <param name="filters">The filters to add to the project file</param>
- /// <returns></returns>
- public static string CreateProjectTemplateFile(FakeFilter[] filters, bool useKeyword, string platformName)
- {
- // just to be safe
- ReleaseProjectTemplateFile();
-
- StreamWriter sw;
- tmpFiles = new System.CodeDom.Compiler.TempFileCollection();
- tmpFiles.KeepFiles = false;
-
- string tmpFile = tmpFiles.AddExtension("vcproj");
-
- try
- {
- if (SR.LanguageName == "ja")
- sw = new StreamWriter(tmpFile, false, System.Text.Encoding.GetEncoding(932));
- else
- sw = new StreamWriter(tmpFile, false);
- }
- catch (System.Exception e)
- {
- Messages.DisplayErrorMessage(e, SR.GetString("HelperFunctions_TryCreatingNewProject"));
- return null;
- }
-
- if (SR.LanguageName == "ja")
- sw.WriteLine("<?xml version=\"1.0\" encoding = \"shift_jis\"?>");
- else
- sw.WriteLine("<?xml version=\"1.0\" encoding = \"Windows-1252\"?>");
- sw.WriteLine("<VisualStudioProject");
- sw.WriteLine(" ProjectType=\"Visual C++\"");
- sw.WriteLine(" Version=\"7.10\"");
- sw.WriteLine(" ProjectGUID=\"{B12702AD-ABFB-343A-A199-8E24837244A3}\"");
- if (useKeyword)
- sw.WriteLine(" Keyword=\"" + Resources.qtProjectKeyword + "\">");
- else
- sw.WriteLine(">");
-
- sw.WriteLine(" <Platforms>");
- sw.WriteLine(" <Platform");
- sw.WriteLine(" Name=\"" + platformName + "\"/>");
- sw.WriteLine(" </Platforms>");
- sw.WriteLine(" <Configurations>");
- sw.WriteLine(" <Configuration");
- sw.WriteLine(" Name=\"Release|" + platformName + "\">");
- sw.WriteLine(" </Configuration>");
- sw.WriteLine(" <Configuration");
- sw.WriteLine(" Name=\"Debug|" + platformName + "\">");
- sw.WriteLine(" </Configuration>");
- sw.WriteLine(" </Configurations>");
- sw.WriteLine(" <Files>");
-
- for (int i=0; i<filters.Length; i++)
- {
- sw.WriteLine(" <Filter");
- sw.WriteLine(" Name=\"" + filters[i].Name + "\"");
- sw.WriteLine(" Filter=\"" + filters[i].Filter + "\"");
- if (!filters[i].ParseFiles)
- sw.WriteLine(" ParseFiles=\"FALSE\"");
- if (!filters[i].SCCFiles)
- sw.WriteLine(" SourceControlFiles=\"FALSE\"");
- sw.WriteLine(" UniqueIdentifier=\"" + filters[i].UniqueIdentifier + "\">");
- sw.WriteLine(" </Filter>");
- }
-
- sw.WriteLine(" </Files>");
- sw.WriteLine("</VisualStudioProject>");
-
- sw.Close();
-
- return tmpFile;
- }
-
- /// <summary>
- /// Deletes the file's directory if it is empty (not deleting the file itself so it must
- /// have been deleted before) and every empty parent directory until the first, non-empty
- /// directory is found.
- /// </summary>
- /// <param term='file'>Start point of the deletion</param>
- public static void DeleteEmptyParentDirs(VCFile file)
- {
- string dir = file.FullPath.Remove(file.FullPath.LastIndexOf(Path.DirectorySeparatorChar));
- DeleteEmptyParentDirs(dir);
- }
-
- /// <summary>
- /// Deletes the directory if it is emptyand every empty parent directory until the first,
- /// non-empty directory is found.
- /// </summary>
- /// <param term='file'>Start point of the deletion</param>
- public static void DeleteEmptyParentDirs(string directory)
- {
- DirectoryInfo dirInfo = new DirectoryInfo(directory);
- while (dirInfo.Exists && dirInfo.GetFileSystemInfos().Length == 0)
- {
- DirectoryInfo tmp = dirInfo;
- dirInfo = dirInfo.Parent;
- tmp.Delete();
- }
- }
-
- /// <summary>
- /// Deletes the temporary project file.
- /// </summary>
- public static void ReleaseProjectTemplateFile()
- {
- if (tmpFiles != null)
- tmpFiles.Delete();
- }
-
- /// <summary>
- /// Returns the template path. The returned path represents the common
- /// template directory of all templates, i.e. the special template
- /// directory e.g. for new projects has to be added.
- /// </summary>
- public static string GetTemplatePath()
- {
- try
- {
- string path = "c:\\";
- RegistryKey hkcu = Registry.LocalMachine;
- RegistryKey hkQVSIP = hkcu.OpenSubKey("SOFTWARE\\" + Resources.registryPackagePath);
- if (hkQVSIP == null)
- return path;
- else
- return (string)(hkQVSIP.GetValue("TemplateBasePath"));
- }
- catch
- {
- throw new QtVSException(SR.GetString("HelperFunctions_ErrorSearchForQtTemplatePath"));
- }
- }
-
- public static bool HasQObjectDeclaration(VCFile file)
- {
- return CxxFileContainsNotCommented(file, new string[] { "Q_OBJECT", "Q_GADGET" }, true, true);
- }
-
- public static bool CxxFileContainsNotCommented(VCFile file, string str, bool caseSensitive, bool suppressStrings)
- {
- return CxxFileContainsNotCommented(file, new string[] {str}, caseSensitive, suppressStrings);
- }
-
- public static bool CxxFileContainsNotCommented(VCFile file, string[] searchStrings, bool caseSensitive, bool suppressStrings)
- {
- if (!caseSensitive)
- for (int i = 0; i < searchStrings.Length; ++i)
- searchStrings[i] = searchStrings[i].ToLower();
-
- CxxStreamReader sr = null;
- bool found = false;
- try
- {
- string strLine;
- sr = new CxxStreamReader(file.FullPath);
- while (!found && (strLine = sr.ReadLine(suppressStrings)) != null)
- {
- if (!caseSensitive)
- strLine = strLine.ToLower();
- foreach (string str in searchStrings)
- {
- if (strLine.IndexOf(str) != -1)
- {
- found = true;
- break;
- }
- }
- }
- sr.Close();
- }
- catch (System.Exception)
- {
- if (sr != null)
- sr.Close();
- }
- return found;
- }
-
- public static bool SetEnvironmentVariableEx(string environmentVariable, string variableValue)
- {
- try
- {
- EnvironmentPermission environmentPermission = new EnvironmentPermission(EnvironmentPermissionAccess.Write, environmentVariable);
- environmentPermission.Demand();
- return SetEnvironmentVariable(environmentVariable, variableValue);
- }
- catch
- {
- throw new QtVSException(SR.GetString("HelperFunctions_CannotWriteEnvQTDIR"));
- }
- }
-
- public static string ChangePathFormat(string path)
- {
- return path.Replace('\\', '/');
- }
-
- public static string RemoveFileNameExtension(FileInfo fi)
- {
- int lastIndex = fi.Name.LastIndexOf(fi.Extension);
- return fi.Name.Remove(lastIndex, fi.Extension.Length);
- }
-
-
- public static bool IsInFilter(VCFile vcfile, FakeFilter filter)
- {
- VCProjectItem item = (VCProjectItem)vcfile;
-
- while((item.Parent != null) && (item.Kind != "VCProject"))
- {
- item = (VCProjectItem)item.Parent;
-
- if (item.Kind == "VCFilter")
- {
- VCFilter f = (VCFilter)item;
- if (f.UniqueIdentifier != null
- && f.UniqueIdentifier.ToLower() == filter.UniqueIdentifier.ToLower())
- return true;
- }
- }
- return false;
- }
-
- public static void CollapseFilter(UIHierarchyItem item, UIHierarchy hierarchy, string nodeToCollapseFilter)
- {
- if (string.IsNullOrEmpty(nodeToCollapseFilter))
- return;
-
- foreach (UIHierarchyItem innerItem in item.UIHierarchyItems)
- {
- if (innerItem.Name == nodeToCollapseFilter)
- CollapseFilter(innerItem, hierarchy);
- else if (innerItem.UIHierarchyItems.Count > 0)
- {
- CollapseFilter(innerItem, hierarchy, nodeToCollapseFilter);
- }
- }
- }
-
- public static void CollapseFilter(UIHierarchyItem item, UIHierarchy hierarchy)
- {
- UIHierarchyItems subItems = item.UIHierarchyItems;
- if (subItems != null)
- {
- foreach (UIHierarchyItem innerItem in subItems)
- {
- if (innerItem.UIHierarchyItems.Count > 0)
- {
- CollapseFilter(innerItem, hierarchy);
-
- if (innerItem.UIHierarchyItems.Expanded)
- {
- innerItem.UIHierarchyItems.Expanded = false;
- if (innerItem.UIHierarchyItems.Expanded == true)
- {
- innerItem.Select(vsUISelectionType.vsUISelectionTypeSelect);
- hierarchy.DoDefaultAction();
- }
- }
- }
- }
- }
- if (item.UIHierarchyItems.Expanded)
- {
- item.UIHierarchyItems.Expanded = false;
- if (item.UIHierarchyItems.Expanded == true)
- {
- item.Select(vsUISelectionType.vsUISelectionTypeSelect);
- hierarchy.DoDefaultAction();
- }
- }
- }
-
- // returns true if some exception occurs
- public static bool IsGenerated(VCFile vcfile)
- {
- try
- {
- return IsInFilter(vcfile, Filters.GeneratedFiles());
- }
- catch(System.Exception e)
- {
- MessageBox.Show(e.ToString());
- return true;
- }
- }
-
- // returns true if the file is a rc file (.rc)
- public static bool IsWinRCFile(VCFile vcfile)
- {
- if (vcfile == null)
- return false;
-
- if (vcfile.Extension.ToLower() == ".rc")
- return true;
-
- return false;
- }
-
- // returns true if the file is a translation file (.ts)
- public static bool IsTranslationFile(VCFile vcfile)
- {
- if (vcfile == null)
- return false;
-
- if (vcfile.Extension.ToLower() == ".ts")
- return true;
-
- return false;
- }
-
- // returns false if some exception occurs
- public static bool IsResource(VCFile vcfile)
- {
- try
- {
- return IsInFilter(vcfile, Filters.ResourceFiles());
- }
- catch(System.Exception)
- {
- return false;
- }
- }
-
- public static List<string> GetProjectFiles(EnvDTE.Project pro, FilesToList filter)
- {
- List<string> fileList = new List<string>();
-
- VCProject vcpro;
- try
- {
- vcpro = (VCProject)pro.Object;
- }
- catch(System.Exception e)
- {
- Messages.DisplayErrorMessage(e);
- return null;
- }
-
- string configurationName = pro.ConfigurationManager.ActiveConfiguration.ConfigurationName;
-
- foreach(VCFile vcfile in (IVCCollection)vcpro.Files)
- {
- // Why project files are also returned?
- if (vcfile.ItemName.EndsWith(".vcxproj.filters"))
- continue;
- bool excluded = false;
- IVCCollection fileConfigurations = (IVCCollection)vcfile.FileConfigurations;
- foreach (VCFileConfiguration config in fileConfigurations)
- {
- if (config.ExcludedFromBuild && config.MatchName(configurationName, false)) {
- excluded = true;
- break;
- }
- }
-
- if (excluded)
- continue;
-
- // can be in any filter
- if ((IsTranslationFile(vcfile)) &&
- (filter == FilesToList.FL_Translation))
- fileList.Add(ChangePathFormat(vcfile.RelativePath));
-
- // can also be in any filter
- if ((IsWinRCFile(vcfile)) &&
- (filter == FilesToList.FL_WinResource))
- fileList.Add(ChangePathFormat(vcfile.RelativePath));
-
- if (IsGenerated(vcfile))
- {
- if (filter == FilesToList.FL_Generated)
- fileList.Add(ChangePathFormat(vcfile.RelativePath));
- continue;
- }
-
- if (IsResource(vcfile))
- {
- if (filter == FilesToList.FL_Resources)
- fileList.Add(ChangePathFormat(vcfile.RelativePath));
- continue;
- }
-
- switch (filter)
- {
- case FilesToList.FL_UiFiles: // form files
- if (vcfile.Extension.ToLower() == ".ui")
- fileList.Add(ChangePathFormat(vcfile.RelativePath));
- break;
- case FilesToList.FL_HFiles:
- if (HelperFunctions.HasHeaderFileExtension(vcfile.Name))
- fileList.Add(ChangePathFormat(vcfile.RelativePath));
- break;
- case FilesToList.FL_CppFiles:
- if (HelperFunctions.HasSourceFileExtension(vcfile.Name))
- fileList.Add(ChangePathFormat(vcfile.RelativePath));
- break;
- }
- }
-
- return fileList;
- }
-
- /// <summary>
- /// Removes a file reference from the project and moves the file to the "Deleted" folder.
- /// </summary>
- /// <param name="vcpro"></param>
- /// <param name="fileName"></param>
- public static void RemoveFileInProject(VCProject vcpro, string fileName)
- {
- QtProject qtProj = QtProject.Create(vcpro);
- FileInfo fi = new FileInfo(fileName);
-
- foreach(VCFile vcfile in (IVCCollection)vcpro.Files)
- {
- if (vcfile.FullPath.ToLower() == fi.FullName.ToLower())
- {
- vcpro.RemoveFile(vcfile);
- qtProj.MoveFileToDeletedFolder(vcfile);
- }
- }
- }
-
- /// <summary>
- /// Returns true if the filter specified by its guid is currently
- /// selected and the filter is part of a Qt project. Otherwise, this
- /// function returns false.
- /// </summary>
- /// <param name="filterguid">A FakeFilter object.</param>
- public static bool IsFilterSelected(EnvDTE.DTE dteObject, FakeFilter filter)
- {
- if (dteObject == null)
- return false;
-
- try
- {
- System.Guid guid = new Guid("{6bb5f8f0-4483-11d3-8bcf-00c04f8ec28c}");
- EnvDTE.SelectedItems itms = dteObject.SelectedItems;
-
- foreach (EnvDTE.SelectedItem selItem in itms)
- {
- if (selItem.ProjectItem == null)
- continue;
- string kindGuid = selItem.ProjectItem.Kind.Substring(1, selItem.ProjectItem.Kind.Length - 2);
- if (kindGuid.ToLower() == guid.ToString().ToLower())
- {
- VCFilter filt = (VCFilter)selItem.ProjectItem.Object;
- if (filt != null && filt.UniqueIdentifier != null
- && filt.UniqueIdentifier.ToLower() == filter.UniqueIdentifier.ToLower()
- && HelperFunctions.IsQtProject(GetSelectedQtProject(dteObject)))
- return true;
- }
- }
- return false;
- }
- catch {}
-
- return false;
- }
-
- public static EnvDTE.Project GetSelectedProject(EnvDTE.DTE dteObject)
- {
- if (dteObject == null)
- return null;
- System.Array prjs = null;
- try
- {
- prjs = (System.Array)dteObject.ActiveSolutionProjects;
- }
- catch
- {
- // When VS2010 is started from the command line,
- // we may catch a "Unspecified error" here.
- }
- if (prjs == null || prjs.Length < 1)
- return null;
-
- // don't handle multiple selection... use the first one
- if (prjs.GetValue(0) is EnvDTE.Project)
- return (EnvDTE.Project)prjs.GetValue(0);
- return null;
- }
-
- public static EnvDTE.Project GetActiveDocumentProject(EnvDTE.DTE dteObject)
- {
- if (dteObject == null)
- return null;
- EnvDTE.Document doc = dteObject.ActiveDocument;
- if (doc == null)
- return null;
-
- if (doc.ProjectItem == null)
- return null;
-
- return doc.ProjectItem.ContainingProject;
- }
-
- public static EnvDTE.Project GetSingleProjectInSolution(EnvDTE.DTE dteObject)
- {
- List<Project> projectList = ProjectsInSolution(dteObject);
- if (dteObject == null || dteObject.Solution == null ||
- projectList.Count != 1)
- return null; // no way to know which one to select
-
- return projectList[0];
- }
-
- /// <summary>
- /// Returns the the current selected Qt Project. If not project
- /// is selected or if the selected project is not a Qt project
- /// this function returns null.
- /// </summary>
- public static EnvDTE.Project GetSelectedQtProject(EnvDTE.DTE dteObject)
- {
- // can happen sometimes shortly after starting VS
- if (dteObject == null || dteObject.Solution == null
- || HelperFunctions.ProjectsInSolution(dteObject).Count == 0)
- return null;
-
- EnvDTE.Project pro;
-
- if ((pro = GetSelectedProject(dteObject)) == null)
- if ((pro = GetSingleProjectInSolution(dteObject)) == null)
- pro = GetActiveDocumentProject(dteObject);
-
- return HelperFunctions.IsQtProject(pro) ? pro : null;
- }
-
- public static VCFile GetSelectedFile(EnvDTE.DTE dteObject)
- {
- if (GetSelectedQtProject(dteObject) == null)
- return null;
-
- if (dteObject.SelectedItems.Count <= 0)
- return null;
-
- // choose the first one
- EnvDTE.SelectedItem item = dteObject.SelectedItems.Item(1);
-
- if (item.ProjectItem == null)
- return null;
-
- VCProjectItem vcitem;
- try
- {
- vcitem = (VCProjectItem)item.ProjectItem.Object;
- }
- catch(System.Exception)
- {
- return null;
- }
-
- if (vcitem.Kind == "VCFile")
- return (VCFile)vcitem;
-
- return null;
- }
-
- public static VCFile[] GetSelectedFiles(EnvDTE.DTE dteObject)
- {
- if (GetSelectedQtProject(dteObject) == null)
- return null;
-
- if (dteObject.SelectedItems.Count <= 0)
- return null;
-
- EnvDTE.SelectedItems items = dteObject.SelectedItems;
-
- VCFile[] files = new VCFile[items.Count +1];
- for (int i = 1; i <= items.Count; ++i)
- {
- EnvDTE.SelectedItem item = items.Item(i);
- if (item.ProjectItem == null)
- continue;
-
- VCProjectItem vcitem;
- try
- {
- vcitem = (VCProjectItem)item.ProjectItem.Object;
- }
- catch (System.Exception)
- {
- return null;
- }
-
- if (vcitem.Kind == "VCFile")
- files[i-1] = (VCFile)vcitem;
- }
- files[items.Count] = null;
- return files;
- }
-
- public static Image GetSharedImage(string name)
- {
- Assembly a = Assembly.GetExecutingAssembly();
- Image image = null;
- name = "Digia." + name;
- Stream imgStream = a.GetManifestResourceStream(name);
- if (imgStream != null)
- {
- image = Image.FromStream(imgStream);
- imgStream.Close();
- }
- return image;
- }
-
- public static RccOptions ParseRccOptions(string cmdLine, VCFile qrcFile)
- {
- EnvDTE.Project pro = HelperFunctions.VCProjectToProject((VCProject)qrcFile.project);
-
- RccOptions rccOpts = new RccOptions(pro, qrcFile);
-
- if (cmdLine.Length > 0)
- {
- string[] cmdSplit = cmdLine.Split(new Char[] {' ','\t'});
- for (int i=0; i<cmdSplit.Length; ++i)
- {
- string lowercmdSplit = cmdSplit[i].ToLower();
- if (lowercmdSplit.Equals("-threshold"))
- {
- rccOpts.CompressFiles = true;
- rccOpts.CompressThreshold = int.Parse(cmdSplit[i+1]);
- }
- else if (lowercmdSplit.Equals("-compress"))
- {
- rccOpts.CompressFiles = true;
- rccOpts.CompressLevel = int.Parse(cmdSplit[i+1]);
- }
- }
- }
- return rccOpts;
- }
-
- public static EnvDTE.Project VCProjectToProject(VCProject vcproj)
- {
- return (EnvDTE.Project)vcproj.Object;
- }
-
- public static List<EnvDTE.Project> ProjectsInSolution(EnvDTE.DTE dteObject)
- {
- List<EnvDTE.Project> projects = new List<EnvDTE.Project>();
- Solution solution = dteObject.Solution;
- if (solution != null)
- {
- int c = solution.Count;
- for (int i = 1; i <= c; ++i)
- {
- try
- {
- Project prj = solution.Projects.Item(i) as Project;
- if (prj == null)
- continue;
- addSubProjects(prj, ref projects);
- }
- catch
- {
- // Ignore this exception... maybe the next project is ok.
- // This happens for example for Intel VTune projects.
- }
- }
- }
- return projects;
- }
-
- private static void addSubProjects(EnvDTE.Project prj, ref List<Project> projects)
- {
- // If the actual object of the project is null then the project was probably unloaded.
- if (prj.Object == null)
- return;
-
- if (prj.ConfigurationManager != null &&
- // Is this a Visual C++ project?
- prj.Kind == "{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}")
- {
- projects.Add(prj);
- }
- else
- {
- // In this case, prj is a solution folder
- addSubProjects(prj.ProjectItems, ref projects);
- }
- }
-
- private static void addSubProjects(EnvDTE.ProjectItems subItems, ref List<Project> projects)
- {
- if (subItems == null)
- return;
-
- foreach (ProjectItem item in subItems)
- {
- Project subprj = null;
- try
- {
- subprj = item.SubProject;
- }
- catch
- {
- // The property "SubProject" might not be implemented.
- // This is the case for Intel Fortran projects. (QTBUG-11567)
- }
- if (subprj != null)
- addSubProjects(subprj, ref projects);
- }
- }
-
- public static int GetMaximumCommandLineLength()
- {
- const int epsilon = 10; // just to be sure :)
- System.OperatingSystem os = System.Environment.OSVersion;
- if (os.Version.Major >= 6 ||
- (os.Version.Major == 5 && os.Version.Minor >= 1))
- return 8191 - epsilon; // Windows XP and above
- else
- return 2047 - epsilon;
- }
-
- /// <summary>
- /// Translates the machine type given as command line argument to the linker
- /// to the internal enum type VCProjectEngine.machineTypeOption.
- /// </summary>
- public static machineTypeOption TranslateMachineType(string cmdLineMachine)
- {
- switch (cmdLineMachine.ToUpper())
- {
- case "AM33":
- return machineTypeOption.machineAM33;
- case "X64":
- return machineTypeOption.machineAMD64;
- case "ARM":
- return machineTypeOption.machineARM;
- case "EBC":
- return machineTypeOption.machineEBC;
- case "IA-64":
- return machineTypeOption.machineIA64;
- case "M32R":
- return machineTypeOption.machineM32R;
- case "MIPS":
- return machineTypeOption.machineMIPS;
- case "MIPS16":
- return machineTypeOption.machineMIPS16;
- case "MIPSFPU":
- return machineTypeOption.machineMIPSFPU;
- case "MIPSFPU16":
- return machineTypeOption.machineMIPSFPU16;
- case "MIPS41XX":
- return machineTypeOption.machineMIPSR41XX;
- case "SH3":
- return machineTypeOption.machineSH3;
- case "SH3DSP":
- return machineTypeOption.machineSH3DSP;
- case "SH4":
- return machineTypeOption.machineSH4;
- case "SH5":
- return machineTypeOption.machineSH5;
- case "THUMB":
- return machineTypeOption.machineTHUMB;
- case "X86":
- return machineTypeOption.machineX86;
- default:
- return machineTypeOption.machineNotSet;
- }
- }
-
- private static List<string> availablePlatforms;
-
- /// <summary>
- /// Returns true if the given platform is available in the global settings of Visual Studio.
- /// On error this function returns false.
- /// </summary>
- public static bool IsPlatformAvailable(EnvDTE.DTE dteObject, string platformName)
- {
- if (availablePlatforms == null || availablePlatforms.Count == 0)
- {
- availablePlatforms = new List<string>();
- VCProjectEngine engine = new VCProjectEngineObject();
- IVCCollection platforms = engine.Platforms as IVCCollection;
- foreach (VCPlatform platform in platforms)
- availablePlatforms.Add(platform.Name);
- }
-
- if (availablePlatforms == null)
- return false;
-
- return availablePlatforms.Contains(platformName);
- }
-
- public static bool ArraysEqual(Array array1, Array array2)
- {
- if (array1 == array2)
- return true;
-
- if (array1 == null || array2 == null)
- return false;
-
- if (array1.Length != array2.Length)
- return false;
-
- for (int i = 0; i < array1.Length; i++)
- if (!Object.Equals(array1.GetValue(i), array2.GetValue(i)))
- return false;
- return true;
- }
-
- private static QProcess proc = null;
-
- public static void StartExternalQtApplication(string application, string arguments, string workingDir,
- EnvDTE.Project project, bool checkExitCode, Hashtable errorCodes)
- {
- proc = new QProcess();
- proc.ErrorCodes = errorCodes;
- proc.StartInfo.CreateNoWindow = true;
- proc.StartInfo.UseShellExecute = false;
- proc.EnableRaisingEvents = true;
- proc.StartInfo.WorkingDirectory = workingDir;
- proc.StartInfo.RedirectStandardError = true;
- proc.StartInfo.RedirectStandardOutput = true;
-
- EnvDTE.DTE dte = project.DTE;
- Messages.ActivateMessagePane();
- string qtDir = HelperFunctions.FindQtDirWithTools(project);
-
- proc.StartInfo.FileName = qtDir + application;
- proc.StartInfo.Arguments = arguments;
- if (checkExitCode && application.ToLower().IndexOf("uic.exe") > -1)
- proc.Exited += new EventHandler(QtApplicationExited);
-
- try
- {
- proc.Start();
- if (checkExitCode && application.ToLower().IndexOf("lupdate.exe") > -1 ||
- checkExitCode && application.ToLower().IndexOf("lrelease.exe") > -1)
- {
- System.Threading.Thread errorThread
- = new System.Threading.Thread(new System.Threading.ParameterizedThreadStart(ReadQtStandardError));
-
- errorThread.Start(dte);
- proc.WaitForExit();
- errorThread.Join();
-
- int exitCode = proc.ExitCode;
- if (exitCode == 0)
- {
- string arg = arguments;
- int index = arg.IndexOf("-ts");
- string file = "file: " + arg + " ";
- if (index > 0)
- file = "file: " + arg.Substring(index + 3) + " ";
-
- FileInfo info = new FileInfo(application);
- Messages.PaneMessage(project.DTE, "--- (" +
- HelperFunctions.RemoveFileNameExtension(info) + ") " +
- file + ": Exit Code: " + exitCode);
- }
- else
- {
- DisplayErrorMessage(proc);
- }
-
- proc.Close();
- }
- }
- catch
- {
- throw new QtVSException(SR.GetString("Helpers_CannotStart", proc.StartInfo.FileName));
- }
- }
-
- private static void ReadQtStandardError(object param)
- {
- DTE dte = param as DTE;
- if (proc == null)
- return;
-
- string error;
- while ((error = proc.StandardError.ReadLine()) != null)
- {
- error = error.Trim();
- if (error.Length != 0)
- Messages.PaneMessage(dte, "--- " + error);
- }
- }
-
- private static void QtApplicationExited(object sender, EventArgs e)
- {
- QProcess proc = (QProcess)sender;
- DisplayErrorMessage(proc);
- proc.Exited -= new EventHandler(QtApplicationExited);
- }
-
- private static void DisplayErrorMessage(QProcess proc)
- {
- if (proc.ExitCode != 0)
- {
- if (proc.solutionString(proc.ExitCode) != null)
- Messages.DisplayErrorMessage(SR.GetString("Helpers_ExitError", proc.ExitCode.ToString())
- + "\r\n" + proc.errorString(proc.ExitCode),
- proc.solutionString(proc.ExitCode));
- else
- Messages.DisplayErrorMessage(SR.GetString("Helpers_ExitError", proc.ExitCode.ToString())
- + "\r\n" + proc.errorString(proc.ExitCode));
- }
- }
-
- public static string FindFileInPATH(string fileName)
- {
- string envPATH = System.Environment.ExpandEnvironmentVariables("%PATH%");
- string[] directories = envPATH.Split(new Char[] { ';' });
- foreach (string directory in directories)
- {
- string fullFilePath = directory;
- if (!fullFilePath.EndsWith("\\")) fullFilePath += '\\';
- fullFilePath += fileName;
- if (File.Exists(fullFilePath))
- return fullFilePath;
- }
- return null;
- }
- }
-}
diff --git a/Qt4VS2003/QtProjectLib/Images/delete.png b/Qt4VS2003/QtProjectLib/Images/delete.png
deleted file mode 100644
index e4139afc..00000000
--- a/Qt4VS2003/QtProjectLib/Images/delete.png
+++ /dev/null
Binary files differ
diff --git a/Qt4VS2003/QtProjectLib/Images/delete_d.png b/Qt4VS2003/QtProjectLib/Images/delete_d.png
deleted file mode 100644
index 9da7f821..00000000
--- a/Qt4VS2003/QtProjectLib/Images/delete_d.png
+++ /dev/null
Binary files differ
diff --git a/Qt4VS2003/QtProjectLib/Images/newitem.png b/Qt4VS2003/QtProjectLib/Images/newitem.png
deleted file mode 100644
index 7e26ea9b..00000000
--- a/Qt4VS2003/QtProjectLib/Images/newitem.png
+++ /dev/null
Binary files differ
diff --git a/Qt4VS2003/QtProjectLib/Images/newitem_d.png b/Qt4VS2003/QtProjectLib/Images/newitem_d.png
deleted file mode 100644
index 1b33141d..00000000
--- a/Qt4VS2003/QtProjectLib/Images/newitem_d.png
+++ /dev/null
Binary files differ
diff --git a/Qt4VS2003/QtProjectLib/LinkerToolWrapper.cs b/Qt4VS2003/QtProjectLib/LinkerToolWrapper.cs
deleted file mode 100644
index c4e97429..00000000
--- a/Qt4VS2003/QtProjectLib/LinkerToolWrapper.cs
+++ /dev/null
@@ -1,182 +0,0 @@
-/****************************************************************************
-**
-** Copyright (C) 2016 The Qt Company Ltd.
-** Contact: https://www.qt.io/licensing/
-**
-** This file is part of the Qt VS Add-in.
-**
-** $QT_BEGIN_LICENSE:GPL-EXCEPT$
-** Commercial License Usage
-** Licensees holding valid commercial Qt licenses may use this file in
-** accordance with the commercial license agreement provided with the
-** Software or, alternatively, in accordance with the terms contained in
-** a written agreement between you and The Qt Company. For licensing terms
-** and conditions see https://www.qt.io/terms-conditions. For further
-** information use the contact form at https://www.qt.io/contact-us.
-**
-** GNU General Public License Usage
-** Alternatively, this file may be used under the terms of the GNU
-** General Public License version 3 as published by the Free Software
-** Foundation with exceptions as appearing in the file LICENSE.GPL3-EXCEPT
-** included in the packaging of this file. Please review the following
-** information to ensure the GNU General Public License requirements will
-** be met: https://www.gnu.org/licenses/gpl-3.0.html.
-**
-** $QT_END_LICENSE$
-**
-****************************************************************************/
-
-using System;
-using System.Collections.Generic;
-using System.IO;
-using System.Text;
-using System.Text.RegularExpressions;
-using Microsoft.VisualStudio.VCProjectEngine;
-
-namespace Digia.Qt5ProjectLib
-{
- /// <summary>
- /// Adds convenience functions to the VCLinkerTool.
- /// </summary>
- public class LinkerToolWrapper
- {
- private VCLinkerTool linker;
-
- public LinkerToolWrapper(VCLinkerTool linkerTool)
- {
- linker = linkerTool;
- }
-
- public List<string> AdditionalLibraryDirectories
- {
- get
- {
- if (linker.AdditionalLibraryDirectories == null)
- return null;
- string[] dirArray = linker.AdditionalLibraryDirectories.Split(new char[] {';', ','}, StringSplitOptions.RemoveEmptyEntries);
- List<string> lst = new List<string>(dirArray);
- for (int i = 0; i < lst.Count; ++i)
- {
- string item = lst[i];
- if (item.StartsWith("\"") && item.EndsWith("\""))
- {
- item = item.Remove(0, 1);
- item = item.Remove(item.Length - 1, 1);
- lst[i] = item;
- }
- }
- return lst;
- }
-
- internal set
- {
- if (value == null)
- {
- linker.AdditionalLibraryDirectories = null;
- return;
- }
-
- string newAdditionalLibraryDirectories = "";
- bool firstLoop = true;
- foreach (string item in value)
- {
- if (firstLoop)
- firstLoop = false;
- else
- newAdditionalLibraryDirectories += ";";
-
- if (!Path.IsPathRooted(item) || item.IndexOfAny(new char[] { ' ', '\t' }) > 0)
- newAdditionalLibraryDirectories += "\"" + item + "\"";
- else
- newAdditionalLibraryDirectories += item;
- }
- if (newAdditionalLibraryDirectories != linker.AdditionalLibraryDirectories)
- linker.AdditionalLibraryDirectories = newAdditionalLibraryDirectories;
- }
- }
-
- public List<string> AdditionalDependencies
- {
- get
- {
- if (linker.AdditionalDependencies == null)
- return null;
- return splitByWhitespace(linker.AdditionalDependencies);
- }
-
- internal set
- {
- if (value == null)
- {
- linker.AdditionalDependencies = null;
- return;
- }
-
- string newAdditionalDependencies = "";
- char[] separators = new char[] {' ', '\t'};
- bool firstLoop = true;
- foreach (string item in value)
- {
- if (firstLoop)
- firstLoop = false;
- else
- newAdditionalDependencies += " ";
-
- int idx = item.IndexOfAny(separators);
- if (idx >= 0)
- newAdditionalDependencies += "\"" + item + "\"";
- else
- newAdditionalDependencies += item;
- }
- if (newAdditionalDependencies != linker.AdditionalDependencies)
- linker.AdditionalDependencies = newAdditionalDependencies;
- }
- }
-
- /// <summary>
- /// Splits a given string by whitespace characters and takes care of double quotes.
- /// </summary>
- /// <param name="str">string to be split</param>
- /// <returns></returns>
- private static List<string> splitByWhitespace(string str)
- {
- char[] separators = new char[] { ' ', '\t' };
- int i = str.IndexOf('"');
- if (i == -1)
- return new List<string>(str.Split(separators, StringSplitOptions.RemoveEmptyEntries));
-
- List<string> ret = new List<string>();
- int startIndex = 0;
- Regex r = new Regex(@"""[^""]*""");
- MatchCollection mc = r.Matches(str);
- foreach (Match match in mc)
- {
- string item = match.Value;
- item = item.Remove(0, 1);
- item = item.Remove(item.Length - 1, 1);
-
- // Add all items before this match, using standard splitting.
- string strBefore = str.Substring(startIndex, match.Index - startIndex);
- string[] lstBefore = strBefore.Split(separators, StringSplitOptions.RemoveEmptyEntries);
- ret.AddRange(lstBefore);
- startIndex = match.Index + match.Length;
-
- if (item.Length == 0)
- continue;
-
- ret.Add(item);
- }
-
- if (startIndex < str.Length - 1)
- {
- // Add all items after the quoted match, using standard splitting.
- string strBefore = str.Substring(startIndex);
- string[] lstBefore = strBefore.Split(separators, StringSplitOptions.RemoveEmptyEntries);
- ret.AddRange(lstBefore);
- }
-
- return ret;
- }
-
- }
-}
diff --git a/Qt4VS2003/QtProjectLib/Messages.cs b/Qt4VS2003/QtProjectLib/Messages.cs
deleted file mode 100644
index 80223325..00000000
--- a/Qt4VS2003/QtProjectLib/Messages.cs
+++ /dev/null
@@ -1,167 +0,0 @@
-/****************************************************************************
-**
-** Copyright (C) 2016 The Qt Company Ltd.
-** Contact: https://www.qt.io/licensing/
-**
-** This file is part of the Qt VS Add-in.
-**
-** $QT_BEGIN_LICENSE:GPL-EXCEPT$
-** Commercial License Usage
-** Licensees holding valid commercial Qt licenses may use this file in
-** accordance with the commercial license agreement provided with the
-** Software or, alternatively, in accordance with the terms contained in
-** a written agreement between you and The Qt Company. For licensing terms
-** and conditions see https://www.qt.io/terms-conditions. For further
-** information use the contact form at https://www.qt.io/contact-us.
-**
-** GNU General Public License Usage
-** Alternatively, this file may be used under the terms of the GNU
-** General Public License version 3 as published by the Free Software
-** Foundation with exceptions as appearing in the file LICENSE.GPL3-EXCEPT
-** included in the packaging of this file. Please review the following
-** information to ensure the GNU General Public License requirements will
-** be met: https://www.gnu.org/licenses/gpl-3.0.html.
-**
-** $QT_END_LICENSE$
-**
-****************************************************************************/
-
-namespace Digia.Qt5ProjectLib
-{
- using EnvDTE;
- using System.Windows.Forms;
-
- public class Messages
- {
- private static OutputWindowPane wndp = null;
-
- private static OutputWindowPane GetBuildPane(OutputWindow outputWindow)
- {
- foreach (OutputWindowPane owp in outputWindow.OutputWindowPanes)
- if (owp.Guid == "{1BD8A850-02D1-11D1-BEE7-00A0C913D1F8}")
- return owp;
- return null;
- }
- public static void PaneMessage(EnvDTE.DTE dte, string str)
- {
- OutputWindow wnd = (EnvDTE.OutputWindow)dte.Windows.Item(EnvDTE.Constants.vsWindowKindOutput).Object;
- if (wndp == null)
- {
- wndp = wnd.OutputWindowPanes.Add(Resources.msgBoxCaption);
- }
-
- wndp.OutputString(str + "\r\n");
- OutputWindowPane buildPane = GetBuildPane(wnd);
- // show buildPane if a build is in progress
- if (dte.Solution.SolutionBuild.BuildState == vsBuildState.vsBuildStateInProgress && buildPane != null)
- buildPane.Activate();
- }
-
- /// <summary>
- /// Activates the message pane of the Qt Add-in / integration
- /// </summary>
- public static void ActivateMessagePane()
- {
- if (wndp == null)
- return;
- wndp.Activate();
- }
-
- private static string MessageToString(string msg)
- {
- // doesn't do anything for now...
- return msg;
- }
-
- private static string ExceptionToString(System.Exception e)
- {
- if (VerboseException)
- return e.Message + "\r\n" + "(" + e.StackTrace.Trim() + ")";
- else
- return e.Message;
- }
-
- private static string ErrorString = SR.GetString("Messages_ErrorOccured");
- private static string WarningString = SR.GetString("Messages_Warning");
- private static string SolutionString = SR.GetString("Messages_SolveProblem");
- private static bool VerboseException = true;
-
- static public void DisplayCriticalErrorMessage(System.Exception e)
- {
- MessageBox.Show(ErrorString +
- ExceptionToString(e),
- Resources.msgBoxCaption, MessageBoxButtons.OK, MessageBoxIcon.Error);
- }
-
- static public void DisplayCriticalErrorMessage(string msg)
- {
- MessageBox.Show(ErrorString +
- MessageToString(msg),
- Resources.msgBoxCaption, MessageBoxButtons.OK, MessageBoxIcon.Error);
- }
-
- static public void DisplayErrorMessage(System.Exception e, string solution)
- {
- MessageBox.Show(ErrorString +
- ExceptionToString(e) +
- SolutionString +
- solution,
- Resources.msgBoxCaption, MessageBoxButtons.OK, MessageBoxIcon.Error);
- }
-
- static public void DisplayErrorMessage(string msg, string solution)
- {
- MessageBox.Show(ErrorString +
- MessageToString(msg) +
- SolutionString +
- solution,
- Resources.msgBoxCaption, MessageBoxButtons.OK, MessageBoxIcon.Error);
- }
-
- static public void DisplayErrorMessage(System.Exception e)
- {
- MessageBox.Show(ErrorString +
- ExceptionToString(e),
- Resources.msgBoxCaption, MessageBoxButtons.OK, MessageBoxIcon.Error);
- }
-
- static public void DisplayErrorMessage(string msg)
- {
- MessageBox.Show(ErrorString +
- MessageToString(msg),
- Resources.msgBoxCaption, MessageBoxButtons.OK, MessageBoxIcon.Error);
- }
-
- static public void DisplayWarningMessage(System.Exception e, string solution)
- {
- MessageBox.Show(WarningString +
- ExceptionToString(e) +
- SolutionString +
- solution,
- Resources.msgBoxCaption, MessageBoxButtons.OK, MessageBoxIcon.Warning);
- }
-
- static public void DisplayWarningMessage(string msg, string solution)
- {
- MessageBox.Show(WarningString +
- MessageToString(msg) +
- SolutionString +
- solution,
- Resources.msgBoxCaption, MessageBoxButtons.OK, MessageBoxIcon.Warning);
- }
-
- static public void DisplayWarningMessage(System.Exception e)
- {
- MessageBox.Show(WarningString +
- ExceptionToString(e),
- Resources.msgBoxCaption, MessageBoxButtons.OK, MessageBoxIcon.Warning);
- }
-
- static public void DisplayWarningMessage(string msg)
- {
- MessageBox.Show(WarningString +
- MessageToString(msg),
- Resources.msgBoxCaption, MessageBoxButtons.OK, MessageBoxIcon.Warning);
- }
- }
-}
diff --git a/Qt4VS2003/QtProjectLib/MocCmdChecker.cs b/Qt4VS2003/QtProjectLib/MocCmdChecker.cs
deleted file mode 100644
index f3c4f7e2..00000000
--- a/Qt4VS2003/QtProjectLib/MocCmdChecker.cs
+++ /dev/null
@@ -1,191 +0,0 @@
-/****************************************************************************
-**
-** Copyright (C) 2016 The Qt Company Ltd.
-** Contact: https://www.qt.io/licensing/
-**
-** This file is part of the Qt VS Add-in.
-**
-** $QT_BEGIN_LICENSE:GPL-EXCEPT$
-** Commercial License Usage
-** Licensees holding valid commercial Qt licenses may use this file in
-** accordance with the commercial license agreement provided with the
-** Software or, alternatively, in accordance with the terms contained in
-** a written agreement between you and The Qt Company. For licensing terms
-** and conditions see https://www.qt.io/terms-conditions. For further
-** information use the contact form at https://www.qt.io/contact-us.
-**
-** GNU General Public License Usage
-** Alternatively, this file may be used under the terms of the GNU
-** General Public License version 3 as published by the Free Software
-** Foundation with exceptions as appearing in the file LICENSE.GPL3-EXCEPT
-** included in the packaging of this file. Please review the following
-** information to ensure the GNU General Public License requirements will
-** be met: https://www.gnu.org/licenses/gpl-3.0.html.
-**
-** $QT_END_LICENSE$
-**
-****************************************************************************/
-
-using System;
-using System.Collections.Generic;
-using System.Text.RegularExpressions;
-
-namespace Digia.Qt5ProjectLib
-{
- class MocCmdChecker
- {
- private Regex backslashRegEx = new Regex(@"\\+\.?\\+");
- private Regex endRegEx = new Regex(@"\\\.?$");
-
- private string NormalizePath(string path)
- {
- string s = path.ToLower().Trim();
- s = backslashRegEx.Replace(s, "\\");
- s = endRegEx.Replace(s, "");
- return s;
- }
-
- public string NewCmdLine(string cmdLine, string includes, string defines,
- string mocOptions, string mocFile, string newPchParameters,
- string outputFile)
- {
- string inputMocFile = ProjectMacros.Path;
- if (outputFile.ToLower().EndsWith(".moc"))
- inputMocFile = mocFile;
- string[] cmds = SplitIntoCommands(cmdLine);
- int mocPos = MocCommandPosition(cmds);
- if (mocPos < 0)
- return null;
-
- string mocCmd = cmds[mocPos];
- List<string> defs = ExtractDefines(mocCmd);
- List<string> incs = ExtractIncludes(mocCmd);
- string pchParameters = ExtractPCHOptions(mocCmd);
- List<string> newIncludes = ExtractIncludes(includes);
- List<string> newDefines = ExtractDefines(defines);
-
- bool equal = true;
-
- if (newDefines.Count == defs.Count)
- {
- foreach (string s in newDefines)
- {
- if (defs.Contains(s))
- {
- defs.Remove(s);
- }
- else
- {
- equal = false;
- break;
- }
- }
- }
- else
- {
- equal = false;
- }
-
- equal = equal && newIncludes.Count == incs.Count;
- if (equal)
- {
- foreach (string s in newIncludes)
- {
- if (incs.Contains(s))
- {
- incs.Remove(s);
- }
- else
- {
- equal = false;
- break;
- }
- }
- }
-
- equal = equal && pchParameters == newPchParameters;
- if (equal)
- return null;
-
- string newCmdLine = "";
- for (int i = 0; i < cmds.Length; ++i)
- {
- if (i == mocPos)
- {
- newCmdLine = newCmdLine + "\"" + Resources.moc4Command + "\" "
- + mocOptions
- + " \"" + inputMocFile + "\" -o \"" + outputFile + "\""
- + " " + defines + " " + includes;
- if (newPchParameters != null &&
- newPchParameters.Length > 0 &&
- !newCmdLine.Contains(newPchParameters))
- newCmdLine += " " + newPchParameters;
- }
- else
- {
- newCmdLine = newCmdLine + cmds[i];
- }
- if (i < cmds.Length - 1 && !newCmdLine.EndsWith("\r\n"))
- newCmdLine = newCmdLine + "\r\n";
- }
- return newCmdLine;
- }
-
- private static string[] SplitIntoCommands(string cmdLine)
- {
- string[] cmds = cmdLine.Split(new string[] { "&&", "\r\n" }, StringSplitOptions.RemoveEmptyEntries);
- string[] res = new string[cmds.Length];
- for (int i = 0; i < cmds.Length; ++i)
- res[i] = cmds[i].Trim();
- return res;
- }
-
- private static int MocCommandPosition(string[] cmds)
- {
- int res = -1;
- Regex reg = new Regex(@"(\S*moc.exe|""\S+:\\\.*moc.exe"")");
- for (int i = 0; i < cmds.Length; ++i)
- {
- Match m = reg.Match(cmds[i]);
- if (m.Success)
- return i;
- }
- return res;
- }
-
- private static List<string> ExtractDefines(string cmdLine)
- {
- Regex reg = new Regex(@"-D(\S+)");
- MatchCollection col = reg.Matches(cmdLine);
- List<string> lst = new List<string>(col.Count);
- for (int i = 0; i < col.Count; ++i)
- lst.Add(col[i].Groups[1].ToString());
- return lst;
- }
-
- private List<string> ExtractIncludes(string cmdLine)
- {
- Regex reg = new Regex(@"-I([^\s""]+)|-I""([^""]+)""");
- MatchCollection col = reg.Matches(cmdLine);
- List<string> lst = new List<string>(col.Count);
- for (int i = 0; i < col.Count; ++i)
- {
- string s = col[i].Groups[1].ToString();
- if (s.Length != 0)
- lst.Add(NormalizePath(s));
- else
- lst.Add(NormalizePath(col[i].Groups[2].ToString()));
- }
- return lst;
- }
-
- private static string ExtractPCHOptions(string cmdLine)
- {
- Regex reg = new Regex(@"""-f(\S+)"" ""-f(\S+)");
- MatchCollection col = reg.Matches(cmdLine);
- if (col.Count != 1)
- return null;
- return col[0].ToString();
- }
- }
-}
diff --git a/Qt4VS2003/QtProjectLib/ProjectExporter.cs b/Qt4VS2003/QtProjectLib/ProjectExporter.cs
deleted file mode 100644
index 514211d0..00000000
--- a/Qt4VS2003/QtProjectLib/ProjectExporter.cs
+++ /dev/null
@@ -1,1284 +0,0 @@
-/****************************************************************************
-**
-** Copyright (C) 2016 The Qt Company Ltd.
-** Contact: https://www.qt.io/licensing/
-**
-** This file is part of the Qt VS Add-in.
-**
-** $QT_BEGIN_LICENSE:GPL-EXCEPT$
-** Commercial License Usage
-** Licensees holding valid commercial Qt licenses may use this file in
-** accordance with the commercial license agreement provided with the
-** Software or, alternatively, in accordance with the terms contained in
-** a written agreement between you and The Qt Company. For licensing terms
-** and conditions see https://www.qt.io/terms-conditions. For further
-** information use the contact form at https://www.qt.io/contact-us.
-**
-** GNU General Public License Usage
-** Alternatively, this file may be used under the terms of the GNU
-** General Public License version 3 as published by the Free Software
-** Foundation with exceptions as appearing in the file LICENSE.GPL3-EXCEPT
-** included in the packaging of this file. Please review the following
-** information to ensure the GNU General Public License requirements will
-** be met: https://www.gnu.org/licenses/gpl-3.0.html.
-**
-** $QT_END_LICENSE$
-**
-****************************************************************************/
-
-using System;
-using System.Collections.Generic;
-using System.IO;
-using System.Threading;
-using System.Collections;
-using System.Windows.Forms;
-using System.Text.RegularExpressions;
-using EnvDTE;
-using EnvDTE80;
-using Microsoft.VisualStudio.VCProjectEngine;
-
-namespace Digia.Qt5ProjectLib
-{
- #region Storage Classes
- internal class ProSolution
- {
- public ProSolution(EnvDTE.Solution sln)
- {
- prosln = sln;
- proFiles = new List<ProFileContent>();
- }
-
- public List<ProFileContent> ProFiles
- {
- get
- {
- return proFiles;
- }
- }
-
- public EnvDTE.Solution ProjectSolution
- {
- get
- {
- return prosln;
- }
- }
-
- private List<ProFileContent> proFiles;
- private EnvDTE.Solution prosln;
- }
-
- internal class ProFileOption
- {
- public ProFileOption(string optname)
- {
- name = optname;
- astype = AssignType.AT_PlusEquals;
- comment = null;
- shortComment = "Default";
- incComment = false;
- newOpt = " \\\r\n ";
- list = new List<string>();
- }
-
- public override string ToString()
- {
- return shortComment;
- }
-
- public string Comment
- {
- get
- {
- return comment;
- }
- set
- {
- comment = value;
- }
- }
-
- public string ShortComment
- {
- get
- {
- return shortComment;
- }
- set
- {
- shortComment = value;
- }
- }
-
- public AssignType AssignSymbol
- {
- get
- {
- return astype;
- }
- set
- {
- astype = value;
- }
- }
-
- public string NewOption
- {
- get
- {
- return newOpt;
- }
- set
- {
- newOpt = value;
- }
- }
-
- public string Name
- {
- get
- {
- return name;
- }
- }
-
- public List<string> List
- {
- get
- {
- return list;
- }
- }
-
- public bool IncludeComment
- {
- get
- {
- return incComment;
- }
- set
- {
- incComment = value;
- }
- }
-
- public enum AssignType
- {
- AT_Equals = 1,
- AT_PlusEquals = 2, // default
- AT_MinusEquals = 3,
- AT_Function = 4
- }
-
- private AssignType astype;
- private string shortComment;
- private bool incComment;
- private string comment;
- private string newOpt;
- private string name;
- private List<string> list;
- }
-
- internal class ProFileContent
- {
- public ProFileContent(VCProject proj)
- {
- export = true;
- vcproj = proj;
- options = new List<ProFileOption>();
- }
-
- public override string ToString()
- {
- return vcproj.Name;
- }
-
- public VCProject Project
- {
- get
- {
- return vcproj;
- }
- }
-
- public bool Export
- {
- get
- {
- return export;
- }
- set
- {
- export = value;
- }
- }
-
-
- public List<ProFileOption> Options
- {
- get
- {
- return options;
- }
- }
-
- private VCProject vcproj;
- private bool export;
- private List<ProFileOption> options;
- }
- #endregion
-
- /// <summary>
- /// Summary description for Export.
- /// </summary>
-
- public class ProjectExporter
- {
- private EnvDTE.DTE dteObject = null;
-
- public ProjectExporter(EnvDTE.DTE dte)
- {
- dteObject = dte;
- }
-
- #region Helper Functions
- private static void MakeFilesRelativePath(VCProject vcproj, List<string> files, string path)
- {
- for(int i=0; i<files.Count; i++)
- {
- string relPath;
- if (files[i].IndexOf(":") != 1)
- relPath = HelperFunctions.GetRelativePath(path,
- vcproj.ProjectDirectory + "\\" + (string)files[i]);
- else
- relPath = HelperFunctions.GetRelativePath(path, (string)files[i]);
- files[i] = HelperFunctions.ChangePathFormat(relPath);
- }
- }
-
- private static bool ContainsFilesWithSpaces(List<string> files)
- {
- for (int i=0; i<files.Count; i++)
- {
- if (files[i].IndexOf(' ') != -1)
- return true;
- }
-
- return false;
- }
-
- public static List<string> ConvertFilesToFullPath(List<string> files, string path)
- {
- List<string> ret = new List<string>(files.Count);
- foreach (string file in files)
- {
- FileInfo fi;
- if (file.IndexOf(":") != 1)
- fi = new FileInfo(path + "\\" + file);
- else
- fi = new FileInfo(file);
-
- ret.Add(fi.FullName);
- }
- return ret;
- }
- #endregion
-
- #region Export pri/pro Files Helper Functions
- private ProSolution CreateProFileSolution(EnvDTE.Solution sln)
- {
- ProFileContent content;
- ProSolution prosln = new ProSolution(sln);
-
- foreach(EnvDTE.Project proj in HelperFunctions.ProjectsInSolution(sln.DTE))
- {
- try
- {
- // only add qt projects
- if (HelperFunctions.IsQtProject(proj))
- {
- content = CreateProFileContent(proj);
- prosln.ProFiles.Add(content);
- }
- else if (proj.Kind == ProjectKinds.vsProjectKindSolutionFolder)
- {
- addProjectsInFolder(proj, prosln);
- }
- }
- catch
- {
- // Catch all exceptions. Try to add as many projects as possible.
- }
- }
-
- return prosln;
- }
-
- private void addProjectsInFolder(EnvDTE.Project solutionFolder, ProSolution sln)
- {
- foreach (ProjectItem pi in solutionFolder.ProjectItems)
- {
- Project containedProject = pi.Object as Project;
- if (HelperFunctions.IsQtProject(containedProject))
- {
- ProFileContent content = CreateProFileContent(containedProject);
- sln.ProFiles.Add(content);
- }
- else if (containedProject.Kind == ProjectKinds.vsProjectKindSolutionFolder)
- {
- addProjectsInFolder(containedProject, sln);
- }
- }
- }
-
- private static ProFileContent CreateProFileContent(EnvDTE.Project project)
- {
- ProFileOption option;
- QtProject qtPro = QtProject.Create(project);
- ProFileContent content = new ProFileContent(qtPro.VCProject);
-
- // hack to get active config
- string activeConfig = project.ConfigurationManager.ActiveConfiguration.ConfigurationName;
- string activePlatform = project.ConfigurationManager.ActiveConfiguration.PlatformName;
- VCConfiguration config = (VCConfiguration)((IVCCollection)qtPro.VCProject.Configurations).Item(activeConfig);
- CompilerToolWrapper compiler = CompilerToolWrapper.Create(config);
- VCLinkerTool linker = (VCLinkerTool)((IVCCollection)config.Tools).Item("VCLinkerTool");
- VCLibrarianTool libTool = (VCLibrarianTool)((IVCCollection)config.Tools).Item("VCLibrarianTool");
-
- string outPut = config.PrimaryOutput;
- FileInfo fi = new FileInfo(outPut);
- string destdir = HelperFunctions.GetRelativePath(qtPro.VCProject.ProjectDirectory, fi.DirectoryName);
- destdir = HelperFunctions.ChangePathFormat(destdir);
- string target = qtPro.VCProject.Name;
-
- option = new ProFileOption("TEMPLATE");
- option.Comment = Resources.ec_Template;
- option.ShortComment = "Template";
- option.NewOption = null; // just one option...
- option.AssignSymbol = ProFileOption.AssignType.AT_Equals;
- content.Options.Add(option);
- if (config.ConfigurationType == ConfigurationTypes.typeApplication)
- option.List.Add("app");
- else
- option.List.Add("lib");
-
- option = new ProFileOption("TARGET");
- option.Comment = Resources.ec_Target;
- option.ShortComment = "Target Name";
- option.NewOption = null; // just one option...
- option.AssignSymbol = ProFileOption.AssignType.AT_Equals;
- content.Options.Add(option);
- option.List.Add(target);
-
- option = new ProFileOption("DESTDIR");
- option.Comment = Resources.ec_DestDir;
- option.ShortComment = "Destination Directory";
- option.NewOption = null; // just one option...
- option.AssignSymbol = ProFileOption.AssignType.AT_Equals;
- content.Options.Add(option);
- option.List.Add(destdir);
-
- // add the qt option
- option = new ProFileOption("QT");
- ProFileOption optionQT = option;
- option.Comment = Resources.ec_Qt;
- option.ShortComment = "Qt Options";
- option.NewOption = " "; // just space between the options...
- content.Options.Add(option);
-
- // add the config option
- option = new ProFileOption("CONFIG");
- ProFileOption optionCONFIG = option;
- option.Comment = Resources.ec_Config;
- option.ShortComment = "Config Options";
- option.NewOption = " "; // just space between the options...
- content.Options.Add(option);
-
- AddModules(qtPro, optionQT, optionCONFIG);
-
- if (config.ConfigurationType == ConfigurationTypes.typeStaticLibrary)
- option.List.Add("staticlib");
- if (linker != null)
- {
- if (linker.GenerateDebugInformation)
- option.List.Add("debug");
- else
- option.List.Add("release");
-
- if (linker.SubSystem == subSystemOption.subSystemConsole)
- option.List.Add("console");
-
- if (linker.AdditionalDependencies != null)
- {
- if (linker.AdditionalDependencies.IndexOf("QAxServer") > -1)
- option.List.Add("qaxserver");
- else if (linker.AdditionalDependencies.IndexOf("QAxContainer") > -1)
- option.List.Add("qaxcontainer");
- else if (linker.AdditionalDependencies.IndexOf("QtHelp") > -1)
- option.List.Add("help");
- }
- }
-
- if (qtPro.IsDesignerPluginProject())
- {
- option.List.Add("designer");
- option.List.Add("plugin");
- }
-
- // add defines
- option = new ProFileOption("DEFINES");
- option.Comment = Resources.ec_Defines;
- option.ShortComment = "Defines";
- option.NewOption = " ";
- option.AssignSymbol = ProFileOption.AssignType.AT_PlusEquals;
- content.Options.Add(option);
- AddPreprocessorDefinitions(option, compiler.GetPreprocessorDefinitions());
-
- // add the include path option
- option = new ProFileOption("INCLUDEPATH");
- option.Comment = Resources.ec_IncludePath;
- option.ShortComment = "Include Path";
- content.Options.Add(option);
- AddIncludePaths(project, option, compiler.GetAdditionalIncludeDirectories());
-
- option = new ProFileOption("LIBS");
- option.Comment = Resources.ec_Libs;
- option.ShortComment = "Additional Libraries";
- content.Options.Add(option);
- if (linker != null)
- {
- AddLibraries(project, option, linker.AdditionalLibraryDirectories,
- linker.AdditionalDependencies);
- }
- else if (libTool != null)
- {
- AddLibraries(project, option, libTool.AdditionalLibraryDirectories,
- libTool.AdditionalDependencies);
- }
-
- option = new ProFileOption("PRECOMPILED_HEADER");
- option.Comment = Resources.ec_PrecompiledHeader;
- option.ShortComment = "Using Precompiled Headers";
- option.AssignSymbol = ProFileOption.AssignType.AT_Equals;
- content.Options.Add(option);
-
- if (qtPro.UsesPrecompiledHeaders())
- option.List.Add(compiler.GetPrecompiledHeaderThrough());
-
- // add the depend path option
- option = new ProFileOption("DEPENDPATH");
- option.Comment = Resources.ec_DependPath;
- option.ShortComment = "Depend Path";
- content.Options.Add(option);
- option.List.Add(".");
-
- string mocDir = QtVSIPSettings.GetMocDirectory(project, activeConfig.ToLower(), activePlatform.ToLower());
- mocDir = mocDir.Replace('\\', '/');
- option = new ProFileOption("MOC_DIR");
- option.Comment = Resources.ec_MocDir;
- option.ShortComment = "Moc Directory";
- option.NewOption = null; // just one option...
- content.Options.Add(option);
- option.List.Add(mocDir);
-
- option = new ProFileOption("OBJECTS_DIR");
- option.Comment = Resources.ec_ObjDir;
- option.ShortComment = "Objects Directory";
- option.NewOption = null; // just one option...
- content.Options.Add(option);
- option.List.Add(config.ConfigurationName.ToLower());
-
- string uiDir = QtVSIPSettings.GetUicDirectory(project);
- uiDir = uiDir.Replace('\\', '/');
- option = new ProFileOption("UI_DIR");
- option.Comment = Resources.ec_UiDir;
- option.ShortComment = "UI Directory";
- option.NewOption = null; // just one option...
- content.Options.Add(option);
- option.List.Add(uiDir);
-
- string rccDir = QtVSIPSettings.GetRccDirectory(project);
- rccDir = rccDir.Replace('\\', '/');
- option = new ProFileOption("RCC_DIR");
- option.Comment = Resources.ec_RccDir;
- option.ShortComment = "RCC Directory";
- option.NewOption = null; // just one option...
- content.Options.Add(option);
- option.List.Add(rccDir);
-
- // add the include path option
- option = new ProFileOption("include");
- option.Comment = Resources.ec_Include;
- option.ShortComment = "Include file(s)";
- option.IncludeComment = false; // print the comment in the output file
- option.AssignSymbol = ProFileOption.AssignType.AT_Function;
- content.Options.Add(option);
-
- // add the translation files
- option = new ProFileOption("TRANSLATIONS");
- option.Comment = Resources.ec_Translations;
- option.ShortComment = "Translation files";
- option.IncludeComment = false;
- content.Options.Add(option);
- option.List.AddRange(HelperFunctions.GetProjectFiles(project, FilesToList.FL_Translation));
-
- // add the rc file
- if (File.Exists(qtPro.VCProject.ProjectDirectory + "\\" + project.Name + ".rc"))
- {
- option = new ProFileOption("win32:RC_FILE");
- option.Comment = Resources.ec_rcFile;
- option.ShortComment = "Windows resource file";
- option.IncludeComment = false;
- option.AssignSymbol = ProFileOption.AssignType.AT_Equals;
- content.Options.Add(option);
- option.List.Add(project.Name + ".rc");
- }
-
- if (qtPro.IsDesignerPluginProject())
- {
- option = new ProFileOption("target.path");
- option.ShortComment = "Install the plugin in the designer plugins directory.";
- option.IncludeComment = true;
- option.AssignSymbol = ProFileOption.AssignType.AT_Equals;
- option.List.Add("$$[QT_INSTALL_PLUGINS]/designer");
- content.Options.Add(option);
-
- option = new ProFileOption("INSTALLS");
- option.IncludeComment = false;
- option.AssignSymbol = ProFileOption.AssignType.AT_PlusEquals;
- option.List.Add("target");
- content.Options.Add(option);
- }
-
- return content;
- }
-
- private static ProFileContent CreatePriFileContent(EnvDTE.Project project, string priFileDirectory)
- {
- ProFileOption option;
- QtProject qtPro = QtProject.Create(project);
- ProFileContent content = new ProFileContent(qtPro.VCProject);
- bool hasSpaces = false;
-
- // add the header files
- option = new ProFileOption("HEADERS");
- option.ShortComment = "Header files";
- option.IncludeComment = false;
- content.Options.Add(option);
- option.List.AddRange(HelperFunctions.GetProjectFiles(project, FilesToList.FL_HFiles));
- MakeFilesRelativePath(qtPro.VCProject, option.List, priFileDirectory);
- if (ContainsFilesWithSpaces(option.List))
- hasSpaces = true;
-
- // add the source files
- option = new ProFileOption("SOURCES");
- option.ShortComment = "Source files";
- option.IncludeComment = false;
- content.Options.Add(option);
- option.List.AddRange(HelperFunctions.GetProjectFiles(project, FilesToList.FL_CppFiles));
- MakeFilesRelativePath(qtPro.VCProject, option.List, priFileDirectory);
- if (ContainsFilesWithSpaces(option.List))
- hasSpaces = true;
-
- // add the form files
- option = new ProFileOption("FORMS");
- option.ShortComment = "Forms";
- option.IncludeComment = false;
- content.Options.Add(option);
- option.List.AddRange(HelperFunctions.GetProjectFiles(project, FilesToList.FL_UiFiles));
- MakeFilesRelativePath(qtPro.VCProject, option.List, priFileDirectory);
- if (ContainsFilesWithSpaces(option.List))
- hasSpaces = true;
-
- // add the translation files
- option = new ProFileOption("TRANSLATIONS");
- option.Comment = Resources.ec_Translations;
- option.ShortComment = "Translation file(s)";
- option.IncludeComment = false;
- option.List.AddRange(HelperFunctions.GetProjectFiles(project, FilesToList.FL_Translation));
- MakeFilesRelativePath(qtPro.VCProject, option.List, priFileDirectory);
- if (ContainsFilesWithSpaces(option.List))
- hasSpaces = true;
- content.Options.Add(option);
-
- // add the resource files
- option = new ProFileOption("RESOURCES");
- option.Comment = Resources.ec_Resources;
- option.ShortComment = "Resource file(s)";
- option.IncludeComment = false;
- content.Options.Add(option);
-
- foreach (VCFile resFile in qtPro.GetResourceFiles())
- option.List.Add(resFile.RelativePath.Replace('\\', '/'));
-
- if (hasSpaces)
- Messages.DisplayWarningMessage(SR.GetString("ExportProject_PriFileContainsSpaces"));
-
- return content;
- }
-
- private static void AddPreprocessorDefinitions(ProFileOption option, string preprocessorDefinitions)
- {
- if (preprocessorDefinitions == null)
- return;
-
- string excludeList = "UNICODE WIN32 NDEBUG QDESIGNER_EXPORT_WIDGETS ";
- excludeList += "QT_THREAD_SUPPORT QT_PLUGIN QT_NO_DEBUG QT_CORE_LIB QT_GUI_LIB";
-
- foreach (string define in preprocessorDefinitions.Split(new char[] {';', ','}))
- {
- if (excludeList.IndexOf(define.ToUpper()) == -1)
- option.List.Add(define);
- }
- }
-
- private static void AddIncludePaths(EnvDTE.Project project, ProFileOption option, string includePaths)
- {
- if (includePaths == null)
- return;
-
- QtVersionManager versionManager = QtVersionManager.The();
- string qtDir = versionManager.GetInstallPath(project);
- if (qtDir == null)
- qtDir = System.Environment.GetEnvironmentVariable("QTDIR");
- if (qtDir == null)
- qtDir = "";
-
- qtDir = HelperFunctions.NormalizeRelativeFilePath(qtDir);
-
- foreach (string s in includePaths.Split(new char[] {';', ','}))
- {
- string d = HelperFunctions.NormalizeRelativeFilePath(s);
- if (!d.ToLower().StartsWith("$(qtdir)\\include") &&
- !d.ToLower().StartsWith(qtDir + "\\include") &&
- !d.ToLower().EndsWith("win32-msvc2005"))
- {
- d = d.Replace("$(ConfigurationName)", project.ConfigurationManager.ActiveConfiguration.ConfigurationName);
- d = d.Replace("$(PlatformName)", project.ConfigurationManager.ActiveConfiguration.PlatformName);
- if (HelperFunctions.IsAbsoluteFilePath(d))
- d = HelperFunctions.GetRelativePath(project.FullName, d);
- if (!HelperFunctions.IsAbsoluteFilePath(d))
- option.List.Add(HelperFunctions.ChangePathFormat(d));
- }
- }
- }
-
- private static void AddLibraries(EnvDTE.Project project, ProFileOption option, string paths, string deps)
- {
- QtVersionManager versionManager = QtVersionManager.The();
- string qtDir = versionManager.GetInstallPath(project);
- if (qtDir == null)
- qtDir = System.Environment.GetEnvironmentVariable("QTDIR");
- if (qtDir == null)
- qtDir = "";
-
- qtDir = HelperFunctions.NormalizeRelativeFilePath(qtDir);
-
- if (paths != null)
- {
- foreach (string s in paths.Split(new char[] {';', ','}))
- {
- string d = HelperFunctions.NormalizeRelativeFilePath(s);
- if (!d.ToLower().StartsWith("$(qtdir)\\lib") &&
- !d.ToLower().StartsWith(qtDir + "\\lib"))
- {
- if (HelperFunctions.IsAbsoluteFilePath(d))
- d = HelperFunctions.GetRelativePath(project.FullName, d);
- if (!HelperFunctions.IsAbsoluteFilePath(d))
- option.List.Add("-L\"" + HelperFunctions.ChangePathFormat(d) + "\"");
- }
- }
- }
-
- if (deps != null)
- {
- foreach (string s in deps.Split(new char[] {' '}))
- {
- string d = s.ToLower();
- if (d.Length > 0 &&
- !d.StartsWith("$(qtdir)\\lib") &&
- !d.StartsWith(qtDir + "\\lib") &&
- !d.StartsWith("qt") && !d.StartsWith(".\\qt") && d != ".")
- option.List.Add("-l" + HelperFunctions.ChangePathFormat(s).Replace(".lib", ""));
- }
- }
- }
-
- private static void AddModules(QtProject qtPrj, ProFileOption optionQT, ProFileOption optionCONFIG)
- {
- foreach (QtModuleInfo moduleInfo in QtModules.Instance.GetAvailableModuleInformation())
- {
- if (!qtPrj.HasModule(moduleInfo.ModuleId))
- continue;
-
- if (moduleInfo.proVarQT != null)
- optionQT.List.Add(moduleInfo.proVarQT);
- if (moduleInfo.proVarCONFIG != null)
- optionCONFIG.List.Add(moduleInfo.proVarCONFIG);
- }
- }
-
- private void WriteProSolution(ProSolution prosln, bool openFile)
- {
- EnvDTE.Solution sln = prosln.ProjectSolution;
- if (string.IsNullOrEmpty(sln.FileName))
- return;
-
- FileInfo fi = new FileInfo(sln.FullName);
- DirectoryInfo slnDir = fi.Directory;
- bool createSlnFile = false;
-
- if ((slnDir != null) && (prosln.ProFiles.Count > 1))
- {
- if (MessageBox.Show(SR.GetString("ExportProject_SolutionProFileBuildIn", slnDir.FullName),
- SR.GetString("ExportSolution"), MessageBoxButtons.YesNo, MessageBoxIcon.Question) == DialogResult.Yes)
- createSlnFile = true;
- }
-
- if (createSlnFile)
- {
- StreamWriter sw;
- string slnName = HelperFunctions.RemoveFileNameExtension(fi);
- string slnFileName = slnDir.FullName + "\\" + slnName + ".pro";
-
- if (File.Exists(slnFileName))
- if (MessageBox.Show(SR.GetString("ExportProject_ExistsOverwriteQuestion", slnFileName),
- SR.GetString("ExportSolution"), MessageBoxButtons.YesNo, MessageBoxIcon.Question) == DialogResult.No)
- return;
-
- try
- {
- sw = new StreamWriter(File.Create(slnFileName));
- }
- catch (System.Exception e)
- {
- Messages.DisplayErrorMessage(e);
- return;
- }
-
- ProFileContent content = new ProFileContent(null);
-
- ProFileOption option = new ProFileOption("TEMPLATE");
- option.NewOption = null; // just one option...
- option.AssignSymbol = ProFileOption.AssignType.AT_Equals;
- content.Options.Add(option);
- option.List.Add("subdirs");
-
- option = new ProFileOption("SUBDIRS");
- option.ShortComment = "#Projects";
- content.Options.Add(option);
-
- string proFullName, relativePath;
- char [] trimChars = {'\\'};
- foreach (ProFileContent profile in prosln.ProFiles)
- {
- FileInfo fiProject = new FileInfo(profile.Project.ProjectFile);
- string projectBaseName = HelperFunctions.RemoveFileNameExtension(fiProject);
- proFullName = profile.Project.ProjectDirectory + projectBaseName + ".pro";
- relativePath = HelperFunctions.GetRelativePath(slnDir.FullName, proFullName);
- relativePath = relativePath.TrimEnd(trimChars);
- relativePath = HelperFunctions.ChangePathFormat(relativePath.Remove(0,2));
- option.List.Add(relativePath);
- }
-
- using (sw)
- {
- sw.WriteLine(Resources.exportSolutionHeader);
- for (int i=0; i<content.Options.Count; i++)
- {
- WriteProFileOption(sw, (ProFileOption)content.Options[i]);
- }
- }
-
- if (openFile)
- dteObject.OpenFile(EnvDTE.Constants.vsViewKindTextView, slnFileName).Activate();
- }
- }
-
- private void WriteProFile(ProFileContent content, string proFile, string priFileToInclude, bool openFile)
- {
- StreamWriter sw;
- if (File.Exists(proFile))
- if (MessageBox.Show(SR.GetString("ExportProject_ExistsOverwriteQuestion", proFile),
- SR.GetString("ExportSolution"), MessageBoxButtons.YesNo, MessageBoxIcon.Question) == DialogResult.No)
- return;
-
- try
- {
- sw = new StreamWriter(File.Create(proFile));
- }
- catch (System.Exception e)
- {
- Messages.DisplayErrorMessage(e);
- return;
- }
-
- if (!string.IsNullOrEmpty(priFileToInclude))
- {
- foreach (ProFileOption option in content.Options)
- {
- if (option.Name == "include" && !option.List.Contains(priFileToInclude))
- {
- string relativePriPath = HelperFunctions.GetRelativePath(Path.GetDirectoryName(proFile), priFileToInclude);
- if (relativePriPath.StartsWith(".\\"))
- relativePriPath = relativePriPath.Substring(2);
- relativePriPath = HelperFunctions.ChangePathFormat(relativePriPath);
- option.List.Add(relativePriPath);
- break;
- }
- }
- }
- using (sw)
- {
- sw.WriteLine(Resources.exportPriHeader);
- WriteProFileOptions(sw, content.Options);
- }
-
- // open the file in vs
- if (openFile)
- dteObject.OpenFile(EnvDTE.Constants.vsViewKindTextView, proFile).Activate();
- }
-
- private void WritePriFile(ProFileContent content, string priFile)
- {
- StreamWriter sw;
-
- try
- {
- sw = new StreamWriter(File.Create(priFile));
- }
- catch (System.Exception e)
- {
- Messages.DisplayErrorMessage(e);
- return;
- }
-
- using (sw)
- {
- sw.WriteLine(Resources.exportProHeader);
- WriteProFileOptions(sw, content.Options);
- }
- }
-
- private static void WriteProFileOptions(StreamWriter sw, List<ProFileOption> options)
- {
- foreach (ProFileOption option in options)
- WriteProFileOption(sw, option);
- }
-
- private static void WriteProFileOption(StreamWriter sw, ProFileOption option)
- {
- if (option.List.Count <= 0)
- return;
-
- if (option.IncludeComment)
- sw.WriteLine(sw.NewLine + "#" + option.ShortComment);
-
- if (option.AssignSymbol != ProFileOption.AssignType.AT_Function)
- {
- sw.Write(option.Name);
-
- switch(option.AssignSymbol)
- {
- case ProFileOption.AssignType.AT_Equals:
- sw.Write(" = "); break;
- case ProFileOption.AssignType.AT_MinusEquals:
- sw.Write(" -= "); break;
- case ProFileOption.AssignType.AT_PlusEquals:
- sw.Write(" += "); break;
- }
-
- for (int i=0; i<option.List.Count-1; i++)
- {
- sw.Write((string)option.List[i] + option.NewOption);
- }
- sw.Write((string)option.List[option.List.Count-1] + sw.NewLine);
- }
- else
- {
- for (int i=0; i<option.List.Count; i++)
- {
- sw.WriteLine(option.Name + "(" + (string)option.List[i] + ")");
- }
- }
- }
- #endregion
-
- #region Import .pri Helper Functions
- private static List<string> GetFilesInPriFile(FileInfo priFileInfo, FilesToList ftl)
- {
- StreamReader sr;
- List<string> fileList = new List<string>();
-
- try
- {
- if (!priFileInfo.Exists)
- return null;
-
- sr = new StreamReader(priFileInfo.FullName);
- }
- catch (System.Exception e)
- {
- Messages.DisplayWarningMessage(e);
- return null;
- }
-
- switch(ftl)
- {
- case FilesToList.FL_CppFiles:
- ParseTag(sr, "SOURCES", fileList); break;
- case FilesToList.FL_HFiles:
- ParseTag(sr, "HEADERS", fileList); break;
- case FilesToList.FL_UiFiles:
- ParseTag(sr, "FORMS", fileList); break;
- }
-
- // the filelist should contain the entire path since we can select
- // any .pri file..
- List<string> ret = new List<string>();
- try
- {
- ret = ConvertFilesToFullPath(ret, priFileInfo.DirectoryName);
- }
- catch (System.Exception e)
- {
- Messages.DisplayErrorMessage(SR.GetString("ExportProject_ErrorParsingPriFile", e.Message),
- SR.GetString("ExportProject_CheckFileAndSyntax"));
- return null;
- }
-
- sr.Close();
- return ret;
- }
-
- // a very simple and bad parser for .pri files...
- private static void ParseTag(StreamReader sr, string tag, List<string> arList)
- {
- // start parsing from the beginning...
- sr.BaseStream.Position = 0;
-
- string line;
- bool parsing = false;
- char [] trimChars = {'/', '\\', ' ', '\t', '=', '+', '-'};
- char [] sepChars = {'\t', ' '};
-
- while ((line = sr.ReadLine()) != null)
- {
- if (parsing && (line.IndexOf('=') != -1))
- break;
-
- line = line.Trim();
- if (line.StartsWith(tag))
- {
- line = line.Remove(0, tag.Length);
- parsing = true;
- }
-
- if (parsing)
- {
- // remove pwd, as we build the full path ourself
- string pwd = "$$PWD";
- if (line.IndexOf(pwd) > -1)
- line = line.Remove(line.IndexOf(pwd), pwd.Length);
-
- line = line.TrimStart(trimChars);
- line = line.TrimEnd(trimChars);
-
- // remove comments
- int comStart = line.IndexOf('#');
- if (comStart != -1)
- line = line.Remove(comStart, line.Length-comStart);
-
- if (line.Length > 0)
- arList.AddRange(line.Split(sepChars));
- }
- }
- }
-
- private static VCFilter BestMatch(string path, Hashtable pathFilterTable)
- {
- string bestMatch = ".";
- string inPath = path;
- if (inPath.StartsWith(".\\"))
- inPath = inPath.Substring(2);
- foreach (string p in pathFilterTable.Keys)
- {
- int best = 0;
- for (int i = 0; i < inPath.Length; ++i)
- {
- if (i < p.Length && inPath[i] == p[i])
- ++best;
- else
- break;
- }
- if (best > bestMatch.Length && p.Length == best)
- bestMatch = p;
- }
- return pathFilterTable[bestMatch] as VCFilter;
- }
-
- private static void CollectFilters(VCFilter filter, string path, ref Hashtable filterPathTable,
- ref Hashtable pathFilterTable)
- {
- string newPath = ".";
- if (path != null)
- newPath = path + "\\" + filter.Name;
- newPath = newPath.ToLower().Trim();
- newPath = Regex.Replace(newPath, @"\\+\.?\\+", "\\");
- newPath = Regex.Replace(newPath, @"\\\.?$", "");
- if (newPath.StartsWith(".\\"))
- newPath = newPath.Substring(2);
- filterPathTable.Add(filter, newPath);
- pathFilterTable.Add(newPath, filter);
- foreach (VCFilter f in (IVCCollection)filter.Filters)
- {
- CollectFilters(f, newPath, ref filterPathTable, ref pathFilterTable);
- }
- }
-
- public static void SyncIncludeFiles(VCProject vcproj, List<string> priFiles,
- List<string> projFiles, EnvDTE.DTE dte)
- {
- SyncIncludeFiles(vcproj, priFiles, projFiles, dte, false, null);
- }
-
- public static void SyncIncludeFiles(VCProject vcproj, List<string> priFiles,
- List<string> projFiles, EnvDTE.DTE dte, bool flat, FakeFilter fakeFilter)
- {
- List<string> cmpPriFiles = new List<string>(priFiles.Count);
- foreach (string s in priFiles)
- cmpPriFiles.Add(HelperFunctions.NormalizeFilePath(s).ToLower());
- cmpPriFiles.Sort();
-
- List<string> cmpProjFiles = new List<string>(projFiles.Count);
- foreach (string s in projFiles)
- cmpProjFiles.Add(HelperFunctions.NormalizeFilePath(s).ToLower());
-
- QtProject qtPro = QtProject.Create(vcproj);
- Hashtable filterPathTable = new Hashtable(17);
- Hashtable pathFilterTable = new Hashtable(17);
- if (!flat && fakeFilter != null)
- {
- VCFilter rootFilter = qtPro.FindFilterFromGuid(fakeFilter.UniqueIdentifier);
- if (rootFilter == null)
- qtPro.AddFilterToProject(Filters.SourceFiles());
-
- CollectFilters(rootFilter, null, ref filterPathTable, ref pathFilterTable);
- }
-
- // first check for new files
- foreach(string file in cmpPriFiles)
- {
- if (cmpProjFiles.IndexOf(file) > -1)
- continue;
-
- if (flat)
- {
- vcproj.AddFile(file); // the file is not in the project
- }
- else
- {
- string path = HelperFunctions.GetRelativePath(vcproj.ProjectDirectory, file);
- if (path.StartsWith(".\\"))
- path = path.Substring(2);
-
- int i = path.LastIndexOf('\\');
- if (i > -1)
- path = path.Substring(0, i);
- else
- path = ".";
-
- if (pathFilterTable.Contains(path))
- {
- VCFilter f = pathFilterTable[path] as VCFilter;
- f.AddFile(file);
- continue;
- }
-
- VCFilter filter = BestMatch(path, pathFilterTable);
-
- string filterDir = filterPathTable[filter] as string;
- string name = path;
- if (!name.StartsWith("..") && name.StartsWith(filterDir))
- name = name.Substring(filterDir.Length + 1);
-
- VCFilter newFilter = filter.AddFilter(name) as VCFilter;
- newFilter.AddFile(file);
-
- filterPathTable.Add(newFilter, path);
- pathFilterTable.Add(path, newFilter);
- }
- }
-
- // then check for deleted files
- foreach (string file in cmpProjFiles)
- {
- if (cmpPriFiles.IndexOf(file) == -1)
- {
- // the file is not in the pri file
- // (only removes it from the project, does not del. the file)
- FileInfo info = new FileInfo(file);
- HelperFunctions.RemoveFileInProject(vcproj, file);
- Messages.PaneMessage(dte, "--- (Importing .pri file) file: " + info.Name +
- " does not exist in .pri file, move to " + vcproj.ProjectDirectory + "Deleted");
- }
- }
- }
- #endregion
-
- public void ExportToProFile()
- {
- ExportProjectDialog expDlg = new ExportProjectDialog();
-
- EnvDTE.Solution sln = dteObject.Solution;
- ProSolution prosln = CreateProFileSolution(sln);
-
- if (prosln.ProFiles.Count <= 0)
- {
- Messages.DisplayWarningMessage(SR.GetString("ExportProject_NoProjectsToExport"));
- return;
- }
-
- expDlg.ProFileSolution = prosln;
- expDlg.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent;
- MainWinWrapper ww = new MainWinWrapper(dteObject);
- if (expDlg.ShowDialog(ww) == DialogResult.OK)
- {
- WriteProSolution(prosln, expDlg.OpenFiles);
-
- // create all the project .pro files
- foreach (ProFileContent profile in prosln.ProFiles)
- {
- if (profile.Export)
- {
- Project project = HelperFunctions.VCProjectToProject(profile.Project);
- string priFile = null;
- if (expDlg.CreatePriFile)
- priFile = ExportToPriFile(project);
- else
- {
- ProFileContent priContent = CreatePriFileContent(project, profile.Project.ProjectDirectory);
- profile.Options.AddRange(priContent.Options);
- }
- WriteProFile(profile, profile.Project.ProjectDirectory + profile.Project.Name + ".pro", priFile, expDlg.OpenFiles);
- }
- }
- }
- }
-
- public void ImportPriFile(EnvDTE.Project proj)
- {
- VCProject vcproj;
-
- if (HelperFunctions.IsQtProject(proj))
- {
- try
- {
- vcproj = (VCProject)proj.Object;
- }
- catch (System.Exception e)
- {
- Messages.DisplayWarningMessage(e);
- return;
- }
-
- // make the user able to choose .pri file
- OpenFileDialog fd = new OpenFileDialog();
- fd.Multiselect = false;
- fd.CheckFileExists = true;
- fd.Title = SR.GetString("ExportProject_ImportPriFile");
- fd.Filter = "Project Include Files (*.pri)|*.pri";
- fd.InitialDirectory = vcproj.ProjectDirectory;
- fd.FileName = vcproj.Name + ".pri";
-
- if (fd.ShowDialog() != DialogResult.OK)
- return;
-
- ImportPriFile(proj, fd.FileName);
- }
- }
-
- public void ImportPriFile(EnvDTE.Project proj, string fileName)
- {
- VCProject vcproj;
-
- List<string> priFiles;
- List<string> projFiles;
-
- try
- {
- vcproj = (VCProject)proj.Object;
- }
- catch (System.Exception e)
- {
- Messages.DisplayWarningMessage(e);
- return;
- }
-
- FileInfo priFileInfo = new FileInfo(fileName);
-
- // source files
- if ((priFiles = GetFilesInPriFile(priFileInfo, FilesToList.FL_CppFiles)) == null)
- return;
- projFiles = HelperFunctions.GetProjectFiles(proj, FilesToList.FL_CppFiles);
- projFiles = ConvertFilesToFullPath(projFiles, vcproj.ProjectDirectory);
- ProjectExporter.SyncIncludeFiles(vcproj, priFiles, projFiles, dteObject);
-
- // header files
- if ((priFiles = GetFilesInPriFile(priFileInfo, FilesToList.FL_HFiles)) == null)
- return;
- projFiles = HelperFunctions.GetProjectFiles(proj, FilesToList.FL_HFiles);
- projFiles = ConvertFilesToFullPath(projFiles, vcproj.ProjectDirectory);
- ProjectExporter.SyncIncludeFiles(vcproj, priFiles, projFiles, dteObject);
-
- // form files
- if ((priFiles = GetFilesInPriFile(priFileInfo, FilesToList.FL_UiFiles)) == null)
- return;
- projFiles = HelperFunctions.GetProjectFiles(proj, FilesToList.FL_UiFiles);
- projFiles = ConvertFilesToFullPath(projFiles, vcproj.ProjectDirectory);
- ProjectExporter.SyncIncludeFiles(vcproj, priFiles, projFiles, dteObject);
- }
-
- public string ExportToPriFile(EnvDTE.Project proj)
- {
- VCProject vcproj;
-
- if (HelperFunctions.IsQtProject(proj))
- {
- try
- {
- vcproj = (VCProject)proj.Object;
- }
- catch(System.Exception e)
- {
- Messages.DisplayErrorMessage(e);
- return null;
- }
-
- // make the user able to choose .pri file
- SaveFileDialog fd = new SaveFileDialog();
- fd.OverwritePrompt = true;
- fd.CheckPathExists = true;
- fd.Title = SR.GetString("ExportProject_ExportPriFile");
- fd.Filter = "Project Include Files (*.pri)|*.pri";
- fd.InitialDirectory = vcproj.ProjectDirectory;
- fd.FileName = vcproj.Name + ".pri";
-
- if (fd.ShowDialog() != DialogResult.OK)
- return null;
-
- ExportToPriFile(proj, fd.FileName);
- return fd.FileName;
- }
- return null;
- }
-
- public void ExportToPriFile(EnvDTE.Project proj, string fileName)
- {
- FileInfo priFile = new FileInfo(fileName);
-
- ProFileContent content = CreatePriFileContent(proj, priFile.DirectoryName);
- WritePriFile(content, priFile.FullName);
- }
- }
-}
diff --git a/Qt4VS2003/QtProjectLib/ProjectImporter.cs b/Qt4VS2003/QtProjectLib/ProjectImporter.cs
deleted file mode 100644
index b7c4b434..00000000
--- a/Qt4VS2003/QtProjectLib/ProjectImporter.cs
+++ /dev/null
@@ -1,402 +0,0 @@
-/****************************************************************************
-**
-** Copyright (C) 2016 The Qt Company Ltd.
-** Contact: https://www.qt.io/licensing/
-**
-** This file is part of the Qt VS Add-in.
-**
-** $QT_BEGIN_LICENSE:GPL-EXCEPT$
-** Commercial License Usage
-** Licensees holding valid commercial Qt licenses may use this file in
-** accordance with the commercial license agreement provided with the
-** Software or, alternatively, in accordance with the terms contained in
-** a written agreement between you and The Qt Company. For licensing terms
-** and conditions see https://www.qt.io/terms-conditions. For further
-** information use the contact form at https://www.qt.io/contact-us.
-**
-** GNU General Public License Usage
-** Alternatively, this file may be used under the terms of the GNU
-** General Public License version 3 as published by the Free Software
-** Foundation with exceptions as appearing in the file LICENSE.GPL3-EXCEPT
-** included in the packaging of this file. Please review the following
-** information to ensure the GNU General Public License requirements will
-** be met: https://www.gnu.org/licenses/gpl-3.0.html.
-**
-** $QT_END_LICENSE$
-**
-****************************************************************************/
-
-using System;
-using System.IO;
-using System.Collections.Generic;
-using System.Text;
-using System.Text.RegularExpressions;
-using System.Threading;
-using System.Windows.Forms;
-using EnvDTE;
-using Microsoft.VisualStudio.VCProjectEngine;
-
-namespace Digia.Qt5ProjectLib
-{
- public class ProjectImporter
- {
- private EnvDTE.DTE dteObject = null;
- const string projectFileExtension = ".vcxproj";
-
- public ProjectImporter(EnvDTE.DTE dte)
- {
- dteObject = dte;
- }
-
- public void ImportProFile(string qtVersion)
- {
- FileDialog toOpen = new OpenFileDialog();
- toOpen.FilterIndex = 1;
- toOpen.CheckFileExists = true;
- toOpen.Title = SR.GetString("ExportProject_SelectQtProjectToAdd");
- toOpen.Filter = "Qt Project files (*.pro)|*.pro|All files (*.*)|*.*";
-
- if (DialogResult.OK != toOpen.ShowDialog())
- return;
-
- FileInfo mainInfo = new FileInfo(toOpen.FileName);
- if (HelperFunctions.IsSubDirsFile(mainInfo.FullName))
- {
- // we use the safe way. Make the user close the existing solution manually
- if ((!string.IsNullOrEmpty(dteObject.Solution.FullName)) || (HelperFunctions.ProjectsInSolution(dteObject).Count > 0))
- {
- if (MessageBox.Show(SR.GetString("ExportProject_SubdirsProfileSolutionClose"),
- SR.GetString("OpenSolution"), MessageBoxButtons.OKCancel, MessageBoxIcon.Question)
- == DialogResult.OK)
- dteObject.Solution.Close(true);
- else
- return;
- }
-
- ImportSolution(mainInfo, qtVersion);
- }
- else
- {
- ImportProject(mainInfo, qtVersion);
- }
- }
-
- private void ImportSolution(FileInfo mainInfo, string qtVersion)
- {
- VersionInformation versionInfo = QtVersionManager.The().GetVersionInfo(qtVersion);
- FileInfo VCInfo = RunQmake(mainInfo, ".sln", true, versionInfo);
- if (null == VCInfo)
- return;
- ReplaceAbsoluteQtDirInSolution(VCInfo);
-
- try
- {
- if (CheckQtVersion(versionInfo))
- {
- dteObject.Solution.Open(VCInfo.FullName);
- if (qtVersion != null)
- {
- QtVersionManager.The().SaveSolutionQtVersion(dteObject.Solution, qtVersion);
- foreach (Project prj in HelperFunctions.ProjectsInSolution(dteObject))
- {
- QtVersionManager.The().SaveProjectQtVersion(prj, qtVersion);
- QtProject qtPro = QtProject.Create(prj);
- qtPro.SetQtEnvironment();
- ApplyPostImportSteps(qtPro);
- }
- }
- }
-
- Messages.PaneMessage(dteObject, "--- (Import): Finished opening " + VCInfo.Name);
- }
- catch (Exception e)
- {
- Messages.DisplayCriticalErrorMessage(e);
- }
- }
-
- public void ImportProject(FileInfo mainInfo, string qtVersion)
- {
- VersionInformation versionInfo = QtVersionManager.The().GetVersionInfo(qtVersion);
- FileInfo VCInfo = RunQmake(mainInfo, projectFileExtension, false, versionInfo);
- if (null == VCInfo)
- return;
-
- ReplaceAbsoluteQtDirInProject(VCInfo);
-
- try
- {
- if (CheckQtVersion(versionInfo))
- {
- // no need to add the project again if it's already there...
- if (!HelperFunctions.IsProjectInSolution(dteObject, VCInfo.FullName))
- {
- try
- {
- dteObject.Solution.AddFromFile(VCInfo.FullName, false);
- }
- catch (Exception /*exception*/)
- {
- Messages.PaneMessage(dteObject, "--- (Import): Generated project could not be loaded.");
- Messages.PaneMessage(dteObject, "--- (Import): Please look in the output above for errors and warnings.");
- return;
- }
- Messages.PaneMessage(dteObject, "--- (Import): Added " + VCInfo.Name + " to Solution");
- }
- else
- {
- Messages.PaneMessage(dteObject, "Project already in Solution");
- }
-
- EnvDTE.Project pro = null;
- foreach (EnvDTE.Project p in HelperFunctions.ProjectsInSolution(dteObject))
- {
- if (p.FullName.ToLower() == VCInfo.FullName.ToLower())
- {
- pro = p;
- break;
- }
- }
- if (pro != null)
- {
- QtProject qtPro = QtProject.Create(pro);
- qtPro.SetQtEnvironment();
- string platformName = versionInfo.GetVSPlatformName();
-
- if (qtVersion != null)
- {
- QtVersionManager.The().SaveProjectQtVersion(pro, qtVersion, platformName);
- }
- if (!qtPro.SelectSolutionPlatform(platformName) || !qtPro.HasPlatform(platformName))
- {
- bool newProject = false;
- qtPro.CreatePlatform("Win32", platformName, null, versionInfo, ref newProject);
- if (!qtPro.SelectSolutionPlatform(platformName))
- {
- Messages.PaneMessage(dteObject, "Can't select the platform " + platformName + ".");
- }
- }
-
- // try to figure out if the project is a plugin project
- try
- {
- string activeConfig = pro.ConfigurationManager.ActiveConfiguration.ConfigurationName;
- VCConfiguration config = (VCConfiguration)((IVCCollection)qtPro.VCProject.Configurations).Item(activeConfig);
- if (config.ConfigurationType == ConfigurationTypes.typeDynamicLibrary)
- {
- CompilerToolWrapper compiler = CompilerToolWrapper.Create(config);
- VCLinkerTool linker = (VCLinkerTool)((IVCCollection)config.Tools).Item("VCLinkerTool");
- if (compiler.GetPreprocessorDefinitions().IndexOf("QT_PLUGIN") > -1
- && compiler.GetPreprocessorDefinitions().IndexOf("QDESIGNER_EXPORT_WIDGETS") > -1
- && compiler.GetAdditionalIncludeDirectories().IndexOf("QtDesigner") > -1
- && linker.AdditionalDependencies.IndexOf("QtDesigner") > -1)
- {
- qtPro.MarkAsDesignerPluginProject();
- }
- }
- }
- catch (Exception)
- { }
-
- ApplyPostImportSteps(qtPro);
- }
- }
- }
- catch (Exception e)
- {
- Messages.DisplayCriticalErrorMessage(SR.GetString("ExportProject_ProjectOrSolutionCorrupt", e.ToString()));
- }
- }
-
- private void ReplaceAbsoluteQtDirInSolution(FileInfo solutionFile)
- {
- List<string> projects = ParseProjectsFromSolution(solutionFile);
- foreach (string project in projects)
- {
- FileInfo projectInfo = new FileInfo(project);
- ReplaceAbsoluteQtDirInProject(projectInfo);
- }
- }
-
- private static List<string> ParseProjectsFromSolution(FileInfo solutionFile)
- {
- StreamReader sr = solutionFile.OpenText();
- string content = sr.ReadToEnd();
- sr.Close();
-
- List<string> projects = new List<string>();
- int index = content.IndexOf(projectFileExtension);
- while (index != -1)
- {
- int startIndex = content.LastIndexOf('\"', index, index) + 1;
- int endIndex = content.IndexOf('\"', index);
- projects.Add(content.Substring(startIndex, endIndex - startIndex));
- content = content.Substring(endIndex);
- index = content.IndexOf(projectFileExtension);
- }
- return projects;
- }
-
- private void ReplaceAbsoluteQtDirInProject(FileInfo projectFile)
- {
- StreamReader sr = projectFile.OpenText();
- string content = sr.ReadToEnd();
- sr.Close();
-
- string qtDir = ParseQtDirFromFileContent(content);
- if (!string.IsNullOrEmpty(qtDir))
- {
- content = HelperFunctions.ReplaceCaseInsensitive(content, qtDir, "$(QTDIR)\\");
- StreamWriter sw = projectFile.CreateText();
- sw.Write(content);
- sw.Flush();
- sw.Close();
- }
- else
- {
- Messages.PaneMessage(dteObject, SR.GetString("ImportProject_CannotFindQtDirectory", projectFile.Name));
- }
- }
-
- private static string ParseQtDirFromFileContent(string vcFileContent)
- {
- string uicQtDir = FindQtDirFromExtension(vcFileContent, "bin\\uic.exe");
- string rccQtDir = FindQtDirFromExtension(vcFileContent, "bin\\rcc.exe");
- string mkspecQtDir = FindQtDirFromExtension(vcFileContent, "mkspecs\\default");
- if (!string.IsNullOrEmpty(mkspecQtDir))
- {
- if (!string.IsNullOrEmpty(uicQtDir) && uicQtDir.ToLower() != mkspecQtDir.ToLower())
- {
- return "";
- }
- if (!string.IsNullOrEmpty(rccQtDir) && rccQtDir.ToLower() != mkspecQtDir.ToLower())
- {
- return "";
- }
- return mkspecQtDir;
- }
- if (!string.IsNullOrEmpty(uicQtDir))
- {
- if (!string.IsNullOrEmpty(rccQtDir) && rccQtDir.ToLower() != uicQtDir.ToLower())
- {
- return "";
- }
- return uicQtDir;
- }
- if (!string.IsNullOrEmpty(rccQtDir))
- return rccQtDir;
- return "";
- }
-
- private static string FindQtDirFromExtension(string content, string extension)
- {
- string s = "";
- int index = -1;
- index = content.ToLower().IndexOf(extension.ToLower());
- if (index != -1)
- {
- s = content.Remove(index);
- index = s.LastIndexOf("CommandLine=");
- if (s.LastIndexOf("AdditionalDependencies=") > index)
- index = s.LastIndexOf("AdditionalDependencies=");
- if (index != -1)
- {
- s = s.Substring(index);
- s = s.Substring(s.IndexOf('=') + 1);
- }
-
- index = s.LastIndexOf(';');
- if (index != -1)
- s = s.Substring(index + 1);
- }
- if (!string.IsNullOrEmpty(s))
- {
- s = s.Trim(new char[] { ' ', '\"' , ','});
- if (s.StartsWith(">"))
- s = s.Substring(1);
- if (!Path.IsPathRooted(s))
- s = null;
- }
- return s;
- }
-
- private static void ApplyPostImportSteps(QtProject qtProject)
- {
- foreach (VCConfiguration cfg in (IVCCollection)qtProject.VCProject.Configurations)
- {
- cfg.IntermediateDirectory = @"$(Platform)\$(Configuration)\";
- CompilerToolWrapper compilerTool = CompilerToolWrapper.Create(cfg);
- if (compilerTool != null)
- {
- compilerTool.ObjectFile = @"$(IntDir)";
- compilerTool.ProgramDataBaseFileName = @"$(IntDir)vc$(PlatformToolsetVersion).pdb";
- }
- }
-
- qtProject.RemoveResFilesFromGeneratedFilesFilter();
- qtProject.RepairGeneratedFilesStructure();
- qtProject.TranslateFilterNames();
-
- QtVSIPSettings.SaveUicDirectory(qtProject.Project, QtVSIPSettings.GetUicDirectory());
- qtProject.UpdateUicSteps(".", false); // false is to not remove given path from includes
- QtVSIPSettings.SaveRccDirectory(qtProject.Project, QtVSIPSettings.GetRccDirectory());
- qtProject.RefreshRccSteps();
-
- // collapse the generated files/resources filters afterwards
- qtProject.CollapseFilter(Filters.ResourceFiles().Name);
- qtProject.CollapseFilter(Filters.GeneratedFiles().Name);
-
- try
- {
- // save the project after modification
- qtProject.Project.Save(null);
- }
- catch { /* ignore */ }
- }
-
- private FileInfo RunQmake(FileInfo mainInfo, string ext, bool recursive, VersionInformation vi)
- {
- string name = mainInfo.Name.Remove(mainInfo.Name.IndexOf('.'));
-
- FileInfo VCInfo = new FileInfo(mainInfo.DirectoryName + "\\" + name + ext);
-
- if (!VCInfo.Exists || DialogResult.Yes == MessageBox.Show(SR.GetString("ExportProject_ProjectExistsRegenerateOrReuse", VCInfo.Name),
- SR.GetString("ProjectExists"), MessageBoxButtons.YesNo, MessageBoxIcon.Question))
- {
- Messages.PaneMessage(dteObject, "--- (Import): Generating new project of " + mainInfo.Name + " file");
-
- InfoDialog dialog = new InfoDialog(mainInfo.Name);
- QMake qmake = new QMake(dteObject, mainInfo.FullName, recursive, vi);
-
- qmake.CloseEvent += new QMake.ProcessEventHandler(dialog.CloseEventHandler);
- qmake.PaneMessageDataEvent += new QMake.ProcessEventHandlerArg(this.PaneMessageDataReceived);
-
- System.Threading.Thread qmakeThread = new System.Threading.Thread(new ThreadStart(qmake.RunQMake));
- qmakeThread.Start();
- dialog.ShowDialog();
- qmakeThread.Join();
-
- if (qmake.ErrorValue == 0)
- return VCInfo;
- }
-
- return null;
- }
-
- private void PaneMessageDataReceived(string data)
- {
- Messages.PaneMessage(dteObject, data);
- }
-
- private static bool CheckQtVersion(VersionInformation vi)
- {
- if (!vi.qt5Version)
- {
- Messages.DisplayWarningMessage(SR.GetString("ExportProject_EditProjectFileManually"));
- return false;
- }
- return true;
- }
-
- }
-}
diff --git a/Qt4VS2003/QtProjectLib/ProjectLibStringResources.de.resx b/Qt4VS2003/QtProjectLib/ProjectLibStringResources.de.resx
deleted file mode 100644
index d420e7b0..00000000
--- a/Qt4VS2003/QtProjectLib/ProjectLibStringResources.de.resx
+++ /dev/null
@@ -1,344 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<root>
- <!--
- Microsoft ResX Schema
-
- Version 2.0
-
- The primary goals of this format is to allow a simple XML format
- that is mostly human readable. The generation and parsing of the
- various data types are done through the TypeConverter classes
- associated with the data types.
-
- Example:
-
- ... ado.net/XML headers & schema ...
- <resheader name="resmimetype">text/microsoft-resx</resheader>
- <resheader name="version">2.0</resheader>
- <resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
- <resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
- <data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
- <data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
- <data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
- <value>[base64 mime encoded serialized .NET Framework object]</value>
- </data>
- <data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
- <value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
- <comment>This is a comment</comment>
- </data>
-
- There are any number of "resheader" rows that contain simple
- name/value pairs.
-
- Each data row contains a name, and value. The row also contains a
- type or mimetype. Type corresponds to a .NET class that support
- text/value conversion through the TypeConverter architecture.
- Classes that don't support this are serialized and stored with the
- mimetype set.
-
- The mimetype is used for serialized objects, and tells the
- ResXResourceReader how to depersist the object. This is currently not
- extensible. For a given mimetype the value must be set accordingly:
-
- Note - application/x-microsoft.net.object.binary.base64 is the format
- that the ResXResourceWriter will generate, however the reader can
- read any of the formats listed below.
-
- mimetype: application/x-microsoft.net.object.binary.base64
- value : The object must be serialized with
- : System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
- : and then encoded with base64 encoding.
-
- mimetype: application/x-microsoft.net.object.soap.base64
- value : The object must be serialized with
- : System.Runtime.Serialization.Formatters.Soap.SoapFormatter
- : and then encoded with base64 encoding.
-
- mimetype: application/x-microsoft.net.object.bytearray.base64
- value : The object must be serialized into a byte array
- : using a System.ComponentModel.TypeConverter
- : and then encoded with base64 encoding.
- -->
- <xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
- <xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
- <xsd:element name="root" msdata:IsDataSet="true">
- <xsd:complexType>
- <xsd:choice maxOccurs="unbounded">
- <xsd:element name="metadata">
- <xsd:complexType>
- <xsd:sequence>
- <xsd:element name="value" type="xsd:string" minOccurs="0" />
- </xsd:sequence>
- <xsd:attribute name="name" use="required" type="xsd:string" />
- <xsd:attribute name="type" type="xsd:string" />
- <xsd:attribute name="mimetype" type="xsd:string" />
- <xsd:attribute ref="xml:space" />
- </xsd:complexType>
- </xsd:element>
- <xsd:element name="assembly">
- <xsd:complexType>
- <xsd:attribute name="alias" type="xsd:string" />
- <xsd:attribute name="name" type="xsd:string" />
- </xsd:complexType>
- </xsd:element>
- <xsd:element name="data">
- <xsd:complexType>
- <xsd:sequence>
- <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
- <xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
- </xsd:sequence>
- <xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
- <xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
- <xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
- <xsd:attribute ref="xml:space" />
- </xsd:complexType>
- </xsd:element>
- <xsd:element name="resheader">
- <xsd:complexType>
- <xsd:sequence>
- <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
- </xsd:sequence>
- <xsd:attribute name="name" type="xsd:string" use="required" />
- </xsd:complexType>
- </xsd:element>
- </xsd:choice>
- </xsd:complexType>
- </xsd:element>
- </xsd:schema>
- <resheader name="resmimetype">
- <value>text/microsoft-resx</value>
- </resheader>
- <resheader name="version">
- <value>2.0</value>
- </resheader>
- <resheader name="reader">
- <value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
- </resheader>
- <resheader name="writer">
- <value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
- </resheader>
- <data name="OK" xml:space="preserve">
- <value>&amp;OK</value>
- </data>
- <data name="Cancel" xml:space="preserve">
- <value>&amp;Abbrechen</value>
- </data>
- <data name="ExportSolution" xml:space="preserve">
- <value>Projektmappe exportieren</value>
- </data>
- <data name="OpenSolution" xml:space="preserve">
- <value>Projektmappe öffnen</value>
- </data>
- <data name="ProjectExists" xml:space="preserve">
- <value>Die Projektdatei existiert bereits!</value>
- </data>
- <data name="ExportProject_CheckFileAndSyntax" xml:space="preserve">
- <value>1. Überprüfen Sie das alle Dateien existieren.
-2. Überprüfen Sie die entsprechende .pri Datei auf Syntax Fehler.</value>
- </data>
- <data name="ExportProject_EditProjectFileManually" xml:space="preserve">
- <value>qmake hat eine .vcproj Datei erzeugt, die noch weiter angepasst werden muss.
-Um dies zu tun öffnen Sie bitte die entsprechende .vcproj Datei manuell zur Bearbeitung.
-(Ursache: qmake in Qt3 bietet noch keine Unterstützung um Visual Studio 2005 .vcproj Projektdateien zu generieren)</value>
- </data>
- <data name="ExportProject_ErrorParsingPriFile" xml:space="preserve">
- <value>Fehler beim parsen der .pri Datei! ({0})</value>
- </data>
- <data name="ExportProject_ExistsOverwriteQuestion" xml:space="preserve">
- <value>{0} existiert bereits.
-
-Soll diese dennoch überschrieben werden?</value>
- </data>
- <data name="ExportProject_ExportPriFile" xml:space="preserve">
- <value>Export in .pri Datei</value>
- </data>
- <data name="ExportProject_ImportPriFile" xml:space="preserve">
- <value>Import von .pri Datei</value>
- </data>
- <data name="ExportProject_NoProjectsToExport" xml:space="preserve">
- <value>Es wurde kein Qt4 Projekt zum Export gefunden.</value>
- </data>
- <data name="ExportProject_PriFileContainsSpaces" xml:space="preserve">
- <value>Die erzeugte .pri Datei enthält Leerzeichen in den Pfadangaben. Der Import aus dieser Datei ist nicht möglich!
-1. Bearbeiten Sie die generierte .pri Datei manuell.
-2. Verschieben Sie Ihr Projekt in einen Pfad ohne Leerzeichen.
-3. Verschieben Sie die .pri Datei in ein anderes Verzeichnis.</value>
- </data>
- <data name="ExportProject_ProjectExistsRegenerateOrReuse" xml:space="preserve">
- <value>Die Projektdatei {0} existiert bereits!
-Wählen Sie 'Ja' um das Projekt neu zu erstellen oder 'Nein' um das existierende beizubehalten.</value>
- </data>
- <data name="ExportProject_ProjectOrSolutionCorrupt" xml:space="preserve">
- <value>{0}
-(Möglicherweise ist die .vcproj oder die .sln Datei beschädigt?)</value>
- </data>
- <data name="ExportProject_SelectQtProjectToAdd" xml:space="preserve">
- <value>Wählen Sie ein Qt Projekt das zur Projektmappe hinzugefügt werden soll...</value>
- </data>
- <data name="ExportProject_SolutionProFileBuildIn" xml:space="preserve">
- <value>Soll die Projektmappe .pro Datei hier erstellt werden: {0}?</value>
- </data>
- <data name="ExportProject_SubdirsProfileSolutionClose" xml:space="preserve">
- <value>Bei dieser .pro Datei handelt es sich um eine SUBDIRS .pro Datei.
-Um diese Datei zu öffnen muss die gerade geöffnete Projektmappe geschlossen werden
-(anstehende Änderungen werden gespeichert).</value>
- </data>
- <data name="ExportProjectDialog_Cancel" xml:space="preserve">
- <value>&amp;Abbrechen</value>
- </data>
- <data name="ExportProjectDialog_OK" xml:space="preserve">
- <value>&amp;OK</value>
- </data>
- <data name="ExportProjectDialog_CreatePro" xml:space="preserve">
- <value>Erstelle .pro Dateien für folgende Projekte:</value>
- </data>
- <data name="ExportProjectDialog_Project" xml:space="preserve">
- <value>Projektelement:</value>
- </data>
- <data name="ExportProjectDialog_Open" xml:space="preserve">
- <value>Öffne erstellte Dateien</value>
- </data>
- <data name="ExportProjectDialog_CreatePri" xml:space="preserve">
- <value>Erstelle .pri Datei</value>
- </data>
- <data name="ExportProjectDialog_Title" xml:space="preserve">
- <value>Exportiere Projekt</value>
- </data>
- <data name="QMakeProcess_OpenSolutionFromFile" xml:space="preserve">
- <value>Generiere Projektmappe von Datei: </value>
- </data>
- <data name="HelperFunctions_TryCreatingNewProject" xml:space="preserve">
- <value>Versuche ein neues Projekt zu erstellen.</value>
- </data>
- <data name="HelperFunctions_ErrorSearchForQtTemplatePath" xml:space="preserve">
- <value>Ein Fehler trat auf während der Suche nach dem Qt Template Pfad.</value>
- </data>
- <data name="HelperFunctions_CannotWriteEnvQTDIR" xml:space="preserve">
- <value>Die Umgebungsvariable QTDIR konnte nicht gesetzt werden.</value>
- </data>
- <data name="Messages_ErrorOccured" xml:space="preserve">
- <value>Der folgende Fehler trat auf:
-</value>
- </data>
- <data name="Messages_Warning" xml:space="preserve">
- <value>Warnung:
-</value>
- </data>
- <data name="Messages_SolveProblem" xml:space="preserve">
- <value>
-
-Dieses Problem muss behoben werden:
-</value>
- </data>
- <data name="QtProject_CannotConstructWithoutValidProject" xml:space="preserve">
- <value>Es konnte kein Qt Projekt ohne bestehendes Projekt erstellt werden!</value>
- </data>
- <data name="QtProject_CannotAddUicStep" xml:space="preserve">
- <value>Die uic Bearbeitungsschritte konnten nicht zur Datei: {0} hinzugefügt werden.</value>
- </data>
- <data name="QtProject_CannotAddMocStep" xml:space="preserve">
- <value>Die moc Bearbeitungsschritte konnten nicht zur Datei: {0} hinzugefügt werden.</value>
- </data>
- <data name="QtProject_CannotRemoveMocStep" xml:space="preserve">
- <value>Die moc Bearbeitungsschritte konnten nicht von Datei: {0} entfernt werden.</value>
- </data>
- <data name="QtProject_CannotAddFilter" xml:space="preserve">
- <value>Das Projekt konnte den Filter: {0} nicht hinzugefügen.</value>
- </data>
- <data name="QtProject_CannotAddFile" xml:space="preserve">
- <value>Die Datei: {0} konnte nicht zum Filter hinzugefügt werden.</value>
- </data>
- <data name="QtProject_CannotRemoveFile" xml:space="preserve">
- <value>Die Datei {0} konnte nicht vom Filter entfernt werden.</value>
- </data>
- <data name="QtProject_DeletedFolderFullOrProteced" xml:space="preserve">
- <value>1. Möglicherweise ist Ihr "Gelöschte Objekte" Verzeichnis voll.
-2. Möglicherweise ist dieses Verzeichnis schreibgeschützt.</value>
- </data>
- <data name="QtProject_CannotFindFilter" xml:space="preserve">
- <value>Der Filter wurde nicht gefunden.</value>
- </data>
- <data name="QtProject_ProjectCannotAddFilter" xml:space="preserve">
- <value>Das Projekt konnte den Filter: {0} nicht hinzugefügen.</value>
- </data>
- <data name="QtProject_ProjectCannotAddResourceFilter" xml:space="preserve">
- <value>Der Filter für "Resource Dateien" konnte nicht erstellt werden.</value>
- </data>
- <data name="QtProject_CannotCreateResourceDir" xml:space="preserve">
- <value>Es konnte kein Verzeichnis für "Resource Dateien" erstellt werden.</value>
- </data>
- <data name="QtProject_CannotAdjustWhitespaces" xml:space="preserve">
- <value>Leerzeichen oder Tabstops konnten nicht angepasst werden (write).
-Datei: ({0})</value>
- </data>
- <data name="QtProject_CannotReplaceTokenRead" xml:space="preserve">
- <value>Fehler beim Ersetzen von Zeichen ({0} -&gt; {1}) (read).
-Datei: ({3})</value>
- </data>
- <data name="QtProject_CannotReplaceTokenWrite" xml:space="preserve">
- <value>Fehler beim Ersetzen von Zeichen ({0} -&gt; {1}) (write).
-Datei: ({3})</value>
- </data>
- <data name="QtProject_CannotEnableSectionRead" xml:space="preserve">
- <value>Der Abschnitt {0} konnte nicht aktiviert werden (read).
-Datei: ({1})</value>
- </data>
- <data name="QtProject_CannotEnableSectionWrite" xml:space="preserve">
- <value>Der Abschnitt {0} konnte nicht aktiviert werden (write).
-Datei: ({1})</value>
- </data>
- <data name="QtProject_CannotUpdateUicStep" xml:space="preserve">
- <value>Die uic Bearbeitungsschritte konnten nicht aktualisiert werden!</value>
- </data>
- <data name="QtProject_FileExistsInProjectFolder" xml:space="preserve">
- <value>Die Datei {0} existiert bereits im Projektverzeichnis. Visual Studio Add-in wird diese Datei überschreiben!
-
-Wählen Sie 'Ja' um die vorhandene Datei zu ersetzen, wählen Sie 'Nein' um die existierende Datei beizubehalten
-und diese automatisch wieder dem Projekt hinzuzufügen.</value>
- </data>
- <data name="QtVersionManager_CannotLoadQtVersion" xml:space="preserve">
- <value>Die Standard Qt Version konnte nicht geladen werden.</value>
- </data>
- <data name="Resources_QtVisualStudioIntegration" xml:space="preserve">
- <value>Qt Visual Studio Add-in</value>
- </data>
- <data name="Resources_AddQtResource" xml:space="preserve">
- <value>Qt Resource hinzufuegen</value>
- </data>
- <data name="Resources_SourceFiles" xml:space="preserve">
- <value>Source Dateien</value>
- </data>
- <data name="Resources_HeaderFiles" xml:space="preserve">
- <value>Header Dateien</value>
- </data>
- <data name="Resources_FormFiles" xml:space="preserve">
- <value>Form Dateien</value>
- </data>
- <data name="Resources_ResourceFiles" xml:space="preserve">
- <value>Resource Dateien</value>
- </data>
- <data name="Resources_TranslationFiles" xml:space="preserve">
- <value>Lokalisierungs Dateien</value>
- </data>
- <data name="Resources_GeneratedFiles" xml:space="preserve">
- <value>Generierte Dateien</value>
- </data>
- <data name="CommandBarNotFound" xml:space="preserve">
- <value>"Qt" Eintrag konnte nicht zur Befehlsleiste hinzugefügt werden.</value>
- </data>
- <data name="QtProject_CannotFindCustomBuildTool" xml:space="preserve">
- <value>Kann Custom Build Tool für {0} nicht finden.</value>
- </data>
- <data name="QtProject_CannotAccessUserFile" xml:space="preserve">
- <value>QTDIR konnte nicht zur User Datei von {0} hinzugefügt werden.</value>
- </data>
- <data name="ImportProject_CannotFindQtDirectory" xml:space="preserve">
- <value>QTDIR konnte nicht aus Projektdatei {0} geparst werden.</value>
- </data>
- <data name="Helpers_ExitError" xml:space="preserve">
- <value>Die Applikation endete mit einem Fehler (Fehlerkode {0}):</value>
- </data>
- <data name="Resources_OtherFiles" xml:space="preserve">
- <value>Anderer Dateien</value>
- </data>
-</root> \ No newline at end of file
diff --git a/Qt4VS2003/QtProjectLib/ProjectLibStringResources.resx b/Qt4VS2003/QtProjectLib/ProjectLibStringResources.resx
deleted file mode 100644
index 7469e76f..00000000
--- a/Qt4VS2003/QtProjectLib/ProjectLibStringResources.resx
+++ /dev/null
@@ -1,342 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<root>
- <!--
- Microsoft ResX Schema
-
- Version 2.0
-
- The primary goals of this format is to allow a simple XML format
- that is mostly human readable. The generation and parsing of the
- various data types are done through the TypeConverter classes
- associated with the data types.
-
- Example:
-
- ... ado.net/XML headers & schema ...
- <resheader name="resmimetype">text/microsoft-resx</resheader>
- <resheader name="version">2.0</resheader>
- <resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
- <resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
- <data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
- <data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
- <data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
- <value>[base64 mime encoded serialized .NET Framework object]</value>
- </data>
- <data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
- <value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
- <comment>This is a comment</comment>
- </data>
-
- There are any number of "resheader" rows that contain simple
- name/value pairs.
-
- Each data row contains a name, and value. The row also contains a
- type or mimetype. Type corresponds to a .NET class that support
- text/value conversion through the TypeConverter architecture.
- Classes that don't support this are serialized and stored with the
- mimetype set.
-
- The mimetype is used for serialized objects, and tells the
- ResXResourceReader how to depersist the object. This is currently not
- extensible. For a given mimetype the value must be set accordingly:
-
- Note - application/x-microsoft.net.object.binary.base64 is the format
- that the ResXResourceWriter will generate, however the reader can
- read any of the formats listed below.
-
- mimetype: application/x-microsoft.net.object.binary.base64
- value : The object must be serialized with
- : System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
- : and then encoded with base64 encoding.
-
- mimetype: application/x-microsoft.net.object.soap.base64
- value : The object must be serialized with
- : System.Runtime.Serialization.Formatters.Soap.SoapFormatter
- : and then encoded with base64 encoding.
-
- mimetype: application/x-microsoft.net.object.bytearray.base64
- value : The object must be serialized into a byte array
- : using a System.ComponentModel.TypeConverter
- : and then encoded with base64 encoding.
- -->
- <xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
- <xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
- <xsd:element name="root" msdata:IsDataSet="true">
- <xsd:complexType>
- <xsd:choice maxOccurs="unbounded">
- <xsd:element name="metadata">
- <xsd:complexType>
- <xsd:sequence>
- <xsd:element name="value" type="xsd:string" minOccurs="0" />
- </xsd:sequence>
- <xsd:attribute name="name" use="required" type="xsd:string" />
- <xsd:attribute name="type" type="xsd:string" />
- <xsd:attribute name="mimetype" type="xsd:string" />
- <xsd:attribute ref="xml:space" />
- </xsd:complexType>
- </xsd:element>
- <xsd:element name="assembly">
- <xsd:complexType>
- <xsd:attribute name="alias" type="xsd:string" />
- <xsd:attribute name="name" type="xsd:string" />
- </xsd:complexType>
- </xsd:element>
- <xsd:element name="data">
- <xsd:complexType>
- <xsd:sequence>
- <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
- <xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
- </xsd:sequence>
- <xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
- <xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
- <xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
- <xsd:attribute ref="xml:space" />
- </xsd:complexType>
- </xsd:element>
- <xsd:element name="resheader">
- <xsd:complexType>
- <xsd:sequence>
- <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
- </xsd:sequence>
- <xsd:attribute name="name" type="xsd:string" use="required" />
- </xsd:complexType>
- </xsd:element>
- </xsd:choice>
- </xsd:complexType>
- </xsd:element>
- </xsd:schema>
- <resheader name="resmimetype">
- <value>text/microsoft-resx</value>
- </resheader>
- <resheader name="version">
- <value>2.0</value>
- </resheader>
- <resheader name="reader">
- <value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
- </resheader>
- <resheader name="writer">
- <value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
- </resheader>
- <data name="OK" xml:space="preserve">
- <value>&amp;OK</value>
- </data>
- <data name="Cancel" xml:space="preserve">
- <value>&amp;Cancel</value>
- </data>
- <data name="ExportSolution" xml:space="preserve">
- <value>Export Solution</value>
- </data>
- <data name="OpenSolution" xml:space="preserve">
- <value>Open Solution</value>
- </data>
- <data name="ProjectExists" xml:space="preserve">
- <value>Project file exists!</value>
- </data>
- <data name="ExportProject_CheckFileAndSyntax" xml:space="preserve">
- <value>1. Check that all the files exists.
-2. Check for syntax errors in the pri file.</value>
- </data>
- <data name="ExportProject_EditProjectFileManually" xml:space="preserve">
- <value>qmake has generated a .vcproj file, but it needs to be converted.
-To do this you must open the .vcproj file manually.
-(Reason: qmake in Qt3 does not support generation of Visual Studio 2005 .vcproj files)</value>
- </data>
- <data name="ExportProject_ErrorParsingPriFile" xml:space="preserve">
- <value>Error while parsing pri file! ({0})</value>
- </data>
- <data name="ExportProject_ExistsOverwriteQuestion" xml:space="preserve">
- <value>{0} already exists.
-
-Do you want to overwrite it?</value>
- </data>
- <data name="ExportProject_ExportPriFile" xml:space="preserve">
- <value>Export to .pri file</value>
- </data>
- <data name="ExportProject_ImportPriFile" xml:space="preserve">
- <value>Import from .pri file</value>
- </data>
- <data name="ExportProject_NoProjectsToExport" xml:space="preserve">
- <value>Did not find any Qt4 projects to export.</value>
- </data>
- <data name="ExportProject_PriFileContainsSpaces" xml:space="preserve">
- <value>The generated pri file contains paths with spaces. You will not be able to import from this file!
-1. Manually edit the generated pri file.
-2. Move your project to a location without spaces in the path.
-3. Place the pri file in another directory.</value>
- </data>
- <data name="ExportProject_ProjectExistsRegenerateOrReuse" xml:space="preserve">
- <value>{0} already exists!
-Select 'Yes' to regenerate the file, and 'No' to use the existing one.</value>
- </data>
- <data name="ExportProject_ProjectOrSolutionCorrupt" xml:space="preserve">
- <value>{0}
-(Maybe the .vcproj or .sln file is corrupt?)</value>
- </data>
- <data name="ExportProject_SelectQtProjectToAdd" xml:space="preserve">
- <value>Select a Qt Project to add to the Solution</value>
- </data>
- <data name="ExportProject_SolutionProFileBuildIn" xml:space="preserve">
- <value>Do you want a solution .pro file to be built in {0}?</value>
- </data>
- <data name="ExportProject_SubdirsProfileSolutionClose" xml:space="preserve">
- <value>It looks like this is a SUBDIRS .pro file. In order to open this
-file the existing solution needs to be closed (pending changes will be saved).</value>
- </data>
- <data name="ExportProjectDialog_Cancel" xml:space="preserve">
- <value>&amp;Cancel</value>
- </data>
- <data name="ExportProjectDialog_OK" xml:space="preserve">
- <value>&amp;OK</value>
- </data>
- <data name="ExportProjectDialog_CreatePro" xml:space="preserve">
- <value>Create .pro files for:</value>
- </data>
- <data name="ExportProjectDialog_Project" xml:space="preserve">
- <value>Project &amp;tag:</value>
- </data>
- <data name="ExportProjectDialog_Open" xml:space="preserve">
- <value>Open Created Files</value>
- </data>
- <data name="ExportProjectDialog_CreatePri" xml:space="preserve">
- <value>Create .pri File</value>
- </data>
- <data name="ExportProjectDialog_Title" xml:space="preserve">
- <value>Export Project</value>
- </data>
- <data name="QMakeProcess_OpenSolutionFromFile" xml:space="preserve">
- <value>Open Solution from File: </value>
- </data>
- <data name="HelperFunctions_TryCreatingNewProject" xml:space="preserve">
- <value>Try creating a new project.</value>
- </data>
- <data name="HelperFunctions_ErrorSearchForQtTemplatePath" xml:space="preserve">
- <value>An error occured while searching for the Qt templates path.</value>
- </data>
- <data name="HelperFunctions_CannotWriteEnvQTDIR" xml:space="preserve">
- <value>Cannot write environment variable QTDIR.</value>
- </data>
- <data name="Messages_ErrorOccured" xml:space="preserve">
- <value>The following error occured:
-</value>
- </data>
- <data name="Messages_Warning" xml:space="preserve">
- <value>Warning:
-</value>
- </data>
- <data name="Messages_SolveProblem" xml:space="preserve">
- <value>
-
-To solve this problem:
-</value>
- </data>
- <data name="QtProject_CannotConstructWithoutValidProject" xml:space="preserve">
- <value>Cannot construct a QtProject object without a valid project!</value>
- </data>
- <data name="QtProject_CannotAddUicStep" xml:space="preserve">
- <value>Cannot add uic step to file {0}</value>
- </data>
- <data name="QtProject_CannotAddMocStep" xml:space="preserve">
- <value>Cannot add moc step to file {0}</value>
- </data>
- <data name="QtProject_CannotRemoveMocStep" xml:space="preserve">
- <value>Cannot remove moc step from file {0}</value>
- </data>
- <data name="QtProject_CannotAddFilter" xml:space="preserve">
- <value>Project can't add filter {0}</value>
- </data>
- <data name="QtProject_CannotAddFile" xml:space="preserve">
- <value>Cannot add file {0} to filter.</value>
- </data>
- <data name="QtProject_CannotRemoveFile" xml:space="preserve">
- <value>Cannot remove file {0} from filter.</value>
- </data>
- <data name="QtProject_DeletedFolderFullOrProteced" xml:space="preserve">
- <value>1. Maybe your deleted folder is full.
-2. Or maybe it's write protected.</value>
- </data>
- <data name="QtProject_CannotFindFilter" xml:space="preserve">
- <value>Cannot find filter.</value>
- </data>
- <data name="QtProject_ProjectCannotAddFilter" xml:space="preserve">
- <value>Project can't add filter {0}</value>
- </data>
- <data name="QtProject_ProjectCannotAddResourceFilter" xml:space="preserve">
- <value>Cannot add resource filter.</value>
- </data>
- <data name="QtProject_CannotCreateResourceDir" xml:space="preserve">
- <value>Cannot create resource directory.</value>
- </data>
- <data name="QtProject_CannotAdjustWhitespaces" xml:space="preserve">
- <value>Can't adjust whitespaces or tabs in file (write).
-({0})</value>
- </data>
- <data name="QtProject_CannotReplaceTokenRead" xml:space="preserve">
- <value>Can't replace token ({0} -&gt; {1}) in file (read).
-({3})</value>
- </data>
- <data name="QtProject_CannotReplaceTokenWrite" xml:space="preserve">
- <value>Can't replace token ({0} -&gt; {1}) in file (write).
-({3})</value>
- </data>
- <data name="QtProject_CannotEnableSectionRead" xml:space="preserve">
- <value>Can't enable section {0} in file (read).
-({1})</value>
- </data>
- <data name="QtProject_CannotEnableSectionWrite" xml:space="preserve">
- <value>Can't enable section {0} in file (write).
-({1})</value>
- </data>
- <data name="QtProject_CannotUpdateUicStep" xml:space="preserve">
- <value>Cannot update uic steps!</value>
- </data>
- <data name="QtProject_FileExistsInProjectFolder" xml:space="preserve">
- <value>The file {0} existst in your project folder. Visual Studio Add-in will overwrite the existing file!
-
-Select 'Yes' to overwrite, select 'No' to keep the existing file and automatically readd it to the project.</value>
- </data>
- <data name="QtVersionManager_CannotLoadQtVersion" xml:space="preserve">
- <value>Cannot load the default Qt version.</value>
- </data>
- <data name="Resources_QtVisualStudioIntegration" xml:space="preserve">
- <value>Qt Visual Studio Add-in</value>
- </data>
- <data name="Resources_AddQtResource" xml:space="preserve">
- <value>Add Qt Resource</value>
- </data>
- <data name="Resources_SourceFiles" xml:space="preserve">
- <value>Source Files</value>
- </data>
- <data name="Resources_HeaderFiles" xml:space="preserve">
- <value>Header Files</value>
- </data>
- <data name="Resources_FormFiles" xml:space="preserve">
- <value>Form Files</value>
- </data>
- <data name="Resources_ResourceFiles" xml:space="preserve">
- <value>Resource Files</value>
- </data>
- <data name="Resources_TranslationFiles" xml:space="preserve">
- <value>Translation Files</value>
- </data>
- <data name="Resources_GeneratedFiles" xml:space="preserve">
- <value>Generated Files</value>
- </data>
- <data name="CommandBarNotFound" xml:space="preserve">
- <value>Could not add "Qt" entry to command bar.</value>
- </data>
- <data name="QtProject_CannotFindCustomBuildTool" xml:space="preserve">
- <value>Could not find custom build tool for {0}.</value>
- </data>
- <data name="QtProject_CannotAccessUserFile" xml:space="preserve">
- <value>Could not add QTDIR to {0}'s user file.</value>
- </data>
- <data name="ImportProject_CannotFindQtDirectory" xml:space="preserve">
- <value>Could not parse QTDIR from project file {0}.</value>
- </data>
- <data name="Helpers_ExitError" xml:space="preserve">
- <value>The application exited with an error (ExitCode {0}):</value>
- </data>
- <data name="Resources_OtherFiles" xml:space="preserve">
- <value>Other Files</value>
- </data>
-</root> \ No newline at end of file
diff --git a/Qt4VS2003/QtProjectLib/QMakeConf.cs b/Qt4VS2003/QtProjectLib/QMakeConf.cs
deleted file mode 100644
index 6d873765..00000000
--- a/Qt4VS2003/QtProjectLib/QMakeConf.cs
+++ /dev/null
@@ -1,208 +0,0 @@
-/****************************************************************************
-**
-** Copyright (C) 2016 The Qt Company Ltd.
-** Contact: https://www.qt.io/licensing/
-**
-** This file is part of the Qt VS Add-in.
-**
-** $QT_BEGIN_LICENSE:GPL-EXCEPT$
-** Commercial License Usage
-** Licensees holding valid commercial Qt licenses may use this file in
-** accordance with the commercial license agreement provided with the
-** Software or, alternatively, in accordance with the terms contained in
-** a written agreement between you and The Qt Company. For licensing terms
-** and conditions see https://www.qt.io/terms-conditions. For further
-** information use the contact form at https://www.qt.io/contact-us.
-**
-** GNU General Public License Usage
-** Alternatively, this file may be used under the terms of the GNU
-** General Public License version 3 as published by the Free Software
-** Foundation with exceptions as appearing in the file LICENSE.GPL3-EXCEPT
-** included in the packaging of this file. Please review the following
-** information to ensure the GNU General Public License requirements will
-** be met: https://www.gnu.org/licenses/gpl-3.0.html.
-**
-** $QT_END_LICENSE$
-**
-****************************************************************************/
-
-using System;
-using System.Collections;
-using System.IO;
-using System.Threading;
-
-namespace Digia.Qt5ProjectLib
-{
- public class QMakeConf
- {
- protected Hashtable mEntries = new Hashtable();
- private FileInfo fileInfo = null;
- private string qmakespecFolder = "";
-
- public QMakeConf(VersionInformation versionInfo)
- {
- Init(versionInfo);
- }
-
- public enum InitType { InitQtInstallPath, InitQMakeConf }
-
- /// <param name="str">string for initialization</param>
- /// <param name="itype">determines the use of str</param>
- public QMakeConf(string str, InitType itype)
- {
- switch (itype)
- {
- case InitType.InitQtInstallPath:
- Init(new VersionInformation(str));
- break;
- case InitType.InitQMakeConf:
- Init(str);
- break;
- }
- }
-
- protected void Init(VersionInformation versionInfo)
- {
- string filename = versionInfo.qtDir + "\\mkspecs\\default\\qmake.conf";
- fileInfo = new FileInfo(filename);
-
- // Starting from Qt5 beta2 there is no more "\\mkspecs\\default" folder available
- // To find location of "qmake.conf" there is a need to run "qmake -query" command
- // This is what happens below.
- if (!fileInfo.Exists)
- {
- QMakeQuery qmakeQuery = new QMakeQuery(versionInfo);
- qmakespecFolder = qmakeQuery.query("QMAKE_XSPEC");
-
- if (qmakeQuery.ErrorValue == 0 && qmakespecFolder.Length > 0)
- {
- filename = versionInfo.qtDir + "\\mkspecs\\" + qmakespecFolder + "\\qmake.conf";
- fileInfo = new FileInfo(filename);
- }
-
- if (qmakeQuery.ErrorValue != 0 || !fileInfo.Exists)
- throw new QtVSException("qmake.conf expected at " + filename + " not found");
- }
-
- Init(filename);
- }
-
- protected void Init(string filename)
- {
- ParseFile(filename, ref mEntries);
- }
-
- public string Get(string key)
- {
- return (string)mEntries[key];
- }
-
- private void ParseFile(string filename, ref Hashtable entries)
- {
- fileInfo = new FileInfo(filename);
- if (fileInfo.Exists)
- {
- StreamReader streamReader = new StreamReader(filename);
- string line = streamReader.ReadLine();
- while (line != null)
- {
- line = line.Trim();
- int commentStartIndex = line.IndexOf('#');
- if (commentStartIndex >= 0)
- line = line.Remove(commentStartIndex);
- int pos = line.IndexOf('=');
- if (pos > 0)
- {
- string op = "=";
- if (line[pos - 1] == '+' || line[pos - 1] == '-')
- op = line[pos - 1] + "=";
-
- string lineKey;
- string lineValue;
- lineKey = line.Substring(0, pos - op.Length + 1).Trim();
- lineValue = ExpandVariables(line.Substring(pos + 1).Trim(), entries);
-
- if (op == "+=")
- {
- entries[lineKey] += " " + lineValue;
- }
- else if (op == "-=")
- {
- foreach (string remval in lineValue.Split(new char[] { ' ', '\t' }))
- RemoveValue(lineKey, remval, entries);
- }
- else
- entries[lineKey] = lineValue;
- }
- else if (line.StartsWith("include"))
- {
- pos = line.IndexOf('(');
- int posEnd = line.LastIndexOf(')');
- if (pos > 0 && pos < posEnd)
- {
- string filenameToInclude = line.Substring(pos + 1, posEnd - pos - 1);
- string saveCurrentDir = Environment.CurrentDirectory;
- Environment.CurrentDirectory = fileInfo.Directory.FullName;
- FileInfo fileInfoToInclude = new FileInfo(filenameToInclude);
- if (fileInfoToInclude.Exists)
- ParseFile(fileInfoToInclude.FullName, ref entries);
- Environment.CurrentDirectory = saveCurrentDir;
- }
- }
- line = streamReader.ReadLine();
- }
- streamReader.Close();
- }
- }
-
- private string ExpandVariables(string value, Hashtable entries)
- {
- int pos = value.IndexOf("$$");
- while (pos != -1)
- {
- int startPos = pos + 2;
- int endPos = startPos;
-
- if (value[startPos] != '[') // at the moment no handling of qmake internal variables
- {
- for (; endPos < value.Length; ++endPos)
- {
- if ((Char.IsPunctuation(value[endPos]) && value[endPos] != '_')
- || Char.IsWhiteSpace(value[endPos]))
- {
- break;
- }
- }
- if (endPos > startPos)
- {
- string varName = value.Substring(startPos, endPos - startPos);
- object varValueObj = entries[varName];
- string varValue = "";
- if (varValueObj != null) varValue = varValueObj.ToString();
- value = value.Substring(0, pos) + varValue + value.Substring(endPos);
- endPos = pos + varValue.Length;
- }
- }
-
- pos = value.IndexOf("$$", endPos);
- }
- return value;
- }
-
- private void RemoveValue(string key, string valueToRemove, Hashtable entries)
- {
- int pos;
- if (!entries.Contains(key))
- return;
-
- string value = entries[key].ToString();
- do
- {
- pos = value.IndexOf(valueToRemove);
- if (pos >= 0)
- value = value.Remove(pos, valueToRemove.Length);
- } while (pos >= 0);
- entries[key] = value;
- }
- }
-}
diff --git a/Qt4VS2003/QtProjectLib/QMakeProcess.cs b/Qt4VS2003/QtProjectLib/QMakeProcess.cs
deleted file mode 100644
index e386aea0..00000000
--- a/Qt4VS2003/QtProjectLib/QMakeProcess.cs
+++ /dev/null
@@ -1,375 +0,0 @@
-/****************************************************************************
-**
-** Copyright (C) 2016 The Qt Company Ltd.
-** Contact: https://www.qt.io/licensing/
-**
-** This file is part of the Qt VS Add-in.
-**
-** $QT_BEGIN_LICENSE:GPL-EXCEPT$
-** Commercial License Usage
-** Licensees holding valid commercial Qt licenses may use this file in
-** accordance with the commercial license agreement provided with the
-** Software or, alternatively, in accordance with the terms contained in
-** a written agreement between you and The Qt Company. For licensing terms
-** and conditions see https://www.qt.io/terms-conditions. For further
-** information use the contact form at https://www.qt.io/contact-us.
-**
-** GNU General Public License Usage
-** Alternatively, this file may be used under the terms of the GNU
-** General Public License version 3 as published by the Free Software
-** Foundation with exceptions as appearing in the file LICENSE.GPL3-EXCEPT
-** included in the packaging of this file. Please review the following
-** information to ensure the GNU General Public License requirements will
-** be met: https://www.gnu.org/licenses/gpl-3.0.html.
-**
-** $QT_END_LICENSE$
-**
-****************************************************************************/
-
-using System;
-using System.IO;
-using System.Text;
-using System.Threading;
-using System.Diagnostics;
-using System.Windows.Forms;
-using System.ComponentModel;
-
-namespace Digia.Qt5ProjectLib
-{
- #region QMake Process
-
- class InfoDialog : Form
- {
- private Label label1 = null;
- private IContainer components = null;
- private ProgressBar progressBar1 = null;
- protected override void Dispose(bool disposing)
- {
- if (disposing && (components != null))
- {
- components.Dispose();
- }
- base.Dispose(disposing);
- }
-
- public InfoDialog(string name)
- {
- this.label1 = new Label();
- this.components = new Container();
- this.progressBar1 = new System.Windows.Forms.ProgressBar();
- this.SuspendLayout();
- //
- // label1
- //
- this.label1.Location = new System.Drawing.Point(12, 9);
- this.label1.Name = "label1";
- this.label1.Size = new System.Drawing.Size(370, 13);
- this.label1.TabIndex = 0;
- this.label1.Text = SR.GetString("QMakeProcess_OpenSolutionFromFile") + name;
- //
- // progressBar1
- //
- this.progressBar1.Location = new System.Drawing.Point(13, 28);
- this.progressBar1.Name = "progressBar1";
- this.progressBar1.Size = new System.Drawing.Size(369, 23);
- this.progressBar1.Style = System.Windows.Forms.ProgressBarStyle.Marquee;
- this.progressBar1.TabIndex = 1;
- //
- // Form1
- //
- this.ClientSize = new System.Drawing.Size(394, 67);
- this.MinimumSize = new System.Drawing.Size(402, 94);
- this.ControlBox = false;
- this.Controls.Add(this.progressBar1);
- this.Controls.Add(this.label1);
- this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedToolWindow;
- this.MaximizeBox = false;
- this.MinimizeBox = false;
- this.Name = "Form1";
- this.ShowInTaskbar = false;
- this.Text = Resources.msgBoxCaption;
- this.StartPosition = FormStartPosition.CenterParent;
-
- this.ResumeLayout(false);
- this.PerformLayout();
- }
-
- public void CloseEventHandler()
- {
- this.Close();
- }
- }
-
- class QMake
- {
- public delegate void ProcessEventHandler();
- public event ProcessEventHandler CloseEvent;
-
- public delegate void ProcessEventHandlerArg(string data);
- public event ProcessEventHandlerArg PaneMessageDataEvent;
-
- private string file = null;
- protected int errorValue = 0;
- private EnvDTE.DTE dteObject;
- private bool recursive = false;
- protected Process qmakeProcess = null;
- protected VersionInformation qtVersionInformation;
-
- protected static int stdOutputLines = 0;
- protected static int errOutputLines = 0;
- protected static StringBuilder stdOutput = null;
- protected static StringBuilder errOutput = null;
-
- public int ErrorValue
- {
- get { return errorValue; }
- }
-
- public QMake(EnvDTE.DTE dte, string fileName, bool recursiveRun, VersionInformation vi)
- {
- dteObject = dte;
- file = fileName;
- recursive = recursiveRun;
- qtVersionInformation = vi;
- }
-
- public void RunQMake()
- {
- FileInfo fi = new FileInfo(file);
- string vcproj = HelperFunctions.RemoveFileNameExtension(fi) + ".vcxproj";
-
- string qmakeArgs = "-tp vc \"" + fi.Name + "\" ";
-
- if (recursive)
- qmakeArgs += "-recursive";
- else
- qmakeArgs += "-o \"" + vcproj + "\"";
-
- qmakeArgs += @" QMAKE_INCDIR_QT=$(QTDIR)\include ";
- qmakeArgs += @"QMAKE_LIBDIR=$(QTDIR)\lib "
- + @"QMAKE_MOC=$(QTDIR)\bin\moc.exe "
- + @"QMAKE_QMAKE=$(QTDIR)\bin\qmake.exe";
-
- qmakeProcess = CreateQmakeProcess(qmakeArgs, qtVersionInformation.qtDir + "\\bin\\qmake", fi.DirectoryName);
-
- // We must set the QTDIR environment variable, because we're clearing QMAKE_LIBDIR_QT above.
- // If we do not set this, the Qt libraries will be QtCored.lib instead of QtCore4d.lib even
- // for shared builds.
- qmakeProcess.StartInfo.EnvironmentVariables["QTDIR"] = qtVersionInformation.qtDir;
-
- // determine which vs version we are currently using and inform qmake about it
- string regPath = dteObject.Application.RegistryRoot + "\\Setup\\VC";
- Microsoft.Win32.RegistryKey key = Microsoft.Win32.Registry.LocalMachine.OpenSubKey(regPath);
- if (key != null)
- {
- string keyValue = key.GetValue("ProductDir", (object)"").ToString();
- string envVar = qmakeProcess.StartInfo.EnvironmentVariables["path"];
- if (envVar != null)
- {
- string value = envVar + ";" + keyValue;
- qmakeProcess.StartInfo.EnvironmentVariables["path"] = value;
- }
- else
- qmakeProcess.StartInfo.EnvironmentVariables.Add("path", keyValue);
- }
-
- try
- {
- InvokeExternalTarget(PaneMessageDataEvent, "--- (qmake) : Using: " + qmakeProcess.StartInfo.FileName);
- InvokeExternalTarget(PaneMessageDataEvent, "--- (qmake) : Working Directory: " + qmakeProcess.StartInfo.WorkingDirectory);
- InvokeExternalTarget(PaneMessageDataEvent, "--- (qmake) : Arguments: "
- + qmakeProcess.StartInfo.Arguments
- + Environment.NewLine);
-
- if (qmakeProcess.Start())
- {
- errOutput = new StringBuilder();
- errOutputLines = 0;
- stdOutput = new StringBuilder();
- stdOutputLines = 0;
- Thread errorThread = new Thread(new ThreadStart(ReadStandardError));
- Thread outputThread = new Thread(new ThreadStart(ReadStandardOutput));
- errorThread.Start();
- outputThread.Start();
-
- qmakeProcess.WaitForExit();
-
- errorThread.Join();
- outputThread.Join();
-
- errorValue = qmakeProcess.ExitCode;
-
- if (stdOutputLines > 0)
- {
- InvokeExternalTarget(PaneMessageDataEvent, stdOutput.ToString());
- InvokeExternalTarget(PaneMessageDataEvent, "--- (Import): Success: " + stdOutputLines.ToString());
- }
-
- if (errOutputLines > 0)
- {
- InvokeExternalTarget(PaneMessageDataEvent, errOutput.ToString());
- InvokeExternalTarget(PaneMessageDataEvent, "--- (Import): Error(s): " + errOutputLines.ToString());
- }
- }
-
- InvokeExternalTarget(PaneMessageDataEvent, "--- (qmake) : Exit Code: " + errorValue + Environment.NewLine);
- qmakeProcess.Close();
- }
- catch (Exception e)
- {
- qmakeProcess = null;
- InvokeExternalTarget(PaneMessageDataEvent, e.Message);
- errorValue = -1;
- }
- finally
- {
- InvokeExternalTarget(CloseEvent);
- Messages.ActivateMessagePane();
- }
- }
-
- protected Process CreateQmakeProcess(string qmakeArgs, string filename, string workingDir)
- {
- Process qmakeProcess = new System.Diagnostics.Process();
- qmakeProcess.StartInfo.CreateNoWindow = true;
- qmakeProcess.StartInfo.UseShellExecute = false;
- qmakeProcess.StartInfo.RedirectStandardError = true;
- qmakeProcess.StartInfo.RedirectStandardOutput = true;
- qmakeProcess.StartInfo.Arguments = qmakeArgs;
- qmakeProcess.StartInfo.FileName = filename;
- qmakeProcess.StartInfo.WorkingDirectory = workingDir;
- return qmakeProcess;
- }
-
- protected static void InvokeExternalTarget(Delegate dlg, params object[] objList)
- {
- try
- {
- // make sure there are delegates assigned...
- Delegate[] invocationList = dlg.GetInvocationList();
- if (invocationList == null)
- return;
-
- // we can only call one delegate at the time...
- foreach (Delegate singleDelegate in invocationList)
- {
- ISynchronizeInvoke synchronizeTarget = singleDelegate.Target as ISynchronizeInvoke;
- if (synchronizeTarget == null)
- singleDelegate.DynamicInvoke(objList);
- else
- synchronizeTarget.BeginInvoke(singleDelegate, objList);
- }
- }
- catch { }
- }
-
- protected void ReadStandardError()
- {
- if (qmakeProcess == null)
- return;
-
- string error;
- while ((error = qmakeProcess.StandardError.ReadLine()) != null)
- {
- errOutputLines++;
- errOutput.Append("[" + errOutputLines.ToString() + "] - " + error.Trim() + "\n");
- }
- }
-
- protected void ReadStandardOutput()
- {
- if (qmakeProcess == null)
- return;
-
- string output;
- while ((output = qmakeProcess.StandardOutput.ReadLine()) != null)
- {
- stdOutputLines++;
- stdOutput.Append("[" + stdOutputLines.ToString() + "] - " + output.Trim() + "\n");
- }
- }
- }
-
- class QMakeQuery : QMake
- {
- public delegate void EventHandler(string result);
- public event EventHandler ReadyEvent;
- private string queryResult;
-
- public QMakeQuery(VersionInformation vi)
- : base(null, "", false, vi)
- {
- qtVersionInformation = vi;
- }
-
- public string query(string property)
- {
- ReadyEvent += new QMakeQuery.EventHandler(this.resultObtained);
- System.Threading.Thread qmakeThread = new System.Threading.Thread(new ParameterizedThreadStart(this.RunQMakeQuery));
- qmakeThread.Start(property);
- qmakeThread.Join();
- return queryResult;
- }
-
- private void resultObtained(string result)
- {
- queryResult = result;
- }
-
- private void RunQMakeQuery(object property)
- {
- if (property == null)
- return;
-
- string propertyString = property.ToString();
- string result = "";
-
- qmakeProcess = CreateQmakeProcess("-query " + propertyString.Trim(), qtVersionInformation.qtDir + "\\bin\\qmake", qtVersionInformation.qtDir);
- try
- {
- if (qmakeProcess.Start())
- {
- errOutput = new StringBuilder();
- errOutputLines = 0;
- stdOutput = new StringBuilder();
- stdOutputLines = 0;
- Thread errorThread = new Thread(new ThreadStart(ReadStandardError));
- Thread outputThread = new Thread(new ThreadStart(ReadStandardOutput));
- errorThread.Start();
- outputThread.Start();
-
- qmakeProcess.WaitForExit();
-
- errorThread.Join();
- outputThread.Join();
-
- errorValue = qmakeProcess.ExitCode;
-
- if (stdOutputLines > 0)
- {
- result = stdOutput.ToString();
- int dashIndex = result.IndexOf('-');
- if (dashIndex == -1) {
- errorValue = -1;
- result = "";
- } else {
- result = result.Substring(dashIndex + 1).Trim();
- }
- }
- }
- qmakeProcess.Close();
- }
- catch (Exception)
- {
- qmakeProcess = null;
- errorValue = -1;
- }
- finally
- {
- InvokeExternalTarget(ReadyEvent, result);
- }
- }
- }
-
- #endregion
-}
diff --git a/Qt4VS2003/QtProjectLib/QProcess.cs b/Qt4VS2003/QtProjectLib/QProcess.cs
deleted file mode 100644
index 0b1bdf23..00000000
--- a/Qt4VS2003/QtProjectLib/QProcess.cs
+++ /dev/null
@@ -1,69 +0,0 @@
-/****************************************************************************
-**
-** Copyright (C) 2016 The Qt Company Ltd.
-** Contact: https://www.qt.io/licensing/
-**
-** This file is part of the Qt VS Add-in.
-**
-** $QT_BEGIN_LICENSE:GPL-EXCEPT$
-** Commercial License Usage
-** Licensees holding valid commercial Qt licenses may use this file in
-** accordance with the commercial license agreement provided with the
-** Software or, alternatively, in accordance with the terms contained in
-** a written agreement between you and The Qt Company. For licensing terms
-** and conditions see https://www.qt.io/terms-conditions. For further
-** information use the contact form at https://www.qt.io/contact-us.
-**
-** GNU General Public License Usage
-** Alternatively, this file may be used under the terms of the GNU
-** General Public License version 3 as published by the Free Software
-** Foundation with exceptions as appearing in the file LICENSE.GPL3-EXCEPT
-** included in the packaging of this file. Please review the following
-** information to ensure the GNU General Public License requirements will
-** be met: https://www.gnu.org/licenses/gpl-3.0.html.
-**
-** $QT_END_LICENSE$
-**
-****************************************************************************/
-
-using System;
-using System.Diagnostics;
-using System.Collections;
-
-namespace Digia.Qt5ProjectLib
-{
- public class QProcess : Process
- {
- private Hashtable errorCodes = null;
-
- public QProcess()
- {
- }
-
- public Hashtable ErrorCodes
- {
- get { return errorCodes; }
- internal set { errorCodes = value; }
- }
-
- public string errorString(int errorCode)
- {
- if (errorCodes != null && errorCodes.Contains(errorCode))
- {
- string[] msgs = (string[])errorCodes[errorCode];
- return msgs[0];
- }
- return SR.GetString("QProcess_UnspecifiedError");
- }
-
- public string solutionString(int errorCode)
- {
- if (errorCodes != null && errorCodes.Contains(errorCode))
- {
- string[] msgs = (string[])errorCodes[errorCode];
- return msgs[1];
- }
- return null;
- }
- }
-}
diff --git a/Qt4VS2003/QtProjectLib/QrcParser.cs b/Qt4VS2003/QtProjectLib/QrcParser.cs
deleted file mode 100644
index b541080c..00000000
--- a/Qt4VS2003/QtProjectLib/QrcParser.cs
+++ /dev/null
@@ -1,168 +0,0 @@
-/****************************************************************************
-**
-** Copyright (C) 2016 The Qt Company Ltd.
-** Contact: https://www.qt.io/licensing/
-**
-** This file is part of the Qt VS Add-in.
-**
-** $QT_BEGIN_LICENSE:GPL-EXCEPT$
-** Commercial License Usage
-** Licensees holding valid commercial Qt licenses may use this file in
-** accordance with the commercial license agreement provided with the
-** Software or, alternatively, in accordance with the terms contained in
-** a written agreement between you and The Qt Company. For licensing terms
-** and conditions see https://www.qt.io/terms-conditions. For further
-** information use the contact form at https://www.qt.io/contact-us.
-**
-** GNU General Public License Usage
-** Alternatively, this file may be used under the terms of the GNU
-** General Public License version 3 as published by the Free Software
-** Foundation with exceptions as appearing in the file LICENSE.GPL3-EXCEPT
-** included in the packaging of this file. Please review the following
-** information to ensure the GNU General Public License requirements will
-** be met: https://www.gnu.org/licenses/gpl-3.0.html.
-**
-** $QT_END_LICENSE$
-**
-****************************************************************************/
-
-using System.Xml;
-using System.Collections.Generic;
-
-namespace Digia.Qt5ProjectLib
-{
- public class QrcItem
- {
- private string path = null;
- private string alias = null;
-
- public QrcItem()
- {
- }
-
- public QrcItem(string p, string a)
- {
- path = p;
- alias = a;
- }
-
- public string Path
- {
- get { return path; }
- set { path = value; }
- }
-
- public string Alias
- {
- get { return alias; }
- set { alias = value; }
- }
- }
-
- public class QrcPrefix
- {
- private string prefix = null;
- private string lang = null;
- private List<QrcItem> items;
- public List<QrcItem> Items
- {
- get { return items; }
- }
-
- public QrcPrefix()
- {
- items = new List<QrcItem>();
- }
-
- public string Prefix
- {
- get { return prefix; }
- set { prefix = value; }
- }
-
- public string Language
- {
- get { return lang; }
- set { lang = value; }
- }
-
- public void AddQrcItem(QrcItem i)
- {
- items.Add(i);
- }
- }
-
- public class QrcParser
- {
- private string qrcFileName = null;
- private Stack<QrcPrefix> prefixes = null;
- private List<QrcPrefix> prefxs;
-
- public List<QrcPrefix> Prefixes
- {
- get { return prefxs; }
- }
-
- public QrcParser(string fileName)
- {
- qrcFileName = fileName;
- prefixes = new Stack<QrcPrefix>();
- prefxs = new List<QrcPrefix>();
- }
-
- public bool parse()
- {
- System.IO.FileInfo fi = new System.IO.FileInfo(qrcFileName);
- if (!fi.Exists)
- return false;
- try
- {
- XmlTextReader reader = new XmlTextReader(qrcFileName);
- QrcItem currentItem = null;
- QrcPrefix currentPrefix = null;
- while (reader.Read())
- {
- switch (reader.NodeType)
- {
- case XmlNodeType.Element:
- if (reader.LocalName.ToLower() == "qresource")
- {
- currentPrefix = new QrcPrefix();
- currentPrefix.Prefix = reader.GetAttribute("prefix");
- currentPrefix.Language = reader.GetAttribute("lang");
- prefixes.Push(currentPrefix);
- }
- else if (reader.LocalName.ToLower() == "file")
- {
- currentItem = new QrcItem();
- currentItem.Alias = reader.GetAttribute("name");
- }
- break;
- case XmlNodeType.EndElement:
- if (reader.LocalName.ToLower() == "qresource")
- {
- prefxs.Add(prefixes.Pop());
- }
- else if (reader.LocalName.ToLower() == "file"
- && prefixes.Peek() != null && currentItem != null)
- {
- ((QrcPrefix)(prefixes.Peek())).AddQrcItem(currentItem);
- currentItem = null;
- }
- break;
- case XmlNodeType.Text:
- if (currentItem != null)
- currentItem.Path = reader.Value;
- break;
- }
- }
- reader.Close();
- }
- catch (System.Exception)
- {
- return false;
- }
- return true;
- }
- }
-}
diff --git a/Qt4VS2003/QtProjectLib/Qt5ProjectLib2015.csproj b/Qt4VS2003/QtProjectLib/Qt5ProjectLib2015.csproj
deleted file mode 100644
index 88f1d36d..00000000
--- a/Qt4VS2003/QtProjectLib/Qt5ProjectLib2015.csproj
+++ /dev/null
@@ -1,206 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="14.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
- <PropertyGroup>
- <ProjectType>Local</ProjectType>
- <ProductVersion>9.0.30729</ProductVersion>
- <SchemaVersion>2.0</SchemaVersion>
- <ProjectGuid>{2785D082-CE93-4097-BF45-072083A53261}</ProjectGuid>
- <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
- <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
- <ApplicationIcon>
- </ApplicationIcon>
- <AssemblyKeyContainerName>
- </AssemblyKeyContainerName>
- <AssemblyName>Qt5ProjectLib</AssemblyName>
- <DefaultClientScript>JScript</DefaultClientScript>
- <DefaultHTMLPageLayout>Grid</DefaultHTMLPageLayout>
- <DefaultTargetSchema>IE50</DefaultTargetSchema>
- <DelaySign>false</DelaySign>
- <OutputType>Library</OutputType>
- <RootNamespace>Digia.Qt5ProjectLib</RootNamespace>
- <RunPostBuildEvent>OnBuildSuccess</RunPostBuildEvent>
- <StartupObject>
- </StartupObject>
- <FileUpgradeFlags>
- </FileUpgradeFlags>
- <SignAssembly>false</SignAssembly>
- <IsWebBootstrapper>false</IsWebBootstrapper>
- <TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
- <OldToolsVersion>3.5</OldToolsVersion>
- <UpgradeBackupLocation />
- <PublishUrl>publish\</PublishUrl>
- <Install>true</Install>
- <InstallFrom>Disk</InstallFrom>
- <UpdateEnabled>false</UpdateEnabled>
- <UpdateMode>Foreground</UpdateMode>
- <UpdateInterval>7</UpdateInterval>
- <UpdateIntervalUnits>Days</UpdateIntervalUnits>
- <UpdatePeriodically>false</UpdatePeriodically>
- <UpdateRequired>false</UpdateRequired>
- <MapFileExtensions>true</MapFileExtensions>
- <ApplicationRevision>0</ApplicationRevision>
- <ApplicationVersion>1.0.0.%2a</ApplicationVersion>
- <UseApplicationTrust>false</UseApplicationTrust>
- <BootstrapperEnabled>true</BootstrapperEnabled>
- <TargetFrameworkProfile />
- </PropertyGroup>
- <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
- <OutputPath>bin\Debug\</OutputPath>
- <AllowUnsafeBlocks>false</AllowUnsafeBlocks>
- <BaseAddress>285212672</BaseAddress>
- <CheckForOverflowUnderflow>false</CheckForOverflowUnderflow>
- <ConfigurationOverrideFile>
- </ConfigurationOverrideFile>
- <DefineConstants>TRACE;DEBUG;VS2015</DefineConstants>
- <DocumentationFile>
- </DocumentationFile>
- <DebugSymbols>true</DebugSymbols>
- <FileAlignment>4096</FileAlignment>
- <NoStdLib>false</NoStdLib>
- <NoWarn>
- </NoWarn>
- <Optimize>false</Optimize>
- <RegisterForComInterop>false</RegisterForComInterop>
- <RemoveIntegerChecks>false</RemoveIntegerChecks>
- <TreatWarningsAsErrors>false</TreatWarningsAsErrors>
- <WarningLevel>4</WarningLevel>
- <CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
- </PropertyGroup>
- <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
- <OutputPath>bin\Release\</OutputPath>
- <AllowUnsafeBlocks>false</AllowUnsafeBlocks>
- <BaseAddress>285212672</BaseAddress>
- <CheckForOverflowUnderflow>false</CheckForOverflowUnderflow>
- <ConfigurationOverrideFile>
- </ConfigurationOverrideFile>
- <DefineConstants>TRACE;VS2015</DefineConstants>
- <DocumentationFile>
- </DocumentationFile>
- <DebugSymbols>false</DebugSymbols>
- <FileAlignment>4096</FileAlignment>
- <NoStdLib>false</NoStdLib>
- <NoWarn>
- </NoWarn>
- <Optimize>true</Optimize>
- <RegisterForComInterop>false</RegisterForComInterop>
- <RemoveIntegerChecks>false</RemoveIntegerChecks>
- <TreatWarningsAsErrors>false</TreatWarningsAsErrors>
- <WarningLevel>4</WarningLevel>
- <PlatformTarget>AnyCPU</PlatformTarget>
- <CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
- </PropertyGroup>
- <ItemGroup>
- <Compile Include="AssemblyInfo.cs">
- <SubType>Code</SubType>
- </Compile>
- <Compile Include="CompilerToolWrapper.cs" />
- <Compile Include="CxxStreamReader.cs" />
- <Compile Include="DeploymentToolWrapper.cs" />
- <Compile Include="LinkerToolWrapper.cs" />
- <Compile Include="ProjectExporter.cs">
- </Compile>
- <Compile Include="ExportProjectDialog.cs">
- <SubType>Form</SubType>
- </Compile>
- <Compile Include="HelperClasses.cs" />
- <Compile Include="HelperFunctions.cs" />
- <Compile Include="ProjectImporter.cs" />
- <Compile Include="Messages.cs" />
- <Compile Include="MocCmdChecker.cs" />
- <Compile Include="QMakeConf.cs" />
- <Compile Include="QMakeProcess.cs">
- <SubType>Form</SubType>
- </Compile>
- <Compile Include="QProcess.cs">
- <SubType>Component</SubType>
- </Compile>
- <Compile Include="QrcParser.cs" />
- <Compile Include="QtConfig.cs" />
- <Compile Include="QtModules.cs" />
- <Compile Include="QtProject.cs">
- <SubType>Code</SubType>
- </Compile>
- <Compile Include="QtVersionManager.cs">
- <SubType>Code</SubType>
- </Compile>
- <Compile Include="QtVSIPSettings.cs" />
- <Compile Include="RccOptions.cs">
- <SubType>Code</SubType>
- </Compile>
- <Compile Include="ResClass.cs" />
- <Compile Include="Resources.cs">
- <SubType>Code</SubType>
- </Compile>
- <Compile Include="VersionInformation.cs" />
- <AppDesigner Include="Properties\" />
- </ItemGroup>
- <ItemGroup>
- <EmbeddedResource Include="ExportProjectDialog.resx">
- <DependentUpon>ExportProjectDialog.cs</DependentUpon>
- <SubType>Designer</SubType>
- </EmbeddedResource>
- </ItemGroup>
- <ItemGroup>
- <EmbeddedResource Include="Images\delete.png" />
- <EmbeddedResource Include="Images\delete_d.png" />
- <EmbeddedResource Include="Images\newitem.png" />
- <EmbeddedResource Include="Images\newitem_d.png" />
- <EmbeddedResource Include="ProjectLibStringResources.resx">
- <SubType>Designer</SubType>
- </EmbeddedResource>
- <EmbeddedResource Include="ProjectLibStringResources.de.resx">
- <SubType>Designer</SubType>
- </EmbeddedResource>
- </ItemGroup>
- <ItemGroup>
- <Folder Include="Properties\" />
- </ItemGroup>
- <ItemGroup>
- <BootstrapperPackage Include=".NETFramework,Version=v4.0">
- <Visible>False</Visible>
- <ProductName>Microsoft .NET Framework 4 %28x86 and x64%29</ProductName>
- <Install>true</Install>
- </BootstrapperPackage>
- <BootstrapperPackage Include="Microsoft.Net.Client.3.5">
- <Visible>False</Visible>
- <ProductName>.NET Framework 3.5 SP1 Client Profile</ProductName>
- <Install>false</Install>
- </BootstrapperPackage>
- <BootstrapperPackage Include="Microsoft.Net.Framework.3.5.SP1">
- <Visible>False</Visible>
- <ProductName>.NET Framework 3.5 SP1</ProductName>
- <Install>false</Install>
- </BootstrapperPackage>
- <BootstrapperPackage Include="Microsoft.Windows.Installer.3.1">
- <Visible>False</Visible>
- <ProductName>Windows Installer 3.1</ProductName>
- <Install>true</Install>
- </BootstrapperPackage>
- </ItemGroup>
- <ItemGroup>
- <WCFMetadata Include="Service References\" />
- </ItemGroup>
- <ItemGroup>
- <Reference Include="EnvDTE, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
- <EmbedInteropTypes>False</EmbedInteropTypes>
- </Reference>
- <Reference Include="EnvDTE80, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
- <EmbedInteropTypes>False</EmbedInteropTypes>
- </Reference>
- <Reference Include="Microsoft.CSharp" />
- <Reference Include="Microsoft.VisualStudio.VCProjectEngine, Version=14.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
- <EmbedInteropTypes>True</EmbedInteropTypes>
- </Reference>
- <Reference Include="System" />
- <Reference Include="System.Drawing" />
- <Reference Include="System.Windows.Forms" />
- <Reference Include="System.Xml" />
- </ItemGroup>
- <Import Project="$(MSBuildBinPath)\Microsoft.CSHARP.Targets" />
- <PropertyGroup>
- <PreBuildEvent>if exist "$(TargetPath).locked" del "$(TargetPath).locked"
-if exist "$(TargetPath)" if not exist "$(TargetPath).locked" move "$(TargetPath)" "$(TargetPath).locked"</PreBuildEvent>
- <PostBuildEvent>
- </PostBuildEvent>
- </PropertyGroup>
-</Project>
diff --git a/Qt4VS2003/QtProjectLib/QtConfig.cs b/Qt4VS2003/QtProjectLib/QtConfig.cs
deleted file mode 100644
index 843febbb..00000000
--- a/Qt4VS2003/QtProjectLib/QtConfig.cs
+++ /dev/null
@@ -1,102 +0,0 @@
-/****************************************************************************
-**
-** Copyright (C) 2016 The Qt Company Ltd.
-** Contact: https://www.qt.io/licensing/
-**
-** This file is part of the Qt VS Add-in.
-**
-** $QT_BEGIN_LICENSE:GPL-EXCEPT$
-** Commercial License Usage
-** Licensees holding valid commercial Qt licenses may use this file in
-** accordance with the commercial license agreement provided with the
-** Software or, alternatively, in accordance with the terms contained in
-** a written agreement between you and The Qt Company. For licensing terms
-** and conditions see https://www.qt.io/terms-conditions. For further
-** information use the contact form at https://www.qt.io/contact-us.
-**
-** GNU General Public License Usage
-** Alternatively, this file may be used under the terms of the GNU
-** General Public License version 3 as published by the Free Software
-** Foundation with exceptions as appearing in the file LICENSE.GPL3-EXCEPT
-** included in the packaging of this file. Please review the following
-** information to ensure the GNU General Public License requirements will
-** be met: https://www.gnu.org/licenses/gpl-3.0.html.
-**
-** $QT_END_LICENSE$
-**
-****************************************************************************/
-
-using System.IO;
-
-namespace Digia.Qt5ProjectLib
-{
- /// <summary>
- /// Very very simple reader for the qconfig.pri file.
- /// At the moment this is only to determine whether we
- /// have a static or shared Qt build.
- /// Also, we extract the default signature file here for Windows CE builds.
- /// </summary>
- class QtConfig
- {
- private bool isStaticBuild = false;
- private string signatureFile = null;
-
- public QtConfig(string qtdir)
- {
- Init(qtdir);
- }
-
- private void Init(string qtdir)
- {
- FileInfo fi = new FileInfo(qtdir + "\\mkspecs\\qconfig.pri");
- if (fi.Exists)
- {
- try
- {
- StreamReader reader = new StreamReader(fi.FullName);
- string line = null;
- while ((line = reader.ReadLine()) != null)
- parseLine(line);
- }
- catch {}
- }
- }
-
- public bool IsStaticBuild
- {
- get { return isStaticBuild; }
- }
-
- public string SignatureFile
- {
- get { return signatureFile; }
- }
-
- /// <summary>
- /// parses a single line of the configuration file
- /// </summary>
- /// <returns>true if we don't have to read any further</returns>
- private void parseLine(string line)
- {
- line = line.Trim();
- if (line.StartsWith("CONFIG"))
- {
- string[] values = line.Substring(6).Split(new char[] { ' ', '\t' });
- foreach (string s in values)
- {
- if (s == "static")
- isStaticBuild = true;
- else if (s == "shared")
- isStaticBuild = false;
- }
- }
- else if (line.StartsWith("DEFAULT_SIGNATURE"))
- {
- int idx = line.IndexOf('=');
- if (idx < 0)
- return;
- signatureFile = line.Remove(0, idx + 1).Trim();
- }
- }
- }
-}
diff --git a/Qt4VS2003/QtProjectLib/QtModules.cs b/Qt4VS2003/QtProjectLib/QtModules.cs
deleted file mode 100644
index 0dec27f5..00000000
--- a/Qt4VS2003/QtProjectLib/QtModules.cs
+++ /dev/null
@@ -1,304 +0,0 @@
-/****************************************************************************
-**
-** Copyright (C) 2016 The Qt Company Ltd.
-** Contact: https://www.qt.io/licensing/
-**
-** This file is part of the Qt VS Add-in.
-**
-** $QT_BEGIN_LICENSE:GPL-EXCEPT$
-** Commercial License Usage
-** Licensees holding valid commercial Qt licenses may use this file in
-** accordance with the commercial license agreement provided with the
-** Software or, alternatively, in accordance with the terms contained in
-** a written agreement between you and The Qt Company. For licensing terms
-** and conditions see https://www.qt.io/terms-conditions. For further
-** information use the contact form at https://www.qt.io/contact-us.
-**
-** GNU General Public License Usage
-** Alternatively, this file may be used under the terms of the GNU
-** General Public License version 3 as published by the Free Software
-** Foundation with exceptions as appearing in the file LICENSE.GPL3-EXCEPT
-** included in the packaging of this file. Please review the following
-** information to ensure the GNU General Public License requirements will
-** be met: https://www.gnu.org/licenses/gpl-3.0.html.
-**
-** $QT_END_LICENSE$
-**
-****************************************************************************/
-
-using System;
-using System.Collections.Generic;
-using System.Diagnostics;
-
-namespace Digia.Qt5ProjectLib
-{
- public enum QtModule
- {
- Invalid = -1,
- Core = 1,
- Xml = 2,
- Sql = 3,
- OpenGL = 4,
- Network = 5,
- Compat = 6,
- Gui = 7,
- ActiveQtS = 8,
- ActiveQtC = 9,
- Main = 10,
- Qt3Library = 11, // ### unused
- Qt3Main = 12, // ### unused
- Svg = 13,
- Designer = 14,
- Test = 15,
- Script = 16,
- Help = 17,
- WebKit = 18,
- XmlPatterns = 19,
- Enginio = 20,
- Multimedia = 21,
- Declarative = 22,
- ScriptTools = 23,
- UiTools = 24,
-
- Widgets = 25,
- ThreeD = 26,
- Location = 27,
- Nfc = 28,
- Qml = 29,
- Bluetooth = 30,
- Positioning = 31,
- SerialPort = 32,
- PrintSupport = 33,
- WebChannel = 34,
- WebSockets = 35,
- Sensors = 36,
- WindowsExtras = 37,
- QuickWidgets = 38,
- // JSBackend = 39,
- Quick = 40,
- ThreeDQuick = 41,
- // Feedback = 42,
- // QA = 43,
- // QLALR = 44,
- // RepoTools = 45,
- // Translations = 46,
- // CLucene = 48,
- // DesignerComponents = 49,
- WebkitWidgets = 50,
- Concurrent = 51,
- MultimediaWidgets = 52,
- }
-
- public class QtModuleInfo
- {
- private QtModule moduleId = QtModule.Invalid;
- public List<string> Defines = new List<string>();
- public string LibraryPrefix = "";
- public bool HasDLL = true;
- public List<string> AdditionalLibraries = new List<string>();
- public List<string> AdditionalLibrariesDebug = new List<string>();
- public string IncludePath = null;
- public string proVarQT = null;
- public string proVarCONFIG = null;
-
- public QtModuleInfo(QtModule id)
- {
- moduleId = id;
- }
-
- public QtModule ModuleId
- {
- get { return moduleId; }
- }
-
- public string GetIncludePath()
- {
- return IncludePath;
- }
-
- public List<string> GetLibs(bool isDebugCfg, VersionInformation vi)
- {
- return GetLibs(isDebugCfg, vi.IsStaticBuild());
- }
-
- public List<string> GetLibs(bool isDebugCfg, bool isStaticBuild)
- {
- List<string> libs = new List<string>();
- string libName = LibraryPrefix;
- if (libName.StartsWith("Qt"))
- libName = "Qt5" + libName.Substring(2);
- if (isDebugCfg)
- libName += "d";
- libName += ".lib";
- libs.Add(libName);
- libs.AddRange(GetAdditionalLibs(isDebugCfg));
- return libs;
- }
-
- public string GetDllFileName(bool isDebugCfg)
- {
- string fileName = LibraryPrefix;
- if (fileName.StartsWith("Qt"))
- fileName = "Qt5" + fileName.Substring(2);
- if (isDebugCfg)
- fileName += "d";
- fileName += ".dll";
- return fileName;
- }
-
- private List<string> GetAdditionalLibs(bool isDebugCfg)
- {
- if (isDebugCfg && AdditionalLibrariesDebug.Count > 0)
- return AdditionalLibrariesDebug;
- return AdditionalLibraries;
- }
- }
-
- public class QtModules
- {
- private static QtModules instance = new QtModules();
- private Dictionary<string, QtModule> dictModulesByDLL = new Dictionary<string, QtModule>();
- private Dictionary<QtModule, QtModuleInfo> dictModuleInfos = new Dictionary<QtModule, QtModuleInfo>();
-
- public static QtModules Instance
- {
- get { return instance; }
- }
-
- public QtModuleInfo ModuleInformation(QtModule moduleId)
- {
- QtModuleInfo moduleInfo;
- dictModuleInfos.TryGetValue(moduleId, out moduleInfo);
- return moduleInfo;
- }
-
- public QtModule ModuleIdByName(string moduleName)
- {
- QtModule moduleId;
- if (dictModulesByDLL.TryGetValue(moduleName, out moduleId))
- return moduleId;
- else
- return QtModule.Invalid;
- }
-
- public List<QtModuleInfo> GetAvailableModuleInformation()
- {
- List<QtModuleInfo> lst = new List<QtModuleInfo>(dictModuleInfos.Count);
- foreach (KeyValuePair<QtModule, QtModuleInfo> entry in dictModuleInfos)
- lst.Add(entry.Value);
- return lst;
- }
-
- private QtModules()
- {
- QtModuleInfo moduleInfo = null;
- InitQtModule(QtModule.Core, "QtCore", "QT_CORE_LIB");
- InitQtModule(QtModule.Multimedia, "QtMultimedia", "QT_MULTIMEDIA_LIB");
- InitQtModule(QtModule.Sql, "QtSql", "QT_SQL_LIB");
- InitQtModule(QtModule.Network, "QtNetwork", "QT_NETWORK_LIB");
- InitQtModule(QtModule.Xml, "QtXml", "QT_XML_LIB");
- InitQtModule(QtModule.Script, "QtScript", "QT_SCRIPT_LIB");
- InitQtModule(QtModule.XmlPatterns, "QtXmlPatterns", "QT_XMLPATTERNS_LIB");
- moduleInfo = InitQtModule(QtModule.ScriptTools, "QtScriptTools", "QT_SCRIPTTOOLS_LIB");
- moduleInfo = InitQtModule(QtModule.Designer, "QtDesigner", new string[]{"QDESIGNER_EXPORT_WIDGETS", "QT_DESIGNER_LIB"});
- moduleInfo = InitQtModule(QtModule.Main, "qtmain", "");
- moduleInfo.proVarQT = null;
- moduleInfo.HasDLL = false;
- moduleInfo.IncludePath = null;
-
- moduleInfo = InitQtModule(QtModule.Test, "QtTest", "QT_TESTLIB_LIB");
- moduleInfo.proVarQT = null;
- moduleInfo.proVarCONFIG = "qtestlib";
-
- moduleInfo = InitQtModule(QtModule.Help, "QtHelp", "QT_HELP_LIB");
- moduleInfo.proVarQT = null;
- moduleInfo.proVarCONFIG = "help";
- moduleInfo = InitQtModule(QtModule.WebKit, "QtWebKit", "");
-
- moduleInfo = InitQtModule(QtModule.Svg, "QtSvg", "QT_SVG_LIB");
-
- moduleInfo = InitQtModule(QtModule.Declarative, "QtDeclarative", "QT_DECLARATIVE_LIB");
-
- moduleInfo = InitQtModule(QtModule.OpenGL, "QtOpenGL", "QT_OPENGL_LIB");
- moduleInfo.AdditionalLibraries.Add("opengl32.lib");
- moduleInfo.AdditionalLibraries.Add("glu32.lib");
-
- moduleInfo = InitQtModule(QtModule.ActiveQtS, "QtAxServer", "QAXSERVER");
- moduleInfo.HasDLL = false;
- moduleInfo.IncludePath = "$(QTDIR)\\include\\ActiveQt";
- moduleInfo.AdditionalLibraries.Add("Qt5AxBase.lib");
- moduleInfo.AdditionalLibrariesDebug.Add("Qt5AxBased.lib");
-
- moduleInfo = InitQtModule(QtModule.ActiveQtC, "QtAxContainer", "");
- moduleInfo.HasDLL = false;
- moduleInfo.IncludePath = "$(QTDIR)\\include\\ActiveQt";
- moduleInfo.AdditionalLibraries.Add("Qt5AxBase.lib");
- moduleInfo.AdditionalLibrariesDebug.Add("Qt5AxBased.lib");
-
- moduleInfo = InitQtModule(QtModule.UiTools, "QtUiTools", "QT_UITOOLS_LIB");
- moduleInfo.HasDLL = false;
-
- // Qt5
- InitQtModule(QtModule.Widgets, "QtWidgets", "QT_WIDGETS_LIB");
-
- moduleInfo = InitQtModule(QtModule.Gui, "QtGui", "QT_GUI_LIB");
-
- InitQtModule(QtModule.ThreeD, "Qt3D", "QT_3D_LIB");
- InitQtModule(QtModule.Location, "QtLocation", "QT_LOCATION_LIB");
-
- InitQtModule(QtModule.Qml, "QtQml", "QT_QML_LIB");
- moduleInfo = InitQtModule(QtModule.Bluetooth, "QtBluetooth", "QT_BLUETOOTH_LIB");
- InitQtModule(QtModule.PrintSupport, "QtPrintSupport", "QT_PRINTSUPPORT_LIB");
-
- moduleInfo = InitQtModule(QtModule.Sensors, "QtSensors", "QT_SENSORS_LIB");
- InitQtModule(QtModule.Quick, "QtQuick", "QT_QUICK_LIB");
-
- InitQtModule(QtModule.ThreeDQuick, "Qt3DQuick", "QT_3DQUICK_LIB");
-
- InitQtModule(QtModule.WebkitWidgets, "QtWebkitWidgets", "QT_WEBKITWIDGETS_LIB");
-
- InitQtModule(QtModule.Concurrent, "QtConcurrent", "QT_CONCURRENT_LIB");
- InitQtModule(QtModule.MultimediaWidgets, "QtMultimediaWidgets", "QT_MULTIMEDIAWIDGETS_LIB");
-
- moduleInfo = InitQtModule(QtModule.Enginio, "Enginio", "QT_ENGINIO_LIB");
-
- InitQtModule(QtModule.Nfc, "QtNfc", "QT_NFC_LIB");
- InitQtModule(QtModule.Positioning, "QtPositioning", "QT_POSITIONING_LIB");
- InitQtModule(QtModule.SerialPort, "QtSerialPort", "QT_SERIALPORT_LIB");
- InitQtModule(QtModule.WebChannel, "QtWebChannel", "QT_WEBCHANNEL_LIB");
- moduleInfo = InitQtModule(QtModule.WebSockets, "QtWebSockets", "QT_WEBSOCKETS_LIB");
- InitQtModule(QtModule.WindowsExtras, "QtWinExtras", "QT_WINEXTRAS_LIB");
- InitQtModule(QtModule.QuickWidgets, "QtQuickWidgets", "QT_QUICKWIDGETS_LIB");
-
- }
-
- private QtModuleInfo InitQtModule(QtModule moduleId, string libraryPrefix, string define)
- {
- return InitQtModule(moduleId, libraryPrefix, new string[] { define });
- }
-
- private QtModuleInfo InitQtModule(QtModule moduleId, string libraryPrefix, string[] defines)
- {
- QtModuleInfo moduleInfo = new QtModuleInfo(moduleId);
- moduleInfo.LibraryPrefix = libraryPrefix;
- moduleInfo.IncludePath = "$(QTDIR)\\include\\" + libraryPrefix;
- moduleInfo.Defines = new List<string>();
- dictModulesByDLL.Add(libraryPrefix, moduleId);
- foreach (string str in defines)
- {
- if (string.IsNullOrEmpty(str))
- continue;
- moduleInfo.Defines.Add(str);
- }
- dictModuleInfos.Add(moduleId, moduleInfo);
-
- if (libraryPrefix.StartsWith("Qt"))
- moduleInfo.proVarQT = libraryPrefix.Substring(2).ToLower();
- else
- moduleInfo.proVarQT = libraryPrefix.ToLower();
-
- return moduleInfo;
- }
-
- }
-}
diff --git a/Qt4VS2003/QtProjectLib/QtProject.cs b/Qt4VS2003/QtProjectLib/QtProject.cs
deleted file mode 100644
index 84eb889a..00000000
--- a/Qt4VS2003/QtProjectLib/QtProject.cs
+++ /dev/null
@@ -1,3433 +0,0 @@
-/****************************************************************************
-**
-** Copyright (C) 2016 The Qt Company Ltd.
-** Contact: https://www.qt.io/licensing/
-**
-** This file is part of the Qt VS Add-in.
-**
-** $QT_BEGIN_LICENSE:GPL-EXCEPT$
-** Commercial License Usage
-** Licensees holding valid commercial Qt licenses may use this file in
-** accordance with the commercial license agreement provided with the
-** Software or, alternatively, in accordance with the terms contained in
-** a written agreement between you and The Qt Company. For licensing terms
-** and conditions see https://www.qt.io/terms-conditions. For further
-** information use the contact form at https://www.qt.io/contact-us.
-**
-** GNU General Public License Usage
-** Alternatively, this file may be used under the terms of the GNU
-** General Public License version 3 as published by the Free Software
-** Foundation with exceptions as appearing in the file LICENSE.GPL3-EXCEPT
-** included in the packaging of this file. Please review the following
-** information to ensure the GNU General Public License requirements will
-** be met: https://www.gnu.org/licenses/gpl-3.0.html.
-**
-** $QT_END_LICENSE$
-**
-****************************************************************************/
-
-namespace Digia.Qt5ProjectLib
-{
- using EnvDTE;
- using System;
- using System.IO;
- using System.Collections;
- using System.Collections.Generic;
- using System.Windows.Forms;
- using System.Text.RegularExpressions;
- using System.Xml;
- using Microsoft.VisualStudio.VCProjectEngine;
-
- /// <summary>
- /// QtProject holds the Qt specific properties for a Visual Studio project.
- /// There exists at most one QtProject per EnvDTE.Project.
- /// Use QtProject.Create to get the QtProject for a Project or VCProject.
- /// </summary>
- public class QtProject
- {
- private EnvDTE.DTE dte = null;
- private EnvDTE.Project envPro = null;
- private VCProject vcPro = null;
- private MocCmdChecker mocCmdChecker = null;
- private Array lastConfigurationRowNames = null;
- private static Dictionary<Project, QtProject> instances = new Dictionary<Project,QtProject>();
-
- public static QtProject Create(VCProject vcProject)
- {
- return Create((EnvDTE.Project)vcProject.Object);
- }
-
- public static QtProject Create(EnvDTE.Project project)
- {
- QtProject qtProject = null;
- if (!instances.TryGetValue(project, out qtProject))
- {
- qtProject = new QtProject(project);
- instances.Add(project, qtProject);
- }
- return qtProject;
- }
-
- public static void ClearInstances()
- {
- instances.Clear();
- }
-
- private QtProject(EnvDTE.Project project)
- {
- if (project == null)
- throw new QtVSException(SR.GetString("QtProject_CannotConstructWithoutValidProject"));
- envPro = project;
- dte = envPro.DTE;
- vcPro = envPro.Object as VCProject;
- }
-
- public VCProject VCProject
- {
- get { return vcPro; }
- }
-
- public EnvDTE.Project Project
- {
- get { return envPro; }
- }
-
- public string ProjectDir
- {
- get
- {
- return vcPro.ProjectDirectory;
- }
- }
-
- /// <summary>
- /// Returns true if the ConfigurationRowNames have changed
- /// since the last evaluation of this property.
- /// </summary>
- public bool ConfigurationRowNamesChanged
- {
- get
- {
- bool ret = false;
- if (lastConfigurationRowNames == null)
- {
- lastConfigurationRowNames = envPro.ConfigurationManager.ConfigurationRowNames as Array;
- }
- else
- {
- Array currentConfigurationRowNames = envPro.ConfigurationManager.ConfigurationRowNames as Array;
- if (!HelperFunctions.ArraysEqual(lastConfigurationRowNames, currentConfigurationRowNames))
- {
- lastConfigurationRowNames = currentConfigurationRowNames;
- ret = true;
- }
- }
- return ret;
- }
- }
-
- /// <summary>
- /// Returns the file name of the generated ui header file relative to
- /// the project directory.
- /// </summary>
- /// <param name="uiFile">name of the ui file</param>
- public string GetUiGeneratedFileName(string uiFile)
- {
- FileInfo fi = new FileInfo(uiFile);
- string file = fi.Name;
- if (fi.Extension == ".ui")
- {
- return QtVSIPSettings.GetUicDirectory(envPro)
- + "\\ui_" + file.Remove(file.Length-3, 3) + ".h";
- }
- return null;
- }
-
- /// <summary>
- /// Returns the moc-generated file name for the given source or header file.
- /// </summary>
- /// <param name="file">header or source file in the project</param>
- /// <returns></returns>
- private static string GetMocFileName(string file)
- {
- FileInfo fi = new FileInfo(file);
-
- string name = fi.Name;
- if (HelperFunctions.HasHeaderFileExtension(fi.Name))
- return "moc_" + name.Substring(0, name.LastIndexOf('.')) + ".cpp";
- else if (HelperFunctions.HasSourceFileExtension(fi.Name))
- return name.Substring(0, name.LastIndexOf('.')) + ".moc";
- else
- return null;
- }
-
- /// <summary>
- /// Returns the file name of the generated moc file relative to the
- /// project directory.
- /// </summary>
- /// The directory of the moc file depends on the file configuration.
- /// Every appearance of "$(ConfigurationName)" in the path will be
- /// replaced by the value of configName.
- /// <param name="file">full file name of either the header or the source file</param>
- /// <param name="config">file configuration</param>
- /// <returns></returns>
- private string GetRelativeMocFilePath(string file, string configName, string platformName)
- {
- string fileName = GetMocFileName(file);
- if (fileName == null)
- return null;
- string mocDir = QtVSIPSettings.GetMocDirectory(envPro, configName, platformName)
- + "\\" + fileName;
- if (HelperFunctions.IsAbsoluteFilePath(mocDir))
- mocDir = HelperFunctions.GetRelativePath(vcPro.ProjectDirectory, mocDir);
- return mocDir;
- }
-
- /// <summary>
- /// Returns the file name of the generated moc file relative to the
- /// project directory.
- /// </summary>
- /// The returned file path may contain the macros $(ConfigurationName) and $(PlatformName).
- /// <param name="file">full file name of either the header or the source file</param>
- /// <returns></returns>
- private string GetRelativeMocFilePath(string file)
- {
- return GetRelativeMocFilePath(file, null, null);
- }
-
- public string QtPackageVersion()
- {
- if (vcPro == null)
- return null;
- return vcPro.keyword.Remove(0, Resources.qtProjectKeyword.Length);
- }
-
- /// <summary>
- /// Marks the specified project as a Qt project.
- /// </summary>
- /// <param name="proj">project</param>
- public void MarkAsQtProject(string version)
- {
- vcPro.keyword = Resources.qtProjectKeyword + version;
- }
-
- public void AddDefine(string define, uint bldConf)
- {
- foreach (VCConfiguration config in (IVCCollection)vcPro.Configurations)
- {
- CompilerToolWrapper compiler = CompilerToolWrapper.Create(config);
-
- if (((!IsDebugConfiguration(config)) && ((bldConf & BuildConfig.Release) != 0)) ||
- ((IsDebugConfiguration(config)) && ((bldConf & BuildConfig.Debug) != 0)))
- {
- compiler.AddPreprocessorDefinition(define);
- }
- }
- }
-
- public void AddModule(QtModule module)
- {
- if (HasModule(module))
- return;
-
- QtVersionManager vm = QtVersionManager.The();
- VersionInformation versionInfo = vm.GetVersionInfo(this.Project);
- if (versionInfo == null)
- versionInfo = vm.GetVersionInfo(vm.GetDefaultVersion());
-
- foreach (VCConfiguration config in (IVCCollection)vcPro.Configurations)
- {
- CompilerToolWrapper compiler = CompilerToolWrapper.Create(config);
- VCLinkerTool linker = (VCLinkerTool)((IVCCollection)config.Tools).Item("VCLinkerTool");
-
- QtModuleInfo info = QtModules.Instance.ModuleInformation(module);
- if (compiler != null)
- {
- foreach(string define in info.Defines)
- compiler.AddPreprocessorDefinition(define);
-
- string incPath = info.GetIncludePath();
- if (!String.IsNullOrEmpty(incPath))
- compiler.AddAdditionalIncludeDirectories(incPath);
- }
- if (linker != null)
- {
- List<string> moduleLibs = info.GetLibs(IsDebugConfiguration(config), versionInfo);
- LinkerToolWrapper linkerWrapper = new LinkerToolWrapper(linker);
- List<string> additionalDeps = linkerWrapper.AdditionalDependencies;
- bool dependenciesChanged = false;
- if (additionalDeps == null || additionalDeps.Count == 0)
- {
- additionalDeps = moduleLibs;
- dependenciesChanged = true;
- }
- else
- {
- foreach (string moduleLib in moduleLibs)
- if (!additionalDeps.Contains(moduleLib))
- {
- additionalDeps.Add(moduleLib);
- dependenciesChanged = true;
- }
- }
- if (dependenciesChanged)
- linkerWrapper.AdditionalDependencies = additionalDeps;
- }
- }
- }
-
- public void RemoveModule(QtModule module)
- {
- foreach (VCConfiguration config in (IVCCollection)vcPro.Configurations)
- {
- CompilerToolWrapper compiler = CompilerToolWrapper.Create(config);
- VCLinkerTool linker = (VCLinkerTool)((IVCCollection)config.Tools).Item("VCLinkerTool");
-
- QtModuleInfo info = QtModules.Instance.ModuleInformation(module);
- if (compiler != null)
- {
- foreach (string define in info.Defines)
- compiler.RemovePreprocessorDefinition(define);
- List<string> additionalIncludeDirs = compiler.AdditionalIncludeDirectories;
- if (additionalIncludeDirs != null)
- {
- List<string> lst = new List<string>(additionalIncludeDirs);
- if (!String.IsNullOrEmpty(info.IncludePath))
- {
- lst.Remove(info.IncludePath);
- lst.Remove('\"' + info.IncludePath + '\"');
- }
- compiler.AdditionalIncludeDirectories = lst;
- }
- }
- if (linker != null && linker.AdditionalDependencies != null)
- {
- LinkerToolWrapper linkerWrapper = new LinkerToolWrapper(linker);
- QtVersionManager vm = QtVersionManager.The();
- VersionInformation versionInfo = vm.GetVersionInfo(this.Project);
- if (versionInfo == null)
- versionInfo = vm.GetVersionInfo(vm.GetDefaultVersion());
-
- List<string> moduleLibs = info.GetLibs(IsDebugConfiguration(config), versionInfo);
- List<string> additionalDependencies = linkerWrapper.AdditionalDependencies;
- bool dependenciesChanged = false;
- foreach (string moduleLib in moduleLibs)
- if (additionalDependencies.Remove(moduleLib))
- dependenciesChanged = true;
- if (dependenciesChanged)
- linkerWrapper.AdditionalDependencies = additionalDependencies;
- }
- }
- }
-
- public void UpdateModules(VersionInformation oldVersion, VersionInformation newVersion)
- {
- foreach (VCConfiguration config in (IVCCollection)vcPro.Configurations)
- {
- VCLinkerTool linker = (VCLinkerTool)((IVCCollection)config.Tools).Item("VCLinkerTool");
-
- if (linker != null)
- {
- if (oldVersion == null)
- {
- LinkerToolWrapper linkerWrapper = new LinkerToolWrapper(linker);
- List<string> additionalDependencies = linkerWrapper.AdditionalDependencies;
-
- List<string> libsDesktop = new List<string>();
- foreach (QtModuleInfo module in QtModules.Instance.GetAvailableModuleInformation())
- {
- if (HasModule(module.ModuleId))
- {
- libsDesktop.AddRange(module.AdditionalLibraries);
- }
- }
- List<string> libsToAdd = libsDesktop;
-
- bool changed = false;
- foreach (string libToAdd in libsToAdd)
- {
- if (!additionalDependencies.Contains(libToAdd))
- {
- additionalDependencies.Add(libToAdd);
- changed = true;
- }
- }
- if (changed)
- linkerWrapper.AdditionalDependencies = additionalDependencies;
- }
-
- if (oldVersion == null || newVersion.IsStaticBuild() != oldVersion.IsStaticBuild())
- {
- CompilerToolWrapper compiler = CompilerToolWrapper.Create(config);
- if (newVersion.IsStaticBuild())
- {
- if (compiler != null)
- compiler.RemovePreprocessorDefinition("QT_DLL");
- }
- else
- {
- if (compiler != null)
- compiler.AddPreprocessorDefinition("QT_DLL");
- }
- }
- }
- }
- }
-
- public bool HasModule(QtModule module)
- {
- bool foundInIncludes = false;
- bool foundInLibs = false;
-
- QtVersionManager vm = QtVersionManager.The();
- VersionInformation versionInfo = vm.GetVersionInfo(this.Project);
- if (versionInfo == null)
- versionInfo = vm.GetVersionInfo(vm.GetDefaultVersion());
-
- foreach (VCConfiguration config in (IVCCollection)vcPro.Configurations)
- {
- CompilerToolWrapper compiler = CompilerToolWrapper.Create(config);
- VCLinkerTool linker = (VCLinkerTool)((IVCCollection)config.Tools).Item("VCLinkerTool");
-
- QtModuleInfo info = QtModules.Instance.ModuleInformation(module);
- if (compiler != null)
- {
- string incPath = info.GetIncludePath();
- if (String.IsNullOrEmpty(incPath))
- break;
- if (compiler.GetAdditionalIncludeDirectories() == null)
- continue;
-
- string fixedIncludeDir = FixFilePathForComparison(incPath);
- string[] includeDirs = compiler.GetAdditionalIncludeDirectoriesList();
- foreach (string dir in includeDirs)
- {
- if (FixFilePathForComparison(dir) == fixedIncludeDir)
- {
- foundInIncludes = true;
- break;
- }
- }
- }
-
- if (foundInIncludes)
- break;
-
- List<string> libs = null;
- if (linker != null)
- {
- LinkerToolWrapper linkerWrapper = new LinkerToolWrapper(linker);
- libs = linkerWrapper.AdditionalDependencies;
- }
-
- if (libs != null)
- {
- foundInLibs = true;
- List<string> moduleLibs = info.GetLibs(IsDebugConfiguration(config), versionInfo);
- foreach (string moduleLib in moduleLibs)
- {
- if (!libs.Contains(moduleLib))
- {
- foundInLibs = false;
- break;
- }
- }
- }
- }
- return foundInIncludes || foundInLibs;
- }
-
- public void WriteProjectBasicConfigurations(uint type, bool usePrecompiledHeader)
- {
- WriteProjectBasicConfigurations(type, usePrecompiledHeader, null);
- }
-
- public void WriteProjectBasicConfigurations(uint type, bool usePrecompiledHeader, VersionInformation vi)
- {
- ConfigurationTypes configType = ConfigurationTypes.typeApplication;
- string targetExtension = ".exe";
- string qtVersion = null;
- QtVersionManager vm = QtVersionManager.The();
- if (vi == null)
- {
- qtVersion = vm.GetDefaultVersion();
- vi = vm.GetVersionInfo(qtVersion);
- }
-
- switch (type & TemplateType.ProjectType)
- {
- case TemplateType.DynamicLibrary:
- configType = ConfigurationTypes.typeDynamicLibrary;
- targetExtension = ".dll";
- break;
- case TemplateType.StaticLibrary:
- configType = ConfigurationTypes.typeStaticLibrary;
- targetExtension = ".lib";
- break;
- }
-
- foreach (VCConfiguration config in (IVCCollection)vcPro.Configurations)
- {
- config.ConfigurationType = configType;
- CompilerToolWrapper compiler = CompilerToolWrapper.Create(config);
- VCLinkerTool linker = (VCLinkerTool)((IVCCollection)config.Tools).Item("VCLinkerTool");
- VCLibrarianTool librarian = (VCLibrarianTool)((IVCCollection)config.Tools).Item("VCLibrarianTool");
-
- // for some stupid reason you have to set this for it to be updated...
- // the default value is the same... +platform now
- config.OutputDirectory = "$(SolutionDir)$(Platform)\\$(Configuration)\\";
-
- // add some common defines
- compiler.SetPreprocessorDefinitions(vi.GetQMakeConfEntry("DEFINES").Replace(" ", ","));
-
- if (!vi.IsStaticBuild())
- {
- compiler.AddPreprocessorDefinition("QT_DLL");
- }
-
- if (linker != null)
- {
- if ((type & TemplateType.ConsoleSystem) != 0)
- linker.SubSystem = subSystemOption.subSystemConsole;
- else
- linker.SubSystem = subSystemOption.subSystemWindows;
-
- linker.OutputFile = "$(OutDir)\\$(ProjectName)" + targetExtension;
- linker.AdditionalLibraryDirectories = "$(QTDIR)\\lib";
- if (vi.IsStaticBuild())
- {
- linker.AdditionalDependencies = vi.GetQMakeConfEntry("QMAKE_LIBS_CORE");
- if ((type & TemplateType.GUISystem) != 0)
- {
- linker.AdditionalDependencies += " " + vi.GetQMakeConfEntry("QMAKE_LIBS_GUI");
- }
- }
- }
- else
- {
- librarian.OutputFile = "$(OutDir)\\$(ProjectName)" + targetExtension;
- librarian.AdditionalLibraryDirectories = "$(QTDIR)\\lib";
- }
-
- if ((type & TemplateType.GUISystem) != 0)
- compiler.SetAdditionalIncludeDirectories(QtVSIPSettings.GetUicDirectory(envPro) + ";");
-
- if ((type & TemplateType.PluginProject) != 0)
- {
- compiler.AddPreprocessorDefinition("QT_PLUGIN");
- }
-
- bool isDebugConfiguration = false;
- if (config.Name.StartsWith("Release"))
- {
- compiler.AddPreprocessorDefinition("QT_NO_DEBUG,NDEBUG");
- compiler.SetDebugInformationFormat(debugOption.debugDisabled);
- compiler.SetRuntimeLibrary(runtimeLibraryOption.rtMultiThreadedDLL);
- }
- else if (config.Name.StartsWith("Debug"))
- {
- isDebugConfiguration = true;
- compiler.SetOptimization(optimizeOption.optimizeDisabled);
- compiler.SetDebugInformationFormat(debugOption.debugEnabled);
- compiler.SetRuntimeLibrary(runtimeLibraryOption.rtMultiThreadedDebugDLL);
- }
- compiler.AddAdditionalIncludeDirectories(
- ".;" + "$(QTDIR)\\include;" + QtVSIPSettings.GetMocDirectory(envPro));
-
- compiler.SetTreatWChar_tAsBuiltInType(true);
-
- if (linker != null)
- linker.GenerateDebugInformation = isDebugConfiguration;
-
- if (usePrecompiledHeader)
- UsePrecompiledHeaders(config);
- }
- if ((type & TemplateType.PluginProject) != 0)
- MarkAsDesignerPluginProject();
- }
-
- public void MarkAsDesignerPluginProject()
- {
- Project.Globals["IsDesignerPlugin"] = true.ToString();
- if (!Project.Globals.get_VariablePersists("IsDesignerPlugin"))
- Project.Globals.set_VariablePersists("IsDesignerPlugin", true);
- }
-
- public bool AddApplicationIcon(string iconFileName)
- {
- string projectName = vcPro.ItemName;
- string iconFile = vcPro.ProjectDirectory + "\\" + projectName + ".ico";
- string rcFile = vcPro.ProjectDirectory + "\\" + projectName + ".rc";
- try
- {
- if (!File.Exists(iconFile))
- {
- File.Copy(iconFileName, iconFile);
- FileAttributes attribs = File.GetAttributes(iconFile);
- File.SetAttributes(iconFile, attribs & (~FileAttributes.ReadOnly));
- }
-
- StreamWriter sw = null;
- if (!File.Exists(rcFile))
- {
- sw = new StreamWriter(File.Create(rcFile));
- sw.WriteLine("IDI_ICON1\t\tICON\t\tDISCARDABLE\t\"" + projectName + ".ico\"" + sw.NewLine);
- sw.Close();
- }
- }
- catch (System.Exception e)
- {
- Messages.DisplayErrorMessage(e);
- return false;
- }
- vcPro.AddFile(rcFile);
- return true;
- }
-
- /// <summary>
- /// This function adds a uic4 build step to a given file.
- /// </summary>
- /// <param name="file">file</param>
- public void AddUic4BuildStep(VCFile file)
- {
- try
- {
- string uiFile = this.GetUiGeneratedFileName(file.FullPath);
- string uiBaseName = file.Name.Remove(file.Name.LastIndexOf('.'));
- string uiFileMacro = uiFile.Replace(uiBaseName, ProjectMacros.Name);
- bool uiFileExists = GetFileFromProject(uiFile) != null;
-
- foreach (VCFileConfiguration config in (IVCCollection)file.FileConfigurations)
- {
- VCCustomBuildTool tool = HelperFunctions.GetCustomBuildTool(config);
- if (tool != null)
- {
- tool.AdditionalDependencies = Resources.uic4Command;
- tool.Description = "Uic'ing " + ProjectMacros.FileName + "...";
- tool.Outputs = "\"" + uiFileMacro + "\"";
- tool.CommandLine = "\"" + Resources.uic4Command + "\" -o \""
- + uiFileMacro + "\" \"" + ProjectMacros.Path + "\"";
- }
-
- VCConfiguration conf = config.ProjectConfiguration as VCConfiguration;
- CompilerToolWrapper compiler = CompilerToolWrapper.Create(conf);
- if (compiler != null && !uiFileExists)
- {
- string uiDir = QtVSIPSettings.GetUicDirectory(envPro);
- if (compiler.GetAdditionalIncludeDirectories().IndexOf(uiDir) < 0)
- compiler.AddAdditionalIncludeDirectories(uiDir);
- }
- }
- if (!uiFileExists)
- AddFileInFilter(Filters.GeneratedFiles(), uiFile);
- }
- catch
- {
- throw new QtVSException(SR.GetString("QtProject_CannotAddUicStep", file.FullPath));
- }
- }
-
- /// <summary>
- /// Surrounds the argument by double quotes.
- /// Makes sure, that the trailing double quote is not escaped by a backslash.
- /// Such an escaping backslash may also appear as a macro value.
- /// </summary>
- private static string SafelyQuoteCommandLineArgument(string arg)
- {
- arg = "\"" + arg;
- if (arg.EndsWith("\\"))
- arg += "."; // make sure, that we don't escape the trailing double quote
- else if (arg.EndsWith(")"))
- arg += "\\."; // macro value could end with backslash. That would escape the trailing double quote.
- arg += "\"";
- return arg;
- }
-
- public string GetDefines(VCFileConfiguration conf)
- {
- List<string> defineList = CompilerToolWrapper.Create(conf).PreprocessorDefinitions;
-
- VCConfiguration projectConfig = conf.ProjectConfiguration as VCConfiguration;
- defineList.AddRange(CompilerToolWrapper.Create(projectConfig).PreprocessorDefinitions);
-
- IVCCollection propertySheets = projectConfig.PropertySheets as IVCCollection;
- if (propertySheets != null)
- foreach (VCPropertySheet sheet in propertySheets)
- defineList.AddRange(GetDefinesFromPropertySheet(sheet));
-
- string preprocessorDefines = "";
- List<string> alreadyAdded = new List<string>();
- Regex rxp = new Regex(@"\s|(\$\()");
- foreach (string define in defineList)
- {
- if (!alreadyAdded.Contains(define))
- {
- bool mustSurroundByDoubleQuotes = rxp.IsMatch(define);
- // Yes, a preprocessor definition can contain spaces or a macro name.
- // Example: PROJECTDIR=$(InputDir)
-
- if (mustSurroundByDoubleQuotes)
- {
- preprocessorDefines += " ";
- preprocessorDefines += SafelyQuoteCommandLineArgument("-D" + define);
- }
- else
- {
- preprocessorDefines += " -D" + define;
- }
- alreadyAdded.Add(define);
- }
- }
- return preprocessorDefines;
- }
-
- private List<string> GetDefinesFromPropertySheet(VCPropertySheet sheet)
- {
- List<string> defines = CompilerToolWrapper.Create(sheet).PreprocessorDefinitions;
- IVCCollection propertySheets = sheet.PropertySheets as IVCCollection;
- if (propertySheets != null)
- foreach (VCPropertySheet subSheet in propertySheets)
- defines.AddRange(GetDefinesFromPropertySheet(subSheet));
- return defines;
- }
-
- private string GetIncludes(VCFileConfiguration conf)
- {
- List<string> includeList = GetIncludesFromCompilerTool(CompilerToolWrapper.Create(conf));
-
- VCConfiguration projectConfig = conf.ProjectConfiguration as VCConfiguration;
- includeList.AddRange(GetIncludesFromCompilerTool(CompilerToolWrapper.Create(projectConfig)));
-
- IVCCollection propertySheets = projectConfig.PropertySheets as IVCCollection;
- if (propertySheets != null)
- foreach (VCPropertySheet sheet in propertySheets)
- includeList.AddRange(GetIncludesFromPropertySheet(sheet));
-
- string includes = "";
- List<string> alreadyAdded = new List<string>();
- foreach (string include in includeList)
- {
- if (!alreadyAdded.Contains(include))
- {
- string incl = HelperFunctions.NormalizeRelativeFilePath(include);
- if (incl.Length > 0)
- {
- string cmdline = " ";
- cmdline += SafelyQuoteCommandLineArgument("-I" + incl);
- includes += cmdline;
- }
- alreadyAdded.Add(include);
- }
- }
- return includes;
- }
-
- private List<string> GetIncludesFromPropertySheet(VCPropertySheet sheet)
- {
- List<string> includeList = GetIncludesFromCompilerTool(CompilerToolWrapper.Create(sheet));
- IVCCollection propertySheets = sheet.PropertySheets as IVCCollection;
- if (propertySheets != null)
- foreach (VCPropertySheet subSheet in propertySheets)
- includeList.AddRange(GetIncludesFromPropertySheet(subSheet));
- return includeList;
- }
-
- private static List<string> GetIncludesFromCompilerTool(CompilerToolWrapper compiler)
- {
- try
- {
- if (compiler.GetAdditionalIncludeDirectories() != null && compiler.GetAdditionalIncludeDirectories().Length > 0)
- {
- string[] includes = compiler.GetAdditionalIncludeDirectoriesList();
- return new List<string>(includes);
- }
- }
- catch { }
- return new List<string>();
- }
-
- private static bool IsDebugConfiguration(VCConfiguration conf)
- {
-
- object compiler = ((IVCCollection)conf.Tools).Item("VCCLCompilerTool");
- VCCLCompilerTool tool = compiler as VCCLCompilerTool;
- if (tool != null && (tool.RuntimeLibrary == runtimeLibraryOption.rtMultiThreadedDebug ||
- tool.RuntimeLibrary == runtimeLibraryOption.rtMultiThreadedDebugDLL))
- return true;
- return false;
- }
-
- private string GetPCHMocOptions(VCFile file, CompilerToolWrapper compiler)
- {
- // As .moc files are included, we should not add anything there
- if (!HelperFunctions.HasHeaderFileExtension(file.Name))
- return "";
-
- string additionalMocOptions = "\"-f" + compiler.GetPrecompiledHeaderThrough().Replace('\\', '/') + "\" ";
- //Get mocDir without .\\ at the beginning of it
- string mocDir = QtVSIPSettings.GetMocDirectory(envPro);
- if (mocDir.StartsWith(".\\"))
- mocDir = mocDir.Substring(2);
-
- //Get the absolute path
- mocDir = vcPro.ProjectDirectory + mocDir;
- string relPathToFile = HelperFunctions.GetRelativePath(mocDir, file.FullPath).Replace('\\', '/');
- additionalMocOptions += "\"-f" + relPathToFile + "\"";
- return additionalMocOptions;
- }
-
- /// <summary>
- /// Adds a moc step to a given file for this project.
- /// </summary>
- /// <param name="file">file</param>
- public void AddMocStep(VCFile file)
- {
- try
- {
- string mocFileName = GetMocFileName(file.FullPath);
- if (mocFileName == null)
- return;
-
- bool hasDifferentMocFilePerConfig = QtVSIPSettings.HasDifferentMocFilePerConfig(envPro);
- bool hasDifferentMocFilePerPlatform = QtVSIPSettings.HasDifferentMocFilePerPlatform(envPro);
- bool mocableIsCPP = mocFileName.ToLower().EndsWith(".moc");
-
- // Fresh C++ headers don't have a usable custom build tool. We must set the item type first.
- if (!mocableIsCPP && file.ItemType != "CustomBuild")
- file.ItemType = "CustomBuild";
-
- foreach (VCFileConfiguration config in (IVCCollection)file.FileConfigurations)
- {
- VCConfiguration vcConfig = config.ProjectConfiguration as VCConfiguration;
- VCPlatform platform = vcConfig.Platform as VCPlatform;
- string platformName = platform.Name;
-
- string mocRelPath = GetRelativeMocFilePath(file.FullPath, vcConfig.ConfigurationName, platformName);
- string subfilterName = null;
- if (mocRelPath.Contains(vcConfig.ConfigurationName))
- subfilterName = vcConfig.ConfigurationName;
- if (mocRelPath.Contains(platformName))
- {
- if (subfilterName != null)
- subfilterName += '_';
- subfilterName += platformName;
- }
- VCFile mocFile = GetFileFromProject(mocRelPath);
- if (mocFile == null)
- {
- FileInfo fi = new FileInfo(this.VCProject.ProjectDirectory + "\\" + mocRelPath);
- if (!fi.Directory.Exists)
- fi.Directory.Create();
- mocFile = AddFileInSubfilter(Filters.GeneratedFiles(), subfilterName,
- mocRelPath);
- if (mocFileName.ToLower().EndsWith(".moc"))
- {
- ProjectItem mocFileItem = mocFile.Object as ProjectItem;
- if (mocFileItem != null)
- HelperFunctions.EnsureCustomBuildToolAvailable(mocFileItem);
- }
- }
-
- if (mocFile == null)
- throw new QtVSException(SR.GetString("QtProject_CannotAddMocStep", file.FullPath));
-
- VCCustomBuildTool tool = null;
- string fileToMoc = null;
- if (!mocableIsCPP)
- {
- tool = HelperFunctions.GetCustomBuildTool(config);
- fileToMoc = ProjectMacros.Path;
- }
- else
- {
- VCFileConfiguration mocConf = GetVCFileConfigurationByName(mocFile, vcConfig.Name);
- tool = HelperFunctions.GetCustomBuildTool(mocConf);
- fileToMoc = HelperFunctions.GetRelativePath(vcPro.ProjectDirectory, file.FullPath);
- }
- if (tool == null)
- throw new QtVSException(SR.GetString("QtProject_CannotFindCustomBuildTool", file.FullPath));
-
-
- if (hasDifferentMocFilePerPlatform && hasDifferentMocFilePerConfig)
- {
- foreach (VCFileConfiguration mocConf in (IVCCollection)mocFile.FileConfigurations)
- {
- VCConfiguration projectCfg = mocConf.ProjectConfiguration as VCConfiguration;
- if (projectCfg.Name != vcConfig.Name || (IsMoccedFileIncluded(file) && !mocableIsCPP))
- {
- if (!mocConf.ExcludedFromBuild)
- mocConf.ExcludedFromBuild = true;
- }
- else
- {
- if (mocConf.ExcludedFromBuild != config.ExcludedFromBuild)
- mocConf.ExcludedFromBuild = config.ExcludedFromBuild;
- }
- }
- }
- else if (hasDifferentMocFilePerPlatform)
- {
- foreach (VCFileConfiguration mocConf in (IVCCollection)mocFile.FileConfigurations)
- {
- VCConfiguration projectCfg = mocConf.ProjectConfiguration as VCConfiguration;
- VCPlatform mocConfPlatform = projectCfg.Platform as VCPlatform;
- if (projectCfg.ConfigurationName != vcConfig.ConfigurationName)
- continue;
-
- bool exclude = mocConfPlatform.Name != platformName || (IsMoccedFileIncluded(file) && !mocableIsCPP);
- if (exclude)
- {
- if (mocConf.ExcludedFromBuild != exclude)
- mocConf.ExcludedFromBuild = exclude;
- }
- else
- {
- if (mocConf.ExcludedFromBuild != config.ExcludedFromBuild)
- mocConf.ExcludedFromBuild = config.ExcludedFromBuild;
- }
- }
- }
- else if (hasDifferentMocFilePerConfig)
- {
- foreach (VCFileConfiguration mocConf in (IVCCollection)mocFile.FileConfigurations)
- {
- VCConfiguration projectCfg = mocConf.ProjectConfiguration as VCConfiguration;
- VCPlatform mocConfPlatform = projectCfg.Platform as VCPlatform;
- if (platformName != mocConfPlatform.Name)
- continue;
-
- if (projectCfg.Name != vcConfig.Name || (IsMoccedFileIncluded(file) && !mocableIsCPP))
- {
- if (!mocConf.ExcludedFromBuild)
- mocConf.ExcludedFromBuild = true;
- }
- else
- {
- if (mocConf.ExcludedFromBuild != config.ExcludedFromBuild)
- mocConf.ExcludedFromBuild = config.ExcludedFromBuild;
- }
- }
- }
- else
- {
- VCFileConfiguration moccedFileConfig = GetVCFileConfigurationByName(mocFile, config.Name);
- if (moccedFileConfig != null)
- {
- VCFile cppFile = GetCppFileForMocStep(file);
- if (cppFile != null && IsMoccedFileIncluded(cppFile))
- {
- if (!moccedFileConfig.ExcludedFromBuild)
- {
- moccedFileConfig.ExcludedFromBuild = true;
- }
- }
- else if (moccedFileConfig.ExcludedFromBuild != config.ExcludedFromBuild)
- moccedFileConfig.ExcludedFromBuild = config.ExcludedFromBuild;
- }
- }
-
- string dps = tool.AdditionalDependencies;
- if (dps.IndexOf("\"" + Resources.moc4Command + "\"") < 0)
- {
- if (dps.Length > 0 && !dps.EndsWith(";"))
- dps += ";";
- tool.AdditionalDependencies = dps + "\"" + Resources.moc4Command + "\";" + fileToMoc;
- }
-
- tool.Description = "Moc'ing " + file.Name + "...";
-
- string inputMocFile = ProjectMacros.Path;
- if (mocableIsCPP)
- inputMocFile = file.RelativePath;
- string output = tool.Outputs;
- string outputMocFile = "";
- string outputMocMacro = "";
- string baseFileName = file.Name.Remove(file.Name.LastIndexOf('.'));
- string pattern = "(\"(.*\\\\" + mocFileName + ")\"|(\\S*"
- + mocFileName + "))";
- System.Text.RegularExpressions.Regex regExp = new Regex(pattern);
- MatchCollection matchList = regExp.Matches(tool.Outputs.Replace(ProjectMacros.Name, baseFileName));
- if (matchList.Count > 0)
- {
- if (matchList[0].Length > 0)
- {
- outputMocFile = matchList[0].ToString();
- }
- else if (matchList[1].Length > 1)
- {
- outputMocFile = matchList[1].ToString();
- }
- if (outputMocFile.StartsWith("\""))
- outputMocFile = outputMocFile.Substring(1);
- if (outputMocFile.EndsWith("\""))
- outputMocFile = outputMocFile.Substring(0, outputMocFile.Length-1);
- string outputMocPath = Path.GetDirectoryName(outputMocFile);
- string stringToReplace = Path.GetFileName(outputMocFile);
- outputMocMacro = outputMocPath + "\\" + stringToReplace.Replace(baseFileName, ProjectMacros.Name);
- }
- else
- {
- outputMocFile = GetRelativeMocFilePath(file.FullPath);
- string outputMocPath = Path.GetDirectoryName(outputMocFile);
- string stringToReplace = Path.GetFileName(outputMocFile);
- outputMocMacro = outputMocPath + "\\" + stringToReplace.Replace(baseFileName, ProjectMacros.Name);
- if (output.Length > 0 && !output.EndsWith(";"))
- output += ";";
- tool.Outputs = output + "\"" + outputMocMacro + "\"";
- }
-
- string newCmdLine = "\"" + Resources.moc4Command + "\" " + QtVSIPSettings.GetMocOptions(envPro)
- + " \"" + inputMocFile + "\" -o \""
- + outputMocMacro + "\"";
-
- // Tell moc to include the PCH header if we are using precompiled headers in the project
- CompilerToolWrapper compiler = CompilerToolWrapper.Create(vcConfig);
- if (compiler.GetUsePrecompiledHeader() != pchOption.pchNone)
- {
- newCmdLine += " " + GetPCHMocOptions(file, compiler);
- }
-
- QtVersionManager versionManager = QtVersionManager.The();
- VersionInformation versionInfo = new VersionInformation(versionManager.GetInstallPath(envPro));
- bool mocSupportsIncludes = (versionInfo.qtMajor == 4 && versionInfo.qtMinor >= 2)
- || versionInfo.qtMajor >= 5;
-
- string strDefinesIncludes = "";
- VCFile cppPropertyFile;
- if (!mocableIsCPP)
- cppPropertyFile = GetCppFileForMocStep(file);
- else
- cppPropertyFile = GetCppFileForMocStep(mocFile);
- VCFileConfiguration defineIncludeConfig;
- if (cppPropertyFile != null)
- defineIncludeConfig = GetVCFileConfigurationByName(cppPropertyFile, config.Name);
- else
- // No file specific defines/includes but at least the project defines/includes are added
- defineIncludeConfig = config;
- strDefinesIncludes += GetDefines(defineIncludeConfig);
- strDefinesIncludes += GetIncludes(defineIncludeConfig);
- int cmdLineLength = newCmdLine.Length + strDefinesIncludes.Length + 1;
- if (cmdLineLength > HelperFunctions.GetMaximumCommandLineLength() && mocSupportsIncludes)
- {
- // Command line is too long. We must use an options file.
- string mocIncludeCommands = "";
- string mocIncludeFile = "\"" + outputMocFile + ".inc\"";
- string redirectOp = " > ";
- int maxCmdLineLength = HelperFunctions.GetMaximumCommandLineLength() - (mocIncludeFile.Length + 1);
-
- string[] options = strDefinesIncludes.Split(' ');
-
- int i = options.Length - 1;
- for (; i >= 0; --i)
- {
- if (options[i].Length == 0)
- continue;
- mocIncludeCommands += "echo " + options[i] + redirectOp + mocIncludeFile + "\r\n";
- cmdLineLength -= options[i].Length + 1;
- if (cmdLineLength < maxCmdLineLength)
- break;
- if (i == options.Length - 1) // first loop
- redirectOp = " >> ";
- }
- strDefinesIncludes = "@" + mocIncludeFile;
- for (int k = 0; k < i; ++k)
- if (options[k].Length > 0)
- strDefinesIncludes += " " + options[k];
-
- newCmdLine = mocIncludeCommands + newCmdLine + " " + strDefinesIncludes;
- }
- else
- {
- newCmdLine = newCmdLine + " " + strDefinesIncludes;
- }
-
- if (tool.CommandLine.Trim().Length > 0)
- {
- string cmdLine = tool.CommandLine;
-
- // remove the moc option file commands
- {
- Regex rex = new Regex("^echo.+[.](moc|cpp)[.]inc\"\r\n", RegexOptions.Multiline);
- cmdLine = rex.Replace(cmdLine, "");
- }
-
- Match m = System.Text.RegularExpressions.Regex.Match(cmdLine,
- @"(\S*moc.exe|""\S+:\\\.*moc.exe"")");
-
- if (m.Success)
- {
- int start = m.Index;
- int end = cmdLine.IndexOf("&&", start);
- int a = cmdLine.IndexOf("\r\n", start);
- if ((a > -1 && a < end) || (end < 0 && a > -1))
- end = a;
- if (end < 0)
- end = cmdLine.Length;
- tool.CommandLine = cmdLine.Replace(cmdLine.Substring(start, end - start), newCmdLine);
- }
- else
- {
- tool.CommandLine = cmdLine + "\r\n" + newCmdLine;
- }
- }
- else
- {
- tool.CommandLine = newCmdLine;
- }
- }
- }
- catch
- {
- throw new QtVSException(SR.GetString("QtProject_CannotAddMocStep", file.FullPath));
- }
- }
-
- /// <summary>
- /// Helper function for AddMocStep.
- /// </summary>
- /// <param name="file">header or source file name</param>
- /// <returns>True, if the file contains an include of the
- /// corresponding moc_xxx.cpp file. False in all other cases</returns>
- public bool IsMoccedFileIncluded(VCFile file)
- {
- bool isHeaderFile = HelperFunctions.HasHeaderFileExtension(file.FullPath);
- if (isHeaderFile || HelperFunctions.HasSourceFileExtension(file.FullPath))
- {
- string srcName;
- if (isHeaderFile)
- srcName = file.FullPath.Substring(0, file.FullPath.LastIndexOf(".")) + ".cpp";
- else
- srcName = file.FullPath;
- VCFile f = GetFileFromProject(srcName);
- CxxStreamReader sr = null;
- if (f != null)
- {
- try
- {
- string strLine;
- sr = new CxxStreamReader(f.FullPath);
- string baseName = file.Name.Substring(0, file.Name.LastIndexOf("."));
- while ((strLine = sr.ReadLine()) != null)
- {
- if (strLine.IndexOf("#include \"moc_" + baseName + ".cpp\"") != -1 ||
- strLine.IndexOf("#include <moc_" + baseName + ".cpp>") != -1)
- {
- sr.Close();
- return true;
- }
- }
- sr.Close();
- }
- catch (System.Exception)
- {
- // do nothing
- if (sr != null)
- sr.Close();
- return false;
- }
- }
- }
- return false;
- }
-
- public bool HasMocStep(VCFile file)
- {
- return HasMocStep(file, null);
- }
-
- public bool HasMocStep(VCFile file, string mocOutDir)
- {
- if (HelperFunctions.HasHeaderFileExtension(file.Name))
- {
- return CheckForCommand(file, "moc.exe");
- }
- else if (HelperFunctions.HasSourceFileExtension(file.Name))
- {
- foreach (VCConfiguration config in (IVCCollection)vcPro.Configurations)
- {
- string mocFileName = "";
- if (mocOutDir == null)
- {
- VCPlatform platform = config.Platform as VCPlatform;
- mocFileName = GetRelativeMocFilePath(file.Name, config.ConfigurationName, platform.Name);
- }
- else
- {
- string fileName = GetMocFileName(file.FullPath);
- if (fileName != null)
- {
- mocOutDir = mocOutDir.Replace("$(ConfigurationName)", config.ConfigurationName);
- VCPlatform platform = config.Platform as VCPlatform;
- mocOutDir = mocOutDir.Replace("$(PlatformName)", platform.Name);
- mocFileName = mocOutDir + "\\" + fileName;
- }
- }
- VCFile mocFile = GetFileFromProject(mocFileName);
- if (mocFileName != null)
- return CheckForCommand(mocFile, Resources.moc4Command);
- }
- }
- return false;
- }
-
- public static bool HasUicStep(VCFile file)
- {
- return CheckForCommand(file, Resources.uic4Command);
- }
-
- private static bool CheckForCommand(VCFile file, string cmd)
- {
- if (file == null)
- return false;
- foreach (VCFileConfiguration config in (IVCCollection)file.FileConfigurations)
- {
- VCCustomBuildTool tool = HelperFunctions.GetCustomBuildTool(config);
- if (tool == null)
- return false;
- if (tool.CommandLine != null && tool.CommandLine.Contains(cmd))
- return true;
- }
- return false;
- }
-
- public void RefreshRccSteps()
- {
- Messages.PaneMessage(dte, "\r\n=== Update rcc steps ===");
- List<VCFile> files = GetResourceFiles();
-
- VCFilter vcFilter = FindFilterFromGuid(Filters.GeneratedFiles().UniqueIdentifier);
- if (vcFilter != null)
- {
- IVCCollection filterFiles = (IVCCollection)vcFilter.Files;
- List<VCFile> filesToDelete = new List<VCFile>();
- foreach (VCFile rmFile in filterFiles)
- {
- if (rmFile.Name.ToLower().StartsWith("qrc_"))
- filesToDelete.Add(rmFile);
- }
- foreach (VCFile rmFile in filesToDelete)
- {
- RemoveFileFromFilter(rmFile, vcFilter);
- HelperFunctions.DeleteEmptyParentDirs(rmFile);
- }
- }
-
- foreach (VCFile file in files)
- {
- Messages.PaneMessage(dte, "Update rcc step for " + file.Name + ".");
- RccOptions options = new RccOptions(envPro, file);
- UpdateRccStep(file, options);
- }
-
- Messages.PaneMessage(dte, "\r\n=== " + files.Count.ToString()
- + " rcc steps updated. ===\r\n");
- }
-
- public void RefreshRccSteps(string oldRccDir)
- {
- RefreshRccSteps();
- UpdateCompilerIncludePaths(oldRccDir, QtVSIPSettings.GetRccDirectory(envPro));
- }
-
- public void UpdateRccStep(string fileName, RccOptions rccOpts)
- {
-
- VCFile file = (VCFile)((IVCCollection)vcPro.Files).Item(fileName);
- UpdateRccStep(file, rccOpts);
- }
-
- public void UpdateRccStep(VCFile qrcFile, RccOptions rccOpts)
- {
- VCProject vcpro = (VCProject)qrcFile.project;
- EnvDTE.DTE dteObject = ((EnvDTE.Project)vcpro.Object).DTE;
-
- QtProject qtPro = QtProject.Create(vcpro);
- QrcParser parser = new QrcParser(qrcFile.FullPath);
- string filesInQrcFile = ProjectMacros.Path;
-
- if (parser.parse())
- {
- FileInfo fi = new FileInfo(qrcFile.FullPath);
- string qrcDir = fi.Directory.FullName + "\\";
-
- foreach (QrcPrefix prfx in parser.Prefixes)
- {
- foreach (QrcItem itm in prfx.Items)
- {
- string relativeQrcItemPath = HelperFunctions.GetRelativePath(this.vcPro.ProjectDirectory,
- qrcDir + itm.Path);
- filesInQrcFile += ";" + relativeQrcItemPath;
- try
- {
- VCFile addedFile = qtPro.AddFileInFilter(Filters.ResourceFiles(), relativeQrcItemPath, true);
- QtProject.ExcludeFromAllBuilds(addedFile);
- }
- catch { /* it's not possible to add all kinds of files */ }
- }
- }
- }
-
- string nameOnly = HelperFunctions.RemoveFileNameExtension(new FileInfo(qrcFile.FullPath));
- string qrcCppFile = QtVSIPSettings.GetRccDirectory(envPro) + "\\" + "qrc_" + nameOnly + ".cpp";
-
- try
- {
- foreach (VCFileConfiguration vfc in (IVCCollection)qrcFile.FileConfigurations)
- {
- RccOptions rccOptsCfg = rccOpts;
- string cmdLine = "";
-
- VCCustomBuildTool cbt = HelperFunctions.GetCustomBuildTool(vfc);
-
- cbt.AdditionalDependencies = filesInQrcFile;
-
- cbt.Description = "Rcc'ing " + ProjectMacros.FileName + "...";
-
- cbt.Outputs = qrcCppFile.Replace(nameOnly, ProjectMacros.Name);
-
- cmdLine += "\"" + Resources.rcc4Command + "\""
- + " -name \"" + ProjectMacros.Name + "\"";
-
- if (rccOptsCfg == null)
- rccOptsCfg = HelperFunctions.ParseRccOptions(cbt.CommandLine, qrcFile);
-
- if (rccOptsCfg.CompressFiles)
- {
- cmdLine += " -threshold " + rccOptsCfg.CompressThreshold.ToString();
- cmdLine += " -compress " + rccOptsCfg.CompressLevel.ToString();
- }
- else
- {
- cmdLine += " -no-compress";
- }
- cmdLine += " \"" + ProjectMacros.Path + "\" -o " + cbt.Outputs;
- cbt.CommandLine = cmdLine;
- }
- AddFileInFilter(Filters.GeneratedFiles(), qrcCppFile, true);
- }
- catch(System.Exception /*e*/)
- {
- Messages.PaneMessage(dteObject, "*** WARNING (RCC): Couldn't add rcc step");
- }
- }
-
- public void RemoveRccStep(VCFile file)
- {
- if (file == null)
- return;
- try
- {
- string relativeQrcFilePath = file.RelativePath;
- FileInfo qrcFileInfo = new FileInfo(ProjectDir + "\\" + relativeQrcFilePath);
- if (qrcFileInfo.Exists)
- {
- RccOptions opts = new RccOptions(Project, file);
- string qrcCppFile = QtVSIPSettings.GetRccDirectory(envPro) + "\\" + opts.OutputFileName;
- VCFile generatedFile = GetFileFromProject(qrcCppFile);
- if (generatedFile != null)
- RemoveFileFromFilter(generatedFile, Filters.GeneratedFiles());
- }
- }
- catch (System.Exception e)
- {
- Messages.DisplayWarningMessage(e);
- }
- }
-
- static public void ExcludeFromAllBuilds(VCFile file)
- {
- if (file == null)
- return;
- foreach (VCFileConfiguration conf in (IVCCollection)file.FileConfigurations)
- if (!conf.ExcludedFromBuild)
- conf.ExcludedFromBuild = true;
- }
-
- /// <summary>
- /// Removes the custom build step of a given file.
- /// </summary>
- /// <param name="file">file</param>
- public void RemoveMocStep(VCFile file)
- {
- try
- {
- if (!HasMocStep(file))
- return;
-
- if (HelperFunctions.HasHeaderFileExtension(file.Name))
- {
- foreach (VCFileConfiguration config in (IVCCollection)file.FileConfigurations)
- {
- VCCustomBuildTool tool = HelperFunctions.GetCustomBuildTool(config);
- if (tool == null)
- continue;
-
- string cmdLine = tool.CommandLine;
- if (cmdLine.Length > 0)
- {
- Regex rex = new Regex(@"(\S*moc.exe|""\S+:\\\.*moc.exe"")");
- while (true)
- {
- Match m = rex.Match(cmdLine);
- if (!m.Success)
- break;
-
- int start = m.Index;
- int end = cmdLine.IndexOf("&&", start);
- int a = cmdLine.IndexOf("\r\n", start);
- if ((a > -1 && a < end) || (end < 0 && a > -1))
- end = a;
- if (end < 0)
- end = cmdLine.Length;
-
- cmdLine = cmdLine.Remove(start, end - start).Trim();
- if (cmdLine.StartsWith("&&"))
- cmdLine = cmdLine.Remove(0, 2).Trim();
- }
- tool.CommandLine = cmdLine;
- }
-
- Regex reg = new Regex("Moc'ing .+\\.\\.\\.");
- string addDepends = tool.AdditionalDependencies;
- addDepends = System.Text.RegularExpressions.Regex.Replace(addDepends,
- @"(\S*moc.exe|""\S+:\\\.*moc.exe"")", "");
- addDepends = addDepends.Replace(file.RelativePath, "");
- tool.AdditionalDependencies = "";
- tool.Description = reg.Replace(tool.Description, "");
- tool.Description = tool.Description.Replace("MOC " + file.Name, "");
- string baseFileName = file.Name.Remove(file.Name.LastIndexOf('.'));
- string pattern = "(\"(.*\\\\" + GetMocFileName(file.FullPath)
- + ")\"|(\\S*" + GetMocFileName(file.FullPath) + "))";
- string outputMocFile = null;
- System.Text.RegularExpressions.Regex regExp = new Regex(pattern);
- tool.Outputs = tool.Outputs.Replace(ProjectMacros.Name, baseFileName);
- MatchCollection matchList = regExp.Matches(tool.Outputs);
- if (matchList.Count > 0)
- {
- if (matchList[0].Length > 0)
- {
- outputMocFile = matchList[0].ToString();
- }
- else if (matchList[1].Length > 1)
- {
- outputMocFile = matchList[1].ToString();
- }
- }
- tool.Outputs = System.Text.RegularExpressions.Regex.Replace(tool.Outputs, pattern, "",
- RegexOptions.Multiline|RegexOptions.IgnoreCase);
- tool.Outputs = System.Text.RegularExpressions.Regex.Replace(tool.Outputs,
- @"\s*;\s*;\s*", ";", RegexOptions.Multiline);
- tool.Outputs = System.Text.RegularExpressions.Regex.Replace(tool.Outputs,
- @"(^\s*;|\s*;\s*$)", "", RegexOptions.Multiline);
-
- if (outputMocFile != null)
- {
- if (outputMocFile.StartsWith("\""))
- outputMocFile = outputMocFile.Substring(1);
- if (outputMocFile.EndsWith("\""))
- outputMocFile = outputMocFile.Substring(0, outputMocFile.Length-1);
- outputMocFile = outputMocFile.Replace("$(ConfigurationName)",
- config.Name.Substring(0, config.Name.IndexOf('|')));
- outputMocFile = outputMocFile.Replace("$(PlatformName)",
- config.Name.Remove(0, config.Name.IndexOf('|') + 1));
- }
- VCFile mocFile = GetFileFromProject(outputMocFile);
- if (mocFile != null)
- RemoveFileFromFilter(mocFile, Filters.GeneratedFiles());
- }
- }
- else
- {
- if (QtVSIPSettings.HasDifferentMocFilePerConfig(envPro)
- || QtVSIPSettings.HasDifferentMocFilePerPlatform(envPro))
- {
- foreach (VCFileConfiguration config in (IVCCollection)file.FileConfigurations)
- {
- string mocFileName = GetMocFileName(file.Name);
- VCFile mocFile = GetGeneratedMocFile(mocFileName, config);
- if (mocFile != null)
- RemoveFileFromFilter(mocFile, Filters.GeneratedFiles());
- }
- }
- else
- {
- string mocFileName = GetMocFileName(file.Name);
- VCFile mocFile = GetGeneratedMocFile(mocFileName, null);
- if (mocFile != null)
- RemoveFileFromFilter(mocFile, Filters.GeneratedFiles());
- }
- }
- }
- catch
- {
- throw new QtVSException(SR.GetString("QtProject_CannotRemoveMocStep", file.FullPath));
- }
- }
-
- public void RemoveUiHeaderFile(VCFile file)
- {
- if (file == null)
- return;
- try
- {
- string headerFile = GetUiGeneratedFileName(file.Name);
- VCFile hFile = GetFileFromProject(headerFile);
-
- if (hFile != null)
- RemoveFileFromFilter(hFile, Filters.GeneratedFiles());
- }
- catch (System.Exception e)
- {
- Messages.DisplayWarningMessage(e);
- }
- }
-
- public void RemoveUic4BuildStep(VCFile file)
- {
- if (file == null)
- return;
- foreach (VCFileConfiguration config in (IVCCollection)file.FileConfigurations)
- {
- VCCustomBuildTool tool = HelperFunctions.GetCustomBuildTool(config);
- tool.AdditionalDependencies = "";
- tool.Description = "";
- tool.CommandLine = "";
- tool.Outputs = "";
- }
- RemoveUiHeaderFile(file);
- }
-
- public List<VCFile> GetResourceFiles()
- {
- List<VCFile> qrcFiles = new List<VCFile>();
-
- foreach (VCFile f in (IVCCollection)VCProject.Files)
- {
- if (f.Extension == ".qrc")
- qrcFiles.Add(f);
- }
- return qrcFiles;
- }
-
- /// <summary>
- /// Returns the file if it can be found, otherwise null.
- /// </summary>
- /// <param name="filter">filter name</param>
- /// <param name="fileName">relative file path to the project</param>
- /// <returns></returns>
- public VCFile GetFileFromFilter(FakeFilter filter, string fileName)
- {
- VCFilter vcfilter = FindFilterFromGuid(filter.UniqueIdentifier);
-
- // try with name as well
- if (vcfilter == null)
- vcfilter = FindFilterFromName(filter.Name);
-
- if (vcfilter == null)
- return null;
-
- try
- {
- FileInfo fi = null;
- if (Path.IsPathRooted(fileName))
- fi = new FileInfo(fileName);
- else
- fi = new FileInfo(ProjectDir + "\\" + fileName);
-
- if (fi == null)
- return null;
-
- foreach (VCFile file in (IVCCollection)vcfilter.Files)
- {
- if (file.MatchName(fi.FullName, true))
- return file;
- }
- }
- catch {}
- return null;
- }
-
- /// <summary>
- /// Returns the file (VCFile) specified by the file name from a given
- /// project.
- /// </summary>
- /// <param name="proj">project</param>
- /// <param name="fileName">file name (relative path)</param>
- /// <returns></returns>
- public VCFile GetFileFromProject(string fileName)
- {
- return GetFileFromProject(fileName, true);
- }
-
- public VCFile GetFileFromProject(string fileName, bool beStrict)
- {
- VCFile vcfile = null;
- fileName = HelperFunctions.NormalizeRelativeFilePath(fileName);
-
- string nf = fileName;
- if (!HelperFunctions.IsAbsoluteFilePath(fileName))
- nf = HelperFunctions.NormalizeFilePath(vcPro.ProjectDirectory + "\\" + fileName);
- nf = nf.ToLower();
-
- foreach (VCFile f in (IVCCollection)vcPro.Files)
- {
- if (f.FullPath.ToLower() == nf)
- return f;
- }
- if (beStrict || vcfile != null)
- return vcfile;
-
-
- FileInfo fi = new FileInfo(fileName);
- foreach (VCFile f in (IVCCollection)vcPro.Files)
- {
- if (f.Name.ToLower() == fi.Name.ToLower())
- return f;
- }
- return null;
- }
-
- /// <summary>
- /// Returns the files (List<VCFile>) specified by the file name from a given
- /// project.
- /// </summary>
- /// <param name="proj">project</param>
- /// <param name="fileName">file name (relative path)</param>
- /// <returns></returns>
- public System.Collections.Generic.List<VCFile> GetFilesFromProject(string fileName)
- {
- System.Collections.Generic.List<VCFile> tmpList = new System.Collections.Generic.List<VCFile>();
- fileName = HelperFunctions.NormalizeRelativeFilePath(fileName);
-
- FileInfo fi = new FileInfo(fileName);
- foreach (VCFile f in (IVCCollection)vcPro.Files)
- {
- if (f.Name.ToLower() == fi.Name.ToLower())
- tmpList.Add(f);
- }
- return tmpList;
- }
-
- public System.Collections.Generic.List<VCFile> GetAllFilesFromFilter(VCFilter filter)
- {
- System.Collections.Generic.List<VCFile> tmpList = new System.Collections.Generic.List<VCFile>();
-
- foreach (VCFile f in (IVCCollection)filter.Files)
- {
- tmpList.Add(f);
- }
- foreach (VCFilter subfilter in (IVCCollection)filter.Filters)
- foreach (VCFile file in GetAllFilesFromFilter(subfilter))
- tmpList.Add(file);
-
- return tmpList;
- }
-
- /// <summary>
- /// Adds a file to a filter. If the filter doesn't exist yet, it
- /// will be created. (Doesn't check for duplicates)
- /// </summary>
- /// <param name="filter">fake filter</param>
- /// <param name="fileName">relative file name</param>
- /// <returns>A VCFile object of the added file.</returns>
- public VCFile AddFileInFilter(FakeFilter filter, string fileName)
- {
- return AddFileInFilter(filter, fileName, false);
- }
-
- public void RemoveItem(ProjectItem item)
- {
- foreach (ProjectItem tmpFilter in this.Project.ProjectItems)
- {
- if (tmpFilter.Name == item.Name)
- {
- tmpFilter.Remove();
- return;
- }
- foreach (ProjectItem tmpItem in tmpFilter.ProjectItems)
- if (tmpItem.Name == item.Name)
- {
- tmpItem.Remove();
- return;
- }
- }
- }
-
- /// <summary>
- /// Adds a file to a filter. If the filter doesn't exist yet, it
- /// will be created.
- /// </summary>
- /// <param name="filter">fake filter</param>
- /// <param name="fileName">relative file name</param>
- /// <param name="checkForDuplicates">true if we don't want duplicated files</param>
- /// <returns>A VCFile object of the added file.</returns>
- public VCFile AddFileInFilter(FakeFilter filter, string fileName, bool checkForDuplicates)
- {
- return AddFileInSubfilter(filter, null, fileName, checkForDuplicates);
- }
-
- public VCFile AddFileInSubfilter(FakeFilter filter, string subfilterName, string fileName)
- {
- return AddFileInSubfilter(filter, subfilterName, fileName, false);
- }
-
- public VCFile AddFileInSubfilter(FakeFilter filter, string subfilterName, string fileName, bool checkForDuplicates)
- {
- try
- {
- VCFilter vfilt = FindFilterFromGuid(filter.UniqueIdentifier);
- if (vfilt == null)
- {
- if (!vcPro.CanAddFilter(filter.Name))
- {
- // check if user already created this filter... then add guid
- vfilt = FindFilterFromName(filter.Name);
- if (vfilt == null)
- throw new QtVSException(SR.GetString("QtProject_CannotAddFilter", filter.Name));
- }
- else
- {
- vfilt = (VCFilter)vcPro.AddFilter(filter.Name);
- }
-
- vfilt.UniqueIdentifier = filter.UniqueIdentifier;
- vfilt.Filter = filter.Filter;
- vfilt.ParseFiles = filter.ParseFiles;
- }
-
- if (!string.IsNullOrEmpty(subfilterName))
- {
- string lowerSubFilterName = subfilterName.ToLower();
- bool subfilterFound = false;
- foreach (VCFilter subfilt in vfilt.Filters as IVCCollection)
- {
- if (subfilt.Name.ToLower() == lowerSubFilterName)
- {
- vfilt = subfilt;
- subfilterFound = true;
- break;
- }
- }
- if (subfilterFound)
- {
- // Do filter names differ in upper/lower case?
- if (subfilterName != vfilt.Name)
- {
- try
- {
- // Try to rename the filter for aesthetic reasons.
- vfilt.Name = subfilterName;
- }
- catch
- {
- // Renaming didn't work. We don't care.
- }
- }
- }
- if (!subfilterFound)
- {
- if (!vfilt.CanAddFilter(subfilterName))
- {
- throw new QtVSException(SR.GetString("QtProject_CannotAddFilter", filter.Name));
- }
- else
- {
- vfilt = (VCFilter)vfilt.AddFilter(subfilterName);
- }
-
- vfilt.Filter = "cpp;moc";
- vfilt.SourceControlFiles = false;
- }
- }
-
- if (checkForDuplicates)
- {
- // check if file exists in filter already
- VCFile vcFile = GetFileFromFilter(filter, fileName);
- if (vcFile != null)
- return vcFile;
- }
-
- if (vfilt.CanAddFile(fileName))
- return (VCFile)(vfilt.AddFile(fileName));
- else
- throw new QtVSException(SR.GetString("QtProject_CannotAddFile", fileName));
- }
- catch
- {
- throw new QtVSException(SR.GetString("QtProject_CannotAddFile", fileName));
- }
- }
-
- /// <summary>
- /// Removes a file from the filter.
- /// This file will be deleted!
- /// </summary>
- /// <param name="project">project</param>
- /// <param name="file">file</param>
- public void RemoveFileFromFilter(VCFile file, FakeFilter filter)
- {
- try
- {
- VCFilter vfilt = FindFilterFromGuid(filter.UniqueIdentifier);
-
- if (vfilt == null)
- vfilt = FindFilterFromName(filter.Name);
-
- if (vfilt == null)
- return;
-
- RemoveFileFromFilter(file, vfilt);
- }
- catch
- {
- throw new QtVSException(SR.GetString("QtProject_CannotRemoveFile", file.Name));
- }
- }
-
- /// <summary>
- /// Removes a file from the filter.
- /// This file will be deleted!
- /// </summary>
- /// <param name="project">project</param>
- /// <param name="file">file</param>
- public void RemoveFileFromFilter(VCFile file, VCFilter filter)
- {
- try
- {
- filter.RemoveFile(file);
- FileInfo fi = new FileInfo(file.FullPath);
- if (fi.Exists)
- fi.Delete();
- }
- catch
- {
- }
-
- IVCCollection subfilters = (IVCCollection)filter.Filters;
- for (int i = subfilters.Count; i > 0; i--)
- {
- try
- {
- VCFilter subfilter = (VCFilter)subfilters.Item(i);
- RemoveFileFromFilter(file, subfilter);
- }
- catch
- {
- }
- }
- }
-
- public void MoveFileToDeletedFolder(VCFile vcfile)
- {
- FileInfo srcFile = new FileInfo(vcfile.FullPath);
-
- if (!srcFile.Exists)
- return;
-
- string destFolder = vcPro.ProjectDirectory + "\\Deleted\\";
- string destName = destFolder + vcfile.Name.Replace(".","_") + ".bak";
- int fileNr = 0;
-
- try
- {
- if (!Directory.Exists(destFolder))
- Directory.CreateDirectory(destFolder);
-
- while(File.Exists(destName))
- {
- fileNr++;
- destName = destName.Substring(0,destName.LastIndexOf(".")) + ".b";
- if (fileNr>9)
- destName += fileNr.ToString();
- else
- destName += "0" + fileNr.ToString();
- }
-
- srcFile.MoveTo(destName);
- }
- catch(System.Exception e)
- {
- Messages.DisplayWarningMessage(e, SR.GetString("QtProject_DeletedFolderFullOrProteced"));
- }
- }
-
- public VCFilter FindFilterFromName(string filtername)
- {
- try
- {
- foreach (VCFilter vcfilt in (IVCCollection)vcPro.Filters)
- {
- if (vcfilt.Name.ToLower() == filtername.ToLower())
- {
- return vcfilt;
- }
- }
- return null;
- }
- catch
- {
- throw new QtVSException(SR.GetString("QtProject_CannotFindFilter"));
- }
- }
-
- public VCFilter FindFilterFromGuid(string filterguid)
- {
- try
- {
- foreach (VCFilter vcfilt in (IVCCollection)vcPro.Filters)
- {
- if (vcfilt.UniqueIdentifier != null
- && vcfilt.UniqueIdentifier.ToLower() == filterguid.ToLower())
- {
- return vcfilt;
- }
- }
- return null;
- }
- catch
- {
- throw new QtVSException(SR.GetString("QtProject_CannotFindFilter"));
- }
- }
-
- public VCFilter AddFilterToProject(FakeFilter filter)
- {
- try
- {
- VCFilter vfilt = FindFilterFromGuid(filter.UniqueIdentifier);
- if (vfilt == null)
- {
- if (!vcPro.CanAddFilter(filter.Name))
- {
- vfilt = FindFilterFromName(filter.Name);
- if (vfilt == null)
- throw new QtVSException(SR.GetString("QtProject_ProjectCannotAddFilter", filter.Name));
- }
- else
- {
- vfilt = (VCFilter)vcPro.AddFilter(filter.Name);
- }
-
- vfilt.UniqueIdentifier = filter.UniqueIdentifier;
- vfilt.Filter = filter.Filter;
- vfilt.ParseFiles = filter.ParseFiles;
- }
- return vfilt;
- }
- catch
- {
- throw new QtVSException(SR.GetString("QtProject_ProjectCannotAddResourceFilter"));
- }
- }
-
- public void AddDirectories()
- {
- try
- {
- // resource directory
- FileInfo fi = new FileInfo(envPro.FullName);
- DirectoryInfo dfi = new DirectoryInfo(fi.DirectoryName + "\\" + Resources.resourceDir);
- dfi.Create();
-
- // generated files directory
- dfi = new DirectoryInfo(fi.DirectoryName + "\\" + Resources.generatedFilesDir);
- dfi.Create();
- }
- catch
- {
- throw new QtVSException(SR.GetString("QtProject_CannotCreateResourceDir"));
- }
- AddFilterToProject(Filters.ResourceFiles());
- }
-
- public void Finish()
- {
- try
- {
- EnvDTE.Window solutionExplorer = dte.Windows.Item(Constants.vsWindowKindSolutionExplorer);
- if (solutionExplorer != null)
- {
- EnvDTE.UIHierarchy hierarchy = (EnvDTE.UIHierarchy)solutionExplorer.Object;
- EnvDTE.UIHierarchyItems projects = hierarchy.UIHierarchyItems.Item(1).UIHierarchyItems;
-
- foreach (EnvDTE.UIHierarchyItem itm in projects)
- {
- if (itm.Name == envPro.Name)
- {
- foreach (EnvDTE.UIHierarchyItem i in itm.UIHierarchyItems)
- {
- if (i.Name == Filters.GeneratedFiles().Name)
- i.UIHierarchyItems.Expanded = false;
- }
- break;
- }
- }
- }
- }
- catch {}
- }
-
- public bool IsDesignerPluginProject()
- {
- bool b = false;
- if (Project.Globals.get_VariablePersists("IsDesignerPlugin"))
- {
- string s = (string)Project.Globals["IsDesignerPlugin"];
- try
- {
- b = bool.Parse(s);
- }
- catch {}
- }
- return b;
- }
-
- /// <summary>
- /// Adds a file to a specified filter in a project.
- /// </summary>
- /// <param name="project">VCProject</param>
- /// <param name="srcFile">full name of the file to add</param>
- /// <param name="destName">name of the file in the project (relative to the project directory)</param>
- /// <param name="filter">filter</param>
- /// <returns>VCFile</returns>
- public VCFile AddFileToProject(string destName, FakeFilter filter)
- {
- VCFile file = null;
- if (filter != null)
- file = AddFileInFilter(filter, destName);
- else
- file = (VCFile)vcPro.AddFile(destName);
-
- if (file == null)
- return null;
-
- if (HelperFunctions.HasHeaderFileExtension(file.Name))
- {
- foreach (VCConfiguration config in (IVCCollection)vcPro.Configurations)
- {
- CompilerToolWrapper compiler = CompilerToolWrapper.Create(config);
- if (compiler == null)
- continue;
-
- string[] paths = compiler.GetAdditionalIncludeDirectoriesList();
- FileInfo fi = new FileInfo(file.FullPath);
- string relativePath = HelperFunctions.GetRelativePath(this.ProjectDir, fi.Directory.ToString());
- string fixedRelativePath = FixFilePathForComparison(relativePath);
- bool pathFound = false;
- foreach (string p in paths) {
- if (FixFilePathForComparison(p) == fixedRelativePath)
- {
- pathFound = true;
- break;
- }
- }
- if (!pathFound)
- compiler.AddAdditionalIncludeDirectories(relativePath);
- }
- }
- return file;
- }
-
- /// <summary>
- /// adjusts the whitespaces, tabs in the given file according to VS settings
- /// </summary>
- /// <param name="file"></param>
- public void AdjustWhitespace(string file)
- {
- // only replace whitespaces in known types
- if (!HelperFunctions.HasSourceFileExtension(file) &&
- !HelperFunctions.HasHeaderFileExtension(file) && !file.EndsWith(".ui"))
- return;
-
- try
- {
- EnvDTE.Properties prop = dte.get_Properties("TextEditor", "C/C++");
- long tabSize = Convert.ToInt64(prop.Item("TabSize").Value);
- bool insertTabs = Convert.ToBoolean(prop.Item("InsertTabs").Value);
-
- string oldValue = insertTabs ? " " : "\t";
- string newValue = insertTabs ? "\t" : GetWhitespaces(tabSize);
-
- List<string> list = new List<string>();
- StreamReader reader = new StreamReader(file);
- string line = reader.ReadLine();
- while (line != null)
- {
- if (line.StartsWith(oldValue))
- line = line.Replace(oldValue, newValue);
- list.Add(line);
- line = reader.ReadLine();
- }
- reader.Close();
-
- StreamWriter writer = new StreamWriter(file);
- foreach (string l in list)
- writer.WriteLine(l);
- writer.Close();
- }
- catch (Exception e)
- {
- Messages.DisplayErrorMessage(SR.GetString("QtProject_CannotAdjustWhitespaces", e.ToString()));
- }
- }
-
- private static string GetWhitespaces(long size)
- {
- string whitespaces = null;
- for (long i = 0; i < size; ++i)
- {
- whitespaces += " ";
- }
- return whitespaces;
- }
-
- /// <summary>
- /// Copy a file to the projects folder. Does not add the file to the project.
- /// </summary>
- /// <param name="srcFile">full name of the file to add</param>
- /// <param name="destName">name of the file in the project (relative to the project directory)</param>
- /// <returns>full name of the destination file</returns>
- public string CopyFileToProject(string srcFile, string destName)
- {
- return CopyFileToFolder(srcFile, vcPro.ProjectDirectory, destName);
- }
-
- public static string CopyFileToFolder(string srcFile, string destFolder, string destName)
- {
- string fullDestName = destFolder + "\\" + destName;
- FileInfo fi = new FileInfo(fullDestName);
-
- bool replace = true;
- if (File.Exists(fullDestName))
- {
- if (DialogResult.No == MessageBox.Show(SR.GetString("QtProject_FileExistsInProjectFolder", destName)
- , Resources.msgBoxCaption, MessageBoxButtons.YesNo, MessageBoxIcon.Question))
- {
- replace = false;
- }
- }
-
- if (replace)
- {
- if (!fi.Directory.Exists)
- fi.Directory.Create();
- File.Copy(srcFile, fullDestName, true);
- FileAttributes attribs = File.GetAttributes(fullDestName);
- File.SetAttributes(fullDestName, attribs & (~FileAttributes.ReadOnly));
- }
- return fi.FullName;
- }
-
- public static void ReplaceTokenInFile(string file, string token, string replacement)
- {
- string text;
- try
- {
- StreamReader reader = new StreamReader(file);
- text = reader.ReadToEnd();
- reader.Close();
- }
- catch(System.Exception e)
- {
- Messages.DisplayErrorMessage(
- SR.GetString("QtProject_CannotReplaceTokenRead", token, replacement, e.ToString()));
- return;
- }
-
- try
- {
- if (token.ToUpper() == "%PRE_DEF%" && !Char.IsLetter(replacement[0]))
- replacement = "_" + replacement;
-
- text = text.Replace(token, replacement);
- StreamWriter writer = new StreamWriter(file);
- writer.Write(text);
- writer.Close();
- }
- catch(System.Exception e)
- {
- Messages.DisplayErrorMessage(
- SR.GetString("QtProject_CannotReplaceTokenWrite", token, replacement, e.ToString()));
- }
- }
-
- public void RepairGeneratedFilesStructure()
- {
- DeleteGeneratedFiles();
- foreach (VCFile file in (IVCCollection)vcPro.Files)
- {
- if (!HelperFunctions.HasHeaderFileExtension(file.Name) && !HelperFunctions.HasSourceFileExtension(file.Name))
- continue;
-
- if (HelperFunctions.HasQObjectDeclaration(file))
- {
- RemoveMocStep(file);
- AddMocStep(file);
- }
- }
- }
-
- public void TranslateFilterNames()
- {
- IVCCollection filters = vcPro.Filters as IVCCollection;
- if (filters == null)
- return;
-
- foreach (VCFilter filter in filters)
- {
- if (filter.Name == "Form Files")
- filter.Name = Filters.FormFiles().Name;
- if (filter.Name == "Generated Files")
- filter.Name = Filters.GeneratedFiles().Name;
- if (filter.Name == "Header Files")
- filter.Name = Filters.HeaderFiles().Name;
- if (filter.Name == "Resource Files")
- filter.Name = Filters.ResourceFiles().Name;
- if (filter.Name == "Source Files")
- filter.Name = Filters.SourceFiles().Name;
- }
- }
-
- public string CreateQrcFile(string className, string destName)
- {
- string fullDestName = vcPro.ProjectDirectory + "\\" + destName;
-
- if (!File.Exists(fullDestName))
- {
- FileStream s = File.Open(fullDestName, FileMode.CreateNew);
- if (s.CanWrite)
- {
- StreamWriter sw = new StreamWriter(s);
- sw.WriteLine("<RCC>");
- sw.WriteLine(" <qresource prefix=\"" + className + "\">");
- sw.WriteLine(" </qresource>");
- sw.WriteLine("</RCC>");
- sw.Close();
- }
- s.Close();
- FileAttributes attribs = File.GetAttributes(fullDestName);
- File.SetAttributes(fullDestName, attribs & (~FileAttributes.ReadOnly));
- }
-
- FileInfo fi = new FileInfo(fullDestName);
- return fi.FullName;
- }
-
- public static void EnableSection(string file, string sectionName, bool enable)
- {
- string text = "";
- bool firstLine = true;
- try
- {
- StreamReader reader = new StreamReader(file);
- string line = reader.ReadLine();
- bool skip = false;
- while (line != null)
- {
- if (line.StartsWith("#Begin_" + sectionName))
- {
- skip = !enable;
- }
- else if (line.StartsWith("#End_" + sectionName))
- {
- skip = false;
- }
- else if (!skip)
- {
- if (firstLine)
- {
- text = line;
- firstLine = false;
- }
- else
- {
- text += "\r\n" + line;
- }
- }
- line = reader.ReadLine();
- }
- reader.Close();
- }
- catch(System.Exception e)
- {
- Messages.DisplayErrorMessage(SR.GetString("QtProject_CannotEnableSectionRead", sectionName, e.ToString()));
- return;
- }
-
- try
- {
- StreamWriter writer = new StreamWriter(file);
- writer.Write(text);
- writer.Close();
- }
- catch(System.Exception e)
- {
- Messages.DisplayErrorMessage(SR.GetString("QtProject_CannotEnableSectionWrite", sectionName, e.ToString()));
- }
- }
-
- public void AddActiveQtBuildStep(string version)
- {
- foreach (VCConfiguration config in (IVCCollection)vcPro.Configurations)
- {
- string idlFile = "\"$(IntDir)/" + envPro.Name + ".idl\"";
- string tblFile = "\"$(IntDir)/" + envPro.Name + ".tlb\"";
-
- VCPostBuildEventTool tool = (VCPostBuildEventTool)((IVCCollection)config.Tools).Item("VCPostBuildEventTool");
- string idc = "$(QTDIR)\\bin\\idc.exe \"$(TargetPath)\" /idl " + idlFile + " -version " + version;
- string midl = "midl " + idlFile + " /tlb " + tblFile;
- string idc2 = "$(QTDIR)\\bin\\idc.exe \"$(TargetPath)\" /tlb " + tblFile;
- string idc3 = "$(QTDIR)\\bin\\idc.exe \"$(TargetPath)\" /regserver";
-
- tool.CommandLine = idc + "\r\n" + midl + "\r\n" + idc2 + "\r\n" + idc3;
- tool.Description = "";
-
- VCLinkerTool linker = (VCLinkerTool)((IVCCollection)config.Tools).Item("VCLinkerTool");
- VCLibrarianTool librarian = (VCLibrarianTool)((IVCCollection)config.Tools).Item("VCLibrarianTool");
-
- if (linker != null)
- {
- linker.Version = version;
- linker.ModuleDefinitionFile = envPro.Name + ".def";
- }
- else
- {
- librarian.ModuleDefinitionFile = envPro.Name + ".def";
- }
- }
- }
-
- private void UpdateCompilerIncludePaths(string oldDir, string newDir)
- {
- string fixedOldDir = FixFilePathForComparison(oldDir);
- string[] dirs = new string[] {
- FixFilePathForComparison(QtVSIPSettings.GetUicDirectory(envPro)),
- FixFilePathForComparison(QtVSIPSettings.GetMocDirectory(envPro)),
- FixFilePathForComparison(QtVSIPSettings.GetRccDirectory(envPro))};
-
- bool oldDirIsUsed = false;
- foreach (string dir in dirs)
- {
- if (dir == fixedOldDir)
- {
- oldDirIsUsed = true;
- break;
- }
- }
-
- List<string> incList = new List<string>();
- foreach (VCConfiguration config in (IVCCollection)vcPro.Configurations)
- {
- CompilerToolWrapper compiler = CompilerToolWrapper.Create(config);
- if (compiler == null)
- continue;
- List<string> paths = compiler.AdditionalIncludeDirectories;
- if (paths.Count == 0)
- continue;
-
- if (!oldDirIsUsed)
- for (int i = paths.Count - 1; i >= 0; --i)
- if (FixFilePathForComparison(paths[i]) == fixedOldDir)
- paths.RemoveAt(i);
-
- incList.Clear();
- foreach (string path in paths)
- {
- string tmp = HelperFunctions.NormalizeRelativeFilePath(path);
- if (tmp.Length > 0 && !incList.Contains(tmp))
- incList.Add(tmp);
- }
- bool alreadyThere = false;
- string fixedNewDir = FixFilePathForComparison(newDir);
- foreach (string include in incList)
- {
- if (FixFilePathForComparison(include) == fixedNewDir)
- {
- alreadyThere = true;
- break;
- }
- }
- if (!alreadyThere)
- incList.Add(HelperFunctions.NormalizeRelativeFilePath(newDir));
-
- compiler.AdditionalIncludeDirectories = incList;
- }
- }
-
- private static string FixFilePathForComparison(string path)
- {
- path = HelperFunctions.NormalizeRelativeFilePath(path);
- return path.ToLower();
- }
-
- public void UpdateUicSteps(string oldUicDir, bool update_inc_path)
- {
- Messages.PaneMessage(dte, "\r\n=== Update uic steps ===");
- VCFilter vcFilter = FindFilterFromGuid(Filters.GeneratedFiles().UniqueIdentifier);
- if (vcFilter != null)
- {
- IVCCollection filterFiles = (IVCCollection)vcFilter.Files;
- for (int i = filterFiles.Count; i > 0; i--)
- {
- VCFile file = (VCFile)filterFiles.Item(i);
- if (file.Name.ToLower().StartsWith("ui_"))
- {
- RemoveFileFromFilter(file, vcFilter);
- HelperFunctions.DeleteEmptyParentDirs(file);
- }
- }
- }
-
- int updatedFiles = 0;
- int j = 0;
-
- VCFile[] files = new VCFile[((IVCCollection)vcPro.Files).Count];
- foreach (VCFile file in (IVCCollection)vcPro.Files)
- {
- files[j++] = file;
- }
-
- foreach (VCFile file in files)
- {
- if (file.Name.EndsWith(".ui") && !IsUic3File(file))
- {
- AddUic4BuildStep(file);
- Messages.PaneMessage(dte, "Update uic step for " + file.Name + ".");
- ++updatedFiles;
- }
- }
- if (update_inc_path)
- {
- UpdateCompilerIncludePaths(oldUicDir, QtVSIPSettings.GetUicDirectory(envPro));
- }
-
- Messages.PaneMessage(dte, "\r\n=== " + updatedFiles.ToString()
- + " uic steps updated. ===\r\n");
- }
-
- private static bool IsUic3File(VCFile file)
- {
- foreach (VCFileConfiguration config in (IVCCollection)file.FileConfigurations)
- {
- VCCustomBuildTool tool = HelperFunctions.GetCustomBuildTool(config);
- if (tool == null)
- return false;
- if (tool.CommandLine.IndexOf("uic3.exe") > -1)
- return true;
- }
- return false;
- }
-
- public bool UsePrecompiledHeaders(VCConfiguration config)
- {
- CompilerToolWrapper compiler = CompilerToolWrapper.Create(config);
- return UsePrecompiledHeaders(compiler);
- }
-
- private bool UsePrecompiledHeaders(CompilerToolWrapper compiler)
- {
- try
- {
- compiler.SetUsePrecompiledHeader(pchOption.pchUseUsingSpecific);
- string pcHeaderThrough = GetPrecompiledHeaderThrough();
- if (string.IsNullOrEmpty(pcHeaderThrough))
- pcHeaderThrough = "stdafx.h";
- compiler.SetPrecompiledHeaderThrough(pcHeaderThrough);
- string pcHeaderFile = GetPrecompiledHeaderFile();
- if (string.IsNullOrEmpty(pcHeaderFile))
- pcHeaderFile = ".\\$(ConfigurationName)/"
- + Project.Name + ".pch";
- compiler.SetPrecompiledHeaderFile(pcHeaderFile);
- return true;
- }
- catch
- {
- return false;
- }
- }
-
- public bool UsesPrecompiledHeaders()
- {
- foreach (VCConfiguration config in vcPro.Configurations as IVCCollection)
- {
- if (!UsesPrecompiledHeaders(config))
- return false;
- }
- return true;
- }
-
- public static bool UsesPrecompiledHeaders(VCConfiguration config)
- {
- CompilerToolWrapper compiler = CompilerToolWrapper.Create(config);
- return UsesPrecompiledHeaders(compiler);
- }
-
- private static bool UsesPrecompiledHeaders(CompilerToolWrapper compiler)
- {
- try
- {
- if (compiler.GetUsePrecompiledHeader() != pchOption.pchNone)
- return true;
- }
- catch { }
- return false;
- }
-
- public string GetPrecompiledHeaderThrough()
- {
- foreach (VCConfiguration config in vcPro.Configurations as IVCCollection)
- {
- string header = GetPrecompiledHeaderThrough(config);
- if (header != null)
- return header;
- }
- return null;
- }
-
- public static string GetPrecompiledHeaderThrough(VCConfiguration config)
- {
- CompilerToolWrapper compiler = CompilerToolWrapper.Create(config);
- return GetPrecompiledHeaderThrough(compiler);
- }
-
- private static string GetPrecompiledHeaderThrough(CompilerToolWrapper compiler)
- {
- try
- {
- string header = compiler.GetPrecompiledHeaderThrough();
- if (!string.IsNullOrEmpty(header))
- return header.ToLower();
- }
- catch { }
- return null;
- }
-
- public string GetPrecompiledHeaderFile()
- {
- foreach (VCConfiguration config in vcPro.Configurations as IVCCollection)
- {
- string file = GetPrecompiledHeaderFile(config);
- if (!string.IsNullOrEmpty(file))
- return file;
- }
- return null;
- }
-
- public static string GetPrecompiledHeaderFile(VCConfiguration config)
- {
- CompilerToolWrapper compiler = CompilerToolWrapper.Create(config);
- return GetPrecompiledHeaderFile(compiler);
- }
-
- private static string GetPrecompiledHeaderFile(CompilerToolWrapper compiler)
- {
- try
- {
- string file = compiler.GetPrecompiledHeaderFile();
- if (!string.IsNullOrEmpty(file))
- return file;
- }
- catch { }
- return null;
- }
-
- public static void SetPCHOption(VCFile vcFile, pchOption option)
- {
- foreach (VCFileConfiguration config in vcFile.FileConfigurations as IVCCollection)
- {
- CompilerToolWrapper compiler = CompilerToolWrapper.Create(config);
- compiler.SetUsePrecompiledHeader(option);
- }
- }
-
- private static VCFileConfiguration GetVCFileConfigurationByName(VCFile file, string configName)
- {
- foreach (VCFileConfiguration cfg in (IVCCollection)file.FileConfigurations)
- {
- if (cfg.Name == configName)
- return cfg;
- }
- return null;
- }
-
- /// <summary>
- /// Searches for the generated file inside the "Generated Files" filter.
- /// The function looks for the given filename and uses the fileConfig's
- /// ConfigurationName and Platform if moc directory contains $(ConfigurationName)
- /// and/or $(PlatformName).
- /// Otherwise it just uses the "Generated Files" filter
- /// </summary>
- /// <param name="fileName"></param>
- /// <param name="fileConfig"></param>
- /// <returns></returns>
- private VCFile GetGeneratedMocFile(string fileName, VCFileConfiguration fileConfig)
- {
- if (QtVSIPSettings.HasDifferentMocFilePerConfig(envPro)
- || QtVSIPSettings.HasDifferentMocFilePerPlatform(envPro))
- {
- VCConfiguration projectConfig = (VCConfiguration)fileConfig.ProjectConfiguration;
- string configName = projectConfig.ConfigurationName;
- string platformName = ((VCPlatform)projectConfig.Platform).Name;
- VCFilter generatedFiles = FindFilterFromGuid(Filters.GeneratedFiles().UniqueIdentifier);
- if (generatedFiles == null)
- return null;
- foreach (VCFilter filt in (IVCCollection)generatedFiles.Filters)
- if (filt.Name == configName + "_" + platformName ||
- filt.Name == configName || filt.Name == platformName)
- foreach (VCFile filtFile in (IVCCollection)filt.Files)
- if (filtFile.FullPath.EndsWith(fileName))
- return filtFile;
-
- //If a project from the an AddIn prior to 1.1.0 was loaded, the generated files are located directly
- //in the generated files filter.
- string relativeMocPath = QtVSIPSettings.GetMocDirectory(envPro, configName, platformName) + '\\' + fileName;
- //Remove .\ at the beginning of the mocPath
- if (relativeMocPath.StartsWith(".\\"))
- relativeMocPath = relativeMocPath.Remove(0, 2);
- foreach (VCFile filtFile in (IVCCollection)generatedFiles.Files)
- if (filtFile.FullPath.EndsWith(relativeMocPath, StringComparison.OrdinalIgnoreCase))
- return filtFile;
- }
- else
- {
- VCFilter generatedFiles = FindFilterFromGuid(Filters.GeneratedFiles().UniqueIdentifier);
- foreach (VCFile filtFile in (IVCCollection)generatedFiles.Files)
- if (filtFile.FullPath.EndsWith('\\' + fileName))
- return filtFile;
- }
- return null;
- }
-
- public void RefreshMocSteps()
- {
- foreach (VCFile vcfile in (IVCCollection)vcPro.Files)
- {
- RefreshMocStep(vcfile, false);
- }
- }
-
- public void RefreshMocStep(VCFile vcfile)
- {
- RefreshMocStep(vcfile, true);
- }
-
- /// <summary>
- /// Updates the moc command line for the given header or source file
- /// containing the Q_OBJECT macro.
- /// If the function is called from a property change for a single file
- /// (singleFile = true) we may have to look for the according header
- /// file and refresh the moc step for this file, if it contains Q_OBJECT.
- /// </summary>
- /// <param name="vcfile"></param>
- private void RefreshMocStep(VCFile vcfile, bool singleFile)
- {
- bool isHeaderFile = HelperFunctions.HasHeaderFileExtension(vcfile.FullPath);
- if (!isHeaderFile && !HelperFunctions.HasSourceFileExtension(vcfile.FullPath))
- return;
-
- if (mocCmdChecker == null)
- mocCmdChecker = new MocCmdChecker();
-
- foreach (VCFileConfiguration config in (IVCCollection)vcfile.FileConfigurations)
- {
- try
- {
- VCCustomBuildTool tool = null;
- VCFile mocable = null;
- if (isHeaderFile)
- {
- mocable = vcfile;
- tool = HelperFunctions.GetCustomBuildTool(config);
- }
- else
- {
- string mocFileName = GetMocFileName(vcfile.FullPath);
- VCFile mocFile = GetGeneratedMocFile(mocFileName, config);
- if (mocFile != null)
- {
- VCFileConfiguration mocFileConfig = GetVCFileConfigurationByName(mocFile, config.Name);
- tool = HelperFunctions.GetCustomBuildTool(mocFileConfig);
- mocable = mocFile;
- }
- // It is possible that the function was called from a source file's property change, it is possible that
- // we have to obtain the tool from the according header file
- if (tool == null && singleFile)
- {
- string headerName = vcfile.FullPath.Remove(vcfile.FullPath.LastIndexOf('.')) + ".h";
- mocFileName = GetMocFileName(headerName);
- mocFile = GetGeneratedMocFile(mocFileName, config);
- if (mocFile != null)
- {
- mocable = GetFileFromProject(headerName);
- VCFileConfiguration customBuildConfig = GetVCFileConfigurationByName(mocable, config.Name);
- tool = HelperFunctions.GetCustomBuildTool(customBuildConfig);
- }
- }
- }
- if (tool == null || tool.CommandLine.ToLower().IndexOf("moc.exe") == -1)
- continue;
-
- VCFile srcMocFile = GetSourceFileForMocStep(mocable);
- VCFile cppFile = GetCppFileForMocStep(mocable);
- if (srcMocFile == null)
- continue;
- bool mocableIsCPP = (srcMocFile == cppFile);
-
- string pchParameters = null;
- VCFileConfiguration defineIncludeConfig = null;
- CompilerToolWrapper compiler = null;
- if (cppFile == null)
- {
- // No file specific defines/includes but at least the project defines/includes are added
- defineIncludeConfig = config;
- compiler = CompilerToolWrapper.Create(config.ProjectConfiguration as VCConfiguration);
- }
- else
- {
- defineIncludeConfig = GetVCFileConfigurationByName(cppFile, config.Name);
- compiler = CompilerToolWrapper.Create(defineIncludeConfig);
- }
-
- if (compiler != null && compiler.GetUsePrecompiledHeader() != pchOption.pchNone)
- pchParameters = GetPCHMocOptions(srcMocFile, compiler);
-
- string outputFileName = QtVSIPSettings.GetMocDirectory(envPro) + "\\";
- if (mocableIsCPP)
- {
- outputFileName += ProjectMacros.Name;
- outputFileName += ".moc";
- }
- else
- {
- outputFileName += "moc_";
- outputFileName += ProjectMacros.Name;
- outputFileName += ".cpp";
- }
-
- string newCmdLine = mocCmdChecker.NewCmdLine(tool.CommandLine,
- GetIncludes(defineIncludeConfig),
- GetDefines(defineIncludeConfig),
- QtVSIPSettings.GetMocOptions(envPro), srcMocFile.RelativePath,
- pchParameters,
- outputFileName);
-
- // The tool's command line automatically gets a trailing "\r\n".
- // We have to remove it to make the check below work.
- string origCommandLine = tool.CommandLine;
- if (origCommandLine.EndsWith("\r\n"))
- origCommandLine = origCommandLine.Substring(0, origCommandLine.Length - 2);
-
- if (newCmdLine != null && newCmdLine != origCommandLine)
- {
- // We have to delete the old moc file in order to trigger custom build step.
- string configName = config.Name.Remove(config.Name.IndexOf("|"));
- string platformName = config.Name.Substring(config.Name.IndexOf("|") + 1);
- string projectPath = envPro.FullName.Remove(envPro.FullName.LastIndexOf('\\'));
- string mocRelPath = GetRelativeMocFilePath(srcMocFile.FullPath, configName, platformName);
- string mocPath = Path.Combine(projectPath, mocRelPath);
- if (File.Exists(mocPath))
- File.Delete(mocPath);
- tool.CommandLine = newCmdLine;
- }
- }
- catch
- {
- Messages.PaneMessage(dte, "ERROR: failed to refresh moc step for " + vcfile.ItemName);
- }
- }
- }
-
- public void OnExcludedFromBuildChanged(VCFile vcFile, VCFileConfiguration vcFileCfg)
- {
- // Update the ExcludedFromBuild flags of the mocced file
- // according to the ExcludedFromBuild flag of the mocable source file.
- string moccedFileName = GetMocFileName(vcFile.Name);
- if (string.IsNullOrEmpty(moccedFileName))
- return;
-
- VCFile moccedFile = GetGeneratedMocFile(moccedFileName, vcFileCfg);
-
- if (moccedFile != null)
- {
- VCFile cppFile = null;
- if (HelperFunctions.HasHeaderFileExtension(vcFile.Name))
- cppFile = GetCppFileForMocStep(vcFile);
-
- VCFileConfiguration moccedFileConfig = GetVCFileConfigurationByName(moccedFile, vcFileCfg.Name);
- if (moccedFileConfig != null)
- {
- if (cppFile != null && IsMoccedFileIncluded(cppFile))
- {
- if (!moccedFileConfig.ExcludedFromBuild)
- {
- moccedFileConfig.ExcludedFromBuild = true;
- }
- }
- else if (moccedFileConfig.ExcludedFromBuild != vcFileCfg.ExcludedFromBuild)
- moccedFileConfig.ExcludedFromBuild = vcFileCfg.ExcludedFromBuild;
- }
- }
- }
-
- /// <summary>
- /// Helper function for RefreshMocStep.
- /// </summary>
- /// <param name="file"></param>
- /// <returns></returns>
- private VCFile GetSourceFileForMocStep(VCFile file)
- {
- if (HelperFunctions.HasHeaderFileExtension(file.Name))
- return file;
- string fileName = file.Name;
- if (fileName.ToLower().EndsWith(".moc"))
- {
- fileName = fileName.Substring(0, fileName.Length - 4) + ".cpp";
- if (fileName.Length > 0)
- {
- foreach (VCFile f in (IVCCollection)vcPro.Files)
- {
- if (f.FullPath.ToLower().EndsWith("\\" + fileName.ToLower()))
- return f;
- }
- }
- }
- return null;
- }
-
- /// <summary>
- /// Helper function for Refresh/UpdateMocStep.
- /// </summary>
- /// <param name="file"></param>
- /// <returns></returns>
- private VCFile GetCppFileForMocStep(VCFile file)
- {
- string fileName = null;
- if (HelperFunctions.HasHeaderFileExtension(file.Name) || file.Name.EndsWith(".moc"))
- fileName = file.Name.Remove(file.Name.LastIndexOf('.')) + ".cpp";
- if (fileName != null && fileName.Length > 0)
- {
- foreach (VCFile f in (IVCCollection)vcPro.Files)
- {
- if (f.FullPath.ToLower().EndsWith("\\" + fileName.ToLower()))
- return f;
- }
- }
- return null;
- }
-
- public void UpdateMocSteps(string oldMocDir)
- {
- Messages.PaneMessage(dte, "\r\n=== Update moc steps ===");
- List<VCFile> orgFiles = new List<VCFile>();
- List<string> abandonedMocFiles = new List<string>();
- VCFilter vcFilter = FindFilterFromGuid(Filters.GeneratedFiles().UniqueIdentifier);
- if (vcFilter != null)
- {
- List<VCFile> generatedFiles = GetAllFilesFromFilter(vcFilter);
- for (int i = generatedFiles.Count - 1; i >= 0; i--)
- {
- VCFile file = generatedFiles[i];
- string fileName = null;
- if (file.Name.ToLower().StartsWith("moc_"))
- {
- fileName = file.Name.Substring(4, file.Name.Length - 8) + ".h";
- }
- else if (file.Name.ToLower().EndsWith(".moc"))
- {
- fileName = file.Name.Substring(0, file.Name.Length - 4) + ".cpp";
- }
- if (fileName != null)
- {
- bool found = false;
- foreach (VCFile f in (IVCCollection)vcPro.Files)
- {
- if (f.FullPath.ToLower().EndsWith("\\" + fileName.ToLower()))
- {
- if (!orgFiles.Contains(f) && HasMocStep(f, oldMocDir))
- orgFiles.Add(f);
- RemoveFileFromFilter(file, vcFilter);
- HelperFunctions.DeleteEmptyParentDirs(file);
- found = true;
- break;
- }
- }
- if (!found)
- {
- // We can't find foo.h for moc_foo.cpp or
- // we can't find foo.cpp for foo.moc, thus we put the
- // filename moc_foo.cpp / foo.moc into an error list.
- abandonedMocFiles.Add(file.Name);
- }
- }
- }
- }
-
- UpdateCompilerIncludePaths(oldMocDir, QtVSIPSettings.GetMocDirectory(envPro));
- foreach (VCFile file in orgFiles)
- {
- try
- {
- RemoveMocStep(file);
- AddMocStep(file);
- }
- catch (QtVSException e)
- {
- Messages.PaneMessage(dte, e.Message);
- continue;
- }
- Messages.PaneMessage(dte, "Moc step updated successfully for " + file.Name + ".");
- }
-
- foreach (string s in abandonedMocFiles)
- Messages.PaneMessage(dte, "Moc step update failed for " + s +
- ". Reason: Could not determine source file for moccing.");
-
- Messages.PaneMessage(dte, "\r\n=== Moc steps updated. Successful: " + orgFiles.Count.ToString()
- + " Failed: " + abandonedMocFiles.Count.ToString() + " ===\r\n");
-
- CleanupFilter(vcFilter);
- }
-
- private void Clean()
- {
- SolutionConfigurations solutionConfigs = envPro.DTE.Solution.SolutionBuild.SolutionConfigurations;
- List<KeyValuePair<SolutionContext, bool>> backup = new List<KeyValuePair<SolutionContext, bool>>();
- foreach (SolutionConfiguration config in solutionConfigs)
- {
- SolutionContexts solutionContexts = config.SolutionContexts;
- if (solutionContexts == null)
- continue;
-
- foreach (SolutionContext context in solutionContexts)
- {
- backup.Add(new KeyValuePair<SolutionContext, bool>(context, context.ShouldBuild));
- if (envPro.FullName.Contains(context.ProjectName)
- && context.PlatformName == envPro.ConfigurationManager.ActiveConfiguration.PlatformName)
- context.ShouldBuild = true;
- else
- context.ShouldBuild = false;
- }
- }
- envPro.DTE.Solution.SolutionBuild.Clean(true);
- foreach (KeyValuePair<SolutionContext, bool> item in backup)
- item.Key.ShouldBuild = item.Value;
- }
-
- private void CleanupFilter(VCFilter filter)
- {
- IVCCollection subFilters = filter.Filters as IVCCollection;
- if (subFilters == null)
- return;
-
- for (int i = subFilters.Count; i > 0; i--)
- {
- VCFilter subFilter = subFilters.Item(i)as VCFilter;
- IVCCollection subFilterFilters = subFilter.Filters as IVCCollection;
- if (subFilterFilters == null)
- continue;
-
- CleanupFilter(subFilter);
-
- bool filterOrFileFound = false;
- foreach (object itemObject in subFilter.Items as IVCCollection)
- {
- if (itemObject is VCFilter || itemObject is VCFile)
- {
- filterOrFileFound = true;
- break;
- }
- }
- if (!filterOrFileFound)
- {
- filter.RemoveFilter(subFilter);
- }
- }
- }
-
- /// <summary>
- /// Changes the Qt version of this project.
- /// </summary>
- /// <param name="oldVersion">the current Qt version</param>
- /// <param name="newVersion">the new Qt version we want to change to</param>
- /// <param name="newProjectCreated">is set to true if a new Project object has been created</param>
- /// <returns>true, if the operation performed successfully</returns>
- public bool ChangeQtVersion(string oldVersion, string newVersion, ref bool newProjectCreated)
- {
- newProjectCreated = false;
- QtVersionManager versionManager = QtVersionManager.The();
- VersionInformation viOld = versionManager.GetVersionInfo(oldVersion);
- VersionInformation viNew = versionManager.GetVersionInfo(newVersion);
-
- string vsPlatformNameOld = null;
- if (viOld != null)
- vsPlatformNameOld = viOld.GetVSPlatformName();
- string vsPlatformNameNew = viNew.GetVSPlatformName();
- bool bRefreshMocSteps = (vsPlatformNameNew != vsPlatformNameOld);
-
- try
- {
- if (vsPlatformNameOld != vsPlatformNameNew)
- {
- if (!SelectSolutionPlatform(vsPlatformNameNew) || !HasPlatform(vsPlatformNameNew))
- {
- CreatePlatform(vsPlatformNameOld, vsPlatformNameNew, viOld, viNew, ref newProjectCreated);
- bRefreshMocSteps = false;
- UpdateMocSteps(QtVSIPSettings.GetMocDirectory(envPro));
- }
- }
- ConfigurationManager configManager = envPro.ConfigurationManager;
- if (configManager.ActiveConfiguration.PlatformName != vsPlatformNameNew)
- {
- string projectName = envPro.FullName;
- envPro.Save(null);
- dte.Solution.Remove(envPro);
- envPro = dte.Solution.AddFromFile(projectName, false);
- dte = envPro.DTE;
- vcPro = envPro.Object as VCProject;
- }
- }
- catch
- {
- Messages.DisplayErrorMessage(SR.GetString("CannotChangeQtVersion"));
- return false;
- }
-
- // We have to delete the generated files because of
- // major differences between the platforms or Qt-Versions.
- if (vsPlatformNameOld != vsPlatformNameNew || viOld.qtPatch != viNew.qtPatch
- || viOld.qtMinor != viNew.qtMinor || viOld.qtMajor != viNew.qtMajor)
- {
- DeleteGeneratedFiles();
- Clean();
- }
-
- if (bRefreshMocSteps)
- RefreshMocSteps();
-
- SetQtEnvironment(newVersion);
- UpdateModules(viOld, viNew);
- versionManager.SaveProjectQtVersion(envPro, newVersion, vsPlatformNameNew);
- return true;
- }
-
- public bool HasPlatform(string platformName)
- {
- foreach (VCConfiguration config in (IVCCollection)vcPro.Configurations)
- {
- VCPlatform platform = (VCPlatform)config.Platform;
- if (platform.Name == platformName)
- {
- return true;
- }
- }
- return false;
- }
-
- public bool SelectSolutionPlatform(string platformName)
- {
- foreach (SolutionConfiguration solutionCfg in dte.Solution.SolutionBuild.SolutionConfigurations)
- {
- SolutionContexts contexts = solutionCfg.SolutionContexts;
- for (int i = 1; i <= contexts.Count; ++i)
- {
- SolutionContext ctx = null;
- try
- {
- ctx = contexts.Item(i);
- }
- catch (System.ArgumentException)
- {
- // This may happen if we encounter an unloaded project.
- continue;
- }
-
- if (ctx.PlatformName == platformName
- && solutionCfg.Name == dte.Solution.SolutionBuild.ActiveConfiguration.Name)
- {
- solutionCfg.Activate();
- return true;
- }
- }
- }
-
- return false;
- }
-
- public void RemovePlatform(string platformName)
- {
- try
- {
- ConfigurationManager cfgMgr = envPro.ConfigurationManager;
- cfgMgr.DeletePlatform(platformName);
- }
- catch { }
- }
-
- public void CreatePlatform(string oldPlatform, string newPlatform,
- VersionInformation viOld, VersionInformation viNew, ref bool newProjectCreated)
- {
- try
- {
- ConfigurationManager cfgMgr = envPro.ConfigurationManager;
- cfgMgr.AddPlatform(newPlatform, oldPlatform, true);
- vcPro.AddPlatform(newPlatform);
- newProjectCreated = false;
- }
- catch
- {
- // That stupid ConfigurationManager can't handle platform names
- // containing dots (e.g. "Windows Mobile 5.0 Pocket PC SDK (ARMV4I)")
- // So we have to do it the nasty way...
- string projectFileName = envPro.FullName;
- envPro.Save(null);
- dte.Solution.Remove(envPro);
- AddPlatformToVCProj(projectFileName, oldPlatform, newPlatform);
- envPro = dte.Solution.AddFromFile(projectFileName, false);
- vcPro = (VCProject)envPro.Object;
- newProjectCreated = true;
- }
-
- // update the platform settings
- foreach (VCConfiguration config in (IVCCollection)vcPro.Configurations)
- {
- VCPlatform vcplatform = (VCPlatform)config.Platform;
- if (vcplatform.Name == newPlatform)
- {
- if (viOld != null)
- RemovePlatformDependencies(config, viOld);
- SetupConfiguration(config, viNew);
- }
- }
-
- SelectSolutionPlatform(newPlatform);
- }
-
- public static void RemovePlatformDependencies(VCConfiguration config, VersionInformation viOld)
- {
- CompilerToolWrapper compiler = CompilerToolWrapper.Create(config);
- var minuend = new HashSet<string>(compiler.PreprocessorDefinitions);
- minuend.ExceptWith(viOld.GetQMakeConfEntry("DEFINES").Split(new char[] { ' ', '\t' }));
- compiler.SetPreprocessorDefinitions(string.Join(",", minuend));
- }
-
- public void SetupConfiguration(VCConfiguration config, VersionInformation viNew)
- {
- CompilerToolWrapper compiler = CompilerToolWrapper.Create(config);
- var ppdefs = new HashSet<string>(compiler.PreprocessorDefinitions);
- ppdefs.UnionWith(viNew.GetQMakeConfEntry("DEFINES").Split(new char[] { ' ', '\t' }));
- compiler.SetPreprocessorDefinitions(string.Join(",", ppdefs));
-
- VCLinkerTool linker = (VCLinkerTool)((IVCCollection)config.Tools).Item("VCLinkerTool");
- if (linker == null)
- return;
-
- linker.SubSystem = subSystemOption.subSystemWindows;
- SetTargetMachine(linker, viNew);
- }
-
- private void DeleteGeneratedFiles()
- {
- FakeFilter genFilter = Filters.GeneratedFiles();
- VCFilter genVCFilter = FindFilterFromGuid(genFilter.UniqueIdentifier);
- if (genVCFilter == null)
- return;
-
- bool error = false;
- error = DeleteFilesFromFilter(genVCFilter);
- if (error)
- Messages.PaneMessage(dte, SR.GetString("DeleteGeneratedFilesError"));
- }
-
- private bool DeleteFilesFromFilter(VCFilter filter)
- {
- bool error = false;
- foreach (VCFile f in filter.Files as IVCCollection)
- {
- try
- {
- FileInfo fi = new FileInfo(f.FullPath);
- if (fi.Exists)
- fi.Delete();
- HelperFunctions.DeleteEmptyParentDirs(fi.Directory.ToString());
- }
- catch
- {
- error = true;
- }
- }
- foreach (VCFilter filt in filter.Filters as IVCCollection)
- if (DeleteFilesFromFilter(filt))
- error = true;
- return error;
- }
-
- public void RemoveGeneratedFiles(string fileName)
- {
- FileInfo fi = new FileInfo(fileName);
- int lastIndex = fileName.LastIndexOf(fi.Extension);
- string baseName = fi.Name.Remove(lastIndex, fi.Extension.Length);
- string delName = null;
- if (HelperFunctions.HasHeaderFileExtension(fileName))
- delName = "moc_" + baseName + ".cpp";
- else if (HelperFunctions.HasSourceFileExtension(fileName) && !fileName.ToLower().StartsWith("moc_"))
- delName = baseName + ".moc";
- else if (fileName.ToLower().EndsWith(".ui"))
- delName = "ui_" + baseName + ".h";
- else if (fileName.ToLower().EndsWith(".qrc"))
- delName = "qrc_" + baseName + ".cpp";
-
- if (delName != null)
- {
- foreach (VCFile delFile in GetFilesFromProject(delName))
- RemoveFileFromFilter(delFile, Filters.GeneratedFiles());
- }
- }
-
- public void RemoveResFilesFromGeneratedFilesFilter()
- {
- List<VCFile> filesToRemove = new List<VCFile>();
- VCFilter generatedFiles = FindFilterFromGuid(Filters.GeneratedFiles().UniqueIdentifier);
- if (generatedFiles == null)
- return;
-
- foreach (VCFile filtFile in (IVCCollection)generatedFiles.Files)
- if (filtFile.FullPath.ToLower().EndsWith(".res"))
- filesToRemove.Add(filtFile);
- foreach (VCFile resFile in filesToRemove)
- resFile.Remove();
- }
-
- static private void AddPlatformToVCProj(string projectFileName, string oldPlatformName, string newPlatformName)
- {
- string tempFileName = Path.GetTempFileName();
- FileInfo fi = new FileInfo(projectFileName);
- fi.CopyTo(tempFileName, true);
-
- XmlDocument myXmlDocument = new XmlDocument();
- myXmlDocument.Load(tempFileName);
- AddPlatformToVCProj(myXmlDocument, oldPlatformName, newPlatformName);
- myXmlDocument.Save(projectFileName);
-
- fi = new FileInfo(tempFileName);
- fi.Delete();
- }
-
- static private void AddPlatformToVCProj(XmlDocument doc, string oldPlatformName, string newPlatformName)
- {
- XmlNode vsProj = doc.DocumentElement.SelectSingleNode("/VisualStudioProject");
- XmlNode platforms = vsProj.SelectSingleNode("Platforms");
- if (platforms == null)
- {
- platforms = doc.CreateElement("Platforms");
- vsProj.AppendChild(platforms);
- }
- XmlNode platform = platforms.SelectSingleNode("Platform[@Name='" + newPlatformName + "']");
- if (platform == null)
- {
- platform = doc.CreateElement("Platform");
- ((XmlElement)platform).SetAttribute("Name", newPlatformName);
- platforms.AppendChild(platform);
- }
-
- XmlNode configurations = vsProj.SelectSingleNode("Configurations");
- XmlNodeList cfgList = configurations.SelectNodes("Configuration[@Name='Debug|" + oldPlatformName + "'] | " +
- "Configuration[@Name='Release|" + oldPlatformName + "']");
- foreach (XmlNode oldCfg in cfgList)
- {
- XmlElement newCfg = (XmlElement)oldCfg.Clone();
- newCfg.SetAttribute("Name", oldCfg.Attributes["Name"].Value.Replace(oldPlatformName, newPlatformName));
- configurations.AppendChild(newCfg);
- }
-
- const string fileCfgPath = "Files/Filter/File/FileConfiguration";
- XmlNodeList fileCfgList = vsProj.SelectNodes(fileCfgPath + "[@Name='Debug|" + oldPlatformName + "'] | " +
- fileCfgPath + "[@Name='Release|" + oldPlatformName + "']");
- foreach (XmlNode oldCfg in fileCfgList)
- {
- XmlElement newCfg = (XmlElement)oldCfg.Clone();
- newCfg.SetAttribute("Name", oldCfg.Attributes["Name"].Value.Replace(oldPlatformName, newPlatformName));
- oldCfg.ParentNode.AppendChild(newCfg);
- }
- }
-
- static private void SetTargetMachine(VCLinkerTool linker, VersionInformation versionInfo)
- {
- String qMakeLFlagsWindows = versionInfo.GetQMakeConfEntry("QMAKE_LFLAGS_WINDOWS");
- Regex rex = new Regex("/MACHINE:(\\S+)");
- Match match = rex.Match(qMakeLFlagsWindows);
- if (match.Success)
- {
- linker.TargetMachine = HelperFunctions.TranslateMachineType(match.Groups[1].Value);
- }
- else
- {
- string platformName = versionInfo.GetVSPlatformName();
- if (platformName == "Win32")
- linker.TargetMachine = machineTypeOption.machineX86;
- else if (platformName == "x64")
- linker.TargetMachine = machineTypeOption.machineAMD64;
- else
- linker.TargetMachine = machineTypeOption.machineNotSet;
- }
-
- String subsystemOption = "";
- String linkerOptions = linker.AdditionalOptions;
- if (linkerOptions == null)
- linkerOptions = "";
-
- rex = new Regex("(/SUBSYSTEM:\\S+)");
- match = rex.Match(qMakeLFlagsWindows);
- if (match.Success)
- subsystemOption = match.Groups[1].Value;
-
- match = rex.Match(linkerOptions);
- if (match.Success)
- {
- linkerOptions = rex.Replace(linkerOptions, subsystemOption);
- }
- else
- {
- if (linkerOptions.Length > 0)
- linkerOptions += " ";
- linkerOptions += subsystemOption;
- }
- linker.AdditionalOptions = linkerOptions;
- }
-
- public VCConfiguration GetActiveVCConfiguration()
- {
- string activeConfigName = Project.ConfigurationManager.ActiveConfiguration.ConfigurationName;
- return (VCConfiguration)((IVCCollection)VCProject.Configurations).Item(activeConfigName);
- }
-
- public void CollapseFilter(string filterName)
- {
- UIHierarchy solutionExplorer = (UIHierarchy)dte.Windows.Item(Constants.vsext_wk_SProjectWindow).Object;
- if (solutionExplorer.UIHierarchyItems.Count == 0)
- return;
-
- dte.SuppressUI = true;
- UIHierarchyItem projectItem = FindProjectHierarchyItem(solutionExplorer);
- if (projectItem != null)
- {
- HelperFunctions.CollapseFilter(projectItem, solutionExplorer, filterName);
- }
- dte.SuppressUI = false;
- }
-
- private UIHierarchyItem FindProjectHierarchyItem(UIHierarchy hierarchy)
- {
- if (hierarchy.UIHierarchyItems.Count == 0)
- return null;
-
- UIHierarchyItem solution = hierarchy.UIHierarchyItems.Item(1);
- UIHierarchyItem projectItem = null;
- foreach (UIHierarchyItem solutionItem in solution.UIHierarchyItems)
- {
- projectItem = FindProjectHierarchyItem(solutionItem);
- if (projectItem != null)
- break;
- }
- return projectItem;
- }
-
- private UIHierarchyItem FindProjectHierarchyItem(UIHierarchyItem root)
- {
- UIHierarchyItem projectItem = null;
- try
- {
- if (root.Name == envPro.Name)
- return root;
-
- foreach (UIHierarchyItem childItem in root.UIHierarchyItems)
- {
- projectItem = FindProjectHierarchyItem(childItem);
- if (projectItem != null)
- break;
- }
- }
- catch
- {
- }
- return projectItem;
- }
-
- /// <summary>
- /// Gets the Qt version of the project
- /// </summary>
- public string GetQtVersion()
- {
- return QtVersionManager.The().GetProjectQtVersion(envPro);
- }
-
- /// <summary>
- /// Sets the Qt environment for the project's Qt version.
- /// </summary>
- public void SetQtEnvironment()
- {
- SetQtEnvironment(QtVersionManager.The().GetProjectQtVersion(envPro));
- }
-
- /// <summary>
- /// Sets the Qt environment for the given Qt version.
- /// </summary>
- public void SetQtEnvironment(string qtVersion)
- {
- SetQtEnvironment(qtVersion, "");
- }
-
- /// <summary>
- /// Sets the Qt environment for the given Qt version.
- /// </summary>
- public void SetQtEnvironment(string qtVersion, string solutionConfig)
- {
- if (string.IsNullOrEmpty(qtVersion))
- return;
-
- string qtDir = null;
- if (qtVersion != "$(QTDIR)")
- qtDir = QtVersionManager.The().GetInstallPath(qtVersion);
- HelperFunctions.SetEnvironmentVariableEx("QTDIR", qtDir);
- try {
- var propertyAccess = (IVCBuildPropertyStorage)vcPro;
- VCProject vcprj = envPro.Object as VCProject;
-
- // Get platform name from given solution configuration
- // or if not available take the active configuration
- String activePlatformName = "";
- if (solutionConfig == null || solutionConfig.Length == 0)
- {
- // First get active configuration cause not given as parameter
- EnvDTE.Configuration activeConf = envPro.ConfigurationManager.ActiveConfiguration;
- solutionConfig = activeConf.ConfigurationName + "|" + activeConf.PlatformName;
- activePlatformName = activeConf.PlatformName;
- }
- else
- {
- activePlatformName = solutionConfig.Split('|')[1];
- }
-
- // Find all configurations for platform and set property for all of them
- // This is to get QTDIR property set for all configurations same time so
- // we can be sure it is set and is equal between debug and release
- foreach (VCConfiguration conf in vcprj.Configurations as IVCCollection)
- {
- VCPlatform cur_platform = conf.Platform as VCPlatform;
- if (cur_platform.Name == activePlatformName)
- {
- string cur_solution = conf.ConfigurationName + "|" + cur_platform.Name;
- propertyAccess.SetPropertyValue("QTDIR", cur_solution, "UserFile", qtDir);
- }
- }
-
- }
- catch (Exception)
- {
- Messages.PaneMessage(envPro.DTE, SR.GetString("QtProject_CannotAccessUserFile", vcPro.ItemName));
- }
-
- HelperFunctions.SetDebuggingEnvironment(envPro);
- }
- }
-}
diff --git a/Qt4VS2003/QtProjectLib/QtVSIPSettings.cs b/Qt4VS2003/QtProjectLib/QtVSIPSettings.cs
deleted file mode 100644
index 0cc6825c..00000000
--- a/Qt4VS2003/QtProjectLib/QtVSIPSettings.cs
+++ /dev/null
@@ -1,636 +0,0 @@
-/****************************************************************************
-**
-** Copyright (C) 2016 The Qt Company Ltd.
-** Contact: https://www.qt.io/licensing/
-**
-** This file is part of the Qt VS Add-in.
-**
-** $QT_BEGIN_LICENSE:GPL-EXCEPT$
-** Commercial License Usage
-** Licensees holding valid commercial Qt licenses may use this file in
-** accordance with the commercial license agreement provided with the
-** Software or, alternatively, in accordance with the terms contained in
-** a written agreement between you and The Qt Company. For licensing terms
-** and conditions see https://www.qt.io/terms-conditions. For further
-** information use the contact form at https://www.qt.io/contact-us.
-**
-** GNU General Public License Usage
-** Alternatively, this file may be used under the terms of the GNU
-** General Public License version 3 as published by the Free Software
-** Foundation with exceptions as appearing in the file LICENSE.GPL3-EXCEPT
-** included in the packaging of this file. Please review the following
-** information to ensure the GNU General Public License requirements will
-** be met: https://www.gnu.org/licenses/gpl-3.0.html.
-**
-** $QT_END_LICENSE$
-**
-****************************************************************************/
-
-using System;
-using Microsoft.Win32;
-using Microsoft.VisualStudio.VCProjectEngine;
-using System.Collections;
-using System.Drawing;
-
-namespace Digia.Qt5ProjectLib
-{
- public class QtVSIPSettings
- {
- static Hashtable mocDirCache = new Hashtable();
- static Hashtable uicDirCache = new Hashtable();
- static Hashtable rccDirCache = new Hashtable();
-
- public static bool GetDisableAutoMocStepsUpdate()
- {
- return GetBoolValue(Resources.disableAutoMocStepsUpdateKeyword, false);
- }
-
- public static void SaveDisableAutoMocStepsUpdate(bool b)
- {
- SetBoolValue(Resources.disableAutoMocStepsUpdateKeyword, b);
- }
-
- public static string GetUicDirectory(EnvDTE.Project project)
- {
- return GetDirectory(project, Resources.uicDirKeyword);
- }
-
- public static void SaveUicDirectory(EnvDTE.Project project, string directory)
- {
- if (directory == null)
- SaveDirectory(project, Resources.uicDirKeyword, GetDirectory(project, Resources.uicDirKeyword));
- else
- SaveDirectory(project, Resources.uicDirKeyword, directory);
- }
-
- public static string GetMocDirectory()
- {
- return GetDirectory(Resources.mocDirKeyword);
- }
-
- public static string GetMocDirectory(EnvDTE.Project project)
- {
- return GetDirectory(project, Resources.mocDirKeyword);
- }
-
- public static string GetMocDirectory(EnvDTE.Project project, string configName, string platformName)
- {
- string dir = GetDirectory(project, Resources.mocDirKeyword);
- if (!string.IsNullOrEmpty(configName))
- dir = dir.Replace("$(ConfigurationName)", configName);
- if (!string.IsNullOrEmpty(platformName))
- dir = dir.Replace("$(PlatformName)", platformName);
- return dir;
- }
-
- public static bool HasDifferentMocFilePerConfig(EnvDTE.Project project)
- {
- string mocDir = GetMocDirectory(project);
- return mocDir.Contains("$(ConfigurationName)");
- }
-
- public static bool HasDifferentMocFilePerPlatform(EnvDTE.Project project)
- {
- string mocDir = GetMocDirectory(project);
- return mocDir.Contains("$(PlatformName)");
- }
-
- public static string GetMocOptions()
- {
- return GetOption(Resources.mocOptionsKeyword);
- }
-
- public static string GetMocOptions(EnvDTE.Project project)
- {
- return GetOption(project, Resources.mocOptionsKeyword);
- }
-
- public static bool GetLUpdateOnBuild(EnvDTE.Project project)
- {
- return GetBoolValue(project, Resources.lupdateKeyword);
- }
-
- public static string GetLUpdateOptions()
- {
- return GetOption(Resources.lupdateOptionsKeyword);
- }
-
- public static string GetLUpdateOptions(EnvDTE.Project project)
- {
- return GetOption(project, Resources.lupdateOptionsKeyword);
- }
-
- public static string GetLReleaseOptions()
- {
- return GetOption(Resources.lreleaseOptionsKeyword);
- }
-
- public static string GetLReleaseOptions(EnvDTE.Project project)
- {
- return GetOption(project, Resources.lreleaseOptionsKeyword);
- }
-
- public static bool GetAskBeforeCheckoutFile()
- {
- return GetBoolValue(Resources.askBeforeCheckoutFileKeyword, true);
- }
-
- public static void SaveAskBeforeCheckoutFile(bool value)
- {
- SetBoolValue(Resources.askBeforeCheckoutFileKeyword, value);
- }
-
- public static bool GetDisableCheckoutFiles()
- {
- return GetBoolValue(Resources.disableCheckoutFilesKeyword, false);
- }
-
- public static void SaveDisableCheckoutFiles(bool value)
- {
- SetBoolValue(Resources.disableCheckoutFilesKeyword, value);
- }
-
- public static void SaveMocDirectory(EnvDTE.Project project, string directory)
- {
- if (directory == null)
- SaveDirectory(project, Resources.mocDirKeyword, GetDirectory(project, Resources.mocDirKeyword));
- else
- SaveDirectory(project, Resources.mocDirKeyword, directory);
- }
-
- public static void SaveMocOptions(EnvDTE.Project project, string options)
- {
- if (options == null)
- {
- options = GetMocOptions();
- }
- SaveOption(project, Resources.mocOptionsKeyword, options);
- }
-
- public static void SaveMocOptions(string options)
- {
- SaveOption(Resources.mocOptionsKeyword, options);
- }
-
- public static void SaveLUpdateOnBuild(EnvDTE.Project project)
- {
- SetBoolValue(project, Resources.lupdateKeyword, GetLUpdateOnBuild());
- }
-
- public static void SaveLUpdateOnBuild(EnvDTE.Project project, bool value)
- {
- SetBoolValue(project, Resources.lupdateKeyword, value);
- }
-
- public static void SaveLUpdateOptions(EnvDTE.Project project, string options)
- {
- if (options == null)
- {
- options = GetLUpdateOptions();
- }
- SaveOption(project, Resources.lupdateOptionsKeyword, options);
- }
-
- public static void SaveLUpdateOptions(string options)
- {
- SaveOption(Resources.lupdateOptionsKeyword, options);
- }
-
- public static void SaveLReleaseOptions(EnvDTE.Project project, string options)
- {
- if (options == null)
- {
- options = GetLReleaseOptions();
- }
- SaveOption(project, Resources.lreleaseOptionsKeyword, options);
- }
-
- public static void SaveLReleaseOptions(string options)
- {
- SaveOption(Resources.lreleaseOptionsKeyword, options);
- }
-
- public static string GetRccDirectory(EnvDTE.Project project)
- {
- return GetDirectory(project, Resources.rccDirKeyword);
- }
-
- public static void SaveRccDirectory(string dir)
- {
- SaveDirectory(Resources.rccDirKeyword, dir);
- }
-
- public static void SaveRccDirectory(EnvDTE.Project project, string directory)
- {
- if (directory == null)
- SaveDirectory(project, Resources.rccDirKeyword, GetDirectory(project, Resources.rccDirKeyword));
- else
- SaveDirectory(project, Resources.rccDirKeyword, directory);
- }
-
- private static string GetDirectory(string type)
- {
- try
- {
- RegistryKey key = Registry.CurrentUser.OpenSubKey("SOFTWARE\\" + Resources.registryPackagePath);
- if (key != null)
- {
- string path = (string)key.GetValue(type, null);
- if (path != null)
- return HelperFunctions.NormalizeRelativeFilePath(path);
- }
- }
- catch { }
- if (type == Resources.mocDirKeyword)
- return Resources.generatedFilesDir + "\\$(ConfigurationName)";
- else
- return Resources.generatedFilesDir;
- }
-
- private static string GetOption(string type)
- {
- try
- {
- RegistryKey key = Registry.CurrentUser.OpenSubKey("SOFTWARE\\" + Resources.registryPackagePath);
- if (key != null)
- {
- string opt = (string)key.GetValue(type, null);
- if (opt != null)
- return opt;
- }
- }
- catch { }
- return null;
- }
-
- public static bool GetLUpdateOnBuild()
- {
- return GetBoolValue(Resources.lupdateKeyword, false);
- }
-
- public static string GetRccDirectory()
- {
- return GetDirectory(Resources.rccDirKeyword);
- }
-
- public static string GetUicDirectory()
- {
- return GetDirectory(Resources.uicDirKeyword);
- }
-
- private static string GetDirectory(EnvDTE.Project project, string type)
- {
- // check for directory in following order:
- // - stored in project
- // - stored in cache
- // - retrieve from moc/uic steps
- // - globally defined default directory
- // - fallback on hardcoded directory
- if (project != null)
- {
- if (project.Globals.get_VariablePersists(type))
- {
- return HelperFunctions.NormalizeRelativeFilePath((string)project.Globals[type]);
- }
- else
- {
- try
- {
- if (type == Resources.mocDirKeyword && mocDirCache.Contains(project.FullName))
- return (string)mocDirCache[project.FullName];
- else if (type == Resources.uicDirKeyword && uicDirCache.Contains(project.FullName))
- return (string)uicDirCache[project.FullName];
- else if (type == Resources.rccDirKeyword && rccDirCache.Contains(project.FullName))
- return (string)rccDirCache[project.FullName];
-
- VCCustomBuildTool tool = null;
- string configName = null;
- string platformName = null;
- VCProject vcpro = (VCProject)project.Object;
- foreach(VCFile vcfile in (IVCCollection)vcpro.Files)
- {
- if ((type == Resources.mocDirKeyword &&
- (HelperFunctions.HasHeaderFileExtension(vcfile.Name) || vcfile.Name.ToLower().EndsWith(".moc")))
- || (type == Resources.uicDirKeyword && vcfile.Name.ToLower().EndsWith(".ui"))
- || (type == Resources.rccDirKeyword && vcfile.Name.ToLower().EndsWith(".qrc")))
- {
- foreach (VCFileConfiguration config in (IVCCollection)vcfile.FileConfigurations)
- {
- tool = HelperFunctions.GetCustomBuildTool(config);
- configName = config.Name.Remove(config.Name.IndexOf('|'));
- VCConfiguration vcConfig = config.ProjectConfiguration as VCConfiguration;
- VCPlatform platform = vcConfig.Platform as VCPlatform;
- platformName = platform.Name;
- if (tool != null && (tool.CommandLine.ToLower().IndexOf("moc.exe") != -1
- || (tool.CommandLine.ToLower().IndexOf("uic.exe") != -1)
- || (tool.CommandLine.ToLower().IndexOf("rcc.exe") != -1)))
- break;
- tool = null;
- }
-
- if (tool != null)
- break;
- }
- }
-
- if (tool != null)
- {
- string dir = null;
- int lastindex = tool.Outputs.LastIndexOf('\\');
- if (tool.Outputs.LastIndexOf('/') > lastindex)
- lastindex = tool.Outputs.LastIndexOf('/');
-
- if (lastindex == -1)
- dir = ".";
- else
- dir = tool.Outputs.Substring(0, lastindex);
- dir = dir.Replace("\"","");
-
- if (type == Resources.mocDirKeyword)
- {
- int index;
- if ((index = dir.ToLower().IndexOf(configName.ToLower())) != -1)
- dir = dir.Replace(dir.Substring(index, configName.Length), "$(ConfigurationName)");
- if ((index = dir.ToLower().IndexOf(platformName.ToLower())) != -1)
- dir = dir.Replace(dir.Substring(index, platformName.Length), "$(PlatformName)");
-
- mocDirCache.Add(project.FullName, HelperFunctions.NormalizeRelativeFilePath(dir));
- }
- else if (type == Resources.uicDirKeyword)
- uicDirCache.Add(project.FullName, HelperFunctions.NormalizeRelativeFilePath(dir));
- else if (type == Resources.rccDirKeyword)
- rccDirCache.Add(project.FullName, HelperFunctions.NormalizeRelativeFilePath(dir));
-
- cleanUpCache(project);
-
- return HelperFunctions.NormalizeRelativeFilePath(dir);
- }
- }
- catch {}
- }
- }
-
- return GetDirectory(type);
- }
-
- private static string GetOption(EnvDTE.Project project, string type)
- {
- // check for directory in following order:
- // - stored in project
- // - globally defined default option
- // - empty options
- if (project != null && project.Globals.get_VariablePersists(type))
- {
- return (string)project.Globals[type];
- }
- return GetOption(type);
- }
-
- private static bool GetBoolValue(EnvDTE.Project project, string type)
- {
- // check for directory in following order:
- // - stored in project
- // - globally defined default option
- // - empty options
- if (project != null && project.Globals.get_VariablePersists(type))
- {
- string valueString = (string)project.Globals[type];
- int val = Convert.ToInt32(valueString);
- bool v = val > 0 ? true : false;
- return v;
- }
- return GetBoolValue(type, false);
- }
-
- private static void SaveDirectory(EnvDTE.Project project, string type, string dir)
- {
- dir = HelperFunctions.NormalizeRelativeFilePath(dir);
- project.Globals[type] = dir;
- if (!project.Globals.get_VariablePersists(type))
- project.Globals.set_VariablePersists(type, true);
-
- cleanUpCache(project);
- }
-
- private static void SaveOption(EnvDTE.Project project, string type, string option)
- {
- project.Globals[type] = option;
- if (!project.Globals.get_VariablePersists(type))
- project.Globals.set_VariablePersists(type, true);
- }
-
- private static void SetBoolValue(EnvDTE.Project project, string type, bool value)
- {
- project.Globals[type] = Convert.ToInt32(value).ToString();
- if (!project.Globals.get_VariablePersists(type))
- project.Globals.set_VariablePersists(type, true);
- }
-
- public static void SaveUicDirectory(string dir)
- {
- SaveDirectory(Resources.uicDirKeyword, dir);
- }
-
- public static void SaveMocDirectory(string dir)
- {
- SaveDirectory(Resources.mocDirKeyword, dir);
- }
-
- public static void SaveLUpdateOnBuild(bool val)
- {
- SetBoolValue(Resources.lupdateKeyword, val);
- }
-
- public static void cleanUpCache(EnvDTE.Project project)
- {
- try
- {
- IDictionaryEnumerator mocEnumerator = mocDirCache.GetEnumerator();
- while ( mocEnumerator.MoveNext() )
- {
- if (!HelperFunctions.IsProjectInSolution(project.DTE, (string)mocEnumerator.Key))
- {
- mocDirCache.Remove(mocEnumerator.Key);
- mocEnumerator = mocDirCache.GetEnumerator();
- }
- }
-
- IDictionaryEnumerator uicEnumerator = uicDirCache.GetEnumerator();
- while ( uicEnumerator.MoveNext() )
- {
- if (!HelperFunctions.IsProjectInSolution(project.DTE, (string)uicEnumerator.Key))
- {
- uicDirCache.Remove(uicEnumerator.Key);
- uicEnumerator = uicDirCache.GetEnumerator();
- }
- }
-
- IDictionaryEnumerator rccEnumerator = rccDirCache.GetEnumerator();
- while (rccEnumerator.MoveNext())
- {
- if (!HelperFunctions.IsProjectInSolution(project.DTE, (string)rccEnumerator.Key))
- {
- rccDirCache.Remove(rccEnumerator.Key);
- rccEnumerator = rccDirCache.GetEnumerator();
- }
- }
- }
- catch { }
- }
-
- private static void SaveDirectory(string type, string dir)
- {
- dir = HelperFunctions.NormalizeRelativeFilePath(dir);
- RegistryKey key = Registry.CurrentUser.CreateSubKey("SOFTWARE\\" + Resources.registryPackagePath);
- if (key == null)
- return;
- key.SetValue(type, dir);
- }
-
- private static void SaveOption(string type, string option)
- {
- RegistryKey key = Registry.CurrentUser.CreateSubKey("SOFTWARE\\" + Resources.registryPackagePath);
- if (key == null)
- return;
- if (option == null)
- option = "";
- key.SetValue(type, option);
- }
-
- public static Size Size()
- {
- Size s = new Size();
- s.Width = GetGridValue("gridX", 10);
- s.Height = GetGridValue("gridY", 10);
- return s;
- }
-
- public static void SetSize(Size s)
- {
- SetGridValue("gridX", s.Width);
- SetGridValue("gridY", s.Height);
- }
-
- public static bool Visible()
- {
- return GetBoolValue("visible", true);
- }
-
- public static void SetVisible(bool visible)
- {
- SetBoolValue("visible", visible);
- }
-
- public static bool AutoRunUic()
- {
- return GetBoolValue("AutoRunUic4", true);
- }
-
- public static void SetAutoRunUic(bool autoRun)
- {
- SetBoolValue("AutoRunUic4", autoRun);
- }
-
- public static bool AutoUpdateRccSteps()
- {
- return GetBoolValue("AutoUpdateRccSteps", true);
- }
-
- public static void SetAutoUpdateRccSteps(bool autoUpdate)
- {
- SetBoolValue("AutoUpdateRccSteps", autoUpdate);
- }
-
- public static bool AutoUpdateMocSteps()
- {
- if (ValueExists("AutoUpdateMocSteps"))
- return GetBoolValue("AutoUpdateMocSteps", true);
- return GetBoolValue("AutoUpdateBuildSteps", true);
- }
-
- public static void SetAutoUpdateMocSteps(bool autoUpdate)
- {
- SetBoolValue("AutoUpdateMocSteps", autoUpdate);
- }
-
- public static bool AutoUpdateUicSteps()
- {
- if (ValueExists("AutoUpdateUicSteps"))
- return GetBoolValue("AutoUpdateUicSteps", true);
- return GetBoolValue("AutoUpdateBuildSteps", true);
- }
-
- public static void SetAutoUpdateUicSteps(bool autoUpdate)
- {
- SetBoolValue("AutoUpdateUicSteps", autoUpdate);
- }
-
- private static bool GetBoolValue(string key, bool defaultValue)
- {
- bool v;
- RegistryKey regKey = Registry.CurrentUser.OpenSubKey("SOFTWARE\\" + Resources.registryPackagePath);
- if (regKey != null)
- {
- int val = (int)regKey.GetValue(key, defaultValue ? (object)1 : (object)0);
- v = val > 0 ? true : false;
- }
- else
- {
- v = defaultValue;
- }
- return v;
- }
-
- private static bool ValueExists(string key)
- {
- RegistryKey regKey = Registry.CurrentUser.OpenSubKey("SOFTWARE\\" + Resources.registryPackagePath);
- if (regKey != null)
- {
- foreach (string s in regKey.GetValueNames())
- if (s == key)
- return true;
- }
- return false;
- }
-
- private static void SetBoolValue(string key, bool val)
- {
- RegistryKey regKey = Registry.CurrentUser.CreateSubKey("SOFTWARE\\" + Resources.registryPackagePath);
- if (regKey == null)
- return;
- regKey.SetValue(key, val ? 1 : 0);
- }
-
- private static int GetGridValue(string key, int defaultValue)
- {
- RegistryKey regKey = Registry.CurrentUser.OpenSubKey("SOFTWARE\\" + Resources.registryPackagePath);
- if (regKey != null)
- {
- try
- {
- int val = Convert.ToInt32((regKey.GetValue(key, defaultValue)));
- if (val <= 0 || val > 100)
- return defaultValue;
- else
- return val;
- }
- catch (Exception)
- {
- return defaultValue;
- }
- }
- else
- {
- return defaultValue;
- }
- }
-
- private static void SetGridValue(string key, int val)
- {
- RegistryKey regKey = Registry.CurrentUser.CreateSubKey("SOFTWARE\\" + Resources.registryPackagePath);
- if (regKey == null)
- return;
- regKey.SetValue(key, val.ToString());
- }
- }
-}
diff --git a/Qt4VS2003/QtProjectLib/QtVersionManager.cs b/Qt4VS2003/QtProjectLib/QtVersionManager.cs
deleted file mode 100644
index da415801..00000000
--- a/Qt4VS2003/QtProjectLib/QtVersionManager.cs
+++ /dev/null
@@ -1,519 +0,0 @@
-/****************************************************************************
-**
-** Copyright (C) 2016 The Qt Company Ltd.
-** Contact: https://www.qt.io/licensing/
-**
-** This file is part of the Qt VS Add-in.
-**
-** $QT_BEGIN_LICENSE:GPL-EXCEPT$
-** Commercial License Usage
-** Licensees holding valid commercial Qt licenses may use this file in
-** accordance with the commercial license agreement provided with the
-** Software or, alternatively, in accordance with the terms contained in
-** a written agreement between you and The Qt Company. For licensing terms
-** and conditions see https://www.qt.io/terms-conditions. For further
-** information use the contact form at https://www.qt.io/contact-us.
-**
-** GNU General Public License Usage
-** Alternatively, this file may be used under the terms of the GNU
-** General Public License version 3 as published by the Free Software
-** Foundation with exceptions as appearing in the file LICENSE.GPL3-EXCEPT
-** included in the packaging of this file. Please review the following
-** information to ensure the GNU General Public License requirements will
-** be met: https://www.gnu.org/licenses/gpl-3.0.html.
-**
-** $QT_END_LICENSE$
-**
-****************************************************************************/
-
-using System;
-using System.Collections;
-using System.IO;
-using Microsoft.Win32;
-using System.Collections.Generic;
-
-namespace Digia.Qt5ProjectLib
-{
- /// <summary>
- /// Summary description for QtVersionManager.
- /// </summary>
- public class QtVersionManager
- {
- private static QtVersionManager instance = null;
- private string regVersionPath = null;
- private string strVersionKey = null;
- private Hashtable versionCache = null;
-
- protected QtVersionManager()
- {
- strVersionKey = "Versions";
- regVersionPath = Resources.registryVersionPath;
- }
-
- static public QtVersionManager The()
- {
- if (instance == null)
- instance = new QtVersionManager();
- return instance;
- }
-
- public VersionInformation GetVersionInfo(string name)
- {
- if (name == null)
- return null;
- if (name == "$(DefaultQtVersion)")
- name = GetDefaultVersion();
- if (versionCache == null)
- versionCache = new Hashtable();
-
- VersionInformation vi = versionCache[name] as VersionInformation;
- if (vi != null)
- return vi;
-
- string qtdir = GetInstallPath(name);
- vi = new VersionInformation(qtdir);
- versionCache[name] = vi;
- return vi;
- }
-
- public VersionInformation GetVersionInfo(EnvDTE.Project project)
- {
- return GetVersionInfo(GetProjectQtVersion(project));
- }
-
- public void ClearVersionCache()
- {
- if (versionCache != null)
- versionCache.Clear();
- }
-
- public string[] GetVersions()
- {
- return GetVersions(Registry.CurrentUser);
- }
-
- public string GetQtVersionFromInstallDir(string qtDir)
- {
- if (qtDir == null)
- return null;
-
- qtDir = qtDir.ToLower();
- string[] versions = GetVersions();
- foreach (string version in versions)
- {
- string installPath = GetInstallPath(version);
- if (installPath == null)
- continue;
- if (installPath.ToLower() == qtDir)
- return version;
- }
-
- return null;
- }
-
- public string[] GetVersions(RegistryKey root)
- {
- RegistryKey key = root.OpenSubKey("SOFTWARE\\" + Resources.registryRootPath, false);
- if (key == null)
- return new string[] {};
- RegistryKey versionKey = key.OpenSubKey(strVersionKey, false);
- if (versionKey == null)
- return new string[] {};
- return versionKey.GetSubKeyNames();
- }
-
- private class QtVersion
- {
- public string name;
- public VersionInformation vi;
- }
-
- /// <summary>
- /// Check if all Qt versions are valid and readable.
- /// </summary>
- /// Also sets the default Qt version to the newest version, if needed.
- /// <param name="errorMessage"></param>
- /// <returns>true, if we found an invalid version</returns>
- public bool HasInvalidVersions(out string errorMessage)
- {
- List<QtVersion> validVersions = new List<QtVersion>();
- List<string> invalidVersions = new List<string>();
-
- foreach (string v in GetVersions())
- {
- if (v == "$(DefaultQtVersion)")
- continue;
- try
- {
- VersionInformation vi = new VersionInformation(GetInstallPath(v));
- QtVersion qtVersion = new QtVersion();
- qtVersion.name = v;
- qtVersion.vi = vi;
- validVersions.Add(qtVersion);
- }
- catch (Exception)
- {
- invalidVersions.Add(v);
- }
- }
-
- if (invalidVersions.Count > 0)
- {
- errorMessage = "These Qt version are inaccessible:\n";
- foreach (string invalidVersion in invalidVersions)
- errorMessage += invalidVersion + " in " + GetInstallPath(invalidVersion) + "\n";
- errorMessage += "Make sure that you have read access to all files in your Qt directories.";
-
- // Is the default Qt version invalid?
- bool isDefaultQtVersionInvalid = false;
- string defaultQtVersionName = GetDefaultVersion();
- if (String.IsNullOrEmpty(defaultQtVersionName))
- {
- isDefaultQtVersionInvalid = true;
- }
- else
- {
- foreach (string name in invalidVersions)
- {
- if (name == defaultQtVersionName)
- {
- isDefaultQtVersionInvalid = true;
- break;
- }
- }
- }
-
- // find the newest valid Qt version that can be used as default version
- if (isDefaultQtVersionInvalid && validVersions.Count > 0)
- {
- QtVersion defaultQtVersion = null;
- foreach (QtVersion v in validVersions)
- {
- if (defaultQtVersion == null)
- {
- defaultQtVersion = v;
- continue;
- }
- if (defaultQtVersion.vi.qtMajor < v.vi.qtMajor ||
- (defaultQtVersion.vi.qtMajor == v.vi.qtMajor && (defaultQtVersion.vi.qtMinor < v.vi.qtMinor ||
- (defaultQtVersion.vi.qtMinor == v.vi.qtMinor && defaultQtVersion.vi.qtPatch < v.vi.qtPatch))))
- {
- defaultQtVersion = v;
- }
- }
- if (defaultQtVersion != null)
- SaveDefaultVersion(defaultQtVersion.name);
- }
-
- return true;
- }
- errorMessage = null;
- return false;
- }
-
- public string GetInstallPath(string version)
- {
- if (version == "$(DefaultQtVersion)")
- version = GetDefaultVersion();
- return GetInstallPath(version, Registry.CurrentUser);
- }
-
- public string GetInstallPath(string version, RegistryKey root)
- {
- if (version == "$(DefaultQtVersion)")
- version = GetDefaultVersion(root);
- if (version == "$(QTDIR)")
- return System.Environment.GetEnvironmentVariable("QTDIR");
-
- RegistryKey key = root.OpenSubKey("SOFTWARE\\" + Resources.registryRootPath, false);
- if (key == null)
- return null;
- RegistryKey versionKey = key.OpenSubKey(strVersionKey + "\\" + version, false);
- if (versionKey == null)
- return null;
- return (string)versionKey.GetValue("InstallDir");
- }
-
- public string GetInstallPath(EnvDTE.Project project)
- {
- string version = GetProjectQtVersion(project);
- if (version == "$(DefaultQtVersion)")
- version = GetDefaultVersion();
- if (version == null)
- return null;
- return GetInstallPath(version);
- }
-
- public bool SaveVersion(string versionName, string path)
- {
- string verName = versionName.Trim();
- string dir = "";
- if (verName != "$(QTDIR)")
- {
- DirectoryInfo di = new DirectoryInfo(path);
- if (verName.Length < 1 || !di.Exists)
- return false;
- dir = di.FullName;
- }
- RegistryKey key = Registry.CurrentUser.OpenSubKey("SOFTWARE\\" + Resources.registryRootPath, true);
- if (key == null)
- {
- key = Registry.CurrentUser.CreateSubKey("SOFTWARE\\" + Resources.registryRootPath);
- if (key == null)
- return false;
- }
- RegistryKey versionKey = key.CreateSubKey(strVersionKey + "\\" + verName);
- if (versionKey == null)
- return false;
- versionKey.SetValue("InstallDir", dir);
- return true;
- }
-
- public void RemoveVersion(string versionName)
- {
- RegistryKey key = Registry.CurrentUser.OpenSubKey("SOFTWARE\\" + regVersionPath, true);
- if (key == null)
- return;
- key.DeleteSubKey(versionName);
- }
-
- private bool IsVersionAvailable(string version)
- {
- bool versionAvailable = false;
- string[] versions = GetVersions();
- foreach (string ver in versions)
- {
- if (version == ver)
- {
- versionAvailable = true;
- break;
- }
- }
- return versionAvailable;
- }
-
- public bool SaveProjectQtVersion(EnvDTE.Project project, string version)
- {
- return SaveProjectQtVersion(project, version, project.ConfigurationManager.ActiveConfiguration.PlatformName);
- }
-
- public bool SaveProjectQtVersion(EnvDTE.Project project, string version, string platform)
- {
- if (!IsVersionAvailable(version) && version != "$(DefaultQtVersion)")
- return false;
- string key = "Qt5Version " + platform;
- if (!project.Globals.get_VariableExists(key) || project.Globals[key].ToString() != version)
- project.Globals[key] = version;
- if (!project.Globals.get_VariablePersists(key))
- project.Globals.set_VariablePersists(key, true);
- return true;
- }
-
- public string GetProjectQtVersion(EnvDTE.Project project)
- {
- string platformName = null;
- try
- {
- platformName = project.ConfigurationManager.ActiveConfiguration.PlatformName;
- }
- catch
- {
- // Accessing the ActiveConfiguration property throws an exception
- // if there's an "unconfigured" platform in the Solution platform combo box.
- platformName = "Win32";
- }
- string version = GetProjectQtVersion(project, platformName);
-
- if (version == null && project.Globals.get_VariablePersists("Qt5Version"))
- {
- version = (string)project.Globals["Qt5Version"];
- ExpandEnvironmentVariablesInQtVersion(ref version);
- return VerifyIfQtVersionExists(version) ? version : null;
- }
-
- if (version == null)
- version = GetSolutionQtVersion(project.DTE.Solution);
-
- return version;
- }
-
- public string GetProjectQtVersion(EnvDTE.Project project, string platform)
- {
- string key = "Qt5Version " + platform;
- if (!project.Globals.get_VariablePersists(key))
- return null;
- string version = (string)project.Globals[key];
- ExpandEnvironmentVariablesInQtVersion(ref version);
- return VerifyIfQtVersionExists(version) ? version : null;
- }
-
- private static void ExpandEnvironmentVariablesInQtVersion(ref string version)
- {
- if (version != "$(QTDIR)" && version != "$(DefaultQtVersion)")
- {
- // Make it possible to specify the version name
- // via an environment variable
- System.Text.RegularExpressions.Regex regExp =
- new System.Text.RegularExpressions.Regex("\\$\\((?<VarName>\\S+)\\)");
- System.Text.RegularExpressions.Match match = regExp.Match(version);
- if (match.Success)
- {
- string env = match.Groups["VarName"].Value;
- version = System.Environment.GetEnvironmentVariable(env);
- }
- }
- }
-
- public bool SaveSolutionQtVersion(EnvDTE.Solution solution, string version)
- {
- if (!IsVersionAvailable(version) && version != "$(DefaultQtVersion)")
- return false;
- solution.Globals["Qt5Version"] = version;
- if (!solution.Globals.get_VariablePersists("Qt5Version"))
- solution.Globals.set_VariablePersists("Qt5Version", true);
- return true;
- }
-
- public string GetSolutionQtVersion(EnvDTE.Solution solution)
- {
- if (solution == null)
- return null;
-
- if (solution.Globals.get_VariableExists("Qt5Version"))
- {
- string version = (string)solution.Globals["Qt5Version"];
- return VerifyIfQtVersionExists(version) ? version : null;
- }
-
- return null;
- }
-
- public string GetDefaultVersion()
- {
- return GetDefaultVersion(Registry.CurrentUser);
- }
-
- public string GetDefaultVersion(RegistryKey root)
- {
- string defaultVersion = null;
- try
- {
- RegistryKey key = root.OpenSubKey("SOFTWARE\\" + regVersionPath, false);
- if (key != null)
- defaultVersion = (string)key.GetValue("DefaultQtVersion");
- }
- catch
- {
- Messages.DisplayWarningMessage(SR.GetString("QtVersionManager_CannotLoadQtVersion"));
- }
-
- if (defaultVersion == null)
- {
- MergeVersions();
- RegistryKey key = root.OpenSubKey("SOFTWARE\\" + regVersionPath, false);
- if (key != null)
- {
- string[] versions = GetVersions();
- if (versions != null && versions.Length > 0)
- defaultVersion = versions[versions.Length-1];
- if (defaultVersion != null)
- SaveDefaultVersion(defaultVersion);
- }
- if (defaultVersion == null)
- {
- // last fallback... try QTDIR
- string qtDir = System.Environment.GetEnvironmentVariable("QTDIR");
- if (qtDir == null)
- return null;
- DirectoryInfo d = new DirectoryInfo(qtDir);
- SaveVersion(d.Name, d.FullName);
- if (SaveDefaultVersion(d.Name))
- defaultVersion = d.Name;
- }
- }
- return VerifyIfQtVersionExists(defaultVersion) ? defaultVersion : null;
- }
-
- public bool SaveDefaultVersion(string version)
- {
- if (version == "$(DefaultQtVersion)")
- return false;
- RegistryKey key = Registry.CurrentUser.CreateSubKey("SOFTWARE\\" + regVersionPath);
- if (key == null)
- return false;
- key.SetValue("DefaultQtVersion", version);
- return true;
- }
-
- public static bool HasProjectQtVersion(EnvDTE.Project project)
- {
- if (project == null)
- return false;
- string platform = project.ConfigurationManager.ActiveConfiguration.PlatformName;
- if (project.Globals.get_VariablePersists("Qt5Version " + platform)
- || project.Globals.get_VariablePersists("Qt5Version"))
- return true;
- else
- return false;
- }
-
- private void MergeVersions()
- {
- string[] hkcuVersions = GetVersions();
- string[] hklmVersions = GetVersions(Registry.LocalMachine);
-
- string[] hkcuInstDirs = new string[hkcuVersions.Length];
- for (int i=0; i<hkcuVersions.Length; ++i)
- hkcuInstDirs[i] = GetInstallPath(hkcuVersions[i]);
- string[] hklmInstDirs = new string[hklmVersions.Length];
- for (int i=0; i<hklmVersions.Length; ++i)
- hklmInstDirs[i] = GetInstallPath(hklmVersions[i], Registry.LocalMachine);
-
- for (int i=0; i<hklmVersions.Length; ++i)
- {
- if (hklmInstDirs[i] == null)
- continue;
-
- bool found = false;
- for (int j=0; j<hkcuInstDirs.Length; ++j)
- {
- if (hkcuInstDirs[j] != null
- && hkcuInstDirs[j].ToLower() == hklmInstDirs[i].ToLower())
- {
- found = true;
- break;
- }
- }
- if (!found)
- {
- for (int j=0; j<hkcuVersions.Length; ++j)
- {
- if (hkcuVersions[j] != null
- && hkcuVersions[j] == hklmVersions[i])
- {
- found = true;
- break;
- }
- }
- if (!found)
- SaveVersion(hklmVersions[i], hklmInstDirs[i]);
- }
- }
- }
-
- private bool VerifyIfQtVersionExists(string version)
- {
- if (version == "$(DefaultQtVersion)")
- version = GetDefaultVersion();
- if (version != null && version.Length > 0) {
- System.Text.RegularExpressions.Regex regExp =
- new System.Text.RegularExpressions.Regex("\\$\\(.*\\)");
- if (regExp.IsMatch(version))
- return true;
- return Directory.Exists(GetInstallPath(version));
- }
-
- return false;
- }
- }
-}
diff --git a/Qt4VS2003/QtProjectLib/RccOptions.cs b/Qt4VS2003/QtProjectLib/RccOptions.cs
deleted file mode 100644
index cf0bdd7c..00000000
--- a/Qt4VS2003/QtProjectLib/RccOptions.cs
+++ /dev/null
@@ -1,183 +0,0 @@
-/****************************************************************************
-**
-** Copyright (C) 2016 The Qt Company Ltd.
-** Contact: https://www.qt.io/licensing/
-**
-** This file is part of the Qt VS Add-in.
-**
-** $QT_BEGIN_LICENSE:GPL-EXCEPT$
-** Commercial License Usage
-** Licensees holding valid commercial Qt licenses may use this file in
-** accordance with the commercial license agreement provided with the
-** Software or, alternatively, in accordance with the terms contained in
-** a written agreement between you and The Qt Company. For licensing terms
-** and conditions see https://www.qt.io/terms-conditions. For further
-** information use the contact form at https://www.qt.io/contact-us.
-**
-** GNU General Public License Usage
-** Alternatively, this file may be used under the terms of the GNU
-** General Public License version 3 as published by the Free Software
-** Foundation with exceptions as appearing in the file LICENSE.GPL3-EXCEPT
-** included in the packaging of this file. Please review the following
-** information to ensure the GNU General Public License requirements will
-** be met: https://www.gnu.org/licenses/gpl-3.0.html.
-**
-** $QT_END_LICENSE$
-**
-****************************************************************************/
-
-using System;
-using System.ComponentModel;
-using System.Windows.Forms.Design;
-using Microsoft.VisualStudio.VCProjectEngine;
-
-namespace Digia.Qt5ProjectLib
-{
- /// <summary>
- /// Summary description for RccOptions.
- /// </summary>
- public class RccOptions
- {
- private EnvDTE.Project project;
- private string id;
- private string name;
- private string qrcFileName;
-
- public RccOptions(EnvDTE.Project pro, VCFile qrcFile)
- {
- project = pro;
- id = qrcFile.RelativePath;
- qrcFileName = qrcFile.FullPath;
- name = id;
- if (id.StartsWith(".\\"))
- name = name.Substring(2);
- if (name.EndsWith(".qrc"))
- name = name.Substring(0, name.Length-4);
- }
-
- #region Properties
- public string Prefix
- {
- get
- {
- if (project.Globals.get_VariablePersists("RccPrefix"+id))
- return (string)project.Globals["RccPrefix"+id];
- else
- return "/" + project.Name;
- }
- set
- {
- project.Globals["RccPrefix" + id] = value;
- if (!project.Globals.get_VariablePersists("RccPrefix" + id))
- project.Globals.set_VariablePersists("RccPrefix" + id, true);
- }
- }
-
- public bool CompressFiles
- {
- get
- {
- if (project.Globals.get_VariablePersists("RccCompressFiles"+id)
- && (string)project.Globals["RccCompressFiles"+id] == "true")
- return true;
- else
- return false;
- }
- set
- {
- if (value)
- project.Globals["RccCompressFiles"+id] = "true";
- else
- project.Globals["RccCompressFiles"+id] = "false";
- if (!project.Globals.get_VariablePersists("RccCompressFiles" + id))
- project.Globals.set_VariablePersists("RccCompressFiles" + id, true);
- }
- }
-
- public int CompressLevel
- {
- get
- {
- if (project.Globals.get_VariablePersists("RccCompressLevel"+id))
- return Convert.ToInt32((string)project.Globals["RccCompressLevel"+id], 10);
- else
- return 0;
- }
- set
- {
- project.Globals["RccCompressLevel"+id] = value.ToString();
- if (!project.Globals.get_VariablePersists("RccCompressLevel" + id))
- project.Globals.set_VariablePersists("RccCompressLevel" + id, true);
- }
- }
-
- public int CompressThreshold
- {
- get
- {
- if (project.Globals.get_VariablePersists("RccCompressThreshold"+id))
- return Convert.ToInt32((string)project.Globals["RccCompressThreshold"+id], 10);
- else
- return 0;
- }
- set
- {
- project.Globals["RccCompressThreshold"+id] = value.ToString();
- if (!project.Globals.get_VariablePersists("RccCompressThreshold" + id))
- project.Globals.set_VariablePersists("RccCompressThreshold" + id, true);
- }
- }
-
- public string OutputFileName
- {
- get
- {
- if (project.Globals.get_VariablePersists("RccOutput"+id))
- {
- return (string)project.Globals["RccOutput"+id];
- }
- else
- {
- string s = name.Replace('\\', '/');
- s = s.Substring(s.LastIndexOf('/')+1);
- return "qrc_" + s + ".cpp";
- }
- }
- set
- {
- project.Globals["RccOutput"+id] = value;
- if (!project.Globals.get_VariablePersists("RccOutput" + id))
- project.Globals.set_VariablePersists("RccOutput" + id, true);
- }
- }
-
- public string QrcFileName
- {
- get { return qrcFileName; }
- }
-
- public string InitName
- {
- get
- {
- if (project.Globals.get_VariablePersists("RccInitName"+id))
- {
- return (string)project.Globals["RccInitName"+id];
- }
- else
- {
- string s = name.Replace('\\', '/');
- s = s.Substring(s.LastIndexOf('/')+1);
- return s;
- }
- }
- set
- {
- project.Globals["RccInitName"+id] = value;
- if (!project.Globals.get_VariablePersists("RccInitName" + id))
- project.Globals.set_VariablePersists("RccInitName" + id, true);
- }
- }
- #endregion
- }
-}
diff --git a/Qt4VS2003/QtProjectLib/ResClass.cs b/Qt4VS2003/QtProjectLib/ResClass.cs
deleted file mode 100644
index 1f0d64cd..00000000
--- a/Qt4VS2003/QtProjectLib/ResClass.cs
+++ /dev/null
@@ -1,168 +0,0 @@
-/****************************************************************************
-**
-** Copyright (C) 2016 The Qt Company Ltd.
-** Contact: https://www.qt.io/licensing/
-**
-** This file is part of the Qt VS Add-in.
-**
-** $QT_BEGIN_LICENSE:GPL-EXCEPT$
-** Commercial License Usage
-** Licensees holding valid commercial Qt licenses may use this file in
-** accordance with the commercial license agreement provided with the
-** Software or, alternatively, in accordance with the terms contained in
-** a written agreement between you and The Qt Company. For licensing terms
-** and conditions see https://www.qt.io/terms-conditions. For further
-** information use the contact form at https://www.qt.io/contact-us.
-**
-** GNU General Public License Usage
-** Alternatively, this file may be used under the terms of the GNU
-** General Public License version 3 as published by the Free Software
-** Foundation with exceptions as appearing in the file LICENSE.GPL3-EXCEPT
-** included in the packaging of this file. Please review the following
-** information to ensure the GNU General Public License requirements will
-** be met: https://www.gnu.org/licenses/gpl-3.0.html.
-**
-** $QT_END_LICENSE$
-**
-****************************************************************************/
-
-namespace Digia.Qt5ProjectLib
-{
- using System;
- using System.Globalization;
- using System.Resources;
- using System.Threading;
- using System.ComponentModel;
-
- [AttributeUsage(AttributeTargets.All)]
- internal sealed class SRDescriptionAttribute : DescriptionAttribute
- {
-
- private bool replaced = false;
-
- /// <summary>
- /// Constructs a new sys description.
- /// </summary>
- /// <param name='description'>
- /// description text.
- /// </param>
- public SRDescriptionAttribute(string description)
- : base(description)
- {
- }
-
- /// <summary>
- /// Retrieves the description text.
- /// </summary>
- /// <returns>
- /// description
- /// </returns>
- public override string Description
- {
- get
- {
- if (!replaced)
- {
- replaced = true;
- DescriptionValue = SR.GetString(base.Description);
- }
- return base.Description;
- }
- }
- }
-
- [AttributeUsage(AttributeTargets.All)]
- internal sealed class SRCategoryAttribute : CategoryAttribute
- {
-
- public SRCategoryAttribute(string category)
- : base(category)
- {
- }
-
- protected override string GetLocalizedString(string value)
- {
- return SR.GetString(value);
- }
- }
-
- internal sealed class SR
- {
- static SR loader = null;
- ResourceManager resources;
-
- internal SR()
- {
- resources = new System.Resources.ResourceManager("Digia.Qt5ProjectLib.ProjectLibStringResources", this.GetType().Assembly);
- }
-
- private static SR GetLoader()
- {
- if (loader == null)
- {
- lock (typeof(SR))
- {
- if (loader == null)
- {
- loader = new SR();
- }
- }
- }
-
- return loader;
- }
-
- private static CultureInfo Culture
- {
- get { return null/*use ResourceManager default, CultureInfo.CurrentUICulture*/; }
- //get { return new CultureInfo("de-DE"); }
- }
-
- public static ResourceManager Resources
- {
- get
- {
- return GetLoader().resources;
- }
- }
-
- public static String LanguageName
- {
- get { return Thread.CurrentThread.CurrentUICulture.TwoLetterISOLanguageName; }
- //get { return Culture.TwoLetterISOLanguageName; }
- }
-
- public static string GetString(string name, params object[] args)
- {
- SR sys = GetLoader();
- if (sys == null)
- return null;
- string res = sys.resources.GetString(name, SR.Culture);
-
- if (args != null && args.Length > 0)
- {
- return String.Format(res, args);
- }
- else
- {
- return res;
- }
- }
-
- public static string GetString(string name)
- {
- SR sys = GetLoader();
- if (sys == null)
- return null;
- return sys.resources.GetString(name, SR.Culture);
- }
-
- public static object GetObject(string name)
- {
- SR sys = GetLoader();
- if (sys == null)
- return null;
- return sys.resources.GetObject(name, SR.Culture);
- }
- }
-}
diff --git a/Qt4VS2003/QtProjectLib/Resources.cs b/Qt4VS2003/QtProjectLib/Resources.cs
deleted file mode 100644
index 56ee5b94..00000000
--- a/Qt4VS2003/QtProjectLib/Resources.cs
+++ /dev/null
@@ -1,195 +0,0 @@
-/****************************************************************************
-**
-** Copyright (C) 2016 The Qt Company Ltd.
-** Contact: https://www.qt.io/licensing/
-**
-** This file is part of the Qt VS Add-in.
-**
-** $QT_BEGIN_LICENSE:GPL-EXCEPT$
-** Commercial License Usage
-** Licensees holding valid commercial Qt licenses may use this file in
-** accordance with the commercial license agreement provided with the
-** Software or, alternatively, in accordance with the terms contained in
-** a written agreement between you and The Qt Company. For licensing terms
-** and conditions see https://www.qt.io/terms-conditions. For further
-** information use the contact form at https://www.qt.io/contact-us.
-**
-** GNU General Public License Usage
-** Alternatively, this file may be used under the terms of the GNU
-** General Public License version 3 as published by the Free Software
-** Foundation with exceptions as appearing in the file LICENSE.GPL3-EXCEPT
-** included in the packaging of this file. Please review the following
-** information to ensure the GNU General Public License requirements will
-** be met: https://www.gnu.org/licenses/gpl-3.0.html.
-**
-** $QT_END_LICENSE$
-**
-****************************************************************************/
-
-namespace Digia.Qt5ProjectLib
-{
- /// <summary>
- /// Summary description for Resources.
- /// </summary>
- public class Resources
- {
- // export things
- public const string exportProHeader =
-"# ----------------------------------------------------\r\n" +
-"# This file is generated by the Qt Visual Studio Add-in.\r\n" +
-"# ------------------------------------------------------\r\n" +
-"\r\n" +
-"# This is a reminder that you are using a generated .pro file.\r\n" +
-"# Remove it when you are finished editing this file.\r\n" +
-"message(\"You are running qmake on a generated .pro file. This may not work!\")\r\n" +
-"\r\n";
-
- public const string exportSolutionHeader =
-"# ----------------------------------------------------\r\n" +
-"# This file is generated by the Qt Visual Studio Add-in.\r\n" +
-"# ------------------------------------------------------\r\n" +
-"\r\n" +
-"# This is a reminder that you are using a generated .pro file.\r\n" +
-"# Remove it when you are finished editing this file.\r\n" +
-"message(\"You are running qmake on a generated .pro file. This may not work!\")\r\n" +
-"\r\n";
-
- public const string exportPriHeader =
-"# ----------------------------------------------------\r\n" +
-"# This file is generated by the Qt Visual Studio Add-in.\r\n" +
-"# ------------------------------------------------------\r\n";
-
- public const string ec_Template = "(TEMPLATE) Template.";
- public const string ec_Translations = "(TRANSLATIONS) Translation files.";
- public const string ec_rcFile = "(win32:RC_FILE) .rc file on windows.";
- public const string ec_Target = "(TARGET) Target name.";
- public const string ec_DestDir = "(DESTDIR) Destination directory.";
- public const string ec_Qt = "(QT) Additional QT options.";
- public const string ec_Config = "(CONFIG) Additional CONFIG options.";
- public const string ec_IncludePath = "(INCLUDEPATH) Additional include paths.";
- public const string ec_Libs = "(LIBS) Additional library dependencies.";
- public const string ec_PrecompiledHeader = "(PRECOMPILED_HEADER) Using precompiled headers.";
- public const string ec_DependPath = "(DEPENDPATH) Additional paths the project depends on.";
- public const string ec_Include = "Included .pri files.";
- public const string ec_Resources = "(RESOURCES) Resource files.";
- public const string ec_ObjDir = "(OBJECTS_DIR) Location where obj files are placed.";
- public const string ec_MocDir = "(MOC_DIR) Location where moc files are placed.";
- public const string ec_UiDir = "(UI_DIR) Location where ui files are compiled to.";
- public const string ec_RccDir = "(RCC_DIR) Location where qrc files are compiled to.";
- public const string ec_Defines = "(DEFINES) Additional project defines.";
-
- public const string qtProjectKeyword = "Qt4VS";
- public const string qtSheetKeyword = qtProjectKeyword + "PropertySheet";
-
- public const string uic4Command = "$(QTDIR)\\bin\\uic.exe";
- public const string moc4Command = "$(QTDIR)\\bin\\moc.exe";
- public const string rcc4Command = "$(QTDIR)\\bin\\rcc.exe";
- public const string lupdateCommand = "\\bin\\lupdate.exe";
- public const string lreleaseCommand = "\\bin\\lrelease.exe";
-
- #region path
- // All defined paths have to be relative to the project directory!!!
-
- public const string resourceDir = "Resources";
-
- // If those directories do not equal to the project directory
- // they have to be added to the include directories for
- // compiling!
- public const string generatedFilesDir = "GeneratedFiles";
- #endregion
-
- public static string msgBoxCaption = SR.GetString("Resources_QtVisualStudioIntegration");
-
- public const string mocDirKeyword = "MocDir";
- public const string mocOptionsKeyword = "MocOptions";
- public const string uicDirKeyword = "UicDir";
- public const string rccDirKeyword = "RccDir";
- public const string lupdateKeyword = "lupdateOnBuild";
- public const string lupdateOptionsKeyword = "lupdateOptions";
- public const string lreleaseOptionsKeyword = "lreleaseOptions";
- public const string askBeforeCheckoutFileKeyword = "askBeforeCheckoutFile";
- public const string disableCheckoutFilesKeyword = "disableCheckoutFiles";
- public const string disableAutoMocStepsUpdateKeyword = "disableAutoMocStepsUpdate";
-
- public const string registryRootPath = "Digia";
-
-#if VS2013
- public const string registryPackagePath = registryRootPath + "\\Qt5VS2013";
-#elif VS2015
- public const string registryPackagePath = registryRootPath + "\\Qt5VS2015";
-#else
-#error Unknown Visual Studio version!
-#endif
- public const string registryVersionPath = registryRootPath + "\\Versions";
- }
-
- public class Filters
- {
- public static FakeFilter SourceFiles()
- {
- FakeFilter f = new FakeFilter();
- f.UniqueIdentifier = "{4FC737F1-C7A5-4376-A066-2A32D752A2FF}";
- f.Name = SR.GetString("Resources_SourceFiles");
- f.Filter = "cpp;cxx;c;def";
- return f;
- }
-
- public static FakeFilter HeaderFiles()
- {
- FakeFilter f = new FakeFilter();
- f.UniqueIdentifier = "{93995380-89BD-4b04-88EB-625FBE52EBFB}";
- f.Name = SR.GetString("Resources_HeaderFiles");
- f.Filter = "h";
- return f;
- }
-
- public static FakeFilter FormFiles()
- {
- FakeFilter f = new FakeFilter();
- f.UniqueIdentifier = "{99349809-55BA-4b9d-BF79-8FDBB0286EB3}";
- f.Name = SR.GetString("Resources_FormFiles");
- f.Filter = "ui";
- return f;
- }
-
- public static FakeFilter ResourceFiles()
- {
- FakeFilter f = new FakeFilter();
- f.UniqueIdentifier = "{D9D6E242-F8AF-46E4-B9FD-80ECBC20BA3E}";
- f.Name = SR.GetString("Resources_ResourceFiles");
- f.ParseFiles = false;
- f.Filter = "qrc;*";
- return f;
- }
-
- public static FakeFilter TranslationFiles()
- {
- FakeFilter f = new FakeFilter();
- f.UniqueIdentifier = "{639EADAA-A684-42e4-A9AD-28FC9BCB8F7C}";
- f.Name = SR.GetString("Resources_TranslationFiles");
- f.Filter = "ts";
- f.ParseFiles = false;
- return f;
- }
-
- public static FakeFilter GeneratedFiles()
- {
- FakeFilter f = new FakeFilter();
- f.UniqueIdentifier = "{71ED8ED8-ACB9-4CE9-BBE1-E00B30144E11}";
- f.Name = SR.GetString("Resources_GeneratedFiles");
- f.Filter = "moc;h;cpp";
- f.SCCFiles = false;
- return f;
- }
-
- public static FakeFilter OtherFiles()
- {
- FakeFilter f = new FakeFilter();
- f.UniqueIdentifier = "{B67473BF-9FA1-4674-831E-CB28F72D4791}";
- f.Name = SR.GetString("Resources_OtherFiles");
- f.Filter = "*";
- f.SCCFiles = false;
- return f;
- }
- }
-}
diff --git a/Qt4VS2003/QtProjectLib/VersionInformation.cs b/Qt4VS2003/QtProjectLib/VersionInformation.cs
deleted file mode 100644
index 1a01f389..00000000
--- a/Qt4VS2003/QtProjectLib/VersionInformation.cs
+++ /dev/null
@@ -1,216 +0,0 @@
-/****************************************************************************
-**
-** Copyright (C) 2016 The Qt Company Ltd.
-** Contact: https://www.qt.io/licensing/
-**
-** This file is part of the Qt VS Add-in.
-**
-** $QT_BEGIN_LICENSE:GPL-EXCEPT$
-** Commercial License Usage
-** Licensees holding valid commercial Qt licenses may use this file in
-** accordance with the commercial license agreement provided with the
-** Software or, alternatively, in accordance with the terms contained in
-** a written agreement between you and The Qt Company. For licensing terms
-** and conditions see https://www.qt.io/terms-conditions. For further
-** information use the contact form at https://www.qt.io/contact-us.
-**
-** GNU General Public License Usage
-** Alternatively, this file may be used under the terms of the GNU
-** General Public License version 3 as published by the Free Software
-** Foundation with exceptions as appearing in the file LICENSE.GPL3-EXCEPT
-** included in the packaging of this file. Please review the following
-** information to ensure the GNU General Public License requirements will
-** be met: https://www.gnu.org/licenses/gpl-3.0.html.
-**
-** $QT_END_LICENSE$
-**
-****************************************************************************/
-
-namespace Digia.Qt5ProjectLib
-{
- using System;
- using System.IO;
- using System.Runtime.InteropServices;
- using System.Text.RegularExpressions;
-
- public class VersionInformation
- {
- //fields
- public string qtDir = null;
- public uint qtMajor = 0; // X in version x.y.z
- public uint qtMinor = 0; // Y in version x.y.z
- public uint qtPatch = 0; // Z in version x.y.z
- public bool qt5Version = true;
- private QtConfig qtConfig = null;
- private QMakeConf qmakeConf = null;
- private string vsPlatformName = null;
-
- public VersionInformation(string qtDirIn)
- {
- if (qtDirIn == null)
- qtDir = Environment.GetEnvironmentVariable("QTDIR");
- else
- qtDir = qtDirIn;
-
- if (qtDir == null)
- return;
-
- // make QtDir more consistent
- qtDir = new FileInfo(qtDir).FullName.ToLower(); // ### do we really need to convert qtDir to lower case?
-
- SetupPlatformSpecificData();
-
- // Find version number
- try
- {
- QMakeQuery qmakeQuery = new QMakeQuery(this);
- string strVersion = qmakeQuery.query("QT_VERSION");
- if (qmakeQuery.ErrorValue == 0 && strVersion.Length > 0)
- {
- string[] versionParts = strVersion.Split('.');
- if (versionParts.Length != 3)
- {
- qtDir = null;
- return;
- }
- qtMajor = uint.Parse(versionParts[0]);
- qtMinor = uint.Parse(versionParts[1]);
- qtPatch = uint.Parse(versionParts[2]);
- }
- else
- {
- StreamReader inF = new StreamReader(Locate_qglobal_h());
- Regex rgxpVersion = new Regex("#define\\s*QT_VERSION\\s*0x(?<number>\\d+)", RegexOptions.Multiline);
- string contents = inF.ReadToEnd();
- inF.Close();
- Match matchObj = rgxpVersion.Match(contents);
- if (!matchObj.Success)
- {
- qtDir = null;
- return;
- }
-
- strVersion = matchObj.Groups[1].ToString();
- uint version = Convert.ToUInt32(strVersion, 16);
- qtMajor = version >> 16;
- qtMinor = (version >> 8) & 0xFF;
- qtPatch = version & 0xFF;
- }
-
- if (qtMajor == 5)
- {
- qt5Version = true;
- }
- else
- {
- qt5Version = false;
- }
- }
- catch(Exception /*e*/)
- {
- qtDir = null;
- }
- }
-
- public bool IsStaticBuild()
- {
- if (qtConfig == null)
- qtConfig = new QtConfig(qtDir);
- return qtConfig.IsStaticBuild;
- }
-
- public string GetSignatureFile()
- {
- if (qtConfig == null)
- qtConfig = new QtConfig(qtDir);
- return qtConfig.SignatureFile;
- }
-
- public string GetQMakeConfEntry(string entryName)
- {
- if (qmakeConf == null)
- qmakeConf = new QMakeConf(this);
- return qmakeConf.Get(entryName);
- }
-
- /// <summary>
- /// Returns the platform name in a way Visual Studio understands.
- /// </summary>
- public string GetVSPlatformName()
- {
- return vsPlatformName;
- }
-
- /// <summary>
- /// Read platform name from qmake.conf.
- /// </summary>
- private void SetupPlatformSpecificData()
- {
- if (qmakeConf == null)
- qmakeConf = new QMakeConf(this); // TODO: Do we need this?
- vsPlatformName = (is64Bit()) ? @"x64" : @"Win32";
- }
-
- private String Locate_qglobal_h()
- {
- string[] candidates = {qtDir + "\\include\\qglobal.h",
- qtDir + "\\src\\corelib\\global\\qglobal.h",
- qtDir + "\\include\\QtCore\\qglobal.h"};
-
- foreach (string filename in candidates)
- {
- if (File.Exists(filename))
- {
- // check whether we look at the real qglobal.h or just a "pointer"
- StreamReader inF = new StreamReader(filename);
- Regex rgxpVersion = new Regex("#include\\s+\"(.+global.h)\"", RegexOptions.Multiline);
- Match matchObj = rgxpVersion.Match(inF.ReadToEnd());
- inF.Close();
- if (!matchObj.Success)
- return filename;
-
- if (matchObj.Groups.Count >= 2)
- {
- string origCurrentDirectory = Directory.GetCurrentDirectory();
- Directory.SetCurrentDirectory(filename.Substring(0, filename.Length - 10)); // remove "\\qglobal.h"
- string absIncludeFile = Path.GetFullPath(matchObj.Groups[1].ToString());
- Directory.SetCurrentDirectory(origCurrentDirectory);
- if (File.Exists(absIncludeFile))
- return absIncludeFile;
- }
- }
- }
-
- throw new QtVSException("qglobal.h not found");
- }
-
- [DllImport("kernel32.dll", SetLastError = true)]
- private static extern int GetBinaryTypeA(string lpApplicationName, ref int lpBinaryType);
-
- public bool is64Bit()
- {
- // ### This does not work for x64 cross builds of Qt.
- // ### In that case qmake.exe is 32 bit but the DLLs are 64 bit.
- // ### So actually we should check QtCore4.dll / QtCored4.dll instead.
- // ### Unfortunately there's no Win API for checking the architecture of DLLs.
- // ### We must read the PE header instead.
- string fileToCheck = qtDir + "\\bin\\qmake.exe";
- if (!File.Exists(fileToCheck))
- throw new QtVSException("Can't find " + fileToCheck);
-
- const int SCS_32BIT_BINARY = 0;
- const int SCS_64BIT_BINARY = 6;
- int binaryType = 0;
- bool success = GetBinaryTypeA(fileToCheck, ref binaryType) != 0;
- if (!success)
- throw new QtVSException("GetBinaryTypeA failed");
-
- if (binaryType == SCS_32BIT_BINARY)
- return false;
- else if (binaryType == SCS_64BIT_BINARY)
- return true;
-
- throw new QtVSException("GetBinaryTypeA return unknown executable format for " + fileToCheck);
- }
- }
-}
diff --git a/Qt4VS2003/ResourceItems/bitmap.bmp b/Qt4VS2003/ResourceItems/bitmap.bmp
deleted file mode 100644
index 1f07309b..00000000
--- a/Qt4VS2003/ResourceItems/bitmap.bmp
+++ /dev/null
Binary files differ
diff --git a/Qt4VS2003/ResourceItems/bmp.xml b/Qt4VS2003/ResourceItems/bmp.xml
deleted file mode 100644
index dcd24b7a..00000000
--- a/Qt4VS2003/ResourceItems/bmp.xml
+++ /dev/null
@@ -1,5 +0,0 @@
-<?xml version="1.0" encoding="utf-8" ?>
-<QtResourceType Name="Bitmap File">
- <TemplateFile>bitmap.bmp</TemplateFile>
- <Icon>bmpicon.bmp</Icon>
-</QtResourceType>
diff --git a/Qt4VS2003/ResourceItems/bmpicon.bmp b/Qt4VS2003/ResourceItems/bmpicon.bmp
deleted file mode 100644
index 10382838..00000000
--- a/Qt4VS2003/ResourceItems/bmpicon.bmp
+++ /dev/null
Binary files differ
diff --git a/Qt4VS2003/ResourceItems/form.ui b/Qt4VS2003/ResourceItems/form.ui
deleted file mode 100644
index 5d1b22ca..00000000
--- a/Qt4VS2003/ResourceItems/form.ui
+++ /dev/null
@@ -1,18 +0,0 @@
-<ui version="4.0" >
- <comment></comment>
- <class>Form</class>
- <widget class="QWidget" >
- <property name="geometry" >
- <rect>
- <x>0</x>
- <y>0</y>
- <width>400</width>
- <height>300</height>
- </rect>
- </property>
- <property name="objectName" >
- <string notr="true" >Form</string>
- </property>
- </widget>
- <pixmapfunction></pixmapfunction>
-</ui>
diff --git a/Qt4VS2003/ResourceItems/htm.xml b/Qt4VS2003/ResourceItems/htm.xml
deleted file mode 100644
index 0c1cb024..00000000
--- a/Qt4VS2003/ResourceItems/htm.xml
+++ /dev/null
@@ -1,5 +0,0 @@
-<?xml version="1.0" encoding="utf-8" ?>
-<QtResourceType Name="HTML Page">
- <TemplateFile>page.htm</TemplateFile>
- <Icon>htmicon.bmp</Icon>
-</QtResourceType>
diff --git a/Qt4VS2003/ResourceItems/htmicon.bmp b/Qt4VS2003/ResourceItems/htmicon.bmp
deleted file mode 100644
index 315ae0de..00000000
--- a/Qt4VS2003/ResourceItems/htmicon.bmp
+++ /dev/null
Binary files differ
diff --git a/Qt4VS2003/ResourceItems/image.png b/Qt4VS2003/ResourceItems/image.png
deleted file mode 100644
index 0e7277f5..00000000
--- a/Qt4VS2003/ResourceItems/image.png
+++ /dev/null
Binary files differ
diff --git a/Qt4VS2003/ResourceItems/page.htm b/Qt4VS2003/ResourceItems/page.htm
deleted file mode 100644
index 3e76b374..00000000
--- a/Qt4VS2003/ResourceItems/page.htm
+++ /dev/null
@@ -1,10 +0,0 @@
-<HTML>
-<HEAD>
-<TITLE></TITLE>
-</HEAD>
-<BODY>
-
-
-
-</BODY>
-</HTML> \ No newline at end of file
diff --git a/Qt4VS2003/ResourceItems/png.xml b/Qt4VS2003/ResourceItems/png.xml
deleted file mode 100644
index 4a66efa2..00000000
--- a/Qt4VS2003/ResourceItems/png.xml
+++ /dev/null
@@ -1,5 +0,0 @@
-<?xml version="1.0" encoding="utf-8" ?>
-<QtResourceType Name="PNG Image">
- <TemplateFile>image.png</TemplateFile>
- <Icon>pngicon.bmp</Icon>
-</QtResourceType>
diff --git a/Qt4VS2003/ResourceItems/pngicon.bmp b/Qt4VS2003/ResourceItems/pngicon.bmp
deleted file mode 100644
index fc6f99eb..00000000
--- a/Qt4VS2003/ResourceItems/pngicon.bmp
+++ /dev/null
Binary files differ
diff --git a/Qt4VS2003/ResourceItems/text.txt b/Qt4VS2003/ResourceItems/text.txt
deleted file mode 100644
index 0519ecba..00000000
--- a/Qt4VS2003/ResourceItems/text.txt
+++ /dev/null
@@ -1 +0,0 @@
- \ No newline at end of file
diff --git a/Qt4VS2003/ResourceItems/txt.xml b/Qt4VS2003/ResourceItems/txt.xml
deleted file mode 100644
index d50f9bb1..00000000
--- a/Qt4VS2003/ResourceItems/txt.xml
+++ /dev/null
@@ -1,5 +0,0 @@
-<?xml version="1.0" encoding="utf-8" ?>
-<QtResourceType Name="Text File">
- <TemplateFile>text.txt</TemplateFile>
- <Icon>txticon.bmp</Icon>
-</QtResourceType>
diff --git a/Qt4VS2003/ResourceItems/txticon.bmp b/Qt4VS2003/ResourceItems/txticon.bmp
deleted file mode 100644
index c96c2089..00000000
--- a/Qt4VS2003/ResourceItems/txticon.bmp
+++ /dev/null
Binary files differ
diff --git a/Qt4VS2003/ResourceItems/ui.xml b/Qt4VS2003/ResourceItems/ui.xml
deleted file mode 100644
index 0904b9ca..00000000
--- a/Qt4VS2003/ResourceItems/ui.xml
+++ /dev/null
@@ -1,5 +0,0 @@
-<?xml version="1.0" encoding="utf-8" ?>
-<QtResourceType Name="Qt Designer Form">
- <TemplateFile>form.ui</TemplateFile>
- <Icon>uiicon.bmp</Icon>
-</QtResourceType>
diff --git a/Qt4VS2003/ResourceItems/uiicon.bmp b/Qt4VS2003/ResourceItems/uiicon.bmp
deleted file mode 100644
index d191779e..00000000
--- a/Qt4VS2003/ResourceItems/uiicon.bmp
+++ /dev/null
Binary files differ
diff --git a/Qt4VS2003/ResourceItems/xml.xml b/Qt4VS2003/ResourceItems/xml.xml
deleted file mode 100644
index 658dcfc9..00000000
--- a/Qt4VS2003/ResourceItems/xml.xml
+++ /dev/null
@@ -1,5 +0,0 @@
-<?xml version="1.0" encoding="utf-8" ?>
-<QtResourceType Name="XML File">
- <TemplateFile>xmlfile.xml</TemplateFile>
- <Icon>xmlicon.bmp</Icon>
-</QtResourceType>
diff --git a/Qt4VS2003/ResourceItems/xmlfile.xml b/Qt4VS2003/ResourceItems/xmlfile.xml
deleted file mode 100644
index 42c1bdf9..00000000
--- a/Qt4VS2003/ResourceItems/xmlfile.xml
+++ /dev/null
@@ -1 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?> \ No newline at end of file
diff --git a/Qt4VS2003/ResourceItems/xmlicon.bmp b/Qt4VS2003/ResourceItems/xmlicon.bmp
deleted file mode 100644
index 330ffb9d..00000000
--- a/Qt4VS2003/ResourceItems/xmlicon.bmp
+++ /dev/null
Binary files differ
diff --git a/Qt4VS2003/Templates.txt b/Qt4VS2003/Templates.txt
deleted file mode 100644
index d66f5898..00000000
--- a/Qt4VS2003/Templates.txt
+++ /dev/null
@@ -1,46 +0,0 @@
-Directory Structure for VS Qt Templates
-=======================================
-
-
-- TemplateBasePath (e.g. c:\program files\trolltech)
- - VS
- - Items
- [...\depot\addons\main\windows\Qt4VS\Qt4VS2003\Items\QtUiFile]\Qt4UiFile.vsdir
- - ProjectItems
- [...\depot\addons\main\windows\Qt4VS\Qt4VS2003\Items\QtUiFile]\Qt4UiFile.vsdir
- - Projects
- [...\depot\addons\main\windows\Qt4VS\Qt4VS2003\Projects\Qt4ConsoleProject\vsz]\Qt4ConsoleProject.vsz
- [...\depot\addons\main\windows\Qt4VS\Qt4VS2003\Projects\Qt4ConsoleProject\vsz]\Qt4ConsoleProject.ico
- [...\depot\addons\main\windows\Qt4VS\Qt4VS2003\Projects\Qt4GuiProject\vsz]\Qt4GuiProject.vsz
- [...\depot\addons\main\windows\Qt4VS\Qt4VS2003\Projects\Qt4GuiProject\vsz]\Qt4GuiProject.vsz
- - Qt4
- [...\depot\addons\main\windows\Qt4VS\Qt4VS2003\Projects\Qt4ConsoleProject\vsz]\Qt4ConsoleProject.vsz
- [...\depot\addons\main\windows\Qt4VS\Qt4VS2003\Projects\Qt4ConsoleProject\vsz]\Qt4ConsoleProject.ico
- [...\depot\addons\main\windows\Qt4VS\Qt4VS2003\Projects\Qt4GuiProject\vsz]\Qt4GuiProject.vsz
- [...\depot\addons\main\windows\Qt4VS\Qt4VS2003\Projects\Qt4GuiProject\vsz]\Qt4GuiProject.vsz
- - Templates
- - Items
- [...\depot\addons\main\windows\Qt4VS\Qt4VS2003\Items\QtUiFile\Templates]\newUiFile.ui
- - Projects
- - Qt4ConsoleProject
- [...\depot\addons\main\windows\Qt4VS\Qt4VS2003\Projects\Qt4ConsoleProject\Templates]\ConsoleTemplate.vcproj
- [...\depot\addons\main\windows\Qt4VS\Qt4VS2003\Projects\Qt4ConsoleProject\Templates]\main.cpp
- - Qt4GuiProject
- [...\depot\addons\main\windows\Qt4VS\Qt4VS2003\Projects\Qt4GuiProject\Templates]\GuiTemplate.vcproj
- [...\depot\addons\main\windows\Qt4VS\Qt4VS2003\Projects\Qt4GuiProject\Templates]\main.cpp
- [...\depot\addons\main\windows\Qt4VS\Qt4VS2003\Projects\Qt4GuiProject\Templates]\mywidget.cpp
- [...\depot\addons\main\windows\Qt4VS\Qt4VS2003\Projects\Qt4GuiProject\Templates]\mywidget.h
- [...\depot\addons\main\windows\Qt4VS\Qt4VS2003\Projects\Qt4GuiProject\Templates]\widget.ui
- - Wizards
- [..\depot\addons\main\windows\Qt4VS\Qt4VS2003\Items\QtGuiClass\Templates]\mywidget.cpp
- [..\depot\addons\main\windows\Qt4VS\Qt4VS2003\Items\QtGuiClass\Templates]\mywidget.h
- [..\depot\addons\main\windows\Qt4VS\Qt4VS2003\Items\QtGuiClass\Templates]\widget.ui
- - Wizards
- [..\depot\addons\main\windows\Qt4VS\Qt4VS2003\Items\QtGuiClass\vsz]\Qt4GuiClass.vsz
- [..\depot\addons\main\windows\Qt4VS\Qt4VS2003\Items\QtGuiClass\vsz]\Qt4GuiClass.ico
-
-
-Set the registry template path:
- RegQt4VS2003.exe /templatepath:"c:\program files\trolltech\\" Qt4VS2003.dll
-
-Make sure to inlcude the path in quotes and that it ends with TWO backslashes!!! \ No newline at end of file
diff --git a/Qt4VS2003/collectInstallerFiles.bat b/Qt4VS2003/collectInstallerFiles.bat
deleted file mode 100644
index 3152be3c..00000000
--- a/Qt4VS2003/collectInstallerFiles.bat
+++ /dev/null
@@ -1,2 +0,0 @@
-@echo off
-perl collectInstallerFiles.pl %1 %2 %3 %4 %5 %6 \ No newline at end of file
diff --git a/Qt4VS2003/collectInstallerFiles.pl b/Qt4VS2003/collectInstallerFiles.pl
deleted file mode 100644
index 40ead5b7..00000000
--- a/Qt4VS2003/collectInstallerFiles.pl
+++ /dev/null
@@ -1,426 +0,0 @@
-#!/usr/bin/perl
-
-use File::Copy;
-use File::Path;
-use Getopt::Long;
-use Cwd 'abs_path';
-
-my $destRootBase = "Y:";
-my $destRootPath = $destRootBase . "\\addin7x";
-
-my %args = ();
-usage() if (!GetOptions("qt" => \$args{qt},
- "addin" => \$args{addin},
- "onlinehelp" => \$args{onlinehelp},
- "templates" => \$args{templates},
- "dest:s"=>\$args{destination},
- "help"=>\$args{help}
- ));
-
-if ($args{help}) {
- usage();
-}
-
-my $copyQt = $args{qt};
-my $copyAddin = $args{addin};
-my $copyHelp = $args{onlinehelp};
-my $copyTemplates = $args{templates};
-
-if ($copyQt eq "" && $copyAddin eq ""
- && $copyHelp eq "" && $copyTemplates eq "") {
- $copyQt = "1";
- $copyAddin = "1";
- $copyHelp = "1";
- $copyTemplates = "1";
-}
-
-if ($args{destination} ne "") {
- $destRootPath = $args{destination};
-}
-
-############################################################
-# retrieve path and version information
-############################################################
-
-my $srcRootPath = abs_path($0);
-
-$srcRootPath =~ s/collectInstallerFiles\.pl//;
-$srcRootPath =~ s|^/(\w)/|$1\:/|; # convert drive letter
-$srcRootPath =~ s|/|\\|g; # convert to backslashes
-$srcRootPath =~ s|\\$||g; # remove trailing \
-
-
-my $qtDir = $ENV{'QTDIR'};
-if ($copyQt eq "1" && $qtDir eq "") {
- die "QTDIR is not set!\n";
-}
-my $outPath = "";
-
-die "Environment variable %VSINSTALLDIR% does not exist.\n" if (!$ENV{VSINSTALLDIR});
-
-#############################################################################
-# Retrieve the VS version by comparing %VSINSTALLDIR% with the common tools #
-# directories. E.g. we have a VS 2005 shell, if and only if %VS80COMNTOOLS% #
-# starts with the value of %VSINSTALLDIR%. #
-#############################################################################
-my $vsVersion = '';
-my $vsVersionLong = '';
-if ($ENV{VS80COMNTOOLS} =~ /^\Q$ENV{VSINSTALLDIR}/) {
- $vsVersion = '8.0';
- $vsVersionLong = "2005";
-} elsif ($ENV{VS90COMNTOOLS} =~ /^\Q$ENV{VSINSTALLDIR}/) {
- $vsVersion = '9.0';
- $vsVersionLong = "2008";
-} elsif ($ENV{VS100COMNTOOLS} =~ /^\Q$ENV{VSINSTALLDIR}/) {
- $vsVersion = '10.0';
- $vsVersionLong = "2010";
-} elsif ($ENV{VS110COMNTOOLS} =~ /^\Q$ENV{VSINSTALLDIR}/) {
- $vsVersion = '11.0';
- $vsVersionLong = "2012";
-}
-
-if (!$vsVersion) {
- die "Cannot determine VS version. Please start this tool within a VS command shell.\n";
-}
-
-my $vsipVersion = "1.0.0";
-my $vsipVersionMajor = 1;
-my $vsipVersionMinor = 0;
-my $vsipVersionPatch = 0;
-opendir(DIR, $srcRootPath . "\\Qt4VSAddin") or die "Cannot open directory $srcDir: $!";
-while (defined(my $file = readdir(DIR))) {
- if ($file =~ m/Changes-(([0-9]|\.)+)/) {
- my $v = $1;
- my @version = split('\\.', $v);
- if ( $version[0] > $vsipVersionMajor ||
- ($version[0] == $vsipVersionMajor && $version[1] > $vsipVersionMinor) ||
- ($version[0] == $vsipVersionMajor && $version[1] == $vsipVersionMinor && $version[2] > $vsipVersionPatch))
- {
- $vsipVersionMajor = $version[0];
- $vsipVersionMinor = $version[1];
- $vsipVersionPatch = $version[2];
- $vsipVersion = $v;
- }
- }
-}
-closedir(DIR);
-print "Add-in Version (detected from Changes files): $vsipVersion\n";
-
-my $h2regPath = $ENV{'ProgramFiles'} . "\\Helpware\\H2Reg";
-
-if (! -d $destRootPath) {
- mkdir($destRootPath, 0777) or die "Cannot create VSIP directory: $destRootPath!\n";
-}
-
-############################################################
-# copy info files
-############################################################
-
-$outPath = $destRootPath;
-
-copyFile($srcRootPath . "\\ui.ico", $outPath);
-# BETA!!
-# USE THIS FOR FINAL copyFile($srcRootPath . "\\Qt4VSAddin\\Changes-" . $vsipVersion, $outPath);
-copyFile($srcRootPath . "\\Qt4VSAddin\\Changes-" . $vsipVersion . "-beta", $outPath);
-
-############################################################
-# copy Qt libs
-############################################################
-
-$outPath = $destRootPath . "\\bin";
-mkdir $outPath;
-
-if ($copyQt eq "1") {
- copyFile($qtDir . "\\bin\\QtCore5.dll", $outPath);
- copyFile($qtDir . "\\bin\\QtGui5.dll", $outPath);
- copyFile($qtDir . "\\bin\\QtWidgets5.dll", $outPath);
- copyFile($qtDir . "\\bin\\QtXml5.dll", $outPath);
- copyFile($qtDir . "\\bin\\QtSvg5.dll", $outPath);
- copyFile($qtDir . "\\plugins\\platforms\\windows5.dll", $outPath);
- $outPath = $destRootPath . "\\bin\\imageformats";
- mkdir $outPath;
- copyFile($qtDir . "\\plugins\\imageformats\\qgif5.dll", $outPath);
- copyFile($qtDir . "\\plugins\\imageformats\\qico5.dll", $outPath);
- copyFile($qtDir . "\\plugins\\imageformats\\qjpeg5.dll", $outPath);
-# copyFile($qtDir . "\\plugins\\imageformats\\qmng5.dll", $outPath);
- copyFile($qtDir . "\\plugins\\imageformats\\qsvg5.dll", $outPath);
-# copyFile($qtDir . "\\plugins\\imageformats\\qtiff5.dll", $outPath);
-}
-
-############################################################
-# copy addin binaries
-############################################################
-
-if ($copyAddin eq "1") {
- $outPath = $destRootPath . "\\bin\\$vsVersion";
- mkpath($outPath);
-
- copyFile($srcRootPath . "\\Qt4VSAddin\\Release\\Qt5VSAddin.dll", $outPath);
- copyFile($srcRootPath . "\\Qt4VSAddin\\Release\\Qt5ProjectLib.dll", $outPath);
- copyFile($srcRootPath . "\\Qt4VSAddin\\Release\\Qt5ProjectEngineLib.dll", $outPath);
- copyFile($srcRootPath . "\\Qt4VSAddin\\Qt5VSAddin.AddIn", $outPath);
- copyFile($srcRootPath . "\\ComWrappers\\qmakewrapper\\q5makewrapper1Lib.dll", $outPath);
-
- ############################################################
- # Patch .AddIn file
- ############################################################
- open(FILE, "<" . $outPath . "\\Qt5VSAddin.AddIn");
- while (<FILE>) {
- $_ =~ s/<Version>.*<\/Version>/<Version>$vsVersion<\/Version>/;
- $_ =~ s/Qt Add-in Development Version/Qt Add-in $vsipVersion/;
- $file .= $_;
- }
- close FILE;
-
- open(FILE, ">" . $outPath . "\\Qt5VSAddin.AddIn");
- print FILE ("$file");
- close FILE;
-
- copySubDir($srcRootPath . "\\Qt4VSAddin\\Release", $outPath, "de");
- copySubDir($srcRootPath . "\\Qt4VSAddin\\Release", $outPath, "zh-cn");
-
- if ($vsVersionLong eq "2005") {
- copySubDir($srcRootPath . "\\Qt4VSAddin\\Release", $outPath, "en");
- copySubDir($srcRootPath . "\\Qt4VSAddin\\Release", $outPath, "es");
- copySubDir($srcRootPath . "\\Qt4VSAddin\\Release", $outPath, "fr");
- copySubDir($srcRootPath . "\\Qt4VSAddin\\Release", $outPath, "it");
- copySubDir($srcRootPath . "\\Qt4VSAddin\\Release", $outPath, "ja");
- copySubDir($srcRootPath . "\\Qt4VSAddin\\Release", $outPath, "ko");
- copySubDir($srcRootPath . "\\Qt4VSAddin\\Release", $outPath, "ru");
- copySubDir($srcRootPath . "\\Qt4VSAddin\\Release", $outPath, "zh-Hans");
- copySubDir($srcRootPath . "\\Qt4VSAddin\\Release", $outPath, "zh-Hant");
- }
-
- if ($vsVersionLong eq "2008") {
- $outPath = $destRootPath . "\\bin";
- mkpath($outPath);
- copyFile($srcRootPath . "\\Qt4VSAddin\\Release\\qt5appwrapper.exe", $outPath);
- copyFile($srcRootPath . "\\Qt4VSAddin\\Release\\q5rceditor.exe", $outPath);
- copyFile($srcRootPath . "\\ComWrappers\\qmakewrapper\\release\\q5makewrapper1.dll", $outPath);
- }
-
- $outPath = $destRootBase;
- copyFile($srcRootPath . "\\..\\LICENSE.LGPL", $outPath);
-
- # check for Visual C++ redistributable package
- $outPath = $destRootPath . "\\redist";
- mkdir $outPath;
- if (! -e "$outPath\\vcredist_x86.exe") {
- die "Cannot find $outPath\\vcredist_x86.exe\n";
- }
-
- # copy debug extensions
- $outPath = $destRootBase . "\\debugext";
- copyFile($srcRootPath . "\\..\\tools\\Qt4EEAddin\\autoexp.dat_entries.txt", $outPath);
- copyFile($srcRootPath . "\\..\\tools\\Qt4EEAddin\\autoexp.dat-autoexpand2005", $outPath);
- copyFile($srcRootPath . "\\..\\tools\\Qt4EEAddin\\autoexp.dat-autoexpand2008", $outPath);
- copyFile($srcRootPath . "\\..\\tools\\Qt4EEAddin\\autoexp.dat-autoexpand2010", $outPath);
- copyFile($srcRootPath . "\\..\\tools\\Qt4EEAddin\\autoexp.dat-autoexpand2012", $outPath);
- copyFile($srcRootPath . "\\..\\tools\\Qt4EEAddin\\autoexp.dat-visualizer2005", $outPath);
- copyFile($srcRootPath . "\\..\\tools\\Qt4EEAddin\\autoexp.dat-visualizer2008", $outPath);
- copyFile($srcRootPath . "\\..\\tools\\Qt4EEAddin\\autoexp.dat-visualizer2010", $outPath);
- copyFile($srcRootPath . "\\..\\tools\\Qt4EEAddin\\autoexp.dat-visualizer2012", $outPath);
-}
-
-############################################################
-# copy plugins
-############################################################
-
-if ($copyQt eq "1") {
- $outPath = $destRootPath . "\\plugins";
- mkdir $outPath;
-
-# $outPath = $destRootPath . "\\plugins\\designer";
-# mkdir $outPath;
-
-# copyFile($qtDir . "\\plugins\\designer\\customwidgetplugin.dll", $outPath);
-# copyFile($qtDir . "\\plugins\\designer\\worldtimeclockplugin.dll", $outPath);
-# copyFile($qtDir . "\\plugins\\designer\\qt3supportwidgets.dll", $outPath);
-# copyFile($qtDir . "\\plugins\\designer\\qaxwidget.dll", $outPath);
-# copyFile($qtDir . "\\plugins\\designer\\containerextension.dll", $outPath);
-# copyFile($qtDir . "\\plugins\\designer\\taskmenuextension.dll", $outPath);
-# copyFile($qtDir . "\\plugins\\designer\\qwebview.dll", $outPath);
-
-# copyFile($qtDir . "\\bin\\QtNetwork4.dll", $outPath);
-# copyFile($qtDir . "\\bin\\QtWebKit4.dll", $outPath);
-# copyFile($qtDir . "\\bin\\phonon4.dll", $outPath);
-# copyFile($qtDir . "\\bin\\QtSql4.dll", $outPath);
-# copyFile($qtDir . "\\bin\\Qt3Support4.dll", $outPath);
-
- $outPath = $destRootPath . "\\plugins\\imageformats";
- mkdir $outPath;
- copyFile($qtDir . "\\bin\\QtSvg5.dll", $outPath);
- copyFile($qtDir . "\\plugins\\imageformats\\qsvg5.dll", $outPath);
- copyFile($qtDir . "\\plugins\\imageformats\\qgif5.dll", $outPath);
- copyFile($qtDir . "\\plugins\\imageformats\\qjpeg5.dll", $outPath);
-# copyFile($qtDir . "\\plugins\\imageformats\\qtiff5.dll", $outPath);
- copyFile($qtDir . "\\plugins\\imageformats\\qico5.dll", $outPath);
-}
-
-############################################################
-# copy templates
-############################################################
-
-if ($copyTemplates eq "1") {
- $outPath = $destRootPath . "\\projects";
- mkdir $outPath;
-
- copyTemplate("projects", "Qt5ActiveQtServerProject");
- copyTemplate("projects", "Qt5ConsoleProject");
- copyTemplate("projects", "Qt5DesignerPluginProject");
- copyTemplate("projects", "Qt5GuiProject");
- copyTemplate("projects", "Qt5LibProject");
- copyTemplate("projects", "Qt5WinCELibProject");
- copyTemplate("projects", "Qt5WinCEProject");
-
- $outPath = $destRootPath . "\\items";
- mkdir $outPath;
-
- copyTemplate("items", "Qt5Class");
- copyTemplate("items", "Qt5GuiClass");
-
- mkdir $outPath . "\\qrcItems";
- copyDir($srcRootPath . "\\Items\\qrcItems\\*.ico", $outPath . "\\qrcItems");
- copyDir($srcRootPath . "\\Items\\qrcItems\\*.qrc", $outPath . "\\qrcItems");
- copyDir($srcRootPath . "\\Items\\qrcItems\\*.vsdir", $outPath . "\\qrcItems");
-
- mkdir $outPath . "\\uiItems";
- copyDir($srcRootPath . "\\Items\\uiItems\\*.ico", $outPath . "\\uiItems");
- copyDir($srcRootPath . "\\Items\\uiItems\\*.qrc", $outPath . "\\uiItems");
- copyDir($srcRootPath . "\\Items\\uiItems\\*.vsdir", $outPath . "\\uiItems");
- copyDir($srcRootPath . "\\Items\\uiItems\\*.ui", $outPath . "\\uiItems");
-
- $outPath = $destRootPath . "\\resources";
- mkdir $outPath;
-
- copyDir($srcRootPath . "\\ResourceItems\\*", $outPath);
-}
-
-############################################################
-# copy h2reg
-############################################################
-
-if ($copyHelp eq "1") {
- $outPath = $destRootPath . "\\help";
- mkdir $outPath;
-
- if (-e $h2regPath) {
- copyFile($h2regPath . "\\h2reg.exe", $outPath);
- copyFile($h2regPath . "\\h2reg.ini", $outPath);
- } else {
- print "Could not copy h2reg.\n";
- }
-}
-
-############################################################
-# copy addin help
-############################################################
-
-if ($copyAddin eq "1") {
- $outPath = $destRootPath . "\\help";
- mkdir $outPath;
-
- if (-e $srcRootPath . "\\..\\help\\build\\commercial\\VSAddin") {
- copyDir($srcRootPath . "\\..\\help\\build\\commercial\\VsAddin\\qt4vs_*", $outPath);
- copyDir($srcRootPath . "\\..\\help\\build\\commercial\\VsAddin\\*.xml", $outPath);
- } else {
- print "Could not copy vsip documentation.\n";
- }
-}
-
-############################################################
-# copy qt help
-############################################################
-
-if ($copyHelp eq "1") {
- $outPath = $destRootPath . "\\help";
- mkdir $outPath;
-
- if (-e $srcRootPath . "\\..\\help\\test") {
- copyDir($srcRootPath . "\\..\\help\\test\\qt_*", $outPath);
- } else {
- print "Could not copy Qt documentation.\n";
- }
-}
-
-############################################################
-# helper functions
-############################################################
-
-sub copyTemplate {
- my ($relPath, $name) = @_;
-
- my $projectPath = $outPath . "//" . $name;
- mkdir $projectPath;
-
- mkdir $projectPath . "//1033";
- copyFile($srcRootPath . "\\" . $relPath . "\\" . $name . "\\1033\\styles.css", $projectPath . "\\1033");
- mkdir $projectPath . "\\HTML";
- mkdir $projectPath . "\\HTML\\1033";
- copyDir($srcRootPath . "\\" . $relPath . "\\" . $name . "\\HTML\\1033\\*.htm", $projectPath . "\\HTML\\1033");
- mkdir $projectPath . "\\HTML\\1031";
- copyDir($srcRootPath . "\\" . $relPath . "\\" . $name . "\\HTML\\1031\\*.htm", $projectPath . "\\HTML\\1031");
- mkdir $projectPath . "\\Images";
- copyDir($srcRootPath . "\\" . $relPath . "\\" . $name . "\\Images\\*", $projectPath . "\\Images");
- mkdir $projectPath . "\\Scripts";
- mkdir $projectPath . "\\Scripts\\1033";
- copyDir($srcRootPath . "\\" . $relPath . "\\" . $name . "\\Scripts\\1033\\*.js", $projectPath . "\\Scripts\\1033");
- mkdir $projectPath . "\\Templates";
- mkdir $projectPath . "\\Templates\\1033";
- copyDir($srcRootPath . "\\" . $relPath . "\\" . $name . "\\Templates\\1033\\*", $projectPath . "\\Templates\\1033");
- copyDir($srcRootPath . "\\" . $relPath . "\\" . $name . "\\*.ico", $projectPath);
- copyDir($srcRootPath . "\\" . $relPath . "\\" . $name . "\\*.vsdir", $projectPath);
-}
-
-sub copyDir {
- my ($src, $destDir) = @_;
- my($srcDir, $pattern) = $src =~ m/(.*\\)(.*)$/;
- $pattern =~ s/\./\\./g;
- $pattern =~ s/\*/.*/g;
- opendir(DIR, $srcDir) or die "Cannot open directory $srcDir: $!";
- while ( defined(my $file = readdir(DIR))) {
- if (!($file eq "." || $file eq "..")) {
- if ($file =~ m/$pattern/) {
- copyFile($srcDir . "\\" . $file, $destDir);
- }
- }
- }
-closedir(DIR);
-}
-
-sub copySubDir {
- my ($srcDir, $destDir, $subDir) = @_;
- mkdir $destDir . "\\" . $subDir;
- copyDir($srcDir . "\\" . $subDir . "\\*", $destDir . "\\" . $subDir);
-}
-
-sub copyFile {
- my ($srcFile, $destPath) = @_;
- $srcFile =~ s/\//\\/g;
- $srcFile =~ s/\\+/\\/g;
- $destPath =~ s/\//\\/g;
- $destPath =~ s/\\+/\\/g;
- my($destFile) = $srcFile =~ m/.*\\(.*)$/;
- $destFile = $destPath . "\\" . $destFile;
- if (-e $destFile) {
- unlink($destFile) or die "Cannot overwrite file $destFile!\n";
- }
- copy($srcFile, $destFile) or die "$srcFile cannot be copied to $destFile!\n";
- chmod(0755, $destFile);
-}
-
-sub usage {
- print "Usage of collectInstallerFiles:\n\n";
- print "--dest PATH Copies the files to the\n";
- print " specified PATH.\n";
- print "--help Prints this help message.\n\n";
- print "Component Options:\n\n";
- print "--qt Copies the Qt libraries.\n";
- print "--integration Copies the integration related\n";
- print " files.\n";
- print "--onlinehelp Copies the online help.\n";
- print "--templates Copies the template files.\n";
- print "If no component option is specified, all files\n";
- print "will be copied.\n\n";
- exit;
-}
diff --git a/Qt4VS2003/createCultureResources.cmd b/Qt4VS2003/createCultureResources.cmd
deleted file mode 100644
index 044621a4..00000000
--- a/Qt4VS2003/createCultureResources.cmd
+++ /dev/null
@@ -1,36 +0,0 @@
-:: This awesome script creates resource DLLs for the Visual Studio Add-in.
-:: This is needed for Visual Studio 2005 where we need a resource DLL for every
-:: possible language. This is a bug in VS 2005. :-/
-
-@echo off
-setlocal
-set PROJECTDIR=Qt4VSAddin
-set TARGETDIR=%PROJECTDIR%\Release
-pushd "%PROJECTDIR%"
-resgen StringResources.resX StringResources.resources
-resgen StringResources.de.resX StringResources.de.resources
-popd
-
-call :createResource zh-cn
-call :createResource zh-Hans
-call :createResource zh-Hant
-call :createResource en
-::call :createResource de
-call :createResource es
-call :createResource fr
-call :createResource it
-call :createResource ja
-call :createResource ko
-call :createResource ru
-endlocal
-goto :eof
-
-:createResource
-set CULTURE=%1
-if not exist %TARGETDIR%\%CULTURE% mkdir %TARGETDIR%\%CULTURE%
-set INRESOURCEFILE=%PROJECTDIR%\StringResources.resources
-if exist %PROJECTDIR%\StringResources.%CULTURE%.resources set INRESOURCEFILE=%PROJECTDIR%\StringResources.%CULTURE%.resources
-echo %CULTURE% %INRESOURCEFILE%
-al /nologo /embed:%INRESOURCEFILE% /v:1.0.0.0 /culture:%CULTURE% /out:%TARGETDIR%\%CULTURE%\Qt5VSAddin.resources.dll
-goto :eof
-
diff --git a/Qt4VS2003/createUserFiles.bat b/Qt4VS2003/createUserFiles.bat
deleted file mode 100644
index 197c5bd2..00000000
--- a/Qt4VS2003/createUserFiles.bat
+++ /dev/null
@@ -1,2 +0,0 @@
-@echo off
-perl createUserFiles.pl \ No newline at end of file
diff --git a/Qt4VS2003/createUserFiles.pl b/Qt4VS2003/createUserFiles.pl
deleted file mode 100644
index a7810459..00000000
--- a/Qt4VS2003/createUserFiles.pl
+++ /dev/null
@@ -1,103 +0,0 @@
-#!/usr/bin/perl
-
-use Cwd 'abs_path';
-
-my $rootDir = abs_path($0);
-$rootDir =~ s/createUserFiles\.pl//;
-
-# compatible with cygwin perl and activestate
-my $devenvCmd = 'cmd /c "devenv /?"';
-my $output = `$devenvCmd 2>&1`;
-my $vsVersion = "";
-if ($output =~ m/ersion ([\d\.]+)/) {
- $vsVersion = $1;
- $vsVersion =~ s/\.$//;
-}
-
-my $refPath = "";
-
-my $vsMajorVSVersion = 7;
-if ($vsVersion =~ m/(\d)/) {
- $vsMajorVSVersion = $1;
-}
-
-my $sdkPath = $ENV{'VSINSTALLDIR'} . "\\Common7\\IDE";
-unless (-e $sdkPath) {
- die "Cannot find " . $sdkPath . "\n";
-}
-$sdkPath =~ s/"//g;
-
-if ($vsMajorVSVersion == 8) {
- my $vsPath = $ENV{'VS80COMNTOOLS'};
- $vsPath =~ s/Common7\\Tools/Common7\\IDE/;
- $sdkPath .= "\\VisualStudioIntegration\\Common\\Assemblies";
- $refPath = $vsPath . ";" . $vsPath . "\\PublicAssemblies;" . $sdkPath;
- print "Creating user files for VS 2005.\n";
- print "Assembly Reference Paths: $refPath\n";
- CreateUserFile("QtProjectEngine\\QtProjectEngineLib2005.csproj");
- CreateUserFile("QtProjectLib\\QtProjectLib2005.csproj");
- CreateUserFile("Qt4VSAddin\\Qt5VSAddin2005.csproj");
-} elsif ($vsMajorVSVersion == 9) {
- my $vsPath = $ENV{'VS90COMNTOOLS'};
- $vsPath =~ s/Common7\\Tools/Common7\\IDE/;
- $sdkPath .= "\\VisualStudioIntegration\\Common\\Assemblies";
- $refPath = $vsPath . ";" . $vsPath . "\\PublicAssemblies;" . $sdkPath;
- print "Creating user files for VS 2008.\n";
- print "Assembly Reference Paths: $refPath\n";
- CreateUserFile("QtProjectEngine\\QtProjectEngineLib2008.csproj");
- CreateUserFile("QtProjectLib\\QtProjectLib2008.csproj");
- CreateUserFile("Qt4VSAddin\\Qt5VSAddin2008.csproj");
-} elsif ($vsMajorVSVersion == 10) {
- my $vsPath = $ENV{'VS100COMNTOOLS'};
- $vsPath =~ s/Common7\\Tools/Common7\\IDE/;
- $sdkPath .= "\\VisualStudioIntegration\\Common\\Assemblies";
- $refPath = $vsPath . ";" . $vsPath . "\\PublicAssemblies;" . $sdkPath;
- print "Creating user files for VS 2010.\n";
- print "Assembly Reference Paths: $refPath\n";
- CreateUserFile("HelperTools\\Qt4VS2003Base\\Qt4VS2010Base.csproj");
- CreateUserFile("HelperTools\\RegistrationTool\\RegistrationTool2010.csproj");
- CreateUserFile("Qt4VS2003\\Qt4VS2010.csproj");
- CreateUserFile("QtProjectEngine\\QtProjectEngineLib2010.csproj");
- CreateUserFile("QtProjectLib\\QtProjectLib2010.csproj");
- CreateUserFile("Qt4VSAddin\\Qt5VSAddin2010.csproj");
-}
-
-sub CreateUserFile {
- my ($fName) = @_;
- my $fileName = $rootDir . $fName . ".user";
- if (-e $fileName) {
- unlink($fileName) or die $!;
- }
-
- my $devenv = $ENV{'DevEnvDir'};
- $devenv =~ s/"//g;
- $devenv .= "\\devenv.exe";
-
- my $args = "";
-# my $args = "/useenv /rootsuffix exp";
-# my $vsMajorVSVersion = 7;
-# if ($vsVersion =~ m/(\d)/) {
-# $vsMajorVSVersion = $1;
-# }
-# if ($vsMajorVSVersion == 9) {
-# $args .= " /ranu";
-# }
-
- open FILE, ">$fileName" or die $!;
- print FILE "<VisualStudioProject>\n";
- print FILE " <CSHARP LastOpenVersion = \"$vsVersion\" >\n";
- print FILE " <Build>\n";
- print FILE " <Settings ReferencePath = \"$refPath\" >\n";
- print FILE " <Config\n";
- print FILE " Name = \"Debug\"\n";
- print FILE " StartAction = \"Program\"\n";
- print FILE " StartProgram = \"$devenv\"\n";
- print FILE " StartArguments = \"$args\"\n";
- print FILE " />\n";
- print FILE " </Settings>\n";
- print FILE " </Build>\n";
- print FILE " </CSHARP>\n";
- print FILE "</VisualStudioProject>";
- close FILE;
-}
-
diff --git a/Qt4VS2003/createWizardFiles.bat b/Qt4VS2003/createWizardFiles.bat
deleted file mode 100644
index 3b559a24..00000000
--- a/Qt4VS2003/createWizardFiles.bat
+++ /dev/null
@@ -1,2 +0,0 @@
-@echo off
-perl createWizardFiles.pl \ No newline at end of file
diff --git a/Qt4VS2003/createWizardFiles.pl b/Qt4VS2003/createWizardFiles.pl
deleted file mode 100644
index d12b4c18..00000000
--- a/Qt4VS2003/createWizardFiles.pl
+++ /dev/null
@@ -1,174 +0,0 @@
-#!/usr/bin/perl
-
-use File::Copy;
-use File::Path;
-use Cwd 'abs_path';
-
-my $srcRootPath = abs_path($0);
-$srcRootPath =~ s/createWizardFiles\.pl//;
-
-my $pathSuffix = "\\Trolltech AS\\IntegrationTest\\";
-my $targetRootPath = $ENV{'ProgramFiles(x86)'} . $pathSuffix;
-if ($targetRootPath eq "") {
- $targetRootPath = $ENV{'ProgramFiles'} . $pathSuffix;
-}
-
-if (! -d $targetRootPath) {
- if (!mkpath($targetRootPath, 0777)) {
- print "Cannot create root directory.\n";
- exit;
- }
-}
-
-my $targetPath = $targetRootPath . "uiItems\\";
-my $srcPath = $srcRootPath . "Items\\uiItems\\";
-my $file = "";
-
-############################################################
-# ui items
-############################################################
-if (! -d $targetPath) {
- mkdir($targetPath, 0777);
-}
-
-opendir(DIR, $srcPath) or die "Can't opendir $srcPath: $!";
-while ( defined($file = readdir(DIR))) {
- if (!($file eq "." || $file eq "..")) {
- copyFile($srcPath . $file, $targetPath . $file);
- }
-}
-closedir(DIR);
-
-############################################################
-# qrc items
-############################################################
-$targetPath = $targetRootPath . "qrcItems\\";
-$srcPath = $srcRootPath . "Items\\qrcItems\\";
-
-if (! -d $targetPath) {
- mkdir($targetPath, 0777);
-}
-
-opendir(DIR, $srcPath) or die "Can't opendir $srcPath: $!";
-while ( defined($file = readdir(DIR))) {
- if (!($file eq "." || $file eq "..")) {
- copyFile($srcPath . $file, $targetPath . $file);
- }
-}
-closedir(DIR);
-
-############################################################
-# resources
-############################################################
-$targetPath = $targetRootPath . "resources\\";
-$srcPath = $srcRootPath . "ResourceItems\\";
-
-if (! -d $targetPath) {
- mkdir($targetPath, 0777);
-}
-
-opendir(DIR, $srcPath) or die "Can't opendir $srcPath: $!";
-while ( defined($file = readdir(DIR))) {
- if (!($file eq "." || $file eq "..")) {
- copyFile($srcPath . $file, $targetPath . $file);
- }
-}
-closedir(DIR);
-
-############################################################
-# wizards
-############################################################
-$targetPath = $targetRootPath . "wizards\\";
-if (! -d $targetPath) {
- mkdir($targetPath, 0777);
-}
-
-$targetPath = $targetRootPath . "projects\\";
-if (! -d $targetPath) {
- mkdir($targetPath, 0777);
-}
-
-createWizards("7.1");
-createWizards("8.0");
-createWizards("9.0");
-
-
-
-sub createWizards {
- my($ver) = @_;
- createWizard($srcRootPath . "Items\\Qt4Class\\", $targetRootPath . "wizards\\$ver\\");
- createWizard($srcRootPath . "Items\\Qt4GuiClass\\", $targetRootPath . "wizards\\$ver\\");
-
- createWizard($srcRootPath . "projects\\Qt4ActiveQtServerProject\\", $targetRootPath . "projects\\$ver\\");
- createWizard($srcRootPath . "projects\\Qt4ConsoleProject\\", $targetRootPath . "projects\\$ver\\");
- createWizard($srcRootPath . "projects\\Qt4DesignerPluginProject\\", $targetRootPath . "projects\\$ver\\");
- createWizard($srcRootPath . "projects\\Qt4GuiProject\\", $targetRootPath . "projects\\$ver\\");
- createWizard($srcRootPath . "projects\\Qt4LibProject\\", $targetRootPath . "projects\\$ver\\");
-
- if ($ver != "7.1") {
- createWizard($srcRootPath . "projects\\Qt4WinCELibProject\\", $targetRootPath . "projects\\$ver\\");
- createWizard($srcRootPath . "projects\\Qt4WinCEProject\\", $targetRootPath . "projects\\$ver\\");
- }
-}
-
-
-sub createWizard {
- my($src, $dest) = @_;
-
- if (! -d $dest) {
- mkdir($dest, 0777);
- }
-
- my $className = "";
- if ($src =~ m/\\([^\\]+)\\$/) {
- $className = $1;
- } else {
- return;
- }
-
- my $version = "";
- if ($dest =~ m/\\([^\\]+)\\$/) {
- $version = $1;
- } else {
- return;
- }
-
- copy ($src . "$className.ico", $dest . "$className.ico");
- copy ($src . "$className.vsdir", $dest . "$className.vsdir");
- createVSZFile($src, $dest, $className, $version);
-}
-
-
-sub createVSZFile {
- my($inPath, $outPath, $className, $version) = @_;
- my $fileName = $outPath . $className . ".vsz";
-
- $inPath =~ s/\\$//;
-
- if (-e $fileName) {
- unlink($fileName) or die $!;
- }
- open FILE, ">$fileName" or die $!;
-
- print FILE "VSWIZARD 7.1\n";
- print FILE "Wizard=VSWizard.VsWizardEngine.$version\n";
- print FILE "PARAM=\"WIZARD_NAME = $className\"\n";
- print FILE "PARAM=\"ABSOLUTE_PATH = $inPath\"\n";
- print FILE "PARAM=\"FALLBACK_LCID = 1033\"\n";
- close FILE;
-}
-
-sub copyFile {
- my($inFile, $outFile) = @_;
-
- print "$inFile\n";
- open IN, "<$inFile" or die $!;
- open OUT, ">$outFile" or die $!;
-
- while (<IN>) {
- print OUT "$_";
- }
- close(IN);
- close(OUT);
-}
-
diff --git a/Qt4VS2003/ui.ico b/Qt4VS2003/ui.ico
deleted file mode 100644
index 3c0bc5af..00000000
--- a/Qt4VS2003/ui.ico
+++ /dev/null
Binary files differ
diff --git a/tools/AutoTests/AddinAutoTest2005.csproj b/tools/AutoTests/AddinAutoTest2005.csproj
deleted file mode 100644
index 820c0f42..00000000
--- a/tools/AutoTests/AddinAutoTest2005.csproj
+++ /dev/null
@@ -1,84 +0,0 @@
-<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003" ToolsVersion="3.5">
- <PropertyGroup>
- <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
- <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
- <ProductVersion>8.0.50727</ProductVersion>
- <SchemaVersion>2.0</SchemaVersion>
- <ProjectGuid>{32DDF1B3-9421-440B-83A7-4C4693FE5095}</ProjectGuid>
- <OutputType>Library</OutputType>
- <StartupObject>
- </StartupObject>
- <NoStandardLibraries>false</NoStandardLibraries>
- <AssemblyName>Autotest</AssemblyName>
- <RootNamespace>AddinAutoTest</RootNamespace>
- <TargetFrameworkVersion>v3.5</TargetFrameworkVersion>
- </PropertyGroup>
- <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
- <DebugSymbols>true</DebugSymbols>
- <Optimize>false</Optimize>
- <OutputPath>bin\</OutputPath>
- <EnableUnmanagedDebugging>false</EnableUnmanagedDebugging>
- <DefineConstants>TRACE;DEBUG;VS2005</DefineConstants>
- <WarningLevel>4</WarningLevel>
- <IncrementalBuild>false</IncrementalBuild>
- </PropertyGroup>
- <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
- <DebugSymbols>false</DebugSymbols>
- <Optimize>true</Optimize>
- <OutputPath>bin\</OutputPath>
- <EnableUnmanagedDebugging>false</EnableUnmanagedDebugging>
- <DefineConstants>TRACE</DefineConstants>
- <WarningLevel>4</WarningLevel>
- <IncrementalBuild>false</IncrementalBuild>
- </PropertyGroup>
- <ItemGroup>
- <Reference Include="Extensibility, Version=7.0.3300.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
- <Reference Include="Microsoft.VisualStudio.OLE.Interop, Version=7.1.40304.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
- <Reference Include="Microsoft.VisualStudio.Shell, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL" />
- <Reference Include="Microsoft.VisualStudio.Shell.Interop, Version=7.1.40304.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
- <Reference Include="Microsoft.VisualStudio.VCProjectEngine, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
- <Reference Include="System" />
- <Reference Include="System.Windows.Forms" />
- </ItemGroup>
- <ItemGroup>
- <Compile Include="AssemblyInfo.cs">
- <SubType>Code</SubType>
- </Compile>
- <Compile Include="CompilerToolWrapper.cs" />
- <Compile Include="Connect.cs">
- <SubType>Code</SubType>
- </Compile>
- </ItemGroup>
- <ItemGroup>
- <COMReference Include="EnvDTE">
- <Guid>{80CC9F66-E7D8-4DDD-85B6-D9E6CD0E93E2}</Guid>
- <VersionMajor>8</VersionMajor>
- <VersionMinor>0</VersionMinor>
- <Lcid>0</Lcid>
- <WrapperTool>primary</WrapperTool>
- <Isolated>False</Isolated>
- </COMReference>
- <COMReference Include="EnvDTE80">
- <Guid>{1A31287A-4D7D-413E-8E32-3B374931BD89}</Guid>
- <VersionMajor>8</VersionMajor>
- <VersionMinor>0</VersionMinor>
- <Lcid>0</Lcid>
- <WrapperTool>primary</WrapperTool>
- <Isolated>False</Isolated>
- </COMReference>
- </ItemGroup>
- <ItemGroup>
- <Content Include="AutoTests2005.AddIn" />
- </ItemGroup>
- <Import Project="$(MSBuildBinPath)\Microsoft.CSHARP.Targets" />
- <PropertyGroup>
- <PreBuildEvent>
- </PreBuildEvent>
- <PostBuildEvent>
- </PostBuildEvent>
- </PropertyGroup>
- <ProjectExtensions>
- <VisualStudio>
- </VisualStudio>
- </ProjectExtensions>
-</Project> \ No newline at end of file
diff --git a/tools/AutoTests/AddinAutoTest2008.csproj b/tools/AutoTests/AddinAutoTest2008.csproj
deleted file mode 100644
index 6cdcbde9..00000000
--- a/tools/AutoTests/AddinAutoTest2008.csproj
+++ /dev/null
@@ -1,85 +0,0 @@
-<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003" ToolsVersion="3.5">
- <PropertyGroup>
- <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
- <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
- <ProductVersion>9.0.30729</ProductVersion>
- <SchemaVersion>2.0</SchemaVersion>
- <ProjectGuid>{32DDF1B3-9421-440B-83A7-4C4693FE5095}</ProjectGuid>
- <OutputType>Library</OutputType>
- <StartupObject>
- </StartupObject>
- <NoStandardLibraries>false</NoStandardLibraries>
- <AssemblyName>Autotest</AssemblyName>
- <RootNamespace>AddInAutoTest</RootNamespace>
- <TargetFrameworkVersion>v3.5</TargetFrameworkVersion>
- </PropertyGroup>
- <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
- <DebugSymbols>true</DebugSymbols>
- <Optimize>false</Optimize>
- <OutputPath>bin\</OutputPath>
- <EnableUnmanagedDebugging>false</EnableUnmanagedDebugging>
- <DefineConstants>TRACE;DEBUG;VS2008</DefineConstants>
- <WarningLevel>4</WarningLevel>
- <IncrementalBuild>false</IncrementalBuild>
- </PropertyGroup>
- <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
- <DebugSymbols>false</DebugSymbols>
- <Optimize>true</Optimize>
- <OutputPath>bin\</OutputPath>
- <EnableUnmanagedDebugging>false</EnableUnmanagedDebugging>
- <DefineConstants>TRACE</DefineConstants>
- <WarningLevel>4</WarningLevel>
- <IncrementalBuild>false</IncrementalBuild>
- </PropertyGroup>
- <ItemGroup>
- <Reference Include="Extensibility, Version=7.0.3300.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
- <Reference Include="Microsoft.VisualStudio.OLE.Interop, Version=7.1.40304.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
- <Reference Include="Microsoft.VisualStudio.Shell, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL" />
- <Reference Include="Microsoft.VisualStudio.Shell.Interop, Version=7.1.40304.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
- <Reference Include="Microsoft.VisualStudio.VCProjectEngine, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
- <Reference Include="System" />
- <Reference Include="System.Windows.Forms" />
- <Reference Include="System.XML" />
- </ItemGroup>
- <ItemGroup>
- <Compile Include="AssemblyInfo.cs">
- <SubType>Code</SubType>
- </Compile>
- <Compile Include="CompilerToolWrapper.cs" />
- <Compile Include="Connect.cs">
- <SubType>Code</SubType>
- </Compile>
- </ItemGroup>
- <ItemGroup>
- <COMReference Include="EnvDTE">
- <Guid>{80CC9F66-E7D8-4DDD-85B6-D9E6CD0E93E2}</Guid>
- <VersionMajor>8</VersionMajor>
- <VersionMinor>0</VersionMinor>
- <Lcid>0</Lcid>
- <WrapperTool>primary</WrapperTool>
- <Isolated>False</Isolated>
- </COMReference>
- <COMReference Include="EnvDTE80">
- <Guid>{1A31287A-4D7D-413E-8E32-3B374931BD89}</Guid>
- <VersionMajor>8</VersionMajor>
- <VersionMinor>0</VersionMinor>
- <Lcid>0</Lcid>
- <WrapperTool>primary</WrapperTool>
- <Isolated>False</Isolated>
- </COMReference>
- </ItemGroup>
- <ItemGroup>
- <Content Include="AutoTests2008.AddIn" />
- </ItemGroup>
- <Import Project="$(MSBuildBinPath)\Microsoft.CSHARP.Targets" />
- <PropertyGroup>
- <PreBuildEvent>
- </PreBuildEvent>
- <PostBuildEvent>
- </PostBuildEvent>
- </PropertyGroup>
- <ProjectExtensions>
- <VisualStudio>
- </VisualStudio>
- </ProjectExtensions>
-</Project> \ No newline at end of file
diff --git a/tools/AutoTests/AddinAutoTest2010.csproj b/tools/AutoTests/AddinAutoTest2010.csproj
deleted file mode 100644
index 1853a09c..00000000
--- a/tools/AutoTests/AddinAutoTest2010.csproj
+++ /dev/null
@@ -1,125 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003" ToolsVersion="4.0">
- <PropertyGroup>
- <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
- <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
- <ProductVersion>9.0.30729</ProductVersion>
- <SchemaVersion>2.0</SchemaVersion>
- <ProjectGuid>{32DDF1B3-9421-440B-83A7-4C4693FE5095}</ProjectGuid>
- <OutputType>Library</OutputType>
- <StartupObject>
- </StartupObject>
- <NoStandardLibraries>false</NoStandardLibraries>
- <AssemblyName>Autotest</AssemblyName>
- <RootNamespace>AddInAutoTest</RootNamespace>
- <TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
- <FileUpgradeFlags>
- </FileUpgradeFlags>
- <OldToolsVersion>3.5</OldToolsVersion>
- <UpgradeBackupLocation />
- <PublishUrl>publish\</PublishUrl>
- <Install>true</Install>
- <InstallFrom>Disk</InstallFrom>
- <UpdateEnabled>false</UpdateEnabled>
- <UpdateMode>Foreground</UpdateMode>
- <UpdateInterval>7</UpdateInterval>
- <UpdateIntervalUnits>Days</UpdateIntervalUnits>
- <UpdatePeriodically>false</UpdatePeriodically>
- <UpdateRequired>false</UpdateRequired>
- <MapFileExtensions>true</MapFileExtensions>
- <ApplicationRevision>0</ApplicationRevision>
- <ApplicationVersion>1.0.0.%2a</ApplicationVersion>
- <IsWebBootstrapper>false</IsWebBootstrapper>
- <UseApplicationTrust>false</UseApplicationTrust>
- <BootstrapperEnabled>true</BootstrapperEnabled>
- <TargetFrameworkProfile />
- </PropertyGroup>
- <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
- <DebugSymbols>true</DebugSymbols>
- <Optimize>false</Optimize>
- <OutputPath>bin\</OutputPath>
- <EnableUnmanagedDebugging>false</EnableUnmanagedDebugging>
- <DefineConstants>TRACE;DEBUG;VS2010</DefineConstants>
- <WarningLevel>4</WarningLevel>
- <IncrementalBuild>false</IncrementalBuild>
- </PropertyGroup>
- <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
- <DebugSymbols>false</DebugSymbols>
- <Optimize>true</Optimize>
- <OutputPath>bin\</OutputPath>
- <EnableUnmanagedDebugging>false</EnableUnmanagedDebugging>
- <DefineConstants>TRACE</DefineConstants>
- <WarningLevel>4</WarningLevel>
- <IncrementalBuild>false</IncrementalBuild>
- </PropertyGroup>
- <ItemGroup>
- <Reference Include="Extensibility, Version=7.0.3300.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
- <Reference Include="Microsoft.CSharp" />
- <Reference Include="Microsoft.VisualStudio.OLE.Interop, Version=7.1.40304.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
- <Reference Include="Microsoft.VisualStudio.Shell, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL" />
- <Reference Include="Microsoft.VisualStudio.Shell.Interop, Version=7.1.40304.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
- <Reference Include="Microsoft.VisualStudio.VCProjectEngine, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
- <EmbedInteropTypes>True</EmbedInteropTypes>
- </Reference>
- <Reference Include="System" />
- <Reference Include="System.Windows.Forms" />
- </ItemGroup>
- <ItemGroup>
- <Compile Include="AssemblyInfo.cs">
- <SubType>Code</SubType>
- </Compile>
- <Compile Include="CompilerToolWrapper.cs" />
- <Compile Include="Connect.cs">
- <SubType>Code</SubType>
- </Compile>
- </ItemGroup>
- <ItemGroup>
- <COMReference Include="EnvDTE">
- <Guid>{80CC9F66-E7D8-4DDD-85B6-D9E6CD0E93E2}</Guid>
- <VersionMajor>8</VersionMajor>
- <VersionMinor>0</VersionMinor>
- <Lcid>0</Lcid>
- <WrapperTool>primary</WrapperTool>
- <Isolated>False</Isolated>
- </COMReference>
- <COMReference Include="EnvDTE80">
- <Guid>{1A31287A-4D7D-413E-8E32-3B374931BD89}</Guid>
- <VersionMajor>8</VersionMajor>
- <VersionMinor>0</VersionMinor>
- <Lcid>0</Lcid>
- <WrapperTool>primary</WrapperTool>
- <Isolated>False</Isolated>
- </COMReference>
- </ItemGroup>
- <ItemGroup>
- <Content Include="AutoTests2008.AddIn" />
- </ItemGroup>
- <ItemGroup>
- <BootstrapperPackage Include="Microsoft.Net.Client.3.5">
- <Visible>False</Visible>
- <ProductName>.NET Framework 3.5 SP1 Client Profile</ProductName>
- <Install>false</Install>
- </BootstrapperPackage>
- <BootstrapperPackage Include="Microsoft.Net.Framework.3.5.SP1">
- <Visible>False</Visible>
- <ProductName>.NET Framework 3.5 SP1</ProductName>
- <Install>true</Install>
- </BootstrapperPackage>
- <BootstrapperPackage Include="Microsoft.Windows.Installer.3.1">
- <Visible>False</Visible>
- <ProductName>Windows Installer 3.1</ProductName>
- <Install>true</Install>
- </BootstrapperPackage>
- </ItemGroup>
- <Import Project="$(MSBuildBinPath)\Microsoft.CSHARP.Targets" />
- <PropertyGroup>
- <PreBuildEvent>
- </PreBuildEvent>
- <PostBuildEvent>
- </PostBuildEvent>
- </PropertyGroup>
- <ProjectExtensions>
- <VisualStudio>
- </VisualStudio>
- </ProjectExtensions>
-</Project> \ No newline at end of file
diff --git a/tools/AutoTests/AssemblyInfo.cs b/tools/AutoTests/AssemblyInfo.cs
deleted file mode 100644
index 91888c79..00000000
--- a/tools/AutoTests/AssemblyInfo.cs
+++ /dev/null
Binary files differ
diff --git a/tools/AutoTests/AutoTests2005.AddIn b/tools/AutoTests/AutoTests2005.AddIn
deleted file mode 100644
index c2bc7191..00000000
--- a/tools/AutoTests/AutoTests2005.AddIn
+++ /dev/null
Binary files differ
diff --git a/tools/AutoTests/AutoTests2008.AddIn b/tools/AutoTests/AutoTests2008.AddIn
deleted file mode 100644
index 136ccbcf..00000000
--- a/tools/AutoTests/AutoTests2008.AddIn
+++ /dev/null
Binary files differ
diff --git a/tools/AutoTests/CompilerToolWrapper.cs b/tools/AutoTests/CompilerToolWrapper.cs
deleted file mode 100644
index 45f4cfcc..00000000
--- a/tools/AutoTests/CompilerToolWrapper.cs
+++ /dev/null
@@ -1,296 +0,0 @@
-/****************************************************************************
-**
-** Copyright (C) 2016 The Qt Company Ltd.
-** Contact: https://www.qt.io/licensing/
-**
-** This file is part of the Qt VS Add-in.
-**
-** $QT_BEGIN_LICENSE:GPL-EXCEPT$
-** Commercial License Usage
-** Licensees holding valid commercial Qt licenses may use this file in
-** accordance with the commercial license agreement provided with the
-** Software or, alternatively, in accordance with the terms contained in
-** a written agreement between you and The Qt Company. For licensing terms
-** and conditions see https://www.qt.io/terms-conditions. For further
-** information use the contact form at https://www.qt.io/contact-us.
-**
-** GNU General Public License Usage
-** Alternatively, this file may be used under the terms of the GNU
-** General Public License version 3 as published by the Free Software
-** Foundation with exceptions as appearing in the file LICENSE.GPL3-EXCEPT
-** included in the packaging of this file. Please review the following
-** information to ensure the GNU General Public License requirements will
-** be met: https://www.gnu.org/licenses/gpl-3.0.html.
-**
-** $QT_END_LICENSE$
-**
-****************************************************************************/
-
-using System;
-
-namespace CompilerToolSpace
-{
- using Microsoft.VisualStudio.VCProjectEngine;
-
- /// <summary>
- /// Wrapper for the VCCLCompilerTool class.
- /// </summary>
- /// For platforms other than Win32 the type VCCLCompilerTool is not available.
- /// See http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=220646&SiteID=1
- /// So we have to use the reflection system to get and set the desired properties.
- /// This class should be the only place where VCCLCompilerTool is used.
- /// Using VCCLCompilerTool directly will break the VS integration for Win CE.
- class CompilerToolWrapper
- {
- private VCCLCompilerTool compilerTool;
- private Object compilerObj;
- private Type compilerType;
-
- public CompilerToolWrapper(VCConfiguration config)
- {
- compilerTool = ((IVCCollection)config.Tools).Item("VCCLCompilerTool") as VCCLCompilerTool;
- if (compilerTool == null)
- {
- compilerObj = ((IVCCollection)config.Tools).Item("VCCLCompilerTool");
- compilerType = compilerObj.GetType();
- }
- }
-
- public CompilerToolWrapper(VCFileConfiguration config)
- {
- compilerTool = config.Tool as VCCLCompilerTool;
- if (compilerTool == null)
- {
- compilerObj = config.Tool;
- compilerType = compilerObj.GetType();
- }
- }
-
- public CompilerToolWrapper(VCPropertySheet sheet)
- {
- compilerTool = ((IVCCollection)sheet.Tools).Item("VCCLCompilerTool") as VCCLCompilerTool;
- if (compilerTool == null)
- {
- compilerObj = ((IVCCollection)sheet.Tools).Item("VCCLCompilerTool");
- compilerType = compilerObj.GetType();
- }
- }
-
- public bool IsCompilerToolNull()
- {
- return compilerTool == null;
- }
-
- public void SetAdditionalIncludeDirectories(string value)
- {
- if (compilerTool != null)
- compilerTool.AdditionalIncludeDirectories = value;
- else
- SetStringProperty("AdditionalIncludeDirectories", value);
- }
-
- public void AddPreprocessorDefinitions(string value)
- {
- SetPreprocessorDefinitions(GetPreprocessorDefinitions() + value);
- }
-
- public void SetPreprocessorDefinitions(string value)
- {
- if (compilerTool != null)
- compilerTool.PreprocessorDefinitions = value;
- else
- SetStringProperty("PreprocessorDefinitions", value);
- }
-
- public string GetPreprocessorDefinitions()
- {
- if (compilerTool != null)
- return compilerTool.PreprocessorDefinitions;
- else
- return GetStringProperty("PreprocessorDefinitions");
- }
-
- public void AddAdditionalIncludeDirectories(string value)
- {
- string includes = GetAdditionalIncludeDirectories();
- if (includes != null && includes.Length > 0 && !includes.EndsWith(";"))
- includes += ";";
- SetAdditionalIncludeDirectories(includes + value);
- }
-
- public string GetAdditionalIncludeDirectories()
- {
- if (compilerTool != null)
- return compilerTool.AdditionalIncludeDirectories;
- else
- return GetStringProperty("AdditionalIncludeDirectories");
- }
-
- public string GetPrecompiledHeaderFile()
- {
- if (compilerTool != null)
- return compilerTool.PrecompiledHeaderFile;
- else
- return GetStringProperty("PrecompiledHeaderFile");
- }
-
- public string GetPrecompiledHeaderThrough()
- {
- if (compilerTool != null)
- return compilerTool.PrecompiledHeaderThrough;
- else
- return GetStringProperty("PrecompiledHeaderThrough");
- }
-
- public pchOption GetUsePrecompiledHeader()
- {
- if (compilerTool != null)
- return compilerTool.UsePrecompiledHeader;
- else
- {
- object obj = compilerType.InvokeMember("UsePrecompiledHeader", System.Reflection.BindingFlags.GetProperty, null, compilerObj, null);
- if (obj == null)
- return pchOption.pchNone;
- else
- return (pchOption)obj;
- }
- }
-
- public void SetDebugInformationFormat(debugOption value)
- {
- if (compilerTool != null)
- compilerTool.DebugInformationFormat = value;
- else
- compilerType.InvokeMember(
- "DebugInformationFormat",
- System.Reflection.BindingFlags.SetProperty,
- null,
- compilerObj,
- new object[] { @value });
- }
-
- public void SetRuntimeLibrary(runtimeLibraryOption value)
- {
- if (compilerTool != null)
- compilerTool.RuntimeLibrary = value;
- else
- compilerType.InvokeMember(
- "RuntimeLibrary",
- System.Reflection.BindingFlags.SetProperty,
- null,
- compilerObj,
- new object[] { @value });
- }
-
- public void SetOptimization(optimizeOption value)
- {
- if (compilerTool != null)
- compilerTool.Optimization = value;
- else
- compilerType.InvokeMember(
- "Optimization",
- System.Reflection.BindingFlags.SetProperty,
- null,
- compilerObj,
- new object[] { @value });
- }
-
- public void SetTreatWChar_tAsBuiltInType(bool value)
- {
- if (compilerTool != null)
- compilerTool.TreatWChar_tAsBuiltInType = value;
- else
- compilerType.InvokeMember(
- "TreatWChar_tAsBuiltInType",
- System.Reflection.BindingFlags.SetProperty,
- null,
- compilerObj,
- new object[] { @value });
- }
-
- public void SetWarningLevel(warningLevelOption value)
- {
- if (compilerTool != null)
- compilerTool.WarningLevel = value;
- else
- compilerType.InvokeMember(
- "WarningLevel",
- System.Reflection.BindingFlags.SetProperty,
- null,
- compilerObj,
- new object[] { @value });
- }
-
- public void SetBufferSecurityCheck(bool value)
- {
- if (compilerTool != null)
- compilerTool.BufferSecurityCheck = value;
- else
- compilerType.InvokeMember(
- "BufferSecurityCheck",
- System.Reflection.BindingFlags.SetProperty,
- null,
- compilerObj,
- new object[] { @value });
- }
-
- public void SetPrecompiledHeaderFile(string file)
- {
- if (compilerTool != null)
- compilerTool.PrecompiledHeaderFile = file;
- else
- compilerType.InvokeMember(
- "PrecompiledHeaderFile",
- System.Reflection.BindingFlags.SetProperty,
- null,
- compilerObj,
- new object[] { @file });
- }
-
- public void SetPrecompiledHeaderThrough(string value)
- {
- if (compilerTool != null)
- compilerTool.PrecompiledHeaderThrough = value;
- else
- compilerType.InvokeMember(
- "PrecompiledHeaderThrough",
- System.Reflection.BindingFlags.SetProperty,
- null,
- compilerObj,
- new object[] { @value });
- }
-
- public void SetUsePrecompiledHeader(pchOption value)
- {
- if (compilerTool != null)
- compilerTool.UsePrecompiledHeader = value;
- else
- compilerType.InvokeMember(
- "UsePrecompiledHeader",
- System.Reflection.BindingFlags.SetProperty,
- null,
- compilerObj,
- new object[] { @value });
- }
-
- private void SetStringProperty(string name, string value)
- {
- compilerType.InvokeMember(
- name,
- System.Reflection.BindingFlags.SetProperty,
- null,
- compilerObj,
- new object[] { @value });
- }
-
- private string GetStringProperty(string name)
- {
- object obj = compilerType.InvokeMember(name, System.Reflection.BindingFlags.GetProperty, null, compilerObj, null);
- if (obj == null)
- return "";
- else
- return (string)obj;
- }
-
- }
-}
diff --git a/tools/AutoTests/TemplateProjects2005/Test1/Check/Check.vcproj b/tools/AutoTests/TemplateProjects2005/Test1/Check/Check.vcproj
deleted file mode 100644
index 59e5bd7d..00000000
--- a/tools/AutoTests/TemplateProjects2005/Test1/Check/Check.vcproj
+++ /dev/null
@@ -1,304 +0,0 @@
-<?xml version="1.0" encoding="Windows-1252"?>
-<VisualStudioProject
- ProjectType="Visual C++"
- Version="8.00"
- Name="Test1"
- ProjectGUID="{ADA1D5AA-949B-46E9-AA9E-10D2D5ECA5B0}"
- RootNamespace="Check"
- Keyword="Qt4VSv1.0"
- TargetFrameworkVersion="0"
- >
- <Platforms>
- <Platform
- Name="Win32"
- />
- </Platforms>
- <ToolFiles>
- </ToolFiles>
- <Configurations>
- <Configuration
- Name="Release|Win32"
- OutputDirectory="$(SolutionDir)$(ConfigurationName)"
- ConfigurationType="1"
- >
- <Tool
- Name="VCPreBuildEventTool"
- />
- <Tool
- Name="VCCustomBuildTool"
- />
- <Tool
- Name="VCXMLDataGeneratorTool"
- />
- <Tool
- Name="VCWebServiceProxyGeneratorTool"
- />
- <Tool
- Name="VCMIDLTool"
- />
- <Tool
- Name="VCCLCompilerTool"
- AdditionalIncludeDirectories=".\GeneratedFiles;$(QTDIR)\include;.\GeneratedFiles\$(ConfigurationName);;$(QTDIR)\include\QtCore;$(QTDIR)\include\QtGui"
- PreprocessorDefinitions="UNICODE,WIN32,QT_THREAD_SUPPORT,QT_NO_DEBUG,NDEBUG,QT_CORE_LIB,QT_GUI_LIB"
- RuntimeLibrary="2"
- TreatWChar_tAsBuiltInType="false"
- DebugInformationFormat="0"
- />
- <Tool
- Name="VCManagedResourceCompilerTool"
- />
- <Tool
- Name="VCResourceCompilerTool"
- />
- <Tool
- Name="VCPreLinkEventTool"
- />
- <Tool
- Name="VCLinkerTool"
- AdditionalDependencies=" qtmain.lib QtCore4.lib QtGui4.lib"
- OutputFile="$(OutDir)\$(ProjectName).exe"
- AdditionalLibraryDirectories="$(QTDIR)\lib"
- GenerateDebugInformation="false"
- SubSystem="2"
- />
- <Tool
- Name="VCALinkTool"
- />
- <Tool
- Name="VCManifestTool"
- />
- <Tool
- Name="VCXDCMakeTool"
- />
- <Tool
- Name="VCBscMakeTool"
- />
- <Tool
- Name="VCFxCopTool"
- />
- <Tool
- Name="VCAppVerifierTool"
- />
- <Tool
- Name="VCPostBuildEventTool"
- />
- </Configuration>
- <Configuration
- Name="Debug|Win32"
- OutputDirectory="$(SolutionDir)$(ConfigurationName)"
- IntermediateDirectory="$(ConfigurationName)"
- ConfigurationType="1"
- >
- <Tool
- Name="VCPreBuildEventTool"
- />
- <Tool
- Name="VCCustomBuildTool"
- />
- <Tool
- Name="VCXMLDataGeneratorTool"
- />
- <Tool
- Name="VCWebServiceProxyGeneratorTool"
- />
- <Tool
- Name="VCMIDLTool"
- />
- <Tool
- Name="VCCLCompilerTool"
- Optimization="0"
- AdditionalIncludeDirectories=".\GeneratedFiles;$(QTDIR)\include;.\GeneratedFiles\$(ConfigurationName);;$(QTDIR)\include\QtCore;$(QTDIR)\include\QtGui"
- PreprocessorDefinitions="UNICODE,WIN32,QT_THREAD_SUPPORT,QT_CORE_LIB,QT_GUI_LIB"
- RuntimeLibrary="3"
- TreatWChar_tAsBuiltInType="false"
- DebugInformationFormat="3"
- />
- <Tool
- Name="VCManagedResourceCompilerTool"
- />
- <Tool
- Name="VCResourceCompilerTool"
- />
- <Tool
- Name="VCPreLinkEventTool"
- />
- <Tool
- Name="VCLinkerTool"
- AdditionalDependencies=" qtmaind.lib QtCored4.lib QtGuid4.lib"
- OutputFile="$(OutDir)\$(ProjectName).exe"
- AdditionalLibraryDirectories="$(QTDIR)\lib"
- GenerateDebugInformation="true"
- SubSystem="2"
- />
- <Tool
- Name="VCALinkTool"
- />
- <Tool
- Name="VCManifestTool"
- />
- <Tool
- Name="VCXDCMakeTool"
- />
- <Tool
- Name="VCBscMakeTool"
- />
- <Tool
- Name="VCFxCopTool"
- />
- <Tool
- Name="VCAppVerifierTool"
- />
- <Tool
- Name="VCPostBuildEventTool"
- />
- </Configuration>
- </Configurations>
- <References>
- </References>
- <Files>
- <Filter
- Name="Source Files"
- Filter="cpp;cxx;c;def"
- UniqueIdentifier="{4FC737F1-C7A5-4376-A066-2A32D752A2FF}"
- >
- <File
- RelativePath=".\foo.cpp"
- >
- </File>
- <File
- RelativePath=".\main.cpp"
- >
- </File>
- <File
- RelativePath=".\subfolder\sub.cpp"
- >
- </File>
- </Filter>
- <Filter
- Name="Header Files"
- Filter="h"
- UniqueIdentifier="{93995380-89BD-4b04-88EB-625FBE52EBFB}"
- >
- <File
- RelativePath=".\foo.h"
- >
- <FileConfiguration
- Name="Release|Win32"
- >
- <Tool
- Name="VCCustomBuildTool"
- Description=""
- CommandLine=""
- AdditionalDependencies=""
- Outputs=""
- />
- </FileConfiguration>
- <FileConfiguration
- Name="Debug|Win32"
- >
- <Tool
- Name="VCCustomBuildTool"
- Description=""
- CommandLine=""
- AdditionalDependencies=""
- Outputs=""
- />
- </FileConfiguration>
- </File>
- </Filter>
- <Filter
- Name="Form Files"
- Filter="ui"
- UniqueIdentifier="{99349809-55BA-4b9d-BF79-8FDBB0286EB3}"
- >
- <File
- RelativePath=".\foo.ui"
- >
- <FileConfiguration
- Name="Release|Win32"
- >
- <Tool
- Name="VCCustomBuildTool"
- Description="Uic&apos;ing $(InputPath)..."
- CommandLine="&quot;$(QTDIR)\bin\uic.exe&quot; -o &quot;.\GeneratedFiles\ui_foo.h&quot; &quot;$(InputPath)&quot;&#x0D;&#x0A;"
- AdditionalDependencies="$(QTDIR)\bin\uic.exe"
- Outputs="&quot;.\GeneratedFiles\ui_foo.h&quot;"
- />
- </FileConfiguration>
- <FileConfiguration
- Name="Debug|Win32"
- >
- <Tool
- Name="VCCustomBuildTool"
- Description="Uic&apos;ing $(InputPath)..."
- CommandLine="&quot;$(QTDIR)\bin\uic.exe&quot; -o &quot;.\GeneratedFiles\ui_foo.h&quot; &quot;$(InputPath)&quot;&#x0D;&#x0A;"
- AdditionalDependencies="$(QTDIR)\bin\uic.exe"
- Outputs="&quot;.\GeneratedFiles\ui_foo.h&quot;"
- />
- </FileConfiguration>
- </File>
- </Filter>
- <Filter
- Name="Resource Files"
- Filter="qrc;*"
- UniqueIdentifier="{D9D6E242-F8AF-46E4-B9FD-80ECBC20BA3E}"
- ParseFiles="false"
- >
- <File
- RelativePath=".\foo.qrc"
- >
- <FileConfiguration
- Name="Release|Win32"
- >
- <Tool
- Name="VCCustomBuildTool"
- Description=""
- CommandLine=""
- AdditionalDependencies=""
- Outputs=""
- />
- </FileConfiguration>
- <FileConfiguration
- Name="Debug|Win32"
- >
- <Tool
- Name="VCCustomBuildTool"
- Description=""
- CommandLine=""
- AdditionalDependencies=""
- Outputs=""
- />
- </FileConfiguration>
- </File>
- </Filter>
- <Filter
- Name="Generated Files"
- Filter="moc;h;cpp"
- UniqueIdentifier="{71ED8ED8-ACB9-4CE9-BBE1-E00B30144E11}"
- SourceControlFiles="false"
- >
- <File
- RelativePath=".\GeneratedFiles\ui_foo.h"
- >
- </File>
- </Filter>
- </Files>
- <Globals>
- <Global
- Name="MocDir"
- Value=".\GeneratedFiles\$(ConfigurationName)"
- />
- <Global
- Name="QtVersion Win32
- Value="$(DefaultQtVersion)"
- />
- <Global
- Name="RccDir"
- Value=".\GeneratedFiles"
- />
- <Global
- Name="UicDir"
- Value=".\GeneratedFiles"
- />
- </Globals>
-</VisualStudioProject>
diff --git a/tools/AutoTests/TemplateProjects2005/Test1/Check/bar.cpp b/tools/AutoTests/TemplateProjects2005/Test1/Check/bar.cpp
deleted file mode 100644
index 8cc07981..00000000
--- a/tools/AutoTests/TemplateProjects2005/Test1/Check/bar.cpp
+++ /dev/null
@@ -1,12 +0,0 @@
-#include <QtGui/QWidget>
-
-class Bar : public QWidget
-{
- //Q_OBJECT_HERE
-
-public:
- Bar(QWidget *parent = 0, Qt::WFlags flags = 0);
- ~Bar();
-};
-
-//#include "bar.moc" \ No newline at end of file
diff --git a/tools/AutoTests/TemplateProjects2005/Test1/Check/foo.cpp b/tools/AutoTests/TemplateProjects2005/Test1/Check/foo.cpp
deleted file mode 100644
index 815985d4..00000000
--- a/tools/AutoTests/TemplateProjects2005/Test1/Check/foo.cpp
+++ /dev/null
@@ -1,13 +0,0 @@
-#include "foo.h"
-////#CUSTOMINCLUDE
-
-Foo::Foo(QWidget *parent, Qt::WFlags flags)
- : QWidget(parent, flags)
-{
- ui.setupUi(this);
-}
-
-Foo::~Foo()
-{
-
-}
diff --git a/tools/AutoTests/TemplateProjects2005/Test1/Check/foo.h b/tools/AutoTests/TemplateProjects2005/Test1/Check/foo.h
deleted file mode 100644
index 7e90fef7..00000000
--- a/tools/AutoTests/TemplateProjects2005/Test1/Check/foo.h
+++ /dev/null
@@ -1,19 +0,0 @@
-#ifndef FOO_H
-#define FOO_H
-
-#include <QtGui/QWidget>
-#include "ui_foo.h"
-
-class Foo : public QWidget
-{
- //Q_OBJECT_HERE
-
-public:
- Foo(QWidget *parent = 0, Qt::WFlags flags = 0);
- ~Foo();
-
-private:
- Ui::FooClass ui;
-};
-
-#endif // FOO_H
diff --git a/tools/AutoTests/TemplateProjects2005/Test1/Check/foo.qrc b/tools/AutoTests/TemplateProjects2005/Test1/Check/foo.qrc
deleted file mode 100644
index 18730fee..00000000
--- a/tools/AutoTests/TemplateProjects2005/Test1/Check/foo.qrc
+++ /dev/null
@@ -1,4 +0,0 @@
-<RCC>
- <qresource prefix="Foo">
- </qresource>
-</RCC>
diff --git a/tools/AutoTests/TemplateProjects2005/Test1/Check/foo.ui b/tools/AutoTests/TemplateProjects2005/Test1/Check/foo.ui
deleted file mode 100644
index e7568a8d..00000000
--- a/tools/AutoTests/TemplateProjects2005/Test1/Check/foo.ui
+++ /dev/null
@@ -1,23 +0,0 @@
-<UI version="4.0" >
- <class>FooClass</class>
- <widget class="QWidget" name="FooClass" >
- <property name="objectName" >
- <string notr="true">FooClass</string>
- </property>
- <property name="geometry" >
- <rect>
- <x>0</x>
- <y>0</y>
- <width>600</width>
- <height>400</height>
- </rect>
- </property>
- <property name="windowTitle" >
- <string>Foo</string>
- </property>
- </widget>
- <layoutDefault spacing="6" margin="11" />
- <pixmapfunction></pixmapfunction>
- <resources/>
- <connections/>
-</UI>
diff --git a/tools/AutoTests/TemplateProjects2005/Test1/Check/main.cpp b/tools/AutoTests/TemplateProjects2005/Test1/Check/main.cpp
deleted file mode 100644
index a842c7fc..00000000
--- a/tools/AutoTests/TemplateProjects2005/Test1/Check/main.cpp
+++ /dev/null
@@ -1,24 +0,0 @@
-#include <QtGui/QApplication>
-#include "foo.h"
-
-class Bar : public QWidget
-{
- //Q_OBJECT_HERE
-
-public:
- Bar(QWidget *parent = 0, Qt::WFlags flags = 0);
- ~Bar();
-
-private:
- Ui::FooClass ui;
-};
-
-int main(int argc, char *argv[])
-{
- QApplication a(argc, argv);
- Foo w;
- w.show();
- return a.exec();
-}
-
-//#include "main.moc"
diff --git a/tools/AutoTests/TemplateProjects2005/Test1/Check/subfolder/sub.cpp b/tools/AutoTests/TemplateProjects2005/Test1/Check/subfolder/sub.cpp
deleted file mode 100644
index 10c2dae3..00000000
--- a/tools/AutoTests/TemplateProjects2005/Test1/Check/subfolder/sub.cpp
+++ /dev/null
@@ -1,12 +0,0 @@
-#include <QObject>
-
-class Sub: public QObject
-{
- //Q_OBJECT_HERE
-public:
- Sub(QObject *parent = 0)
- : QObject(parent)
- {}
-};
-
-//#include "sub.moc" \ No newline at end of file
diff --git a/tools/AutoTests/TemplateProjects2005/Test1/Check/test.cpp b/tools/AutoTests/TemplateProjects2005/Test1/Check/test.cpp
deleted file mode 100644
index 91ab081c..00000000
--- a/tools/AutoTests/TemplateProjects2005/Test1/Check/test.cpp
+++ /dev/null
@@ -1 +0,0 @@
-#include "test.h" \ No newline at end of file
diff --git a/tools/AutoTests/TemplateProjects2005/Test1/Check/test.h b/tools/AutoTests/TemplateProjects2005/Test1/Check/test.h
deleted file mode 100644
index e69de29b..00000000
--- a/tools/AutoTests/TemplateProjects2005/Test1/Check/test.h
+++ /dev/null
diff --git a/tools/AutoTests/TemplateProjects2005/Test1/Test1.sln b/tools/AutoTests/TemplateProjects2005/Test1/Test1.sln
deleted file mode 100644
index 912ba896..00000000
--- a/tools/AutoTests/TemplateProjects2005/Test1/Test1.sln
+++ /dev/null
@@ -1,23 +0,0 @@
-
-Microsoft Visual Studio Solution File, Format Version 9.00
-# Visual Studio 2005
-Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Test1", "Check\Check.vcproj", "{ADA1D5AA-949B-46E9-AA9E-10D2D5ECA5B0}"
- GlobalSection(Qt) = preSolution
- Integration = True
- EndGlobalSection
-EndProject
-Global
- GlobalSection(SolutionConfigurationPlatforms) = preSolution
- Debug|Win32 = Debug|Win32
- Release|Win32 = Release|Win32
- EndGlobalSection
- GlobalSection(ProjectConfigurationPlatforms) = postSolution
- {ADA1D5AA-949B-46E9-AA9E-10D2D5ECA5B0}.Debug|Win32.ActiveCfg = Debug|Win32
- {ADA1D5AA-949B-46E9-AA9E-10D2D5ECA5B0}.Debug|Win32.Build.0 = Debug|Win32
- {ADA1D5AA-949B-46E9-AA9E-10D2D5ECA5B0}.Release|Win32.ActiveCfg = Release|Win32
- {ADA1D5AA-949B-46E9-AA9E-10D2D5ECA5B0}.Release|Win32.Build.0 = Release|Win32
- EndGlobalSection
- GlobalSection(SolutionProperties) = preSolution
- HideSolutionNode = FALSE
- EndGlobalSection
-EndGlobal
diff --git a/tools/AutoTests/TemplateProjects2005/Test1pch/Check/Check.vcproj b/tools/AutoTests/TemplateProjects2005/Test1pch/Check/Check.vcproj
deleted file mode 100644
index b4501a4c..00000000
--- a/tools/AutoTests/TemplateProjects2005/Test1pch/Check/Check.vcproj
+++ /dev/null
@@ -1,322 +0,0 @@
-<?xml version="1.0" encoding="Windows-1252"?>
-<VisualStudioProject
- ProjectType="Visual C++"
- Version="8.00"
- Name="Test1"
- ProjectGUID="{ADA1D5AA-949B-46E9-AA9E-10D2D5ECA5B0}"
- RootNamespace="Check"
- Keyword="Qt4VSv1.0"
- TargetFrameworkVersion="0"
- >
- <Platforms>
- <Platform
- Name="Win32"
- />
- </Platforms>
- <ToolFiles>
- </ToolFiles>
- <Configurations>
- <Configuration
- Name="Release|Win32"
- OutputDirectory="$(SolutionDir)$(ConfigurationName)"
- ConfigurationType="1"
- >
- <Tool
- Name="VCPreBuildEventTool"
- />
- <Tool
- Name="VCCustomBuildTool"
- />
- <Tool
- Name="VCXMLDataGeneratorTool"
- />
- <Tool
- Name="VCWebServiceProxyGeneratorTool"
- />
- <Tool
- Name="VCMIDLTool"
- />
- <Tool
- Name="VCCLCompilerTool"
- AdditionalIncludeDirectories=".\GeneratedFiles;$(QTDIR)\include;.\GeneratedFiles\$(ConfigurationName);.;$(QTDIR)\include\QtCore;$(QTDIR)\include\QtGui"
- PreprocessorDefinitions="UNICODE,WIN32,QT_THREAD_SUPPORT,QT_NO_DEBUG,NDEBUG,QT_CORE_LIB,QT_GUI_LIB"
- RuntimeLibrary="2"
- TreatWChar_tAsBuiltInType="false"
- DebugInformationFormat="0"
- />
- <Tool
- Name="VCManagedResourceCompilerTool"
- />
- <Tool
- Name="VCResourceCompilerTool"
- />
- <Tool
- Name="VCPreLinkEventTool"
- />
- <Tool
- Name="VCLinkerTool"
- AdditionalDependencies=" qtmain.lib QtCore4.lib QtGui4.lib"
- OutputFile="$(OutDir)\$(ProjectName).exe"
- AdditionalLibraryDirectories="$(QTDIR)\lib"
- GenerateDebugInformation="false"
- SubSystem="2"
- />
- <Tool
- Name="VCALinkTool"
- />
- <Tool
- Name="VCManifestTool"
- />
- <Tool
- Name="VCXDCMakeTool"
- />
- <Tool
- Name="VCBscMakeTool"
- />
- <Tool
- Name="VCFxCopTool"
- />
- <Tool
- Name="VCAppVerifierTool"
- />
- <Tool
- Name="VCPostBuildEventTool"
- />
- </Configuration>
- <Configuration
- Name="Debug|Win32"
- OutputDirectory="$(SolutionDir)$(ConfigurationName)"
- IntermediateDirectory="$(ConfigurationName)"
- ConfigurationType="1"
- >
- <Tool
- Name="VCPreBuildEventTool"
- />
- <Tool
- Name="VCCustomBuildTool"
- />
- <Tool
- Name="VCXMLDataGeneratorTool"
- />
- <Tool
- Name="VCWebServiceProxyGeneratorTool"
- />
- <Tool
- Name="VCMIDLTool"
- />
- <Tool
- Name="VCCLCompilerTool"
- Optimization="0"
- AdditionalIncludeDirectories=".\GeneratedFiles;$(QTDIR)\include;.\GeneratedFiles\$(ConfigurationName);.;$(QTDIR)\include\QtCore;$(QTDIR)\include\QtGui"
- PreprocessorDefinitions="UNICODE,WIN32,QT_THREAD_SUPPORT,QT_CORE_LIB,QT_GUI_LIB"
- RuntimeLibrary="3"
- TreatWChar_tAsBuiltInType="false"
- UsePrecompiledHeader="2"
- PrecompiledHeaderThrough="pch.h"
- DebugInformationFormat="3"
- />
- <Tool
- Name="VCManagedResourceCompilerTool"
- />
- <Tool
- Name="VCResourceCompilerTool"
- />
- <Tool
- Name="VCPreLinkEventTool"
- />
- <Tool
- Name="VCLinkerTool"
- AdditionalDependencies=" qtmaind.lib QtCored4.lib QtGuid4.lib"
- OutputFile="$(OutDir)\$(ProjectName).exe"
- AdditionalLibraryDirectories="$(QTDIR)\lib"
- GenerateDebugInformation="true"
- SubSystem="2"
- />
- <Tool
- Name="VCALinkTool"
- />
- <Tool
- Name="VCManifestTool"
- />
- <Tool
- Name="VCXDCMakeTool"
- />
- <Tool
- Name="VCBscMakeTool"
- />
- <Tool
- Name="VCFxCopTool"
- />
- <Tool
- Name="VCAppVerifierTool"
- />
- <Tool
- Name="VCPostBuildEventTool"
- />
- </Configuration>
- </Configurations>
- <References>
- </References>
- <Files>
- <Filter
- Name="Source Files"
- Filter="cpp;cxx;c;def"
- UniqueIdentifier="{4FC737F1-C7A5-4376-A066-2A32D752A2FF}"
- >
- <File
- RelativePath=".\foo.cpp"
- >
- </File>
- <File
- RelativePath=".\main.cpp"
- >
- </File>
- <File
- RelativePath=".\pch.cpp"
- >
- <FileConfiguration
- Name="Debug|Win32"
- >
- <Tool
- Name="VCCLCompilerTool"
- UsePrecompiledHeader="1"
- />
- </FileConfiguration>
- </File>
- <File
- RelativePath=".\subfolder\sub.cpp"
- >
- </File>
- </Filter>
- <Filter
- Name="Header Files"
- Filter="h"
- UniqueIdentifier="{93995380-89BD-4b04-88EB-625FBE52EBFB}"
- >
- <File
- RelativePath=".\foo.h"
- >
- <FileConfiguration
- Name="Release|Win32"
- >
- <Tool
- Name="VCCustomBuildTool"
- Description=""
- CommandLine=""
- AdditionalDependencies=""
- Outputs=""
- />
- </FileConfiguration>
- <FileConfiguration
- Name="Debug|Win32"
- >
- <Tool
- Name="VCCustomBuildTool"
- Description=""
- CommandLine=""
- AdditionalDependencies=""
- Outputs=""
- />
- </FileConfiguration>
- </File>
- <File
- RelativePath=".\pch.h"
- >
- </File>
- </Filter>
- <Filter
- Name="Form Files"
- Filter="ui"
- UniqueIdentifier="{99349809-55BA-4b9d-BF79-8FDBB0286EB3}"
- >
- <File
- RelativePath=".\foo.ui"
- >
- <FileConfiguration
- Name="Release|Win32"
- >
- <Tool
- Name="VCCustomBuildTool"
- Description="Uic&apos;ing $(InputPath)..."
- CommandLine="&quot;$(QTDIR)\bin\uic.exe&quot; -o &quot;.\GeneratedFiles\ui_foo.h&quot; &quot;$(InputPath)&quot;&#x0D;&#x0A;"
- AdditionalDependencies="$(QTDIR)\bin\uic.exe"
- Outputs="&quot;.\GeneratedFiles\ui_foo.h&quot;"
- />
- </FileConfiguration>
- <FileConfiguration
- Name="Debug|Win32"
- >
- <Tool
- Name="VCCustomBuildTool"
- Description="Uic&apos;ing $(InputPath)..."
- CommandLine="&quot;$(QTDIR)\bin\uic.exe&quot; -o &quot;.\GeneratedFiles\ui_foo.h&quot; &quot;$(InputPath)&quot;&#x0D;&#x0A;"
- AdditionalDependencies="$(QTDIR)\bin\uic.exe"
- Outputs="&quot;.\GeneratedFiles\ui_foo.h&quot;"
- />
- </FileConfiguration>
- </File>
- </Filter>
- <Filter
- Name="Resource Files"
- Filter="qrc;*"
- UniqueIdentifier="{D9D6E242-F8AF-46E4-B9FD-80ECBC20BA3E}"
- ParseFiles="false"
- >
- <File
- RelativePath=".\foo.qrc"
- >
- <FileConfiguration
- Name="Release|Win32"
- >
- <Tool
- Name="VCCustomBuildTool"
- Description=""
- CommandLine=""
- AdditionalDependencies=""
- Outputs=""
- />
- </FileConfiguration>
- <FileConfiguration
- Name="Debug|Win32"
- >
- <Tool
- Name="VCCustomBuildTool"
- Description=""
- CommandLine=""
- AdditionalDependencies=""
- Outputs=""
- />
- </FileConfiguration>
- </File>
- </Filter>
- <Filter
- Name="Generated Files"
- Filter="moc;h;cpp"
- UniqueIdentifier="{71ED8ED8-ACB9-4CE9-BBE1-E00B30144E11}"
- SourceControlFiles="false"
- >
- <File
- RelativePath=".\GeneratedFiles\ui_foo.h"
- >
- </File>
- </Filter>
- </Files>
- <Globals>
- <Global
- Name="MocDir"
- Value=".\GeneratedFiles\$(ConfigurationName)"
- />
- <Global
- Name="QtVersion Win32
- Value="$(DefaultQtVersion)"
- />
- <Global
- Name="RccDir"
- Value=".\GeneratedFiles"
- />
- <Global
- Name="UicDir"
- Value=".\GeneratedFiles"
- />
- </Globals>
-</VisualStudioProject>
diff --git a/tools/AutoTests/TemplateProjects2005/Test1pch/Check/bar.cpp b/tools/AutoTests/TemplateProjects2005/Test1pch/Check/bar.cpp
deleted file mode 100644
index 8cc07981..00000000
--- a/tools/AutoTests/TemplateProjects2005/Test1pch/Check/bar.cpp
+++ /dev/null
@@ -1,12 +0,0 @@
-#include <QtGui/QWidget>
-
-class Bar : public QWidget
-{
- //Q_OBJECT_HERE
-
-public:
- Bar(QWidget *parent = 0, Qt::WFlags flags = 0);
- ~Bar();
-};
-
-//#include "bar.moc" \ No newline at end of file
diff --git a/tools/AutoTests/TemplateProjects2005/Test1pch/Check/foo.cpp b/tools/AutoTests/TemplateProjects2005/Test1pch/Check/foo.cpp
deleted file mode 100644
index 47c71ae6..00000000
--- a/tools/AutoTests/TemplateProjects2005/Test1pch/Check/foo.cpp
+++ /dev/null
@@ -1,14 +0,0 @@
-#include "pch.h"
-#include "foo.h"
-////#CUSTOMINCLUDE
-
-Foo::Foo(QWidget *parent, Qt::WFlags flags)
- : QWidget(parent, flags)
-{
- ui.setupUi(this);
-}
-
-Foo::~Foo()
-{
-
-}
diff --git a/tools/AutoTests/TemplateProjects2005/Test1pch/Check/foo.h b/tools/AutoTests/TemplateProjects2005/Test1pch/Check/foo.h
deleted file mode 100644
index 7e90fef7..00000000
--- a/tools/AutoTests/TemplateProjects2005/Test1pch/Check/foo.h
+++ /dev/null
@@ -1,19 +0,0 @@
-#ifndef FOO_H
-#define FOO_H
-
-#include <QtGui/QWidget>
-#include "ui_foo.h"
-
-class Foo : public QWidget
-{
- //Q_OBJECT_HERE
-
-public:
- Foo(QWidget *parent = 0, Qt::WFlags flags = 0);
- ~Foo();
-
-private:
- Ui::FooClass ui;
-};
-
-#endif // FOO_H
diff --git a/tools/AutoTests/TemplateProjects2005/Test1pch/Check/foo.qrc b/tools/AutoTests/TemplateProjects2005/Test1pch/Check/foo.qrc
deleted file mode 100644
index 18730fee..00000000
--- a/tools/AutoTests/TemplateProjects2005/Test1pch/Check/foo.qrc
+++ /dev/null
@@ -1,4 +0,0 @@
-<RCC>
- <qresource prefix="Foo">
- </qresource>
-</RCC>
diff --git a/tools/AutoTests/TemplateProjects2005/Test1pch/Check/foo.ui b/tools/AutoTests/TemplateProjects2005/Test1pch/Check/foo.ui
deleted file mode 100644
index e7568a8d..00000000
--- a/tools/AutoTests/TemplateProjects2005/Test1pch/Check/foo.ui
+++ /dev/null
@@ -1,23 +0,0 @@
-<UI version="4.0" >
- <class>FooClass</class>
- <widget class="QWidget" name="FooClass" >
- <property name="objectName" >
- <string notr="true">FooClass</string>
- </property>
- <property name="geometry" >
- <rect>
- <x>0</x>
- <y>0</y>
- <width>600</width>
- <height>400</height>
- </rect>
- </property>
- <property name="windowTitle" >
- <string>Foo</string>
- </property>
- </widget>
- <layoutDefault spacing="6" margin="11" />
- <pixmapfunction></pixmapfunction>
- <resources/>
- <connections/>
-</UI>
diff --git a/tools/AutoTests/TemplateProjects2005/Test1pch/Check/main.cpp b/tools/AutoTests/TemplateProjects2005/Test1pch/Check/main.cpp
deleted file mode 100644
index 8140ff4a..00000000
--- a/tools/AutoTests/TemplateProjects2005/Test1pch/Check/main.cpp
+++ /dev/null
@@ -1,25 +0,0 @@
-#include "pch.h"
-#include <QtGui/QApplication>
-#include "foo.h"
-
-class Bar : public QWidget
-{
- //Q_OBJECT_HERE
-
-public:
- Bar(QWidget *parent = 0, Qt::WFlags flags = 0);
- ~Bar();
-
-private:
- Ui::FooClass ui;
-};
-
-int main(int argc, char *argv[])
-{
- QApplication a(argc, argv);
- Foo w;
- w.show();
- return a.exec();
-}
-
-//#include "main.moc"
diff --git a/tools/AutoTests/TemplateProjects2005/Test1pch/Check/pch.cpp b/tools/AutoTests/TemplateProjects2005/Test1pch/Check/pch.cpp
deleted file mode 100644
index 17305716..00000000
--- a/tools/AutoTests/TemplateProjects2005/Test1pch/Check/pch.cpp
+++ /dev/null
@@ -1 +0,0 @@
-#include "pch.h" \ No newline at end of file
diff --git a/tools/AutoTests/TemplateProjects2005/Test1pch/Check/pch.h b/tools/AutoTests/TemplateProjects2005/Test1pch/Check/pch.h
deleted file mode 100644
index e69de29b..00000000
--- a/tools/AutoTests/TemplateProjects2005/Test1pch/Check/pch.h
+++ /dev/null
diff --git a/tools/AutoTests/TemplateProjects2005/Test1pch/Check/subfolder/sub.cpp b/tools/AutoTests/TemplateProjects2005/Test1pch/Check/subfolder/sub.cpp
deleted file mode 100644
index 74c63932..00000000
--- a/tools/AutoTests/TemplateProjects2005/Test1pch/Check/subfolder/sub.cpp
+++ /dev/null
@@ -1,13 +0,0 @@
-#include "pch.h"
-#include <QObject>
-
-class Sub: public QObject
-{
- //Q_OBJECT_HERE
-public:
- Sub(QObject *parent = 0)
- : QObject(parent)
- {}
-};
-
-//#include "sub.moc" \ No newline at end of file
diff --git a/tools/AutoTests/TemplateProjects2005/Test1pch/Check/test.cpp b/tools/AutoTests/TemplateProjects2005/Test1pch/Check/test.cpp
deleted file mode 100644
index 91ab081c..00000000
--- a/tools/AutoTests/TemplateProjects2005/Test1pch/Check/test.cpp
+++ /dev/null
@@ -1 +0,0 @@
-#include "test.h" \ No newline at end of file
diff --git a/tools/AutoTests/TemplateProjects2005/Test1pch/Check/test.h b/tools/AutoTests/TemplateProjects2005/Test1pch/Check/test.h
deleted file mode 100644
index e69de29b..00000000
--- a/tools/AutoTests/TemplateProjects2005/Test1pch/Check/test.h
+++ /dev/null
diff --git a/tools/AutoTests/TemplateProjects2005/Test1pch/Test1pch.sln b/tools/AutoTests/TemplateProjects2005/Test1pch/Test1pch.sln
deleted file mode 100644
index 4587e769..00000000
--- a/tools/AutoTests/TemplateProjects2005/Test1pch/Test1pch.sln
+++ /dev/null
@@ -1,20 +0,0 @@
-
-Microsoft Visual Studio Solution File, Format Version 9.00
-# Visual Studio 2005
-Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Test1", "Check\Check.vcproj", "{ADA1D5AA-949B-46E9-AA9E-10D2D5ECA5B0}"
-EndProject
-Global
- GlobalSection(SolutionConfigurationPlatforms) = preSolution
- Debug|Win32 = Debug|Win32
- Release|Win32 = Release|Win32
- EndGlobalSection
- GlobalSection(ProjectConfigurationPlatforms) = postSolution
- {ADA1D5AA-949B-46E9-AA9E-10D2D5ECA5B0}.Debug|Win32.ActiveCfg = Debug|Win32
- {ADA1D5AA-949B-46E9-AA9E-10D2D5ECA5B0}.Debug|Win32.Build.0 = Debug|Win32
- {ADA1D5AA-949B-46E9-AA9E-10D2D5ECA5B0}.Release|Win32.ActiveCfg = Release|Win32
- {ADA1D5AA-949B-46E9-AA9E-10D2D5ECA5B0}.Release|Win32.Build.0 = Release|Win32
- EndGlobalSection
- GlobalSection(SolutionProperties) = preSolution
- HideSolutionNode = FALSE
- EndGlobalSection
-EndGlobal
diff --git a/tools/AutoTests/TemplateProjects2005/Test2/Check/Check.vcproj b/tools/AutoTests/TemplateProjects2005/Test2/Check/Check.vcproj
deleted file mode 100644
index 1ec821f1..00000000
--- a/tools/AutoTests/TemplateProjects2005/Test2/Check/Check.vcproj
+++ /dev/null
@@ -1,447 +0,0 @@
-<?xml version="1.0" encoding="Windows-1252"?>
-<VisualStudioProject
- ProjectType="Visual C++"
- Version="8.00"
- Name="Test2"
- ProjectGUID="{ADA1D5AA-949B-46E9-AA9E-10D2D5ECA5B0}"
- RootNamespace="Check"
- Keyword="Qt4VSv1.0"
- TargetFrameworkVersion="0"
- >
- <Platforms>
- <Platform
- Name="Win32"
- />
- </Platforms>
- <ToolFiles>
- </ToolFiles>
- <Configurations>
- <Configuration
- Name="Release|Win32"
- OutputDirectory="$(SolutionDir)$(ConfigurationName)"
- ConfigurationType="1"
- >
- <Tool
- Name="VCPreBuildEventTool"
- />
- <Tool
- Name="VCCustomBuildTool"
- />
- <Tool
- Name="VCXMLDataGeneratorTool"
- />
- <Tool
- Name="VCWebServiceProxyGeneratorTool"
- />
- <Tool
- Name="VCMIDLTool"
- />
- <Tool
- Name="VCCLCompilerTool"
- AdditionalIncludeDirectories=".\GeneratedFiles;$(QTDIR)\include;.\GeneratedFiles\$(ConfigurationName);;$(QTDIR)\include\QtCore;$(QTDIR)\include\QtGui"
- PreprocessorDefinitions="UNICODE,WIN32,QT_THREAD_SUPPORT,QT_NO_DEBUG,NDEBUG,QT_CORE_LIB,QT_GUI_LIB"
- RuntimeLibrary="2"
- TreatWChar_tAsBuiltInType="false"
- DebugInformationFormat="0"
- />
- <Tool
- Name="VCManagedResourceCompilerTool"
- />
- <Tool
- Name="VCResourceCompilerTool"
- />
- <Tool
- Name="VCPreLinkEventTool"
- />
- <Tool
- Name="VCLinkerTool"
- AdditionalDependencies=" qtmain.lib QtCore4.lib QtGui4.lib"
- OutputFile="$(OutDir)\$(ProjectName).exe"
- AdditionalLibraryDirectories="$(QTDIR)\lib"
- GenerateDebugInformation="false"
- SubSystem="2"
- />
- <Tool
- Name="VCALinkTool"
- />
- <Tool
- Name="VCManifestTool"
- />
- <Tool
- Name="VCXDCMakeTool"
- />
- <Tool
- Name="VCBscMakeTool"
- />
- <Tool
- Name="VCFxCopTool"
- />
- <Tool
- Name="VCAppVerifierTool"
- />
- <Tool
- Name="VCPostBuildEventTool"
- />
- </Configuration>
- <Configuration
- Name="Debug|Win32"
- OutputDirectory="$(SolutionDir)$(ConfigurationName)"
- IntermediateDirectory="$(ConfigurationName)"
- ConfigurationType="1"
- >
- <Tool
- Name="VCPreBuildEventTool"
- />
- <Tool
- Name="VCCustomBuildTool"
- />
- <Tool
- Name="VCXMLDataGeneratorTool"
- />
- <Tool
- Name="VCWebServiceProxyGeneratorTool"
- />
- <Tool
- Name="VCMIDLTool"
- />
- <Tool
- Name="VCCLCompilerTool"
- Optimization="0"
- AdditionalIncludeDirectories=".\GeneratedFiles;$(QTDIR)\include;.\GeneratedFiles\$(ConfigurationName);;$(QTDIR)\include\QtCore;$(QTDIR)\include\QtGui"
- PreprocessorDefinitions="UNICODE,WIN32,QT_THREAD_SUPPORT,QT_CORE_LIB,QT_GUI_LIB"
- RuntimeLibrary="3"
- TreatWChar_tAsBuiltInType="false"
- DebugInformationFormat="3"
- />
- <Tool
- Name="VCManagedResourceCompilerTool"
- />
- <Tool
- Name="VCResourceCompilerTool"
- />
- <Tool
- Name="VCPreLinkEventTool"
- />
- <Tool
- Name="VCLinkerTool"
- AdditionalDependencies=" qtmaind.lib QtCored4.lib QtGuid4.lib"
- OutputFile="$(OutDir)\$(ProjectName).exe"
- AdditionalLibraryDirectories="$(QTDIR)\lib"
- GenerateDebugInformation="true"
- SubSystem="2"
- />
- <Tool
- Name="VCALinkTool"
- />
- <Tool
- Name="VCManifestTool"
- />
- <Tool
- Name="VCXDCMakeTool"
- />
- <Tool
- Name="VCBscMakeTool"
- />
- <Tool
- Name="VCFxCopTool"
- />
- <Tool
- Name="VCAppVerifierTool"
- />
- <Tool
- Name="VCPostBuildEventTool"
- />
- </Configuration>
- </Configurations>
- <References>
- </References>
- <Files>
- <Filter
- Name="Source Files"
- Filter="cpp;cxx;c;def"
- UniqueIdentifier="{4FC737F1-C7A5-4376-A066-2A32D752A2FF}"
- >
- <File
- RelativePath=".\foo.cpp"
- >
- </File>
- <File
- RelativePath=".\main.cpp"
- >
- </File>
- <File
- RelativePath=".\subfolder\sub.cpp"
- >
- </File>
- <File
- RelativePath=".\test.cpp"
- >
- </File>
- </Filter>
- <Filter
- Name="Header Files"
- Filter="h"
- UniqueIdentifier="{93995380-89BD-4b04-88EB-625FBE52EBFB}"
- >
- <File
- RelativePath=".\foo.h"
- >
- <FileConfiguration
- Name="Release|Win32"
- >
- <Tool
- Name="VCCustomBuildTool"
- Description="Moc&apos;ing foo.h..."
- CommandLine="&quot;$(QTDIR)\bin\moc.exe&quot; &quot;.\foo.h&quot; -o &quot;.\GeneratedFiles\$(ConfigurationName)\moc_foo.cpp&quot; -DNDEBUG -DQT_CORE_LIB -DQT_GUI_LIB -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -DUNICODE -DWIN32 -I&quot;$(QTDIR)\include\.&quot; -I&quot;$(QTDIR)\include\QtCore\.&quot; -I&quot;$(QTDIR)\include\QtGui\.&quot; -I&quot;.\.&quot; -I&quot;.\GeneratedFiles\$(ConfigurationName)\.&quot; -I&quot;.\GeneratedFiles\.&quot;&#x0D;&#x0A;"
- AdditionalDependencies="&quot;$(QTDIR)\bin\moc.exe&quot;;.\foo.h"
- Outputs="&quot;.\GeneratedFiles\$(ConfigurationName)\moc_foo.cpp&quot;"
- />
- </FileConfiguration>
- <FileConfiguration
- Name="Debug|Win32"
- >
- <Tool
- Name="VCCustomBuildTool"
- Description="Moc&apos;ing foo.h..."
- CommandLine="&quot;$(QTDIR)\bin\moc.exe&quot; -DUNICODE -DWIN32 -DQT_THREAD_SUPPORT -DQT_CORE_LIB -DQT_GUI_LIB -I&quot;.\GeneratedFiles\.&quot; -I&quot;$(QTDIR)\include\.&quot; -I&quot;.\GeneratedFiles\$(ConfigurationName)\.&quot; -I&quot;.\.&quot; -I&quot;$(QTDIR)\include\QtCore\.&quot; -I&quot;$(QTDIR)\include\QtGui\.&quot; &quot;.\foo.h&quot; -o &quot;.\GeneratedFiles\$(ConfigurationName)\moc_foo.cpp&quot;&#x0D;&#x0A;"
- AdditionalDependencies="&quot;$(QTDIR)\bin\moc.exe&quot;;.\foo.h"
- Outputs="&quot;.\GeneratedFiles\$(ConfigurationName)\moc_foo.cpp&quot;"
- />
- </FileConfiguration>
- </File>
- <File
- RelativePath=".\test.h"
- >
- </File>
- </Filter>
- <Filter
- Name="Form Files"
- Filter="ui"
- UniqueIdentifier="{99349809-55BA-4b9d-BF79-8FDBB0286EB3}"
- >
- <File
- RelativePath=".\foo.ui"
- >
- <FileConfiguration
- Name="Release|Win32"
- >
- <Tool
- Name="VCCustomBuildTool"
- Description="Uic&apos;ing $(InputPath)..."
- CommandLine="&quot;$(QTDIR)\bin\uic.exe&quot; -o &quot;.\GeneratedFiles\ui_foo.h&quot; &quot;$(InputPath)&quot;&#x0D;&#x0A;"
- AdditionalDependencies="$(QTDIR)\bin\uic.exe"
- Outputs="&quot;.\GeneratedFiles\ui_foo.h&quot;"
- />
- </FileConfiguration>
- <FileConfiguration
- Name="Debug|Win32"
- >
- <Tool
- Name="VCCustomBuildTool"
- Description="Uic&apos;ing $(InputPath)..."
- CommandLine="&quot;$(QTDIR)\bin\uic.exe&quot; -o &quot;.\GeneratedFiles\ui_foo.h&quot; &quot;$(InputPath)&quot;&#x0D;&#x0A;"
- AdditionalDependencies="$(QTDIR)\bin\uic.exe"
- Outputs="&quot;.\GeneratedFiles\ui_foo.h&quot;"
- />
- </FileConfiguration>
- </File>
- </Filter>
- <Filter
- Name="Resource Files"
- Filter="qrc;*"
- UniqueIdentifier="{D9D6E242-F8AF-46E4-B9FD-80ECBC20BA3E}"
- ParseFiles="false"
- >
- <File
- RelativePath=".\foo.qrc"
- >
- <FileConfiguration
- Name="Release|Win32"
- >
- <Tool
- Name="VCCustomBuildTool"
- Description=""
- CommandLine=""
- AdditionalDependencies=""
- Outputs=""
- />
- </FileConfiguration>
- <FileConfiguration
- Name="Debug|Win32"
- >
- <Tool
- Name="VCCustomBuildTool"
- Description=""
- CommandLine=""
- AdditionalDependencies=""
- Outputs=""
- />
- </FileConfiguration>
- </File>
- </Filter>
- <Filter
- Name="Generated Files"
- Filter="moc;h;cpp"
- UniqueIdentifier="{71ED8ED8-ACB9-4CE9-BBE1-E00B30144E11}"
- SourceControlFiles="false"
- >
- <File
- RelativePath=".\GeneratedFiles\Release\main.moc"
- >
- <FileConfiguration
- Name="Release|Win32"
- >
- <Tool
- Name="VCCustomBuildTool"
- Description="Moc&apos;ing main.cpp..."
- CommandLine="&quot;$(QTDIR)\bin\moc.exe&quot; &quot;.\main.cpp&quot; -o &quot;.\GeneratedFiles\$(ConfigurationName)\main.moc&quot; -DNDEBUG -DQT_CORE_LIB -DQT_GUI_LIB -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -DUNICODE -DWIN32 -I&quot;$(QTDIR)\include\.&quot; -I&quot;$(QTDIR)\include\QtCore\.&quot; -I&quot;$(QTDIR)\include\QtGui\.&quot; -I&quot;.\.&quot; -I&quot;.\GeneratedFiles\$(ConfigurationName)\.&quot; -I&quot;.\GeneratedFiles\.&quot;&#x0D;&#x0A;"
- AdditionalDependencies="&quot;$(QTDIR)\bin\moc.exe&quot;;.\main.cpp"
- Outputs="&quot;.\GeneratedFiles\$(ConfigurationName)\main.moc&quot;"
- />
- </FileConfiguration>
- <FileConfiguration
- Name="Debug|Win32"
- ExcludedFromBuild="true"
- >
- <Tool
- Name="VCCustomBuildTool"
- />
- </FileConfiguration>
- </File>
- <File
- RelativePath=".\GeneratedFiles\Debug\main.moc"
- >
- <FileConfiguration
- Name="Release|Win32"
- ExcludedFromBuild="true"
- >
- <Tool
- Name="VCCustomBuildTool"
- />
- </FileConfiguration>
- <FileConfiguration
- Name="Debug|Win32"
- >
- <Tool
- Name="VCCustomBuildTool"
- Description="Moc&apos;ing main.cpp..."
- CommandLine="&quot;$(QTDIR)\bin\moc.exe&quot; -DUNICODE -DWIN32 -DQT_THREAD_SUPPORT -DQT_CORE_LIB -DQT_GUI_LIB -I&quot;.\GeneratedFiles\.&quot; -I&quot;$(QTDIR)\include\.&quot; -I&quot;.\GeneratedFiles\$(ConfigurationName)\.&quot; -I&quot;.\.&quot; -I&quot;$(QTDIR)\include\QtCore\.&quot; -I&quot;$(QTDIR)\include\QtGui\.&quot; &quot;.\main.cpp&quot; -o &quot;.\GeneratedFiles\$(ConfigurationName)\main.moc&quot;&#x0D;&#x0A;"
- AdditionalDependencies="&quot;$(QTDIR)\bin\moc.exe&quot;;.\main.cpp"
- Outputs="&quot;.\GeneratedFiles\$(ConfigurationName)\main.moc&quot;"
- />
- </FileConfiguration>
- </File>
- <File
- RelativePath=".\GeneratedFiles\Release\moc_foo.cpp"
- >
- <FileConfiguration
- Name="Debug|Win32"
- ExcludedFromBuild="true"
- >
- <Tool
- Name="VCCLCompilerTool"
- />
- </FileConfiguration>
- </File>
- <File
- RelativePath=".\GeneratedFiles\Debug\moc_foo.cpp"
- >
- <FileConfiguration
- Name="Release|Win32"
- ExcludedFromBuild="true"
- >
- <Tool
- Name="VCCLCompilerTool"
- />
- </FileConfiguration>
- <FileConfiguration
- Name="Debug|Win32"
- >
- <Tool
- Name="VCCLCompilerTool"
- />
- </FileConfiguration>
- </File>
- <File
- RelativePath=".\GeneratedFiles\ui_foo.h"
- >
- </File>
- <Filter
- Name="Release"
- Filter="cpp;moc"
- SourceControlFiles="false"
- >
- <File
- RelativePath=".\GeneratedFiles\Release\sub.moc"
- >
- <FileConfiguration
- Name="Release|Win32"
- >
- <Tool
- Name="VCCustomBuildTool"
- Description="Moc&apos;ing $(InputFileName)..."
- CommandLine="&quot;$(QTDIR)\bin\moc.exe&quot; &quot;.\subfolder\sub.cpp&quot; -o &quot;.\GeneratedFiles\$(ConfigurationName)\$(InputName).moc&quot; -DNDEBUG -DQT_CORE_LIB -DQT_GUI_LIB -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -DUNICODE -DWIN32 -I&quot;$(QTDIR)\include\.&quot; -I&quot;$(QTDIR)\include\QtCore\.&quot; -I&quot;$(QTDIR)\include\QtGui\.&quot; -I&quot;.\.&quot; -I&quot;.\GeneratedFiles\$(ConfigurationName)\.&quot; -I&quot;.\GeneratedFiles\.&quot;&#x0D;&#x0A;"
- AdditionalDependencies="&quot;$(QTDIR)\bin\moc.exe&quot;;.\subfolder\sub.cpp"
- Outputs="&quot;.\GeneratedFiles\$(ConfigurationName)\$(InputName).moc&quot;"
- />
- </FileConfiguration>
- <FileConfiguration
- Name="Debug|Win32"
- ExcludedFromBuild="true"
- >
- <Tool
- Name="VCCustomBuildTool"
- />
- </FileConfiguration>
- </File>
- </Filter>
- <Filter
- Name="Debug"
- Filter="cpp;moc"
- SourceControlFiles="false"
- >
- <File
- RelativePath=".\GeneratedFiles\Debug\sub.moc"
- >
- <FileConfiguration
- Name="Release|Win32"
- ExcludedFromBuild="true"
- >
- <Tool
- Name="VCCustomBuildTool"
- />
- </FileConfiguration>
- <FileConfiguration
- Name="Debug|Win32"
- >
- <Tool
- Name="VCCustomBuildTool"
- Description="Moc&apos;ing $(InputFileName)..."
- CommandLine="&quot;$(QTDIR)\bin\moc.exe&quot; &quot;.\subfolder\sub.cpp&quot; -o &quot;.\GeneratedFiles\$(ConfigurationName)\$(InputName).moc&quot; -DQT_CORE_LIB -DQT_GUI_LIB -DQT_THREAD_SUPPORT -DUNICODE -DWIN32 -I&quot;$(QTDIR)\include\.&quot; -I&quot;$(QTDIR)\include\QtCore\.&quot; -I&quot;$(QTDIR)\include\QtGui\.&quot; -I&quot;.\.&quot; -I&quot;.\GeneratedFiles\$(ConfigurationName)\.&quot; -I&quot;.\GeneratedFiles\.&quot;&#x0D;&#x0A;"
- AdditionalDependencies="&quot;$(QTDIR)\bin\moc.exe&quot;;.\subfolder\sub.cpp"
- Outputs="&quot;.\GeneratedFiles\$(ConfigurationName)\$(InputName).moc&quot;"
- />
- </FileConfiguration>
- </File>
- </Filter>
- </Filter>
- </Files>
- <Globals>
- <Global
- Name="MocDir"
- Value=".\GeneratedFiles\$(ConfigurationName)"
- />
- <Global
- Name="QtVersion Win32
- Value="$(DefaultQtVersion)"
- />
- <Global
- Name="RccDir"
- Value=".\GeneratedFiles"
- />
- <Global
- Name="UicDir"
- Value=".\GeneratedFiles"
- />
- </Globals>
-</VisualStudioProject>
diff --git a/tools/AutoTests/TemplateProjects2005/Test2/Check/bar.cpp b/tools/AutoTests/TemplateProjects2005/Test2/Check/bar.cpp
deleted file mode 100644
index 7377a16b..00000000
--- a/tools/AutoTests/TemplateProjects2005/Test2/Check/bar.cpp
+++ /dev/null
@@ -1,12 +0,0 @@
-#include <QtGui/QWidget>
-
-class Bar : public QWidget
-{
- Q_OBJECT
-
-public:
- Bar(QWidget *parent = 0, Qt::WFlags flags = 0);
- ~Bar();
-};
-
-#include "bar.moc" \ No newline at end of file
diff --git a/tools/AutoTests/TemplateProjects2005/Test2/Check/foo.cpp b/tools/AutoTests/TemplateProjects2005/Test2/Check/foo.cpp
deleted file mode 100644
index 36697238..00000000
--- a/tools/AutoTests/TemplateProjects2005/Test2/Check/foo.cpp
+++ /dev/null
@@ -1,14 +0,0 @@
-//#include "test.h"
-#include "foo.h"
-////#CUSTOMINCLUDE
-
-Foo::Foo(QWidget *parent, Qt::WFlags flags)
- : QWidget(parent, flags)
-{
- ui.setupUi(this);
-}
-
-Foo::~Foo()
-{
-
-}
diff --git a/tools/AutoTests/TemplateProjects2005/Test2/Check/foo.h b/tools/AutoTests/TemplateProjects2005/Test2/Check/foo.h
deleted file mode 100644
index ff46f40a..00000000
--- a/tools/AutoTests/TemplateProjects2005/Test2/Check/foo.h
+++ /dev/null
@@ -1,19 +0,0 @@
-#ifndef FOO_H
-#define FOO_H
-
-#include <QtGui/QWidget>
-#include "ui_foo.h"
-
-class Foo : public QWidget
-{
- Q_OBJECT
-
-public:
- Foo(QWidget *parent = 0, Qt::WFlags flags = 0);
- ~Foo();
-
-private:
- Ui::FooClass ui;
-};
-
-#endif // FOO_H
diff --git a/tools/AutoTests/TemplateProjects2005/Test2/Check/foo.qrc b/tools/AutoTests/TemplateProjects2005/Test2/Check/foo.qrc
deleted file mode 100644
index 18730fee..00000000
--- a/tools/AutoTests/TemplateProjects2005/Test2/Check/foo.qrc
+++ /dev/null
@@ -1,4 +0,0 @@
-<RCC>
- <qresource prefix="Foo">
- </qresource>
-</RCC>
diff --git a/tools/AutoTests/TemplateProjects2005/Test2/Check/foo.ui b/tools/AutoTests/TemplateProjects2005/Test2/Check/foo.ui
deleted file mode 100644
index e7568a8d..00000000
--- a/tools/AutoTests/TemplateProjects2005/Test2/Check/foo.ui
+++ /dev/null
@@ -1,23 +0,0 @@
-<UI version="4.0" >
- <class>FooClass</class>
- <widget class="QWidget" name="FooClass" >
- <property name="objectName" >
- <string notr="true">FooClass</string>
- </property>
- <property name="geometry" >
- <rect>
- <x>0</x>
- <y>0</y>
- <width>600</width>
- <height>400</height>
- </rect>
- </property>
- <property name="windowTitle" >
- <string>Foo</string>
- </property>
- </widget>
- <layoutDefault spacing="6" margin="11" />
- <pixmapfunction></pixmapfunction>
- <resources/>
- <connections/>
-</UI>
diff --git a/tools/AutoTests/TemplateProjects2005/Test2/Check/main.cpp b/tools/AutoTests/TemplateProjects2005/Test2/Check/main.cpp
deleted file mode 100644
index 56d1fd1a..00000000
--- a/tools/AutoTests/TemplateProjects2005/Test2/Check/main.cpp
+++ /dev/null
@@ -1,25 +0,0 @@
-//#include "test.h"
-#include <QtGui/QApplication>
-#include "foo.h"
-
-class Bar : public QWidget
-{
- Q_OBJECT
-
-public:
- Bar(QWidget *parent = 0, Qt::WFlags flags = 0);
- ~Bar();
-
-private:
- Ui::FooClass ui;
-};
-
-int main(int argc, char *argv[])
-{
- QApplication a(argc, argv);
- Foo w;
- w.show();
- return a.exec();
-}
-
-#include "main.moc"
diff --git a/tools/AutoTests/TemplateProjects2005/Test2/Check/subfolder/sub.cpp b/tools/AutoTests/TemplateProjects2005/Test2/Check/subfolder/sub.cpp
deleted file mode 100644
index f607f00b..00000000
--- a/tools/AutoTests/TemplateProjects2005/Test2/Check/subfolder/sub.cpp
+++ /dev/null
@@ -1,13 +0,0 @@
-//#include "test.h"
-#include <QObject>
-
-class Sub: public QObject
-{
- Q_OBJECT
-public:
- Sub(QObject *parent = 0)
- : QObject(parent)
- {}
-};
-
-#include "sub.moc" \ No newline at end of file
diff --git a/tools/AutoTests/TemplateProjects2005/Test2/Check/test.cpp b/tools/AutoTests/TemplateProjects2005/Test2/Check/test.cpp
deleted file mode 100644
index 91ab081c..00000000
--- a/tools/AutoTests/TemplateProjects2005/Test2/Check/test.cpp
+++ /dev/null
@@ -1 +0,0 @@
-#include "test.h" \ No newline at end of file
diff --git a/tools/AutoTests/TemplateProjects2005/Test2/Check/test.h b/tools/AutoTests/TemplateProjects2005/Test2/Check/test.h
deleted file mode 100644
index e69de29b..00000000
--- a/tools/AutoTests/TemplateProjects2005/Test2/Check/test.h
+++ /dev/null
diff --git a/tools/AutoTests/TemplateProjects2005/Test2/Test2.sln b/tools/AutoTests/TemplateProjects2005/Test2/Test2.sln
deleted file mode 100644
index 6764085d..00000000
--- a/tools/AutoTests/TemplateProjects2005/Test2/Test2.sln
+++ /dev/null
@@ -1,23 +0,0 @@
-
-Microsoft Visual Studio Solution File, Format Version 9.00
-# Visual Studio 2005
-Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Test2", "Check\Check.vcproj", "{ADA1D5AA-949B-46E9-AA9E-10D2D5ECA5B0}"
-EndProject
-Global
- GlobalSection(SolutionConfigurationPlatforms) = preSolution
- Debug|Win32 = Debug|Win32
- Release|Win32 = Release|Win32
- EndGlobalSection
- GlobalSection(ProjectConfigurationPlatforms) = postSolution
- {ADA1D5AA-949B-46E9-AA9E-10D2D5ECA5B0}.Debug|Win32.ActiveCfg = Debug|Win32
- {ADA1D5AA-949B-46E9-AA9E-10D2D5ECA5B0}.Debug|Win32.Build.0 = Debug|Win32
- {ADA1D5AA-949B-46E9-AA9E-10D2D5ECA5B0}.Release|Win32.ActiveCfg = Release|Win32
- {ADA1D5AA-949B-46E9-AA9E-10D2D5ECA5B0}.Release|Win32.Build.0 = Release|Win32
- EndGlobalSection
- GlobalSection(SolutionProperties) = preSolution
- HideSolutionNode = FALSE
- EndGlobalSection
- GlobalSection(Qt) = preSolution
- Integration = True
- EndGlobalSection
-EndGlobal
diff --git a/tools/AutoTests/TemplateProjects2005/Test2pch/Check/Check.vcproj b/tools/AutoTests/TemplateProjects2005/Test2pch/Check/Check.vcproj
deleted file mode 100644
index b0a8194e..00000000
--- a/tools/AutoTests/TemplateProjects2005/Test2pch/Check/Check.vcproj
+++ /dev/null
@@ -1,463 +0,0 @@
-<?xml version="1.0" encoding="Windows-1252"?>
-<VisualStudioProject
- ProjectType="Visual C++"
- Version="8.00"
- Name="Test2"
- ProjectGUID="{ADA1D5AA-949B-46E9-AA9E-10D2D5ECA5B0}"
- RootNamespace="Check"
- Keyword="Qt4VSv1.0"
- >
- <Platforms>
- <Platform
- Name="Win32"
- />
- </Platforms>
- <ToolFiles>
- </ToolFiles>
- <Configurations>
- <Configuration
- Name="Release|Win32"
- OutputDirectory="$(SolutionDir)$(ConfigurationName)"
- ConfigurationType="1"
- >
- <Tool
- Name="VCPreBuildEventTool"
- />
- <Tool
- Name="VCCustomBuildTool"
- />
- <Tool
- Name="VCXMLDataGeneratorTool"
- />
- <Tool
- Name="VCWebServiceProxyGeneratorTool"
- />
- <Tool
- Name="VCMIDLTool"
- />
- <Tool
- Name="VCCLCompilerTool"
- AdditionalIncludeDirectories=".\GeneratedFiles;$(QTDIR)\include;.\GeneratedFiles\$(ConfigurationName);.;$(QTDIR)\include\QtCore;$(QTDIR)\include\QtGui"
- PreprocessorDefinitions="UNICODE,WIN32,QT_THREAD_SUPPORT,QT_NO_DEBUG,NDEBUG,QT_CORE_LIB,QT_GUI_LIB"
- RuntimeLibrary="2"
- TreatWChar_tAsBuiltInType="false"
- DebugInformationFormat="0"
- />
- <Tool
- Name="VCManagedResourceCompilerTool"
- />
- <Tool
- Name="VCResourceCompilerTool"
- />
- <Tool
- Name="VCPreLinkEventTool"
- />
- <Tool
- Name="VCLinkerTool"
- AdditionalDependencies=" qtmain.lib QtCore4.lib QtGui4.lib"
- OutputFile="$(OutDir)\$(ProjectName).exe"
- AdditionalLibraryDirectories="$(QTDIR)\lib"
- GenerateDebugInformation="false"
- SubSystem="2"
- />
- <Tool
- Name="VCALinkTool"
- />
- <Tool
- Name="VCManifestTool"
- />
- <Tool
- Name="VCXDCMakeTool"
- />
- <Tool
- Name="VCBscMakeTool"
- />
- <Tool
- Name="VCFxCopTool"
- />
- <Tool
- Name="VCAppVerifierTool"
- />
- <Tool
- Name="VCWebDeploymentTool"
- />
- <Tool
- Name="VCPostBuildEventTool"
- />
- </Configuration>
- <Configuration
- Name="Debug|Win32"
- OutputDirectory="$(SolutionDir)$(ConfigurationName)"
- IntermediateDirectory="$(ConfigurationName)"
- ConfigurationType="1"
- >
- <Tool
- Name="VCPreBuildEventTool"
- />
- <Tool
- Name="VCCustomBuildTool"
- />
- <Tool
- Name="VCXMLDataGeneratorTool"
- />
- <Tool
- Name="VCWebServiceProxyGeneratorTool"
- />
- <Tool
- Name="VCMIDLTool"
- />
- <Tool
- Name="VCCLCompilerTool"
- Optimization="0"
- AdditionalIncludeDirectories=".\GeneratedFiles;$(QTDIR)\include;.\GeneratedFiles\$(ConfigurationName);.;$(QTDIR)\include\QtCore;$(QTDIR)\include\QtGui"
- PreprocessorDefinitions="UNICODE,WIN32,QT_THREAD_SUPPORT,QT_CORE_LIB,QT_GUI_LIB"
- RuntimeLibrary="3"
- TreatWChar_tAsBuiltInType="false"
- UsePrecompiledHeader="2"
- PrecompiledHeaderThrough="pch.h"
- DebugInformationFormat="3"
- />
- <Tool
- Name="VCManagedResourceCompilerTool"
- />
- <Tool
- Name="VCResourceCompilerTool"
- />
- <Tool
- Name="VCPreLinkEventTool"
- />
- <Tool
- Name="VCLinkerTool"
- AdditionalDependencies=" qtmaind.lib QtCored4.lib QtGuid4.lib"
- OutputFile="$(OutDir)\$(ProjectName).exe"
- AdditionalLibraryDirectories="$(QTDIR)\lib"
- GenerateDebugInformation="true"
- SubSystem="2"
- />
- <Tool
- Name="VCALinkTool"
- />
- <Tool
- Name="VCManifestTool"
- />
- <Tool
- Name="VCXDCMakeTool"
- />
- <Tool
- Name="VCBscMakeTool"
- />
- <Tool
- Name="VCFxCopTool"
- />
- <Tool
- Name="VCAppVerifierTool"
- />
- <Tool
- Name="VCWebDeploymentTool"
- />
- <Tool
- Name="VCPostBuildEventTool"
- />
- </Configuration>
- </Configurations>
- <References>
- </References>
- <Files>
- <Filter
- Name="Source Files"
- Filter="cpp;cxx;c;def"
- UniqueIdentifier="{4FC737F1-C7A5-4376-A066-2A32D752A2FF}"
- >
- <File
- RelativePath=".\foo.cpp"
- >
- </File>
- <File
- RelativePath=".\main.cpp"
- >
- </File>
- <File
- RelativePath=".\pch.cpp"
- >
- <FileConfiguration
- Name="Debug|Win32"
- >
- <Tool
- Name="VCCLCompilerTool"
- UsePrecompiledHeader="1"
- />
- </FileConfiguration>
- </File>
- <File
- RelativePath=".\subfolder\sub.cpp"
- >
- </File>
- <File
- RelativePath=".\test.cpp"
- >
- </File>
- </Filter>
- <Filter
- Name="Header Files"
- Filter="h"
- UniqueIdentifier="{93995380-89BD-4b04-88EB-625FBE52EBFB}"
- >
- <File
- RelativePath=".\foo.h"
- >
- <FileConfiguration
- Name="Release|Win32"
- >
- <Tool
- Name="VCCustomBuildTool"
- Description="Moc&apos;ing $(InputFileName)..."
- CommandLine="&quot;$(QTDIR)\bin\moc.exe&quot; &quot;$(InputPath)&quot; -o &quot;.\GeneratedFiles\$(ConfigurationName)\moc_$(InputName).cpp&quot; &quot;-I$(QTDIR)\include&quot; &quot;-I$(QTDIR)\include\QtCore&quot; &quot;-I$(QTDIR)\include\QtGui&quot; &quot;-I.&quot; &quot;-I.\GeneratedFiles&quot; &quot;-I.\GeneratedFiles\$(ConfigurationName)\.&quot; -DNDEBUG -DQT_CORE_LIB -DQT_GUI_LIB -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -DUNICODE -DWIN32&#x0D;&#x0A;"
- AdditionalDependencies="&quot;$(QTDIR)\bin\moc.exe&quot;;$(InputPath)"
- Outputs="&quot;.\GeneratedFiles\$(ConfigurationName)\moc_$(InputName).cpp&quot;"
- />
- </FileConfiguration>
- <FileConfiguration
- Name="Debug|Win32"
- >
- <Tool
- Name="VCCustomBuildTool"
- Description="Moc&apos;ing $(InputFileName)..."
- CommandLine="&quot;$(QTDIR)\bin\moc.exe&quot; &quot;$(InputPath)&quot; -o &quot;.\GeneratedFiles\$(ConfigurationName)\moc_$(InputName).cpp&quot; &quot;-fpch.h&quot; &quot;-f..\..\foo.h&quot; &quot;-I$(QTDIR)\include&quot; &quot;-I$(QTDIR)\include\QtCore&quot; &quot;-I$(QTDIR)\include\QtGui&quot; &quot;-I.&quot; &quot;-I.\GeneratedFiles&quot; &quot;-I.\GeneratedFiles\$(ConfigurationName)\.&quot; -DQT_CORE_LIB -DQT_GUI_LIB -DQT_THREAD_SUPPORT -DUNICODE -DWIN32&#x0D;&#x0A;"
- AdditionalDependencies="&quot;$(QTDIR)\bin\moc.exe&quot;;$(InputPath)"
- Outputs="&quot;.\GeneratedFiles\$(ConfigurationName)\moc_$(InputName).cpp&quot;"
- />
- </FileConfiguration>
- </File>
- <File
- RelativePath=".\pch.h"
- >
- </File>
- <File
- RelativePath=".\test.h"
- >
- </File>
- </Filter>
- <Filter
- Name="Form Files"
- Filter="ui"
- UniqueIdentifier="{99349809-55BA-4b9d-BF79-8FDBB0286EB3}"
- >
- <File
- RelativePath=".\foo.ui"
- >
- <FileConfiguration
- Name="Release|Win32"
- >
- <Tool
- Name="VCCustomBuildTool"
- Description="Uic&apos;ing $(InputPath)..."
- CommandLine="&quot;$(QTDIR)\bin\uic.exe&quot; -o &quot;.\GeneratedFiles\ui_foo.h&quot; &quot;$(InputPath)&quot;&#x0D;&#x0A;"
- AdditionalDependencies="$(QTDIR)\bin\uic.exe"
- Outputs="&quot;.\GeneratedFiles\ui_foo.h&quot;"
- />
- </FileConfiguration>
- <FileConfiguration
- Name="Debug|Win32"
- >
- <Tool
- Name="VCCustomBuildTool"
- Description="Uic&apos;ing $(InputPath)..."
- CommandLine="&quot;$(QTDIR)\bin\uic.exe&quot; -o &quot;.\GeneratedFiles\ui_foo.h&quot; &quot;$(InputPath)&quot;&#x0D;&#x0A;"
- AdditionalDependencies="$(QTDIR)\bin\uic.exe"
- Outputs="&quot;.\GeneratedFiles\ui_foo.h&quot;"
- />
- </FileConfiguration>
- </File>
- </Filter>
- <Filter
- Name="Resource Files"
- Filter="qrc;*"
- UniqueIdentifier="{D9D6E242-F8AF-46E4-B9FD-80ECBC20BA3E}"
- ParseFiles="false"
- >
- <File
- RelativePath=".\foo.qrc"
- >
- <FileConfiguration
- Name="Release|Win32"
- >
- <Tool
- Name="VCCustomBuildTool"
- Description=""
- CommandLine=""
- AdditionalDependencies=""
- Outputs=""
- />
- </FileConfiguration>
- <FileConfiguration
- Name="Debug|Win32"
- >
- <Tool
- Name="VCCustomBuildTool"
- Description=""
- CommandLine=""
- AdditionalDependencies=""
- Outputs=""
- />
- </FileConfiguration>
- </File>
- </Filter>
- <Filter
- Name="Generated Files"
- Filter="moc;h;cpp"
- UniqueIdentifier="{71ED8ED8-ACB9-4CE9-BBE1-E00B30144E11}"
- SourceControlFiles="false"
- >
- <File
- RelativePath=".\GeneratedFiles\ui_foo.h"
- >
- </File>
- <Filter
- Name="Release"
- Filter="cpp;moc"
- SourceControlFiles="false"
- >
- <File
- RelativePath=".\generatedfiles\release\main.moc"
- >
- <FileConfiguration
- Name="Release|Win32"
- >
- <Tool
- Name="VCCustomBuildTool"
- Description="Moc&apos;ing $(InputFileName)..."
- CommandLine="&quot;$(QTDIR)\bin\moc.exe&quot; &quot;.\main.cpp&quot; -o &quot;.\GeneratedFiles\$(ConfigurationName)\$(InputName).moc&quot; &quot;-I$(QTDIR)\include&quot; &quot;-I$(QTDIR)\include\QtCore&quot; &quot;-I$(QTDIR)\include\QtGui&quot; &quot;-I.&quot; &quot;-I.\GeneratedFiles&quot; &quot;-I.\GeneratedFiles\$(ConfigurationName)\.&quot; -DNDEBUG -DQT_CORE_LIB -DQT_GUI_LIB -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -DUNICODE -DWIN32&#x0D;&#x0A;"
- AdditionalDependencies="&quot;$(QTDIR)\bin\moc.exe&quot;;.\main.cpp"
- Outputs="&quot;.\GeneratedFiles\$(ConfigurationName)\$(InputName).moc&quot;"
- />
- </FileConfiguration>
- <FileConfiguration
- Name="Debug|Win32"
- ExcludedFromBuild="true"
- >
- <Tool
- Name="VCCustomBuildTool"
- />
- </FileConfiguration>
- </File>
- <File
- RelativePath=".\generatedfiles\release\moc_foo.cpp"
- >
- <FileConfiguration
- Name="Debug|Win32"
- ExcludedFromBuild="true"
- >
- <Tool
- Name="VCCLCompilerTool"
- />
- </FileConfiguration>
- </File>
- <File
- RelativePath=".\generatedfiles\release\sub.moc"
- >
- <FileConfiguration
- Name="Release|Win32"
- >
- <Tool
- Name="VCCustomBuildTool"
- Description="Moc&apos;ing $(InputFileName)..."
- CommandLine="&quot;$(QTDIR)\bin\moc.exe&quot; &quot;.\subfolder\sub.cpp&quot; -o &quot;.\GeneratedFiles\$(ConfigurationName)\$(InputName).moc&quot; &quot;-I$(QTDIR)\include&quot; &quot;-I$(QTDIR)\include\QtCore&quot; &quot;-I$(QTDIR)\include\QtGui&quot; &quot;-I.&quot; &quot;-I.\GeneratedFiles&quot; &quot;-I.\GeneratedFiles\$(ConfigurationName)\.&quot; -DNDEBUG -DQT_CORE_LIB -DQT_GUI_LIB -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -DUNICODE -DWIN32&#x0D;&#x0A;"
- AdditionalDependencies="&quot;$(QTDIR)\bin\moc.exe&quot;;.\subfolder\sub.cpp"
- Outputs="&quot;.\GeneratedFiles\$(ConfigurationName)\$(InputName).moc&quot;"
- />
- </FileConfiguration>
- <FileConfiguration
- Name="Debug|Win32"
- ExcludedFromBuild="true"
- >
- <Tool
- Name="VCCustomBuildTool"
- />
- </FileConfiguration>
- </File>
- </Filter>
- <Filter
- Name="Debug"
- Filter="cpp;moc"
- SourceControlFiles="false"
- >
- <File
- RelativePath=".\generatedfiles\debug\main.moc"
- >
- <FileConfiguration
- Name="Release|Win32"
- ExcludedFromBuild="true"
- >
- <Tool
- Name="VCCustomBuildTool"
- />
- </FileConfiguration>
- <FileConfiguration
- Name="Debug|Win32"
- >
- <Tool
- Name="VCCustomBuildTool"
- Description="Moc&apos;ing $(InputFileName)..."
- CommandLine="&quot;$(QTDIR)\bin\moc.exe&quot; &quot;.\main.cpp&quot; -o &quot;.\GeneratedFiles\$(ConfigurationName)\$(InputName).moc&quot; &quot;-I$(QTDIR)\include&quot; &quot;-I$(QTDIR)\include\QtCore&quot; &quot;-I$(QTDIR)\include\QtGui&quot; &quot;-I.&quot; &quot;-I.\GeneratedFiles&quot; &quot;-I.\GeneratedFiles\$(ConfigurationName)\.&quot; -DQT_CORE_LIB -DQT_GUI_LIB -DQT_THREAD_SUPPORT -DUNICODE -DWIN32&#x0D;&#x0A;"
- AdditionalDependencies="&quot;$(QTDIR)\bin\moc.exe&quot;;.\main.cpp"
- Outputs="&quot;.\GeneratedFiles\$(ConfigurationName)\$(InputName).moc&quot;"
- />
- </FileConfiguration>
- </File>
- <File
- RelativePath=".\generatedfiles\debug\moc_foo.cpp"
- >
- <FileConfiguration
- Name="Release|Win32"
- ExcludedFromBuild="true"
- >
- <Tool
- Name="VCCLCompilerTool"
- />
- </FileConfiguration>
- </File>
- <File
- RelativePath=".\generatedfiles\debug\sub.moc"
- >
- <FileConfiguration
- Name="Release|Win32"
- ExcludedFromBuild="true"
- >
- <Tool
- Name="VCCustomBuildTool"
- />
- </FileConfiguration>
- <FileConfiguration
- Name="Debug|Win32"
- >
- <Tool
- Name="VCCustomBuildTool"
- Description="Moc&apos;ing $(InputFileName)..."
- CommandLine="&quot;$(QTDIR)\bin\moc.exe&quot; &quot;.\subfolder\sub.cpp&quot; -o &quot;.\GeneratedFiles\$(ConfigurationName)\$(InputName).moc&quot; &quot;-I$(QTDIR)\include&quot; &quot;-I$(QTDIR)\include\QtCore&quot; &quot;-I$(QTDIR)\include\QtGui&quot; &quot;-I.&quot; &quot;-I.\GeneratedFiles&quot; &quot;-I.\GeneratedFiles\$(ConfigurationName)\.&quot; -DQT_CORE_LIB -DQT_GUI_LIB -DQT_THREAD_SUPPORT -DUNICODE -DWIN32&#x0D;&#x0A;"
- AdditionalDependencies="&quot;$(QTDIR)\bin\moc.exe&quot;;.\subfolder\sub.cpp"
- Outputs="&quot;.\GeneratedFiles\$(ConfigurationName)\$(InputName).moc&quot;"
- />
- </FileConfiguration>
- </File>
- </Filter>
- </Filter>
- </Files>
- <Globals>
- <Global
- Name="MocDir"
- Value=".\GeneratedFiles\$(ConfigurationName)"
- />
- <Global
- Name="QtVersion Win32
- Value="$(DefaultQtVersion)"
- />
- <Global
- Name="RccDir"
- Value=".\GeneratedFiles"
- />
- <Global
- Name="UicDir"
- Value=".\GeneratedFiles"
- />
- </Globals>
-</VisualStudioProject>
diff --git a/tools/AutoTests/TemplateProjects2005/Test2pch/Check/bar.cpp b/tools/AutoTests/TemplateProjects2005/Test2pch/Check/bar.cpp
deleted file mode 100644
index 7377a16b..00000000
--- a/tools/AutoTests/TemplateProjects2005/Test2pch/Check/bar.cpp
+++ /dev/null
@@ -1,12 +0,0 @@
-#include <QtGui/QWidget>
-
-class Bar : public QWidget
-{
- Q_OBJECT
-
-public:
- Bar(QWidget *parent = 0, Qt::WFlags flags = 0);
- ~Bar();
-};
-
-#include "bar.moc" \ No newline at end of file
diff --git a/tools/AutoTests/TemplateProjects2005/Test2pch/Check/foo.cpp b/tools/AutoTests/TemplateProjects2005/Test2pch/Check/foo.cpp
deleted file mode 100644
index eb9e7f64..00000000
--- a/tools/AutoTests/TemplateProjects2005/Test2pch/Check/foo.cpp
+++ /dev/null
@@ -1,15 +0,0 @@
-#include "pch.h"
-//#include "test.h"
-#include "foo.h"
-////#CUSTOMINCLUDE
-
-Foo::Foo(QWidget *parent, Qt::WFlags flags)
- : QWidget(parent, flags)
-{
- ui.setupUi(this);
-}
-
-Foo::~Foo()
-{
-
-}
diff --git a/tools/AutoTests/TemplateProjects2005/Test2pch/Check/foo.h b/tools/AutoTests/TemplateProjects2005/Test2pch/Check/foo.h
deleted file mode 100644
index ff46f40a..00000000
--- a/tools/AutoTests/TemplateProjects2005/Test2pch/Check/foo.h
+++ /dev/null
@@ -1,19 +0,0 @@
-#ifndef FOO_H
-#define FOO_H
-
-#include <QtGui/QWidget>
-#include "ui_foo.h"
-
-class Foo : public QWidget
-{
- Q_OBJECT
-
-public:
- Foo(QWidget *parent = 0, Qt::WFlags flags = 0);
- ~Foo();
-
-private:
- Ui::FooClass ui;
-};
-
-#endif // FOO_H
diff --git a/tools/AutoTests/TemplateProjects2005/Test2pch/Check/foo.qrc b/tools/AutoTests/TemplateProjects2005/Test2pch/Check/foo.qrc
deleted file mode 100644
index 18730fee..00000000
--- a/tools/AutoTests/TemplateProjects2005/Test2pch/Check/foo.qrc
+++ /dev/null
@@ -1,4 +0,0 @@
-<RCC>
- <qresource prefix="Foo">
- </qresource>
-</RCC>
diff --git a/tools/AutoTests/TemplateProjects2005/Test2pch/Check/foo.ui b/tools/AutoTests/TemplateProjects2005/Test2pch/Check/foo.ui
deleted file mode 100644
index e7568a8d..00000000
--- a/tools/AutoTests/TemplateProjects2005/Test2pch/Check/foo.ui
+++ /dev/null
@@ -1,23 +0,0 @@
-<UI version="4.0" >
- <class>FooClass</class>
- <widget class="QWidget" name="FooClass" >
- <property name="objectName" >
- <string notr="true">FooClass</string>
- </property>
- <property name="geometry" >
- <rect>
- <x>0</x>
- <y>0</y>
- <width>600</width>
- <height>400</height>
- </rect>
- </property>
- <property name="windowTitle" >
- <string>Foo</string>
- </property>
- </widget>
- <layoutDefault spacing="6" margin="11" />
- <pixmapfunction></pixmapfunction>
- <resources/>
- <connections/>
-</UI>
diff --git a/tools/AutoTests/TemplateProjects2005/Test2pch/Check/main.cpp b/tools/AutoTests/TemplateProjects2005/Test2pch/Check/main.cpp
deleted file mode 100644
index 4e72b4ab..00000000
--- a/tools/AutoTests/TemplateProjects2005/Test2pch/Check/main.cpp
+++ /dev/null
@@ -1,26 +0,0 @@
-#include "pch.h"
-//#include "test.h"
-#include <QtGui/QApplication>
-#include "foo.h"
-
-class Bar : public QWidget
-{
- Q_OBJECT
-
-public:
- Bar(QWidget *parent = 0, Qt::WFlags flags = 0);
- ~Bar();
-
-private:
- Ui::FooClass ui;
-};
-
-int main(int argc, char *argv[])
-{
- QApplication a(argc, argv);
- Foo w;
- w.show();
- return a.exec();
-}
-
-#include "main.moc"
diff --git a/tools/AutoTests/TemplateProjects2005/Test2pch/Check/pch.cpp b/tools/AutoTests/TemplateProjects2005/Test2pch/Check/pch.cpp
deleted file mode 100644
index 17305716..00000000
--- a/tools/AutoTests/TemplateProjects2005/Test2pch/Check/pch.cpp
+++ /dev/null
@@ -1 +0,0 @@
-#include "pch.h" \ No newline at end of file
diff --git a/tools/AutoTests/TemplateProjects2005/Test2pch/Check/pch.h b/tools/AutoTests/TemplateProjects2005/Test2pch/Check/pch.h
deleted file mode 100644
index e69de29b..00000000
--- a/tools/AutoTests/TemplateProjects2005/Test2pch/Check/pch.h
+++ /dev/null
diff --git a/tools/AutoTests/TemplateProjects2005/Test2pch/Check/subfolder/sub.cpp b/tools/AutoTests/TemplateProjects2005/Test2pch/Check/subfolder/sub.cpp
deleted file mode 100644
index f0ca2ce2..00000000
--- a/tools/AutoTests/TemplateProjects2005/Test2pch/Check/subfolder/sub.cpp
+++ /dev/null
@@ -1,13 +0,0 @@
-#include "pch.h"
-#include <QObject>
-
-class Sub: public QObject
-{
- Q_OBJECT
-public:
- Sub(QObject *parent = 0)
- : QObject(parent)
- {}
-};
-
-#include "sub.moc" \ No newline at end of file
diff --git a/tools/AutoTests/TemplateProjects2005/Test2pch/Check/test.cpp b/tools/AutoTests/TemplateProjects2005/Test2pch/Check/test.cpp
deleted file mode 100644
index 2edbe2af..00000000
--- a/tools/AutoTests/TemplateProjects2005/Test2pch/Check/test.cpp
+++ /dev/null
@@ -1,2 +0,0 @@
-#include "pch.h"
-#include "test.h" \ No newline at end of file
diff --git a/tools/AutoTests/TemplateProjects2005/Test2pch/Check/test.h b/tools/AutoTests/TemplateProjects2005/Test2pch/Check/test.h
deleted file mode 100644
index e69de29b..00000000
--- a/tools/AutoTests/TemplateProjects2005/Test2pch/Check/test.h
+++ /dev/null
diff --git a/tools/AutoTests/TemplateProjects2005/Test2pch/Test2pch.sln b/tools/AutoTests/TemplateProjects2005/Test2pch/Test2pch.sln
deleted file mode 100644
index 6764085d..00000000
--- a/tools/AutoTests/TemplateProjects2005/Test2pch/Test2pch.sln
+++ /dev/null
@@ -1,23 +0,0 @@
-
-Microsoft Visual Studio Solution File, Format Version 9.00
-# Visual Studio 2005
-Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Test2", "Check\Check.vcproj", "{ADA1D5AA-949B-46E9-AA9E-10D2D5ECA5B0}"
-EndProject
-Global
- GlobalSection(SolutionConfigurationPlatforms) = preSolution
- Debug|Win32 = Debug|Win32
- Release|Win32 = Release|Win32
- EndGlobalSection
- GlobalSection(ProjectConfigurationPlatforms) = postSolution
- {ADA1D5AA-949B-46E9-AA9E-10D2D5ECA5B0}.Debug|Win32.ActiveCfg = Debug|Win32
- {ADA1D5AA-949B-46E9-AA9E-10D2D5ECA5B0}.Debug|Win32.Build.0 = Debug|Win32
- {ADA1D5AA-949B-46E9-AA9E-10D2D5ECA5B0}.Release|Win32.ActiveCfg = Release|Win32
- {ADA1D5AA-949B-46E9-AA9E-10D2D5ECA5B0}.Release|Win32.Build.0 = Release|Win32
- EndGlobalSection
- GlobalSection(SolutionProperties) = preSolution
- HideSolutionNode = FALSE
- EndGlobalSection
- GlobalSection(Qt) = preSolution
- Integration = True
- EndGlobalSection
-EndGlobal
diff --git a/tools/AutoTests/TemplateProjects2005/Test3/Check/Check.vcproj b/tools/AutoTests/TemplateProjects2005/Test3/Check/Check.vcproj
deleted file mode 100644
index 9c059a64..00000000
--- a/tools/AutoTests/TemplateProjects2005/Test3/Check/Check.vcproj
+++ /dev/null
@@ -1,576 +0,0 @@
-<?xml version="1.0" encoding="Windows-1252"?>
-<VisualStudioProject
- ProjectType="Visual C++"
- Version="8.00"
- Name="Test3"
- ProjectGUID="{ADA1D5AA-949B-46E9-AA9E-10D2D5ECA5B0}"
- RootNamespace="Check"
- Keyword="Qt4VSv1.0"
- >
- <Platforms>
- <Platform
- Name="Win32"
- />
- </Platforms>
- <ToolFiles>
- </ToolFiles>
- <Configurations>
- <Configuration
- Name="Release|Win32"
- OutputDirectory="$(SolutionDir)$(ConfigurationName)"
- IntermediateDirectory="$(ConfigurationName)"
- ConfigurationType="1"
- >
- <Tool
- Name="VCPreBuildEventTool"
- />
- <Tool
- Name="VCCustomBuildTool"
- />
- <Tool
- Name="VCXMLDataGeneratorTool"
- />
- <Tool
- Name="VCWebServiceProxyGeneratorTool"
- />
- <Tool
- Name="VCMIDLTool"
- />
- <Tool
- Name="VCCLCompilerTool"
- AdditionalIncludeDirectories=".\GeneratedFiles;$(QTDIR)\include;.\GeneratedFiles\$(ConfigurationName);.;$(QTDIR)\include\QtCore;$(QTDIR)\include\QtGui"
- PreprocessorDefinitions="UNICODE,WIN32,QT_THREAD_SUPPORT,QT_NO_DEBUG,NDEBUG,QT_CORE_LIB,QT_GUI_LIB"
- RuntimeLibrary="2"
- TreatWChar_tAsBuiltInType="false"
- DebugInformationFormat="0"
- />
- <Tool
- Name="VCManagedResourceCompilerTool"
- />
- <Tool
- Name="VCResourceCompilerTool"
- />
- <Tool
- Name="VCPreLinkEventTool"
- />
- <Tool
- Name="VCLinkerTool"
- AdditionalDependencies=" qtmain.lib QtCore4.lib QtGui4.lib"
- OutputFile="$(OutDir)\$(ProjectName).exe"
- AdditionalLibraryDirectories="$(QTDIR)\lib"
- GenerateDebugInformation="false"
- SubSystem="2"
- />
- <Tool
- Name="VCALinkTool"
- />
- <Tool
- Name="VCManifestTool"
- />
- <Tool
- Name="VCXDCMakeTool"
- />
- <Tool
- Name="VCBscMakeTool"
- />
- <Tool
- Name="VCFxCopTool"
- />
- <Tool
- Name="VCAppVerifierTool"
- />
- <Tool
- Name="VCWebDeploymentTool"
- />
- <Tool
- Name="VCPostBuildEventTool"
- />
- </Configuration>
- <Configuration
- Name="Debug|Win32"
- OutputDirectory="$(SolutionDir)$(ConfigurationName)"
- IntermediateDirectory="$(ConfigurationName)"
- ConfigurationType="1"
- >
- <Tool
- Name="VCPreBuildEventTool"
- />
- <Tool
- Name="VCCustomBuildTool"
- />
- <Tool
- Name="VCXMLDataGeneratorTool"
- />
- <Tool
- Name="VCWebServiceProxyGeneratorTool"
- />
- <Tool
- Name="VCMIDLTool"
- />
- <Tool
- Name="VCCLCompilerTool"
- Optimization="0"
- AdditionalIncludeDirectories=".\GeneratedFiles;$(QTDIR)\include;.\GeneratedFiles\$(ConfigurationName);.;$(QTDIR)\include\QtCore;$(QTDIR)\include\QtGui"
- PreprocessorDefinitions="UNICODE,WIN32,QT_THREAD_SUPPORT,QT_CORE_LIB,QT_GUI_LIB"
- RuntimeLibrary="3"
- TreatWChar_tAsBuiltInType="false"
- DebugInformationFormat="3"
- />
- <Tool
- Name="VCManagedResourceCompilerTool"
- />
- <Tool
- Name="VCResourceCompilerTool"
- />
- <Tool
- Name="VCPreLinkEventTool"
- />
- <Tool
- Name="VCLinkerTool"
- AdditionalDependencies=" qtmaind.lib QtCored4.lib QtGuid4.lib"
- OutputFile="$(OutDir)\$(ProjectName).exe"
- AdditionalLibraryDirectories="$(QTDIR)\lib"
- GenerateDebugInformation="true"
- SubSystem="2"
- />
- <Tool
- Name="VCALinkTool"
- />
- <Tool
- Name="VCManifestTool"
- />
- <Tool
- Name="VCXDCMakeTool"
- />
- <Tool
- Name="VCBscMakeTool"
- />
- <Tool
- Name="VCFxCopTool"
- />
- <Tool
- Name="VCAppVerifierTool"
- />
- <Tool
- Name="VCWebDeploymentTool"
- />
- <Tool
- Name="VCPostBuildEventTool"
- />
- </Configuration>
- <Configuration
- Name="FooBar|Win32"
- OutputDirectory="$(SolutionDir)$(ConfigurationName)"
- IntermediateDirectory="$(ConfigurationName)"
- ConfigurationType="1"
- >
- <Tool
- Name="VCPreBuildEventTool"
- />
- <Tool
- Name="VCCustomBuildTool"
- />
- <Tool
- Name="VCXMLDataGeneratorTool"
- />
- <Tool
- Name="VCWebServiceProxyGeneratorTool"
- />
- <Tool
- Name="VCMIDLTool"
- />
- <Tool
- Name="VCCLCompilerTool"
- Optimization="0"
- AdditionalIncludeDirectories=".\GeneratedFiles;$(QTDIR)\include;.\GeneratedFiles\$(ConfigurationName);.;$(QTDIR)\include\QtCore;$(QTDIR)\include\QtGui"
- PreprocessorDefinitions="UNICODE,WIN32,QT_THREAD_SUPPORT,QT_CORE_LIB,QT_GUI_LIB"
- RuntimeLibrary="3"
- TreatWChar_tAsBuiltInType="false"
- DebugInformationFormat="3"
- />
- <Tool
- Name="VCManagedResourceCompilerTool"
- />
- <Tool
- Name="VCResourceCompilerTool"
- />
- <Tool
- Name="VCPreLinkEventTool"
- />
- <Tool
- Name="VCLinkerTool"
- AdditionalDependencies=" qtmaind.lib QtCored4.lib QtGuid4.lib"
- OutputFile="$(OutDir)\$(ProjectName).exe"
- AdditionalLibraryDirectories="$(QTDIR)\lib"
- GenerateDebugInformation="true"
- SubSystem="2"
- />
- <Tool
- Name="VCALinkTool"
- />
- <Tool
- Name="VCManifestTool"
- />
- <Tool
- Name="VCXDCMakeTool"
- />
- <Tool
- Name="VCBscMakeTool"
- />
- <Tool
- Name="VCFxCopTool"
- />
- <Tool
- Name="VCAppVerifierTool"
- />
- <Tool
- Name="VCWebDeploymentTool"
- />
- <Tool
- Name="VCPostBuildEventTool"
- />
- </Configuration>
- </Configurations>
- <References>
- </References>
- <Files>
- <Filter
- Name="Source Files"
- Filter="cpp;cxx;c;def"
- UniqueIdentifier="{4FC737F1-C7A5-4376-A066-2A32D752A2FF}"
- >
- <File
- RelativePath=".\bar.cpp"
- >
- </File>
- <File
- RelativePath=".\foo.cpp"
- >
- </File>
- <File
- RelativePath=".\main.cpp"
- >
- </File>
- </Filter>
- <Filter
- Name="Header Files"
- Filter="h"
- UniqueIdentifier="{93995380-89BD-4b04-88EB-625FBE52EBFB}"
- >
- <File
- RelativePath=".\foo.h"
- >
- <FileConfiguration
- Name="Release|Win32"
- >
- <Tool
- Name="VCCustomBuildTool"
- Description="Moc&apos;ing $(InputFileName)..."
- CommandLine="&quot;$(QTDIR)\bin\moc.exe&quot; &quot;$(InputPath)&quot; -o &quot;.\GeneratedFiles\$(ConfigurationName)\moc_$(InputName).cpp&quot; -DNDEBUG -DQT_CORE_LIB -DQT_GUI_LIB -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -DUNICODE -DWIN32 -I&quot;$(QTDIR)\include\.&quot; -I&quot;$(QTDIR)\include\QtCore\.&quot; -I&quot;$(QTDIR)\include\QtGui\.&quot; -I&quot;.\.&quot; -I&quot;.\GeneratedFiles\$(ConfigurationName)\.&quot; -I&quot;.\GeneratedFiles\.&quot;&#x0D;&#x0A;"
- AdditionalDependencies="&quot;$(QTDIR)\bin\moc.exe&quot;;$(InputPath)"
- Outputs="&quot;.\GeneratedFiles\$(ConfigurationName)\moc_$(InputName).cpp&quot;"
- />
- </FileConfiguration>
- <FileConfiguration
- Name="Debug|Win32"
- >
- <Tool
- Name="VCCustomBuildTool"
- Description="Moc&apos;ing $(InputFileName)..."
- CommandLine="&quot;$(QTDIR)\bin\moc.exe&quot; &quot;$(InputPath)&quot; -o &quot;.\GeneratedFiles\$(ConfigurationName)\moc_$(InputName).cpp&quot; -DQT_CORE_LIB -DQT_GUI_LIB -DQT_THREAD_SUPPORT -DUNICODE -DWIN32 -I&quot;$(QTDIR)\include\.&quot; -I&quot;$(QTDIR)\include\QtCore\.&quot; -I&quot;$(QTDIR)\include\QtGui\.&quot; -I&quot;.\.&quot; -I&quot;.\GeneratedFiles\$(ConfigurationName)\.&quot; -I&quot;.\GeneratedFiles\.&quot;&#x0D;&#x0A;"
- AdditionalDependencies="&quot;$(QTDIR)\bin\moc.exe&quot;;$(InputPath)"
- Outputs="&quot;.\GeneratedFiles\$(ConfigurationName)\moc_$(InputName).cpp&quot;"
- />
- </FileConfiguration>
- <FileConfiguration
- Name="FooBar|Win32"
- >
- <Tool
- Name="VCCustomBuildTool"
- Description="Moc&apos;ing $(InputFileName)..."
- CommandLine="&quot;$(QTDIR)\bin\moc.exe&quot; &quot;$(InputPath)&quot; -o &quot;.\GeneratedFiles\$(ConfigurationName)\moc_$(InputName).cpp&quot; -DQT_CORE_LIB -DQT_GUI_LIB -DQT_THREAD_SUPPORT -DUNICODE -DWIN32 -I&quot;$(QTDIR)\include\.&quot; -I&quot;$(QTDIR)\include\QtCore\.&quot; -I&quot;$(QTDIR)\include\QtGui\.&quot; -I&quot;.\.&quot; -I&quot;.\GeneratedFiles\$(ConfigurationName)\.&quot; -I&quot;.\GeneratedFiles\.&quot;&#x0D;&#x0A;"
- AdditionalDependencies="&quot;$(QTDIR)\bin\moc.exe&quot;;$(InputPath)"
- Outputs="&quot;.\GeneratedFiles\$(ConfigurationName)\moc_$(InputName).cpp&quot;"
- />
- </FileConfiguration>
- </File>
- </Filter>
- <Filter
- Name="Form Files"
- Filter="ui"
- UniqueIdentifier="{99349809-55BA-4b9d-BF79-8FDBB0286EB3}"
- >
- <File
- RelativePath=".\foo.ui"
- >
- <FileConfiguration
- Name="Release|Win32"
- >
- <Tool
- Name="VCCustomBuildTool"
- Description="Uic&apos;ing $(InputPath)..."
- CommandLine="&quot;$(QTDIR)\bin\uic.exe&quot; -o &quot;.\GeneratedFiles\ui_foo.h&quot; &quot;$(InputPath)&quot;&#x0D;&#x0A;"
- AdditionalDependencies="$(QTDIR)\bin\uic.exe"
- Outputs="&quot;.\GeneratedFiles\ui_foo.h&quot;"
- />
- </FileConfiguration>
- <FileConfiguration
- Name="Debug|Win32"
- >
- <Tool
- Name="VCCustomBuildTool"
- Description="Uic&apos;ing $(InputPath)..."
- CommandLine="&quot;$(QTDIR)\bin\uic.exe&quot; -o &quot;.\GeneratedFiles\ui_foo.h&quot; &quot;$(InputPath)&quot;&#x0D;&#x0A;"
- AdditionalDependencies="$(QTDIR)\bin\uic.exe"
- Outputs="&quot;.\GeneratedFiles\ui_foo.h&quot;"
- />
- </FileConfiguration>
- <FileConfiguration
- Name="FooBar|Win32"
- >
- <Tool
- Name="VCCustomBuildTool"
- Description="Uic&apos;ing $(InputPath)..."
- CommandLine="&quot;$(QTDIR)\bin\uic.exe&quot; -o &quot;.\GeneratedFiles\ui_foo.h&quot; &quot;$(InputPath)&quot;&#x0D;&#x0A;"
- AdditionalDependencies="$(QTDIR)\bin\uic.exe"
- Outputs="&quot;.\GeneratedFiles\ui_foo.h&quot;"
- />
- </FileConfiguration>
- </File>
- </Filter>
- <Filter
- Name="Resource Files"
- Filter="qrc;*"
- UniqueIdentifier="{D9D6E242-F8AF-46E4-B9FD-80ECBC20BA3E}"
- ParseFiles="false"
- >
- <File
- RelativePath=".\foo.qrc"
- >
- <FileConfiguration
- Name="Release|Win32"
- >
- <Tool
- Name="VCCustomBuildTool"
- Description=""
- CommandLine=""
- AdditionalDependencies=""
- Outputs=""
- />
- </FileConfiguration>
- <FileConfiguration
- Name="Debug|Win32"
- >
- <Tool
- Name="VCCustomBuildTool"
- Description=""
- CommandLine=""
- AdditionalDependencies=""
- Outputs=""
- />
- </FileConfiguration>
- <FileConfiguration
- Name="FooBar|Win32"
- >
- <Tool
- Name="VCCustomBuildTool"
- Description=""
- CommandLine=""
- AdditionalDependencies=""
- Outputs=""
- />
- </FileConfiguration>
- </File>
- </Filter>
- <Filter
- Name="Generated Files"
- Filter="moc;h;cpp"
- UniqueIdentifier="{71ED8ED8-ACB9-4CE9-BBE1-E00B30144E11}"
- SourceControlFiles="false"
- >
- <File
- RelativePath=".\GeneratedFiles\FooBar\bar.moc"
- >
- <FileConfiguration
- Name="Release|Win32"
- ExcludedFromBuild="true"
- >
- <Tool
- Name="VCCustomBuildTool"
- />
- </FileConfiguration>
- <FileConfiguration
- Name="Debug|Win32"
- ExcludedFromBuild="true"
- >
- <Tool
- Name="VCCustomBuildTool"
- />
- </FileConfiguration>
- <FileConfiguration
- Name="FooBar|Win32"
- >
- <Tool
- Name="VCCustomBuildTool"
- Description="Moc&apos;ing $(InputFileName)..."
- CommandLine="&quot;$(QTDIR)\bin\moc.exe&quot; &quot;.\bar.cpp&quot; -o &quot;.\GeneratedFiles\$(ConfigurationName)\$(InputName).moc&quot; -DQT_CORE_LIB -DQT_GUI_LIB -DQT_THREAD_SUPPORT -DUNICODE -DWIN32 -I&quot;$(QTDIR)\include\.&quot; -I&quot;$(QTDIR)\include\QtCore\.&quot; -I&quot;$(QTDIR)\include\QtGui\.&quot; -I&quot;.\.&quot; -I&quot;.\GeneratedFiles\$(ConfigurationName)\.&quot; -I&quot;.\GeneratedFiles\.&quot;&#x0D;&#x0A;"
- AdditionalDependencies="&quot;$(QTDIR)\bin\moc.exe&quot;;.\bar.cpp"
- Outputs="&quot;.\GeneratedFiles\$(ConfigurationName)\$(InputName).moc&quot;"
- />
- </FileConfiguration>
- </File>
- <File
- RelativePath=".\GeneratedFiles\Debug\bar.moc"
- >
- <FileConfiguration
- Name="Release|Win32"
- ExcludedFromBuild="true"
- >
- <Tool
- Name="VCCustomBuildTool"
- />
- </FileConfiguration>
- <FileConfiguration
- Name="Debug|Win32"
- >
- <Tool
- Name="VCCustomBuildTool"
- Description="Moc&apos;ing $(InputFileName)..."
- CommandLine="&quot;$(QTDIR)\bin\moc.exe&quot; &quot;.\bar.cpp&quot; -o &quot;.\GeneratedFiles\$(ConfigurationName)\$(InputName).moc&quot; -DQT_CORE_LIB -DQT_GUI_LIB -DQT_THREAD_SUPPORT -DUNICODE -DWIN32 -I&quot;$(QTDIR)\include\.&quot; -I&quot;$(QTDIR)\include\QtCore\.&quot; -I&quot;$(QTDIR)\include\QtGui\.&quot; -I&quot;.\.&quot; -I&quot;.\GeneratedFiles\$(ConfigurationName)\.&quot; -I&quot;.\GeneratedFiles\.&quot;&#x0D;&#x0A;"
- AdditionalDependencies="&quot;$(QTDIR)\bin\moc.exe&quot;;.\bar.cpp"
- Outputs="&quot;.\GeneratedFiles\$(ConfigurationName)\$(InputName).moc&quot;"
- />
- </FileConfiguration>
- <FileConfiguration
- Name="FooBar|Win32"
- ExcludedFromBuild="true"
- >
- <Tool
- Name="VCCustomBuildTool"
- />
- </FileConfiguration>
- </File>
- <File
- RelativePath=".\GeneratedFiles\Release\bar.moc"
- >
- <FileConfiguration
- Name="Release|Win32"
- >
- <Tool
- Name="VCCustomBuildTool"
- Description="Moc&apos;ing $(InputFileName)..."
- CommandLine="&quot;$(QTDIR)\bin\moc.exe&quot; &quot;.\bar.cpp&quot; -o &quot;.\GeneratedFiles\$(ConfigurationName)\$(InputName).moc&quot; -DNDEBUG -DQT_CORE_LIB -DQT_GUI_LIB -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -DUNICODE -DWIN32 -I&quot;$(QTDIR)\include\.&quot; -I&quot;$(QTDIR)\include\QtCore\.&quot; -I&quot;$(QTDIR)\include\QtGui\.&quot; -I&quot;.\.&quot; -I&quot;.\GeneratedFiles\$(ConfigurationName)\.&quot; -I&quot;.\GeneratedFiles\.&quot;&#x0D;&#x0A;"
- AdditionalDependencies="&quot;$(QTDIR)\bin\moc.exe&quot;;.\bar.cpp"
- Outputs="&quot;.\GeneratedFiles\$(ConfigurationName)\$(InputName).moc&quot;"
- />
- </FileConfiguration>
- <FileConfiguration
- Name="Debug|Win32"
- ExcludedFromBuild="true"
- >
- <Tool
- Name="VCCustomBuildTool"
- />
- </FileConfiguration>
- <FileConfiguration
- Name="FooBar|Win32"
- ExcludedFromBuild="true"
- >
- <Tool
- Name="VCCustomBuildTool"
- />
- </FileConfiguration>
- </File>
- <File
- RelativePath=".\GeneratedFiles\Release\moc_foo.cpp"
- >
- <FileConfiguration
- Name="Debug|Win32"
- ExcludedFromBuild="true"
- >
- <Tool
- Name="VCCLCompilerTool"
- />
- </FileConfiguration>
- <FileConfiguration
- Name="FooBar|Win32"
- ExcludedFromBuild="true"
- >
- <Tool
- Name="VCCLCompilerTool"
- />
- </FileConfiguration>
- </File>
- <File
- RelativePath=".\GeneratedFiles\Debug\moc_foo.cpp"
- >
- <FileConfiguration
- Name="Release|Win32"
- ExcludedFromBuild="true"
- >
- <Tool
- Name="VCCLCompilerTool"
- />
- </FileConfiguration>
- <FileConfiguration
- Name="FooBar|Win32"
- ExcludedFromBuild="true"
- >
- <Tool
- Name="VCCLCompilerTool"
- />
- </FileConfiguration>
- </File>
- <File
- RelativePath=".\GeneratedFiles\FooBar\moc_foo.cpp"
- >
- <FileConfiguration
- Name="Release|Win32"
- ExcludedFromBuild="true"
- >
- <Tool
- Name="VCCLCompilerTool"
- />
- </FileConfiguration>
- <FileConfiguration
- Name="Debug|Win32"
- ExcludedFromBuild="true"
- >
- <Tool
- Name="VCCLCompilerTool"
- />
- </FileConfiguration>
- <FileConfiguration
- Name="FooBar|Win32"
- ExcludedFromBuild="true"
- >
- <Tool
- Name="VCCLCompilerTool"
- />
- </FileConfiguration>
- </File>
- <File
- RelativePath=".\GeneratedFiles\ui_foo.h"
- >
- </File>
- </Filter>
- </Files>
- <Globals>
- <Global
- Name="MocDir"
- Value=".\GeneratedFiles\$(ConfigurationName)"
- />
- <Global
- Name="QtVersion Win32
- Value="$(DefaultQtVersion)"
- />
- <Global
- Name="RccDir"
- Value=".\GeneratedFiles"
- />
- <Global
- Name="UicDir"
- Value=".\GeneratedFiles"
- />
- </Globals>
-</VisualStudioProject>
diff --git a/tools/AutoTests/TemplateProjects2005/Test3/Check/bar.cpp b/tools/AutoTests/TemplateProjects2005/Test3/Check/bar.cpp
deleted file mode 100644
index 7377a16b..00000000
--- a/tools/AutoTests/TemplateProjects2005/Test3/Check/bar.cpp
+++ /dev/null
@@ -1,12 +0,0 @@
-#include <QtGui/QWidget>
-
-class Bar : public QWidget
-{
- Q_OBJECT
-
-public:
- Bar(QWidget *parent = 0, Qt::WFlags flags = 0);
- ~Bar();
-};
-
-#include "bar.moc" \ No newline at end of file
diff --git a/tools/AutoTests/TemplateProjects2005/Test3/Check/foo.cpp b/tools/AutoTests/TemplateProjects2005/Test3/Check/foo.cpp
deleted file mode 100644
index 815985d4..00000000
--- a/tools/AutoTests/TemplateProjects2005/Test3/Check/foo.cpp
+++ /dev/null
@@ -1,13 +0,0 @@
-#include "foo.h"
-////#CUSTOMINCLUDE
-
-Foo::Foo(QWidget *parent, Qt::WFlags flags)
- : QWidget(parent, flags)
-{
- ui.setupUi(this);
-}
-
-Foo::~Foo()
-{
-
-}
diff --git a/tools/AutoTests/TemplateProjects2005/Test3/Check/foo.h b/tools/AutoTests/TemplateProjects2005/Test3/Check/foo.h
deleted file mode 100644
index ff46f40a..00000000
--- a/tools/AutoTests/TemplateProjects2005/Test3/Check/foo.h
+++ /dev/null
@@ -1,19 +0,0 @@
-#ifndef FOO_H
-#define FOO_H
-
-#include <QtGui/QWidget>
-#include "ui_foo.h"
-
-class Foo : public QWidget
-{
- Q_OBJECT
-
-public:
- Foo(QWidget *parent = 0, Qt::WFlags flags = 0);
- ~Foo();
-
-private:
- Ui::FooClass ui;
-};
-
-#endif // FOO_H
diff --git a/tools/AutoTests/TemplateProjects2005/Test3/Check/foo.qrc b/tools/AutoTests/TemplateProjects2005/Test3/Check/foo.qrc
deleted file mode 100644
index 18730fee..00000000
--- a/tools/AutoTests/TemplateProjects2005/Test3/Check/foo.qrc
+++ /dev/null
@@ -1,4 +0,0 @@
-<RCC>
- <qresource prefix="Foo">
- </qresource>
-</RCC>
diff --git a/tools/AutoTests/TemplateProjects2005/Test3/Check/foo.ui b/tools/AutoTests/TemplateProjects2005/Test3/Check/foo.ui
deleted file mode 100644
index e7568a8d..00000000
--- a/tools/AutoTests/TemplateProjects2005/Test3/Check/foo.ui
+++ /dev/null
@@ -1,23 +0,0 @@
-<UI version="4.0" >
- <class>FooClass</class>
- <widget class="QWidget" name="FooClass" >
- <property name="objectName" >
- <string notr="true">FooClass</string>
- </property>
- <property name="geometry" >
- <rect>
- <x>0</x>
- <y>0</y>
- <width>600</width>
- <height>400</height>
- </rect>
- </property>
- <property name="windowTitle" >
- <string>Foo</string>
- </property>
- </widget>
- <layoutDefault spacing="6" margin="11" />
- <pixmapfunction></pixmapfunction>
- <resources/>
- <connections/>
-</UI>
diff --git a/tools/AutoTests/TemplateProjects2005/Test3/Check/main.cpp b/tools/AutoTests/TemplateProjects2005/Test3/Check/main.cpp
deleted file mode 100644
index 83d36628..00000000
--- a/tools/AutoTests/TemplateProjects2005/Test3/Check/main.cpp
+++ /dev/null
@@ -1,7 +0,0 @@
-#include <QtGui/QApplication>
-
-int main(int argc, char *argv[])
-{
- QApplication a(argc, argv);
- return a.exec();
-}
diff --git a/tools/AutoTests/TemplateProjects2005/Test3/Test3.sln b/tools/AutoTests/TemplateProjects2005/Test3/Test3.sln
deleted file mode 100644
index 395ebd8b..00000000
--- a/tools/AutoTests/TemplateProjects2005/Test3/Test3.sln
+++ /dev/null
@@ -1,23 +0,0 @@
-
-Microsoft Visual Studio Solution File, Format Version 9.00
-# Visual Studio 2005
-Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Test3", "Check\Check.vcproj", "{ADA1D5AA-949B-46E9-AA9E-10D2D5ECA5B0}"
-EndProject
-Global
- GlobalSection(SolutionConfigurationPlatforms) = preSolution
- Debug|Win32 = Debug|Win32
- Release|Win32 = Release|Win32
- EndGlobalSection
- GlobalSection(ProjectConfigurationPlatforms) = postSolution
- {ADA1D5AA-949B-46E9-AA9E-10D2D5ECA5B0}.Debug|Win32.ActiveCfg = Debug|Win32
- {ADA1D5AA-949B-46E9-AA9E-10D2D5ECA5B0}.Debug|Win32.Build.0 = Debug|Win32
- {ADA1D5AA-949B-46E9-AA9E-10D2D5ECA5B0}.Release|Win32.ActiveCfg = Release|Win32
- {ADA1D5AA-949B-46E9-AA9E-10D2D5ECA5B0}.Release|Win32.Build.0 = Release|Win32
- EndGlobalSection
- GlobalSection(SolutionProperties) = preSolution
- HideSolutionNode = FALSE
- EndGlobalSection
- GlobalSection(Qt) = preSolution
- Integration = True
- EndGlobalSection
-EndGlobal
diff --git a/tools/AutoTests/TemplateProjects2005/Test3pch/Check/Check.vcproj b/tools/AutoTests/TemplateProjects2005/Test3pch/Check/Check.vcproj
deleted file mode 100644
index 4f37e3c7..00000000
--- a/tools/AutoTests/TemplateProjects2005/Test3pch/Check/Check.vcproj
+++ /dev/null
@@ -1,593 +0,0 @@
-<?xml version="1.0" encoding="Windows-1252"?>
-<VisualStudioProject
- ProjectType="Visual C++"
- Version="8.00"
- Name="Test3"
- ProjectGUID="{ADA1D5AA-949B-46E9-AA9E-10D2D5ECA5B0}"
- RootNamespace="Check"
- Keyword="Qt4VSv1.0"
- >
- <Platforms>
- <Platform
- Name="Win32"
- />
- </Platforms>
- <ToolFiles>
- </ToolFiles>
- <Configurations>
- <Configuration
- Name="Release|Win32"
- OutputDirectory="$(SolutionDir)$(ConfigurationName)"
- IntermediateDirectory="$(ConfigurationName)"
- ConfigurationType="1"
- >
- <Tool
- Name="VCPreBuildEventTool"
- />
- <Tool
- Name="VCCustomBuildTool"
- />
- <Tool
- Name="VCXMLDataGeneratorTool"
- />
- <Tool
- Name="VCWebServiceProxyGeneratorTool"
- />
- <Tool
- Name="VCMIDLTool"
- />
- <Tool
- Name="VCCLCompilerTool"
- AdditionalIncludeDirectories=".\GeneratedFiles;$(QTDIR)\include;.\GeneratedFiles\$(ConfigurationName);.;$(QTDIR)\include\QtCore;$(QTDIR)\include\QtGui"
- PreprocessorDefinitions="UNICODE,WIN32,QT_THREAD_SUPPORT,QT_NO_DEBUG,NDEBUG,QT_CORE_LIB,QT_GUI_LIB"
- RuntimeLibrary="2"
- TreatWChar_tAsBuiltInType="false"
- DebugInformationFormat="0"
- />
- <Tool
- Name="VCManagedResourceCompilerTool"
- />
- <Tool
- Name="VCResourceCompilerTool"
- />
- <Tool
- Name="VCPreLinkEventTool"
- />
- <Tool
- Name="VCLinkerTool"
- AdditionalDependencies=" qtmain.lib QtCore4.lib QtGui4.lib"
- OutputFile="$(OutDir)\$(ProjectName).exe"
- AdditionalLibraryDirectories="$(QTDIR)\lib"
- GenerateDebugInformation="false"
- SubSystem="2"
- />
- <Tool
- Name="VCALinkTool"
- />
- <Tool
- Name="VCManifestTool"
- />
- <Tool
- Name="VCXDCMakeTool"
- />
- <Tool
- Name="VCBscMakeTool"
- />
- <Tool
- Name="VCFxCopTool"
- />
- <Tool
- Name="VCAppVerifierTool"
- />
- <Tool
- Name="VCWebDeploymentTool"
- />
- <Tool
- Name="VCPostBuildEventTool"
- />
- </Configuration>
- <Configuration
- Name="Debug|Win32"
- OutputDirectory="$(SolutionDir)$(ConfigurationName)"
- IntermediateDirectory="$(ConfigurationName)"
- ConfigurationType="1"
- >
- <Tool
- Name="VCPreBuildEventTool"
- />
- <Tool
- Name="VCCustomBuildTool"
- />
- <Tool
- Name="VCXMLDataGeneratorTool"
- />
- <Tool
- Name="VCWebServiceProxyGeneratorTool"
- />
- <Tool
- Name="VCMIDLTool"
- />
- <Tool
- Name="VCCLCompilerTool"
- Optimization="0"
- AdditionalIncludeDirectories=".\GeneratedFiles;$(QTDIR)\include;.\GeneratedFiles\$(ConfigurationName);.;$(QTDIR)\include\QtCore;$(QTDIR)\include\QtGui"
- PreprocessorDefinitions="UNICODE,WIN32,QT_THREAD_SUPPORT,QT_CORE_LIB,QT_GUI_LIB"
- RuntimeLibrary="3"
- TreatWChar_tAsBuiltInType="false"
- UsePrecompiledHeader="2"
- PrecompiledHeaderThrough="pch.h"
- DebugInformationFormat="3"
- />
- <Tool
- Name="VCManagedResourceCompilerTool"
- />
- <Tool
- Name="VCResourceCompilerTool"
- />
- <Tool
- Name="VCPreLinkEventTool"
- />
- <Tool
- Name="VCLinkerTool"
- AdditionalDependencies=" qtmaind.lib QtCored4.lib QtGuid4.lib"
- OutputFile="$(OutDir)\$(ProjectName).exe"
- AdditionalLibraryDirectories="$(QTDIR)\lib"
- GenerateDebugInformation="true"
- SubSystem="2"
- />
- <Tool
- Name="VCALinkTool"
- />
- <Tool
- Name="VCManifestTool"
- />
- <Tool
- Name="VCXDCMakeTool"
- />
- <Tool
- Name="VCBscMakeTool"
- />
- <Tool
- Name="VCFxCopTool"
- />
- <Tool
- Name="VCAppVerifierTool"
- />
- <Tool
- Name="VCWebDeploymentTool"
- />
- <Tool
- Name="VCPostBuildEventTool"
- />
- </Configuration>
- <Configuration
- Name="FooBar|Win32"
- OutputDirectory="$(SolutionDir)$(ConfigurationName)"
- IntermediateDirectory="$(ConfigurationName)"
- ConfigurationType="1"
- >
- <Tool
- Name="VCPreBuildEventTool"
- />
- <Tool
- Name="VCCustomBuildTool"
- />
- <Tool
- Name="VCXMLDataGeneratorTool"
- />
- <Tool
- Name="VCWebServiceProxyGeneratorTool"
- />
- <Tool
- Name="VCMIDLTool"
- />
- <Tool
- Name="VCCLCompilerTool"
- Optimization="0"
- AdditionalIncludeDirectories=".\GeneratedFiles;$(QTDIR)\include;.\GeneratedFiles\$(ConfigurationName);.;$(QTDIR)\include\QtCore;$(QTDIR)\include\QtGui"
- PreprocessorDefinitions="UNICODE,WIN32,QT_THREAD_SUPPORT,QT_CORE_LIB,QT_GUI_LIB"
- RuntimeLibrary="3"
- TreatWChar_tAsBuiltInType="false"
- DebugInformationFormat="3"
- />
- <Tool
- Name="VCManagedResourceCompilerTool"
- />
- <Tool
- Name="VCResourceCompilerTool"
- />
- <Tool
- Name="VCPreLinkEventTool"
- />
- <Tool
- Name="VCLinkerTool"
- AdditionalDependencies=" qtmaind.lib QtCored4.lib QtGuid4.lib"
- OutputFile="$(OutDir)\$(ProjectName).exe"
- AdditionalLibraryDirectories="$(QTDIR)\lib"
- GenerateDebugInformation="true"
- SubSystem="2"
- />
- <Tool
- Name="VCALinkTool"
- />
- <Tool
- Name="VCManifestTool"
- />
- <Tool
- Name="VCXDCMakeTool"
- />
- <Tool
- Name="VCBscMakeTool"
- />
- <Tool
- Name="VCFxCopTool"
- />
- <Tool
- Name="VCAppVerifierTool"
- />
- <Tool
- Name="VCWebDeploymentTool"
- />
- <Tool
- Name="VCPostBuildEventTool"
- />
- </Configuration>
- </Configurations>
- <References>
- </References>
- <Files>
- <Filter
- Name="Source Files"
- Filter="cpp;cxx;c;def"
- UniqueIdentifier="{4FC737F1-C7A5-4376-A066-2A32D752A2FF}"
- >
- <File
- RelativePath=".\bar.cpp"
- >
- </File>
- <File
- RelativePath=".\foo.cpp"
- >
- </File>
- <File
- RelativePath=".\main.cpp"
- >
- </File>
- <File
- RelativePath=".\pch.cpp"
- >
- <FileConfiguration
- Name="Debug|Win32"
- >
- <Tool
- Name="VCCLCompilerTool"
- UsePrecompiledHeader="1"
- />
- </FileConfiguration>
- </File>
- </Filter>
- <Filter
- Name="Header Files"
- Filter="h"
- UniqueIdentifier="{93995380-89BD-4b04-88EB-625FBE52EBFB}"
- >
- <File
- RelativePath=".\foo.h"
- >
- <FileConfiguration
- Name="Release|Win32"
- >
- <Tool
- Name="VCCustomBuildTool"
- Description="Moc&apos;ing $(InputFileName)..."
- CommandLine="&quot;$(QTDIR)\bin\moc.exe&quot; &quot;$(InputPath)&quot; -o &quot;.\GeneratedFiles\$(ConfigurationName)\moc_$(InputName).cpp&quot; -DNDEBUG -DQT_CORE_LIB -DQT_GUI_LIB -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -DUNICODE -DWIN32 -I&quot;$(QTDIR)\include\.&quot; -I&quot;$(QTDIR)\include\QtCore\.&quot; -I&quot;$(QTDIR)\include\QtGui\.&quot; -I&quot;.\.&quot; -I&quot;.\GeneratedFiles\$(ConfigurationName)\.&quot; -I&quot;.\GeneratedFiles\.&quot;&#x0D;&#x0A;"
- AdditionalDependencies="&quot;$(QTDIR)\bin\moc.exe&quot;;$(InputPath)"
- Outputs="&quot;.\GeneratedFiles\$(ConfigurationName)\moc_$(InputName).cpp&quot;"
- />
- </FileConfiguration>
- <FileConfiguration
- Name="Debug|Win32"
- >
- <Tool
- Name="VCCustomBuildTool"
- Description="Moc&apos;ing $(InputFileName)..."
- CommandLine="&quot;$(QTDIR)\bin\moc.exe&quot; &quot;$(InputPath)&quot; -o &quot;.\GeneratedFiles\$(ConfigurationName)\moc_$(InputName).cpp&quot; -DQT_CORE_LIB -DQT_GUI_LIB -DQT_THREAD_SUPPORT -DUNICODE -DWIN32 -I&quot;$(QTDIR)\include\.&quot; -I&quot;$(QTDIR)\include\QtCore\.&quot; -I&quot;$(QTDIR)\include\QtGui\.&quot; -I&quot;.\.&quot; -I&quot;.\GeneratedFiles\$(ConfigurationName)\.&quot; -I&quot;.\GeneratedFiles\.&quot;&#x0D;&#x0A;"
- AdditionalDependencies="&quot;$(QTDIR)\bin\moc.exe&quot;;$(InputPath)"
- Outputs="&quot;.\GeneratedFiles\$(ConfigurationName)\moc_$(InputName).cpp&quot;"
- />
- </FileConfiguration>
- <FileConfiguration
- Name="FooBar|Win32"
- >
- <Tool
- Name="VCCustomBuildTool"
- Description="Moc&apos;ing $(InputFileName)..."
- CommandLine="&quot;$(QTDIR)\bin\moc.exe&quot; &quot;$(InputPath)&quot; -o &quot;.\GeneratedFiles\$(ConfigurationName)\moc_$(InputName).cpp&quot; -DQT_CORE_LIB -DQT_GUI_LIB -DQT_THREAD_SUPPORT -DUNICODE -DWIN32 -I&quot;$(QTDIR)\include\.&quot; -I&quot;$(QTDIR)\include\QtCore\.&quot; -I&quot;$(QTDIR)\include\QtGui\.&quot; -I&quot;.\.&quot; -I&quot;.\GeneratedFiles\$(ConfigurationName)\.&quot; -I&quot;.\GeneratedFiles\.&quot;&#x0D;&#x0A;"
- AdditionalDependencies="&quot;$(QTDIR)\bin\moc.exe&quot;;$(InputPath)"
- Outputs="&quot;.\GeneratedFiles\$(ConfigurationName)\moc_$(InputName).cpp&quot;"
- />
- </FileConfiguration>
- </File>
- <File
- RelativePath=".\pch.h"
- >
- </File>
- </Filter>
- <Filter
- Name="Form Files"
- Filter="ui"
- UniqueIdentifier="{99349809-55BA-4b9d-BF79-8FDBB0286EB3}"
- >
- <File
- RelativePath=".\foo.ui"
- >
- <FileConfiguration
- Name="Release|Win32"
- >
- <Tool
- Name="VCCustomBuildTool"
- Description="Uic&apos;ing $(InputPath)..."
- CommandLine="&quot;$(QTDIR)\bin\uic.exe&quot; -o &quot;.\GeneratedFiles\ui_foo.h&quot; &quot;$(InputPath)&quot;&#x0D;&#x0A;"
- AdditionalDependencies="$(QTDIR)\bin\uic.exe"
- Outputs="&quot;.\GeneratedFiles\ui_foo.h&quot;"
- />
- </FileConfiguration>
- <FileConfiguration
- Name="Debug|Win32"
- >
- <Tool
- Name="VCCustomBuildTool"
- Description="Uic&apos;ing $(InputPath)..."
- CommandLine="&quot;$(QTDIR)\bin\uic.exe&quot; -o &quot;.\GeneratedFiles\ui_foo.h&quot; &quot;$(InputPath)&quot;&#x0D;&#x0A;"
- AdditionalDependencies="$(QTDIR)\bin\uic.exe"
- Outputs="&quot;.\GeneratedFiles\ui_foo.h&quot;"
- />
- </FileConfiguration>
- <FileConfiguration
- Name="FooBar|Win32"
- >
- <Tool
- Name="VCCustomBuildTool"
- Description="Uic&apos;ing $(InputPath)..."
- CommandLine="&quot;$(QTDIR)\bin\uic.exe&quot; -o &quot;.\GeneratedFiles\ui_foo.h&quot; &quot;$(InputPath)&quot;&#x0D;&#x0A;"
- AdditionalDependencies="$(QTDIR)\bin\uic.exe"
- Outputs="&quot;.\GeneratedFiles\ui_foo.h&quot;"
- />
- </FileConfiguration>
- </File>
- </Filter>
- <Filter
- Name="Resource Files"
- Filter="qrc;*"
- UniqueIdentifier="{D9D6E242-F8AF-46E4-B9FD-80ECBC20BA3E}"
- ParseFiles="false"
- >
- <File
- RelativePath=".\foo.qrc"
- >
- <FileConfiguration
- Name="Release|Win32"
- >
- <Tool
- Name="VCCustomBuildTool"
- Description=""
- CommandLine=""
- AdditionalDependencies=""
- Outputs=""
- />
- </FileConfiguration>
- <FileConfiguration
- Name="Debug|Win32"
- >
- <Tool
- Name="VCCustomBuildTool"
- Description=""
- CommandLine=""
- AdditionalDependencies=""
- Outputs=""
- />
- </FileConfiguration>
- <FileConfiguration
- Name="FooBar|Win32"
- >
- <Tool
- Name="VCCustomBuildTool"
- Description=""
- CommandLine=""
- AdditionalDependencies=""
- Outputs=""
- />
- </FileConfiguration>
- </File>
- </Filter>
- <Filter
- Name="Generated Files"
- Filter="moc;h;cpp"
- UniqueIdentifier="{71ED8ED8-ACB9-4CE9-BBE1-E00B30144E11}"
- SourceControlFiles="false"
- >
- <File
- RelativePath=".\GeneratedFiles\Debug\bar.moc"
- >
- <FileConfiguration
- Name="Release|Win32"
- ExcludedFromBuild="true"
- >
- <Tool
- Name="VCCustomBuildTool"
- />
- </FileConfiguration>
- <FileConfiguration
- Name="Debug|Win32"
- >
- <Tool
- Name="VCCustomBuildTool"
- Description="Moc&apos;ing $(InputFileName)..."
- CommandLine="&quot;$(QTDIR)\bin\moc.exe&quot; &quot;.\bar.cpp&quot; -o &quot;.\GeneratedFiles\$(ConfigurationName)\$(InputName).moc&quot; -DQT_CORE_LIB -DQT_GUI_LIB -DQT_THREAD_SUPPORT -DUNICODE -DWIN32 -I&quot;$(QTDIR)\include\.&quot; -I&quot;$(QTDIR)\include\QtCore\.&quot; -I&quot;$(QTDIR)\include\QtGui\.&quot; -I&quot;.\.&quot; -I&quot;.\GeneratedFiles\$(ConfigurationName)\.&quot; -I&quot;.\GeneratedFiles\.&quot;&#x0D;&#x0A;"
- AdditionalDependencies="&quot;$(QTDIR)\bin\moc.exe&quot;;.\bar.cpp"
- Outputs="&quot;.\GeneratedFiles\$(ConfigurationName)\$(InputName).moc&quot;"
- />
- </FileConfiguration>
- <FileConfiguration
- Name="FooBar|Win32"
- ExcludedFromBuild="true"
- >
- <Tool
- Name="VCCustomBuildTool"
- />
- </FileConfiguration>
- </File>
- <File
- RelativePath=".\GeneratedFiles\Release\bar.moc"
- >
- <FileConfiguration
- Name="Release|Win32"
- >
- <Tool
- Name="VCCustomBuildTool"
- Description="Moc&apos;ing $(InputFileName)..."
- CommandLine="&quot;$(QTDIR)\bin\moc.exe&quot; &quot;.\bar.cpp&quot; -o &quot;.\GeneratedFiles\$(ConfigurationName)\$(InputName).moc&quot; -DNDEBUG -DQT_CORE_LIB -DQT_GUI_LIB -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -DUNICODE -DWIN32 -I&quot;$(QTDIR)\include\.&quot; -I&quot;$(QTDIR)\include\QtCore\.&quot; -I&quot;$(QTDIR)\include\QtGui\.&quot; -I&quot;.\.&quot; -I&quot;.\GeneratedFiles\$(ConfigurationName)\.&quot; -I&quot;.\GeneratedFiles\.&quot;&#x0D;&#x0A;"
- AdditionalDependencies="&quot;$(QTDIR)\bin\moc.exe&quot;;.\bar.cpp"
- Outputs="&quot;.\GeneratedFiles\$(ConfigurationName)\$(InputName).moc&quot;"
- />
- </FileConfiguration>
- <FileConfiguration
- Name="Debug|Win32"
- ExcludedFromBuild="true"
- >
- <Tool
- Name="VCCustomBuildTool"
- />
- </FileConfiguration>
- <FileConfiguration
- Name="FooBar|Win32"
- ExcludedFromBuild="true"
- >
- <Tool
- Name="VCCustomBuildTool"
- />
- </FileConfiguration>
- </File>
- <File
- RelativePath=".\GeneratedFiles\FooBar\bar.moc"
- >
- <FileConfiguration
- Name="Release|Win32"
- ExcludedFromBuild="true"
- >
- <Tool
- Name="VCCustomBuildTool"
- />
- </FileConfiguration>
- <FileConfiguration
- Name="Debug|Win32"
- ExcludedFromBuild="true"
- >
- <Tool
- Name="VCCustomBuildTool"
- />
- </FileConfiguration>
- <FileConfiguration
- Name="FooBar|Win32"
- >
- <Tool
- Name="VCCustomBuildTool"
- Description="Moc&apos;ing $(InputFileName)..."
- CommandLine="&quot;$(QTDIR)\bin\moc.exe&quot; &quot;.\bar.cpp&quot; -o &quot;.\GeneratedFiles\$(ConfigurationName)\$(InputName).moc&quot; -DQT_CORE_LIB -DQT_GUI_LIB -DQT_THREAD_SUPPORT -DUNICODE -DWIN32 -I&quot;$(QTDIR)\include\.&quot; -I&quot;$(QTDIR)\include\QtCore\.&quot; -I&quot;$(QTDIR)\include\QtGui\.&quot; -I&quot;.\.&quot; -I&quot;.\GeneratedFiles\$(ConfigurationName)\.&quot; -I&quot;.\GeneratedFiles\.&quot;&#x0D;&#x0A;"
- AdditionalDependencies="&quot;$(QTDIR)\bin\moc.exe&quot;;.\bar.cpp"
- Outputs="&quot;.\GeneratedFiles\$(ConfigurationName)\$(InputName).moc&quot;"
- />
- </FileConfiguration>
- </File>
- <File
- RelativePath=".\GeneratedFiles\Debug\moc_foo.cpp"
- >
- <FileConfiguration
- Name="Release|Win32"
- ExcludedFromBuild="true"
- >
- <Tool
- Name="VCCLCompilerTool"
- />
- </FileConfiguration>
- <FileConfiguration
- Name="FooBar|Win32"
- ExcludedFromBuild="true"
- >
- <Tool
- Name="VCCLCompilerTool"
- />
- </FileConfiguration>
- </File>
- <File
- RelativePath=".\GeneratedFiles\FooBar\moc_foo.cpp"
- >
- <FileConfiguration
- Name="Release|Win32"
- ExcludedFromBuild="true"
- >
- <Tool
- Name="VCCLCompilerTool"
- />
- </FileConfiguration>
- <FileConfiguration
- Name="Debug|Win32"
- ExcludedFromBuild="true"
- >
- <Tool
- Name="VCCLCompilerTool"
- />
- </FileConfiguration>
- <FileConfiguration
- Name="FooBar|Win32"
- >
- <Tool
- Name="VCCLCompilerTool"
- />
- </FileConfiguration>
- </File>
- <File
- RelativePath=".\GeneratedFiles\Release\moc_foo.cpp"
- >
- <FileConfiguration
- Name="Debug|Win32"
- ExcludedFromBuild="true"
- >
- <Tool
- Name="VCCLCompilerTool"
- />
- </FileConfiguration>
- <FileConfiguration
- Name="FooBar|Win32"
- ExcludedFromBuild="true"
- >
- <Tool
- Name="VCCLCompilerTool"
- />
- </FileConfiguration>
- </File>
- <File
- RelativePath=".\GeneratedFiles\ui_foo.h"
- >
- </File>
- </Filter>
- </Files>
- <Globals>
- <Global
- Name="MocDir"
- Value=".\GeneratedFiles\$(ConfigurationName)"
- />
- <Global
- Name="QtVersion Win32
- Value="$(DefaultQtVersion)"
- />
- <Global
- Name="RccDir"
- Value=".\GeneratedFiles"
- />
- <Global
- Name="UicDir"
- Value=".\GeneratedFiles"
- />
- </Globals>
-</VisualStudioProject>
diff --git a/tools/AutoTests/TemplateProjects2005/Test3pch/Check/bar.cpp b/tools/AutoTests/TemplateProjects2005/Test3pch/Check/bar.cpp
deleted file mode 100644
index 92a20813..00000000
--- a/tools/AutoTests/TemplateProjects2005/Test3pch/Check/bar.cpp
+++ /dev/null
@@ -1,13 +0,0 @@
-#include "pch.h"
-#include <QtGui/QWidget>
-
-class Bar : public QWidget
-{
- Q_OBJECT
-
-public:
- Bar(QWidget *parent = 0, Qt::WFlags flags = 0);
- ~Bar();
-};
-
-#include "bar.moc" \ No newline at end of file
diff --git a/tools/AutoTests/TemplateProjects2005/Test3pch/Check/foo.cpp b/tools/AutoTests/TemplateProjects2005/Test3pch/Check/foo.cpp
deleted file mode 100644
index 47c71ae6..00000000
--- a/tools/AutoTests/TemplateProjects2005/Test3pch/Check/foo.cpp
+++ /dev/null
@@ -1,14 +0,0 @@
-#include "pch.h"
-#include "foo.h"
-////#CUSTOMINCLUDE
-
-Foo::Foo(QWidget *parent, Qt::WFlags flags)
- : QWidget(parent, flags)
-{
- ui.setupUi(this);
-}
-
-Foo::~Foo()
-{
-
-}
diff --git a/tools/AutoTests/TemplateProjects2005/Test3pch/Check/foo.h b/tools/AutoTests/TemplateProjects2005/Test3pch/Check/foo.h
deleted file mode 100644
index ff46f40a..00000000
--- a/tools/AutoTests/TemplateProjects2005/Test3pch/Check/foo.h
+++ /dev/null
@@ -1,19 +0,0 @@
-#ifndef FOO_H
-#define FOO_H
-
-#include <QtGui/QWidget>
-#include "ui_foo.h"
-
-class Foo : public QWidget
-{
- Q_OBJECT
-
-public:
- Foo(QWidget *parent = 0, Qt::WFlags flags = 0);
- ~Foo();
-
-private:
- Ui::FooClass ui;
-};
-
-#endif // FOO_H
diff --git a/tools/AutoTests/TemplateProjects2005/Test3pch/Check/foo.qrc b/tools/AutoTests/TemplateProjects2005/Test3pch/Check/foo.qrc
deleted file mode 100644
index 18730fee..00000000
--- a/tools/AutoTests/TemplateProjects2005/Test3pch/Check/foo.qrc
+++ /dev/null
@@ -1,4 +0,0 @@
-<RCC>
- <qresource prefix="Foo">
- </qresource>
-</RCC>
diff --git a/tools/AutoTests/TemplateProjects2005/Test3pch/Check/foo.ui b/tools/AutoTests/TemplateProjects2005/Test3pch/Check/foo.ui
deleted file mode 100644
index e7568a8d..00000000
--- a/tools/AutoTests/TemplateProjects2005/Test3pch/Check/foo.ui
+++ /dev/null
@@ -1,23 +0,0 @@
-<UI version="4.0" >
- <class>FooClass</class>
- <widget class="QWidget" name="FooClass" >
- <property name="objectName" >
- <string notr="true">FooClass</string>
- </property>
- <property name="geometry" >
- <rect>
- <x>0</x>
- <y>0</y>
- <width>600</width>
- <height>400</height>
- </rect>
- </property>
- <property name="windowTitle" >
- <string>Foo</string>
- </property>
- </widget>
- <layoutDefault spacing="6" margin="11" />
- <pixmapfunction></pixmapfunction>
- <resources/>
- <connections/>
-</UI>
diff --git a/tools/AutoTests/TemplateProjects2005/Test3pch/Check/main.cpp b/tools/AutoTests/TemplateProjects2005/Test3pch/Check/main.cpp
deleted file mode 100644
index c8b37941..00000000
--- a/tools/AutoTests/TemplateProjects2005/Test3pch/Check/main.cpp
+++ /dev/null
@@ -1,8 +0,0 @@
-#include "pch.h"
-#include <QtGui/QApplication>
-
-int main(int argc, char *argv[])
-{
- QApplication a(argc, argv);
- return a.exec();
-}
diff --git a/tools/AutoTests/TemplateProjects2005/Test3pch/Check/pch.cpp b/tools/AutoTests/TemplateProjects2005/Test3pch/Check/pch.cpp
deleted file mode 100644
index 1d9f38c5..00000000
--- a/tools/AutoTests/TemplateProjects2005/Test3pch/Check/pch.cpp
+++ /dev/null
@@ -1 +0,0 @@
-#include "pch.h"
diff --git a/tools/AutoTests/TemplateProjects2005/Test3pch/Check/pch.h b/tools/AutoTests/TemplateProjects2005/Test3pch/Check/pch.h
deleted file mode 100644
index e69de29b..00000000
--- a/tools/AutoTests/TemplateProjects2005/Test3pch/Check/pch.h
+++ /dev/null
diff --git a/tools/AutoTests/TemplateProjects2005/Test3pch/Test3pch.sln b/tools/AutoTests/TemplateProjects2005/Test3pch/Test3pch.sln
deleted file mode 100644
index 4ad46c0f..00000000
--- a/tools/AutoTests/TemplateProjects2005/Test3pch/Test3pch.sln
+++ /dev/null
@@ -1,26 +0,0 @@
-
-Microsoft Visual Studio Solution File, Format Version 9.00
-# Visual Studio 2005
-Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Test3", "Check\Check.vcproj", "{ADA1D5AA-949B-46E9-AA9E-10D2D5ECA5B0}"
-EndProject
-Global
- GlobalSection(SolutionConfigurationPlatforms) = preSolution
- Debug|Win32 = Debug|Win32
- FooBar|Win32 = FooBar|Win32
- Release|Win32 = Release|Win32
- EndGlobalSection
- GlobalSection(ProjectConfigurationPlatforms) = postSolution
- {ADA1D5AA-949B-46E9-AA9E-10D2D5ECA5B0}.Debug|Win32.ActiveCfg = Debug|Win32
- {ADA1D5AA-949B-46E9-AA9E-10D2D5ECA5B0}.Debug|Win32.Build.0 = Debug|Win32
- {ADA1D5AA-949B-46E9-AA9E-10D2D5ECA5B0}.FooBar|Win32.ActiveCfg = FooBar|Win32
- {ADA1D5AA-949B-46E9-AA9E-10D2D5ECA5B0}.FooBar|Win32.Build.0 = FooBar|Win32
- {ADA1D5AA-949B-46E9-AA9E-10D2D5ECA5B0}.Release|Win32.ActiveCfg = Release|Win32
- {ADA1D5AA-949B-46E9-AA9E-10D2D5ECA5B0}.Release|Win32.Build.0 = Release|Win32
- EndGlobalSection
- GlobalSection(SolutionProperties) = preSolution
- HideSolutionNode = FALSE
- EndGlobalSection
- GlobalSection(Qt) = preSolution
- Integration = True
- EndGlobalSection
-EndGlobal
diff --git a/tools/AutoTests/TemplateProjects2005/Test4/Check/Check.vcproj b/tools/AutoTests/TemplateProjects2005/Test4/Check/Check.vcproj
deleted file mode 100644
index 9d8a0805..00000000
--- a/tools/AutoTests/TemplateProjects2005/Test4/Check/Check.vcproj
+++ /dev/null
@@ -1,397 +0,0 @@
-<?xml version="1.0" encoding="Windows-1252"?>
-<VisualStudioProject
- ProjectType="Visual C++"
- Version="8.00"
- Name="Test4"
- ProjectGUID="{ADA1D5AA-949B-46E9-AA9E-10D2D5ECA5B0}"
- RootNamespace="Check"
- Keyword="Qt4VSv1.0"
- TargetFrameworkVersion="0"
- >
- <Platforms>
- <Platform
- Name="Win32"
- />
- </Platforms>
- <ToolFiles>
- </ToolFiles>
- <Configurations>
- <Configuration
- Name="Release|Win32"
- OutputDirectory="$(SolutionDir)$(ConfigurationName)"
- ConfigurationType="1"
- >
- <Tool
- Name="VCPreBuildEventTool"
- />
- <Tool
- Name="VCCustomBuildTool"
- />
- <Tool
- Name="VCXMLDataGeneratorTool"
- />
- <Tool
- Name="VCWebServiceProxyGeneratorTool"
- />
- <Tool
- Name="VCMIDLTool"
- />
- <Tool
- Name="VCCLCompilerTool"
- AdditionalIncludeDirectories=".\GeneratedFiles;$(QTDIR)\include;.\GeneratedFiles\$(ConfigurationName);.;$(QTDIR)\include\QtCore;$(QTDIR)\include\QtGui"
- PreprocessorDefinitions="UNICODE,WIN32,QT_THREAD_SUPPORT,QT_NO_DEBUG,NDEBUG,QT_CORE_LIB,QT_GUI_LIB"
- RuntimeLibrary="2"
- TreatWChar_tAsBuiltInType="false"
- DebugInformationFormat="0"
- />
- <Tool
- Name="VCManagedResourceCompilerTool"
- />
- <Tool
- Name="VCResourceCompilerTool"
- />
- <Tool
- Name="VCPreLinkEventTool"
- />
- <Tool
- Name="VCLinkerTool"
- AdditionalDependencies=" qtmain.lib QtCore4.lib QtGui4.lib"
- OutputFile="$(OutDir)\$(ProjectName).exe"
- AdditionalLibraryDirectories="$(QTDIR)\lib"
- GenerateDebugInformation="false"
- SubSystem="2"
- />
- <Tool
- Name="VCALinkTool"
- />
- <Tool
- Name="VCManifestTool"
- />
- <Tool
- Name="VCXDCMakeTool"
- />
- <Tool
- Name="VCBscMakeTool"
- />
- <Tool
- Name="VCFxCopTool"
- />
- <Tool
- Name="VCAppVerifierTool"
- />
- <Tool
- Name="VCPostBuildEventTool"
- />
- </Configuration>
- <Configuration
- Name="Debug|Win32"
- OutputDirectory="$(SolutionDir)$(ConfigurationName)"
- IntermediateDirectory="$(ConfigurationName)"
- ConfigurationType="1"
- >
- <Tool
- Name="VCPreBuildEventTool"
- />
- <Tool
- Name="VCCustomBuildTool"
- />
- <Tool
- Name="VCXMLDataGeneratorTool"
- />
- <Tool
- Name="VCWebServiceProxyGeneratorTool"
- />
- <Tool
- Name="VCMIDLTool"
- />
- <Tool
- Name="VCCLCompilerTool"
- Optimization="0"
- AdditionalIncludeDirectories=".\GeneratedFiles;$(QTDIR)\include;.\GeneratedFiles\$(ConfigurationName);.;$(QTDIR)\include\QtCore;$(QTDIR)\include\QtGui"
- PreprocessorDefinitions="UNICODE,WIN32,QT_THREAD_SUPPORT,QT_CORE_LIB,QT_GUI_LIB"
- RuntimeLibrary="3"
- TreatWChar_tAsBuiltInType="false"
- UsePrecompiledHeader="2"
- PrecompiledHeaderThrough="test.h"
- PrecompiledHeaderFile="test.pch"
- DebugInformationFormat="3"
- />
- <Tool
- Name="VCManagedResourceCompilerTool"
- />
- <Tool
- Name="VCResourceCompilerTool"
- />
- <Tool
- Name="VCPreLinkEventTool"
- />
- <Tool
- Name="VCLinkerTool"
- AdditionalDependencies=" qtmaind.lib QtCored4.lib QtGuid4.lib"
- OutputFile="$(OutDir)\$(ProjectName).exe"
- AdditionalLibraryDirectories="$(QTDIR)\lib"
- GenerateDebugInformation="true"
- SubSystem="2"
- />
- <Tool
- Name="VCALinkTool"
- />
- <Tool
- Name="VCManifestTool"
- />
- <Tool
- Name="VCXDCMakeTool"
- />
- <Tool
- Name="VCBscMakeTool"
- />
- <Tool
- Name="VCFxCopTool"
- />
- <Tool
- Name="VCAppVerifierTool"
- />
- <Tool
- Name="VCPostBuildEventTool"
- />
- </Configuration>
- </Configurations>
- <References>
- </References>
- <Files>
- <Filter
- Name="Source Files"
- Filter="cpp;cxx;c;def"
- UniqueIdentifier="{4FC737F1-C7A5-4376-A066-2A32D752A2FF}"
- >
- <File
- RelativePath=".\foo.cpp"
- >
- </File>
- <File
- RelativePath=".\main.cpp"
- >
- </File>
- <File
- RelativePath=".\stdafx.cpp"
- >
- </File>
- <File
- RelativePath=".\test.cpp"
- >
- <FileConfiguration
- Name="Debug|Win32"
- >
- <Tool
- Name="VCCLCompilerTool"
- UsePrecompiledHeader="1"
- />
- </FileConfiguration>
- </File>
- </Filter>
- <Filter
- Name="Header Files"
- Filter="h"
- UniqueIdentifier="{93995380-89BD-4b04-88EB-625FBE52EBFB}"
- >
- <File
- RelativePath=".\foo.h"
- >
- <FileConfiguration
- Name="Release|Win32"
- >
- <Tool
- Name="VCCustomBuildTool"
- Description="Moc&apos;ing $(InputFileName)..."
- CommandLine="&quot;$(QTDIR)\bin\moc.exe&quot; &quot;$(InputPath)&quot; -o &quot;.\GeneratedFiles\$(ConfigurationName)\moc_$(InputName).cpp&quot; -DNDEBUG -DQT_CORE_LIB -DQT_GUI_LIB -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -DUNICODE -DWIN32 -I&quot;$(QTDIR)\include\.&quot; -I&quot;$(QTDIR)\include\QtCore\.&quot; -I&quot;$(QTDIR)\include\QtGui\.&quot; -I&quot;.\.&quot; -I&quot;.\GeneratedFiles\$(ConfigurationName)\.&quot; -I&quot;.\GeneratedFiles\.&quot;&#x0D;&#x0A;"
- AdditionalDependencies="&quot;$(QTDIR)\bin\moc.exe&quot;;$(InputPath)"
- Outputs="&quot;.\GeneratedFiles\$(ConfigurationName)\moc_$(InputName).cpp&quot;"
- />
- </FileConfiguration>
- <FileConfiguration
- Name="Debug|Win32"
- >
- <Tool
- Name="VCCustomBuildTool"
- Description="Moc&apos;ing $(InputFileName)..."
- CommandLine="&quot;$(QTDIR)\bin\moc.exe&quot; &quot;$(InputPath)&quot; -o &quot;.\GeneratedFiles\$(ConfigurationName)\moc_$(InputName).cpp&quot; -DQT_CORE_LIB -DQT_GUI_LIB -DQT_THREAD_SUPPORT -DUNICODE -DWIN32 -I&quot;$(QTDIR)\include\.&quot; -I&quot;$(QTDIR)\include\QtCore\.&quot; -I&quot;$(QTDIR)\include\QtGui\.&quot; -I&quot;.\.&quot; -I&quot;.\GeneratedFiles\$(ConfigurationName)\.&quot; -I&quot;.\GeneratedFiles\.&quot; &quot;-ftest.h&quot; &quot;-f..\..\foo.h&quot;&#x0D;&#x0A;"
- AdditionalDependencies="&quot;$(QTDIR)\bin\moc.exe&quot;;$(InputPath)"
- Outputs="&quot;.\GeneratedFiles\$(ConfigurationName)\moc_$(InputName).cpp&quot;"
- />
- </FileConfiguration>
- </File>
- <File
- RelativePath=".\stdafx.h"
- >
- </File>
- <File
- RelativePath=".\test.h"
- >
- </File>
- </Filter>
- <Filter
- Name="Form Files"
- Filter="ui"
- UniqueIdentifier="{99349809-55BA-4b9d-BF79-8FDBB0286EB3}"
- >
- <File
- RelativePath=".\foo.ui"
- >
- <FileConfiguration
- Name="Release|Win32"
- >
- <Tool
- Name="VCCustomBuildTool"
- Description="Uic&apos;ing $(InputPath)..."
- CommandLine="&quot;$(QTDIR)\bin\uic.exe&quot; -o &quot;.\GeneratedFiles\ui_foo.h&quot; &quot;$(InputPath)&quot;&#x0D;&#x0A;"
- AdditionalDependencies="$(QTDIR)\bin\uic.exe"
- Outputs="&quot;.\GeneratedFiles\ui_foo.h&quot;"
- />
- </FileConfiguration>
- <FileConfiguration
- Name="Debug|Win32"
- >
- <Tool
- Name="VCCustomBuildTool"
- Description="Uic&apos;ing $(InputPath)..."
- CommandLine="&quot;$(QTDIR)\bin\uic.exe&quot; -o &quot;.\GeneratedFiles\ui_foo.h&quot; &quot;$(InputPath)&quot;&#x0D;&#x0A;"
- AdditionalDependencies="$(QTDIR)\bin\uic.exe"
- Outputs="&quot;.\GeneratedFiles\ui_foo.h&quot;"
- />
- </FileConfiguration>
- </File>
- </Filter>
- <Filter
- Name="Resource Files"
- Filter="qrc;*"
- UniqueIdentifier="{D9D6E242-F8AF-46E4-B9FD-80ECBC20BA3E}"
- ParseFiles="false"
- >
- <File
- RelativePath=".\foo.qrc"
- >
- <FileConfiguration
- Name="Release|Win32"
- >
- <Tool
- Name="VCCustomBuildTool"
- Description=""
- CommandLine=""
- AdditionalDependencies=""
- Outputs=""
- />
- </FileConfiguration>
- <FileConfiguration
- Name="Debug|Win32"
- >
- <Tool
- Name="VCCustomBuildTool"
- Description=""
- CommandLine=""
- AdditionalDependencies=""
- Outputs=""
- />
- </FileConfiguration>
- </File>
- </Filter>
- <Filter
- Name="Generated Files"
- Filter="moc;h;cpp"
- UniqueIdentifier="{71ED8ED8-ACB9-4CE9-BBE1-E00B30144E11}"
- SourceControlFiles="false"
- >
- <File
- RelativePath=".\GeneratedFiles\Debug\main.moc"
- >
- <FileConfiguration
- Name="Release|Win32"
- ExcludedFromBuild="true"
- >
- <Tool
- Name="VCCustomBuildTool"
- />
- </FileConfiguration>
- <FileConfiguration
- Name="Debug|Win32"
- >
- <Tool
- Name="VCCustomBuildTool"
- Description="Moc&apos;ing $(InputFileName)..."
- CommandLine="&quot;$(QTDIR)\bin\moc.exe&quot; &quot;.\main.cpp&quot; -o &quot;.\GeneratedFiles\$(ConfigurationName)\$(InputName).moc&quot; -DQT_CORE_LIB -DQT_GUI_LIB -DQT_THREAD_SUPPORT -DUNICODE -DWIN32 -I&quot;$(QTDIR)\include\.&quot; -I&quot;$(QTDIR)\include\QtCore\.&quot; -I&quot;$(QTDIR)\include\QtGui\.&quot; -I&quot;.\.&quot; -I&quot;.\GeneratedFiles\$(ConfigurationName)\.&quot; -I&quot;.\GeneratedFiles\.&quot; &quot;-ftest.h&quot; &quot;-f..\..\main.cpp&quot;&#x0D;&#x0A;"
- AdditionalDependencies="&quot;$(QTDIR)\bin\moc.exe&quot;;.\main.cpp"
- Outputs="&quot;.\GeneratedFiles\$(ConfigurationName)\$(InputName).moc&quot;"
- />
- </FileConfiguration>
- </File>
- <File
- RelativePath=".\GeneratedFiles\Release\main.moc"
- >
- <FileConfiguration
- Name="Release|Win32"
- >
- <Tool
- Name="VCCustomBuildTool"
- Description="Moc&apos;ing $(InputFileName)..."
- CommandLine="&quot;$(QTDIR)\bin\moc.exe&quot; &quot;.\main.cpp&quot; -o &quot;.\GeneratedFiles\$(ConfigurationName)\$(InputName).moc&quot; -DNDEBUG -DQT_CORE_LIB -DQT_GUI_LIB -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -DUNICODE -DWIN32 -I&quot;$(QTDIR)\include\.&quot; -I&quot;$(QTDIR)\include\QtCore\.&quot; -I&quot;$(QTDIR)\include\QtGui\.&quot; -I&quot;.\.&quot; -I&quot;.\GeneratedFiles\$(ConfigurationName)\.&quot; -I&quot;.\GeneratedFiles\.&quot;&#x0D;&#x0A;"
- AdditionalDependencies="&quot;$(QTDIR)\bin\moc.exe&quot;;.\main.cpp"
- Outputs="&quot;.\GeneratedFiles\$(ConfigurationName)\$(InputName).moc&quot;"
- />
- </FileConfiguration>
- <FileConfiguration
- Name="Debug|Win32"
- ExcludedFromBuild="true"
- >
- <Tool
- Name="VCCustomBuildTool"
- />
- </FileConfiguration>
- </File>
- <File
- RelativePath=".\GeneratedFiles\Debug\moc_foo.cpp"
- >
- <FileConfiguration
- Name="Release|Win32"
- ExcludedFromBuild="true"
- >
- <Tool
- Name="VCCLCompilerTool"
- />
- </FileConfiguration>
- </File>
- <File
- RelativePath=".\GeneratedFiles\Release\moc_foo.cpp"
- >
- <FileConfiguration
- Name="Debug|Win32"
- ExcludedFromBuild="true"
- >
- <Tool
- Name="VCCLCompilerTool"
- />
- </FileConfiguration>
- </File>
- <File
- RelativePath=".\GeneratedFiles\ui_foo.h"
- >
- </File>
- </Filter>
- </Files>
- <Globals>
- <Global
- Name="MocDir"
- Value=".\GeneratedFiles\$(ConfigurationName)"
- />
- <Global
- Name="QtVersion Win32
- Value="$(DefaultQtVersion)"
- />
- <Global
- Name="RccDir"
- Value=".\GeneratedFiles"
- />
- <Global
- Name="UicDir"
- Value=".\GeneratedFiles"
- />
- </Globals>
-</VisualStudioProject>
diff --git a/tools/AutoTests/TemplateProjects2005/Test4/Check/bar.cpp b/tools/AutoTests/TemplateProjects2005/Test4/Check/bar.cpp
deleted file mode 100644
index 7377a16b..00000000
--- a/tools/AutoTests/TemplateProjects2005/Test4/Check/bar.cpp
+++ /dev/null
@@ -1,12 +0,0 @@
-#include <QtGui/QWidget>
-
-class Bar : public QWidget
-{
- Q_OBJECT
-
-public:
- Bar(QWidget *parent = 0, Qt::WFlags flags = 0);
- ~Bar();
-};
-
-#include "bar.moc" \ No newline at end of file
diff --git a/tools/AutoTests/TemplateProjects2005/Test4/Check/foo.cpp b/tools/AutoTests/TemplateProjects2005/Test4/Check/foo.cpp
deleted file mode 100644
index 39121f0f..00000000
--- a/tools/AutoTests/TemplateProjects2005/Test4/Check/foo.cpp
+++ /dev/null
@@ -1,14 +0,0 @@
-#include "test.h"
-#include "foo.h"
-////#CUSTOMINCLUDE
-
-Foo::Foo(QWidget *parent, Qt::WFlags flags)
- : QWidget(parent, flags)
-{
- ui.setupUi(this);
-}
-
-Foo::~Foo()
-{
-
-}
diff --git a/tools/AutoTests/TemplateProjects2005/Test4/Check/foo.h b/tools/AutoTests/TemplateProjects2005/Test4/Check/foo.h
deleted file mode 100644
index ff46f40a..00000000
--- a/tools/AutoTests/TemplateProjects2005/Test4/Check/foo.h
+++ /dev/null
@@ -1,19 +0,0 @@
-#ifndef FOO_H
-#define FOO_H
-
-#include <QtGui/QWidget>
-#include "ui_foo.h"
-
-class Foo : public QWidget
-{
- Q_OBJECT
-
-public:
- Foo(QWidget *parent = 0, Qt::WFlags flags = 0);
- ~Foo();
-
-private:
- Ui::FooClass ui;
-};
-
-#endif // FOO_H
diff --git a/tools/AutoTests/TemplateProjects2005/Test4/Check/foo.qrc b/tools/AutoTests/TemplateProjects2005/Test4/Check/foo.qrc
deleted file mode 100644
index 18730fee..00000000
--- a/tools/AutoTests/TemplateProjects2005/Test4/Check/foo.qrc
+++ /dev/null
@@ -1,4 +0,0 @@
-<RCC>
- <qresource prefix="Foo">
- </qresource>
-</RCC>
diff --git a/tools/AutoTests/TemplateProjects2005/Test4/Check/foo.ui b/tools/AutoTests/TemplateProjects2005/Test4/Check/foo.ui
deleted file mode 100644
index e7568a8d..00000000
--- a/tools/AutoTests/TemplateProjects2005/Test4/Check/foo.ui
+++ /dev/null
@@ -1,23 +0,0 @@
-<UI version="4.0" >
- <class>FooClass</class>
- <widget class="QWidget" name="FooClass" >
- <property name="objectName" >
- <string notr="true">FooClass</string>
- </property>
- <property name="geometry" >
- <rect>
- <x>0</x>
- <y>0</y>
- <width>600</width>
- <height>400</height>
- </rect>
- </property>
- <property name="windowTitle" >
- <string>Foo</string>
- </property>
- </widget>
- <layoutDefault spacing="6" margin="11" />
- <pixmapfunction></pixmapfunction>
- <resources/>
- <connections/>
-</UI>
diff --git a/tools/AutoTests/TemplateProjects2005/Test4/Check/main.cpp b/tools/AutoTests/TemplateProjects2005/Test4/Check/main.cpp
deleted file mode 100644
index 21cb20e9..00000000
--- a/tools/AutoTests/TemplateProjects2005/Test4/Check/main.cpp
+++ /dev/null
@@ -1,23 +0,0 @@
-#include "test.h"
-#include <QtGui/QApplication>
-#include "foo.h"
-
-class Bar : public QWidget
-{
- Q_OBJECT
-
-public:
- Bar(QWidget *parent = 0, Qt::WFlags flags = 0);
- ~Bar();
-
-private:
- Ui::FooClass ui;
-};
-
-int main(int argc, char *argv[])
-{
- QApplication a(argc, argv);
- Foo w;
- w.show();
- return a.exec();
-}
diff --git a/tools/AutoTests/TemplateProjects2005/Test4/Check/stdafx.cpp b/tools/AutoTests/TemplateProjects2005/Test4/Check/stdafx.cpp
deleted file mode 100644
index 91ab081c..00000000
--- a/tools/AutoTests/TemplateProjects2005/Test4/Check/stdafx.cpp
+++ /dev/null
@@ -1 +0,0 @@
-#include "test.h" \ No newline at end of file
diff --git a/tools/AutoTests/TemplateProjects2005/Test4/Check/stdafx.h b/tools/AutoTests/TemplateProjects2005/Test4/Check/stdafx.h
deleted file mode 100644
index e69de29b..00000000
--- a/tools/AutoTests/TemplateProjects2005/Test4/Check/stdafx.h
+++ /dev/null
diff --git a/tools/AutoTests/TemplateProjects2005/Test4/Check/test.cpp b/tools/AutoTests/TemplateProjects2005/Test4/Check/test.cpp
deleted file mode 100644
index 91ab081c..00000000
--- a/tools/AutoTests/TemplateProjects2005/Test4/Check/test.cpp
+++ /dev/null
@@ -1 +0,0 @@
-#include "test.h" \ No newline at end of file
diff --git a/tools/AutoTests/TemplateProjects2005/Test4/Check/test.h b/tools/AutoTests/TemplateProjects2005/Test4/Check/test.h
deleted file mode 100644
index e69de29b..00000000
--- a/tools/AutoTests/TemplateProjects2005/Test4/Check/test.h
+++ /dev/null
diff --git a/tools/AutoTests/TemplateProjects2005/Test4/Test4.sln b/tools/AutoTests/TemplateProjects2005/Test4/Test4.sln
deleted file mode 100644
index 5ef4c6cc..00000000
--- a/tools/AutoTests/TemplateProjects2005/Test4/Test4.sln
+++ /dev/null
@@ -1,23 +0,0 @@
-
-Microsoft Visual Studio Solution File, Format Version 9.00
-# Visual Studio 2005
-Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Test4", "Check\Check.vcproj", "{ADA1D5AA-949B-46E9-AA9E-10D2D5ECA5B0}"
-EndProject
-Global
- GlobalSection(SolutionConfigurationPlatforms) = preSolution
- Debug|Win32 = Debug|Win32
- Release|Win32 = Release|Win32
- EndGlobalSection
- GlobalSection(ProjectConfigurationPlatforms) = postSolution
- {ADA1D5AA-949B-46E9-AA9E-10D2D5ECA5B0}.Debug|Win32.ActiveCfg = Debug|Win32
- {ADA1D5AA-949B-46E9-AA9E-10D2D5ECA5B0}.Debug|Win32.Build.0 = Debug|Win32
- {ADA1D5AA-949B-46E9-AA9E-10D2D5ECA5B0}.Release|Win32.ActiveCfg = Release|Win32
- {ADA1D5AA-949B-46E9-AA9E-10D2D5ECA5B0}.Release|Win32.Build.0 = Release|Win32
- EndGlobalSection
- GlobalSection(SolutionProperties) = preSolution
- HideSolutionNode = FALSE
- EndGlobalSection
- GlobalSection(Qt) = preSolution
- Integration = True
- EndGlobalSection
-EndGlobal
diff --git a/tools/AutoTests/TemplateProjects2008/Test1/Check/Check.vcproj b/tools/AutoTests/TemplateProjects2008/Test1/Check/Check.vcproj
deleted file mode 100644
index f688192e..00000000
--- a/tools/AutoTests/TemplateProjects2008/Test1/Check/Check.vcproj
+++ /dev/null
@@ -1,324 +0,0 @@
-<?xml version="1.0" encoding="Windows-1252"?>
-<VisualStudioProject
- ProjectType="Visual C++"
- Version="9.00"
- Name="Test1"
- ProjectGUID="{ADA1D5AA-949B-46E9-AA9E-10D2D5ECA5B0}"
- RootNamespace="Check"
- Keyword="Qt4VSv1.0"
- TargetFrameworkVersion="0"
- >
- <Platforms>
- <Platform
- Name="Win32"
- />
- </Platforms>
- <ToolFiles>
- </ToolFiles>
- <Configurations>
- <Configuration
- Name="Release|Win32"
- OutputDirectory="$(SolutionDir)$(ConfigurationName)"
- ConfigurationType="1"
- >
- <Tool
- Name="VCPreBuildEventTool"
- />
- <Tool
- Name="VCCustomBuildTool"
- />
- <Tool
- Name="VCXMLDataGeneratorTool"
- />
- <Tool
- Name="VCWebServiceProxyGeneratorTool"
- />
- <Tool
- Name="VCMIDLTool"
- />
- <Tool
- Name="VCCLCompilerTool"
- AdditionalIncludeDirectories="$(QTDIR)\include;.;$(QTDIR)\include\QtCore;$(QTDIR)\include\QtGui;.\GeneratedFiles\moc;.\GeneratedFiles\uic;.\GeneratedFiles\rcc"
- PreprocessorDefinitions="UNICODE,WIN32,QT_THREAD_SUPPORT,QT_NO_DEBUG,NDEBUG,QT_CORE_LIB,QT_GUI_LIB"
- RuntimeLibrary="2"
- TreatWChar_tAsBuiltInType="false"
- DebugInformationFormat="0"
- />
- <Tool
- Name="VCManagedResourceCompilerTool"
- />
- <Tool
- Name="VCResourceCompilerTool"
- />
- <Tool
- Name="VCPreLinkEventTool"
- />
- <Tool
- Name="VCLinkerTool"
- AdditionalDependencies=" qtmain.lib QtCore4.lib QtGui4.lib"
- OutputFile="$(OutDir)\$(ProjectName).exe"
- AdditionalLibraryDirectories="$(QTDIR)\lib"
- GenerateDebugInformation="false"
- SubSystem="2"
- />
- <Tool
- Name="VCALinkTool"
- />
- <Tool
- Name="VCManifestTool"
- />
- <Tool
- Name="VCXDCMakeTool"
- />
- <Tool
- Name="VCBscMakeTool"
- />
- <Tool
- Name="VCFxCopTool"
- />
- <Tool
- Name="VCAppVerifierTool"
- />
- <Tool
- Name="VCPostBuildEventTool"
- />
- </Configuration>
- <Configuration
- Name="Debug|Win32"
- OutputDirectory="$(SolutionDir)$(ConfigurationName)"
- IntermediateDirectory="$(ConfigurationName)"
- ConfigurationType="1"
- >
- <Tool
- Name="VCPreBuildEventTool"
- />
- <Tool
- Name="VCCustomBuildTool"
- />
- <Tool
- Name="VCXMLDataGeneratorTool"
- />
- <Tool
- Name="VCWebServiceProxyGeneratorTool"
- />
- <Tool
- Name="VCMIDLTool"
- />
- <Tool
- Name="VCCLCompilerTool"
- Optimization="0"
- AdditionalIncludeDirectories="$(QTDIR)\include;.;$(QTDIR)\include\QtCore;$(QTDIR)\include\QtGui;.\GeneratedFiles\moc;.\GeneratedFiles\uic;.\GeneratedFiles\rcc"
- PreprocessorDefinitions="UNICODE,WIN32,QT_THREAD_SUPPORT,QT_CORE_LIB,QT_GUI_LIB"
- RuntimeLibrary="3"
- TreatWChar_tAsBuiltInType="false"
- DebugInformationFormat="3"
- />
- <Tool
- Name="VCManagedResourceCompilerTool"
- />
- <Tool
- Name="VCResourceCompilerTool"
- />
- <Tool
- Name="VCPreLinkEventTool"
- />
- <Tool
- Name="VCLinkerTool"
- AdditionalDependencies=" qtmaind.lib QtCored4.lib QtGuid4.lib"
- OutputFile="$(OutDir)\$(ProjectName).exe"
- AdditionalLibraryDirectories="$(QTDIR)\lib"
- GenerateDebugInformation="true"
- SubSystem="2"
- />
- <Tool
- Name="VCALinkTool"
- />
- <Tool
- Name="VCManifestTool"
- />
- <Tool
- Name="VCXDCMakeTool"
- />
- <Tool
- Name="VCBscMakeTool"
- />
- <Tool
- Name="VCFxCopTool"
- />
- <Tool
- Name="VCAppVerifierTool"
- />
- <Tool
- Name="VCPostBuildEventTool"
- />
- </Configuration>
- </Configurations>
- <References>
- </References>
- <Files>
- <Filter
- Name="Source Files"
- Filter="cpp;cxx;c;def"
- UniqueIdentifier="{4FC737F1-C7A5-4376-A066-2A32D752A2FF}"
- >
- <File
- RelativePath=".\foo.cpp"
- >
- </File>
- <File
- RelativePath=".\main.cpp"
- >
- </File>
- <File
- RelativePath=".\subfolder\sub.cpp"
- >
- </File>
- </Filter>
- <Filter
- Name="Header Files"
- Filter="h"
- UniqueIdentifier="{93995380-89BD-4b04-88EB-625FBE52EBFB}"
- >
- <File
- RelativePath=".\foo.h"
- >
- <FileConfiguration
- Name="Release|Win32"
- >
- <Tool
- Name="VCCustomBuildTool"
- Description=""
- CommandLine=""
- AdditionalDependencies=""
- Outputs=""
- />
- </FileConfiguration>
- <FileConfiguration
- Name="Debug|Win32"
- >
- <Tool
- Name="VCCustomBuildTool"
- Description=""
- CommandLine=""
- AdditionalDependencies=""
- Outputs=""
- />
- </FileConfiguration>
- </File>
- </Filter>
- <Filter
- Name="Form Files"
- Filter="ui"
- UniqueIdentifier="{99349809-55BA-4b9d-BF79-8FDBB0286EB3}"
- >
- <File
- RelativePath=".\foo.ui"
- >
- <FileConfiguration
- Name="Release|Win32"
- >
- <Tool
- Name="VCCustomBuildTool"
- Description="Uic&apos;ing $(InputFileName)..."
- CommandLine="&quot;$(QTDIR)\bin\uic.exe&quot; -o &quot;.\GeneratedFiles\uic\ui_$(InputName).h&quot; &quot;$(InputPath)&quot;&#x0D;&#x0A;"
- AdditionalDependencies="$(QTDIR)\bin\uic.exe"
- Outputs="&quot;.\GeneratedFiles\uic\ui_$(InputName).h&quot;"
- />
- </FileConfiguration>
- <FileConfiguration
- Name="Debug|Win32"
- >
- <Tool
- Name="VCCustomBuildTool"
- Description="Uic&apos;ing $(InputFileName)..."
- CommandLine="&quot;$(QTDIR)\bin\uic.exe&quot; -o &quot;.\GeneratedFiles\uic\ui_$(InputName).h&quot; &quot;$(InputPath)&quot;&#x0D;&#x0A;"
- AdditionalDependencies="$(QTDIR)\bin\uic.exe"
- Outputs="&quot;.\GeneratedFiles\uic\ui_$(InputName).h&quot;"
- />
- </FileConfiguration>
- </File>
- </Filter>
- <Filter
- Name="Resource Files"
- Filter="qrc;*"
- UniqueIdentifier="{D9D6E242-F8AF-46E4-B9FD-80ECBC20BA3E}"
- ParseFiles="false"
- >
- <File
- RelativePath=".\foo.qrc"
- >
- <FileConfiguration
- Name="Release|Win32"
- >
- <Tool
- Name="VCCustomBuildTool"
- Description="Rcc&apos;ing $(InputFileName)..."
- CommandLine="&quot;$(QTDIR)\bin\rcc.exe&quot; -name &quot;$(InputName)&quot; -no-compress &quot;$(InputPath)&quot; -o .\GeneratedFiles\rcc\qrc_$(InputName).cpp&#x0D;&#x0A;"
- AdditionalDependencies="$(InputPath)"
- Outputs=".\GeneratedFiles\rcc\qrc_$(InputName).cpp"
- />
- </FileConfiguration>
- <FileConfiguration
- Name="Debug|Win32"
- >
- <Tool
- Name="VCCustomBuildTool"
- Description="Rcc&apos;ing $(InputFileName)..."
- CommandLine="&quot;$(QTDIR)\bin\rcc.exe&quot; -name &quot;$(InputName)&quot; -no-compress &quot;$(InputPath)&quot; -o .\GeneratedFiles\rcc\qrc_$(InputName).cpp&#x0D;&#x0A;"
- AdditionalDependencies="$(InputPath)"
- Outputs=".\GeneratedFiles\rcc\qrc_$(InputName).cpp"
- />
- </FileConfiguration>
- </File>
- </Filter>
- <Filter
- Name="Generated Files"
- Filter="moc;h;cpp"
- UniqueIdentifier="{71ED8ED8-ACB9-4CE9-BBE1-E00B30144E11}"
- SourceControlFiles="false"
- >
- <File
- RelativePath=".\GeneratedFiles\rcc\qrc_foo.cpp"
- >
- <FileConfiguration
- Name="Release|Win32"
- >
- <Tool
- Name="VCCLCompilerTool"
- UsePrecompiledHeader="0"
- />
- </FileConfiguration>
- <FileConfiguration
- Name="Debug|Win32"
- >
- <Tool
- Name="VCCLCompilerTool"
- UsePrecompiledHeader="0"
- />
- </FileConfiguration>
- </File>
- <File
- RelativePath=".\GeneratedFiles\uic\ui_foo.h"
- >
- </File>
- </Filter>
- </Files>
- <Globals>
- <Global
- Name="MocDir"
- Value=".\GeneratedFiles\moc"
- />
- <Global
- Name="QtVersion Win32"
- Value="$(DefaultQtVersion)"
- />
- <Global
- Name="RccDir"
- Value=".\GeneratedFiles\rcc"
- />
- <Global
- Name="UicDir"
- Value=".\GeneratedFiles\uic"
- />
- </Globals>
-</VisualStudioProject>
diff --git a/tools/AutoTests/TemplateProjects2008/Test1/Check/bar.cpp b/tools/AutoTests/TemplateProjects2008/Test1/Check/bar.cpp
deleted file mode 100644
index 8cc07981..00000000
--- a/tools/AutoTests/TemplateProjects2008/Test1/Check/bar.cpp
+++ /dev/null
@@ -1,12 +0,0 @@
-#include <QtGui/QWidget>
-
-class Bar : public QWidget
-{
- //Q_OBJECT_HERE
-
-public:
- Bar(QWidget *parent = 0, Qt::WFlags flags = 0);
- ~Bar();
-};
-
-//#include "bar.moc" \ No newline at end of file
diff --git a/tools/AutoTests/TemplateProjects2008/Test1/Check/foo.cpp b/tools/AutoTests/TemplateProjects2008/Test1/Check/foo.cpp
deleted file mode 100644
index 815985d4..00000000
--- a/tools/AutoTests/TemplateProjects2008/Test1/Check/foo.cpp
+++ /dev/null
@@ -1,13 +0,0 @@
-#include "foo.h"
-////#CUSTOMINCLUDE
-
-Foo::Foo(QWidget *parent, Qt::WFlags flags)
- : QWidget(parent, flags)
-{
- ui.setupUi(this);
-}
-
-Foo::~Foo()
-{
-
-}
diff --git a/tools/AutoTests/TemplateProjects2008/Test1/Check/foo.h b/tools/AutoTests/TemplateProjects2008/Test1/Check/foo.h
deleted file mode 100644
index 7e90fef7..00000000
--- a/tools/AutoTests/TemplateProjects2008/Test1/Check/foo.h
+++ /dev/null
@@ -1,19 +0,0 @@
-#ifndef FOO_H
-#define FOO_H
-
-#include <QtGui/QWidget>
-#include "ui_foo.h"
-
-class Foo : public QWidget
-{
- //Q_OBJECT_HERE
-
-public:
- Foo(QWidget *parent = 0, Qt::WFlags flags = 0);
- ~Foo();
-
-private:
- Ui::FooClass ui;
-};
-
-#endif // FOO_H
diff --git a/tools/AutoTests/TemplateProjects2008/Test1/Check/foo.qrc b/tools/AutoTests/TemplateProjects2008/Test1/Check/foo.qrc
deleted file mode 100644
index 18730fee..00000000
--- a/tools/AutoTests/TemplateProjects2008/Test1/Check/foo.qrc
+++ /dev/null
@@ -1,4 +0,0 @@
-<RCC>
- <qresource prefix="Foo">
- </qresource>
-</RCC>
diff --git a/tools/AutoTests/TemplateProjects2008/Test1/Check/foo.ui b/tools/AutoTests/TemplateProjects2008/Test1/Check/foo.ui
deleted file mode 100644
index e7568a8d..00000000
--- a/tools/AutoTests/TemplateProjects2008/Test1/Check/foo.ui
+++ /dev/null
@@ -1,23 +0,0 @@
-<UI version="4.0" >
- <class>FooClass</class>
- <widget class="QWidget" name="FooClass" >
- <property name="objectName" >
- <string notr="true">FooClass</string>
- </property>
- <property name="geometry" >
- <rect>
- <x>0</x>
- <y>0</y>
- <width>600</width>
- <height>400</height>
- </rect>
- </property>
- <property name="windowTitle" >
- <string>Foo</string>
- </property>
- </widget>
- <layoutDefault spacing="6" margin="11" />
- <pixmapfunction></pixmapfunction>
- <resources/>
- <connections/>
-</UI>
diff --git a/tools/AutoTests/TemplateProjects2008/Test1/Check/main.cpp b/tools/AutoTests/TemplateProjects2008/Test1/Check/main.cpp
deleted file mode 100644
index a842c7fc..00000000
--- a/tools/AutoTests/TemplateProjects2008/Test1/Check/main.cpp
+++ /dev/null
@@ -1,24 +0,0 @@
-#include <QtGui/QApplication>
-#include "foo.h"
-
-class Bar : public QWidget
-{
- //Q_OBJECT_HERE
-
-public:
- Bar(QWidget *parent = 0, Qt::WFlags flags = 0);
- ~Bar();
-
-private:
- Ui::FooClass ui;
-};
-
-int main(int argc, char *argv[])
-{
- QApplication a(argc, argv);
- Foo w;
- w.show();
- return a.exec();
-}
-
-//#include "main.moc"
diff --git a/tools/AutoTests/TemplateProjects2008/Test1/Check/subfolder/sub.cpp b/tools/AutoTests/TemplateProjects2008/Test1/Check/subfolder/sub.cpp
deleted file mode 100644
index 10c2dae3..00000000
--- a/tools/AutoTests/TemplateProjects2008/Test1/Check/subfolder/sub.cpp
+++ /dev/null
@@ -1,12 +0,0 @@
-#include <QObject>
-
-class Sub: public QObject
-{
- //Q_OBJECT_HERE
-public:
- Sub(QObject *parent = 0)
- : QObject(parent)
- {}
-};
-
-//#include "sub.moc" \ No newline at end of file
diff --git a/tools/AutoTests/TemplateProjects2008/Test1/Check/test.cpp b/tools/AutoTests/TemplateProjects2008/Test1/Check/test.cpp
deleted file mode 100644
index 91ab081c..00000000
--- a/tools/AutoTests/TemplateProjects2008/Test1/Check/test.cpp
+++ /dev/null
@@ -1 +0,0 @@
-#include "test.h" \ No newline at end of file
diff --git a/tools/AutoTests/TemplateProjects2008/Test1/Check/test.h b/tools/AutoTests/TemplateProjects2008/Test1/Check/test.h
deleted file mode 100644
index e69de29b..00000000
--- a/tools/AutoTests/TemplateProjects2008/Test1/Check/test.h
+++ /dev/null
diff --git a/tools/AutoTests/TemplateProjects2008/Test1/Test1.sln b/tools/AutoTests/TemplateProjects2008/Test1/Test1.sln
deleted file mode 100644
index dd779a8b..00000000
--- a/tools/AutoTests/TemplateProjects2008/Test1/Test1.sln
+++ /dev/null
@@ -1,23 +0,0 @@
-
-Microsoft Visual Studio Solution File, Format Version 10.00
-# Visual Studio 2008
-Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Test1", "Check\Check.vcproj", "{ADA1D5AA-949B-46E9-AA9E-10D2D5ECA5B0}"
- GlobalSection(Qt) = preSolution
- Integration = True
- EndGlobalSection
-EndProject
-Global
- GlobalSection(SolutionConfigurationPlatforms) = preSolution
- Debug|Win32 = Debug|Win32
- Release|Win32 = Release|Win32
- EndGlobalSection
- GlobalSection(ProjectConfigurationPlatforms) = postSolution
- {ADA1D5AA-949B-46E9-AA9E-10D2D5ECA5B0}.Debug|Win32.ActiveCfg = Debug|Win32
- {ADA1D5AA-949B-46E9-AA9E-10D2D5ECA5B0}.Debug|Win32.Build.0 = Debug|Win32
- {ADA1D5AA-949B-46E9-AA9E-10D2D5ECA5B0}.Release|Win32.ActiveCfg = Release|Win32
- {ADA1D5AA-949B-46E9-AA9E-10D2D5ECA5B0}.Release|Win32.Build.0 = Release|Win32
- EndGlobalSection
- GlobalSection(SolutionProperties) = preSolution
- HideSolutionNode = FALSE
- EndGlobalSection
-EndGlobal
diff --git a/tools/AutoTests/TemplateProjects2008/Test1pch/Check/Check.vcproj b/tools/AutoTests/TemplateProjects2008/Test1pch/Check/Check.vcproj
deleted file mode 100644
index fd18da80..00000000
--- a/tools/AutoTests/TemplateProjects2008/Test1pch/Check/Check.vcproj
+++ /dev/null
@@ -1,342 +0,0 @@
-<?xml version="1.0" encoding="Windows-1252"?>
-<VisualStudioProject
- ProjectType="Visual C++"
- Version="9.00"
- Name="Test1"
- ProjectGUID="{ADA1D5AA-949B-46E9-AA9E-10D2D5ECA5B0}"
- RootNamespace="Check"
- Keyword="Qt4VSv1.0"
- TargetFrameworkVersion="0"
- >
- <Platforms>
- <Platform
- Name="Win32"
- />
- </Platforms>
- <ToolFiles>
- </ToolFiles>
- <Configurations>
- <Configuration
- Name="Release|Win32"
- OutputDirectory="$(SolutionDir)$(ConfigurationName)"
- ConfigurationType="1"
- >
- <Tool
- Name="VCPreBuildEventTool"
- />
- <Tool
- Name="VCCustomBuildTool"
- />
- <Tool
- Name="VCXMLDataGeneratorTool"
- />
- <Tool
- Name="VCWebServiceProxyGeneratorTool"
- />
- <Tool
- Name="VCMIDLTool"
- />
- <Tool
- Name="VCCLCompilerTool"
- AdditionalIncludeDirectories="$(QTDIR)\include;.;$(QTDIR)\include\QtCore;$(QTDIR)\include\QtGui;.\GeneratedFiles\moc;.\GeneratedFiles\uic;.\GeneratedFiles\rcc"
- PreprocessorDefinitions="UNICODE,WIN32,QT_THREAD_SUPPORT,QT_NO_DEBUG,NDEBUG,QT_CORE_LIB,QT_GUI_LIB"
- RuntimeLibrary="2"
- TreatWChar_tAsBuiltInType="false"
- DebugInformationFormat="0"
- />
- <Tool
- Name="VCManagedResourceCompilerTool"
- />
- <Tool
- Name="VCResourceCompilerTool"
- />
- <Tool
- Name="VCPreLinkEventTool"
- />
- <Tool
- Name="VCLinkerTool"
- AdditionalDependencies=" qtmain.lib QtCore4.lib QtGui4.lib"
- OutputFile="$(OutDir)\$(ProjectName).exe"
- AdditionalLibraryDirectories="$(QTDIR)\lib"
- GenerateDebugInformation="false"
- SubSystem="2"
- />
- <Tool
- Name="VCALinkTool"
- />
- <Tool
- Name="VCManifestTool"
- />
- <Tool
- Name="VCXDCMakeTool"
- />
- <Tool
- Name="VCBscMakeTool"
- />
- <Tool
- Name="VCFxCopTool"
- />
- <Tool
- Name="VCAppVerifierTool"
- />
- <Tool
- Name="VCPostBuildEventTool"
- />
- </Configuration>
- <Configuration
- Name="Debug|Win32"
- OutputDirectory="$(SolutionDir)$(ConfigurationName)"
- IntermediateDirectory="$(ConfigurationName)"
- ConfigurationType="1"
- >
- <Tool
- Name="VCPreBuildEventTool"
- />
- <Tool
- Name="VCCustomBuildTool"
- />
- <Tool
- Name="VCXMLDataGeneratorTool"
- />
- <Tool
- Name="VCWebServiceProxyGeneratorTool"
- />
- <Tool
- Name="VCMIDLTool"
- />
- <Tool
- Name="VCCLCompilerTool"
- Optimization="0"
- AdditionalIncludeDirectories="$(QTDIR)\include;.;$(QTDIR)\include\QtCore;$(QTDIR)\include\QtGui;.\GeneratedFiles\moc;.\GeneratedFiles\uic;.\GeneratedFiles\rcc"
- PreprocessorDefinitions="UNICODE,WIN32,QT_THREAD_SUPPORT,QT_CORE_LIB,QT_GUI_LIB"
- RuntimeLibrary="3"
- TreatWChar_tAsBuiltInType="false"
- UsePrecompiledHeader="2"
- PrecompiledHeaderThrough="pch.h"
- DebugInformationFormat="3"
- />
- <Tool
- Name="VCManagedResourceCompilerTool"
- />
- <Tool
- Name="VCResourceCompilerTool"
- />
- <Tool
- Name="VCPreLinkEventTool"
- />
- <Tool
- Name="VCLinkerTool"
- AdditionalDependencies=" qtmaind.lib QtCored4.lib QtGuid4.lib"
- OutputFile="$(OutDir)\$(ProjectName).exe"
- AdditionalLibraryDirectories="$(QTDIR)\lib"
- GenerateDebugInformation="true"
- SubSystem="2"
- />
- <Tool
- Name="VCALinkTool"
- />
- <Tool
- Name="VCManifestTool"
- />
- <Tool
- Name="VCXDCMakeTool"
- />
- <Tool
- Name="VCBscMakeTool"
- />
- <Tool
- Name="VCFxCopTool"
- />
- <Tool
- Name="VCAppVerifierTool"
- />
- <Tool
- Name="VCPostBuildEventTool"
- />
- </Configuration>
- </Configurations>
- <References>
- </References>
- <Files>
- <Filter
- Name="Source Files"
- Filter="cpp;cxx;c;def"
- UniqueIdentifier="{4FC737F1-C7A5-4376-A066-2A32D752A2FF}"
- >
- <File
- RelativePath=".\foo.cpp"
- >
- </File>
- <File
- RelativePath=".\main.cpp"
- >
- </File>
- <File
- RelativePath=".\pch.cpp"
- >
- <FileConfiguration
- Name="Debug|Win32"
- >
- <Tool
- Name="VCCLCompilerTool"
- UsePrecompiledHeader="1"
- />
- </FileConfiguration>
- </File>
- <File
- RelativePath=".\subfolder\sub.cpp"
- >
- </File>
- </Filter>
- <Filter
- Name="Header Files"
- Filter="h"
- UniqueIdentifier="{93995380-89BD-4b04-88EB-625FBE52EBFB}"
- >
- <File
- RelativePath=".\foo.h"
- >
- <FileConfiguration
- Name="Release|Win32"
- >
- <Tool
- Name="VCCustomBuildTool"
- Description=""
- CommandLine=""
- AdditionalDependencies=""
- Outputs=""
- />
- </FileConfiguration>
- <FileConfiguration
- Name="Debug|Win32"
- >
- <Tool
- Name="VCCustomBuildTool"
- Description=""
- CommandLine=""
- AdditionalDependencies=""
- Outputs=""
- />
- </FileConfiguration>
- </File>
- <File
- RelativePath=".\pch.h"
- >
- </File>
- </Filter>
- <Filter
- Name="Form Files"
- Filter="ui"
- UniqueIdentifier="{99349809-55BA-4b9d-BF79-8FDBB0286EB3}"
- >
- <File
- RelativePath=".\foo.ui"
- >
- <FileConfiguration
- Name="Release|Win32"
- >
- <Tool
- Name="VCCustomBuildTool"
- Description="Uic&apos;ing $(InputFileName)..."
- CommandLine="&quot;$(QTDIR)\bin\uic.exe&quot; -o &quot;.\GeneratedFiles\uic\ui_$(InputName).h&quot; &quot;$(InputPath)&quot;&#x0D;&#x0A;"
- AdditionalDependencies="$(QTDIR)\bin\uic.exe"
- Outputs="&quot;.\GeneratedFiles\uic\ui_$(InputName).h&quot;"
- />
- </FileConfiguration>
- <FileConfiguration
- Name="Debug|Win32"
- >
- <Tool
- Name="VCCustomBuildTool"
- Description="Uic&apos;ing $(InputFileName)..."
- CommandLine="&quot;$(QTDIR)\bin\uic.exe&quot; -o &quot;.\GeneratedFiles\uic\ui_$(InputName).h&quot; &quot;$(InputPath)&quot;&#x0D;&#x0A;"
- AdditionalDependencies="$(QTDIR)\bin\uic.exe"
- Outputs="&quot;.\GeneratedFiles\uic\ui_$(InputName).h&quot;"
- />
- </FileConfiguration>
- </File>
- </Filter>
- <Filter
- Name="Resource Files"
- Filter="qrc;*"
- UniqueIdentifier="{D9D6E242-F8AF-46E4-B9FD-80ECBC20BA3E}"
- ParseFiles="false"
- >
- <File
- RelativePath=".\foo.qrc"
- >
- <FileConfiguration
- Name="Release|Win32"
- >
- <Tool
- Name="VCCustomBuildTool"
- Description="Rcc&apos;ing $(InputFileName)..."
- CommandLine="&quot;$(QTDIR)\bin\rcc.exe&quot; -name &quot;$(InputName)&quot; -no-compress &quot;$(InputPath)&quot; -o .\GeneratedFiles\rcc\qrc_$(InputName).cpp&#x0D;&#x0A;"
- AdditionalDependencies="$(InputPath)"
- Outputs=".\GeneratedFiles\rcc\qrc_$(InputName).cpp"
- />
- </FileConfiguration>
- <FileConfiguration
- Name="Debug|Win32"
- >
- <Tool
- Name="VCCustomBuildTool"
- Description="Rcc&apos;ing $(InputFileName)..."
- CommandLine="&quot;$(QTDIR)\bin\rcc.exe&quot; -name &quot;$(InputName)&quot; -no-compress &quot;$(InputPath)&quot; -o .\GeneratedFiles\rcc\qrc_$(InputName).cpp&#x0D;&#x0A;"
- AdditionalDependencies="$(InputPath)"
- Outputs=".\GeneratedFiles\rcc\qrc_$(InputName).cpp"
- />
- </FileConfiguration>
- </File>
- </Filter>
- <Filter
- Name="Generated Files"
- Filter="moc;h;cpp"
- UniqueIdentifier="{71ED8ED8-ACB9-4CE9-BBE1-E00B30144E11}"
- SourceControlFiles="false"
- >
- <File
- RelativePath=".\GeneratedFiles\rcc\qrc_foo.cpp"
- >
- <FileConfiguration
- Name="Release|Win32"
- >
- <Tool
- Name="VCCLCompilerTool"
- UsePrecompiledHeader="0"
- />
- </FileConfiguration>
- <FileConfiguration
- Name="Debug|Win32"
- >
- <Tool
- Name="VCCLCompilerTool"
- UsePrecompiledHeader="0"
- />
- </FileConfiguration>
- </File>
- <File
- RelativePath=".\GeneratedFiles\uic\ui_foo.h"
- >
- </File>
- </Filter>
- </Files>
- <Globals>
- <Global
- Name="MocDir"
- Value=".\GeneratedFiles\moc"
- />
- <Global
- Name="QtVersion Win32"
- Value="$(DefaultQtVersion)"
- />
- <Global
- Name="RccDir"
- Value=".\GeneratedFiles\rcc"
- />
- <Global
- Name="UicDir"
- Value=".\GeneratedFiles\uic"
- />
- </Globals>
-</VisualStudioProject>
diff --git a/tools/AutoTests/TemplateProjects2008/Test1pch/Check/bar.cpp b/tools/AutoTests/TemplateProjects2008/Test1pch/Check/bar.cpp
deleted file mode 100644
index 8cc07981..00000000
--- a/tools/AutoTests/TemplateProjects2008/Test1pch/Check/bar.cpp
+++ /dev/null
@@ -1,12 +0,0 @@
-#include <QtGui/QWidget>
-
-class Bar : public QWidget
-{
- //Q_OBJECT_HERE
-
-public:
- Bar(QWidget *parent = 0, Qt::WFlags flags = 0);
- ~Bar();
-};
-
-//#include "bar.moc" \ No newline at end of file
diff --git a/tools/AutoTests/TemplateProjects2008/Test1pch/Check/foo.cpp b/tools/AutoTests/TemplateProjects2008/Test1pch/Check/foo.cpp
deleted file mode 100644
index 47c71ae6..00000000
--- a/tools/AutoTests/TemplateProjects2008/Test1pch/Check/foo.cpp
+++ /dev/null
@@ -1,14 +0,0 @@
-#include "pch.h"
-#include "foo.h"
-////#CUSTOMINCLUDE
-
-Foo::Foo(QWidget *parent, Qt::WFlags flags)
- : QWidget(parent, flags)
-{
- ui.setupUi(this);
-}
-
-Foo::~Foo()
-{
-
-}
diff --git a/tools/AutoTests/TemplateProjects2008/Test1pch/Check/foo.h b/tools/AutoTests/TemplateProjects2008/Test1pch/Check/foo.h
deleted file mode 100644
index 7e90fef7..00000000
--- a/tools/AutoTests/TemplateProjects2008/Test1pch/Check/foo.h
+++ /dev/null
@@ -1,19 +0,0 @@
-#ifndef FOO_H
-#define FOO_H
-
-#include <QtGui/QWidget>
-#include "ui_foo.h"
-
-class Foo : public QWidget
-{
- //Q_OBJECT_HERE
-
-public:
- Foo(QWidget *parent = 0, Qt::WFlags flags = 0);
- ~Foo();
-
-private:
- Ui::FooClass ui;
-};
-
-#endif // FOO_H
diff --git a/tools/AutoTests/TemplateProjects2008/Test1pch/Check/foo.qrc b/tools/AutoTests/TemplateProjects2008/Test1pch/Check/foo.qrc
deleted file mode 100644
index 18730fee..00000000
--- a/tools/AutoTests/TemplateProjects2008/Test1pch/Check/foo.qrc
+++ /dev/null
@@ -1,4 +0,0 @@
-<RCC>
- <qresource prefix="Foo">
- </qresource>
-</RCC>
diff --git a/tools/AutoTests/TemplateProjects2008/Test1pch/Check/foo.ui b/tools/AutoTests/TemplateProjects2008/Test1pch/Check/foo.ui
deleted file mode 100644
index e7568a8d..00000000
--- a/tools/AutoTests/TemplateProjects2008/Test1pch/Check/foo.ui
+++ /dev/null
@@ -1,23 +0,0 @@
-<UI version="4.0" >
- <class>FooClass</class>
- <widget class="QWidget" name="FooClass" >
- <property name="objectName" >
- <string notr="true">FooClass</string>
- </property>
- <property name="geometry" >
- <rect>
- <x>0</x>
- <y>0</y>
- <width>600</width>
- <height>400</height>
- </rect>
- </property>
- <property name="windowTitle" >
- <string>Foo</string>
- </property>
- </widget>
- <layoutDefault spacing="6" margin="11" />
- <pixmapfunction></pixmapfunction>
- <resources/>
- <connections/>
-</UI>
diff --git a/tools/AutoTests/TemplateProjects2008/Test1pch/Check/main.cpp b/tools/AutoTests/TemplateProjects2008/Test1pch/Check/main.cpp
deleted file mode 100644
index 8140ff4a..00000000
--- a/tools/AutoTests/TemplateProjects2008/Test1pch/Check/main.cpp
+++ /dev/null
@@ -1,25 +0,0 @@
-#include "pch.h"
-#include <QtGui/QApplication>
-#include "foo.h"
-
-class Bar : public QWidget
-{
- //Q_OBJECT_HERE
-
-public:
- Bar(QWidget *parent = 0, Qt::WFlags flags = 0);
- ~Bar();
-
-private:
- Ui::FooClass ui;
-};
-
-int main(int argc, char *argv[])
-{
- QApplication a(argc, argv);
- Foo w;
- w.show();
- return a.exec();
-}
-
-//#include "main.moc"
diff --git a/tools/AutoTests/TemplateProjects2008/Test1pch/Check/pch.cpp b/tools/AutoTests/TemplateProjects2008/Test1pch/Check/pch.cpp
deleted file mode 100644
index 17305716..00000000
--- a/tools/AutoTests/TemplateProjects2008/Test1pch/Check/pch.cpp
+++ /dev/null
@@ -1 +0,0 @@
-#include "pch.h" \ No newline at end of file
diff --git a/tools/AutoTests/TemplateProjects2008/Test1pch/Check/pch.h b/tools/AutoTests/TemplateProjects2008/Test1pch/Check/pch.h
deleted file mode 100644
index e69de29b..00000000
--- a/tools/AutoTests/TemplateProjects2008/Test1pch/Check/pch.h
+++ /dev/null
diff --git a/tools/AutoTests/TemplateProjects2008/Test1pch/Check/subfolder/sub.cpp b/tools/AutoTests/TemplateProjects2008/Test1pch/Check/subfolder/sub.cpp
deleted file mode 100644
index 74c63932..00000000
--- a/tools/AutoTests/TemplateProjects2008/Test1pch/Check/subfolder/sub.cpp
+++ /dev/null
@@ -1,13 +0,0 @@
-#include "pch.h"
-#include <QObject>
-
-class Sub: public QObject
-{
- //Q_OBJECT_HERE
-public:
- Sub(QObject *parent = 0)
- : QObject(parent)
- {}
-};
-
-//#include "sub.moc" \ No newline at end of file
diff --git a/tools/AutoTests/TemplateProjects2008/Test1pch/Check/test.cpp b/tools/AutoTests/TemplateProjects2008/Test1pch/Check/test.cpp
deleted file mode 100644
index 91ab081c..00000000
--- a/tools/AutoTests/TemplateProjects2008/Test1pch/Check/test.cpp
+++ /dev/null
@@ -1 +0,0 @@
-#include "test.h" \ No newline at end of file
diff --git a/tools/AutoTests/TemplateProjects2008/Test1pch/Check/test.h b/tools/AutoTests/TemplateProjects2008/Test1pch/Check/test.h
deleted file mode 100644
index e69de29b..00000000
--- a/tools/AutoTests/TemplateProjects2008/Test1pch/Check/test.h
+++ /dev/null
diff --git a/tools/AutoTests/TemplateProjects2008/Test1pch/Test1pch.sln b/tools/AutoTests/TemplateProjects2008/Test1pch/Test1pch.sln
deleted file mode 100644
index 851f60c9..00000000
--- a/tools/AutoTests/TemplateProjects2008/Test1pch/Test1pch.sln
+++ /dev/null
@@ -1,23 +0,0 @@
-
-Microsoft Visual Studio Solution File, Format Version 10.00
-# Visual Studio 2008
-Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Test1", "Check\Check.vcproj", "{ADA1D5AA-949B-46E9-AA9E-10D2D5ECA5B0}"
-EndProject
-Global
- GlobalSection(SolutionConfigurationPlatforms) = preSolution
- Debug|Win32 = Debug|Win32
- Release|Win32 = Release|Win32
- EndGlobalSection
- GlobalSection(ProjectConfigurationPlatforms) = postSolution
- {ADA1D5AA-949B-46E9-AA9E-10D2D5ECA5B0}.Debug|Win32.ActiveCfg = Debug|Win32
- {ADA1D5AA-949B-46E9-AA9E-10D2D5ECA5B0}.Debug|Win32.Build.0 = Debug|Win32
- {ADA1D5AA-949B-46E9-AA9E-10D2D5ECA5B0}.Release|Win32.ActiveCfg = Release|Win32
- {ADA1D5AA-949B-46E9-AA9E-10D2D5ECA5B0}.Release|Win32.Build.0 = Release|Win32
- EndGlobalSection
- GlobalSection(SolutionProperties) = preSolution
- HideSolutionNode = FALSE
- EndGlobalSection
- GlobalSection(Qt) = preSolution
- Integration = True
- EndGlobalSection
-EndGlobal
diff --git a/tools/AutoTests/TemplateProjects2008/Test2/Check/Check.vcproj b/tools/AutoTests/TemplateProjects2008/Test2/Check/Check.vcproj
deleted file mode 100644
index 047fd499..00000000
--- a/tools/AutoTests/TemplateProjects2008/Test2/Check/Check.vcproj
+++ /dev/null
@@ -1,388 +0,0 @@
-<?xml version="1.0" encoding="Windows-1252"?>
-<VisualStudioProject
- ProjectType="Visual C++"
- Version="9.00"
- Name="Test2"
- ProjectGUID="{ADA1D5AA-949B-46E9-AA9E-10D2D5ECA5B0}"
- RootNamespace="Check"
- Keyword="Qt4VSv1.0"
- TargetFrameworkVersion="0"
- >
- <Platforms>
- <Platform
- Name="Win32"
- />
- </Platforms>
- <ToolFiles>
- </ToolFiles>
- <Configurations>
- <Configuration
- Name="Release|Win32"
- OutputDirectory="$(SolutionDir)$(ConfigurationName)"
- ConfigurationType="1"
- >
- <Tool
- Name="VCPreBuildEventTool"
- />
- <Tool
- Name="VCCustomBuildTool"
- />
- <Tool
- Name="VCXMLDataGeneratorTool"
- />
- <Tool
- Name="VCWebServiceProxyGeneratorTool"
- />
- <Tool
- Name="VCMIDLTool"
- />
- <Tool
- Name="VCCLCompilerTool"
- AdditionalIncludeDirectories="$(QTDIR)\include;.;$(QTDIR)\include\QtCore;$(QTDIR)\include\QtGui;.\GeneratedFiles\moc;.\GeneratedFiles\uic;.\GeneratedFiles\rcc"
- PreprocessorDefinitions="UNICODE,WIN32,QT_THREAD_SUPPORT,QT_NO_DEBUG,NDEBUG,QT_CORE_LIB,QT_GUI_LIB"
- RuntimeLibrary="2"
- TreatWChar_tAsBuiltInType="false"
- DebugInformationFormat="0"
- />
- <Tool
- Name="VCManagedResourceCompilerTool"
- />
- <Tool
- Name="VCResourceCompilerTool"
- />
- <Tool
- Name="VCPreLinkEventTool"
- />
- <Tool
- Name="VCLinkerTool"
- AdditionalDependencies=" qtmain.lib QtCore4.lib QtGui4.lib"
- OutputFile="$(OutDir)\$(ProjectName).exe"
- AdditionalLibraryDirectories="$(QTDIR)\lib"
- GenerateDebugInformation="false"
- SubSystem="2"
- />
- <Tool
- Name="VCALinkTool"
- />
- <Tool
- Name="VCManifestTool"
- />
- <Tool
- Name="VCXDCMakeTool"
- />
- <Tool
- Name="VCBscMakeTool"
- />
- <Tool
- Name="VCFxCopTool"
- />
- <Tool
- Name="VCAppVerifierTool"
- />
- <Tool
- Name="VCPostBuildEventTool"
- />
- </Configuration>
- <Configuration
- Name="Debug|Win32"
- OutputDirectory="$(SolutionDir)$(ConfigurationName)"
- IntermediateDirectory="$(ConfigurationName)"
- ConfigurationType="1"
- >
- <Tool
- Name="VCPreBuildEventTool"
- />
- <Tool
- Name="VCCustomBuildTool"
- />
- <Tool
- Name="VCXMLDataGeneratorTool"
- />
- <Tool
- Name="VCWebServiceProxyGeneratorTool"
- />
- <Tool
- Name="VCMIDLTool"
- />
- <Tool
- Name="VCCLCompilerTool"
- Optimization="0"
- AdditionalIncludeDirectories="$(QTDIR)\include;.;$(QTDIR)\include\QtCore;$(QTDIR)\include\QtGui;.\GeneratedFiles\moc;.\GeneratedFiles\uic;.\GeneratedFiles\rcc"
- PreprocessorDefinitions="UNICODE,WIN32,QT_THREAD_SUPPORT,QT_CORE_LIB,QT_GUI_LIB"
- RuntimeLibrary="3"
- TreatWChar_tAsBuiltInType="false"
- DebugInformationFormat="3"
- />
- <Tool
- Name="VCManagedResourceCompilerTool"
- />
- <Tool
- Name="VCResourceCompilerTool"
- />
- <Tool
- Name="VCPreLinkEventTool"
- />
- <Tool
- Name="VCLinkerTool"
- AdditionalDependencies=" qtmaind.lib QtCored4.lib QtGuid4.lib"
- OutputFile="$(OutDir)\$(ProjectName).exe"
- AdditionalLibraryDirectories="$(QTDIR)\lib"
- GenerateDebugInformation="true"
- SubSystem="2"
- />
- <Tool
- Name="VCALinkTool"
- />
- <Tool
- Name="VCManifestTool"
- />
- <Tool
- Name="VCXDCMakeTool"
- />
- <Tool
- Name="VCBscMakeTool"
- />
- <Tool
- Name="VCFxCopTool"
- />
- <Tool
- Name="VCAppVerifierTool"
- />
- <Tool
- Name="VCPostBuildEventTool"
- />
- </Configuration>
- </Configurations>
- <References>
- </References>
- <Files>
- <Filter
- Name="Source Files"
- Filter="cpp;cxx;c;def"
- UniqueIdentifier="{4FC737F1-C7A5-4376-A066-2A32D752A2FF}"
- >
- <File
- RelativePath=".\foo.cpp"
- >
- </File>
- <File
- RelativePath=".\main.cpp"
- >
- </File>
- <File
- RelativePath=".\subfolder\sub.cpp"
- >
- </File>
- <File
- RelativePath=".\test.cpp"
- >
- </File>
- </Filter>
- <Filter
- Name="Header Files"
- Filter="h"
- UniqueIdentifier="{93995380-89BD-4b04-88EB-625FBE52EBFB}"
- >
- <File
- RelativePath=".\foo.h"
- >
- <FileConfiguration
- Name="Release|Win32"
- >
- <Tool
- Name="VCCustomBuildTool"
- Description="Moc&apos;ing $(InputFileName)..."
- CommandLine="&quot;$(QTDIR)\bin\moc.exe&quot; -DUNICODE -DWIN32 -DQT_THREAD_SUPPORT -DQT_NO_DEBUG -DNDEBUG -DQT_CORE_LIB -DQT_GUI_LIB &quot;-I$(QTDIR)\include&quot; &quot;-I.&quot; &quot;-I$(QTDIR)\include\QtCore&quot; &quot;-I$(QTDIR)\include\QtGui&quot; &quot;-I.\GeneratedFiles\moc&quot; &quot;-I.\GeneratedFiles\uic&quot; &quot;-I.\GeneratedFiles\rcc&quot; &quot;.\foo.h&quot; -o &quot;.\GeneratedFiles\moc\moc_$(InputName).cpp&quot;&#x0D;&#x0A;"
- AdditionalDependencies="&quot;$(QTDIR)\bin\moc.exe&quot;;$(InputPath)"
- Outputs="&quot;.\GeneratedFiles\moc\moc_$(InputName).cpp&quot;"
- />
- </FileConfiguration>
- <FileConfiguration
- Name="Debug|Win32"
- >
- <Tool
- Name="VCCustomBuildTool"
- Description="Moc&apos;ing $(InputFileName)..."
- CommandLine="&quot;$(QTDIR)\bin\moc.exe&quot; -DUNICODE -DWIN32 -DQT_THREAD_SUPPORT -DQT_CORE_LIB -DQT_GUI_LIB &quot;-I$(QTDIR)\include&quot; &quot;-I.&quot; &quot;-I$(QTDIR)\include\QtCore&quot; &quot;-I$(QTDIR)\include\QtGui&quot; &quot;-I.\GeneratedFiles\moc&quot; &quot;-I.\GeneratedFiles\uic&quot; &quot;-I.\GeneratedFiles\rcc&quot; &quot;.\foo.h&quot; -o &quot;.\GeneratedFiles\moc\moc_$(InputName).cpp&quot;&#x0D;&#x0A;"
- AdditionalDependencies="&quot;$(QTDIR)\bin\moc.exe&quot;;$(InputPath)"
- Outputs="&quot;.\GeneratedFiles\moc\moc_$(InputName).cpp&quot;"
- />
- </FileConfiguration>
- </File>
- <File
- RelativePath=".\test.h"
- >
- </File>
- </Filter>
- <Filter
- Name="Form Files"
- Filter="ui"
- UniqueIdentifier="{99349809-55BA-4b9d-BF79-8FDBB0286EB3}"
- >
- <File
- RelativePath=".\foo.ui"
- >
- <FileConfiguration
- Name="Release|Win32"
- >
- <Tool
- Name="VCCustomBuildTool"
- Description="Uic&apos;ing $(InputFileName)..."
- CommandLine="&quot;$(QTDIR)\bin\uic.exe&quot; -o &quot;.\GeneratedFiles\uic\ui_$(InputName).h&quot; &quot;$(InputPath)&quot;&#x0D;&#x0A;"
- AdditionalDependencies="$(QTDIR)\bin\uic.exe"
- Outputs="&quot;.\GeneratedFiles\uic\ui_$(InputName).h&quot;"
- />
- </FileConfiguration>
- <FileConfiguration
- Name="Debug|Win32"
- >
- <Tool
- Name="VCCustomBuildTool"
- Description="Uic&apos;ing $(InputFileName)..."
- CommandLine="&quot;$(QTDIR)\bin\uic.exe&quot; -o &quot;.\GeneratedFiles\uic\ui_$(InputName).h&quot; &quot;$(InputPath)&quot;&#x0D;&#x0A;"
- AdditionalDependencies="$(QTDIR)\bin\uic.exe"
- Outputs="&quot;.\GeneratedFiles\uic\ui_$(InputName).h&quot;"
- />
- </FileConfiguration>
- </File>
- </Filter>
- <Filter
- Name="Resource Files"
- Filter="qrc;*"
- UniqueIdentifier="{D9D6E242-F8AF-46E4-B9FD-80ECBC20BA3E}"
- ParseFiles="false"
- >
- <File
- RelativePath=".\foo.qrc"
- >
- <FileConfiguration
- Name="Release|Win32"
- >
- <Tool
- Name="VCCustomBuildTool"
- Description="Rcc&apos;ing $(InputFileName)..."
- CommandLine="&quot;$(QTDIR)\bin\rcc.exe&quot; -name &quot;$(InputName)&quot; -no-compress &quot;$(InputPath)&quot; -o .\GeneratedFiles\rcc\qrc_$(InputName).cpp&#x0D;&#x0A;"
- AdditionalDependencies="$(InputPath)"
- Outputs=".\GeneratedFiles\rcc\qrc_$(InputName).cpp"
- />
- </FileConfiguration>
- <FileConfiguration
- Name="Debug|Win32"
- >
- <Tool
- Name="VCCustomBuildTool"
- Description="Rcc&apos;ing $(InputFileName)..."
- CommandLine="&quot;$(QTDIR)\bin\rcc.exe&quot; -name &quot;$(InputName)&quot; -no-compress &quot;$(InputPath)&quot; -o .\GeneratedFiles\rcc\qrc_$(InputName).cpp&#x0D;&#x0A;"
- AdditionalDependencies="$(InputPath)"
- Outputs=".\GeneratedFiles\rcc\qrc_$(InputName).cpp"
- />
- </FileConfiguration>
- </File>
- </Filter>
- <Filter
- Name="Generated Files"
- Filter="moc;h;cpp"
- UniqueIdentifier="{71ED8ED8-ACB9-4CE9-BBE1-E00B30144E11}"
- SourceControlFiles="false"
- >
- <File
- RelativePath=".\GeneratedFiles\moc\main.moc"
- >
- <FileConfiguration
- Name="Release|Win32"
- >
- <Tool
- Name="VCCustomBuildTool"
- Description="Moc&apos;ing $(InputFileName)..."
- CommandLine="&quot;$(QTDIR)\bin\moc.exe&quot; -DUNICODE -DWIN32 -DQT_THREAD_SUPPORT -DQT_NO_DEBUG -DNDEBUG -DQT_CORE_LIB -DQT_GUI_LIB &quot;-I$(QTDIR)\include&quot; &quot;-I.&quot; &quot;-I$(QTDIR)\include\QtCore&quot; &quot;-I$(QTDIR)\include\QtGui&quot; &quot;-I.\GeneratedFiles\moc&quot; &quot;-I.\GeneratedFiles\uic&quot; &quot;-I.\GeneratedFiles\rcc&quot; &quot;.\main.cpp&quot; -o &quot;.\GeneratedFiles\moc\$(InputName).moc&quot;&#x0D;&#x0A;"
- AdditionalDependencies="&quot;$(QTDIR)\bin\moc.exe&quot;;.\main.cpp"
- Outputs="&quot;.\GeneratedFiles\moc\$(InputName).moc&quot;"
- />
- </FileConfiguration>
- <FileConfiguration
- Name="Debug|Win32"
- >
- <Tool
- Name="VCCustomBuildTool"
- Description="Moc&apos;ing $(InputFileName)..."
- CommandLine="&quot;$(QTDIR)\bin\moc.exe&quot; -DUNICODE -DWIN32 -DQT_THREAD_SUPPORT -DQT_CORE_LIB -DQT_GUI_LIB &quot;-I$(QTDIR)\include&quot; &quot;-I.&quot; &quot;-I$(QTDIR)\include\QtCore&quot; &quot;-I$(QTDIR)\include\QtGui&quot; &quot;-I.\GeneratedFiles\moc&quot; &quot;-I.\GeneratedFiles\uic&quot; &quot;-I.\GeneratedFiles\rcc&quot; &quot;.\main.cpp&quot; -o &quot;.\GeneratedFiles\moc\$(InputName).moc&quot;&#x0D;&#x0A;"
- AdditionalDependencies="&quot;$(QTDIR)\bin\moc.exe&quot;;.\main.cpp"
- Outputs="&quot;.\GeneratedFiles\moc\$(InputName).moc&quot;"
- />
- </FileConfiguration>
- </File>
- <File
- RelativePath=".\GeneratedFiles\moc\moc_foo.cpp"
- >
- </File>
- <File
- RelativePath=".\GeneratedFiles\rcc\qrc_foo.cpp"
- >
- <FileConfiguration
- Name="Release|Win32"
- >
- <Tool
- Name="VCCLCompilerTool"
- UsePrecompiledHeader="0"
- />
- </FileConfiguration>
- <FileConfiguration
- Name="Debug|Win32"
- >
- <Tool
- Name="VCCLCompilerTool"
- UsePrecompiledHeader="0"
- />
- </FileConfiguration>
- </File>
- <File
- RelativePath=".\GeneratedFiles\moc\sub.moc"
- >
- <FileConfiguration
- Name="Release|Win32"
- >
- <Tool
- Name="VCCustomBuildTool"
- Description="Moc&apos;ing $(InputFileName)..."
- CommandLine="&quot;$(QTDIR)\bin\moc.exe&quot; -DUNICODE -DWIN32 -DQT_THREAD_SUPPORT -DQT_NO_DEBUG -DNDEBUG -DQT_CORE_LIB -DQT_GUI_LIB &quot;-I$(QTDIR)\include&quot; &quot;-I.&quot; &quot;-I$(QTDIR)\include\QtCore&quot; &quot;-I$(QTDIR)\include\QtGui&quot; &quot;-I.\GeneratedFiles\moc&quot; &quot;-I.\GeneratedFiles\uic&quot; &quot;-I.\GeneratedFiles\rcc&quot; &quot;.\subfolder\sub.cpp&quot; -o &quot;.\GeneratedFiles\moc\$(InputName).moc&quot;&#x0D;&#x0A;"
- AdditionalDependencies="&quot;$(QTDIR)\bin\moc.exe&quot;;.\subfolder\sub.cpp"
- Outputs="&quot;.\GeneratedFiles\moc\$(InputName).moc&quot;"
- />
- </FileConfiguration>
- <FileConfiguration
- Name="Debug|Win32"
- >
- <Tool
- Name="VCCustomBuildTool"
- Description="Moc&apos;ing $(InputFileName)..."
- CommandLine="&quot;$(QTDIR)\bin\moc.exe&quot; -DUNICODE -DWIN32 -DQT_THREAD_SUPPORT -DQT_CORE_LIB -DQT_GUI_LIB &quot;-I$(QTDIR)\include&quot; &quot;-I.&quot; &quot;-I$(QTDIR)\include\QtCore&quot; &quot;-I$(QTDIR)\include\QtGui&quot; &quot;-I.\GeneratedFiles\moc&quot; &quot;-I.\GeneratedFiles\uic&quot; &quot;-I.\GeneratedFiles\rcc&quot; &quot;.\subfolder\sub.cpp&quot; -o &quot;.\GeneratedFiles\moc\$(InputName).moc&quot;&#x0D;&#x0A;"
- AdditionalDependencies="&quot;$(QTDIR)\bin\moc.exe&quot;;.\subfolder\sub.cpp"
- Outputs="&quot;.\GeneratedFiles\moc\$(InputName).moc&quot;"
- />
- </FileConfiguration>
- </File>
- <File
- RelativePath=".\GeneratedFiles\uic\ui_foo.h"
- >
- </File>
- </Filter>
- </Files>
- <Globals>
- <Global
- Name="MocDir"
- Value=".\GeneratedFiles\moc"
- />
- <Global
- Name="QtVersion Win32"
- Value="$(DefaultQtVersion)"
- />
- <Global
- Name="RccDir"
- Value=".\GeneratedFiles\rcc"
- />
- <Global
- Name="UicDir"
- Value=".\GeneratedFiles\uic"
- />
- </Globals>
-</VisualStudioProject>
diff --git a/tools/AutoTests/TemplateProjects2008/Test2/Check/bar.cpp b/tools/AutoTests/TemplateProjects2008/Test2/Check/bar.cpp
deleted file mode 100644
index 7377a16b..00000000
--- a/tools/AutoTests/TemplateProjects2008/Test2/Check/bar.cpp
+++ /dev/null
@@ -1,12 +0,0 @@
-#include <QtGui/QWidget>
-
-class Bar : public QWidget
-{
- Q_OBJECT
-
-public:
- Bar(QWidget *parent = 0, Qt::WFlags flags = 0);
- ~Bar();
-};
-
-#include "bar.moc" \ No newline at end of file
diff --git a/tools/AutoTests/TemplateProjects2008/Test2/Check/foo.cpp b/tools/AutoTests/TemplateProjects2008/Test2/Check/foo.cpp
deleted file mode 100644
index 36697238..00000000
--- a/tools/AutoTests/TemplateProjects2008/Test2/Check/foo.cpp
+++ /dev/null
@@ -1,14 +0,0 @@
-//#include "test.h"
-#include "foo.h"
-////#CUSTOMINCLUDE
-
-Foo::Foo(QWidget *parent, Qt::WFlags flags)
- : QWidget(parent, flags)
-{
- ui.setupUi(this);
-}
-
-Foo::~Foo()
-{
-
-}
diff --git a/tools/AutoTests/TemplateProjects2008/Test2/Check/foo.h b/tools/AutoTests/TemplateProjects2008/Test2/Check/foo.h
deleted file mode 100644
index ff46f40a..00000000
--- a/tools/AutoTests/TemplateProjects2008/Test2/Check/foo.h
+++ /dev/null
@@ -1,19 +0,0 @@
-#ifndef FOO_H
-#define FOO_H
-
-#include <QtGui/QWidget>
-#include "ui_foo.h"
-
-class Foo : public QWidget
-{
- Q_OBJECT
-
-public:
- Foo(QWidget *parent = 0, Qt::WFlags flags = 0);
- ~Foo();
-
-private:
- Ui::FooClass ui;
-};
-
-#endif // FOO_H
diff --git a/tools/AutoTests/TemplateProjects2008/Test2/Check/foo.qrc b/tools/AutoTests/TemplateProjects2008/Test2/Check/foo.qrc
deleted file mode 100644
index 18730fee..00000000
--- a/tools/AutoTests/TemplateProjects2008/Test2/Check/foo.qrc
+++ /dev/null
@@ -1,4 +0,0 @@
-<RCC>
- <qresource prefix="Foo">
- </qresource>
-</RCC>
diff --git a/tools/AutoTests/TemplateProjects2008/Test2/Check/foo.ui b/tools/AutoTests/TemplateProjects2008/Test2/Check/foo.ui
deleted file mode 100644
index e7568a8d..00000000
--- a/tools/AutoTests/TemplateProjects2008/Test2/Check/foo.ui
+++ /dev/null
@@ -1,23 +0,0 @@
-<UI version="4.0" >
- <class>FooClass</class>
- <widget class="QWidget" name="FooClass" >
- <property name="objectName" >
- <string notr="true">FooClass</string>
- </property>
- <property name="geometry" >
- <rect>
- <x>0</x>
- <y>0</y>
- <width>600</width>
- <height>400</height>
- </rect>
- </property>
- <property name="windowTitle" >
- <string>Foo</string>
- </property>
- </widget>
- <layoutDefault spacing="6" margin="11" />
- <pixmapfunction></pixmapfunction>
- <resources/>
- <connections/>
-</UI>
diff --git a/tools/AutoTests/TemplateProjects2008/Test2/Check/main.cpp b/tools/AutoTests/TemplateProjects2008/Test2/Check/main.cpp
deleted file mode 100644
index 56d1fd1a..00000000
--- a/tools/AutoTests/TemplateProjects2008/Test2/Check/main.cpp
+++ /dev/null
@@ -1,25 +0,0 @@
-//#include "test.h"
-#include <QtGui/QApplication>
-#include "foo.h"
-
-class Bar : public QWidget
-{
- Q_OBJECT
-
-public:
- Bar(QWidget *parent = 0, Qt::WFlags flags = 0);
- ~Bar();
-
-private:
- Ui::FooClass ui;
-};
-
-int main(int argc, char *argv[])
-{
- QApplication a(argc, argv);
- Foo w;
- w.show();
- return a.exec();
-}
-
-#include "main.moc"
diff --git a/tools/AutoTests/TemplateProjects2008/Test2/Check/subfolder/sub.cpp b/tools/AutoTests/TemplateProjects2008/Test2/Check/subfolder/sub.cpp
deleted file mode 100644
index f607f00b..00000000
--- a/tools/AutoTests/TemplateProjects2008/Test2/Check/subfolder/sub.cpp
+++ /dev/null
@@ -1,13 +0,0 @@
-//#include "test.h"
-#include <QObject>
-
-class Sub: public QObject
-{
- Q_OBJECT
-public:
- Sub(QObject *parent = 0)
- : QObject(parent)
- {}
-};
-
-#include "sub.moc" \ No newline at end of file
diff --git a/tools/AutoTests/TemplateProjects2008/Test2/Check/test.cpp b/tools/AutoTests/TemplateProjects2008/Test2/Check/test.cpp
deleted file mode 100644
index 91ab081c..00000000
--- a/tools/AutoTests/TemplateProjects2008/Test2/Check/test.cpp
+++ /dev/null
@@ -1 +0,0 @@
-#include "test.h" \ No newline at end of file
diff --git a/tools/AutoTests/TemplateProjects2008/Test2/Check/test.h b/tools/AutoTests/TemplateProjects2008/Test2/Check/test.h
deleted file mode 100644
index e69de29b..00000000
--- a/tools/AutoTests/TemplateProjects2008/Test2/Check/test.h
+++ /dev/null
diff --git a/tools/AutoTests/TemplateProjects2008/Test2/Test2.sln b/tools/AutoTests/TemplateProjects2008/Test2/Test2.sln
deleted file mode 100644
index c2962932..00000000
--- a/tools/AutoTests/TemplateProjects2008/Test2/Test2.sln
+++ /dev/null
@@ -1,23 +0,0 @@
-
-Microsoft Visual Studio Solution File, Format Version 10.00
-# Visual Studio 2008
-Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Test2", "Check\Check.vcproj", "{ADA1D5AA-949B-46E9-AA9E-10D2D5ECA5B0}"
-EndProject
-Global
- GlobalSection(SolutionConfigurationPlatforms) = preSolution
- Debug|Win32 = Debug|Win32
- Release|Win32 = Release|Win32
- EndGlobalSection
- GlobalSection(ProjectConfigurationPlatforms) = postSolution
- {ADA1D5AA-949B-46E9-AA9E-10D2D5ECA5B0}.Debug|Win32.ActiveCfg = Debug|Win32
- {ADA1D5AA-949B-46E9-AA9E-10D2D5ECA5B0}.Debug|Win32.Build.0 = Debug|Win32
- {ADA1D5AA-949B-46E9-AA9E-10D2D5ECA5B0}.Release|Win32.ActiveCfg = Release|Win32
- {ADA1D5AA-949B-46E9-AA9E-10D2D5ECA5B0}.Release|Win32.Build.0 = Release|Win32
- EndGlobalSection
- GlobalSection(SolutionProperties) = preSolution
- HideSolutionNode = FALSE
- EndGlobalSection
- GlobalSection(Qt) = preSolution
- Integration = True
- EndGlobalSection
-EndGlobal
diff --git a/tools/AutoTests/TemplateProjects2008/Test2pch/Check/Check.vcproj b/tools/AutoTests/TemplateProjects2008/Test2pch/Check/Check.vcproj
deleted file mode 100644
index 1bbabf55..00000000
--- a/tools/AutoTests/TemplateProjects2008/Test2pch/Check/Check.vcproj
+++ /dev/null
@@ -1,406 +0,0 @@
-<?xml version="1.0" encoding="Windows-1252"?>
-<VisualStudioProject
- ProjectType="Visual C++"
- Version="9.00"
- Name="Test2"
- ProjectGUID="{ADA1D5AA-949B-46E9-AA9E-10D2D5ECA5B0}"
- RootNamespace="Check"
- Keyword="Qt4VSv1.0"
- TargetFrameworkVersion="0"
- >
- <Platforms>
- <Platform
- Name="Win32"
- />
- </Platforms>
- <ToolFiles>
- </ToolFiles>
- <Configurations>
- <Configuration
- Name="Release|Win32"
- OutputDirectory="$(SolutionDir)$(ConfigurationName)"
- ConfigurationType="1"
- >
- <Tool
- Name="VCPreBuildEventTool"
- />
- <Tool
- Name="VCCustomBuildTool"
- />
- <Tool
- Name="VCXMLDataGeneratorTool"
- />
- <Tool
- Name="VCWebServiceProxyGeneratorTool"
- />
- <Tool
- Name="VCMIDLTool"
- />
- <Tool
- Name="VCCLCompilerTool"
- AdditionalIncludeDirectories="$(QTDIR)\include;.;$(QTDIR)\include\QtCore;$(QTDIR)\include\QtGui;.\GeneratedFiles\moc;.\GeneratedFiles\uic;.\GeneratedFiles\rcc"
- PreprocessorDefinitions="UNICODE,WIN32,QT_THREAD_SUPPORT,QT_NO_DEBUG,NDEBUG,QT_CORE_LIB,QT_GUI_LIB"
- RuntimeLibrary="2"
- TreatWChar_tAsBuiltInType="false"
- DebugInformationFormat="0"
- />
- <Tool
- Name="VCManagedResourceCompilerTool"
- />
- <Tool
- Name="VCResourceCompilerTool"
- />
- <Tool
- Name="VCPreLinkEventTool"
- />
- <Tool
- Name="VCLinkerTool"
- AdditionalDependencies=" qtmain.lib QtCore4.lib QtGui4.lib"
- OutputFile="$(OutDir)\$(ProjectName).exe"
- AdditionalLibraryDirectories="$(QTDIR)\lib"
- GenerateDebugInformation="false"
- SubSystem="2"
- />
- <Tool
- Name="VCALinkTool"
- />
- <Tool
- Name="VCManifestTool"
- />
- <Tool
- Name="VCXDCMakeTool"
- />
- <Tool
- Name="VCBscMakeTool"
- />
- <Tool
- Name="VCFxCopTool"
- />
- <Tool
- Name="VCAppVerifierTool"
- />
- <Tool
- Name="VCPostBuildEventTool"
- />
- </Configuration>
- <Configuration
- Name="Debug|Win32"
- OutputDirectory="$(SolutionDir)$(ConfigurationName)"
- IntermediateDirectory="$(ConfigurationName)"
- ConfigurationType="1"
- >
- <Tool
- Name="VCPreBuildEventTool"
- />
- <Tool
- Name="VCCustomBuildTool"
- />
- <Tool
- Name="VCXMLDataGeneratorTool"
- />
- <Tool
- Name="VCWebServiceProxyGeneratorTool"
- />
- <Tool
- Name="VCMIDLTool"
- />
- <Tool
- Name="VCCLCompilerTool"
- Optimization="0"
- AdditionalIncludeDirectories="$(QTDIR)\include;.;$(QTDIR)\include\QtCore;$(QTDIR)\include\QtGui;.\GeneratedFiles\moc;.\GeneratedFiles\uic;.\GeneratedFiles\rcc"
- PreprocessorDefinitions="UNICODE,WIN32,QT_THREAD_SUPPORT,QT_CORE_LIB,QT_GUI_LIB"
- RuntimeLibrary="3"
- TreatWChar_tAsBuiltInType="false"
- UsePrecompiledHeader="2"
- PrecompiledHeaderThrough="pch.h"
- DebugInformationFormat="3"
- />
- <Tool
- Name="VCManagedResourceCompilerTool"
- />
- <Tool
- Name="VCResourceCompilerTool"
- />
- <Tool
- Name="VCPreLinkEventTool"
- />
- <Tool
- Name="VCLinkerTool"
- AdditionalDependencies=" qtmaind.lib QtCored4.lib QtGuid4.lib"
- OutputFile="$(OutDir)\$(ProjectName).exe"
- AdditionalLibraryDirectories="$(QTDIR)\lib"
- GenerateDebugInformation="true"
- SubSystem="2"
- />
- <Tool
- Name="VCALinkTool"
- />
- <Tool
- Name="VCManifestTool"
- />
- <Tool
- Name="VCXDCMakeTool"
- />
- <Tool
- Name="VCBscMakeTool"
- />
- <Tool
- Name="VCFxCopTool"
- />
- <Tool
- Name="VCAppVerifierTool"
- />
- <Tool
- Name="VCPostBuildEventTool"
- />
- </Configuration>
- </Configurations>
- <References>
- </References>
- <Files>
- <Filter
- Name="Source Files"
- Filter="cpp;cxx;c;def"
- UniqueIdentifier="{4FC737F1-C7A5-4376-A066-2A32D752A2FF}"
- >
- <File
- RelativePath=".\foo.cpp"
- >
- </File>
- <File
- RelativePath=".\main.cpp"
- >
- </File>
- <File
- RelativePath=".\pch.cpp"
- >
- <FileConfiguration
- Name="Debug|Win32"
- >
- <Tool
- Name="VCCLCompilerTool"
- UsePrecompiledHeader="1"
- />
- </FileConfiguration>
- </File>
- <File
- RelativePath=".\subfolder\sub.cpp"
- >
- </File>
- <File
- RelativePath=".\test.cpp"
- >
- </File>
- </Filter>
- <Filter
- Name="Header Files"
- Filter="h"
- UniqueIdentifier="{93995380-89BD-4b04-88EB-625FBE52EBFB}"
- >
- <File
- RelativePath=".\foo.h"
- >
- <FileConfiguration
- Name="Release|Win32"
- >
- <Tool
- Name="VCCustomBuildTool"
- Description="Moc&apos;ing $(InputFileName)..."
- CommandLine="&quot;$(QTDIR)\bin\moc.exe&quot; -DUNICODE -DWIN32 -DQT_THREAD_SUPPORT -DQT_NO_DEBUG -DNDEBUG -DQT_CORE_LIB -DQT_GUI_LIB &quot;-I$(QTDIR)\include&quot; &quot;-I.&quot; &quot;-I$(QTDIR)\include\QtCore&quot; &quot;-I$(QTDIR)\include\QtGui&quot; &quot;-I.\GeneratedFiles\moc&quot; &quot;-I.\GeneratedFiles\uic&quot; &quot;-I.\GeneratedFiles\rcc&quot; &quot;.\foo.h&quot; -o &quot;.\GeneratedFiles\moc\moc_$(InputName).cpp&quot;&#x0D;&#x0A;"
- AdditionalDependencies="&quot;$(QTDIR)\bin\moc.exe&quot;;$(InputPath)"
- Outputs="&quot;.\GeneratedFiles\moc\moc_$(InputName).cpp&quot;"
- />
- </FileConfiguration>
- <FileConfiguration
- Name="Debug|Win32"
- >
- <Tool
- Name="VCCustomBuildTool"
- Description="Moc&apos;ing $(InputFileName)..."
- CommandLine="&quot;$(QTDIR)\bin\moc.exe&quot; -DUNICODE -DWIN32 -DQT_THREAD_SUPPORT -DQT_CORE_LIB -DQT_GUI_LIB &quot;-I$(QTDIR)\include&quot; &quot;-I.&quot; &quot;-I$(QTDIR)\include\QtCore&quot; &quot;-I$(QTDIR)\include\QtGui&quot; &quot;-I.\GeneratedFiles\moc&quot; &quot;-I.\GeneratedFiles\uic&quot; &quot;-I.\GeneratedFiles\rcc&quot; &quot;.\foo.h&quot; -o &quot;.\GeneratedFiles\moc\moc_$(InputName).cpp&quot; &quot;-fpch.h&quot; &quot;-f..\..\foo.h&quot;&#x0D;&#x0A;"
- AdditionalDependencies="&quot;$(QTDIR)\bin\moc.exe&quot;;$(InputPath)"
- Outputs="&quot;.\GeneratedFiles\moc\moc_$(InputName).cpp&quot;"
- />
- </FileConfiguration>
- </File>
- <File
- RelativePath=".\pch.h"
- >
- </File>
- <File
- RelativePath=".\test.h"
- >
- </File>
- </Filter>
- <Filter
- Name="Form Files"
- Filter="ui"
- UniqueIdentifier="{99349809-55BA-4b9d-BF79-8FDBB0286EB3}"
- >
- <File
- RelativePath=".\foo.ui"
- >
- <FileConfiguration
- Name="Release|Win32"
- >
- <Tool
- Name="VCCustomBuildTool"
- Description="Uic&apos;ing $(InputFileName)..."
- CommandLine="&quot;$(QTDIR)\bin\uic.exe&quot; -o &quot;.\GeneratedFiles\uic\ui_$(InputName).h&quot; &quot;$(InputPath)&quot;&#x0D;&#x0A;"
- AdditionalDependencies="$(QTDIR)\bin\uic.exe"
- Outputs="&quot;.\GeneratedFiles\uic\ui_$(InputName).h&quot;"
- />
- </FileConfiguration>
- <FileConfiguration
- Name="Debug|Win32"
- >
- <Tool
- Name="VCCustomBuildTool"
- Description="Uic&apos;ing $(InputFileName)..."
- CommandLine="&quot;$(QTDIR)\bin\uic.exe&quot; -o &quot;.\GeneratedFiles\uic\ui_$(InputName).h&quot; &quot;$(InputPath)&quot;&#x0D;&#x0A;"
- AdditionalDependencies="$(QTDIR)\bin\uic.exe"
- Outputs="&quot;.\GeneratedFiles\uic\ui_$(InputName).h&quot;"
- />
- </FileConfiguration>
- </File>
- </Filter>
- <Filter
- Name="Resource Files"
- Filter="qrc;*"
- UniqueIdentifier="{D9D6E242-F8AF-46E4-B9FD-80ECBC20BA3E}"
- ParseFiles="false"
- >
- <File
- RelativePath=".\foo.qrc"
- >
- <FileConfiguration
- Name="Release|Win32"
- >
- <Tool
- Name="VCCustomBuildTool"
- Description="Rcc&apos;ing $(InputFileName)..."
- CommandLine="&quot;$(QTDIR)\bin\rcc.exe&quot; -name &quot;$(InputName)&quot; -no-compress &quot;$(InputPath)&quot; -o .\GeneratedFiles\rcc\qrc_$(InputName).cpp&#x0D;&#x0A;"
- AdditionalDependencies="$(InputPath)"
- Outputs=".\GeneratedFiles\rcc\qrc_$(InputName).cpp"
- />
- </FileConfiguration>
- <FileConfiguration
- Name="Debug|Win32"
- >
- <Tool
- Name="VCCustomBuildTool"
- Description="Rcc&apos;ing $(InputFileName)..."
- CommandLine="&quot;$(QTDIR)\bin\rcc.exe&quot; -name &quot;$(InputName)&quot; -no-compress &quot;$(InputPath)&quot; -o .\GeneratedFiles\rcc\qrc_$(InputName).cpp&#x0D;&#x0A;"
- AdditionalDependencies="$(InputPath)"
- Outputs=".\GeneratedFiles\rcc\qrc_$(InputName).cpp"
- />
- </FileConfiguration>
- </File>
- </Filter>
- <Filter
- Name="Generated Files"
- Filter="moc;h;cpp"
- UniqueIdentifier="{71ED8ED8-ACB9-4CE9-BBE1-E00B30144E11}"
- SourceControlFiles="false"
- >
- <File
- RelativePath=".\GeneratedFiles\moc\main.moc"
- >
- <FileConfiguration
- Name="Release|Win32"
- >
- <Tool
- Name="VCCustomBuildTool"
- Description="Moc&apos;ing $(InputFileName)..."
- CommandLine="&quot;$(QTDIR)\bin\moc.exe&quot; -DUNICODE -DWIN32 -DQT_THREAD_SUPPORT -DQT_NO_DEBUG -DNDEBUG -DQT_CORE_LIB -DQT_GUI_LIB &quot;-I$(QTDIR)\include&quot; &quot;-I.&quot; &quot;-I$(QTDIR)\include\QtCore&quot; &quot;-I$(QTDIR)\include\QtGui&quot; &quot;-I.\GeneratedFiles\moc&quot; &quot;-I.\GeneratedFiles\uic&quot; &quot;-I.\GeneratedFiles\rcc&quot; &quot;.\main.cpp&quot; -o &quot;.\GeneratedFiles\moc\$(InputName).moc&quot;&#x0D;&#x0A;"
- AdditionalDependencies="&quot;$(QTDIR)\bin\moc.exe&quot;;.\main.cpp"
- Outputs="&quot;.\GeneratedFiles\moc\$(InputName).moc&quot;"
- />
- </FileConfiguration>
- <FileConfiguration
- Name="Debug|Win32"
- >
- <Tool
- Name="VCCustomBuildTool"
- Description="Moc&apos;ing $(InputFileName)..."
- CommandLine="&quot;$(QTDIR)\bin\moc.exe&quot; -DUNICODE -DWIN32 -DQT_THREAD_SUPPORT -DQT_CORE_LIB -DQT_GUI_LIB &quot;-I$(QTDIR)\include&quot; &quot;-I.&quot; &quot;-I$(QTDIR)\include\QtCore&quot; &quot;-I$(QTDIR)\include\QtGui&quot; &quot;-I.\GeneratedFiles\moc&quot; &quot;-I.\GeneratedFiles\uic&quot; &quot;-I.\GeneratedFiles\rcc&quot; &quot;.\main.cpp&quot; -o &quot;.\GeneratedFiles\moc\$(InputName).moc&quot;&#x0D;&#x0A;"
- AdditionalDependencies="&quot;$(QTDIR)\bin\moc.exe&quot;;.\main.cpp"
- Outputs="&quot;.\GeneratedFiles\moc\$(InputName).moc&quot;"
- />
- </FileConfiguration>
- </File>
- <File
- RelativePath=".\GeneratedFiles\moc\moc_foo.cpp"
- >
- </File>
- <File
- RelativePath=".\GeneratedFiles\rcc\qrc_foo.cpp"
- >
- <FileConfiguration
- Name="Release|Win32"
- >
- <Tool
- Name="VCCLCompilerTool"
- UsePrecompiledHeader="0"
- />
- </FileConfiguration>
- <FileConfiguration
- Name="Debug|Win32"
- >
- <Tool
- Name="VCCLCompilerTool"
- UsePrecompiledHeader="0"
- />
- </FileConfiguration>
- </File>
- <File
- RelativePath=".\GeneratedFiles\moc\sub.moc"
- >
- <FileConfiguration
- Name="Release|Win32"
- >
- <Tool
- Name="VCCustomBuildTool"
- Description="Moc&apos;ing $(InputFileName)..."
- CommandLine="&quot;$(QTDIR)\bin\moc.exe&quot; -DUNICODE -DWIN32 -DQT_THREAD_SUPPORT -DQT_NO_DEBUG -DNDEBUG -DQT_CORE_LIB -DQT_GUI_LIB &quot;-I$(QTDIR)\include&quot; &quot;-I.&quot; &quot;-I$(QTDIR)\include\QtCore&quot; &quot;-I$(QTDIR)\include\QtGui&quot; &quot;-I.\GeneratedFiles\moc&quot; &quot;-I.\GeneratedFiles\uic&quot; &quot;-I.\GeneratedFiles\rcc&quot; &quot;.\subfolder\sub.cpp&quot; -o &quot;.\GeneratedFiles\moc\$(InputName).moc&quot;&#x0D;&#x0A;"
- AdditionalDependencies="&quot;$(QTDIR)\bin\moc.exe&quot;;.\subfolder\sub.cpp"
- Outputs="&quot;.\GeneratedFiles\moc\$(InputName).moc&quot;"
- />
- </FileConfiguration>
- <FileConfiguration
- Name="Debug|Win32"
- >
- <Tool
- Name="VCCustomBuildTool"
- Description="Moc&apos;ing $(InputFileName)..."
- CommandLine="&quot;$(QTDIR)\bin\moc.exe&quot; -DUNICODE -DWIN32 -DQT_THREAD_SUPPORT -DQT_CORE_LIB -DQT_GUI_LIB &quot;-I$(QTDIR)\include&quot; &quot;-I.&quot; &quot;-I$(QTDIR)\include\QtCore&quot; &quot;-I$(QTDIR)\include\QtGui&quot; &quot;-I.\GeneratedFiles\moc&quot; &quot;-I.\GeneratedFiles\uic&quot; &quot;-I.\GeneratedFiles\rcc&quot; &quot;.\subfolder\sub.cpp&quot; -o &quot;.\GeneratedFiles\moc\$(InputName).moc&quot;&#x0D;&#x0A;"
- AdditionalDependencies="&quot;$(QTDIR)\bin\moc.exe&quot;;.\subfolder\sub.cpp"
- Outputs="&quot;.\GeneratedFiles\moc\$(InputName).moc&quot;"
- />
- </FileConfiguration>
- </File>
- <File
- RelativePath=".\GeneratedFiles\uic\ui_foo.h"
- >
- </File>
- </Filter>
- </Files>
- <Globals>
- <Global
- Name="MocDir"
- Value=".\GeneratedFiles\moc"
- />
- <Global
- Name="QtVersion Win32"
- Value="$(DefaultQtVersion)"
- />
- <Global
- Name="RccDir"
- Value=".\GeneratedFiles\rcc"
- />
- <Global
- Name="UicDir"
- Value=".\GeneratedFiles\uic"
- />
- </Globals>
-</VisualStudioProject>
diff --git a/tools/AutoTests/TemplateProjects2008/Test2pch/Check/bar.cpp b/tools/AutoTests/TemplateProjects2008/Test2pch/Check/bar.cpp
deleted file mode 100644
index 7377a16b..00000000
--- a/tools/AutoTests/TemplateProjects2008/Test2pch/Check/bar.cpp
+++ /dev/null
@@ -1,12 +0,0 @@
-#include <QtGui/QWidget>
-
-class Bar : public QWidget
-{
- Q_OBJECT
-
-public:
- Bar(QWidget *parent = 0, Qt::WFlags flags = 0);
- ~Bar();
-};
-
-#include "bar.moc" \ No newline at end of file
diff --git a/tools/AutoTests/TemplateProjects2008/Test2pch/Check/foo.cpp b/tools/AutoTests/TemplateProjects2008/Test2pch/Check/foo.cpp
deleted file mode 100644
index eb9e7f64..00000000
--- a/tools/AutoTests/TemplateProjects2008/Test2pch/Check/foo.cpp
+++ /dev/null
@@ -1,15 +0,0 @@
-#include "pch.h"
-//#include "test.h"
-#include "foo.h"
-////#CUSTOMINCLUDE
-
-Foo::Foo(QWidget *parent, Qt::WFlags flags)
- : QWidget(parent, flags)
-{
- ui.setupUi(this);
-}
-
-Foo::~Foo()
-{
-
-}
diff --git a/tools/AutoTests/TemplateProjects2008/Test2pch/Check/foo.h b/tools/AutoTests/TemplateProjects2008/Test2pch/Check/foo.h
deleted file mode 100644
index ff46f40a..00000000
--- a/tools/AutoTests/TemplateProjects2008/Test2pch/Check/foo.h
+++ /dev/null
@@ -1,19 +0,0 @@
-#ifndef FOO_H
-#define FOO_H
-
-#include <QtGui/QWidget>
-#include "ui_foo.h"
-
-class Foo : public QWidget
-{
- Q_OBJECT
-
-public:
- Foo(QWidget *parent = 0, Qt::WFlags flags = 0);
- ~Foo();
-
-private:
- Ui::FooClass ui;
-};
-
-#endif // FOO_H
diff --git a/tools/AutoTests/TemplateProjects2008/Test2pch/Check/foo.qrc b/tools/AutoTests/TemplateProjects2008/Test2pch/Check/foo.qrc
deleted file mode 100644
index 18730fee..00000000
--- a/tools/AutoTests/TemplateProjects2008/Test2pch/Check/foo.qrc
+++ /dev/null
@@ -1,4 +0,0 @@
-<RCC>
- <qresource prefix="Foo">
- </qresource>
-</RCC>
diff --git a/tools/AutoTests/TemplateProjects2008/Test2pch/Check/foo.ui b/tools/AutoTests/TemplateProjects2008/Test2pch/Check/foo.ui
deleted file mode 100644
index e7568a8d..00000000
--- a/tools/AutoTests/TemplateProjects2008/Test2pch/Check/foo.ui
+++ /dev/null
@@ -1,23 +0,0 @@
-<UI version="4.0" >
- <class>FooClass</class>
- <widget class="QWidget" name="FooClass" >
- <property name="objectName" >
- <string notr="true">FooClass</string>
- </property>
- <property name="geometry" >
- <rect>
- <x>0</x>
- <y>0</y>
- <width>600</width>
- <height>400</height>
- </rect>
- </property>
- <property name="windowTitle" >
- <string>Foo</string>
- </property>
- </widget>
- <layoutDefault spacing="6" margin="11" />
- <pixmapfunction></pixmapfunction>
- <resources/>
- <connections/>
-</UI>
diff --git a/tools/AutoTests/TemplateProjects2008/Test2pch/Check/main.cpp b/tools/AutoTests/TemplateProjects2008/Test2pch/Check/main.cpp
deleted file mode 100644
index 4e72b4ab..00000000
--- a/tools/AutoTests/TemplateProjects2008/Test2pch/Check/main.cpp
+++ /dev/null
@@ -1,26 +0,0 @@
-#include "pch.h"
-//#include "test.h"
-#include <QtGui/QApplication>
-#include "foo.h"
-
-class Bar : public QWidget
-{
- Q_OBJECT
-
-public:
- Bar(QWidget *parent = 0, Qt::WFlags flags = 0);
- ~Bar();
-
-private:
- Ui::FooClass ui;
-};
-
-int main(int argc, char *argv[])
-{
- QApplication a(argc, argv);
- Foo w;
- w.show();
- return a.exec();
-}
-
-#include "main.moc"
diff --git a/tools/AutoTests/TemplateProjects2008/Test2pch/Check/pch.cpp b/tools/AutoTests/TemplateProjects2008/Test2pch/Check/pch.cpp
deleted file mode 100644
index 17305716..00000000
--- a/tools/AutoTests/TemplateProjects2008/Test2pch/Check/pch.cpp
+++ /dev/null
@@ -1 +0,0 @@
-#include "pch.h" \ No newline at end of file
diff --git a/tools/AutoTests/TemplateProjects2008/Test2pch/Check/pch.h b/tools/AutoTests/TemplateProjects2008/Test2pch/Check/pch.h
deleted file mode 100644
index e69de29b..00000000
--- a/tools/AutoTests/TemplateProjects2008/Test2pch/Check/pch.h
+++ /dev/null
diff --git a/tools/AutoTests/TemplateProjects2008/Test2pch/Check/subfolder/sub.cpp b/tools/AutoTests/TemplateProjects2008/Test2pch/Check/subfolder/sub.cpp
deleted file mode 100644
index f0ca2ce2..00000000
--- a/tools/AutoTests/TemplateProjects2008/Test2pch/Check/subfolder/sub.cpp
+++ /dev/null
@@ -1,13 +0,0 @@
-#include "pch.h"
-#include <QObject>
-
-class Sub: public QObject
-{
- Q_OBJECT
-public:
- Sub(QObject *parent = 0)
- : QObject(parent)
- {}
-};
-
-#include "sub.moc" \ No newline at end of file
diff --git a/tools/AutoTests/TemplateProjects2008/Test2pch/Check/test.cpp b/tools/AutoTests/TemplateProjects2008/Test2pch/Check/test.cpp
deleted file mode 100644
index 2edbe2af..00000000
--- a/tools/AutoTests/TemplateProjects2008/Test2pch/Check/test.cpp
+++ /dev/null
@@ -1,2 +0,0 @@
-#include "pch.h"
-#include "test.h" \ No newline at end of file
diff --git a/tools/AutoTests/TemplateProjects2008/Test2pch/Check/test.h b/tools/AutoTests/TemplateProjects2008/Test2pch/Check/test.h
deleted file mode 100644
index e69de29b..00000000
--- a/tools/AutoTests/TemplateProjects2008/Test2pch/Check/test.h
+++ /dev/null
diff --git a/tools/AutoTests/TemplateProjects2008/Test2pch/Test2pch.sln b/tools/AutoTests/TemplateProjects2008/Test2pch/Test2pch.sln
deleted file mode 100644
index c2962932..00000000
--- a/tools/AutoTests/TemplateProjects2008/Test2pch/Test2pch.sln
+++ /dev/null
@@ -1,23 +0,0 @@
-
-Microsoft Visual Studio Solution File, Format Version 10.00
-# Visual Studio 2008
-Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Test2", "Check\Check.vcproj", "{ADA1D5AA-949B-46E9-AA9E-10D2D5ECA5B0}"
-EndProject
-Global
- GlobalSection(SolutionConfigurationPlatforms) = preSolution
- Debug|Win32 = Debug|Win32
- Release|Win32 = Release|Win32
- EndGlobalSection
- GlobalSection(ProjectConfigurationPlatforms) = postSolution
- {ADA1D5AA-949B-46E9-AA9E-10D2D5ECA5B0}.Debug|Win32.ActiveCfg = Debug|Win32
- {ADA1D5AA-949B-46E9-AA9E-10D2D5ECA5B0}.Debug|Win32.Build.0 = Debug|Win32
- {ADA1D5AA-949B-46E9-AA9E-10D2D5ECA5B0}.Release|Win32.ActiveCfg = Release|Win32
- {ADA1D5AA-949B-46E9-AA9E-10D2D5ECA5B0}.Release|Win32.Build.0 = Release|Win32
- EndGlobalSection
- GlobalSection(SolutionProperties) = preSolution
- HideSolutionNode = FALSE
- EndGlobalSection
- GlobalSection(Qt) = preSolution
- Integration = True
- EndGlobalSection
-EndGlobal
diff --git a/tools/AutoTests/TemplateProjects2008/Test3/Check/Check.vcproj b/tools/AutoTests/TemplateProjects2008/Test3/Check/Check.vcproj
deleted file mode 100644
index 066ffa00..00000000
--- a/tools/AutoTests/TemplateProjects2008/Test3/Check/Check.vcproj
+++ /dev/null
@@ -1,476 +0,0 @@
-<?xml version="1.0" encoding="Windows-1252"?>
-<VisualStudioProject
- ProjectType="Visual C++"
- Version="9.00"
- Name="Test3"
- ProjectGUID="{ADA1D5AA-949B-46E9-AA9E-10D2D5ECA5B0}"
- RootNamespace="Check"
- Keyword="Qt4VSv1.0"
- TargetFrameworkVersion="0"
- >
- <Platforms>
- <Platform
- Name="Win32"
- />
- </Platforms>
- <ToolFiles>
- </ToolFiles>
- <Configurations>
- <Configuration
- Name="Release|Win32"
- OutputDirectory="$(SolutionDir)$(ConfigurationName)"
- IntermediateDirectory="$(ConfigurationName)"
- ConfigurationType="1"
- >
- <Tool
- Name="VCPreBuildEventTool"
- />
- <Tool
- Name="VCCustomBuildTool"
- />
- <Tool
- Name="VCXMLDataGeneratorTool"
- />
- <Tool
- Name="VCWebServiceProxyGeneratorTool"
- />
- <Tool
- Name="VCMIDLTool"
- />
- <Tool
- Name="VCCLCompilerTool"
- AdditionalIncludeDirectories="$(QTDIR)\include;.;$(QTDIR)\include\QtCore;$(QTDIR)\include\QtGui;.\GeneratedFiles\moc;.\GeneratedFiles\uic;.\GeneratedFiles\rcc"
- PreprocessorDefinitions="UNICODE,WIN32,QT_THREAD_SUPPORT,QT_NO_DEBUG,NDEBUG,QT_CORE_LIB,QT_GUI_LIB"
- RuntimeLibrary="2"
- TreatWChar_tAsBuiltInType="false"
- DebugInformationFormat="0"
- />
- <Tool
- Name="VCManagedResourceCompilerTool"
- />
- <Tool
- Name="VCResourceCompilerTool"
- />
- <Tool
- Name="VCPreLinkEventTool"
- />
- <Tool
- Name="VCLinkerTool"
- AdditionalDependencies=" qtmain.lib QtCore4.lib QtGui4.lib"
- OutputFile="$(OutDir)\$(ProjectName).exe"
- AdditionalLibraryDirectories="$(QTDIR)\lib"
- GenerateDebugInformation="false"
- SubSystem="2"
- />
- <Tool
- Name="VCALinkTool"
- />
- <Tool
- Name="VCManifestTool"
- />
- <Tool
- Name="VCXDCMakeTool"
- />
- <Tool
- Name="VCBscMakeTool"
- />
- <Tool
- Name="VCFxCopTool"
- />
- <Tool
- Name="VCAppVerifierTool"
- />
- <Tool
- Name="VCPostBuildEventTool"
- />
- </Configuration>
- <Configuration
- Name="Debug|Win32"
- OutputDirectory="$(SolutionDir)$(ConfigurationName)"
- IntermediateDirectory="$(ConfigurationName)"
- ConfigurationType="1"
- >
- <Tool
- Name="VCPreBuildEventTool"
- />
- <Tool
- Name="VCCustomBuildTool"
- />
- <Tool
- Name="VCXMLDataGeneratorTool"
- />
- <Tool
- Name="VCWebServiceProxyGeneratorTool"
- />
- <Tool
- Name="VCMIDLTool"
- />
- <Tool
- Name="VCCLCompilerTool"
- Optimization="0"
- AdditionalIncludeDirectories="$(QTDIR)\include;.;$(QTDIR)\include\QtCore;$(QTDIR)\include\QtGui;.\GeneratedFiles\moc;.\GeneratedFiles\uic;.\GeneratedFiles\rcc"
- PreprocessorDefinitions="UNICODE,WIN32,QT_THREAD_SUPPORT,QT_CORE_LIB,QT_GUI_LIB"
- RuntimeLibrary="3"
- TreatWChar_tAsBuiltInType="false"
- DebugInformationFormat="3"
- />
- <Tool
- Name="VCManagedResourceCompilerTool"
- />
- <Tool
- Name="VCResourceCompilerTool"
- />
- <Tool
- Name="VCPreLinkEventTool"
- />
- <Tool
- Name="VCLinkerTool"
- AdditionalDependencies=" qtmaind.lib QtCored4.lib QtGuid4.lib"
- OutputFile="$(OutDir)\$(ProjectName).exe"
- AdditionalLibraryDirectories="$(QTDIR)\lib"
- GenerateDebugInformation="true"
- SubSystem="2"
- />
- <Tool
- Name="VCALinkTool"
- />
- <Tool
- Name="VCManifestTool"
- />
- <Tool
- Name="VCXDCMakeTool"
- />
- <Tool
- Name="VCBscMakeTool"
- />
- <Tool
- Name="VCFxCopTool"
- />
- <Tool
- Name="VCAppVerifierTool"
- />
- <Tool
- Name="VCPostBuildEventTool"
- />
- </Configuration>
- <Configuration
- Name="FooBar|Win32"
- OutputDirectory="$(SolutionDir)$(ConfigurationName)"
- IntermediateDirectory="$(ConfigurationName)"
- ConfigurationType="1"
- >
- <Tool
- Name="VCPreBuildEventTool"
- />
- <Tool
- Name="VCCustomBuildTool"
- />
- <Tool
- Name="VCXMLDataGeneratorTool"
- />
- <Tool
- Name="VCWebServiceProxyGeneratorTool"
- />
- <Tool
- Name="VCMIDLTool"
- />
- <Tool
- Name="VCCLCompilerTool"
- Optimization="0"
- AdditionalIncludeDirectories="$(QTDIR)\include;.;$(QTDIR)\include\QtCore;$(QTDIR)\include\QtGui;.\GeneratedFiles\moc;.\GeneratedFiles\uic;.\GeneratedFiles\rcc"
- PreprocessorDefinitions="UNICODE,WIN32,QT_THREAD_SUPPORT,QT_CORE_LIB,QT_GUI_LIB"
- RuntimeLibrary="3"
- TreatWChar_tAsBuiltInType="false"
- DebugInformationFormat="3"
- />
- <Tool
- Name="VCManagedResourceCompilerTool"
- />
- <Tool
- Name="VCResourceCompilerTool"
- />
- <Tool
- Name="VCPreLinkEventTool"
- />
- <Tool
- Name="VCLinkerTool"
- AdditionalDependencies=" qtmaind.lib QtCored4.lib QtGuid4.lib"
- OutputFile="$(OutDir)\$(ProjectName).exe"
- AdditionalLibraryDirectories="$(QTDIR)\lib"
- GenerateDebugInformation="true"
- SubSystem="2"
- />
- <Tool
- Name="VCALinkTool"
- />
- <Tool
- Name="VCManifestTool"
- />
- <Tool
- Name="VCXDCMakeTool"
- />
- <Tool
- Name="VCBscMakeTool"
- />
- <Tool
- Name="VCFxCopTool"
- />
- <Tool
- Name="VCAppVerifierTool"
- />
- <Tool
- Name="VCPostBuildEventTool"
- />
- </Configuration>
- </Configurations>
- <References>
- </References>
- <Files>
- <Filter
- Name="Source Files"
- Filter="cpp;cxx;c;def"
- UniqueIdentifier="{4FC737F1-C7A5-4376-A066-2A32D752A2FF}"
- >
- <File
- RelativePath=".\bar.cpp"
- >
- </File>
- <File
- RelativePath=".\foo.cpp"
- >
- </File>
- <File
- RelativePath=".\main.cpp"
- >
- </File>
- </Filter>
- <Filter
- Name="Header Files"
- Filter="h"
- UniqueIdentifier="{93995380-89BD-4b04-88EB-625FBE52EBFB}"
- >
- <File
- RelativePath=".\foo.h"
- >
- <FileConfiguration
- Name="Release|Win32"
- >
- <Tool
- Name="VCCustomBuildTool"
- Description="Moc&apos;ing $(InputFileName)..."
- CommandLine="&quot;$(QTDIR)\bin\moc.exe&quot; -DUNICODE -DWIN32 -DQT_THREAD_SUPPORT -DQT_NO_DEBUG -DNDEBUG -DQT_CORE_LIB -DQT_GUI_LIB &quot;-I$(QTDIR)\include&quot; &quot;-I.&quot; &quot;-I$(QTDIR)\include\QtCore&quot; &quot;-I$(QTDIR)\include\QtGui&quot; &quot;-I.\GeneratedFiles\moc&quot; &quot;-I.\GeneratedFiles\uic&quot; &quot;-I.\GeneratedFiles\rcc&quot; &quot;.\foo.h&quot; -o &quot;.\GeneratedFiles\moc\moc_$(InputName).cpp&quot;&#x0D;&#x0A;"
- AdditionalDependencies="&quot;$(QTDIR)\bin\moc.exe&quot;;$(InputPath)"
- Outputs="&quot;.\GeneratedFiles\moc\moc_$(InputName).cpp&quot;"
- />
- </FileConfiguration>
- <FileConfiguration
- Name="Debug|Win32"
- >
- <Tool
- Name="VCCustomBuildTool"
- Description="Moc&apos;ing $(InputFileName)..."
- CommandLine="&quot;$(QTDIR)\bin\moc.exe&quot; -DUNICODE -DWIN32 -DQT_THREAD_SUPPORT -DQT_CORE_LIB -DQT_GUI_LIB &quot;-I$(QTDIR)\include&quot; &quot;-I.&quot; &quot;-I$(QTDIR)\include\QtCore&quot; &quot;-I$(QTDIR)\include\QtGui&quot; &quot;-I.\GeneratedFiles\moc&quot; &quot;-I.\GeneratedFiles\uic&quot; &quot;-I.\GeneratedFiles\rcc&quot; &quot;.\foo.h&quot; -o &quot;.\GeneratedFiles\moc\moc_$(InputName).cpp&quot;&#x0D;&#x0A;"
- AdditionalDependencies="&quot;$(QTDIR)\bin\moc.exe&quot;;$(InputPath)"
- Outputs="&quot;.\GeneratedFiles\moc\moc_$(InputName).cpp&quot;"
- />
- </FileConfiguration>
- <FileConfiguration
- Name="FooBar|Win32"
- >
- <Tool
- Name="VCCustomBuildTool"
- Description="Moc&apos;ing $(InputFileName)..."
- CommandLine="&quot;$(QTDIR)\bin\moc.exe&quot; -DUNICODE -DWIN32 -DQT_THREAD_SUPPORT -DQT_CORE_LIB -DQT_GUI_LIB &quot;-I$(QTDIR)\include&quot; &quot;-I.&quot; &quot;-I$(QTDIR)\include\QtCore&quot; &quot;-I$(QTDIR)\include\QtGui&quot; &quot;-I.\GeneratedFiles\moc&quot; &quot;-I.\GeneratedFiles\uic&quot; &quot;-I.\GeneratedFiles\rcc&quot; &quot;.\foo.h&quot; -o &quot;.\GeneratedFiles\moc\moc_$(InputName).cpp&quot;&#x0D;&#x0A;"
- AdditionalDependencies="&quot;$(QTDIR)\bin\moc.exe&quot;;$(InputPath)"
- Outputs="&quot;.\GeneratedFiles\moc\moc_$(InputName).cpp&quot;"
- />
- </FileConfiguration>
- </File>
- </Filter>
- <Filter
- Name="Form Files"
- Filter="ui"
- UniqueIdentifier="{99349809-55BA-4b9d-BF79-8FDBB0286EB3}"
- >
- <File
- RelativePath=".\foo.ui"
- >
- <FileConfiguration
- Name="Release|Win32"
- >
- <Tool
- Name="VCCustomBuildTool"
- Description="Uic&apos;ing $(InputFileName)..."
- CommandLine="&quot;$(QTDIR)\bin\uic.exe&quot; -o &quot;.\GeneratedFiles\uic\ui_$(InputName).h&quot; &quot;$(InputPath)&quot;&#x0D;&#x0A;"
- AdditionalDependencies="$(QTDIR)\bin\uic.exe"
- Outputs="&quot;.\GeneratedFiles\uic\ui_$(InputName).h&quot;"
- />
- </FileConfiguration>
- <FileConfiguration
- Name="Debug|Win32"
- >
- <Tool
- Name="VCCustomBuildTool"
- Description="Uic&apos;ing $(InputFileName)..."
- CommandLine="&quot;$(QTDIR)\bin\uic.exe&quot; -o &quot;.\GeneratedFiles\uic\ui_$(InputName).h&quot; &quot;$(InputPath)&quot;&#x0D;&#x0A;"
- AdditionalDependencies="$(QTDIR)\bin\uic.exe"
- Outputs="&quot;.\GeneratedFiles\uic\ui_$(InputName).h&quot;"
- />
- </FileConfiguration>
- <FileConfiguration
- Name="FooBar|Win32"
- >
- <Tool
- Name="VCCustomBuildTool"
- Description="Uic&apos;ing $(InputFileName)..."
- CommandLine="&quot;$(QTDIR)\bin\uic.exe&quot; -o &quot;.\GeneratedFiles\uic\ui_$(InputName).h&quot; &quot;$(InputPath)&quot;&#x0D;&#x0A;"
- AdditionalDependencies="$(QTDIR)\bin\uic.exe"
- Outputs="&quot;.\GeneratedFiles\uic\ui_$(InputName).h&quot;"
- />
- </FileConfiguration>
- </File>
- </Filter>
- <Filter
- Name="Resource Files"
- Filter="qrc;*"
- UniqueIdentifier="{D9D6E242-F8AF-46E4-B9FD-80ECBC20BA3E}"
- ParseFiles="false"
- >
- <File
- RelativePath=".\foo.qrc"
- >
- <FileConfiguration
- Name="Release|Win32"
- >
- <Tool
- Name="VCCustomBuildTool"
- Description="Rcc&apos;ing $(InputFileName)..."
- CommandLine="&quot;$(QTDIR)\bin\rcc.exe&quot; -name &quot;$(InputName)&quot; -no-compress &quot;$(InputPath)&quot; -o .\GeneratedFiles\rcc\qrc_$(InputName).cpp&#x0D;&#x0A;"
- AdditionalDependencies="$(InputPath)"
- Outputs=".\GeneratedFiles\rcc\qrc_$(InputName).cpp"
- />
- </FileConfiguration>
- <FileConfiguration
- Name="Debug|Win32"
- >
- <Tool
- Name="VCCustomBuildTool"
- Description="Rcc&apos;ing $(InputFileName)..."
- CommandLine="&quot;$(QTDIR)\bin\rcc.exe&quot; -name &quot;$(InputName)&quot; -no-compress &quot;$(InputPath)&quot; -o .\GeneratedFiles\rcc\qrc_$(InputName).cpp&#x0D;&#x0A;"
- AdditionalDependencies="$(InputPath)"
- Outputs=".\GeneratedFiles\rcc\qrc_$(InputName).cpp"
- />
- </FileConfiguration>
- <FileConfiguration
- Name="FooBar|Win32"
- >
- <Tool
- Name="VCCustomBuildTool"
- Description="Rcc&apos;ing $(InputFileName)..."
- CommandLine="&quot;$(QTDIR)\bin\rcc.exe&quot; -name &quot;$(InputName)&quot; -no-compress &quot;$(InputPath)&quot; -o .\GeneratedFiles\rcc\qrc_$(InputName).cpp&#x0D;&#x0A;"
- AdditionalDependencies="$(InputPath)"
- Outputs=".\GeneratedFiles\rcc\qrc_$(InputName).cpp"
- />
- </FileConfiguration>
- </File>
- </Filter>
- <Filter
- Name="Generated Files"
- Filter="moc;h;cpp"
- UniqueIdentifier="{71ED8ED8-ACB9-4CE9-BBE1-E00B30144E11}"
- SourceControlFiles="false"
- >
- <File
- RelativePath=".\GeneratedFiles\moc\bar.moc"
- >
- <FileConfiguration
- Name="Release|Win32"
- >
- <Tool
- Name="VCCustomBuildTool"
- Description="Moc&apos;ing $(InputFileName)..."
- CommandLine="&quot;$(QTDIR)\bin\moc.exe&quot; -DUNICODE -DWIN32 -DQT_THREAD_SUPPORT -DQT_NO_DEBUG -DNDEBUG -DQT_CORE_LIB -DQT_GUI_LIB &quot;-I$(QTDIR)\include&quot; &quot;-I.&quot; &quot;-I$(QTDIR)\include\QtCore&quot; &quot;-I$(QTDIR)\include\QtGui&quot; &quot;-I.\GeneratedFiles\moc&quot; &quot;-I.\GeneratedFiles\uic&quot; &quot;-I.\GeneratedFiles\rcc&quot; &quot;.\bar.cpp&quot; -o &quot;.\GeneratedFiles\moc\$(InputName).moc&quot;&#x0D;&#x0A;"
- AdditionalDependencies="&quot;$(QTDIR)\bin\moc.exe&quot;;.\bar.cpp"
- Outputs="&quot;.\GeneratedFiles\moc\$(InputName).moc&quot;"
- />
- </FileConfiguration>
- <FileConfiguration
- Name="Debug|Win32"
- >
- <Tool
- Name="VCCustomBuildTool"
- Description="Moc&apos;ing $(InputFileName)..."
- CommandLine="&quot;$(QTDIR)\bin\moc.exe&quot; -DUNICODE -DWIN32 -DQT_THREAD_SUPPORT -DQT_CORE_LIB -DQT_GUI_LIB &quot;-I$(QTDIR)\include&quot; &quot;-I.&quot; &quot;-I$(QTDIR)\include\QtCore&quot; &quot;-I$(QTDIR)\include\QtGui&quot; &quot;-I.\GeneratedFiles\moc&quot; &quot;-I.\GeneratedFiles\uic&quot; &quot;-I.\GeneratedFiles\rcc&quot; &quot;.\bar.cpp&quot; -o &quot;.\GeneratedFiles\moc\$(InputName).moc&quot;&#x0D;&#x0A;"
- AdditionalDependencies="&quot;$(QTDIR)\bin\moc.exe&quot;;.\bar.cpp"
- Outputs="&quot;.\GeneratedFiles\moc\$(InputName).moc&quot;"
- />
- </FileConfiguration>
- <FileConfiguration
- Name="FooBar|Win32"
- >
- <Tool
- Name="VCCustomBuildTool"
- Description="Moc&apos;ing $(InputFileName)..."
- CommandLine="&quot;$(QTDIR)\bin\moc.exe&quot; -DUNICODE -DWIN32 -DQT_THREAD_SUPPORT -DQT_CORE_LIB -DQT_GUI_LIB &quot;-I$(QTDIR)\include&quot; &quot;-I.&quot; &quot;-I$(QTDIR)\include\QtCore&quot; &quot;-I$(QTDIR)\include\QtGui&quot; &quot;-I.\GeneratedFiles\moc&quot; &quot;-I.\GeneratedFiles\uic&quot; &quot;-I.\GeneratedFiles\rcc&quot; &quot;.\bar.cpp&quot; -o &quot;.\GeneratedFiles\moc\$(InputName).moc&quot;&#x0D;&#x0A;"
- AdditionalDependencies="&quot;$(QTDIR)\bin\moc.exe&quot;;.\bar.cpp"
- Outputs="&quot;.\GeneratedFiles\moc\$(InputName).moc&quot;"
- />
- </FileConfiguration>
- </File>
- <File
- RelativePath=".\GeneratedFiles\moc\moc_foo.cpp"
- >
- </File>
- <File
- RelativePath=".\GeneratedFiles\rcc\qrc_foo.cpp"
- >
- <FileConfiguration
- Name="Release|Win32"
- >
- <Tool
- Name="VCCLCompilerTool"
- UsePrecompiledHeader="0"
- />
- </FileConfiguration>
- <FileConfiguration
- Name="Debug|Win32"
- >
- <Tool
- Name="VCCLCompilerTool"
- UsePrecompiledHeader="0"
- />
- </FileConfiguration>
- <FileConfiguration
- Name="FooBar|Win32"
- >
- <Tool
- Name="VCCLCompilerTool"
- UsePrecompiledHeader="0"
- />
- </FileConfiguration>
- </File>
- <File
- RelativePath=".\GeneratedFiles\uic\ui_foo.h"
- >
- </File>
- </Filter>
- </Files>
- <Globals>
- <Global
- Name="MocDir"
- Value=".\GeneratedFiles\moc"
- />
- <Global
- Name="QtVersion Win32"
- Value="$(DefaultQtVersion)"
- />
- <Global
- Name="RccDir"
- Value=".\GeneratedFiles\rcc"
- />
- <Global
- Name="UicDir"
- Value=".\GeneratedFiles\uic"
- />
- </Globals>
-</VisualStudioProject>
diff --git a/tools/AutoTests/TemplateProjects2008/Test3/Check/bar.cpp b/tools/AutoTests/TemplateProjects2008/Test3/Check/bar.cpp
deleted file mode 100644
index 7377a16b..00000000
--- a/tools/AutoTests/TemplateProjects2008/Test3/Check/bar.cpp
+++ /dev/null
@@ -1,12 +0,0 @@
-#include <QtGui/QWidget>
-
-class Bar : public QWidget
-{
- Q_OBJECT
-
-public:
- Bar(QWidget *parent = 0, Qt::WFlags flags = 0);
- ~Bar();
-};
-
-#include "bar.moc" \ No newline at end of file
diff --git a/tools/AutoTests/TemplateProjects2008/Test3/Check/foo.cpp b/tools/AutoTests/TemplateProjects2008/Test3/Check/foo.cpp
deleted file mode 100644
index 815985d4..00000000
--- a/tools/AutoTests/TemplateProjects2008/Test3/Check/foo.cpp
+++ /dev/null
@@ -1,13 +0,0 @@
-#include "foo.h"
-////#CUSTOMINCLUDE
-
-Foo::Foo(QWidget *parent, Qt::WFlags flags)
- : QWidget(parent, flags)
-{
- ui.setupUi(this);
-}
-
-Foo::~Foo()
-{
-
-}
diff --git a/tools/AutoTests/TemplateProjects2008/Test3/Check/foo.h b/tools/AutoTests/TemplateProjects2008/Test3/Check/foo.h
deleted file mode 100644
index ff46f40a..00000000
--- a/tools/AutoTests/TemplateProjects2008/Test3/Check/foo.h
+++ /dev/null
@@ -1,19 +0,0 @@
-#ifndef FOO_H
-#define FOO_H
-
-#include <QtGui/QWidget>
-#include "ui_foo.h"
-
-class Foo : public QWidget
-{
- Q_OBJECT
-
-public:
- Foo(QWidget *parent = 0, Qt::WFlags flags = 0);
- ~Foo();
-
-private:
- Ui::FooClass ui;
-};
-
-#endif // FOO_H
diff --git a/tools/AutoTests/TemplateProjects2008/Test3/Check/foo.qrc b/tools/AutoTests/TemplateProjects2008/Test3/Check/foo.qrc
deleted file mode 100644
index 18730fee..00000000
--- a/tools/AutoTests/TemplateProjects2008/Test3/Check/foo.qrc
+++ /dev/null
@@ -1,4 +0,0 @@
-<RCC>
- <qresource prefix="Foo">
- </qresource>
-</RCC>
diff --git a/tools/AutoTests/TemplateProjects2008/Test3/Check/foo.ui b/tools/AutoTests/TemplateProjects2008/Test3/Check/foo.ui
deleted file mode 100644
index e7568a8d..00000000
--- a/tools/AutoTests/TemplateProjects2008/Test3/Check/foo.ui
+++ /dev/null
@@ -1,23 +0,0 @@
-<UI version="4.0" >
- <class>FooClass</class>
- <widget class="QWidget" name="FooClass" >
- <property name="objectName" >
- <string notr="true">FooClass</string>
- </property>
- <property name="geometry" >
- <rect>
- <x>0</x>
- <y>0</y>
- <width>600</width>
- <height>400</height>
- </rect>
- </property>
- <property name="windowTitle" >
- <string>Foo</string>
- </property>
- </widget>
- <layoutDefault spacing="6" margin="11" />
- <pixmapfunction></pixmapfunction>
- <resources/>
- <connections/>
-</UI>
diff --git a/tools/AutoTests/TemplateProjects2008/Test3/Check/main.cpp b/tools/AutoTests/TemplateProjects2008/Test3/Check/main.cpp
deleted file mode 100644
index 83d36628..00000000
--- a/tools/AutoTests/TemplateProjects2008/Test3/Check/main.cpp
+++ /dev/null
@@ -1,7 +0,0 @@
-#include <QtGui/QApplication>
-
-int main(int argc, char *argv[])
-{
- QApplication a(argc, argv);
- return a.exec();
-}
diff --git a/tools/AutoTests/TemplateProjects2008/Test3/Test3.sln b/tools/AutoTests/TemplateProjects2008/Test3/Test3.sln
deleted file mode 100644
index 03308ec9..00000000
--- a/tools/AutoTests/TemplateProjects2008/Test3/Test3.sln
+++ /dev/null
@@ -1,23 +0,0 @@
-
-Microsoft Visual Studio Solution File, Format Version 10.00
-# Visual Studio 2008
-Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Test3", "Check\Check.vcproj", "{ADA1D5AA-949B-46E9-AA9E-10D2D5ECA5B0}"
-EndProject
-Global
- GlobalSection(SolutionConfigurationPlatforms) = preSolution
- Debug|Win32 = Debug|Win32
- Release|Win32 = Release|Win32
- EndGlobalSection
- GlobalSection(ProjectConfigurationPlatforms) = postSolution
- {ADA1D5AA-949B-46E9-AA9E-10D2D5ECA5B0}.Debug|Win32.ActiveCfg = Debug|Win32
- {ADA1D5AA-949B-46E9-AA9E-10D2D5ECA5B0}.Debug|Win32.Build.0 = Debug|Win32
- {ADA1D5AA-949B-46E9-AA9E-10D2D5ECA5B0}.Release|Win32.ActiveCfg = Release|Win32
- {ADA1D5AA-949B-46E9-AA9E-10D2D5ECA5B0}.Release|Win32.Build.0 = Release|Win32
- EndGlobalSection
- GlobalSection(SolutionProperties) = preSolution
- HideSolutionNode = FALSE
- EndGlobalSection
- GlobalSection(Qt) = preSolution
- Integration = True
- EndGlobalSection
-EndGlobal
diff --git a/tools/AutoTests/TemplateProjects2008/Test3pch/Check/Check.vcproj b/tools/AutoTests/TemplateProjects2008/Test3pch/Check/Check.vcproj
deleted file mode 100644
index f8c9e0df..00000000
--- a/tools/AutoTests/TemplateProjects2008/Test3pch/Check/Check.vcproj
+++ /dev/null
@@ -1,494 +0,0 @@
-<?xml version="1.0" encoding="Windows-1252"?>
-<VisualStudioProject
- ProjectType="Visual C++"
- Version="9.00"
- Name="Test3"
- ProjectGUID="{ADA1D5AA-949B-46E9-AA9E-10D2D5ECA5B0}"
- RootNamespace="Check"
- Keyword="Qt4VSv1.0"
- TargetFrameworkVersion="0"
- >
- <Platforms>
- <Platform
- Name="Win32"
- />
- </Platforms>
- <ToolFiles>
- </ToolFiles>
- <Configurations>
- <Configuration
- Name="Release|Win32"
- OutputDirectory="$(SolutionDir)$(ConfigurationName)"
- IntermediateDirectory="$(ConfigurationName)"
- ConfigurationType="1"
- >
- <Tool
- Name="VCPreBuildEventTool"
- />
- <Tool
- Name="VCCustomBuildTool"
- />
- <Tool
- Name="VCXMLDataGeneratorTool"
- />
- <Tool
- Name="VCWebServiceProxyGeneratorTool"
- />
- <Tool
- Name="VCMIDLTool"
- />
- <Tool
- Name="VCCLCompilerTool"
- AdditionalIncludeDirectories="$(QTDIR)\include;.;$(QTDIR)\include\QtCore;$(QTDIR)\include\QtGui;.\GeneratedFiles\moc;.\GeneratedFiles\uic;.\GeneratedFiles\rcc"
- PreprocessorDefinitions="UNICODE,WIN32,QT_THREAD_SUPPORT,QT_NO_DEBUG,NDEBUG,QT_CORE_LIB,QT_GUI_LIB"
- RuntimeLibrary="2"
- TreatWChar_tAsBuiltInType="false"
- DebugInformationFormat="0"
- />
- <Tool
- Name="VCManagedResourceCompilerTool"
- />
- <Tool
- Name="VCResourceCompilerTool"
- />
- <Tool
- Name="VCPreLinkEventTool"
- />
- <Tool
- Name="VCLinkerTool"
- AdditionalDependencies=" qtmain.lib QtCore4.lib QtGui4.lib"
- OutputFile="$(OutDir)\$(ProjectName).exe"
- AdditionalLibraryDirectories="$(QTDIR)\lib"
- GenerateDebugInformation="false"
- SubSystem="2"
- />
- <Tool
- Name="VCALinkTool"
- />
- <Tool
- Name="VCManifestTool"
- />
- <Tool
- Name="VCXDCMakeTool"
- />
- <Tool
- Name="VCBscMakeTool"
- />
- <Tool
- Name="VCFxCopTool"
- />
- <Tool
- Name="VCAppVerifierTool"
- />
- <Tool
- Name="VCPostBuildEventTool"
- />
- </Configuration>
- <Configuration
- Name="Debug|Win32"
- OutputDirectory="$(SolutionDir)$(ConfigurationName)"
- IntermediateDirectory="$(ConfigurationName)"
- ConfigurationType="1"
- >
- <Tool
- Name="VCPreBuildEventTool"
- />
- <Tool
- Name="VCCustomBuildTool"
- />
- <Tool
- Name="VCXMLDataGeneratorTool"
- />
- <Tool
- Name="VCWebServiceProxyGeneratorTool"
- />
- <Tool
- Name="VCMIDLTool"
- />
- <Tool
- Name="VCCLCompilerTool"
- Optimization="0"
- AdditionalIncludeDirectories="$(QTDIR)\include;.;$(QTDIR)\include\QtCore;$(QTDIR)\include\QtGui;.\GeneratedFiles\moc;.\GeneratedFiles\uic;.\GeneratedFiles\rcc"
- PreprocessorDefinitions="UNICODE,WIN32,QT_THREAD_SUPPORT,QT_CORE_LIB,QT_GUI_LIB"
- RuntimeLibrary="3"
- TreatWChar_tAsBuiltInType="false"
- UsePrecompiledHeader="2"
- PrecompiledHeaderThrough="pch.h"
- DebugInformationFormat="3"
- />
- <Tool
- Name="VCManagedResourceCompilerTool"
- />
- <Tool
- Name="VCResourceCompilerTool"
- />
- <Tool
- Name="VCPreLinkEventTool"
- />
- <Tool
- Name="VCLinkerTool"
- AdditionalDependencies=" qtmaind.lib QtCored4.lib QtGuid4.lib"
- OutputFile="$(OutDir)\$(ProjectName).exe"
- AdditionalLibraryDirectories="$(QTDIR)\lib"
- GenerateDebugInformation="true"
- SubSystem="2"
- />
- <Tool
- Name="VCALinkTool"
- />
- <Tool
- Name="VCManifestTool"
- />
- <Tool
- Name="VCXDCMakeTool"
- />
- <Tool
- Name="VCBscMakeTool"
- />
- <Tool
- Name="VCFxCopTool"
- />
- <Tool
- Name="VCAppVerifierTool"
- />
- <Tool
- Name="VCPostBuildEventTool"
- />
- </Configuration>
- <Configuration
- Name="FooBar|Win32"
- OutputDirectory="$(SolutionDir)$(ConfigurationName)"
- IntermediateDirectory="$(ConfigurationName)"
- ConfigurationType="1"
- >
- <Tool
- Name="VCPreBuildEventTool"
- />
- <Tool
- Name="VCCustomBuildTool"
- />
- <Tool
- Name="VCXMLDataGeneratorTool"
- />
- <Tool
- Name="VCWebServiceProxyGeneratorTool"
- />
- <Tool
- Name="VCMIDLTool"
- />
- <Tool
- Name="VCCLCompilerTool"
- Optimization="0"
- AdditionalIncludeDirectories="$(QTDIR)\include;.;$(QTDIR)\include\QtCore;$(QTDIR)\include\QtGui;.\GeneratedFiles\moc;.\GeneratedFiles\uic;.\GeneratedFiles\rcc"
- PreprocessorDefinitions="UNICODE,WIN32,QT_THREAD_SUPPORT,QT_CORE_LIB,QT_GUI_LIB"
- RuntimeLibrary="3"
- TreatWChar_tAsBuiltInType="false"
- DebugInformationFormat="3"
- />
- <Tool
- Name="VCManagedResourceCompilerTool"
- />
- <Tool
- Name="VCResourceCompilerTool"
- />
- <Tool
- Name="VCPreLinkEventTool"
- />
- <Tool
- Name="VCLinkerTool"
- AdditionalDependencies=" qtmaind.lib QtCored4.lib QtGuid4.lib"
- OutputFile="$(OutDir)\$(ProjectName).exe"
- AdditionalLibraryDirectories="$(QTDIR)\lib"
- GenerateDebugInformation="true"
- SubSystem="2"
- />
- <Tool
- Name="VCALinkTool"
- />
- <Tool
- Name="VCManifestTool"
- />
- <Tool
- Name="VCXDCMakeTool"
- />
- <Tool
- Name="VCBscMakeTool"
- />
- <Tool
- Name="VCFxCopTool"
- />
- <Tool
- Name="VCAppVerifierTool"
- />
- <Tool
- Name="VCPostBuildEventTool"
- />
- </Configuration>
- </Configurations>
- <References>
- </References>
- <Files>
- <Filter
- Name="Source Files"
- Filter="cpp;cxx;c;def"
- UniqueIdentifier="{4FC737F1-C7A5-4376-A066-2A32D752A2FF}"
- >
- <File
- RelativePath=".\bar.cpp"
- >
- </File>
- <File
- RelativePath=".\foo.cpp"
- >
- </File>
- <File
- RelativePath=".\main.cpp"
- >
- </File>
- <File
- RelativePath=".\pch.cpp"
- >
- <FileConfiguration
- Name="Debug|Win32"
- >
- <Tool
- Name="VCCLCompilerTool"
- UsePrecompiledHeader="1"
- />
- </FileConfiguration>
- </File>
- </Filter>
- <Filter
- Name="Header Files"
- Filter="h"
- UniqueIdentifier="{93995380-89BD-4b04-88EB-625FBE52EBFB}"
- >
- <File
- RelativePath=".\foo.h"
- >
- <FileConfiguration
- Name="Release|Win32"
- >
- <Tool
- Name="VCCustomBuildTool"
- Description="Moc&apos;ing $(InputFileName)..."
- CommandLine="&quot;$(QTDIR)\bin\moc.exe&quot; -DUNICODE -DWIN32 -DQT_THREAD_SUPPORT -DQT_NO_DEBUG -DNDEBUG -DQT_CORE_LIB -DQT_GUI_LIB &quot;-I$(QTDIR)\include&quot; &quot;-I.&quot; &quot;-I$(QTDIR)\include\QtCore&quot; &quot;-I$(QTDIR)\include\QtGui&quot; &quot;-I.\GeneratedFiles\moc&quot; &quot;-I.\GeneratedFiles\uic&quot; &quot;-I.\GeneratedFiles\rcc&quot; &quot;.\foo.h&quot; -o &quot;.\GeneratedFiles\moc\moc_$(InputName).cpp&quot;&#x0D;&#x0A;"
- AdditionalDependencies="&quot;$(QTDIR)\bin\moc.exe&quot;;$(InputPath)"
- Outputs="&quot;.\GeneratedFiles\moc\moc_$(InputName).cpp&quot;"
- />
- </FileConfiguration>
- <FileConfiguration
- Name="Debug|Win32"
- >
- <Tool
- Name="VCCustomBuildTool"
- Description="Moc&apos;ing $(InputFileName)..."
- CommandLine="&quot;$(QTDIR)\bin\moc.exe&quot; -DUNICODE -DWIN32 -DQT_THREAD_SUPPORT -DQT_CORE_LIB -DQT_GUI_LIB &quot;-I$(QTDIR)\include&quot; &quot;-I.&quot; &quot;-I$(QTDIR)\include\QtCore&quot; &quot;-I$(QTDIR)\include\QtGui&quot; &quot;-I.\GeneratedFiles\moc&quot; &quot;-I.\GeneratedFiles\uic&quot; &quot;-I.\GeneratedFiles\rcc&quot; &quot;.\foo.h&quot; -o &quot;.\GeneratedFiles\moc\moc_$(InputName).cpp&quot; &quot;-fpch.h&quot; &quot;-f..\..\foo.h&quot;&#x0D;&#x0A;"
- AdditionalDependencies="&quot;$(QTDIR)\bin\moc.exe&quot;;$(InputPath)"
- Outputs="&quot;.\GeneratedFiles\moc\moc_$(InputName).cpp&quot;"
- />
- </FileConfiguration>
- <FileConfiguration
- Name="FooBar|Win32"
- >
- <Tool
- Name="VCCustomBuildTool"
- Description="Moc&apos;ing $(InputFileName)..."
- CommandLine="&quot;$(QTDIR)\bin\moc.exe&quot; -DUNICODE -DWIN32 -DQT_THREAD_SUPPORT -DQT_CORE_LIB -DQT_GUI_LIB &quot;-I$(QTDIR)\include&quot; &quot;-I.&quot; &quot;-I$(QTDIR)\include\QtCore&quot; &quot;-I$(QTDIR)\include\QtGui&quot; &quot;-I.\GeneratedFiles\moc&quot; &quot;-I.\GeneratedFiles\uic&quot; &quot;-I.\GeneratedFiles\rcc&quot; &quot;.\foo.h&quot; -o &quot;.\GeneratedFiles\moc\moc_$(InputName).cpp&quot;&#x0D;&#x0A;"
- AdditionalDependencies="&quot;$(QTDIR)\bin\moc.exe&quot;;$(InputPath)"
- Outputs="&quot;.\GeneratedFiles\moc\moc_$(InputName).cpp&quot;"
- />
- </FileConfiguration>
- </File>
- <File
- RelativePath=".\pch.h"
- >
- </File>
- </Filter>
- <Filter
- Name="Form Files"
- Filter="ui"
- UniqueIdentifier="{99349809-55BA-4b9d-BF79-8FDBB0286EB3}"
- >
- <File
- RelativePath=".\foo.ui"
- >
- <FileConfiguration
- Name="Release|Win32"
- >
- <Tool
- Name="VCCustomBuildTool"
- Description="Uic&apos;ing $(InputFileName)..."
- CommandLine="&quot;$(QTDIR)\bin\uic.exe&quot; -o &quot;.\GeneratedFiles\uic\ui_$(InputName).h&quot; &quot;$(InputPath)&quot;&#x0D;&#x0A;"
- AdditionalDependencies="$(QTDIR)\bin\uic.exe"
- Outputs="&quot;.\GeneratedFiles\uic\ui_$(InputName).h&quot;"
- />
- </FileConfiguration>
- <FileConfiguration
- Name="Debug|Win32"
- >
- <Tool
- Name="VCCustomBuildTool"
- Description="Uic&apos;ing $(InputFileName)..."
- CommandLine="&quot;$(QTDIR)\bin\uic.exe&quot; -o &quot;.\GeneratedFiles\uic\ui_$(InputName).h&quot; &quot;$(InputPath)&quot;&#x0D;&#x0A;"
- AdditionalDependencies="$(QTDIR)\bin\uic.exe"
- Outputs="&quot;.\GeneratedFiles\uic\ui_$(InputName).h&quot;"
- />
- </FileConfiguration>
- <FileConfiguration
- Name="FooBar|Win32"
- >
- <Tool
- Name="VCCustomBuildTool"
- Description="Uic&apos;ing $(InputFileName)..."
- CommandLine="&quot;$(QTDIR)\bin\uic.exe&quot; -o &quot;.\GeneratedFiles\uic\ui_$(InputName).h&quot; &quot;$(InputPath)&quot;&#x0D;&#x0A;"
- AdditionalDependencies="$(QTDIR)\bin\uic.exe"
- Outputs="&quot;.\GeneratedFiles\uic\ui_$(InputName).h&quot;"
- />
- </FileConfiguration>
- </File>
- </Filter>
- <Filter
- Name="Resource Files"
- Filter="qrc;*"
- UniqueIdentifier="{D9D6E242-F8AF-46E4-B9FD-80ECBC20BA3E}"
- ParseFiles="false"
- >
- <File
- RelativePath=".\foo.qrc"
- >
- <FileConfiguration
- Name="Release|Win32"
- >
- <Tool
- Name="VCCustomBuildTool"
- Description="Rcc&apos;ing $(InputFileName)..."
- CommandLine="&quot;$(QTDIR)\bin\rcc.exe&quot; -name &quot;$(InputName)&quot; -no-compress &quot;$(InputPath)&quot; -o .\GeneratedFiles\rcc\qrc_$(InputName).cpp&#x0D;&#x0A;"
- AdditionalDependencies="$(InputPath)"
- Outputs=".\GeneratedFiles\rcc\qrc_$(InputName).cpp"
- />
- </FileConfiguration>
- <FileConfiguration
- Name="Debug|Win32"
- >
- <Tool
- Name="VCCustomBuildTool"
- Description="Rcc&apos;ing $(InputFileName)..."
- CommandLine="&quot;$(QTDIR)\bin\rcc.exe&quot; -name &quot;$(InputName)&quot; -no-compress &quot;$(InputPath)&quot; -o .\GeneratedFiles\rcc\qrc_$(InputName).cpp&#x0D;&#x0A;"
- AdditionalDependencies="$(InputPath)"
- Outputs=".\GeneratedFiles\rcc\qrc_$(InputName).cpp"
- />
- </FileConfiguration>
- <FileConfiguration
- Name="FooBar|Win32"
- >
- <Tool
- Name="VCCustomBuildTool"
- Description="Rcc&apos;ing $(InputFileName)..."
- CommandLine="&quot;$(QTDIR)\bin\rcc.exe&quot; -name &quot;$(InputName)&quot; -no-compress &quot;$(InputPath)&quot; -o .\GeneratedFiles\rcc\qrc_$(InputName).cpp&#x0D;&#x0A;"
- AdditionalDependencies="$(InputPath)"
- Outputs=".\GeneratedFiles\rcc\qrc_$(InputName).cpp"
- />
- </FileConfiguration>
- </File>
- </Filter>
- <Filter
- Name="Generated Files"
- Filter="moc;h;cpp"
- UniqueIdentifier="{71ED8ED8-ACB9-4CE9-BBE1-E00B30144E11}"
- SourceControlFiles="false"
- >
- <File
- RelativePath=".\GeneratedFiles\moc\bar.moc"
- >
- <FileConfiguration
- Name="Release|Win32"
- >
- <Tool
- Name="VCCustomBuildTool"
- Description="Moc&apos;ing $(InputFileName)..."
- CommandLine="&quot;$(QTDIR)\bin\moc.exe&quot; -DUNICODE -DWIN32 -DQT_THREAD_SUPPORT -DQT_NO_DEBUG -DNDEBUG -DQT_CORE_LIB -DQT_GUI_LIB &quot;-I$(QTDIR)\include&quot; &quot;-I.&quot; &quot;-I$(QTDIR)\include\QtCore&quot; &quot;-I$(QTDIR)\include\QtGui&quot; &quot;-I.\GeneratedFiles\moc&quot; &quot;-I.\GeneratedFiles\uic&quot; &quot;-I.\GeneratedFiles\rcc&quot; &quot;.\bar.cpp&quot; -o &quot;.\GeneratedFiles\moc\$(InputName).moc&quot;&#x0D;&#x0A;"
- AdditionalDependencies="&quot;$(QTDIR)\bin\moc.exe&quot;;.\bar.cpp"
- Outputs="&quot;.\GeneratedFiles\moc\$(InputName).moc&quot;"
- />
- </FileConfiguration>
- <FileConfiguration
- Name="Debug|Win32"
- >
- <Tool
- Name="VCCustomBuildTool"
- Description="Moc&apos;ing $(InputFileName)..."
- CommandLine="&quot;$(QTDIR)\bin\moc.exe&quot; -DUNICODE -DWIN32 -DQT_THREAD_SUPPORT -DQT_CORE_LIB -DQT_GUI_LIB &quot;-I$(QTDIR)\include&quot; &quot;-I.&quot; &quot;-I$(QTDIR)\include\QtCore&quot; &quot;-I$(QTDIR)\include\QtGui&quot; &quot;-I.\GeneratedFiles\moc&quot; &quot;-I.\GeneratedFiles\uic&quot; &quot;-I.\GeneratedFiles\rcc&quot; &quot;.\bar.cpp&quot; -o &quot;.\GeneratedFiles\moc\$(InputName).moc&quot;&#x0D;&#x0A;"
- AdditionalDependencies="&quot;$(QTDIR)\bin\moc.exe&quot;;.\bar.cpp"
- Outputs="&quot;.\GeneratedFiles\moc\$(InputName).moc&quot;"
- />
- </FileConfiguration>
- <FileConfiguration
- Name="FooBar|Win32"
- >
- <Tool
- Name="VCCustomBuildTool"
- Description="Moc&apos;ing $(InputFileName)..."
- CommandLine="&quot;$(QTDIR)\bin\moc.exe&quot; -DUNICODE -DWIN32 -DQT_THREAD_SUPPORT -DQT_CORE_LIB -DQT_GUI_LIB &quot;-I$(QTDIR)\include&quot; &quot;-I.&quot; &quot;-I$(QTDIR)\include\QtCore&quot; &quot;-I$(QTDIR)\include\QtGui&quot; &quot;-I.\GeneratedFiles\moc&quot; &quot;-I.\GeneratedFiles\uic&quot; &quot;-I.\GeneratedFiles\rcc&quot; &quot;.\bar.cpp&quot; -o &quot;.\GeneratedFiles\moc\$(InputName).moc&quot;&#x0D;&#x0A;"
- AdditionalDependencies="&quot;$(QTDIR)\bin\moc.exe&quot;;.\bar.cpp"
- Outputs="&quot;.\GeneratedFiles\moc\$(InputName).moc&quot;"
- />
- </FileConfiguration>
- </File>
- <File
- RelativePath=".\GeneratedFiles\moc\moc_foo.cpp"
- >
- </File>
- <File
- RelativePath=".\GeneratedFiles\rcc\qrc_foo.cpp"
- >
- <FileConfiguration
- Name="Release|Win32"
- >
- <Tool
- Name="VCCLCompilerTool"
- UsePrecompiledHeader="0"
- />
- </FileConfiguration>
- <FileConfiguration
- Name="Debug|Win32"
- >
- <Tool
- Name="VCCLCompilerTool"
- UsePrecompiledHeader="0"
- />
- </FileConfiguration>
- <FileConfiguration
- Name="FooBar|Win32"
- >
- <Tool
- Name="VCCLCompilerTool"
- UsePrecompiledHeader="0"
- />
- </FileConfiguration>
- </File>
- <File
- RelativePath=".\GeneratedFiles\uic\ui_foo.h"
- >
- </File>
- </Filter>
- </Files>
- <Globals>
- <Global
- Name="MocDir"
- Value=".\GeneratedFiles\moc"
- />
- <Global
- Name="QtVersion Win32"
- Value="$(DefaultQtVersion)"
- />
- <Global
- Name="RccDir"
- Value=".\GeneratedFiles\rcc"
- />
- <Global
- Name="UicDir"
- Value=".\GeneratedFiles\uic"
- />
- </Globals>
-</VisualStudioProject>
diff --git a/tools/AutoTests/TemplateProjects2008/Test3pch/Check/bar.cpp b/tools/AutoTests/TemplateProjects2008/Test3pch/Check/bar.cpp
deleted file mode 100644
index 92a20813..00000000
--- a/tools/AutoTests/TemplateProjects2008/Test3pch/Check/bar.cpp
+++ /dev/null
@@ -1,13 +0,0 @@
-#include "pch.h"
-#include <QtGui/QWidget>
-
-class Bar : public QWidget
-{
- Q_OBJECT
-
-public:
- Bar(QWidget *parent = 0, Qt::WFlags flags = 0);
- ~Bar();
-};
-
-#include "bar.moc" \ No newline at end of file
diff --git a/tools/AutoTests/TemplateProjects2008/Test3pch/Check/foo.cpp b/tools/AutoTests/TemplateProjects2008/Test3pch/Check/foo.cpp
deleted file mode 100644
index 47c71ae6..00000000
--- a/tools/AutoTests/TemplateProjects2008/Test3pch/Check/foo.cpp
+++ /dev/null
@@ -1,14 +0,0 @@
-#include "pch.h"
-#include "foo.h"
-////#CUSTOMINCLUDE
-
-Foo::Foo(QWidget *parent, Qt::WFlags flags)
- : QWidget(parent, flags)
-{
- ui.setupUi(this);
-}
-
-Foo::~Foo()
-{
-
-}
diff --git a/tools/AutoTests/TemplateProjects2008/Test3pch/Check/foo.h b/tools/AutoTests/TemplateProjects2008/Test3pch/Check/foo.h
deleted file mode 100644
index ff46f40a..00000000
--- a/tools/AutoTests/TemplateProjects2008/Test3pch/Check/foo.h
+++ /dev/null
@@ -1,19 +0,0 @@
-#ifndef FOO_H
-#define FOO_H
-
-#include <QtGui/QWidget>
-#include "ui_foo.h"
-
-class Foo : public QWidget
-{
- Q_OBJECT
-
-public:
- Foo(QWidget *parent = 0, Qt::WFlags flags = 0);
- ~Foo();
-
-private:
- Ui::FooClass ui;
-};
-
-#endif // FOO_H
diff --git a/tools/AutoTests/TemplateProjects2008/Test3pch/Check/foo.qrc b/tools/AutoTests/TemplateProjects2008/Test3pch/Check/foo.qrc
deleted file mode 100644
index 18730fee..00000000
--- a/tools/AutoTests/TemplateProjects2008/Test3pch/Check/foo.qrc
+++ /dev/null
@@ -1,4 +0,0 @@
-<RCC>
- <qresource prefix="Foo">
- </qresource>
-</RCC>
diff --git a/tools/AutoTests/TemplateProjects2008/Test3pch/Check/foo.ui b/tools/AutoTests/TemplateProjects2008/Test3pch/Check/foo.ui
deleted file mode 100644
index e7568a8d..00000000
--- a/tools/AutoTests/TemplateProjects2008/Test3pch/Check/foo.ui
+++ /dev/null
@@ -1,23 +0,0 @@
-<UI version="4.0" >
- <class>FooClass</class>
- <widget class="QWidget" name="FooClass" >
- <property name="objectName" >
- <string notr="true">FooClass</string>
- </property>
- <property name="geometry" >
- <rect>
- <x>0</x>
- <y>0</y>
- <width>600</width>
- <height>400</height>
- </rect>
- </property>
- <property name="windowTitle" >
- <string>Foo</string>
- </property>
- </widget>
- <layoutDefault spacing="6" margin="11" />
- <pixmapfunction></pixmapfunction>
- <resources/>
- <connections/>
-</UI>
diff --git a/tools/AutoTests/TemplateProjects2008/Test3pch/Check/main.cpp b/tools/AutoTests/TemplateProjects2008/Test3pch/Check/main.cpp
deleted file mode 100644
index c8b37941..00000000
--- a/tools/AutoTests/TemplateProjects2008/Test3pch/Check/main.cpp
+++ /dev/null
@@ -1,8 +0,0 @@
-#include "pch.h"
-#include <QtGui/QApplication>
-
-int main(int argc, char *argv[])
-{
- QApplication a(argc, argv);
- return a.exec();
-}
diff --git a/tools/AutoTests/TemplateProjects2008/Test3pch/Check/pch.cpp b/tools/AutoTests/TemplateProjects2008/Test3pch/Check/pch.cpp
deleted file mode 100644
index 1d9f38c5..00000000
--- a/tools/AutoTests/TemplateProjects2008/Test3pch/Check/pch.cpp
+++ /dev/null
@@ -1 +0,0 @@
-#include "pch.h"
diff --git a/tools/AutoTests/TemplateProjects2008/Test3pch/Check/pch.h b/tools/AutoTests/TemplateProjects2008/Test3pch/Check/pch.h
deleted file mode 100644
index e69de29b..00000000
--- a/tools/AutoTests/TemplateProjects2008/Test3pch/Check/pch.h
+++ /dev/null
diff --git a/tools/AutoTests/TemplateProjects2008/Test3pch/Test3pch.sln b/tools/AutoTests/TemplateProjects2008/Test3pch/Test3pch.sln
deleted file mode 100644
index 57e5bb27..00000000
--- a/tools/AutoTests/TemplateProjects2008/Test3pch/Test3pch.sln
+++ /dev/null
@@ -1,26 +0,0 @@
-
-Microsoft Visual Studio Solution File, Format Version 10.00
-# Visual Studio 2008
-Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Test3", "Check\Check.vcproj", "{ADA1D5AA-949B-46E9-AA9E-10D2D5ECA5B0}"
-EndProject
-Global
- GlobalSection(SolutionConfigurationPlatforms) = preSolution
- Debug|Win32 = Debug|Win32
- FooBar|Win32 = FooBar|Win32
- Release|Win32 = Release|Win32
- EndGlobalSection
- GlobalSection(ProjectConfigurationPlatforms) = postSolution
- {ADA1D5AA-949B-46E9-AA9E-10D2D5ECA5B0}.Debug|Win32.ActiveCfg = Debug|Win32
- {ADA1D5AA-949B-46E9-AA9E-10D2D5ECA5B0}.Debug|Win32.Build.0 = Debug|Win32
- {ADA1D5AA-949B-46E9-AA9E-10D2D5ECA5B0}.FooBar|Win32.ActiveCfg = FooBar|Win32
- {ADA1D5AA-949B-46E9-AA9E-10D2D5ECA5B0}.FooBar|Win32.Build.0 = FooBar|Win32
- {ADA1D5AA-949B-46E9-AA9E-10D2D5ECA5B0}.Release|Win32.ActiveCfg = Release|Win32
- {ADA1D5AA-949B-46E9-AA9E-10D2D5ECA5B0}.Release|Win32.Build.0 = Release|Win32
- EndGlobalSection
- GlobalSection(SolutionProperties) = preSolution
- HideSolutionNode = FALSE
- EndGlobalSection
- GlobalSection(Qt) = preSolution
- Integration = True
- EndGlobalSection
-EndGlobal
diff --git a/tools/AutoTests/TemplateProjects2008/Test4/Check/Check.vcproj b/tools/AutoTests/TemplateProjects2008/Test4/Check/Check.vcproj
deleted file mode 100644
index d25e6a79..00000000
--- a/tools/AutoTests/TemplateProjects2008/Test4/Check/Check.vcproj
+++ /dev/null
@@ -1,377 +0,0 @@
-<?xml version="1.0" encoding="Windows-1252"?>
-<VisualStudioProject
- ProjectType="Visual C++"
- Version="9.00"
- Name="Test4"
- ProjectGUID="{ADA1D5AA-949B-46E9-AA9E-10D2D5ECA5B0}"
- RootNamespace="Check"
- Keyword="Qt4VSv1.0"
- TargetFrameworkVersion="0"
- >
- <Platforms>
- <Platform
- Name="Win32"
- />
- </Platforms>
- <ToolFiles>
- </ToolFiles>
- <Configurations>
- <Configuration
- Name="Release|Win32"
- OutputDirectory="$(SolutionDir)$(ConfigurationName)"
- ConfigurationType="1"
- >
- <Tool
- Name="VCPreBuildEventTool"
- />
- <Tool
- Name="VCCustomBuildTool"
- />
- <Tool
- Name="VCXMLDataGeneratorTool"
- />
- <Tool
- Name="VCWebServiceProxyGeneratorTool"
- />
- <Tool
- Name="VCMIDLTool"
- />
- <Tool
- Name="VCCLCompilerTool"
- AdditionalIncludeDirectories="$(QTDIR)\include;.;$(QTDIR)\include\QtCore;$(QTDIR)\include\QtGui;.\GeneratedFiles\moc;.\GeneratedFiles\uic;.\GeneratedFiles\rcc"
- PreprocessorDefinitions="UNICODE,WIN32,QT_THREAD_SUPPORT,QT_NO_DEBUG,NDEBUG,QT_CORE_LIB,QT_GUI_LIB"
- RuntimeLibrary="2"
- TreatWChar_tAsBuiltInType="false"
- DebugInformationFormat="0"
- />
- <Tool
- Name="VCManagedResourceCompilerTool"
- />
- <Tool
- Name="VCResourceCompilerTool"
- />
- <Tool
- Name="VCPreLinkEventTool"
- />
- <Tool
- Name="VCLinkerTool"
- AdditionalDependencies=" qtmain.lib QtCore4.lib QtGui4.lib"
- OutputFile="$(OutDir)\$(ProjectName).exe"
- AdditionalLibraryDirectories="$(QTDIR)\lib"
- GenerateDebugInformation="false"
- SubSystem="2"
- />
- <Tool
- Name="VCALinkTool"
- />
- <Tool
- Name="VCManifestTool"
- />
- <Tool
- Name="VCXDCMakeTool"
- />
- <Tool
- Name="VCBscMakeTool"
- />
- <Tool
- Name="VCFxCopTool"
- />
- <Tool
- Name="VCAppVerifierTool"
- />
- <Tool
- Name="VCPostBuildEventTool"
- />
- </Configuration>
- <Configuration
- Name="Debug|Win32"
- OutputDirectory="$(SolutionDir)$(ConfigurationName)"
- IntermediateDirectory="$(ConfigurationName)"
- ConfigurationType="1"
- >
- <Tool
- Name="VCPreBuildEventTool"
- />
- <Tool
- Name="VCCustomBuildTool"
- />
- <Tool
- Name="VCXMLDataGeneratorTool"
- />
- <Tool
- Name="VCWebServiceProxyGeneratorTool"
- />
- <Tool
- Name="VCMIDLTool"
- />
- <Tool
- Name="VCCLCompilerTool"
- Optimization="0"
- AdditionalIncludeDirectories="$(QTDIR)\include;.;$(QTDIR)\include\QtCore;$(QTDIR)\include\QtGui;.\GeneratedFiles\moc;.\GeneratedFiles\uic;.\GeneratedFiles\rcc"
- PreprocessorDefinitions="UNICODE,WIN32,QT_THREAD_SUPPORT,QT_CORE_LIB,QT_GUI_LIB"
- RuntimeLibrary="3"
- TreatWChar_tAsBuiltInType="false"
- UsePrecompiledHeader="2"
- PrecompiledHeaderThrough="test.h"
- PrecompiledHeaderFile="test.pch"
- DebugInformationFormat="3"
- />
- <Tool
- Name="VCManagedResourceCompilerTool"
- />
- <Tool
- Name="VCResourceCompilerTool"
- />
- <Tool
- Name="VCPreLinkEventTool"
- />
- <Tool
- Name="VCLinkerTool"
- AdditionalDependencies=" qtmaind.lib QtCored4.lib QtGuid4.lib"
- OutputFile="$(OutDir)\$(ProjectName).exe"
- AdditionalLibraryDirectories="$(QTDIR)\lib"
- GenerateDebugInformation="true"
- SubSystem="2"
- />
- <Tool
- Name="VCALinkTool"
- />
- <Tool
- Name="VCManifestTool"
- />
- <Tool
- Name="VCXDCMakeTool"
- />
- <Tool
- Name="VCBscMakeTool"
- />
- <Tool
- Name="VCFxCopTool"
- />
- <Tool
- Name="VCAppVerifierTool"
- />
- <Tool
- Name="VCPostBuildEventTool"
- />
- </Configuration>
- </Configurations>
- <References>
- </References>
- <Files>
- <Filter
- Name="Source Files"
- Filter="cpp;cxx;c;def"
- UniqueIdentifier="{4FC737F1-C7A5-4376-A066-2A32D752A2FF}"
- >
- <File
- RelativePath=".\foo.cpp"
- >
- </File>
- <File
- RelativePath=".\main.cpp"
- >
- </File>
- <File
- RelativePath=".\stdafx.cpp"
- >
- </File>
- <File
- RelativePath=".\test.cpp"
- >
- <FileConfiguration
- Name="Debug|Win32"
- >
- <Tool
- Name="VCCLCompilerTool"
- UsePrecompiledHeader="1"
- />
- </FileConfiguration>
- </File>
- </Filter>
- <Filter
- Name="Header Files"
- Filter="h"
- UniqueIdentifier="{93995380-89BD-4b04-88EB-625FBE52EBFB}"
- >
- <File
- RelativePath=".\foo.h"
- >
- <FileConfiguration
- Name="Release|Win32"
- >
- <Tool
- Name="VCCustomBuildTool"
- Description="Moc&apos;ing $(InputFileName)..."
- CommandLine="&quot;$(QTDIR)\bin\moc.exe&quot; -DUNICODE -DWIN32 -DQT_THREAD_SUPPORT -DQT_NO_DEBUG -DNDEBUG -DQT_CORE_LIB -DQT_GUI_LIB &quot;-I$(QTDIR)\include&quot; &quot;-I.&quot; &quot;-I$(QTDIR)\include\QtCore&quot; &quot;-I$(QTDIR)\include\QtGui&quot; &quot;-I.\GeneratedFiles\moc&quot; &quot;-I.\GeneratedFiles\uic&quot; &quot;-I.\GeneratedFiles\rcc&quot; &quot;.\foo.h&quot; -o &quot;.\GeneratedFiles\moc\moc_$(InputName).cpp&quot;&#x0D;&#x0A;"
- AdditionalDependencies="&quot;$(QTDIR)\bin\moc.exe&quot;;$(InputPath)"
- Outputs="&quot;.\GeneratedFiles\moc\moc_$(InputName).cpp&quot;"
- />
- </FileConfiguration>
- <FileConfiguration
- Name="Debug|Win32"
- >
- <Tool
- Name="VCCustomBuildTool"
- Description="Moc&apos;ing $(InputFileName)..."
- CommandLine="&quot;$(QTDIR)\bin\moc.exe&quot; -DUNICODE -DWIN32 -DQT_THREAD_SUPPORT -DQT_CORE_LIB -DQT_GUI_LIB &quot;-I$(QTDIR)\include&quot; &quot;-I.&quot; &quot;-I$(QTDIR)\include\QtCore&quot; &quot;-I$(QTDIR)\include\QtGui&quot; &quot;-I.\GeneratedFiles\moc&quot; &quot;-I.\GeneratedFiles\uic&quot; &quot;-I.\GeneratedFiles\rcc&quot; &quot;.\foo.h&quot; -o &quot;.\GeneratedFiles\moc\moc_$(InputName).cpp&quot; &quot;-ftest.h&quot; &quot;-f..\..\foo.h&quot;&#x0D;&#x0A;"
- AdditionalDependencies="&quot;$(QTDIR)\bin\moc.exe&quot;;$(InputPath)"
- Outputs="&quot;.\GeneratedFiles\moc\moc_$(InputName).cpp&quot;"
- />
- </FileConfiguration>
- </File>
- <File
- RelativePath=".\stdafx.h"
- >
- </File>
- <File
- RelativePath=".\test.h"
- >
- </File>
- </Filter>
- <Filter
- Name="Form Files"
- Filter="ui"
- UniqueIdentifier="{99349809-55BA-4b9d-BF79-8FDBB0286EB3}"
- >
- <File
- RelativePath=".\foo.ui"
- >
- <FileConfiguration
- Name="Release|Win32"
- >
- <Tool
- Name="VCCustomBuildTool"
- Description="Uic&apos;ing $(InputFileName)..."
- CommandLine="&quot;$(QTDIR)\bin\uic.exe&quot; -o &quot;.\GeneratedFiles\uic\ui_$(InputName).h&quot; &quot;$(InputPath)&quot;&#x0D;&#x0A;"
- AdditionalDependencies="$(QTDIR)\bin\uic.exe"
- Outputs="&quot;.\GeneratedFiles\uic\ui_$(InputName).h&quot;"
- />
- </FileConfiguration>
- <FileConfiguration
- Name="Debug|Win32"
- >
- <Tool
- Name="VCCustomBuildTool"
- Description="Uic&apos;ing $(InputFileName)..."
- CommandLine="&quot;$(QTDIR)\bin\uic.exe&quot; -o &quot;.\GeneratedFiles\uic\ui_$(InputName).h&quot; &quot;$(InputPath)&quot;&#x0D;&#x0A;"
- AdditionalDependencies="$(QTDIR)\bin\uic.exe"
- Outputs="&quot;.\GeneratedFiles\uic\ui_$(InputName).h&quot;"
- />
- </FileConfiguration>
- </File>
- </Filter>
- <Filter
- Name="Resource Files"
- Filter="qrc;*"
- UniqueIdentifier="{D9D6E242-F8AF-46E4-B9FD-80ECBC20BA3E}"
- ParseFiles="false"
- >
- <File
- RelativePath=".\foo.qrc"
- >
- <FileConfiguration
- Name="Release|Win32"
- >
- <Tool
- Name="VCCustomBuildTool"
- Description="Rcc&apos;ing $(InputFileName)..."
- CommandLine="&quot;$(QTDIR)\bin\rcc.exe&quot; -name &quot;$(InputName)&quot; -no-compress &quot;$(InputPath)&quot; -o .\GeneratedFiles\rcc\qrc_$(InputName).cpp&#x0D;&#x0A;"
- AdditionalDependencies="$(InputPath)"
- Outputs=".\GeneratedFiles\rcc\qrc_$(InputName).cpp"
- />
- </FileConfiguration>
- <FileConfiguration
- Name="Debug|Win32"
- >
- <Tool
- Name="VCCustomBuildTool"
- Description="Rcc&apos;ing $(InputFileName)..."
- CommandLine="&quot;$(QTDIR)\bin\rcc.exe&quot; -name &quot;$(InputName)&quot; -no-compress &quot;$(InputPath)&quot; -o .\GeneratedFiles\rcc\qrc_$(InputName).cpp&#x0D;&#x0A;"
- AdditionalDependencies="$(InputPath)"
- Outputs=".\GeneratedFiles\rcc\qrc_$(InputName).cpp"
- />
- </FileConfiguration>
- </File>
- </Filter>
- <Filter
- Name="Generated Files"
- Filter="moc;h;cpp"
- UniqueIdentifier="{71ED8ED8-ACB9-4CE9-BBE1-E00B30144E11}"
- SourceControlFiles="false"
- >
- <File
- RelativePath=".\GeneratedFiles\moc\main.moc"
- >
- <FileConfiguration
- Name="Release|Win32"
- >
- <Tool
- Name="VCCustomBuildTool"
- Description="Moc&apos;ing $(InputFileName)..."
- CommandLine="&quot;$(QTDIR)\bin\moc.exe&quot; -DUNICODE -DWIN32 -DQT_THREAD_SUPPORT -DQT_NO_DEBUG -DNDEBUG -DQT_CORE_LIB -DQT_GUI_LIB &quot;-I$(QTDIR)\include&quot; &quot;-I.&quot; &quot;-I$(QTDIR)\include\QtCore&quot; &quot;-I$(QTDIR)\include\QtGui&quot; &quot;-I.\GeneratedFiles\moc&quot; &quot;-I.\GeneratedFiles\uic&quot; &quot;-I.\GeneratedFiles\rcc&quot; &quot;.\main.cpp&quot; -o &quot;.\GeneratedFiles\moc\$(InputName).moc&quot;&#x0D;&#x0A;"
- AdditionalDependencies="&quot;$(QTDIR)\bin\moc.exe&quot;;.\main.cpp"
- Outputs="&quot;.\GeneratedFiles\moc\$(InputName).moc&quot;"
- />
- </FileConfiguration>
- <FileConfiguration
- Name="Debug|Win32"
- >
- <Tool
- Name="VCCustomBuildTool"
- Description="Moc&apos;ing $(InputFileName)..."
- CommandLine="&quot;$(QTDIR)\bin\moc.exe&quot; -DUNICODE -DWIN32 -DQT_THREAD_SUPPORT -DQT_CORE_LIB -DQT_GUI_LIB &quot;-I$(QTDIR)\include&quot; &quot;-I.&quot; &quot;-I$(QTDIR)\include\QtCore&quot; &quot;-I$(QTDIR)\include\QtGui&quot; &quot;-I.\GeneratedFiles\moc&quot; &quot;-I.\GeneratedFiles\uic&quot; &quot;-I.\GeneratedFiles\rcc&quot; &quot;.\main.cpp&quot; -o &quot;.\GeneratedFiles\moc\$(InputName).moc&quot;&#x0D;&#x0A;"
- AdditionalDependencies="&quot;$(QTDIR)\bin\moc.exe&quot;;.\main.cpp"
- Outputs="&quot;.\GeneratedFiles\moc\$(InputName).moc&quot;"
- />
- </FileConfiguration>
- </File>
- <File
- RelativePath=".\GeneratedFiles\moc\moc_foo.cpp"
- >
- </File>
- <File
- RelativePath=".\GeneratedFiles\rcc\qrc_foo.cpp"
- >
- <FileConfiguration
- Name="Release|Win32"
- >
- <Tool
- Name="VCCLCompilerTool"
- UsePrecompiledHeader="0"
- />
- </FileConfiguration>
- <FileConfiguration
- Name="Debug|Win32"
- >
- <Tool
- Name="VCCLCompilerTool"
- UsePrecompiledHeader="0"
- />
- </FileConfiguration>
- </File>
- <File
- RelativePath=".\GeneratedFiles\uic\ui_foo.h"
- >
- </File>
- </Filter>
- </Files>
- <Globals>
- <Global
- Name="MocDir"
- Value=".\GeneratedFiles\moc"
- />
- <Global
- Name="QtVersion Win32"
- Value="$(DefaultQtVersion)"
- />
- <Global
- Name="RccDir"
- Value=".\GeneratedFiles\rcc"
- />
- <Global
- Name="UicDir"
- Value=".\GeneratedFiles\uic"
- />
- </Globals>
-</VisualStudioProject>
diff --git a/tools/AutoTests/TemplateProjects2008/Test4/Check/bar.cpp b/tools/AutoTests/TemplateProjects2008/Test4/Check/bar.cpp
deleted file mode 100644
index 7377a16b..00000000
--- a/tools/AutoTests/TemplateProjects2008/Test4/Check/bar.cpp
+++ /dev/null
@@ -1,12 +0,0 @@
-#include <QtGui/QWidget>
-
-class Bar : public QWidget
-{
- Q_OBJECT
-
-public:
- Bar(QWidget *parent = 0, Qt::WFlags flags = 0);
- ~Bar();
-};
-
-#include "bar.moc" \ No newline at end of file
diff --git a/tools/AutoTests/TemplateProjects2008/Test4/Check/foo.cpp b/tools/AutoTests/TemplateProjects2008/Test4/Check/foo.cpp
deleted file mode 100644
index 39121f0f..00000000
--- a/tools/AutoTests/TemplateProjects2008/Test4/Check/foo.cpp
+++ /dev/null
@@ -1,14 +0,0 @@
-#include "test.h"
-#include "foo.h"
-////#CUSTOMINCLUDE
-
-Foo::Foo(QWidget *parent, Qt::WFlags flags)
- : QWidget(parent, flags)
-{
- ui.setupUi(this);
-}
-
-Foo::~Foo()
-{
-
-}
diff --git a/tools/AutoTests/TemplateProjects2008/Test4/Check/foo.h b/tools/AutoTests/TemplateProjects2008/Test4/Check/foo.h
deleted file mode 100644
index ff46f40a..00000000
--- a/tools/AutoTests/TemplateProjects2008/Test4/Check/foo.h
+++ /dev/null
@@ -1,19 +0,0 @@
-#ifndef FOO_H
-#define FOO_H
-
-#include <QtGui/QWidget>
-#include "ui_foo.h"
-
-class Foo : public QWidget
-{
- Q_OBJECT
-
-public:
- Foo(QWidget *parent = 0, Qt::WFlags flags = 0);
- ~Foo();
-
-private:
- Ui::FooClass ui;
-};
-
-#endif // FOO_H
diff --git a/tools/AutoTests/TemplateProjects2008/Test4/Check/foo.qrc b/tools/AutoTests/TemplateProjects2008/Test4/Check/foo.qrc
deleted file mode 100644
index 18730fee..00000000
--- a/tools/AutoTests/TemplateProjects2008/Test4/Check/foo.qrc
+++ /dev/null
@@ -1,4 +0,0 @@
-<RCC>
- <qresource prefix="Foo">
- </qresource>
-</RCC>
diff --git a/tools/AutoTests/TemplateProjects2008/Test4/Check/foo.ui b/tools/AutoTests/TemplateProjects2008/Test4/Check/foo.ui
deleted file mode 100644
index e7568a8d..00000000
--- a/tools/AutoTests/TemplateProjects2008/Test4/Check/foo.ui
+++ /dev/null
@@ -1,23 +0,0 @@
-<UI version="4.0" >
- <class>FooClass</class>
- <widget class="QWidget" name="FooClass" >
- <property name="objectName" >
- <string notr="true">FooClass</string>
- </property>
- <property name="geometry" >
- <rect>
- <x>0</x>
- <y>0</y>
- <width>600</width>
- <height>400</height>
- </rect>
- </property>
- <property name="windowTitle" >
- <string>Foo</string>
- </property>
- </widget>
- <layoutDefault spacing="6" margin="11" />
- <pixmapfunction></pixmapfunction>
- <resources/>
- <connections/>
-</UI>
diff --git a/tools/AutoTests/TemplateProjects2008/Test4/Check/main.cpp b/tools/AutoTests/TemplateProjects2008/Test4/Check/main.cpp
deleted file mode 100644
index 21cb20e9..00000000
--- a/tools/AutoTests/TemplateProjects2008/Test4/Check/main.cpp
+++ /dev/null
@@ -1,23 +0,0 @@
-#include "test.h"
-#include <QtGui/QApplication>
-#include "foo.h"
-
-class Bar : public QWidget
-{
- Q_OBJECT
-
-public:
- Bar(QWidget *parent = 0, Qt::WFlags flags = 0);
- ~Bar();
-
-private:
- Ui::FooClass ui;
-};
-
-int main(int argc, char *argv[])
-{
- QApplication a(argc, argv);
- Foo w;
- w.show();
- return a.exec();
-}
diff --git a/tools/AutoTests/TemplateProjects2008/Test4/Check/stdafx.cpp b/tools/AutoTests/TemplateProjects2008/Test4/Check/stdafx.cpp
deleted file mode 100644
index 91ab081c..00000000
--- a/tools/AutoTests/TemplateProjects2008/Test4/Check/stdafx.cpp
+++ /dev/null
@@ -1 +0,0 @@
-#include "test.h" \ No newline at end of file
diff --git a/tools/AutoTests/TemplateProjects2008/Test4/Check/stdafx.h b/tools/AutoTests/TemplateProjects2008/Test4/Check/stdafx.h
deleted file mode 100644
index e69de29b..00000000
--- a/tools/AutoTests/TemplateProjects2008/Test4/Check/stdafx.h
+++ /dev/null
diff --git a/tools/AutoTests/TemplateProjects2008/Test4/Check/test.cpp b/tools/AutoTests/TemplateProjects2008/Test4/Check/test.cpp
deleted file mode 100644
index 91ab081c..00000000
--- a/tools/AutoTests/TemplateProjects2008/Test4/Check/test.cpp
+++ /dev/null
@@ -1 +0,0 @@
-#include "test.h" \ No newline at end of file
diff --git a/tools/AutoTests/TemplateProjects2008/Test4/Check/test.h b/tools/AutoTests/TemplateProjects2008/Test4/Check/test.h
deleted file mode 100644
index e69de29b..00000000
--- a/tools/AutoTests/TemplateProjects2008/Test4/Check/test.h
+++ /dev/null
diff --git a/tools/AutoTests/TemplateProjects2008/Test4/Check/test.pch b/tools/AutoTests/TemplateProjects2008/Test4/Check/test.pch
deleted file mode 100644
index eff90beb..00000000
--- a/tools/AutoTests/TemplateProjects2008/Test4/Check/test.pch
+++ /dev/null
Binary files differ
diff --git a/tools/AutoTests/TemplateProjects2008/Test4/Test4.sln b/tools/AutoTests/TemplateProjects2008/Test4/Test4.sln
deleted file mode 100644
index bc85c688..00000000
--- a/tools/AutoTests/TemplateProjects2008/Test4/Test4.sln
+++ /dev/null
@@ -1,23 +0,0 @@
-
-Microsoft Visual Studio Solution File, Format Version 10.00
-# Visual Studio 2008
-Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Test4", "Check\Check.vcproj", "{ADA1D5AA-949B-46E9-AA9E-10D2D5ECA5B0}"
-EndProject
-Global
- GlobalSection(SolutionConfigurationPlatforms) = preSolution
- Debug|Win32 = Debug|Win32
- Release|Win32 = Release|Win32
- EndGlobalSection
- GlobalSection(ProjectConfigurationPlatforms) = postSolution
- {ADA1D5AA-949B-46E9-AA9E-10D2D5ECA5B0}.Debug|Win32.ActiveCfg = Debug|Win32
- {ADA1D5AA-949B-46E9-AA9E-10D2D5ECA5B0}.Debug|Win32.Build.0 = Debug|Win32
- {ADA1D5AA-949B-46E9-AA9E-10D2D5ECA5B0}.Release|Win32.ActiveCfg = Release|Win32
- {ADA1D5AA-949B-46E9-AA9E-10D2D5ECA5B0}.Release|Win32.Build.0 = Release|Win32
- EndGlobalSection
- GlobalSection(SolutionProperties) = preSolution
- HideSolutionNode = FALSE
- EndGlobalSection
- GlobalSection(Qt) = preSolution
- Integration = True
- EndGlobalSection
-EndGlobal
diff --git a/tools/AutoTests/TemplateProjects2010/Test1/Check/Check.vcxproj b/tools/AutoTests/TemplateProjects2010/Test1/Check/Check.vcxproj
deleted file mode 100644
index e6dbdb4b..00000000
--- a/tools/AutoTests/TemplateProjects2010/Test1/Check/Check.vcxproj
+++ /dev/null
@@ -1,134 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
- <ItemGroup Label="ProjectConfigurations">
- <ProjectConfiguration Include="Debug|Win32">
- <Configuration>Debug</Configuration>
- <Platform>Win32</Platform>
- </ProjectConfiguration>
- <ProjectConfiguration Include="Release|Win32">
- <Configuration>Release</Configuration>
- <Platform>Win32</Platform>
- </ProjectConfiguration>
- </ItemGroup>
- <PropertyGroup Label="Globals">
- <ProjectName>Test1</ProjectName>
- <ProjectGuid>{ADA1D5AA-949B-46E9-AA9E-10D2D5ECA5B0}</ProjectGuid>
- <RootNamespace>Check</RootNamespace>
- <Keyword>Qt4VSv1.0</Keyword>
- </PropertyGroup>
- <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
- <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
- <ConfigurationType>Application</ConfigurationType>
- </PropertyGroup>
- <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
- <ConfigurationType>Application</ConfigurationType>
- </PropertyGroup>
- <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
- <ImportGroup Label="ExtensionSettings">
- </ImportGroup>
- <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="PropertySheets">
- <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
- </ImportGroup>
- <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="PropertySheets">
- <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
- </ImportGroup>
- <PropertyGroup Label="UserMacros" />
- <PropertyGroup>
- <_ProjectFileVersion>10.0.30319.1</_ProjectFileVersion>
- <OutDir Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">$(SolutionDir)$(Configuration)\</OutDir>
- <OutDir Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">$(SolutionDir)$(Configuration)\</OutDir>
- <IntDir Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">$(Configuration)\</IntDir>
- </PropertyGroup>
- <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
- <ClCompile>
- <AdditionalIncludeDirectories>.\GeneratedFiles;$(QTDIR)\include;.\GeneratedFiles\$(Configuration);$(QTDIR)\include\QtCore;$(QTDIR)\include\QtGui;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
- <PreprocessorDefinitions>UNICODE;WIN32;QT_THREAD_SUPPORT;QT_NO_DEBUG;NDEBUG;QT_CORE_LIB;QT_GUI_LIB;%(PreprocessorDefinitions)</PreprocessorDefinitions>
- <RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>
- <TreatWChar_tAsBuiltInType>false</TreatWChar_tAsBuiltInType>
- <DebugInformationFormat>
- </DebugInformationFormat>
- </ClCompile>
- <Link>
- <AdditionalDependencies>qtmain.lib;QtCore4.lib;QtGui4.lib;%(AdditionalDependencies)</AdditionalDependencies>
- <OutputFile>$(OutDir)$(ProjectName).exe</OutputFile>
- <AdditionalLibraryDirectories>$(QTDIR)\lib;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
- <GenerateDebugInformation>false</GenerateDebugInformation>
- <SubSystem>Windows</SubSystem>
- </Link>
- </ItemDefinitionGroup>
- <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
- <ClCompile>
- <Optimization>Disabled</Optimization>
- <AdditionalIncludeDirectories>.\GeneratedFiles;$(QTDIR)\include;.\GeneratedFiles\$(Configuration);$(QTDIR)\include\QtCore;$(QTDIR)\include\QtGui;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
- <PreprocessorDefinitions>UNICODE;WIN32;QT_THREAD_SUPPORT;QT_CORE_LIB;QT_GUI_LIB;%(PreprocessorDefinitions)</PreprocessorDefinitions>
- <RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary>
- <TreatWChar_tAsBuiltInType>false</TreatWChar_tAsBuiltInType>
- <DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
- </ClCompile>
- <Link>
- <AdditionalDependencies>qtmaind.lib;QtCored4.lib;QtGuid4.lib;%(AdditionalDependencies)</AdditionalDependencies>
- <OutputFile>$(OutDir)$(ProjectName).exe</OutputFile>
- <AdditionalLibraryDirectories>$(QTDIR)\lib;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
- <GenerateDebugInformation>true</GenerateDebugInformation>
- <SubSystem>Windows</SubSystem>
- </Link>
- </ItemDefinitionGroup>
- <ItemGroup>
- <ClCompile Include="foo.cpp" />
- <ClCompile Include="main.cpp" />
- <ClCompile Include="subfolder\sub.cpp" />
- </ItemGroup>
- <ItemGroup>
- <CustomBuild Include="foo.h">
- <Message Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
- </Message>
- <Command Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
- </Command>
- <AdditionalInputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">%(AdditionalInputs)</AdditionalInputs>
- <Outputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">%(Outputs)</Outputs>
- <Message Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
- </Message>
- <Command Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
- </Command>
- <AdditionalInputs Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">%(AdditionalInputs)</AdditionalInputs>
- <Outputs Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">%(Outputs)</Outputs>
- </CustomBuild>
- <ClInclude Include="GeneratedFiles\ui_foo.h" />
- </ItemGroup>
- <ItemGroup>
- <CustomBuild Include="foo.ui">
- <Message Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">Uic%27ing %(FullPath)...</Message>
- <Command Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">"$(QTDIR)\bin\uic.exe" -o ".\GeneratedFiles\ui_foo.h" "%(FullPath)"
-</Command>
- <AdditionalInputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">$(QTDIR)\bin\uic.exe;%(AdditionalInputs)</AdditionalInputs>
- <Outputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">.\GeneratedFiles\ui_foo.h;%(Outputs)</Outputs>
- <Message Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">Uic%27ing %(FullPath)...</Message>
- <Command Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">"$(QTDIR)\bin\uic.exe" -o ".\GeneratedFiles\ui_foo.h" "%(FullPath)"
-</Command>
- <AdditionalInputs Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">$(QTDIR)\bin\uic.exe;%(AdditionalInputs)</AdditionalInputs>
- <Outputs Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">.\GeneratedFiles\ui_foo.h;%(Outputs)</Outputs>
- </CustomBuild>
- <CustomBuild Include="foo.qrc">
- <Message Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
- </Message>
- <Command Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
- </Command>
- <AdditionalInputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">%(AdditionalInputs)</AdditionalInputs>
- <Outputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">%(Outputs)</Outputs>
- <Message Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
- </Message>
- <Command Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
- </Command>
- <AdditionalInputs Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">%(AdditionalInputs)</AdditionalInputs>
- <Outputs Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">%(Outputs)</Outputs>
- </CustomBuild>
- </ItemGroup>
- <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
- <ImportGroup Label="ExtensionTargets">
- </ImportGroup>
- <ProjectExtensions>
- <VisualStudio>
- <UserProperties MocDir=".\GeneratedFiles\$(ConfigurationName)" QtVersion_x0020_Win32="$(DefaultQtVersion)" RccDir=".\GeneratedFiles" UicDir=".\GeneratedFiles" />
- </VisualStudio>
- </ProjectExtensions>
-</Project>
diff --git a/tools/AutoTests/TemplateProjects2010/Test1/Check/Check.vcxproj.filters b/tools/AutoTests/TemplateProjects2010/Test1/Check/Check.vcxproj.filters
deleted file mode 100644
index 1290d2e1..00000000
--- a/tools/AutoTests/TemplateProjects2010/Test1/Check/Check.vcxproj.filters
+++ /dev/null
@@ -1,54 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
- <ItemGroup>
- <Filter Include="Source Files">
- <UniqueIdentifier>{4FC737F1-C7A5-4376-A066-2A32D752A2FF}</UniqueIdentifier>
- <Extensions>cpp;cxx;c;def</Extensions>
- </Filter>
- <Filter Include="Header Files">
- <UniqueIdentifier>{93995380-89BD-4b04-88EB-625FBE52EBFB}</UniqueIdentifier>
- <Extensions>h</Extensions>
- </Filter>
- <Filter Include="Form Files">
- <UniqueIdentifier>{99349809-55BA-4b9d-BF79-8FDBB0286EB3}</UniqueIdentifier>
- <Extensions>ui</Extensions>
- </Filter>
- <Filter Include="Resource Files">
- <UniqueIdentifier>{D9D6E242-F8AF-46E4-B9FD-80ECBC20BA3E}</UniqueIdentifier>
- <Extensions>qrc;*</Extensions>
- <ParseFiles>false</ParseFiles>
- </Filter>
- <Filter Include="Generated Files">
- <UniqueIdentifier>{71ED8ED8-ACB9-4CE9-BBE1-E00B30144E11}</UniqueIdentifier>
- <Extensions>moc;h;cpp</Extensions>
- <SourceControlFiles>False</SourceControlFiles>
- </Filter>
- </ItemGroup>
- <ItemGroup>
- <ClCompile Include="foo.cpp">
- <Filter>Source Files</Filter>
- </ClCompile>
- <ClCompile Include="main.cpp">
- <Filter>Source Files</Filter>
- </ClCompile>
- <ClCompile Include="subfolder\sub.cpp">
- <Filter>Source Files</Filter>
- </ClCompile>
- </ItemGroup>
- <ItemGroup>
- <ClInclude Include="GeneratedFiles\ui_foo.h">
- <Filter>Generated Files</Filter>
- </ClInclude>
- </ItemGroup>
- <ItemGroup>
- <CustomBuild Include="foo.h">
- <Filter>Header Files</Filter>
- </CustomBuild>
- <CustomBuild Include="foo.ui">
- <Filter>Form Files</Filter>
- </CustomBuild>
- <CustomBuild Include="foo.qrc">
- <Filter>Resource Files</Filter>
- </CustomBuild>
- </ItemGroup>
-</Project> \ No newline at end of file
diff --git a/tools/AutoTests/TemplateProjects2010/Test1/Check/bar.cpp b/tools/AutoTests/TemplateProjects2010/Test1/Check/bar.cpp
deleted file mode 100644
index 8cc07981..00000000
--- a/tools/AutoTests/TemplateProjects2010/Test1/Check/bar.cpp
+++ /dev/null
@@ -1,12 +0,0 @@
-#include <QtGui/QWidget>
-
-class Bar : public QWidget
-{
- //Q_OBJECT_HERE
-
-public:
- Bar(QWidget *parent = 0, Qt::WFlags flags = 0);
- ~Bar();
-};
-
-//#include "bar.moc" \ No newline at end of file
diff --git a/tools/AutoTests/TemplateProjects2010/Test1/Check/foo.cpp b/tools/AutoTests/TemplateProjects2010/Test1/Check/foo.cpp
deleted file mode 100644
index 815985d4..00000000
--- a/tools/AutoTests/TemplateProjects2010/Test1/Check/foo.cpp
+++ /dev/null
@@ -1,13 +0,0 @@
-#include "foo.h"
-////#CUSTOMINCLUDE
-
-Foo::Foo(QWidget *parent, Qt::WFlags flags)
- : QWidget(parent, flags)
-{
- ui.setupUi(this);
-}
-
-Foo::~Foo()
-{
-
-}
diff --git a/tools/AutoTests/TemplateProjects2010/Test1/Check/foo.h b/tools/AutoTests/TemplateProjects2010/Test1/Check/foo.h
deleted file mode 100644
index 7e90fef7..00000000
--- a/tools/AutoTests/TemplateProjects2010/Test1/Check/foo.h
+++ /dev/null
@@ -1,19 +0,0 @@
-#ifndef FOO_H
-#define FOO_H
-
-#include <QtGui/QWidget>
-#include "ui_foo.h"
-
-class Foo : public QWidget
-{
- //Q_OBJECT_HERE
-
-public:
- Foo(QWidget *parent = 0, Qt::WFlags flags = 0);
- ~Foo();
-
-private:
- Ui::FooClass ui;
-};
-
-#endif // FOO_H
diff --git a/tools/AutoTests/TemplateProjects2010/Test1/Check/foo.qrc b/tools/AutoTests/TemplateProjects2010/Test1/Check/foo.qrc
deleted file mode 100644
index 18730fee..00000000
--- a/tools/AutoTests/TemplateProjects2010/Test1/Check/foo.qrc
+++ /dev/null
@@ -1,4 +0,0 @@
-<RCC>
- <qresource prefix="Foo">
- </qresource>
-</RCC>
diff --git a/tools/AutoTests/TemplateProjects2010/Test1/Check/foo.ui b/tools/AutoTests/TemplateProjects2010/Test1/Check/foo.ui
deleted file mode 100644
index e7568a8d..00000000
--- a/tools/AutoTests/TemplateProjects2010/Test1/Check/foo.ui
+++ /dev/null
@@ -1,23 +0,0 @@
-<UI version="4.0" >
- <class>FooClass</class>
- <widget class="QWidget" name="FooClass" >
- <property name="objectName" >
- <string notr="true">FooClass</string>
- </property>
- <property name="geometry" >
- <rect>
- <x>0</x>
- <y>0</y>
- <width>600</width>
- <height>400</height>
- </rect>
- </property>
- <property name="windowTitle" >
- <string>Foo</string>
- </property>
- </widget>
- <layoutDefault spacing="6" margin="11" />
- <pixmapfunction></pixmapfunction>
- <resources/>
- <connections/>
-</UI>
diff --git a/tools/AutoTests/TemplateProjects2010/Test1/Check/main.cpp b/tools/AutoTests/TemplateProjects2010/Test1/Check/main.cpp
deleted file mode 100644
index a842c7fc..00000000
--- a/tools/AutoTests/TemplateProjects2010/Test1/Check/main.cpp
+++ /dev/null
@@ -1,24 +0,0 @@
-#include <QtGui/QApplication>
-#include "foo.h"
-
-class Bar : public QWidget
-{
- //Q_OBJECT_HERE
-
-public:
- Bar(QWidget *parent = 0, Qt::WFlags flags = 0);
- ~Bar();
-
-private:
- Ui::FooClass ui;
-};
-
-int main(int argc, char *argv[])
-{
- QApplication a(argc, argv);
- Foo w;
- w.show();
- return a.exec();
-}
-
-//#include "main.moc"
diff --git a/tools/AutoTests/TemplateProjects2010/Test1/Check/subfolder/sub.cpp b/tools/AutoTests/TemplateProjects2010/Test1/Check/subfolder/sub.cpp
deleted file mode 100644
index 10c2dae3..00000000
--- a/tools/AutoTests/TemplateProjects2010/Test1/Check/subfolder/sub.cpp
+++ /dev/null
@@ -1,12 +0,0 @@
-#include <QObject>
-
-class Sub: public QObject
-{
- //Q_OBJECT_HERE
-public:
- Sub(QObject *parent = 0)
- : QObject(parent)
- {}
-};
-
-//#include "sub.moc" \ No newline at end of file
diff --git a/tools/AutoTests/TemplateProjects2010/Test1/Check/test.cpp b/tools/AutoTests/TemplateProjects2010/Test1/Check/test.cpp
deleted file mode 100644
index 91ab081c..00000000
--- a/tools/AutoTests/TemplateProjects2010/Test1/Check/test.cpp
+++ /dev/null
@@ -1 +0,0 @@
-#include "test.h" \ No newline at end of file
diff --git a/tools/AutoTests/TemplateProjects2010/Test1/Check/test.h b/tools/AutoTests/TemplateProjects2010/Test1/Check/test.h
deleted file mode 100644
index e69de29b..00000000
--- a/tools/AutoTests/TemplateProjects2010/Test1/Check/test.h
+++ /dev/null
diff --git a/tools/AutoTests/TemplateProjects2010/Test1/Test1.sln b/tools/AutoTests/TemplateProjects2010/Test1/Test1.sln
deleted file mode 100644
index 845a2a28..00000000
--- a/tools/AutoTests/TemplateProjects2010/Test1/Test1.sln
+++ /dev/null
@@ -1,23 +0,0 @@
-
-Microsoft Visual Studio Solution File, Format Version 11.00
-# Visual Studio 2010
-Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Test1", "Check\Check.vcxproj", "{ADA1D5AA-949B-46E9-AA9E-10D2D5ECA5B0}"
-EndProject
-Global
- GlobalSection(SolutionConfigurationPlatforms) = preSolution
- Debug|Win32 = Debug|Win32
- Release|Win32 = Release|Win32
- EndGlobalSection
- GlobalSection(ProjectConfigurationPlatforms) = postSolution
- {ADA1D5AA-949B-46E9-AA9E-10D2D5ECA5B0}.Debug|Win32.ActiveCfg = Debug|Win32
- {ADA1D5AA-949B-46E9-AA9E-10D2D5ECA5B0}.Debug|Win32.Build.0 = Debug|Win32
- {ADA1D5AA-949B-46E9-AA9E-10D2D5ECA5B0}.Release|Win32.ActiveCfg = Release|Win32
- {ADA1D5AA-949B-46E9-AA9E-10D2D5ECA5B0}.Release|Win32.Build.0 = Release|Win32
- EndGlobalSection
- GlobalSection(SolutionProperties) = preSolution
- HideSolutionNode = FALSE
- EndGlobalSection
- GlobalSection(Qt) = preSolution
- Integration = True
- EndGlobalSection
-EndGlobal
diff --git a/tools/AutoTests/TemplateProjects2010/Test1pch/Check/Check.vcxproj b/tools/AutoTests/TemplateProjects2010/Test1pch/Check/Check.vcxproj
deleted file mode 100644
index 4a6bb794..00000000
--- a/tools/AutoTests/TemplateProjects2010/Test1pch/Check/Check.vcxproj
+++ /dev/null
@@ -1,140 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
- <ItemGroup Label="ProjectConfigurations">
- <ProjectConfiguration Include="Debug|Win32">
- <Configuration>Debug</Configuration>
- <Platform>Win32</Platform>
- </ProjectConfiguration>
- <ProjectConfiguration Include="Release|Win32">
- <Configuration>Release</Configuration>
- <Platform>Win32</Platform>
- </ProjectConfiguration>
- </ItemGroup>
- <PropertyGroup Label="Globals">
- <ProjectName>Test1</ProjectName>
- <ProjectGuid>{ADA1D5AA-949B-46E9-AA9E-10D2D5ECA5B0}</ProjectGuid>
- <RootNamespace>Check</RootNamespace>
- <Keyword>Qt4VSv1.0</Keyword>
- </PropertyGroup>
- <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
- <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
- <ConfigurationType>Application</ConfigurationType>
- </PropertyGroup>
- <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
- <ConfigurationType>Application</ConfigurationType>
- </PropertyGroup>
- <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
- <ImportGroup Label="ExtensionSettings">
- </ImportGroup>
- <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="PropertySheets">
- <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
- </ImportGroup>
- <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="PropertySheets">
- <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
- </ImportGroup>
- <PropertyGroup Label="UserMacros" />
- <PropertyGroup>
- <_ProjectFileVersion>10.0.30319.1</_ProjectFileVersion>
- <OutDir Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">$(SolutionDir)$(Configuration)\</OutDir>
- <OutDir Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">$(SolutionDir)$(Configuration)\</OutDir>
- <IntDir Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">$(Configuration)\</IntDir>
- </PropertyGroup>
- <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
- <ClCompile>
- <AdditionalIncludeDirectories>.\GeneratedFiles;$(QTDIR)\include;.\GeneratedFiles\$(Configuration);.;$(QTDIR)\include\QtCore;$(QTDIR)\include\QtGui;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
- <PreprocessorDefinitions>UNICODE;WIN32;QT_THREAD_SUPPORT;QT_NO_DEBUG;NDEBUG;QT_CORE_LIB;QT_GUI_LIB;%(PreprocessorDefinitions)</PreprocessorDefinitions>
- <RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>
- <TreatWChar_tAsBuiltInType>false</TreatWChar_tAsBuiltInType>
- <DebugInformationFormat>
- </DebugInformationFormat>
- </ClCompile>
- <Link>
- <AdditionalDependencies>qtmain.lib;QtCore4.lib;QtGui4.lib;%(AdditionalDependencies)</AdditionalDependencies>
- <OutputFile>$(OutDir)$(ProjectName).exe</OutputFile>
- <AdditionalLibraryDirectories>$(QTDIR)\lib;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
- <GenerateDebugInformation>false</GenerateDebugInformation>
- <SubSystem>Windows</SubSystem>
- </Link>
- </ItemDefinitionGroup>
- <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
- <ClCompile>
- <Optimization>Disabled</Optimization>
- <AdditionalIncludeDirectories>.\GeneratedFiles;$(QTDIR)\include;.\GeneratedFiles\$(Configuration);.;$(QTDIR)\include\QtCore;$(QTDIR)\include\QtGui;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
- <PreprocessorDefinitions>UNICODE;WIN32;QT_THREAD_SUPPORT;QT_CORE_LIB;QT_GUI_LIB;%(PreprocessorDefinitions)</PreprocessorDefinitions>
- <RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary>
- <TreatWChar_tAsBuiltInType>false</TreatWChar_tAsBuiltInType>
- <PrecompiledHeader>Use</PrecompiledHeader>
- <PrecompiledHeaderFile>pch.h</PrecompiledHeaderFile>
- <DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
- </ClCompile>
- <Link>
- <AdditionalDependencies>qtmaind.lib;QtCored4.lib;QtGuid4.lib;%(AdditionalDependencies)</AdditionalDependencies>
- <OutputFile>$(OutDir)$(ProjectName).exe</OutputFile>
- <AdditionalLibraryDirectories>$(QTDIR)\lib;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
- <GenerateDebugInformation>true</GenerateDebugInformation>
- <SubSystem>Windows</SubSystem>
- </Link>
- </ItemDefinitionGroup>
- <ItemGroup>
- <ClCompile Include="foo.cpp" />
- <ClCompile Include="main.cpp" />
- <ClCompile Include="pch.cpp">
- <PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">Create</PrecompiledHeader>
- </ClCompile>
- <ClCompile Include="subfolder\sub.cpp" />
- </ItemGroup>
- <ItemGroup>
- <CustomBuild Include="foo.h">
- <Message Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
- </Message>
- <Command Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
- </Command>
- <AdditionalInputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">%(AdditionalInputs)</AdditionalInputs>
- <Outputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">%(Outputs)</Outputs>
- <Message Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
- </Message>
- <Command Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
- </Command>
- <AdditionalInputs Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">%(AdditionalInputs)</AdditionalInputs>
- <Outputs Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">%(Outputs)</Outputs>
- </CustomBuild>
- <ClInclude Include="pch.h" />
- <ClInclude Include="GeneratedFiles\ui_foo.h" />
- </ItemGroup>
- <ItemGroup>
- <CustomBuild Include="foo.ui">
- <Message Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">Uic%27ing %(FullPath)...</Message>
- <Command Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">"$(QTDIR)\bin\uic.exe" -o ".\GeneratedFiles\ui_foo.h" "%(FullPath)"
-</Command>
- <AdditionalInputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">$(QTDIR)\bin\uic.exe;%(AdditionalInputs)</AdditionalInputs>
- <Outputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">.\GeneratedFiles\ui_foo.h;%(Outputs)</Outputs>
- <Message Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">Uic%27ing %(FullPath)...</Message>
- <Command Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">"$(QTDIR)\bin\uic.exe" -o ".\GeneratedFiles\ui_foo.h" "%(FullPath)"
-</Command>
- <AdditionalInputs Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">$(QTDIR)\bin\uic.exe;%(AdditionalInputs)</AdditionalInputs>
- <Outputs Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">.\GeneratedFiles\ui_foo.h;%(Outputs)</Outputs>
- </CustomBuild>
- <CustomBuild Include="foo.qrc">
- <Message Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
- </Message>
- <Command Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
- </Command>
- <AdditionalInputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">%(AdditionalInputs)</AdditionalInputs>
- <Outputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">%(Outputs)</Outputs>
- <Message Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
- </Message>
- <Command Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
- </Command>
- <AdditionalInputs Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">%(AdditionalInputs)</AdditionalInputs>
- <Outputs Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">%(Outputs)</Outputs>
- </CustomBuild>
- </ItemGroup>
- <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
- <ImportGroup Label="ExtensionTargets">
- </ImportGroup>
- <ProjectExtensions>
- <VisualStudio>
- <UserProperties MocDir=".\GeneratedFiles\$(ConfigurationName)" QtVersion_x0020_Win32="$(DefaultQtVersion)" RccDir=".\GeneratedFiles" UicDir=".\GeneratedFiles" />
- </VisualStudio>
- </ProjectExtensions>
-</Project>
diff --git a/tools/AutoTests/TemplateProjects2010/Test1pch/Check/Check.vcxproj.filters b/tools/AutoTests/TemplateProjects2010/Test1pch/Check/Check.vcxproj.filters
deleted file mode 100644
index 32061ae8..00000000
--- a/tools/AutoTests/TemplateProjects2010/Test1pch/Check/Check.vcxproj.filters
+++ /dev/null
@@ -1,60 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
- <ItemGroup>
- <Filter Include="Source Files">
- <UniqueIdentifier>{4FC737F1-C7A5-4376-A066-2A32D752A2FF}</UniqueIdentifier>
- <Extensions>cpp;cxx;c;def</Extensions>
- </Filter>
- <Filter Include="Header Files">
- <UniqueIdentifier>{93995380-89BD-4b04-88EB-625FBE52EBFB}</UniqueIdentifier>
- <Extensions>h</Extensions>
- </Filter>
- <Filter Include="Form Files">
- <UniqueIdentifier>{99349809-55BA-4b9d-BF79-8FDBB0286EB3}</UniqueIdentifier>
- <Extensions>ui</Extensions>
- </Filter>
- <Filter Include="Resource Files">
- <UniqueIdentifier>{D9D6E242-F8AF-46E4-B9FD-80ECBC20BA3E}</UniqueIdentifier>
- <Extensions>qrc;*</Extensions>
- <ParseFiles>false</ParseFiles>
- </Filter>
- <Filter Include="Generated Files">
- <UniqueIdentifier>{71ED8ED8-ACB9-4CE9-BBE1-E00B30144E11}</UniqueIdentifier>
- <Extensions>moc;h;cpp</Extensions>
- <SourceControlFiles>False</SourceControlFiles>
- </Filter>
- </ItemGroup>
- <ItemGroup>
- <ClCompile Include="foo.cpp">
- <Filter>Source Files</Filter>
- </ClCompile>
- <ClCompile Include="main.cpp">
- <Filter>Source Files</Filter>
- </ClCompile>
- <ClCompile Include="pch.cpp">
- <Filter>Source Files</Filter>
- </ClCompile>
- <ClCompile Include="subfolder\sub.cpp">
- <Filter>Source Files</Filter>
- </ClCompile>
- </ItemGroup>
- <ItemGroup>
- <ClInclude Include="pch.h">
- <Filter>Header Files</Filter>
- </ClInclude>
- <ClInclude Include="GeneratedFiles\ui_foo.h">
- <Filter>Generated Files</Filter>
- </ClInclude>
- </ItemGroup>
- <ItemGroup>
- <CustomBuild Include="foo.h">
- <Filter>Header Files</Filter>
- </CustomBuild>
- <CustomBuild Include="foo.ui">
- <Filter>Form Files</Filter>
- </CustomBuild>
- <CustomBuild Include="foo.qrc">
- <Filter>Resource Files</Filter>
- </CustomBuild>
- </ItemGroup>
-</Project> \ No newline at end of file
diff --git a/tools/AutoTests/TemplateProjects2010/Test1pch/Check/bar.cpp b/tools/AutoTests/TemplateProjects2010/Test1pch/Check/bar.cpp
deleted file mode 100644
index 8cc07981..00000000
--- a/tools/AutoTests/TemplateProjects2010/Test1pch/Check/bar.cpp
+++ /dev/null
@@ -1,12 +0,0 @@
-#include <QtGui/QWidget>
-
-class Bar : public QWidget
-{
- //Q_OBJECT_HERE
-
-public:
- Bar(QWidget *parent = 0, Qt::WFlags flags = 0);
- ~Bar();
-};
-
-//#include "bar.moc" \ No newline at end of file
diff --git a/tools/AutoTests/TemplateProjects2010/Test1pch/Check/foo.cpp b/tools/AutoTests/TemplateProjects2010/Test1pch/Check/foo.cpp
deleted file mode 100644
index 47c71ae6..00000000
--- a/tools/AutoTests/TemplateProjects2010/Test1pch/Check/foo.cpp
+++ /dev/null
@@ -1,14 +0,0 @@
-#include "pch.h"
-#include "foo.h"
-////#CUSTOMINCLUDE
-
-Foo::Foo(QWidget *parent, Qt::WFlags flags)
- : QWidget(parent, flags)
-{
- ui.setupUi(this);
-}
-
-Foo::~Foo()
-{
-
-}
diff --git a/tools/AutoTests/TemplateProjects2010/Test1pch/Check/foo.h b/tools/AutoTests/TemplateProjects2010/Test1pch/Check/foo.h
deleted file mode 100644
index 7e90fef7..00000000
--- a/tools/AutoTests/TemplateProjects2010/Test1pch/Check/foo.h
+++ /dev/null
@@ -1,19 +0,0 @@
-#ifndef FOO_H
-#define FOO_H
-
-#include <QtGui/QWidget>
-#include "ui_foo.h"
-
-class Foo : public QWidget
-{
- //Q_OBJECT_HERE
-
-public:
- Foo(QWidget *parent = 0, Qt::WFlags flags = 0);
- ~Foo();
-
-private:
- Ui::FooClass ui;
-};
-
-#endif // FOO_H
diff --git a/tools/AutoTests/TemplateProjects2010/Test1pch/Check/foo.qrc b/tools/AutoTests/TemplateProjects2010/Test1pch/Check/foo.qrc
deleted file mode 100644
index 18730fee..00000000
--- a/tools/AutoTests/TemplateProjects2010/Test1pch/Check/foo.qrc
+++ /dev/null
@@ -1,4 +0,0 @@
-<RCC>
- <qresource prefix="Foo">
- </qresource>
-</RCC>
diff --git a/tools/AutoTests/TemplateProjects2010/Test1pch/Check/foo.ui b/tools/AutoTests/TemplateProjects2010/Test1pch/Check/foo.ui
deleted file mode 100644
index e7568a8d..00000000
--- a/tools/AutoTests/TemplateProjects2010/Test1pch/Check/foo.ui
+++ /dev/null
@@ -1,23 +0,0 @@
-<UI version="4.0" >
- <class>FooClass</class>
- <widget class="QWidget" name="FooClass" >
- <property name="objectName" >
- <string notr="true">FooClass</string>
- </property>
- <property name="geometry" >
- <rect>
- <x>0</x>
- <y>0</y>
- <width>600</width>
- <height>400</height>
- </rect>
- </property>
- <property name="windowTitle" >
- <string>Foo</string>
- </property>
- </widget>
- <layoutDefault spacing="6" margin="11" />
- <pixmapfunction></pixmapfunction>
- <resources/>
- <connections/>
-</UI>
diff --git a/tools/AutoTests/TemplateProjects2010/Test1pch/Check/main.cpp b/tools/AutoTests/TemplateProjects2010/Test1pch/Check/main.cpp
deleted file mode 100644
index 8140ff4a..00000000
--- a/tools/AutoTests/TemplateProjects2010/Test1pch/Check/main.cpp
+++ /dev/null
@@ -1,25 +0,0 @@
-#include "pch.h"
-#include <QtGui/QApplication>
-#include "foo.h"
-
-class Bar : public QWidget
-{
- //Q_OBJECT_HERE
-
-public:
- Bar(QWidget *parent = 0, Qt::WFlags flags = 0);
- ~Bar();
-
-private:
- Ui::FooClass ui;
-};
-
-int main(int argc, char *argv[])
-{
- QApplication a(argc, argv);
- Foo w;
- w.show();
- return a.exec();
-}
-
-//#include "main.moc"
diff --git a/tools/AutoTests/TemplateProjects2010/Test1pch/Check/pch.cpp b/tools/AutoTests/TemplateProjects2010/Test1pch/Check/pch.cpp
deleted file mode 100644
index 17305716..00000000
--- a/tools/AutoTests/TemplateProjects2010/Test1pch/Check/pch.cpp
+++ /dev/null
@@ -1 +0,0 @@
-#include "pch.h" \ No newline at end of file
diff --git a/tools/AutoTests/TemplateProjects2010/Test1pch/Check/pch.h b/tools/AutoTests/TemplateProjects2010/Test1pch/Check/pch.h
deleted file mode 100644
index e69de29b..00000000
--- a/tools/AutoTests/TemplateProjects2010/Test1pch/Check/pch.h
+++ /dev/null
diff --git a/tools/AutoTests/TemplateProjects2010/Test1pch/Check/subfolder/sub.cpp b/tools/AutoTests/TemplateProjects2010/Test1pch/Check/subfolder/sub.cpp
deleted file mode 100644
index 74c63932..00000000
--- a/tools/AutoTests/TemplateProjects2010/Test1pch/Check/subfolder/sub.cpp
+++ /dev/null
@@ -1,13 +0,0 @@
-#include "pch.h"
-#include <QObject>
-
-class Sub: public QObject
-{
- //Q_OBJECT_HERE
-public:
- Sub(QObject *parent = 0)
- : QObject(parent)
- {}
-};
-
-//#include "sub.moc" \ No newline at end of file
diff --git a/tools/AutoTests/TemplateProjects2010/Test1pch/Check/test.cpp b/tools/AutoTests/TemplateProjects2010/Test1pch/Check/test.cpp
deleted file mode 100644
index 91ab081c..00000000
--- a/tools/AutoTests/TemplateProjects2010/Test1pch/Check/test.cpp
+++ /dev/null
@@ -1 +0,0 @@
-#include "test.h" \ No newline at end of file
diff --git a/tools/AutoTests/TemplateProjects2010/Test1pch/Check/test.h b/tools/AutoTests/TemplateProjects2010/Test1pch/Check/test.h
deleted file mode 100644
index e69de29b..00000000
--- a/tools/AutoTests/TemplateProjects2010/Test1pch/Check/test.h
+++ /dev/null
diff --git a/tools/AutoTests/TemplateProjects2010/Test1pch/Test1pch.sln b/tools/AutoTests/TemplateProjects2010/Test1pch/Test1pch.sln
deleted file mode 100644
index 845a2a28..00000000
--- a/tools/AutoTests/TemplateProjects2010/Test1pch/Test1pch.sln
+++ /dev/null
@@ -1,23 +0,0 @@
-
-Microsoft Visual Studio Solution File, Format Version 11.00
-# Visual Studio 2010
-Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Test1", "Check\Check.vcxproj", "{ADA1D5AA-949B-46E9-AA9E-10D2D5ECA5B0}"
-EndProject
-Global
- GlobalSection(SolutionConfigurationPlatforms) = preSolution
- Debug|Win32 = Debug|Win32
- Release|Win32 = Release|Win32
- EndGlobalSection
- GlobalSection(ProjectConfigurationPlatforms) = postSolution
- {ADA1D5AA-949B-46E9-AA9E-10D2D5ECA5B0}.Debug|Win32.ActiveCfg = Debug|Win32
- {ADA1D5AA-949B-46E9-AA9E-10D2D5ECA5B0}.Debug|Win32.Build.0 = Debug|Win32
- {ADA1D5AA-949B-46E9-AA9E-10D2D5ECA5B0}.Release|Win32.ActiveCfg = Release|Win32
- {ADA1D5AA-949B-46E9-AA9E-10D2D5ECA5B0}.Release|Win32.Build.0 = Release|Win32
- EndGlobalSection
- GlobalSection(SolutionProperties) = preSolution
- HideSolutionNode = FALSE
- EndGlobalSection
- GlobalSection(Qt) = preSolution
- Integration = True
- EndGlobalSection
-EndGlobal
diff --git a/tools/AutoTests/TemplateProjects2010/Test2/Check/Check.vcxproj b/tools/AutoTests/TemplateProjects2010/Test2/Check/Check.vcxproj
deleted file mode 100644
index 0b81fa61..00000000
--- a/tools/AutoTests/TemplateProjects2010/Test2/Check/Check.vcxproj
+++ /dev/null
@@ -1,180 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
- <ItemGroup Label="ProjectConfigurations">
- <ProjectConfiguration Include="Debug|Win32">
- <Configuration>Debug</Configuration>
- <Platform>Win32</Platform>
- </ProjectConfiguration>
- <ProjectConfiguration Include="Release|Win32">
- <Configuration>Release</Configuration>
- <Platform>Win32</Platform>
- </ProjectConfiguration>
- </ItemGroup>
- <PropertyGroup Label="Globals">
- <ProjectName>Test2</ProjectName>
- <ProjectGuid>{ADA1D5AA-949B-46E9-AA9E-10D2D5ECA5B0}</ProjectGuid>
- <RootNamespace>Check</RootNamespace>
- <Keyword>Qt4VSv1.0</Keyword>
- </PropertyGroup>
- <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
- <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
- <ConfigurationType>Application</ConfigurationType>
- </PropertyGroup>
- <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
- <ConfigurationType>Application</ConfigurationType>
- </PropertyGroup>
- <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
- <ImportGroup Label="ExtensionSettings">
- </ImportGroup>
- <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="PropertySheets">
- <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
- <Import Project="Qt4VSPropertySheet.props" />
- </ImportGroup>
- <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="PropertySheets">
- <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
- <Import Project="Qt4VSPropertySheet.props" />
- </ImportGroup>
- <PropertyGroup Label="UserMacros" />
- <PropertyGroup>
- <_ProjectFileVersion>10.0.30319.1</_ProjectFileVersion>
- <OutDir Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">$(SolutionDir)$(Configuration)\</OutDir>
- <OutDir Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">$(SolutionDir)$(Configuration)\</OutDir>
- <IntDir Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">$(Configuration)\</IntDir>
- </PropertyGroup>
- <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
- <ClCompile>
- <AdditionalIncludeDirectories>.\GeneratedFiles;$(QTDIR)\include;.\GeneratedFiles\$(Configuration);$(QTDIR)\include\QtCore;$(QTDIR)\include\QtGui;.\GeneratedFiles\$(ConfigurationName);%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
- <PreprocessorDefinitions>UNICODE;WIN32;QT_THREAD_SUPPORT;QT_NO_DEBUG;NDEBUG;QT_CORE_LIB;QT_GUI_LIB;%(PreprocessorDefinitions)</PreprocessorDefinitions>
- <RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>
- <TreatWChar_tAsBuiltInType>false</TreatWChar_tAsBuiltInType>
- <DebugInformationFormat>
- </DebugInformationFormat>
- </ClCompile>
- <Link>
- <AdditionalDependencies>qtmain.lib;QtCore4.lib;QtGui4.lib;%(AdditionalDependencies)</AdditionalDependencies>
- <OutputFile>$(OutDir)$(ProjectName).exe</OutputFile>
- <AdditionalLibraryDirectories>$(QTDIR)\lib;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
- <GenerateDebugInformation>false</GenerateDebugInformation>
- <SubSystem>Windows</SubSystem>
- </Link>
- </ItemDefinitionGroup>
- <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
- <ClCompile>
- <Optimization>Disabled</Optimization>
- <AdditionalIncludeDirectories>.\GeneratedFiles;$(QTDIR)\include;.\GeneratedFiles\$(Configuration);$(QTDIR)\include\QtCore;$(QTDIR)\include\QtGui;.\GeneratedFiles\$(ConfigurationName);%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
- <PreprocessorDefinitions>UNICODE;WIN32;QT_THREAD_SUPPORT;QT_CORE_LIB;QT_GUI_LIB;%(PreprocessorDefinitions)</PreprocessorDefinitions>
- <RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary>
- <TreatWChar_tAsBuiltInType>false</TreatWChar_tAsBuiltInType>
- <DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
- </ClCompile>
- <Link>
- <AdditionalDependencies>qtmaind.lib;QtCored4.lib;QtGuid4.lib;%(AdditionalDependencies)</AdditionalDependencies>
- <OutputFile>$(OutDir)$(ProjectName).exe</OutputFile>
- <AdditionalLibraryDirectories>$(QTDIR)\lib;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
- <GenerateDebugInformation>true</GenerateDebugInformation>
- <SubSystem>Windows</SubSystem>
- </Link>
- </ItemDefinitionGroup>
- <ItemGroup>
- <ClCompile Include="foo.cpp" />
- <ClCompile Include="GeneratedFiles\Debug\moc_foo.cpp">
- <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">true</ExcludedFromBuild>
- </ClCompile>
- <ClCompile Include="GeneratedFiles\Release\moc_foo.cpp">
- <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</ExcludedFromBuild>
- </ClCompile>
- <ClCompile Include="main.cpp" />
- <ClCompile Include="subfolder\sub.cpp" />
- <ClCompile Include="test.cpp" />
- </ItemGroup>
- <ItemGroup>
- <CustomBuild Include="foo.h">
- <Message Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">Moc%27ing %(Identity)...</Message>
- <Command Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">"$(QTDIR)\bin\moc.exe" "%(FullPath)" -o ".\GeneratedFiles\$(ConfigurationName)\moc_%(Filename).cpp" "-I$(QTDIR)\include" "-I$(QTDIR)\include\QtCore" "-I$(QTDIR)\include\QtGui" "-I." "-I.\GeneratedFiles" "-I.\GeneratedFiles\$(Configuration)\." "-I.\GeneratedFiles\$(ConfigurationName)\." -DQT_CORE_LIB -DQT_GUI_LIB -DQT_THREAD_SUPPORT -DUNICODE -DWIN32</Command>
- <AdditionalInputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">$(QTDIR)\bin\moc.exe;%(FullPath);%(AdditionalInputs)</AdditionalInputs>
- <Outputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">.\GeneratedFiles\$(ConfigurationName)\moc_%(Filename).cpp;%(Outputs)</Outputs>
- <Message Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">Moc%27ing %(Identity)...</Message>
- <Command Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">"$(QTDIR)\bin\moc.exe" "%(FullPath)" -o ".\GeneratedFiles\$(ConfigurationName)\moc_%(Filename).cpp" "-I$(QTDIR)\include" "-I$(QTDIR)\include\QtCore" "-I$(QTDIR)\include\QtGui" "-I." "-I.\GeneratedFiles" "-I.\GeneratedFiles\$(Configuration)\." "-I.\GeneratedFiles\$(ConfigurationName)\." -DNDEBUG -DQT_CORE_LIB -DQT_GUI_LIB -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -DUNICODE -DWIN32</Command>
- <AdditionalInputs Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">$(QTDIR)\bin\moc.exe;%(FullPath);%(AdditionalInputs)</AdditionalInputs>
- <Outputs Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">.\GeneratedFiles\$(ConfigurationName)\moc_%(Filename).cpp;%(Outputs)</Outputs>
- </CustomBuild>
- <ClInclude Include="test.h" />
- <ClInclude Include="GeneratedFiles\ui_foo.h" />
- </ItemGroup>
- <ItemGroup>
- <CustomBuild Include="foo.ui">
- <Message Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">Uic%27ing %(FullPath)...</Message>
- <Command Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">"$(QTDIR)\bin\uic.exe" -o ".\GeneratedFiles\ui_foo.h" "%(FullPath)"
-</Command>
- <AdditionalInputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">$(QTDIR)\bin\uic.exe;%(AdditionalInputs)</AdditionalInputs>
- <Outputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">.\GeneratedFiles\ui_foo.h;%(Outputs)</Outputs>
- <Message Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">Uic%27ing %(FullPath)...</Message>
- <Command Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">"$(QTDIR)\bin\uic.exe" -o ".\GeneratedFiles\ui_foo.h" "%(FullPath)"
-</Command>
- <AdditionalInputs Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">$(QTDIR)\bin\uic.exe;%(AdditionalInputs)</AdditionalInputs>
- <Outputs Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">.\GeneratedFiles\ui_foo.h;%(Outputs)</Outputs>
- </CustomBuild>
- <CustomBuild Include="foo.qrc">
- <Message Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
- </Message>
- <Command Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
- </Command>
- <AdditionalInputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">%(AdditionalInputs)</AdditionalInputs>
- <Outputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">%(Outputs)</Outputs>
- <Message Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
- </Message>
- <Command Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
- </Command>
- <AdditionalInputs Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">%(AdditionalInputs)</AdditionalInputs>
- <Outputs Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">%(Outputs)</Outputs>
- </CustomBuild>
- </ItemGroup>
- <ItemGroup>
- <CustomBuild Include="GeneratedFiles\Debug\main.moc">
- <FileType>Document</FileType>
- <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">true</ExcludedFromBuild>
- <AdditionalInputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">$(QTDIR)\bin\moc.exe;.\main.cpp</AdditionalInputs>
- <Message Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">Moc%27ing %(Identity)...</Message>
- <Outputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">.\GeneratedFiles\$(ConfigurationName)\%(Filename).moc</Outputs>
- <Command Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">"$(QTDIR)\bin\moc.exe" ".\main.cpp" -o ".\GeneratedFiles\$(ConfigurationName)\%(Filename).moc" "-I$(QTDIR)\include" "-I$(QTDIR)\include\QtCore" "-I$(QTDIR)\include\QtGui" "-I." "-I.\GeneratedFiles" "-I.\GeneratedFiles\$(Configuration)\." "-I.\GeneratedFiles\$(ConfigurationName)\." -DQT_CORE_LIB -DQT_GUI_LIB -DQT_THREAD_SUPPORT -DUNICODE -DWIN32</Command>
- </CustomBuild>
- </ItemGroup>
- <ItemGroup>
- <CustomBuild Include="GeneratedFiles\Release\main.moc">
- <FileType>Document</FileType>
- <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</ExcludedFromBuild>
- <AdditionalInputs Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">$(QTDIR)\bin\moc.exe;.\main.cpp</AdditionalInputs>
- <Message Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">Moc%27ing %(Identity)...</Message>
- <Outputs Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">.\GeneratedFiles\$(ConfigurationName)\%(Filename).moc</Outputs>
- <Command Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">"$(QTDIR)\bin\moc.exe" ".\main.cpp" -o ".\GeneratedFiles\$(ConfigurationName)\%(Filename).moc" "-I$(QTDIR)\include" "-I$(QTDIR)\include\QtCore" "-I$(QTDIR)\include\QtGui" "-I." "-I.\GeneratedFiles" "-I.\GeneratedFiles\$(Configuration)\." "-I.\GeneratedFiles\$(ConfigurationName)\." -DNDEBUG -DQT_CORE_LIB -DQT_GUI_LIB -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -DUNICODE -DWIN32</Command>
- </CustomBuild>
- </ItemGroup>
- <ItemGroup>
- <CustomBuild Include="GeneratedFiles\Debug\sub.moc">
- <FileType>Document</FileType>
- <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">true</ExcludedFromBuild>
- <AdditionalInputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">$(QTDIR)\bin\moc.exe;.\subfolder\sub.cpp</AdditionalInputs>
- <Message Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">Moc%27ing %(Identity)...</Message>
- <Outputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">.\GeneratedFiles\$(ConfigurationName)\%(Filename).moc</Outputs>
- <Command Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">"$(QTDIR)\bin\moc.exe" ".\subfolder\sub.cpp" -o ".\GeneratedFiles\$(ConfigurationName)\%(Filename).moc" "-I$(QTDIR)\include" "-I$(QTDIR)\include\QtCore" "-I$(QTDIR)\include\QtGui" "-I." "-I.\GeneratedFiles" "-I.\GeneratedFiles\$(Configuration)\." "-I.\GeneratedFiles\$(ConfigurationName)\." -DQT_CORE_LIB -DQT_GUI_LIB -DQT_THREAD_SUPPORT -DUNICODE -DWIN32</Command>
- </CustomBuild>
- </ItemGroup>
- <ItemGroup>
- <CustomBuild Include="GeneratedFiles\Release\sub.moc">
- <FileType>Document</FileType>
- <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</ExcludedFromBuild>
- <AdditionalInputs Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">$(QTDIR)\bin\moc.exe;.\subfolder\sub.cpp</AdditionalInputs>
- <Message Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">Moc%27ing %(Identity)...</Message>
- <Outputs Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">.\GeneratedFiles\$(ConfigurationName)\%(Filename).moc</Outputs>
- <Command Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">"$(QTDIR)\bin\moc.exe" ".\subfolder\sub.cpp" -o ".\GeneratedFiles\$(ConfigurationName)\%(Filename).moc" "-I$(QTDIR)\include" "-I$(QTDIR)\include\QtCore" "-I$(QTDIR)\include\QtGui" "-I." "-I.\GeneratedFiles" "-I.\GeneratedFiles\$(Configuration)\." "-I.\GeneratedFiles\$(ConfigurationName)\." -DNDEBUG -DQT_CORE_LIB -DQT_GUI_LIB -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -DUNICODE -DWIN32</Command>
- </CustomBuild>
- </ItemGroup>
- <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
- <ImportGroup Label="ExtensionTargets">
- </ImportGroup>
- <ProjectExtensions>
- <VisualStudio>
- <UserProperties MocDir=".\GeneratedFiles\$(ConfigurationName)" QtVersion_x0020_Win32="$(DefaultQtVersion)" RccDir=".\GeneratedFiles" UicDir=".\GeneratedFiles" />
- </VisualStudio>
- </ProjectExtensions>
-</Project>
diff --git a/tools/AutoTests/TemplateProjects2010/Test2/Check/Check.vcxproj.filters b/tools/AutoTests/TemplateProjects2010/Test2/Check/Check.vcxproj.filters
deleted file mode 100644
index 4771ab1c..00000000
--- a/tools/AutoTests/TemplateProjects2010/Test2/Check/Check.vcxproj.filters
+++ /dev/null
@@ -1,88 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
- <ItemGroup>
- <Filter Include="Source Files">
- <UniqueIdentifier>{4FC737F1-C7A5-4376-A066-2A32D752A2FF}</UniqueIdentifier>
- <Extensions>cpp;cxx;c;def</Extensions>
- </Filter>
- <Filter Include="Header Files">
- <UniqueIdentifier>{93995380-89BD-4b04-88EB-625FBE52EBFB}</UniqueIdentifier>
- <Extensions>h</Extensions>
- </Filter>
- <Filter Include="Form Files">
- <UniqueIdentifier>{99349809-55BA-4b9d-BF79-8FDBB0286EB3}</UniqueIdentifier>
- <Extensions>ui</Extensions>
- </Filter>
- <Filter Include="Resource Files">
- <UniqueIdentifier>{D9D6E242-F8AF-46E4-B9FD-80ECBC20BA3E}</UniqueIdentifier>
- <Extensions>qrc;*</Extensions>
- <ParseFiles>false</ParseFiles>
- </Filter>
- <Filter Include="Generated Files">
- <UniqueIdentifier>{71ED8ED8-ACB9-4CE9-BBE1-E00B30144E11}</UniqueIdentifier>
- <Extensions>moc;h;cpp</Extensions>
- <SourceControlFiles>False</SourceControlFiles>
- </Filter>
- <Filter Include="Generated Files\Release">
- <UniqueIdentifier>{9371ce52-4240-42c1-b82d-7b5b7f6b100a}</UniqueIdentifier>
- <Extensions>cpp;moc</Extensions>
- <SourceControlFiles>False</SourceControlFiles>
- </Filter>
- <Filter Include="Generated Files\Debug">
- <UniqueIdentifier>{0ade9c32-7c8c-440b-92e6-dbbf03ea0032}</UniqueIdentifier>
- <Extensions>cpp;moc</Extensions>
- <SourceControlFiles>False</SourceControlFiles>
- </Filter>
- </ItemGroup>
- <ItemGroup>
- <ClCompile Include="foo.cpp">
- <Filter>Source Files</Filter>
- </ClCompile>
- <ClCompile Include="main.cpp">
- <Filter>Source Files</Filter>
- </ClCompile>
- <ClCompile Include="subfolder\sub.cpp">
- <Filter>Source Files</Filter>
- </ClCompile>
- <ClCompile Include="test.cpp">
- <Filter>Source Files</Filter>
- </ClCompile>
- <ClCompile Include="GeneratedFiles\Debug\moc_foo.cpp">
- <Filter>Generated Files\Debug</Filter>
- </ClCompile>
- <ClCompile Include="GeneratedFiles\Release\moc_foo.cpp">
- <Filter>Generated Files\Release</Filter>
- </ClCompile>
- </ItemGroup>
- <ItemGroup>
- <ClInclude Include="test.h">
- <Filter>Header Files</Filter>
- </ClInclude>
- <ClInclude Include="GeneratedFiles\ui_foo.h">
- <Filter>Generated Files</Filter>
- </ClInclude>
- </ItemGroup>
- <ItemGroup>
- <CustomBuild Include="foo.h">
- <Filter>Header Files</Filter>
- </CustomBuild>
- <CustomBuild Include="foo.ui">
- <Filter>Form Files</Filter>
- </CustomBuild>
- <CustomBuild Include="foo.qrc">
- <Filter>Resource Files</Filter>
- </CustomBuild>
- <CustomBuild Include="GeneratedFiles\Debug\main.moc">
- <Filter>Generated Files\Debug</Filter>
- </CustomBuild>
- <CustomBuild Include="GeneratedFiles\Release\main.moc">
- <Filter>Generated Files\Release</Filter>
- </CustomBuild>
- <CustomBuild Include="GeneratedFiles\Debug\sub.moc">
- <Filter>Generated Files\Debug</Filter>
- </CustomBuild>
- <CustomBuild Include="GeneratedFiles\Release\sub.moc">
- <Filter>Generated Files\Release</Filter>
- </CustomBuild>
- </ItemGroup>
-</Project> \ No newline at end of file
diff --git a/tools/AutoTests/TemplateProjects2010/Test2/Check/bar.cpp b/tools/AutoTests/TemplateProjects2010/Test2/Check/bar.cpp
deleted file mode 100644
index 7377a16b..00000000
--- a/tools/AutoTests/TemplateProjects2010/Test2/Check/bar.cpp
+++ /dev/null
@@ -1,12 +0,0 @@
-#include <QtGui/QWidget>
-
-class Bar : public QWidget
-{
- Q_OBJECT
-
-public:
- Bar(QWidget *parent = 0, Qt::WFlags flags = 0);
- ~Bar();
-};
-
-#include "bar.moc" \ No newline at end of file
diff --git a/tools/AutoTests/TemplateProjects2010/Test2/Check/foo.cpp b/tools/AutoTests/TemplateProjects2010/Test2/Check/foo.cpp
deleted file mode 100644
index 36697238..00000000
--- a/tools/AutoTests/TemplateProjects2010/Test2/Check/foo.cpp
+++ /dev/null
@@ -1,14 +0,0 @@
-//#include "test.h"
-#include "foo.h"
-////#CUSTOMINCLUDE
-
-Foo::Foo(QWidget *parent, Qt::WFlags flags)
- : QWidget(parent, flags)
-{
- ui.setupUi(this);
-}
-
-Foo::~Foo()
-{
-
-}
diff --git a/tools/AutoTests/TemplateProjects2010/Test2/Check/foo.h b/tools/AutoTests/TemplateProjects2010/Test2/Check/foo.h
deleted file mode 100644
index ff46f40a..00000000
--- a/tools/AutoTests/TemplateProjects2010/Test2/Check/foo.h
+++ /dev/null
@@ -1,19 +0,0 @@
-#ifndef FOO_H
-#define FOO_H
-
-#include <QtGui/QWidget>
-#include "ui_foo.h"
-
-class Foo : public QWidget
-{
- Q_OBJECT
-
-public:
- Foo(QWidget *parent = 0, Qt::WFlags flags = 0);
- ~Foo();
-
-private:
- Ui::FooClass ui;
-};
-
-#endif // FOO_H
diff --git a/tools/AutoTests/TemplateProjects2010/Test2/Check/foo.qrc b/tools/AutoTests/TemplateProjects2010/Test2/Check/foo.qrc
deleted file mode 100644
index 18730fee..00000000
--- a/tools/AutoTests/TemplateProjects2010/Test2/Check/foo.qrc
+++ /dev/null
@@ -1,4 +0,0 @@
-<RCC>
- <qresource prefix="Foo">
- </qresource>
-</RCC>
diff --git a/tools/AutoTests/TemplateProjects2010/Test2/Check/foo.ui b/tools/AutoTests/TemplateProjects2010/Test2/Check/foo.ui
deleted file mode 100644
index e7568a8d..00000000
--- a/tools/AutoTests/TemplateProjects2010/Test2/Check/foo.ui
+++ /dev/null
@@ -1,23 +0,0 @@
-<UI version="4.0" >
- <class>FooClass</class>
- <widget class="QWidget" name="FooClass" >
- <property name="objectName" >
- <string notr="true">FooClass</string>
- </property>
- <property name="geometry" >
- <rect>
- <x>0</x>
- <y>0</y>
- <width>600</width>
- <height>400</height>
- </rect>
- </property>
- <property name="windowTitle" >
- <string>Foo</string>
- </property>
- </widget>
- <layoutDefault spacing="6" margin="11" />
- <pixmapfunction></pixmapfunction>
- <resources/>
- <connections/>
-</UI>
diff --git a/tools/AutoTests/TemplateProjects2010/Test2/Check/main.cpp b/tools/AutoTests/TemplateProjects2010/Test2/Check/main.cpp
deleted file mode 100644
index 56d1fd1a..00000000
--- a/tools/AutoTests/TemplateProjects2010/Test2/Check/main.cpp
+++ /dev/null
@@ -1,25 +0,0 @@
-//#include "test.h"
-#include <QtGui/QApplication>
-#include "foo.h"
-
-class Bar : public QWidget
-{
- Q_OBJECT
-
-public:
- Bar(QWidget *parent = 0, Qt::WFlags flags = 0);
- ~Bar();
-
-private:
- Ui::FooClass ui;
-};
-
-int main(int argc, char *argv[])
-{
- QApplication a(argc, argv);
- Foo w;
- w.show();
- return a.exec();
-}
-
-#include "main.moc"
diff --git a/tools/AutoTests/TemplateProjects2010/Test2/Check/subfolder/sub.cpp b/tools/AutoTests/TemplateProjects2010/Test2/Check/subfolder/sub.cpp
deleted file mode 100644
index f607f00b..00000000
--- a/tools/AutoTests/TemplateProjects2010/Test2/Check/subfolder/sub.cpp
+++ /dev/null
@@ -1,13 +0,0 @@
-//#include "test.h"
-#include <QObject>
-
-class Sub: public QObject
-{
- Q_OBJECT
-public:
- Sub(QObject *parent = 0)
- : QObject(parent)
- {}
-};
-
-#include "sub.moc" \ No newline at end of file
diff --git a/tools/AutoTests/TemplateProjects2010/Test2/Check/test.cpp b/tools/AutoTests/TemplateProjects2010/Test2/Check/test.cpp
deleted file mode 100644
index 91ab081c..00000000
--- a/tools/AutoTests/TemplateProjects2010/Test2/Check/test.cpp
+++ /dev/null
@@ -1 +0,0 @@
-#include "test.h" \ No newline at end of file
diff --git a/tools/AutoTests/TemplateProjects2010/Test2/Check/test.h b/tools/AutoTests/TemplateProjects2010/Test2/Check/test.h
deleted file mode 100644
index e69de29b..00000000
--- a/tools/AutoTests/TemplateProjects2010/Test2/Check/test.h
+++ /dev/null
diff --git a/tools/AutoTests/TemplateProjects2010/Test2/Test2.sln b/tools/AutoTests/TemplateProjects2010/Test2/Test2.sln
deleted file mode 100644
index 165a8d99..00000000
--- a/tools/AutoTests/TemplateProjects2010/Test2/Test2.sln
+++ /dev/null
@@ -1,23 +0,0 @@
-
-Microsoft Visual Studio Solution File, Format Version 11.00
-# Visual Studio 2010
-Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Test2", "Check\Check.vcxproj", "{ADA1D5AA-949B-46E9-AA9E-10D2D5ECA5B0}"
-EndProject
-Global
- GlobalSection(SolutionConfigurationPlatforms) = preSolution
- Debug|Win32 = Debug|Win32
- Release|Win32 = Release|Win32
- EndGlobalSection
- GlobalSection(ProjectConfigurationPlatforms) = postSolution
- {ADA1D5AA-949B-46E9-AA9E-10D2D5ECA5B0}.Debug|Win32.ActiveCfg = Debug|Win32
- {ADA1D5AA-949B-46E9-AA9E-10D2D5ECA5B0}.Debug|Win32.Build.0 = Debug|Win32
- {ADA1D5AA-949B-46E9-AA9E-10D2D5ECA5B0}.Release|Win32.ActiveCfg = Release|Win32
- {ADA1D5AA-949B-46E9-AA9E-10D2D5ECA5B0}.Release|Win32.Build.0 = Release|Win32
- EndGlobalSection
- GlobalSection(SolutionProperties) = preSolution
- HideSolutionNode = FALSE
- EndGlobalSection
- GlobalSection(Qt) = preSolution
- Integration = True
- EndGlobalSection
-EndGlobal
diff --git a/tools/AutoTests/TemplateProjects2010/Test2pch/Check/Check.vcxproj b/tools/AutoTests/TemplateProjects2010/Test2pch/Check/Check.vcxproj
deleted file mode 100644
index c71611c6..00000000
--- a/tools/AutoTests/TemplateProjects2010/Test2pch/Check/Check.vcxproj
+++ /dev/null
@@ -1,184 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
- <ItemGroup Label="ProjectConfigurations">
- <ProjectConfiguration Include="Debug|Win32">
- <Configuration>Debug</Configuration>
- <Platform>Win32</Platform>
- </ProjectConfiguration>
- <ProjectConfiguration Include="Release|Win32">
- <Configuration>Release</Configuration>
- <Platform>Win32</Platform>
- </ProjectConfiguration>
- </ItemGroup>
- <PropertyGroup Label="Globals">
- <ProjectName>Test2</ProjectName>
- <ProjectGuid>{ADA1D5AA-949B-46E9-AA9E-10D2D5ECA5B0}</ProjectGuid>
- <RootNamespace>Check</RootNamespace>
- <Keyword>Qt4VSv1.0</Keyword>
- </PropertyGroup>
- <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
- <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
- <ConfigurationType>Application</ConfigurationType>
- </PropertyGroup>
- <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
- <ConfigurationType>Application</ConfigurationType>
- </PropertyGroup>
- <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
- <ImportGroup Label="ExtensionSettings">
- </ImportGroup>
- <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="PropertySheets">
- <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
- </ImportGroup>
- <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="PropertySheets">
- <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
- </ImportGroup>
- <PropertyGroup Label="UserMacros" />
- <PropertyGroup>
- <_ProjectFileVersion>10.0.30319.1</_ProjectFileVersion>
- <OutDir Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">$(SolutionDir)$(Configuration)\</OutDir>
- <OutDir Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">$(SolutionDir)$(Configuration)\</OutDir>
- <IntDir Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">$(Configuration)\</IntDir>
- </PropertyGroup>
- <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
- <ClCompile>
- <AdditionalIncludeDirectories>.\GeneratedFiles;$(QTDIR)\include;.\GeneratedFiles\$(Configuration);.;$(QTDIR)\include\QtCore;$(QTDIR)\include\QtGui;.\GeneratedFiles\$(ConfigurationName);%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
- <PreprocessorDefinitions>UNICODE;WIN32;QT_THREAD_SUPPORT;QT_NO_DEBUG;NDEBUG;QT_CORE_LIB;QT_GUI_LIB;%(PreprocessorDefinitions)</PreprocessorDefinitions>
- <RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>
- <TreatWChar_tAsBuiltInType>false</TreatWChar_tAsBuiltInType>
- <DebugInformationFormat>
- </DebugInformationFormat>
- </ClCompile>
- <Link>
- <AdditionalDependencies>qtmain.lib;QtCore4.lib;QtGui4.lib;%(AdditionalDependencies)</AdditionalDependencies>
- <OutputFile>$(OutDir)$(ProjectName).exe</OutputFile>
- <AdditionalLibraryDirectories>$(QTDIR)\lib;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
- <GenerateDebugInformation>false</GenerateDebugInformation>
- <SubSystem>Windows</SubSystem>
- </Link>
- </ItemDefinitionGroup>
- <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
- <ClCompile>
- <Optimization>Disabled</Optimization>
- <AdditionalIncludeDirectories>.\GeneratedFiles;$(QTDIR)\include;.\GeneratedFiles\$(Configuration);.;$(QTDIR)\include\QtCore;$(QTDIR)\include\QtGui;.\GeneratedFiles\$(ConfigurationName);%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
- <PreprocessorDefinitions>UNICODE;WIN32;QT_THREAD_SUPPORT;QT_CORE_LIB;QT_GUI_LIB;%(PreprocessorDefinitions)</PreprocessorDefinitions>
- <RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary>
- <TreatWChar_tAsBuiltInType>false</TreatWChar_tAsBuiltInType>
- <PrecompiledHeader>Use</PrecompiledHeader>
- <PrecompiledHeaderFile>pch.h</PrecompiledHeaderFile>
- <DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
- </ClCompile>
- <Link>
- <AdditionalDependencies>qtmaind.lib;QtCored4.lib;QtGuid4.lib;%(AdditionalDependencies)</AdditionalDependencies>
- <OutputFile>$(OutDir)$(ProjectName).exe</OutputFile>
- <AdditionalLibraryDirectories>$(QTDIR)\lib;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
- <GenerateDebugInformation>true</GenerateDebugInformation>
- <SubSystem>Windows</SubSystem>
- </Link>
- </ItemDefinitionGroup>
- <ItemGroup>
- <ClCompile Include="foo.cpp" />
- <ClCompile Include="GeneratedFiles\Debug\moc_foo.cpp">
- <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">true</ExcludedFromBuild>
- </ClCompile>
- <ClCompile Include="GeneratedFiles\Release\moc_foo.cpp">
- <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</ExcludedFromBuild>
- </ClCompile>
- <ClCompile Include="main.cpp" />
- <ClCompile Include="pch.cpp">
- <PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">Create</PrecompiledHeader>
- </ClCompile>
- <ClCompile Include="subfolder\sub.cpp" />
- <ClCompile Include="test.cpp" />
- </ItemGroup>
- <ItemGroup>
- <CustomBuild Include="foo.h">
- <Message Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">Moc%27ing %(Identity)...</Message>
- <Command Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">"$(QTDIR)\bin\moc.exe" "%(FullPath)" -o ".\GeneratedFiles\$(ConfigurationName)\moc_%(Filename).cpp" "-fpch.h" "-f..\..\foo.h"</Command>
- <AdditionalInputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">$(QTDIR)\bin\moc.exe;%(FullPath);%(AdditionalInputs)</AdditionalInputs>
- <Outputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">.\GeneratedFiles\$(ConfigurationName)\moc_%(Filename).cpp;%(Outputs)</Outputs>
- <Message Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">Moc%27ing %(Identity)...</Message>
- <Command Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">"$(QTDIR)\bin\moc.exe" "%(FullPath)" -o ".\GeneratedFiles\$(ConfigurationName)\moc_%(Filename).cpp"</Command>
- <AdditionalInputs Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">$(QTDIR)\bin\moc.exe;%(FullPath);%(AdditionalInputs)</AdditionalInputs>
- <Outputs Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">.\GeneratedFiles\$(ConfigurationName)\moc_%(Filename).cpp;%(Outputs)</Outputs>
- </CustomBuild>
- <ClInclude Include="pch.h" />
- <ClInclude Include="test.h" />
- <ClInclude Include="GeneratedFiles\ui_foo.h" />
- </ItemGroup>
- <ItemGroup>
- <CustomBuild Include="foo.ui">
- <Message Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">Uic%27ing %(FullPath)...</Message>
- <Command Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">"$(QTDIR)\bin\uic.exe" -o ".\GeneratedFiles\ui_foo.h" "%(FullPath)"
-</Command>
- <AdditionalInputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">$(QTDIR)\bin\uic.exe;%(AdditionalInputs)</AdditionalInputs>
- <Outputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">.\GeneratedFiles\ui_foo.h;%(Outputs)</Outputs>
- <Message Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">Uic%27ing %(FullPath)...</Message>
- <Command Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">"$(QTDIR)\bin\uic.exe" -o ".\GeneratedFiles\ui_foo.h" "%(FullPath)"
-</Command>
- <AdditionalInputs Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">$(QTDIR)\bin\uic.exe;%(AdditionalInputs)</AdditionalInputs>
- <Outputs Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">.\GeneratedFiles\ui_foo.h;%(Outputs)</Outputs>
- </CustomBuild>
- <CustomBuild Include="foo.qrc">
- <Message Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
- </Message>
- <Command Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
- </Command>
- <AdditionalInputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">%(AdditionalInputs)</AdditionalInputs>
- <Outputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">%(Outputs)</Outputs>
- <Message Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
- </Message>
- <Command Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
- </Command>
- <AdditionalInputs Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">%(AdditionalInputs)</AdditionalInputs>
- <Outputs Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">%(Outputs)</Outputs>
- </CustomBuild>
- </ItemGroup>
- <ItemGroup>
- <CustomBuild Include="GeneratedFiles\Debug\main.moc">
- <FileType>Document</FileType>
- <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">true</ExcludedFromBuild>
- <AdditionalInputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">$(QTDIR)\bin\moc.exe;.\main.cpp</AdditionalInputs>
- <Message Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">Moc%27ing %(Identity)...</Message>
- <Outputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">.\GeneratedFiles\$(ConfigurationName)\%(Filename).moc</Outputs>
- <Command Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">"$(QTDIR)\bin\moc.exe" ".\main.cpp" -o ".\GeneratedFiles\$(ConfigurationName)\%(Filename).moc" </Command>
- </CustomBuild>
- </ItemGroup>
- <ItemGroup>
- <CustomBuild Include="GeneratedFiles\Release\main.moc">
- <FileType>Document</FileType>
- <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</ExcludedFromBuild>
- <AdditionalInputs Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">$(QTDIR)\bin\moc.exe;.\main.cpp</AdditionalInputs>
- <Message Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">Moc%27ing %(Identity)...</Message>
- <Outputs Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">.\GeneratedFiles\$(ConfigurationName)\%(Filename).moc</Outputs>
- <Command Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">"$(QTDIR)\bin\moc.exe" ".\main.cpp" -o ".\GeneratedFiles\$(ConfigurationName)\%(Filename).moc"</Command>
- </CustomBuild>
- </ItemGroup>
- <ItemGroup>
- <CustomBuild Include="GeneratedFiles\Debug\sub.moc">
- <FileType>Document</FileType>
- <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">true</ExcludedFromBuild>
- <AdditionalInputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">$(QTDIR)\bin\moc.exe;.\subfolder\sub.cpp</AdditionalInputs>
- <Message Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">Moc%27ing %(Identity)...</Message>
- <Outputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">.\GeneratedFiles\$(ConfigurationName)\%(Filename).moc</Outputs>
- <Command Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">"$(QTDIR)\bin\moc.exe" ".\subfolder\sub.cpp" -o ".\GeneratedFiles\$(ConfigurationName)\%(Filename).moc" </Command>
- </CustomBuild>
- </ItemGroup>
- <ItemGroup>
- <CustomBuild Include="GeneratedFiles\Release\sub.moc">
- <FileType>Document</FileType>
- <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</ExcludedFromBuild>
- <AdditionalInputs Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">$(QTDIR)\bin\moc.exe;.\subfolder\sub.cpp</AdditionalInputs>
- <Message Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">Moc%27ing %(Identity)...</Message>
- <Outputs Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">.\GeneratedFiles\$(ConfigurationName)\%(Filename).moc</Outputs>
- <Command Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">"$(QTDIR)\bin\moc.exe" ".\subfolder\sub.cpp" -o ".\GeneratedFiles\$(ConfigurationName)\%(Filename).moc"</Command>
- </CustomBuild>
- </ItemGroup>
- <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
- <ImportGroup Label="ExtensionTargets">
- </ImportGroup>
- <ProjectExtensions>
- <VisualStudio>
- <UserProperties MocDir=".\GeneratedFiles\$(ConfigurationName)" QtVersion_x0020_Win32="$(DefaultQtVersion)" RccDir=".\GeneratedFiles" UicDir=".\GeneratedFiles" />
- </VisualStudio>
- </ProjectExtensions>
-</Project>
diff --git a/tools/AutoTests/TemplateProjects2010/Test2pch/Check/Check.vcxproj.filters b/tools/AutoTests/TemplateProjects2010/Test2pch/Check/Check.vcxproj.filters
deleted file mode 100644
index 6caa236b..00000000
--- a/tools/AutoTests/TemplateProjects2010/Test2pch/Check/Check.vcxproj.filters
+++ /dev/null
@@ -1,94 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
- <ItemGroup>
- <Filter Include="Source Files">
- <UniqueIdentifier>{4FC737F1-C7A5-4376-A066-2A32D752A2FF}</UniqueIdentifier>
- <Extensions>cpp;cxx;c;def</Extensions>
- </Filter>
- <Filter Include="Header Files">
- <UniqueIdentifier>{93995380-89BD-4b04-88EB-625FBE52EBFB}</UniqueIdentifier>
- <Extensions>h</Extensions>
- </Filter>
- <Filter Include="Form Files">
- <UniqueIdentifier>{99349809-55BA-4b9d-BF79-8FDBB0286EB3}</UniqueIdentifier>
- <Extensions>ui</Extensions>
- </Filter>
- <Filter Include="Resource Files">
- <UniqueIdentifier>{D9D6E242-F8AF-46E4-B9FD-80ECBC20BA3E}</UniqueIdentifier>
- <Extensions>qrc;*</Extensions>
- <ParseFiles>false</ParseFiles>
- </Filter>
- <Filter Include="Generated Files">
- <UniqueIdentifier>{71ED8ED8-ACB9-4CE9-BBE1-E00B30144E11}</UniqueIdentifier>
- <Extensions>moc;h;cpp</Extensions>
- <SourceControlFiles>False</SourceControlFiles>
- </Filter>
- <Filter Include="Generated Files\Release">
- <UniqueIdentifier>{92c7fe07-0308-446e-ac8a-4d9ee4c35cb4}</UniqueIdentifier>
- <Extensions>cpp;moc</Extensions>
- <SourceControlFiles>False</SourceControlFiles>
- </Filter>
- <Filter Include="Generated Files\Debug">
- <UniqueIdentifier>{bfbd696e-38b4-4f92-94ae-42a58ebdaac4}</UniqueIdentifier>
- <Extensions>cpp;moc</Extensions>
- <SourceControlFiles>False</SourceControlFiles>
- </Filter>
- </ItemGroup>
- <ItemGroup>
- <ClCompile Include="foo.cpp">
- <Filter>Source Files</Filter>
- </ClCompile>
- <ClCompile Include="main.cpp">
- <Filter>Source Files</Filter>
- </ClCompile>
- <ClCompile Include="pch.cpp">
- <Filter>Source Files</Filter>
- </ClCompile>
- <ClCompile Include="subfolder\sub.cpp">
- <Filter>Source Files</Filter>
- </ClCompile>
- <ClCompile Include="test.cpp">
- <Filter>Source Files</Filter>
- </ClCompile>
- <ClCompile Include="GeneratedFiles\Debug\moc_foo.cpp">
- <Filter>Generated Files</Filter>
- </ClCompile>
- <ClCompile Include="GeneratedFiles\Release\moc_foo.cpp">
- <Filter>Generated Files</Filter>
- </ClCompile>
- </ItemGroup>
- <ItemGroup>
- <ClInclude Include="pch.h">
- <Filter>Header Files</Filter>
- </ClInclude>
- <ClInclude Include="test.h">
- <Filter>Header Files</Filter>
- </ClInclude>
- <ClInclude Include="GeneratedFiles\ui_foo.h">
- <Filter>Generated Files</Filter>
- </ClInclude>
- </ItemGroup>
- <ItemGroup>
- <CustomBuild Include="foo.h">
- <Filter>Header Files</Filter>
- </CustomBuild>
- <CustomBuild Include="foo.ui">
- <Filter>Form Files</Filter>
- </CustomBuild>
- <CustomBuild Include="foo.qrc">
- <Filter>Resource Files</Filter>
- </CustomBuild>
- <CustomBuild Include="GeneratedFiles\Debug\sub.moc">
- <Filter>Generated Files\Debug</Filter>
- </CustomBuild>
- <CustomBuild Include="GeneratedFiles\Release\sub.moc">
- <Filter>Generated Files\Release</Filter>
- </CustomBuild>
- <CustomBuild Include="GeneratedFiles\Debug\main.moc">
- <Filter>Generated Files</Filter>
- </CustomBuild>
- <CustomBuild Include="GeneratedFiles\Release\main.moc">
- <Filter>Generated Files</Filter>
- </CustomBuild>
- </ItemGroup>
-</Project> \ No newline at end of file
diff --git a/tools/AutoTests/TemplateProjects2010/Test2pch/Check/bar.cpp b/tools/AutoTests/TemplateProjects2010/Test2pch/Check/bar.cpp
deleted file mode 100644
index 7377a16b..00000000
--- a/tools/AutoTests/TemplateProjects2010/Test2pch/Check/bar.cpp
+++ /dev/null
@@ -1,12 +0,0 @@
-#include <QtGui/QWidget>
-
-class Bar : public QWidget
-{
- Q_OBJECT
-
-public:
- Bar(QWidget *parent = 0, Qt::WFlags flags = 0);
- ~Bar();
-};
-
-#include "bar.moc" \ No newline at end of file
diff --git a/tools/AutoTests/TemplateProjects2010/Test2pch/Check/foo.cpp b/tools/AutoTests/TemplateProjects2010/Test2pch/Check/foo.cpp
deleted file mode 100644
index eb9e7f64..00000000
--- a/tools/AutoTests/TemplateProjects2010/Test2pch/Check/foo.cpp
+++ /dev/null
@@ -1,15 +0,0 @@
-#include "pch.h"
-//#include "test.h"
-#include "foo.h"
-////#CUSTOMINCLUDE
-
-Foo::Foo(QWidget *parent, Qt::WFlags flags)
- : QWidget(parent, flags)
-{
- ui.setupUi(this);
-}
-
-Foo::~Foo()
-{
-
-}
diff --git a/tools/AutoTests/TemplateProjects2010/Test2pch/Check/foo.h b/tools/AutoTests/TemplateProjects2010/Test2pch/Check/foo.h
deleted file mode 100644
index ff46f40a..00000000
--- a/tools/AutoTests/TemplateProjects2010/Test2pch/Check/foo.h
+++ /dev/null
@@ -1,19 +0,0 @@
-#ifndef FOO_H
-#define FOO_H
-
-#include <QtGui/QWidget>
-#include "ui_foo.h"
-
-class Foo : public QWidget
-{
- Q_OBJECT
-
-public:
- Foo(QWidget *parent = 0, Qt::WFlags flags = 0);
- ~Foo();
-
-private:
- Ui::FooClass ui;
-};
-
-#endif // FOO_H
diff --git a/tools/AutoTests/TemplateProjects2010/Test2pch/Check/foo.qrc b/tools/AutoTests/TemplateProjects2010/Test2pch/Check/foo.qrc
deleted file mode 100644
index 18730fee..00000000
--- a/tools/AutoTests/TemplateProjects2010/Test2pch/Check/foo.qrc
+++ /dev/null
@@ -1,4 +0,0 @@
-<RCC>
- <qresource prefix="Foo">
- </qresource>
-</RCC>
diff --git a/tools/AutoTests/TemplateProjects2010/Test2pch/Check/foo.ui b/tools/AutoTests/TemplateProjects2010/Test2pch/Check/foo.ui
deleted file mode 100644
index e7568a8d..00000000
--- a/tools/AutoTests/TemplateProjects2010/Test2pch/Check/foo.ui
+++ /dev/null
@@ -1,23 +0,0 @@
-<UI version="4.0" >
- <class>FooClass</class>
- <widget class="QWidget" name="FooClass" >
- <property name="objectName" >
- <string notr="true">FooClass</string>
- </property>
- <property name="geometry" >
- <rect>
- <x>0</x>
- <y>0</y>
- <width>600</width>
- <height>400</height>
- </rect>
- </property>
- <property name="windowTitle" >
- <string>Foo</string>
- </property>
- </widget>
- <layoutDefault spacing="6" margin="11" />
- <pixmapfunction></pixmapfunction>
- <resources/>
- <connections/>
-</UI>
diff --git a/tools/AutoTests/TemplateProjects2010/Test2pch/Check/main.cpp b/tools/AutoTests/TemplateProjects2010/Test2pch/Check/main.cpp
deleted file mode 100644
index 4e72b4ab..00000000
--- a/tools/AutoTests/TemplateProjects2010/Test2pch/Check/main.cpp
+++ /dev/null
@@ -1,26 +0,0 @@
-#include "pch.h"
-//#include "test.h"
-#include <QtGui/QApplication>
-#include "foo.h"
-
-class Bar : public QWidget
-{
- Q_OBJECT
-
-public:
- Bar(QWidget *parent = 0, Qt::WFlags flags = 0);
- ~Bar();
-
-private:
- Ui::FooClass ui;
-};
-
-int main(int argc, char *argv[])
-{
- QApplication a(argc, argv);
- Foo w;
- w.show();
- return a.exec();
-}
-
-#include "main.moc"
diff --git a/tools/AutoTests/TemplateProjects2010/Test2pch/Check/pch.cpp b/tools/AutoTests/TemplateProjects2010/Test2pch/Check/pch.cpp
deleted file mode 100644
index 17305716..00000000
--- a/tools/AutoTests/TemplateProjects2010/Test2pch/Check/pch.cpp
+++ /dev/null
@@ -1 +0,0 @@
-#include "pch.h" \ No newline at end of file
diff --git a/tools/AutoTests/TemplateProjects2010/Test2pch/Check/pch.h b/tools/AutoTests/TemplateProjects2010/Test2pch/Check/pch.h
deleted file mode 100644
index e69de29b..00000000
--- a/tools/AutoTests/TemplateProjects2010/Test2pch/Check/pch.h
+++ /dev/null
diff --git a/tools/AutoTests/TemplateProjects2010/Test2pch/Check/subfolder/sub.cpp b/tools/AutoTests/TemplateProjects2010/Test2pch/Check/subfolder/sub.cpp
deleted file mode 100644
index f0ca2ce2..00000000
--- a/tools/AutoTests/TemplateProjects2010/Test2pch/Check/subfolder/sub.cpp
+++ /dev/null
@@ -1,13 +0,0 @@
-#include "pch.h"
-#include <QObject>
-
-class Sub: public QObject
-{
- Q_OBJECT
-public:
- Sub(QObject *parent = 0)
- : QObject(parent)
- {}
-};
-
-#include "sub.moc" \ No newline at end of file
diff --git a/tools/AutoTests/TemplateProjects2010/Test2pch/Check/test.cpp b/tools/AutoTests/TemplateProjects2010/Test2pch/Check/test.cpp
deleted file mode 100644
index 2edbe2af..00000000
--- a/tools/AutoTests/TemplateProjects2010/Test2pch/Check/test.cpp
+++ /dev/null
@@ -1,2 +0,0 @@
-#include "pch.h"
-#include "test.h" \ No newline at end of file
diff --git a/tools/AutoTests/TemplateProjects2010/Test2pch/Check/test.h b/tools/AutoTests/TemplateProjects2010/Test2pch/Check/test.h
deleted file mode 100644
index e69de29b..00000000
--- a/tools/AutoTests/TemplateProjects2010/Test2pch/Check/test.h
+++ /dev/null
diff --git a/tools/AutoTests/TemplateProjects2010/Test2pch/Test2pch.sln b/tools/AutoTests/TemplateProjects2010/Test2pch/Test2pch.sln
deleted file mode 100644
index 165a8d99..00000000
--- a/tools/AutoTests/TemplateProjects2010/Test2pch/Test2pch.sln
+++ /dev/null
@@ -1,23 +0,0 @@
-
-Microsoft Visual Studio Solution File, Format Version 11.00
-# Visual Studio 2010
-Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Test2", "Check\Check.vcxproj", "{ADA1D5AA-949B-46E9-AA9E-10D2D5ECA5B0}"
-EndProject
-Global
- GlobalSection(SolutionConfigurationPlatforms) = preSolution
- Debug|Win32 = Debug|Win32
- Release|Win32 = Release|Win32
- EndGlobalSection
- GlobalSection(ProjectConfigurationPlatforms) = postSolution
- {ADA1D5AA-949B-46E9-AA9E-10D2D5ECA5B0}.Debug|Win32.ActiveCfg = Debug|Win32
- {ADA1D5AA-949B-46E9-AA9E-10D2D5ECA5B0}.Debug|Win32.Build.0 = Debug|Win32
- {ADA1D5AA-949B-46E9-AA9E-10D2D5ECA5B0}.Release|Win32.ActiveCfg = Release|Win32
- {ADA1D5AA-949B-46E9-AA9E-10D2D5ECA5B0}.Release|Win32.Build.0 = Release|Win32
- EndGlobalSection
- GlobalSection(SolutionProperties) = preSolution
- HideSolutionNode = FALSE
- EndGlobalSection
- GlobalSection(Qt) = preSolution
- Integration = True
- EndGlobalSection
-EndGlobal
diff --git a/tools/AutoTests/TemplateProjects2010/Test3/Check/Check.vcxproj b/tools/AutoTests/TemplateProjects2010/Test3/Check/Check.vcxproj
deleted file mode 100644
index 9031dc9c..00000000
--- a/tools/AutoTests/TemplateProjects2010/Test3/Check/Check.vcxproj
+++ /dev/null
@@ -1,223 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
- <ItemGroup Label="ProjectConfigurations">
- <ProjectConfiguration Include="Debug|Win32">
- <Configuration>Debug</Configuration>
- <Platform>Win32</Platform>
- </ProjectConfiguration>
- <ProjectConfiguration Include="FooBar|Win32">
- <Configuration>FooBar</Configuration>
- <Platform>Win32</Platform>
- </ProjectConfiguration>
- <ProjectConfiguration Include="Release|Win32">
- <Configuration>Release</Configuration>
- <Platform>Win32</Platform>
- </ProjectConfiguration>
- </ItemGroup>
- <PropertyGroup Label="Globals">
- <ProjectName>Test3</ProjectName>
- <ProjectGuid>{ADA1D5AA-949B-46E9-AA9E-10D2D5ECA5B0}</ProjectGuid>
- <RootNamespace>Check</RootNamespace>
- <Keyword>Qt4VSv1.0</Keyword>
- </PropertyGroup>
- <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
- <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='FooBar|Win32'" Label="Configuration">
- <ConfigurationType>Application</ConfigurationType>
- </PropertyGroup>
- <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
- <ConfigurationType>Application</ConfigurationType>
- </PropertyGroup>
- <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
- <ConfigurationType>Application</ConfigurationType>
- </PropertyGroup>
- <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
- <ImportGroup Label="ExtensionSettings">
- </ImportGroup>
- <ImportGroup Condition="'$(Configuration)|$(Platform)'=='FooBar|Win32'" Label="PropertySheets">
- <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
- <Import Project="Qt4VSPropertySheet.props" />
- </ImportGroup>
- <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="PropertySheets">
- <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
- <Import Project="Qt4VSPropertySheet.props" />
- </ImportGroup>
- <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="PropertySheets">
- <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
- <Import Project="Qt4VSPropertySheet.props" />
- </ImportGroup>
- <PropertyGroup Label="UserMacros" />
- <PropertyGroup>
- <_ProjectFileVersion>10.0.30319.1</_ProjectFileVersion>
- <OutDir Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">$(SolutionDir)$(Configuration)\</OutDir>
- <IntDir Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">$(Configuration)\</IntDir>
- <OutDir Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">$(SolutionDir)$(Configuration)\</OutDir>
- <IntDir Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">$(Configuration)\</IntDir>
- <OutDir Condition="'$(Configuration)|$(Platform)'=='FooBar|Win32'">$(SolutionDir)$(Configuration)\</OutDir>
- <IntDir Condition="'$(Configuration)|$(Platform)'=='FooBar|Win32'">$(Configuration)\</IntDir>
- </PropertyGroup>
- <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
- <ClCompile>
- <AdditionalIncludeDirectories>.\GeneratedFiles;$(QTDIR)\include;.\GeneratedFiles\$(Configuration);.;$(QTDIR)\include\QtCore;$(QTDIR)\include\QtGui;.\GeneratedFiles\$(ConfigurationName);%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
- <PreprocessorDefinitions>UNICODE;WIN32;QT_THREAD_SUPPORT;QT_NO_DEBUG;NDEBUG;QT_CORE_LIB;QT_GUI_LIB;%(PreprocessorDefinitions)</PreprocessorDefinitions>
- <RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>
- <TreatWChar_tAsBuiltInType>false</TreatWChar_tAsBuiltInType>
- <DebugInformationFormat>
- </DebugInformationFormat>
- </ClCompile>
- <Link>
- <AdditionalDependencies>qtmain.lib;QtCore4.lib;QtGui4.lib;%(AdditionalDependencies)</AdditionalDependencies>
- <OutputFile>$(OutDir)$(ProjectName).exe</OutputFile>
- <AdditionalLibraryDirectories>$(QTDIR)\lib;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
- <GenerateDebugInformation>false</GenerateDebugInformation>
- <SubSystem>Windows</SubSystem>
- </Link>
- </ItemDefinitionGroup>
- <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
- <ClCompile>
- <Optimization>Disabled</Optimization>
- <AdditionalIncludeDirectories>.\GeneratedFiles;$(QTDIR)\include;.\GeneratedFiles\$(Configuration);.;$(QTDIR)\include\QtCore;$(QTDIR)\include\QtGui;.\GeneratedFiles\$(ConfigurationName);%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
- <PreprocessorDefinitions>UNICODE;WIN32;QT_THREAD_SUPPORT;QT_CORE_LIB;QT_GUI_LIB;%(PreprocessorDefinitions)</PreprocessorDefinitions>
- <RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary>
- <TreatWChar_tAsBuiltInType>false</TreatWChar_tAsBuiltInType>
- <DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
- </ClCompile>
- <Link>
- <AdditionalDependencies>qtmaind.lib;QtCored4.lib;QtGuid4.lib;%(AdditionalDependencies)</AdditionalDependencies>
- <OutputFile>$(OutDir)$(ProjectName).exe</OutputFile>
- <AdditionalLibraryDirectories>$(QTDIR)\lib;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
- <GenerateDebugInformation>true</GenerateDebugInformation>
- <SubSystem>Windows</SubSystem>
- </Link>
- </ItemDefinitionGroup>
- <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='FooBar|Win32'">
- <ClCompile>
- <Optimization>Disabled</Optimization>
- <AdditionalIncludeDirectories>.\GeneratedFiles;$(QTDIR)\include;.\GeneratedFiles\$(Configuration);.;$(QTDIR)\include\QtCore;$(QTDIR)\include\QtGui;.\GeneratedFiles\$(ConfigurationName);%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
- <PreprocessorDefinitions>UNICODE;WIN32;QT_THREAD_SUPPORT;QT_CORE_LIB;QT_GUI_LIB;%(PreprocessorDefinitions)</PreprocessorDefinitions>
- <RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary>
- <TreatWChar_tAsBuiltInType>false</TreatWChar_tAsBuiltInType>
- <DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
- </ClCompile>
- <Link>
- <AdditionalDependencies>qtmaind.lib;QtCored4.lib;QtGuid4.lib;%(AdditionalDependencies)</AdditionalDependencies>
- <OutputFile>$(OutDir)$(ProjectName).exe</OutputFile>
- <AdditionalLibraryDirectories>$(QTDIR)\lib;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
- <GenerateDebugInformation>true</GenerateDebugInformation>
- <SubSystem>Windows</SubSystem>
- </Link>
- </ItemDefinitionGroup>
- <ItemGroup>
- <ClCompile Include="bar.cpp" />
- <ClCompile Include="foo.cpp" />
- <ClCompile Include="GeneratedFiles\Debug\moc_foo.cpp">
- <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='FooBar|Win32'">true</ExcludedFromBuild>
- <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">true</ExcludedFromBuild>
- </ClCompile>
- <ClCompile Include="GeneratedFiles\FooBar\moc_foo.cpp">
- <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</ExcludedFromBuild>
- <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">true</ExcludedFromBuild>
- </ClCompile>
- <ClCompile Include="GeneratedFiles\Release\moc_foo.cpp">
- <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</ExcludedFromBuild>
- <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='FooBar|Win32'">true</ExcludedFromBuild>
- </ClCompile>
- <ClCompile Include="main.cpp" />
- </ItemGroup>
- <ItemGroup>
- <CustomBuild Include="foo.h">
- <Message Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">Moc%27ing %(Identity)...</Message>
- <Command Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">"$(QTDIR)\bin\moc.exe" "%(FullPath)" -o ".\GeneratedFiles\$(ConfigurationName)\moc_%(Filename).cpp"</Command>
- <AdditionalInputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">$(QTDIR)\bin\moc.exe;%(FullPath);%(AdditionalInputs)</AdditionalInputs>
- <Outputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">.\GeneratedFiles\$(ConfigurationName)\moc_%(Filename).cpp;%(Outputs)</Outputs>
- <Message Condition="'$(Configuration)|$(Platform)'=='FooBar|Win32'">Moc%27ing %(Identity)...</Message>
- <Command Condition="'$(Configuration)|$(Platform)'=='FooBar|Win32'">"$(QTDIR)\bin\moc.exe" "%(FullPath)" -o ".\GeneratedFiles\$(ConfigurationName)\moc_%(Filename).cpp"</Command>
- <AdditionalInputs Condition="'$(Configuration)|$(Platform)'=='FooBar|Win32'">$(QTDIR)\bin\moc.exe;%(FullPath);%(AdditionalInputs)</AdditionalInputs>
- <Outputs Condition="'$(Configuration)|$(Platform)'=='FooBar|Win32'">.\GeneratedFiles\$(ConfigurationName)\moc_%(Filename).cpp;%(Outputs)</Outputs>
- <Message Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">Moc%27ing %(Identity)...</Message>
- <Command Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">"$(QTDIR)\bin\moc.exe" "%(FullPath)" -o ".\GeneratedFiles\$(ConfigurationName)\moc_%(Filename).cpp"</Command>
- <AdditionalInputs Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">$(QTDIR)\bin\moc.exe;%(FullPath);%(AdditionalInputs)</AdditionalInputs>
- <Outputs Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">.\GeneratedFiles\$(ConfigurationName)\moc_%(Filename).cpp;%(Outputs)</Outputs>
- </CustomBuild>
- <ClInclude Include="GeneratedFiles\ui_foo.h" />
- </ItemGroup>
- <ItemGroup>
- <CustomBuild Include="foo.ui">
- <Message Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">Uic%27ing %(FullPath)...</Message>
- <Command Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">"$(QTDIR)\bin\uic.exe" -o ".\GeneratedFiles\ui_foo.h" "%(FullPath)"
-</Command>
- <AdditionalInputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">$(QTDIR)\bin\uic.exe;%(AdditionalInputs)</AdditionalInputs>
- <Outputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">.\GeneratedFiles\ui_foo.h;%(Outputs)</Outputs>
- <Message Condition="'$(Configuration)|$(Platform)'=='FooBar|Win32'">Uic%27ing %(FullPath)...</Message>
- <Command Condition="'$(Configuration)|$(Platform)'=='FooBar|Win32'">"$(QTDIR)\bin\uic.exe" -o ".\GeneratedFiles\ui_foo.h" "%(FullPath)"
-</Command>
- <AdditionalInputs Condition="'$(Configuration)|$(Platform)'=='FooBar|Win32'">$(QTDIR)\bin\uic.exe;%(AdditionalInputs)</AdditionalInputs>
- <Outputs Condition="'$(Configuration)|$(Platform)'=='FooBar|Win32'">.\GeneratedFiles\ui_foo.h;%(Outputs)</Outputs>
- <Message Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">Uic%27ing %(FullPath)...</Message>
- <Command Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">"$(QTDIR)\bin\uic.exe" -o ".\GeneratedFiles\ui_foo.h" "%(FullPath)"
-</Command>
- <AdditionalInputs Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">$(QTDIR)\bin\uic.exe;%(AdditionalInputs)</AdditionalInputs>
- <Outputs Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">.\GeneratedFiles\ui_foo.h;%(Outputs)</Outputs>
- </CustomBuild>
- <CustomBuild Include="foo.qrc">
- <Message Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
- </Message>
- <Command Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
- </Command>
- <AdditionalInputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">%(AdditionalInputs)</AdditionalInputs>
- <Outputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">%(Outputs)</Outputs>
- <Message Condition="'$(Configuration)|$(Platform)'=='FooBar|Win32'">
- </Message>
- <Command Condition="'$(Configuration)|$(Platform)'=='FooBar|Win32'">
- </Command>
- <AdditionalInputs Condition="'$(Configuration)|$(Platform)'=='FooBar|Win32'">%(AdditionalInputs)</AdditionalInputs>
- <Outputs Condition="'$(Configuration)|$(Platform)'=='FooBar|Win32'">%(Outputs)</Outputs>
- <Message Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
- </Message>
- <Command Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
- </Command>
- <AdditionalInputs Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">%(AdditionalInputs)</AdditionalInputs>
- <Outputs Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">%(Outputs)</Outputs>
- </CustomBuild>
- </ItemGroup>
- <ItemGroup>
- <CustomBuild Include="GeneratedFiles\Debug\bar.moc">
- <FileType>Document</FileType>
- <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='FooBar|Win32'">true</ExcludedFromBuild>
- <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">true</ExcludedFromBuild>
- <AdditionalInputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">$(QTDIR)\bin\moc.exe;.\bar.cpp</AdditionalInputs>
- <Message Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">Moc%27ing %(Identity)...</Message>
- <Outputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">.\GeneratedFiles\$(ConfigurationName)\%(Filename).moc</Outputs>
- <Command Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">"$(QTDIR)\bin\moc.exe" ".\bar.cpp" -o ".\GeneratedFiles\$(ConfigurationName)\%(Filename).moc"</Command>
- </CustomBuild>
- </ItemGroup>
- <ItemGroup>
- <CustomBuild Include="GeneratedFiles\FooBar\bar.moc">
- <FileType>Document</FileType>
- <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</ExcludedFromBuild>
- <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">true</ExcludedFromBuild>
- <AdditionalInputs Condition="'$(Configuration)|$(Platform)'=='FooBar|Win32'">$(QTDIR)\bin\moc.exe;.\bar.cpp</AdditionalInputs>
- <Message Condition="'$(Configuration)|$(Platform)'=='FooBar|Win32'">Moc%27ing %(Identity)...</Message>
- <Outputs Condition="'$(Configuration)|$(Platform)'=='FooBar|Win32'">.\GeneratedFiles\$(ConfigurationName)\%(Filename).moc</Outputs>
- <Command Condition="'$(Configuration)|$(Platform)'=='FooBar|Win32'">"$(QTDIR)\bin\moc.exe" ".\bar.cpp" -o ".\GeneratedFiles\$(ConfigurationName)\%(Filename).moc"</Command>
- </CustomBuild>
- </ItemGroup>
- <ItemGroup>
- <CustomBuild Include="GeneratedFiles\Release\bar.moc">
- <FileType>Document</FileType>
- <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</ExcludedFromBuild>
- <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='FooBar|Win32'">true</ExcludedFromBuild>
- <AdditionalInputs Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">$(QTDIR)\bin\moc.exe;.\bar.cpp</AdditionalInputs>
- <Message Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">Moc%27ing %(Identity)...</Message>
- <Outputs Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">.\GeneratedFiles\$(ConfigurationName)\%(Filename).moc</Outputs>
- <Command Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">"$(QTDIR)\bin\moc.exe" ".\bar.cpp" -o ".\GeneratedFiles\$(ConfigurationName)\%(Filename).moc"</Command>
- </CustomBuild>
- </ItemGroup>
- <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
- <ImportGroup Label="ExtensionTargets">
- </ImportGroup>
- <ProjectExtensions>
- <VisualStudio>
- <UserProperties MocDir=".\GeneratedFiles\$(ConfigurationName)" QtVersion_x0020_Win32="$(DefaultQtVersion)" RccDir=".\GeneratedFiles" UicDir=".\GeneratedFiles" />
- </VisualStudio>
- </ProjectExtensions>
-</Project>
diff --git a/tools/AutoTests/TemplateProjects2010/Test3/Check/Check.vcxproj.filters b/tools/AutoTests/TemplateProjects2010/Test3/Check/Check.vcxproj.filters
deleted file mode 100644
index 01798eec..00000000
--- a/tools/AutoTests/TemplateProjects2010/Test3/Check/Check.vcxproj.filters
+++ /dev/null
@@ -1,87 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
- <ItemGroup>
- <Filter Include="Source Files">
- <UniqueIdentifier>{4FC737F1-C7A5-4376-A066-2A32D752A2FF}</UniqueIdentifier>
- <Extensions>cpp;cxx;c;def</Extensions>
- </Filter>
- <Filter Include="Header Files">
- <UniqueIdentifier>{93995380-89BD-4b04-88EB-625FBE52EBFB}</UniqueIdentifier>
- <Extensions>h</Extensions>
- </Filter>
- <Filter Include="Form Files">
- <UniqueIdentifier>{99349809-55BA-4b9d-BF79-8FDBB0286EB3}</UniqueIdentifier>
- <Extensions>ui</Extensions>
- </Filter>
- <Filter Include="Resource Files">
- <UniqueIdentifier>{D9D6E242-F8AF-46E4-B9FD-80ECBC20BA3E}</UniqueIdentifier>
- <Extensions>qrc;*</Extensions>
- <ParseFiles>false</ParseFiles>
- </Filter>
- <Filter Include="Generated Files">
- <UniqueIdentifier>{71ED8ED8-ACB9-4CE9-BBE1-E00B30144E11}</UniqueIdentifier>
- <Extensions>moc;h;cpp</Extensions>
- <SourceControlFiles>False</SourceControlFiles>
- </Filter>
- <Filter Include="Generated Files\Debug">
- <UniqueIdentifier>{77e1cd5f-9bd8-4aeb-b5a0-d1f7eef28097}</UniqueIdentifier>
- <Extensions>cpp;moc</Extensions>
- <SourceControlFiles>False</SourceControlFiles>
- </Filter>
- <Filter Include="Generated Files\FooBar">
- <UniqueIdentifier>{b87eb927-0378-4b82-b3c6-36647b1ef4fc}</UniqueIdentifier>
- <Extensions>cpp;moc</Extensions>
- <SourceControlFiles>False</SourceControlFiles>
- </Filter>
- <Filter Include="Generated Files\Release">
- <UniqueIdentifier>{9c8a9c3c-bde5-4c4b-8643-fd58482c753b}</UniqueIdentifier>
- <Extensions>cpp;moc</Extensions>
- <SourceControlFiles>False</SourceControlFiles>
- </Filter>
- </ItemGroup>
- <ItemGroup>
- <ClCompile Include="bar.cpp">
- <Filter>Source Files</Filter>
- </ClCompile>
- <ClCompile Include="foo.cpp">
- <Filter>Source Files</Filter>
- </ClCompile>
- <ClCompile Include="main.cpp">
- <Filter>Source Files</Filter>
- </ClCompile>
- <ClCompile Include="GeneratedFiles\Debug\moc_foo.cpp">
- <Filter>Generated Files</Filter>
- </ClCompile>
- <ClCompile Include="GeneratedFiles\FooBar\moc_foo.cpp">
- <Filter>Generated Files</Filter>
- </ClCompile>
- <ClCompile Include="GeneratedFiles\Release\moc_foo.cpp">
- <Filter>Generated Files</Filter>
- </ClCompile>
- </ItemGroup>
- <ItemGroup>
- <ClInclude Include="GeneratedFiles\ui_foo.h">
- <Filter>Generated Files</Filter>
- </ClInclude>
- </ItemGroup>
- <ItemGroup>
- <CustomBuild Include="foo.h">
- <Filter>Header Files</Filter>
- </CustomBuild>
- <CustomBuild Include="foo.ui">
- <Filter>Form Files</Filter>
- </CustomBuild>
- <CustomBuild Include="foo.qrc">
- <Filter>Resource Files</Filter>
- </CustomBuild>
- <CustomBuild Include="GeneratedFiles\Debug\bar.moc">
- <Filter>Generated Files\Debug</Filter>
- </CustomBuild>
- <CustomBuild Include="GeneratedFiles\FooBar\bar.moc">
- <Filter>Generated Files\FooBar</Filter>
- </CustomBuild>
- <CustomBuild Include="GeneratedFiles\Release\bar.moc">
- <Filter>Generated Files\Release</Filter>
- </CustomBuild>
- </ItemGroup>
-</Project> \ No newline at end of file
diff --git a/tools/AutoTests/TemplateProjects2010/Test3/Check/bar.cpp b/tools/AutoTests/TemplateProjects2010/Test3/Check/bar.cpp
deleted file mode 100644
index 7377a16b..00000000
--- a/tools/AutoTests/TemplateProjects2010/Test3/Check/bar.cpp
+++ /dev/null
@@ -1,12 +0,0 @@
-#include <QtGui/QWidget>
-
-class Bar : public QWidget
-{
- Q_OBJECT
-
-public:
- Bar(QWidget *parent = 0, Qt::WFlags flags = 0);
- ~Bar();
-};
-
-#include "bar.moc" \ No newline at end of file
diff --git a/tools/AutoTests/TemplateProjects2010/Test3/Check/foo.cpp b/tools/AutoTests/TemplateProjects2010/Test3/Check/foo.cpp
deleted file mode 100644
index 815985d4..00000000
--- a/tools/AutoTests/TemplateProjects2010/Test3/Check/foo.cpp
+++ /dev/null
@@ -1,13 +0,0 @@
-#include "foo.h"
-////#CUSTOMINCLUDE
-
-Foo::Foo(QWidget *parent, Qt::WFlags flags)
- : QWidget(parent, flags)
-{
- ui.setupUi(this);
-}
-
-Foo::~Foo()
-{
-
-}
diff --git a/tools/AutoTests/TemplateProjects2010/Test3/Check/foo.h b/tools/AutoTests/TemplateProjects2010/Test3/Check/foo.h
deleted file mode 100644
index ff46f40a..00000000
--- a/tools/AutoTests/TemplateProjects2010/Test3/Check/foo.h
+++ /dev/null
@@ -1,19 +0,0 @@
-#ifndef FOO_H
-#define FOO_H
-
-#include <QtGui/QWidget>
-#include "ui_foo.h"
-
-class Foo : public QWidget
-{
- Q_OBJECT
-
-public:
- Foo(QWidget *parent = 0, Qt::WFlags flags = 0);
- ~Foo();
-
-private:
- Ui::FooClass ui;
-};
-
-#endif // FOO_H
diff --git a/tools/AutoTests/TemplateProjects2010/Test3/Check/foo.qrc b/tools/AutoTests/TemplateProjects2010/Test3/Check/foo.qrc
deleted file mode 100644
index 18730fee..00000000
--- a/tools/AutoTests/TemplateProjects2010/Test3/Check/foo.qrc
+++ /dev/null
@@ -1,4 +0,0 @@
-<RCC>
- <qresource prefix="Foo">
- </qresource>
-</RCC>
diff --git a/tools/AutoTests/TemplateProjects2010/Test3/Check/foo.ui b/tools/AutoTests/TemplateProjects2010/Test3/Check/foo.ui
deleted file mode 100644
index e7568a8d..00000000
--- a/tools/AutoTests/TemplateProjects2010/Test3/Check/foo.ui
+++ /dev/null
@@ -1,23 +0,0 @@
-<UI version="4.0" >
- <class>FooClass</class>
- <widget class="QWidget" name="FooClass" >
- <property name="objectName" >
- <string notr="true">FooClass</string>
- </property>
- <property name="geometry" >
- <rect>
- <x>0</x>
- <y>0</y>
- <width>600</width>
- <height>400</height>
- </rect>
- </property>
- <property name="windowTitle" >
- <string>Foo</string>
- </property>
- </widget>
- <layoutDefault spacing="6" margin="11" />
- <pixmapfunction></pixmapfunction>
- <resources/>
- <connections/>
-</UI>
diff --git a/tools/AutoTests/TemplateProjects2010/Test3/Check/main.cpp b/tools/AutoTests/TemplateProjects2010/Test3/Check/main.cpp
deleted file mode 100644
index 83d36628..00000000
--- a/tools/AutoTests/TemplateProjects2010/Test3/Check/main.cpp
+++ /dev/null
@@ -1,7 +0,0 @@
-#include <QtGui/QApplication>
-
-int main(int argc, char *argv[])
-{
- QApplication a(argc, argv);
- return a.exec();
-}
diff --git a/tools/AutoTests/TemplateProjects2010/Test3/Test3.sln b/tools/AutoTests/TemplateProjects2010/Test3/Test3.sln
deleted file mode 100644
index e8546c92..00000000
--- a/tools/AutoTests/TemplateProjects2010/Test3/Test3.sln
+++ /dev/null
@@ -1,26 +0,0 @@
-
-Microsoft Visual Studio Solution File, Format Version 11.00
-# Visual Studio 2010
-Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Test3", "Check\Check.vcxproj", "{ADA1D5AA-949B-46E9-AA9E-10D2D5ECA5B0}"
-EndProject
-Global
- GlobalSection(SolutionConfigurationPlatforms) = preSolution
- Debug|Win32 = Debug|Win32
- FooBar|Win32 = FooBar|Win32
- Release|Win32 = Release|Win32
- EndGlobalSection
- GlobalSection(ProjectConfigurationPlatforms) = postSolution
- {ADA1D5AA-949B-46E9-AA9E-10D2D5ECA5B0}.Debug|Win32.ActiveCfg = Debug|Win32
- {ADA1D5AA-949B-46E9-AA9E-10D2D5ECA5B0}.Debug|Win32.Build.0 = Debug|Win32
- {ADA1D5AA-949B-46E9-AA9E-10D2D5ECA5B0}.FooBar|Win32.ActiveCfg = FooBar|Win32
- {ADA1D5AA-949B-46E9-AA9E-10D2D5ECA5B0}.FooBar|Win32.Build.0 = FooBar|Win32
- {ADA1D5AA-949B-46E9-AA9E-10D2D5ECA5B0}.Release|Win32.ActiveCfg = Release|Win32
- {ADA1D5AA-949B-46E9-AA9E-10D2D5ECA5B0}.Release|Win32.Build.0 = Release|Win32
- EndGlobalSection
- GlobalSection(SolutionProperties) = preSolution
- HideSolutionNode = FALSE
- EndGlobalSection
- GlobalSection(Qt) = preSolution
- Integration = True
- EndGlobalSection
-EndGlobal
diff --git a/tools/AutoTests/TemplateProjects2010/Test3pch/Check/Check.vcxproj b/tools/AutoTests/TemplateProjects2010/Test3pch/Check/Check.vcxproj
deleted file mode 100644
index 834e9439..00000000
--- a/tools/AutoTests/TemplateProjects2010/Test3pch/Check/Check.vcxproj
+++ /dev/null
@@ -1,227 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
- <ItemGroup Label="ProjectConfigurations">
- <ProjectConfiguration Include="Debug|Win32">
- <Configuration>Debug</Configuration>
- <Platform>Win32</Platform>
- </ProjectConfiguration>
- <ProjectConfiguration Include="FooBar|Win32">
- <Configuration>FooBar</Configuration>
- <Platform>Win32</Platform>
- </ProjectConfiguration>
- <ProjectConfiguration Include="Release|Win32">
- <Configuration>Release</Configuration>
- <Platform>Win32</Platform>
- </ProjectConfiguration>
- </ItemGroup>
- <PropertyGroup Label="Globals">
- <ProjectName>Test3</ProjectName>
- <ProjectGuid>{ADA1D5AA-949B-46E9-AA9E-10D2D5ECA5B0}</ProjectGuid>
- <RootNamespace>Check</RootNamespace>
- <Keyword>Qt4VSv1.0</Keyword>
- </PropertyGroup>
- <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
- <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='FooBar|Win32'" Label="Configuration">
- <ConfigurationType>Application</ConfigurationType>
- </PropertyGroup>
- <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
- <ConfigurationType>Application</ConfigurationType>
- </PropertyGroup>
- <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
- <ConfigurationType>Application</ConfigurationType>
- </PropertyGroup>
- <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
- <ImportGroup Label="ExtensionSettings">
- </ImportGroup>
- <ImportGroup Condition="'$(Configuration)|$(Platform)'=='FooBar|Win32'" Label="PropertySheets">
- <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
- </ImportGroup>
- <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="PropertySheets">
- <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
- </ImportGroup>
- <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="PropertySheets">
- <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
- <Import Project="Qt4VSPropertySheet.props" />
- </ImportGroup>
- <PropertyGroup Label="UserMacros" />
- <PropertyGroup>
- <_ProjectFileVersion>10.0.30319.1</_ProjectFileVersion>
- <OutDir Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">$(SolutionDir)$(Configuration)\</OutDir>
- <IntDir Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">$(Configuration)\</IntDir>
- <OutDir Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">$(SolutionDir)$(Configuration)\</OutDir>
- <IntDir Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">$(Configuration)\</IntDir>
- <OutDir Condition="'$(Configuration)|$(Platform)'=='FooBar|Win32'">$(SolutionDir)$(Configuration)\</OutDir>
- <IntDir Condition="'$(Configuration)|$(Platform)'=='FooBar|Win32'">$(Configuration)\</IntDir>
- </PropertyGroup>
- <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
- <ClCompile>
- <AdditionalIncludeDirectories>.\GeneratedFiles;$(QTDIR)\include;.\GeneratedFiles\$(Configuration);.;$(QTDIR)\include\QtCore;$(QTDIR)\include\QtGui;.\GeneratedFiles\$(ConfigurationName);%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
- <PreprocessorDefinitions>UNICODE;WIN32;QT_THREAD_SUPPORT;QT_NO_DEBUG;NDEBUG;QT_CORE_LIB;QT_GUI_LIB;%(PreprocessorDefinitions)</PreprocessorDefinitions>
- <RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>
- <TreatWChar_tAsBuiltInType>false</TreatWChar_tAsBuiltInType>
- <DebugInformationFormat>
- </DebugInformationFormat>
- </ClCompile>
- <Link>
- <AdditionalDependencies>qtmain.lib;QtCore4.lib;QtGui4.lib;%(AdditionalDependencies)</AdditionalDependencies>
- <OutputFile>$(OutDir)$(ProjectName).exe</OutputFile>
- <AdditionalLibraryDirectories>$(QTDIR)\lib;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
- <GenerateDebugInformation>false</GenerateDebugInformation>
- <SubSystem>Windows</SubSystem>
- </Link>
- </ItemDefinitionGroup>
- <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
- <ClCompile>
- <Optimization>Disabled</Optimization>
- <AdditionalIncludeDirectories>.\GeneratedFiles;$(QTDIR)\include;.\GeneratedFiles\$(Configuration);.;$(QTDIR)\include\QtCore;$(QTDIR)\include\QtGui;.\GeneratedFiles\$(ConfigurationName);%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
- <PreprocessorDefinitions>UNICODE;WIN32;QT_THREAD_SUPPORT;QT_CORE_LIB;QT_GUI_LIB;%(PreprocessorDefinitions)</PreprocessorDefinitions>
- <RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary>
- <TreatWChar_tAsBuiltInType>false</TreatWChar_tAsBuiltInType>
- <PrecompiledHeader>Use</PrecompiledHeader>
- <PrecompiledHeaderFile>pch.h</PrecompiledHeaderFile>
- <DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
- </ClCompile>
- <Link>
- <AdditionalDependencies>qtmaind.lib;QtCored4.lib;QtGuid4.lib;%(AdditionalDependencies)</AdditionalDependencies>
- <OutputFile>$(OutDir)$(ProjectName).exe</OutputFile>
- <AdditionalLibraryDirectories>$(QTDIR)\lib;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
- <GenerateDebugInformation>true</GenerateDebugInformation>
- <SubSystem>Windows</SubSystem>
- </Link>
- </ItemDefinitionGroup>
- <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='FooBar|Win32'">
- <ClCompile>
- <Optimization>Disabled</Optimization>
- <AdditionalIncludeDirectories>.\GeneratedFiles;$(QTDIR)\include;.\GeneratedFiles\$(Configuration);.;$(QTDIR)\include\QtCore;$(QTDIR)\include\QtGui;.\GeneratedFiles\$(ConfigurationName);%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
- <PreprocessorDefinitions>UNICODE;WIN32;QT_THREAD_SUPPORT;QT_CORE_LIB;QT_GUI_LIB;%(PreprocessorDefinitions)</PreprocessorDefinitions>
- <RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary>
- <TreatWChar_tAsBuiltInType>false</TreatWChar_tAsBuiltInType>
- <DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
- </ClCompile>
- <Link>
- <AdditionalDependencies>qtmaind.lib;QtCored4.lib;QtGuid4.lib;%(AdditionalDependencies)</AdditionalDependencies>
- <OutputFile>$(OutDir)$(ProjectName).exe</OutputFile>
- <AdditionalLibraryDirectories>$(QTDIR)\lib;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
- <GenerateDebugInformation>true</GenerateDebugInformation>
- <SubSystem>Windows</SubSystem>
- </Link>
- </ItemDefinitionGroup>
- <ItemGroup>
- <ClCompile Include="bar.cpp" />
- <ClCompile Include="foo.cpp" />
- <ClCompile Include="GeneratedFiles\Debug\moc_foo.cpp">
- <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='FooBar|Win32'">true</ExcludedFromBuild>
- <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">true</ExcludedFromBuild>
- </ClCompile>
- <ClCompile Include="GeneratedFiles\FooBar\moc_foo.cpp">
- <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</ExcludedFromBuild>
- <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">true</ExcludedFromBuild>
- </ClCompile>
- <ClCompile Include="GeneratedFiles\Release\moc_foo.cpp">
- <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</ExcludedFromBuild>
- <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='FooBar|Win32'">true</ExcludedFromBuild>
- </ClCompile>
- <ClCompile Include="main.cpp" />
- <ClCompile Include="pch.cpp">
- <PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">Create</PrecompiledHeader>
- </ClCompile>
- </ItemGroup>
- <ItemGroup>
- <CustomBuild Include="foo.h">
- <Message Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">Moc%27ing %(Identity)...</Message>
- <Command Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">"$(QTDIR)\bin\moc.exe" "%(FullPath)" -o ".\GeneratedFiles\$(ConfigurationName)\moc_%(Filename).cpp" "-fpch.h" "-f..\..\foo.h"</Command>
- <AdditionalInputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">$(QTDIR)\bin\moc.exe;%(FullPath);%(AdditionalInputs)</AdditionalInputs>
- <Outputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">.\GeneratedFiles\$(ConfigurationName)\moc_%(Filename).cpp;%(Outputs)</Outputs>
- <Message Condition="'$(Configuration)|$(Platform)'=='FooBar|Win32'">Moc%27ing %(Identity)...</Message>
- <Command Condition="'$(Configuration)|$(Platform)'=='FooBar|Win32'">"$(QTDIR)\bin\moc.exe" "%(FullPath)" -o ".\GeneratedFiles\$(ConfigurationName)\moc_%(Filename).cpp"</Command>
- <AdditionalInputs Condition="'$(Configuration)|$(Platform)'=='FooBar|Win32'">$(QTDIR)\bin\moc.exe;%(FullPath);%(AdditionalInputs)</AdditionalInputs>
- <Outputs Condition="'$(Configuration)|$(Platform)'=='FooBar|Win32'">.\GeneratedFiles\$(ConfigurationName)\moc_%(Filename).cpp;%(Outputs)</Outputs>
- <Message Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">Moc%27ing %(Identity)...</Message>
- <Command Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">"$(QTDIR)\bin\moc.exe" "%(FullPath)" -o ".\GeneratedFiles\$(ConfigurationName)\moc_%(Filename).cpp"</Command>
- <AdditionalInputs Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">$(QTDIR)\bin\moc.exe;%(FullPath);%(AdditionalInputs)</AdditionalInputs>
- <Outputs Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">.\GeneratedFiles\$(ConfigurationName)\moc_%(Filename).cpp;%(Outputs)</Outputs>
- </CustomBuild>
- <ClInclude Include="pch.h" />
- <ClInclude Include="GeneratedFiles\ui_foo.h" />
- </ItemGroup>
- <ItemGroup>
- <CustomBuild Include="foo.ui">
- <Message Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">Uic%27ing %(FullPath)...</Message>
- <Command Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">"$(QTDIR)\bin\uic.exe" -o ".\GeneratedFiles\ui_foo.h" "%(FullPath)"
-</Command>
- <AdditionalInputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">$(QTDIR)\bin\uic.exe;%(AdditionalInputs)</AdditionalInputs>
- <Outputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">.\GeneratedFiles\ui_foo.h;%(Outputs)</Outputs>
- <Message Condition="'$(Configuration)|$(Platform)'=='FooBar|Win32'">Uic%27ing %(FullPath)...</Message>
- <Command Condition="'$(Configuration)|$(Platform)'=='FooBar|Win32'">"$(QTDIR)\bin\uic.exe" -o ".\GeneratedFiles\ui_foo.h" "%(FullPath)"
-</Command>
- <AdditionalInputs Condition="'$(Configuration)|$(Platform)'=='FooBar|Win32'">$(QTDIR)\bin\uic.exe;%(AdditionalInputs)</AdditionalInputs>
- <Outputs Condition="'$(Configuration)|$(Platform)'=='FooBar|Win32'">.\GeneratedFiles\ui_foo.h;%(Outputs)</Outputs>
- <Message Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">Uic%27ing %(FullPath)...</Message>
- <Command Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">"$(QTDIR)\bin\uic.exe" -o ".\GeneratedFiles\ui_foo.h" "%(FullPath)"
-</Command>
- <AdditionalInputs Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">$(QTDIR)\bin\uic.exe;%(AdditionalInputs)</AdditionalInputs>
- <Outputs Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">.\GeneratedFiles\ui_foo.h;%(Outputs)</Outputs>
- </CustomBuild>
- <CustomBuild Include="foo.qrc">
- <Message Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
- </Message>
- <Command Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
- </Command>
- <AdditionalInputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">%(AdditionalInputs)</AdditionalInputs>
- <Outputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">%(Outputs)</Outputs>
- <Message Condition="'$(Configuration)|$(Platform)'=='FooBar|Win32'">
- </Message>
- <Command Condition="'$(Configuration)|$(Platform)'=='FooBar|Win32'">
- </Command>
- <AdditionalInputs Condition="'$(Configuration)|$(Platform)'=='FooBar|Win32'">%(AdditionalInputs)</AdditionalInputs>
- <Outputs Condition="'$(Configuration)|$(Platform)'=='FooBar|Win32'">%(Outputs)</Outputs>
- <Message Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
- </Message>
- <Command Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
- </Command>
- <AdditionalInputs Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">%(AdditionalInputs)</AdditionalInputs>
- <Outputs Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">%(Outputs)</Outputs>
- </CustomBuild>
- </ItemGroup>
- <ItemGroup>
- <CustomBuild Include="GeneratedFiles\Debug\bar.moc">
- <FileType>Document</FileType>
- <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='FooBar|Win32'">true</ExcludedFromBuild>
- <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">true</ExcludedFromBuild>
- <AdditionalInputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">$(QTDIR)\bin\moc.exe;.\bar.cpp</AdditionalInputs>
- <Message Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">Moc%27ing %(Identity)...</Message>
- <Outputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">.\GeneratedFiles\$(ConfigurationName)\%(Filename).moc</Outputs>
- <Command Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">"$(QTDIR)\bin\moc.exe" ".\bar.cpp" -o ".\GeneratedFiles\$(ConfigurationName)\%(Filename).moc" </Command>
- </CustomBuild>
- </ItemGroup>
- <ItemGroup>
- <CustomBuild Include="GeneratedFiles\FooBar\bar.moc">
- <FileType>Document</FileType>
- <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</ExcludedFromBuild>
- <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">true</ExcludedFromBuild>
- <AdditionalInputs Condition="'$(Configuration)|$(Platform)'=='FooBar|Win32'">$(QTDIR)\bin\moc.exe;.\bar.cpp</AdditionalInputs>
- <Message Condition="'$(Configuration)|$(Platform)'=='FooBar|Win32'">Moc%27ing %(Identity)...</Message>
- <Outputs Condition="'$(Configuration)|$(Platform)'=='FooBar|Win32'">.\GeneratedFiles\$(ConfigurationName)\%(Filename).moc</Outputs>
- <Command Condition="'$(Configuration)|$(Platform)'=='FooBar|Win32'">"$(QTDIR)\bin\moc.exe" ".\bar.cpp" -o ".\GeneratedFiles\$(ConfigurationName)\%(Filename).moc"</Command>
- </CustomBuild>
- </ItemGroup>
- <ItemGroup>
- <CustomBuild Include="GeneratedFiles\Release\bar.moc">
- <FileType>Document</FileType>
- <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</ExcludedFromBuild>
- <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='FooBar|Win32'">true</ExcludedFromBuild>
- <AdditionalInputs Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">$(QTDIR)\bin\moc.exe;.\bar.cpp</AdditionalInputs>
- <Message Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">Moc%27ing %(Identity)...</Message>
- <Outputs Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">.\GeneratedFiles\$(ConfigurationName)\%(Filename).moc</Outputs>
- <Command Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">"$(QTDIR)\bin\moc.exe" ".\bar.cpp" -o ".\GeneratedFiles\$(ConfigurationName)\%(Filename).moc"</Command>
- </CustomBuild>
- </ItemGroup>
- <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
- <ImportGroup Label="ExtensionTargets">
- </ImportGroup>
- <ProjectExtensions>
- <VisualStudio>
- <UserProperties MocDir=".\GeneratedFiles\$(ConfigurationName)" QtVersion_x0020_Win32="$(DefaultQtVersion)" RccDir=".\GeneratedFiles" UicDir=".\GeneratedFiles" />
- </VisualStudio>
- </ProjectExtensions>
-</Project>
diff --git a/tools/AutoTests/TemplateProjects2010/Test3pch/Check/Check.vcxproj.filters b/tools/AutoTests/TemplateProjects2010/Test3pch/Check/Check.vcxproj.filters
deleted file mode 100644
index 45159fc2..00000000
--- a/tools/AutoTests/TemplateProjects2010/Test3pch/Check/Check.vcxproj.filters
+++ /dev/null
@@ -1,93 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
- <ItemGroup>
- <Filter Include="Source Files">
- <UniqueIdentifier>{4FC737F1-C7A5-4376-A066-2A32D752A2FF}</UniqueIdentifier>
- <Extensions>cpp;cxx;c;def</Extensions>
- </Filter>
- <Filter Include="Header Files">
- <UniqueIdentifier>{93995380-89BD-4b04-88EB-625FBE52EBFB}</UniqueIdentifier>
- <Extensions>h</Extensions>
- </Filter>
- <Filter Include="Form Files">
- <UniqueIdentifier>{99349809-55BA-4b9d-BF79-8FDBB0286EB3}</UniqueIdentifier>
- <Extensions>ui</Extensions>
- </Filter>
- <Filter Include="Resource Files">
- <UniqueIdentifier>{D9D6E242-F8AF-46E4-B9FD-80ECBC20BA3E}</UniqueIdentifier>
- <Extensions>qrc;*</Extensions>
- <ParseFiles>false</ParseFiles>
- </Filter>
- <Filter Include="Generated Files">
- <UniqueIdentifier>{71ED8ED8-ACB9-4CE9-BBE1-E00B30144E11}</UniqueIdentifier>
- <Extensions>moc;h;cpp</Extensions>
- <SourceControlFiles>False</SourceControlFiles>
- </Filter>
- <Filter Include="Generated Files\Debug">
- <UniqueIdentifier>{81e4aa0c-f696-48e5-a1d0-455d31b7af38}</UniqueIdentifier>
- <Extensions>cpp;moc</Extensions>
- <SourceControlFiles>False</SourceControlFiles>
- </Filter>
- <Filter Include="Generated Files\FooBar">
- <UniqueIdentifier>{b8d57638-5caa-47d3-a738-7db8d04c2a13}</UniqueIdentifier>
- <Extensions>cpp;moc</Extensions>
- <SourceControlFiles>False</SourceControlFiles>
- </Filter>
- <Filter Include="Generated Files\Release">
- <UniqueIdentifier>{77442a11-9e29-450e-8d39-33c730c8053d}</UniqueIdentifier>
- <Extensions>cpp;moc</Extensions>
- <SourceControlFiles>False</SourceControlFiles>
- </Filter>
- </ItemGroup>
- <ItemGroup>
- <ClCompile Include="bar.cpp">
- <Filter>Source Files</Filter>
- </ClCompile>
- <ClCompile Include="foo.cpp">
- <Filter>Source Files</Filter>
- </ClCompile>
- <ClCompile Include="main.cpp">
- <Filter>Source Files</Filter>
- </ClCompile>
- <ClCompile Include="pch.cpp">
- <Filter>Source Files</Filter>
- </ClCompile>
- <ClCompile Include="GeneratedFiles\Debug\moc_foo.cpp">
- <Filter>Generated Files\Debug</Filter>
- </ClCompile>
- <ClCompile Include="GeneratedFiles\FooBar\moc_foo.cpp">
- <Filter>Generated Files\FooBar</Filter>
- </ClCompile>
- <ClCompile Include="GeneratedFiles\Release\moc_foo.cpp">
- <Filter>Generated Files\Release</Filter>
- </ClCompile>
- </ItemGroup>
- <ItemGroup>
- <ClInclude Include="pch.h">
- <Filter>Header Files</Filter>
- </ClInclude>
- <ClInclude Include="GeneratedFiles\ui_foo.h">
- <Filter>Generated Files</Filter>
- </ClInclude>
- </ItemGroup>
- <ItemGroup>
- <CustomBuild Include="foo.h">
- <Filter>Header Files</Filter>
- </CustomBuild>
- <CustomBuild Include="foo.ui">
- <Filter>Form Files</Filter>
- </CustomBuild>
- <CustomBuild Include="foo.qrc">
- <Filter>Resource Files</Filter>
- </CustomBuild>
- <CustomBuild Include="GeneratedFiles\Debug\bar.moc">
- <Filter>Generated Files\Debug</Filter>
- </CustomBuild>
- <CustomBuild Include="GeneratedFiles\FooBar\bar.moc">
- <Filter>Generated Files\FooBar</Filter>
- </CustomBuild>
- <CustomBuild Include="GeneratedFiles\Release\bar.moc">
- <Filter>Generated Files\Release</Filter>
- </CustomBuild>
- </ItemGroup>
-</Project> \ No newline at end of file
diff --git a/tools/AutoTests/TemplateProjects2010/Test3pch/Check/bar.cpp b/tools/AutoTests/TemplateProjects2010/Test3pch/Check/bar.cpp
deleted file mode 100644
index 92a20813..00000000
--- a/tools/AutoTests/TemplateProjects2010/Test3pch/Check/bar.cpp
+++ /dev/null
@@ -1,13 +0,0 @@
-#include "pch.h"
-#include <QtGui/QWidget>
-
-class Bar : public QWidget
-{
- Q_OBJECT
-
-public:
- Bar(QWidget *parent = 0, Qt::WFlags flags = 0);
- ~Bar();
-};
-
-#include "bar.moc" \ No newline at end of file
diff --git a/tools/AutoTests/TemplateProjects2010/Test3pch/Check/foo.cpp b/tools/AutoTests/TemplateProjects2010/Test3pch/Check/foo.cpp
deleted file mode 100644
index 47c71ae6..00000000
--- a/tools/AutoTests/TemplateProjects2010/Test3pch/Check/foo.cpp
+++ /dev/null
@@ -1,14 +0,0 @@
-#include "pch.h"
-#include "foo.h"
-////#CUSTOMINCLUDE
-
-Foo::Foo(QWidget *parent, Qt::WFlags flags)
- : QWidget(parent, flags)
-{
- ui.setupUi(this);
-}
-
-Foo::~Foo()
-{
-
-}
diff --git a/tools/AutoTests/TemplateProjects2010/Test3pch/Check/foo.h b/tools/AutoTests/TemplateProjects2010/Test3pch/Check/foo.h
deleted file mode 100644
index ff46f40a..00000000
--- a/tools/AutoTests/TemplateProjects2010/Test3pch/Check/foo.h
+++ /dev/null
@@ -1,19 +0,0 @@
-#ifndef FOO_H
-#define FOO_H
-
-#include <QtGui/QWidget>
-#include "ui_foo.h"
-
-class Foo : public QWidget
-{
- Q_OBJECT
-
-public:
- Foo(QWidget *parent = 0, Qt::WFlags flags = 0);
- ~Foo();
-
-private:
- Ui::FooClass ui;
-};
-
-#endif // FOO_H
diff --git a/tools/AutoTests/TemplateProjects2010/Test3pch/Check/foo.qrc b/tools/AutoTests/TemplateProjects2010/Test3pch/Check/foo.qrc
deleted file mode 100644
index 18730fee..00000000
--- a/tools/AutoTests/TemplateProjects2010/Test3pch/Check/foo.qrc
+++ /dev/null
@@ -1,4 +0,0 @@
-<RCC>
- <qresource prefix="Foo">
- </qresource>
-</RCC>
diff --git a/tools/AutoTests/TemplateProjects2010/Test3pch/Check/foo.ui b/tools/AutoTests/TemplateProjects2010/Test3pch/Check/foo.ui
deleted file mode 100644
index e7568a8d..00000000
--- a/tools/AutoTests/TemplateProjects2010/Test3pch/Check/foo.ui
+++ /dev/null
@@ -1,23 +0,0 @@
-<UI version="4.0" >
- <class>FooClass</class>
- <widget class="QWidget" name="FooClass" >
- <property name="objectName" >
- <string notr="true">FooClass</string>
- </property>
- <property name="geometry" >
- <rect>
- <x>0</x>
- <y>0</y>
- <width>600</width>
- <height>400</height>
- </rect>
- </property>
- <property name="windowTitle" >
- <string>Foo</string>
- </property>
- </widget>
- <layoutDefault spacing="6" margin="11" />
- <pixmapfunction></pixmapfunction>
- <resources/>
- <connections/>
-</UI>
diff --git a/tools/AutoTests/TemplateProjects2010/Test3pch/Check/main.cpp b/tools/AutoTests/TemplateProjects2010/Test3pch/Check/main.cpp
deleted file mode 100644
index c8b37941..00000000
--- a/tools/AutoTests/TemplateProjects2010/Test3pch/Check/main.cpp
+++ /dev/null
@@ -1,8 +0,0 @@
-#include "pch.h"
-#include <QtGui/QApplication>
-
-int main(int argc, char *argv[])
-{
- QApplication a(argc, argv);
- return a.exec();
-}
diff --git a/tools/AutoTests/TemplateProjects2010/Test3pch/Check/pch.cpp b/tools/AutoTests/TemplateProjects2010/Test3pch/Check/pch.cpp
deleted file mode 100644
index 1d9f38c5..00000000
--- a/tools/AutoTests/TemplateProjects2010/Test3pch/Check/pch.cpp
+++ /dev/null
@@ -1 +0,0 @@
-#include "pch.h"
diff --git a/tools/AutoTests/TemplateProjects2010/Test3pch/Check/pch.h b/tools/AutoTests/TemplateProjects2010/Test3pch/Check/pch.h
deleted file mode 100644
index e69de29b..00000000
--- a/tools/AutoTests/TemplateProjects2010/Test3pch/Check/pch.h
+++ /dev/null
diff --git a/tools/AutoTests/TemplateProjects2010/Test3pch/Test3pch.sln b/tools/AutoTests/TemplateProjects2010/Test3pch/Test3pch.sln
deleted file mode 100644
index 3bd58ad1..00000000
--- a/tools/AutoTests/TemplateProjects2010/Test3pch/Test3pch.sln
+++ /dev/null
@@ -1,23 +0,0 @@
-
-Microsoft Visual Studio Solution File, Format Version 11.00
-# Visual Studio 2010
-Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Test3", "Check\Check.vcxproj", "{ADA1D5AA-949B-46E9-AA9E-10D2D5ECA5B0}"
-EndProject
-Global
- GlobalSection(SolutionConfigurationPlatforms) = preSolution
- Debug|Win32 = Debug|Win32
- Release|Win32 = Release|Win32
- EndGlobalSection
- GlobalSection(ProjectConfigurationPlatforms) = postSolution
- {ADA1D5AA-949B-46E9-AA9E-10D2D5ECA5B0}.Debug|Win32.ActiveCfg = Debug|Win32
- {ADA1D5AA-949B-46E9-AA9E-10D2D5ECA5B0}.Debug|Win32.Build.0 = Debug|Win32
- {ADA1D5AA-949B-46E9-AA9E-10D2D5ECA5B0}.Release|Win32.ActiveCfg = Release|Win32
- {ADA1D5AA-949B-46E9-AA9E-10D2D5ECA5B0}.Release|Win32.Build.0 = Release|Win32
- EndGlobalSection
- GlobalSection(SolutionProperties) = preSolution
- HideSolutionNode = FALSE
- EndGlobalSection
- GlobalSection(Qt) = preSolution
- Integration = True
- EndGlobalSection
-EndGlobal
diff --git a/tools/AutoTests/TemplateProjects2010/Test4/Check/Check.vcxproj b/tools/AutoTests/TemplateProjects2010/Test4/Check/Check.vcxproj
deleted file mode 100644
index 05ad245b..00000000
--- a/tools/AutoTests/TemplateProjects2010/Test4/Check/Check.vcxproj
+++ /dev/null
@@ -1,162 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
- <ItemGroup Label="ProjectConfigurations">
- <ProjectConfiguration Include="Debug|Win32">
- <Configuration>Debug</Configuration>
- <Platform>Win32</Platform>
- </ProjectConfiguration>
- <ProjectConfiguration Include="Release|Win32">
- <Configuration>Release</Configuration>
- <Platform>Win32</Platform>
- </ProjectConfiguration>
- </ItemGroup>
- <PropertyGroup Label="Globals">
- <ProjectName>Test4</ProjectName>
- <ProjectGuid>{ADA1D5AA-949B-46E9-AA9E-10D2D5ECA5B0}</ProjectGuid>
- <RootNamespace>Check</RootNamespace>
- <Keyword>Qt4VSv1.0</Keyword>
- </PropertyGroup>
- <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
- <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
- <ConfigurationType>Application</ConfigurationType>
- </PropertyGroup>
- <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
- <ConfigurationType>Application</ConfigurationType>
- </PropertyGroup>
- <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
- <ImportGroup Label="ExtensionSettings">
- </ImportGroup>
- <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="PropertySheets">
- <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
- </ImportGroup>
- <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="PropertySheets">
- <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
- </ImportGroup>
- <PropertyGroup Label="UserMacros" />
- <PropertyGroup>
- <_ProjectFileVersion>10.0.30319.1</_ProjectFileVersion>
- <OutDir Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">$(SolutionDir)$(Configuration)\</OutDir>
- <OutDir Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">$(SolutionDir)$(Configuration)\</OutDir>
- <IntDir Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">$(Configuration)\</IntDir>
- </PropertyGroup>
- <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
- <ClCompile>
- <AdditionalIncludeDirectories>.\GeneratedFiles;$(QTDIR)\include;.\GeneratedFiles\$(Configuration);.;$(QTDIR)\include\QtCore;$(QTDIR)\include\QtGui;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
- <PreprocessorDefinitions>UNICODE;WIN32;QT_THREAD_SUPPORT;QT_NO_DEBUG;NDEBUG;QT_CORE_LIB;QT_GUI_LIB;%(PreprocessorDefinitions)</PreprocessorDefinitions>
- <RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>
- <TreatWChar_tAsBuiltInType>false</TreatWChar_tAsBuiltInType>
- <DebugInformationFormat>
- </DebugInformationFormat>
- </ClCompile>
- <Link>
- <AdditionalDependencies>qtmain.lib;QtCore4.lib;QtGui4.lib;%(AdditionalDependencies)</AdditionalDependencies>
- <OutputFile>$(OutDir)$(ProjectName).exe</OutputFile>
- <AdditionalLibraryDirectories>$(QTDIR)\lib;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
- <GenerateDebugInformation>false</GenerateDebugInformation>
- <SubSystem>Windows</SubSystem>
- </Link>
- </ItemDefinitionGroup>
- <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
- <ClCompile>
- <Optimization>Disabled</Optimization>
- <AdditionalIncludeDirectories>.\GeneratedFiles;$(QTDIR)\include;.\GeneratedFiles\$(Configuration);.;$(QTDIR)\include\QtCore;$(QTDIR)\include\QtGui;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
- <PreprocessorDefinitions>UNICODE;WIN32;QT_THREAD_SUPPORT;QT_CORE_LIB;QT_GUI_LIB;%(PreprocessorDefinitions)</PreprocessorDefinitions>
- <RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary>
- <TreatWChar_tAsBuiltInType>false</TreatWChar_tAsBuiltInType>
- <PrecompiledHeader>Use</PrecompiledHeader>
- <PrecompiledHeaderFile>test.h</PrecompiledHeaderFile>
- <PrecompiledHeaderOutputFile>test.pch</PrecompiledHeaderOutputFile>
- <DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
- </ClCompile>
- <Link>
- <AdditionalDependencies>qtmaind.lib;QtCored4.lib;QtGuid4.lib;%(AdditionalDependencies)</AdditionalDependencies>
- <OutputFile>$(OutDir)$(ProjectName).exe</OutputFile>
- <AdditionalLibraryDirectories>$(QTDIR)\lib;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
- <GenerateDebugInformation>true</GenerateDebugInformation>
- <SubSystem>Windows</SubSystem>
- </Link>
- </ItemDefinitionGroup>
- <ItemGroup>
- <ClCompile Include="foo.cpp" />
- <ClCompile Include="main.cpp" />
- <ClCompile Include="stdafx.cpp" />
- <ClCompile Include="test.cpp">
- <PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">Create</PrecompiledHeader>
- </ClCompile>
- <ClCompile Include="GeneratedFiles\Debug\moc_foo.cpp">
- <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">true</ExcludedFromBuild>
- </ClCompile>
- <ClCompile Include="GeneratedFiles\Release\moc_foo.cpp">
- <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</ExcludedFromBuild>
- </ClCompile>
- </ItemGroup>
- <ItemGroup>
- <CustomBuild Include="foo.h">
- <Message Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">Moc%27ing %(Filename)%(Extension)...</Message>
- <Command Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">"$(QTDIR)\bin\moc.exe" "%(FullPath)" -o ".\GeneratedFiles\$(Configuration)\moc_%(Filename).cpp" -DQT_CORE_LIB -DQT_GUI_LIB -DQT_THREAD_SUPPORT -DUNICODE -DWIN32 -I"$(QTDIR)\include\." -I"$(QTDIR)\include\QtCore\." -I"$(QTDIR)\include\QtGui\." -I".\." -I".\GeneratedFiles\$(Configuration)\." -I".\GeneratedFiles\." "-ftest.h" "-f..\..\foo.h"
-</Command>
- <AdditionalInputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">$(QTDIR)\bin\moc.exe;%(FullPath);%(AdditionalInputs)</AdditionalInputs>
- <Outputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">.\GeneratedFiles\$(Configuration)\moc_%(Filename).cpp;%(Outputs)</Outputs>
- <Message Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">Moc%27ing %(Filename)%(Extension)...</Message>
- <Command Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">"$(QTDIR)\bin\moc.exe" "%(FullPath)" -o ".\GeneratedFiles\$(Configuration)\moc_%(Filename).cpp" -DNDEBUG -DQT_CORE_LIB -DQT_GUI_LIB -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -DUNICODE -DWIN32 -I"$(QTDIR)\include\." -I"$(QTDIR)\include\QtCore\." -I"$(QTDIR)\include\QtGui\." -I".\." -I".\GeneratedFiles\$(Configuration)\." -I".\GeneratedFiles\."
-</Command>
- <AdditionalInputs Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">$(QTDIR)\bin\moc.exe;%(FullPath);%(AdditionalInputs)</AdditionalInputs>
- <Outputs Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">.\GeneratedFiles\$(Configuration)\moc_%(Filename).cpp;%(Outputs)</Outputs>
- </CustomBuild>
- <ClInclude Include="stdafx.h" />
- <ClInclude Include="test.h" />
- <ClInclude Include="GeneratedFiles\ui_foo.h" />
- </ItemGroup>
- <ItemGroup>
- <CustomBuild Include="foo.ui">
- <Message Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">Uic%27ing %(FullPath)...</Message>
- <Command Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">"$(QTDIR)\bin\uic.exe" -o ".\GeneratedFiles\ui_foo.h" "%(FullPath)"
-</Command>
- <AdditionalInputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">$(QTDIR)\bin\uic.exe;%(AdditionalInputs)</AdditionalInputs>
- <Outputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">.\GeneratedFiles\ui_foo.h;%(Outputs)</Outputs>
- <Message Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">Uic%27ing %(FullPath)...</Message>
- <Command Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">"$(QTDIR)\bin\uic.exe" -o ".\GeneratedFiles\ui_foo.h" "%(FullPath)"
-</Command>
- <AdditionalInputs Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">$(QTDIR)\bin\uic.exe;%(AdditionalInputs)</AdditionalInputs>
- <Outputs Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">.\GeneratedFiles\ui_foo.h;%(Outputs)</Outputs>
- </CustomBuild>
- <CustomBuild Include="foo.qrc">
- <Message Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
- </Message>
- <Command Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
- </Command>
- <AdditionalInputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">%(AdditionalInputs)</AdditionalInputs>
- <Outputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">%(Outputs)</Outputs>
- <Message Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
- </Message>
- <Command Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
- </Command>
- <AdditionalInputs Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">%(AdditionalInputs)</AdditionalInputs>
- <Outputs Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">%(Outputs)</Outputs>
- </CustomBuild>
- <CustomBuild Include="GeneratedFiles\Debug\main.moc">
- <Message Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">Moc%27ing %(Filename)%(Extension)...</Message>
- <Command Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">"$(QTDIR)\bin\moc.exe" ".\main.cpp" -o ".\GeneratedFiles\$(Configuration)\%(Filename).moc" -DQT_CORE_LIB -DQT_GUI_LIB -DQT_THREAD_SUPPORT -DUNICODE -DWIN32 -I"$(QTDIR)\include\." -I"$(QTDIR)\include\QtCore\." -I"$(QTDIR)\include\QtGui\." -I".\." -I".\GeneratedFiles\$(Configuration)\." -I".\GeneratedFiles\." "-ftest.h" "-f..\..\main.cpp"
-</Command>
- <AdditionalInputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">$(QTDIR)\bin\moc.exe;.\main.cpp;%(AdditionalInputs)</AdditionalInputs>
- <Outputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">.\GeneratedFiles\$(Configuration)\%(Filename).moc;%(Outputs)</Outputs>
- <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">true</ExcludedFromBuild>
- </CustomBuild>
- <CustomBuild Include="GeneratedFiles\Release\main.moc">
- <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</ExcludedFromBuild>
- <Message Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">Moc%27ing %(Filename)%(Extension)...</Message>
- <Command Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">"$(QTDIR)\bin\moc.exe" ".\main.cpp" -o ".\GeneratedFiles\$(Configuration)\%(Filename).moc" -DNDEBUG -DQT_CORE_LIB -DQT_GUI_LIB -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -DUNICODE -DWIN32 -I"$(QTDIR)\include\." -I"$(QTDIR)\include\QtCore\." -I"$(QTDIR)\include\QtGui\." -I".\." -I".\GeneratedFiles\$(Configuration)\." -I".\GeneratedFiles\."
-</Command>
- <AdditionalInputs Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">$(QTDIR)\bin\moc.exe;.\main.cpp;%(AdditionalInputs)</AdditionalInputs>
- <Outputs Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">.\GeneratedFiles\$(Configuration)\%(Filename).moc;%(Outputs)</Outputs>
- </CustomBuild>
- </ItemGroup>
- <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
- <ImportGroup Label="ExtensionTargets">
- </ImportGroup>
- <ProjectExtensions>
- <VisualStudio>
- <UserProperties MocDir=".\GeneratedFiles\$(ConfigurationName)" QtVersion_x0020_Win32="$(DefaultQtVersion)" RccDir=".\GeneratedFiles" UicDir=".\GeneratedFiles" />
- </VisualStudio>
- </ProjectExtensions>
-</Project>
diff --git a/tools/AutoTests/TemplateProjects2010/Test4/Check/Check.vcxproj.filters b/tools/AutoTests/TemplateProjects2010/Test4/Check/Check.vcxproj.filters
deleted file mode 100644
index f6450893..00000000
--- a/tools/AutoTests/TemplateProjects2010/Test4/Check/Check.vcxproj.filters
+++ /dev/null
@@ -1,75 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
- <ItemGroup>
- <Filter Include="Source Files">
- <UniqueIdentifier>{4FC737F1-C7A5-4376-A066-2A32D752A2FF}</UniqueIdentifier>
- <Extensions>cpp;cxx;c;def</Extensions>
- </Filter>
- <Filter Include="Header Files">
- <UniqueIdentifier>{93995380-89BD-4b04-88EB-625FBE52EBFB}</UniqueIdentifier>
- <Extensions>h</Extensions>
- </Filter>
- <Filter Include="Form Files">
- <UniqueIdentifier>{99349809-55BA-4b9d-BF79-8FDBB0286EB3}</UniqueIdentifier>
- <Extensions>ui</Extensions>
- </Filter>
- <Filter Include="Resource Files">
- <UniqueIdentifier>{D9D6E242-F8AF-46E4-B9FD-80ECBC20BA3E}</UniqueIdentifier>
- <Extensions>qrc;*</Extensions>
- <ParseFiles>false</ParseFiles>
- </Filter>
- <Filter Include="Generated Files">
- <UniqueIdentifier>{71ED8ED8-ACB9-4CE9-BBE1-E00B30144E11}</UniqueIdentifier>
- <Extensions>moc;h;cpp</Extensions>
- <SourceControlFiles>False</SourceControlFiles>
- </Filter>
- </ItemGroup>
- <ItemGroup>
- <ClCompile Include="foo.cpp">
- <Filter>Source Files</Filter>
- </ClCompile>
- <ClCompile Include="main.cpp">
- <Filter>Source Files</Filter>
- </ClCompile>
- <ClCompile Include="stdafx.cpp">
- <Filter>Source Files</Filter>
- </ClCompile>
- <ClCompile Include="test.cpp">
- <Filter>Source Files</Filter>
- </ClCompile>
- <ClCompile Include="GeneratedFiles\Debug\moc_foo.cpp">
- <Filter>Generated Files</Filter>
- </ClCompile>
- <ClCompile Include="GeneratedFiles\Release\moc_foo.cpp">
- <Filter>Generated Files</Filter>
- </ClCompile>
- </ItemGroup>
- <ItemGroup>
- <ClInclude Include="stdafx.h">
- <Filter>Header Files</Filter>
- </ClInclude>
- <ClInclude Include="test.h">
- <Filter>Header Files</Filter>
- </ClInclude>
- <ClInclude Include="GeneratedFiles\ui_foo.h">
- <Filter>Generated Files</Filter>
- </ClInclude>
- </ItemGroup>
- <ItemGroup>
- <CustomBuild Include="foo.h">
- <Filter>Header Files</Filter>
- </CustomBuild>
- <CustomBuild Include="foo.ui">
- <Filter>Form Files</Filter>
- </CustomBuild>
- <CustomBuild Include="foo.qrc">
- <Filter>Resource Files</Filter>
- </CustomBuild>
- <CustomBuild Include="GeneratedFiles\Debug\main.moc">
- <Filter>Generated Files</Filter>
- </CustomBuild>
- <CustomBuild Include="GeneratedFiles\Release\main.moc">
- <Filter>Generated Files</Filter>
- </CustomBuild>
- </ItemGroup>
-</Project> \ No newline at end of file
diff --git a/tools/AutoTests/TemplateProjects2010/Test4/Check/bar.cpp b/tools/AutoTests/TemplateProjects2010/Test4/Check/bar.cpp
deleted file mode 100644
index 7377a16b..00000000
--- a/tools/AutoTests/TemplateProjects2010/Test4/Check/bar.cpp
+++ /dev/null
@@ -1,12 +0,0 @@
-#include <QtGui/QWidget>
-
-class Bar : public QWidget
-{
- Q_OBJECT
-
-public:
- Bar(QWidget *parent = 0, Qt::WFlags flags = 0);
- ~Bar();
-};
-
-#include "bar.moc" \ No newline at end of file
diff --git a/tools/AutoTests/TemplateProjects2010/Test4/Check/foo.cpp b/tools/AutoTests/TemplateProjects2010/Test4/Check/foo.cpp
deleted file mode 100644
index 39121f0f..00000000
--- a/tools/AutoTests/TemplateProjects2010/Test4/Check/foo.cpp
+++ /dev/null
@@ -1,14 +0,0 @@
-#include "test.h"
-#include "foo.h"
-////#CUSTOMINCLUDE
-
-Foo::Foo(QWidget *parent, Qt::WFlags flags)
- : QWidget(parent, flags)
-{
- ui.setupUi(this);
-}
-
-Foo::~Foo()
-{
-
-}
diff --git a/tools/AutoTests/TemplateProjects2010/Test4/Check/foo.h b/tools/AutoTests/TemplateProjects2010/Test4/Check/foo.h
deleted file mode 100644
index ff46f40a..00000000
--- a/tools/AutoTests/TemplateProjects2010/Test4/Check/foo.h
+++ /dev/null
@@ -1,19 +0,0 @@
-#ifndef FOO_H
-#define FOO_H
-
-#include <QtGui/QWidget>
-#include "ui_foo.h"
-
-class Foo : public QWidget
-{
- Q_OBJECT
-
-public:
- Foo(QWidget *parent = 0, Qt::WFlags flags = 0);
- ~Foo();
-
-private:
- Ui::FooClass ui;
-};
-
-#endif // FOO_H
diff --git a/tools/AutoTests/TemplateProjects2010/Test4/Check/foo.qrc b/tools/AutoTests/TemplateProjects2010/Test4/Check/foo.qrc
deleted file mode 100644
index 18730fee..00000000
--- a/tools/AutoTests/TemplateProjects2010/Test4/Check/foo.qrc
+++ /dev/null
@@ -1,4 +0,0 @@
-<RCC>
- <qresource prefix="Foo">
- </qresource>
-</RCC>
diff --git a/tools/AutoTests/TemplateProjects2010/Test4/Check/foo.ui b/tools/AutoTests/TemplateProjects2010/Test4/Check/foo.ui
deleted file mode 100644
index e7568a8d..00000000
--- a/tools/AutoTests/TemplateProjects2010/Test4/Check/foo.ui
+++ /dev/null
@@ -1,23 +0,0 @@
-<UI version="4.0" >
- <class>FooClass</class>
- <widget class="QWidget" name="FooClass" >
- <property name="objectName" >
- <string notr="true">FooClass</string>
- </property>
- <property name="geometry" >
- <rect>
- <x>0</x>
- <y>0</y>
- <width>600</width>
- <height>400</height>
- </rect>
- </property>
- <property name="windowTitle" >
- <string>Foo</string>
- </property>
- </widget>
- <layoutDefault spacing="6" margin="11" />
- <pixmapfunction></pixmapfunction>
- <resources/>
- <connections/>
-</UI>
diff --git a/tools/AutoTests/TemplateProjects2010/Test4/Check/main.cpp b/tools/AutoTests/TemplateProjects2010/Test4/Check/main.cpp
deleted file mode 100644
index 21cb20e9..00000000
--- a/tools/AutoTests/TemplateProjects2010/Test4/Check/main.cpp
+++ /dev/null
@@ -1,23 +0,0 @@
-#include "test.h"
-#include <QtGui/QApplication>
-#include "foo.h"
-
-class Bar : public QWidget
-{
- Q_OBJECT
-
-public:
- Bar(QWidget *parent = 0, Qt::WFlags flags = 0);
- ~Bar();
-
-private:
- Ui::FooClass ui;
-};
-
-int main(int argc, char *argv[])
-{
- QApplication a(argc, argv);
- Foo w;
- w.show();
- return a.exec();
-}
diff --git a/tools/AutoTests/TemplateProjects2010/Test4/Check/stdafx.cpp b/tools/AutoTests/TemplateProjects2010/Test4/Check/stdafx.cpp
deleted file mode 100644
index 91ab081c..00000000
--- a/tools/AutoTests/TemplateProjects2010/Test4/Check/stdafx.cpp
+++ /dev/null
@@ -1 +0,0 @@
-#include "test.h" \ No newline at end of file
diff --git a/tools/AutoTests/TemplateProjects2010/Test4/Check/stdafx.h b/tools/AutoTests/TemplateProjects2010/Test4/Check/stdafx.h
deleted file mode 100644
index e69de29b..00000000
--- a/tools/AutoTests/TemplateProjects2010/Test4/Check/stdafx.h
+++ /dev/null
diff --git a/tools/AutoTests/TemplateProjects2010/Test4/Check/test.cpp b/tools/AutoTests/TemplateProjects2010/Test4/Check/test.cpp
deleted file mode 100644
index 91ab081c..00000000
--- a/tools/AutoTests/TemplateProjects2010/Test4/Check/test.cpp
+++ /dev/null
@@ -1 +0,0 @@
-#include "test.h" \ No newline at end of file
diff --git a/tools/AutoTests/TemplateProjects2010/Test4/Check/test.h b/tools/AutoTests/TemplateProjects2010/Test4/Check/test.h
deleted file mode 100644
index e69de29b..00000000
--- a/tools/AutoTests/TemplateProjects2010/Test4/Check/test.h
+++ /dev/null
diff --git a/tools/AutoTests/TemplateProjects2010/Test4/Check/test.pch b/tools/AutoTests/TemplateProjects2010/Test4/Check/test.pch
deleted file mode 100644
index eff90beb..00000000
--- a/tools/AutoTests/TemplateProjects2010/Test4/Check/test.pch
+++ /dev/null
Binary files differ
diff --git a/tools/AutoTests/TemplateProjects2010/Test4/Test4.sln b/tools/AutoTests/TemplateProjects2010/Test4/Test4.sln
deleted file mode 100644
index cc8ce81f..00000000
--- a/tools/AutoTests/TemplateProjects2010/Test4/Test4.sln
+++ /dev/null
@@ -1,23 +0,0 @@
-
-Microsoft Visual Studio Solution File, Format Version 11.00
-# Visual Studio 2010
-Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Test4", "Check\Check.vcxproj", "{ADA1D5AA-949B-46E9-AA9E-10D2D5ECA5B0}"
-EndProject
-Global
- GlobalSection(SolutionConfigurationPlatforms) = preSolution
- Debug|Win32 = Debug|Win32
- Release|Win32 = Release|Win32
- EndGlobalSection
- GlobalSection(ProjectConfigurationPlatforms) = postSolution
- {ADA1D5AA-949B-46E9-AA9E-10D2D5ECA5B0}.Debug|Win32.ActiveCfg = Debug|Win32
- {ADA1D5AA-949B-46E9-AA9E-10D2D5ECA5B0}.Debug|Win32.Build.0 = Debug|Win32
- {ADA1D5AA-949B-46E9-AA9E-10D2D5ECA5B0}.Release|Win32.ActiveCfg = Release|Win32
- {ADA1D5AA-949B-46E9-AA9E-10D2D5ECA5B0}.Release|Win32.Build.0 = Release|Win32
- EndGlobalSection
- GlobalSection(SolutionProperties) = preSolution
- HideSolutionNode = FALSE
- EndGlobalSection
- GlobalSection(Qt) = preSolution
- Integration = True
- EndGlobalSection
-EndGlobal
diff --git a/tools/AutoTests/Tools/InstallIntegration.bat b/tools/AutoTests/Tools/InstallIntegration.bat
deleted file mode 100644
index 356ea80b..00000000
--- a/tools/AutoTests/Tools/InstallIntegration.bat
+++ /dev/null
@@ -1 +0,0 @@
-FOR /F %%I IN ('DIR qt-vsintegration*.exe /B /O:-D') DO start /wait %%I /S & EXIT
diff --git a/tools/AutoTests/Tools/UDPClient.exe b/tools/AutoTests/Tools/UDPClient.exe
deleted file mode 100644
index bf241353..00000000
--- a/tools/AutoTests/Tools/UDPClient.exe
+++ /dev/null
Binary files differ
diff --git a/tools/AutoTests/Tools/vsipTest.bat b/tools/AutoTests/Tools/vsipTest.bat
deleted file mode 100644
index 5109927f..00000000
--- a/tools/AutoTests/Tools/vsipTest.bat
+++ /dev/null
@@ -1,17 +0,0 @@
-start /wait GetSnapshot.bat
-
-"C:\Program Files\Nokia\Qt VS Integration\uninst.exe" /S
-
-PING 1.1.1.1 -n 1 -w 60000 >NUL
-
-start /wait InstallIntegration.bat
-
-PING 1.1.1.1 -n 1 -w 60000 >NUL
-
-set PATH=C:\Program Files\Microsoft Visual Studio 9.0\Common7\IDE\;%PATH%
-
-devenv
-
-PING localhost -n 1 -w 10000 >NUL
-
-UDPClient.exe \ No newline at end of file
diff --git a/tools/AutoTests/connect.cs b/tools/AutoTests/connect.cs
deleted file mode 100644
index f9e42a07..00000000
--- a/tools/AutoTests/connect.cs
+++ /dev/null
@@ -1,2080 +0,0 @@
-/****************************************************************************
-**
-** Copyright (C) 2016 The Qt Company Ltd.
-** Contact: https://www.qt.io/licensing/
-**
-** This file is part of the Qt VS Add-in.
-**
-** $QT_BEGIN_LICENSE:GPL-EXCEPT$
-** Commercial License Usage
-** Licensees holding valid commercial Qt licenses may use this file in
-** accordance with the commercial license agreement provided with the
-** Software or, alternatively, in accordance with the terms contained in
-** a written agreement between you and The Qt Company. For licensing terms
-** and conditions see https://www.qt.io/terms-conditions. For further
-** information use the contact form at https://www.qt.io/contact-us.
-**
-** GNU General Public License Usage
-** Alternatively, this file may be used under the terms of the GNU
-** General Public License version 3 as published by the Free Software
-** Foundation with exceptions as appearing in the file LICENSE.GPL3-EXCEPT
-** included in the packaging of this file. Please review the following
-** information to ensure the GNU General Public License requirements will
-** be met: https://www.gnu.org/licenses/gpl-3.0.html.
-**
-** $QT_END_LICENSE$
-**
-****************************************************************************/
-
-using System;
-using System.IO;
-using System.Xml;
-using Extensibility;
-using EnvDTE;
-using EnvDTE80;
-using Microsoft.VisualStudio.VCProjectEngine;
-using System.Net.Sockets;
-using System.Net;
-using System.Text;
-using CompilerToolSpace;
-using System.Collections.Generic;
-
-namespace AddInAutoTest
-{
- /// <summary>The object for implementing an Add-in.</summary>
- /// <seealso class='IDTExtensibility2' />
- public class Connect : IDTExtensibility2
- {
- enum ProjectDirectory
- {
- MocDir,
- RccDir,
- UicDir
- };
- System.Threading.Thread svthread;
- UdpClient server;
-#if VS2005
- string templatePath = "TemplateProjects2005" + Path.DirectorySeparatorChar;
-#elif VS2008
- string templatePath = "TemplateProjects2008" + Path.DirectorySeparatorChar;
-#elif VS2010
- string templatePath = "TemplateProjects2010" + Path.DirectorySeparatorChar;
-#endif
-
- private StreamWriter logger = null;
- private string testPath = null;
- private List<String> extensions = new List<String>();
- private List<string> mocDirectories = new List<string>();
- private string appwrapperPath = null;
-
- private String BackupSolution(string path, string name)
- {
- try
- {
- if (_applicationObject.Solution != null)
- _applicationObject.Solution.Close(false);
-
- System.Threading.Thread.Sleep(500);
- char sep = Path.DirectorySeparatorChar;
- if (Directory.Exists(path + "tmp"))
- Directory.Delete(path + "tmp", true);
- System.Threading.Thread.Sleep(500);
- CopyDirectory(path + name, path + "tmp");
- return path + "tmp" + sep;
- }
- catch (Exception e)
- {
- Console.WriteLine(e.Message);
- return null;
- }
- }
-
- private Project GetProject(string projectName, Solution solution)
- {
- foreach (Project p in solution.Projects)
- if (p.Name.ToLower() == projectName.ToLower())
- return p;
- return null;
- }
-
- private void CopyDirectory(string Src, string Dst)
- {
- String[] Files;
-
- if (Dst[Dst.Length - 1] != Path.DirectorySeparatorChar)
- Dst += Path.DirectorySeparatorChar;
- if (!Directory.Exists(Dst)) Directory.CreateDirectory(Dst);
- Files = Directory.GetFileSystemEntries(Src);
- foreach (string Element in Files)
- {
- if (Directory.Exists(Element))
- CopyDirectory(Element, Dst + Path.GetFileName(Element));
- else
- File.Copy(Element, Dst + Path.GetFileName(Element), true);
- }
- }
-
- private bool ProjectItemContainsString(ProjectItem item, string str)
- {
- item.Open(EnvDTE.Constants.vsViewKindPrimary);
- if (item.Document == null)
- return false;
-
- item.Document.Activate();
- return File.ReadAllText(item.Document.FullName).Contains(str);
- }
-
- private Exception ReplaceStringInProjectItem(ProjectItem item, string oldValue, string newValue)
- {
- item.Open(EnvDTE.Constants.vsViewKindPrimary);
- item.Document.Activate();
- if (!ProjectItemContainsString(item, oldValue))
- return new Exception(item.Document.Name + " does not contain \"" + oldValue + "\"");
- item.Document.ReplaceText(oldValue, newValue, (int)vsFindOptions.vsFindOptionsNone);
- /*if (item.Document.Save(item.Document.FullName) == vsSaveStatus.vsSaveCancelled)
- {
- return new Exception("File Dialog");
- }*/
-#if !VS2010
- System.Threading.Thread.Sleep(7500);
-#endif
- item.Document.Save(item.Document.FullName);
-#if !VS2010
- System.Threading.Thread.Sleep(500);
-#endif
- item.Document.Close(vsSaveChanges.vsSaveChangesNo);
- return null;
- }
-
- private Exception RebuildSolution()
- {
- _applicationObject.Solution.SolutionBuild.Clean(true);
-
- _applicationObject.Solution.SolutionBuild.Build(true);
- while (_applicationObject.Solution.SolutionBuild.BuildState == vsBuildState.vsBuildStateInProgress)
- System.Threading.Thread.Sleep(100);
- if (_applicationObject.Solution.SolutionBuild.LastBuildInfo != 0)
- return new Exception("Build process failed");
- return null;
- }
-
- private Exception ChangeIncludeAndUpdateMoc(ProjectItem header, ProjectItem source,
- string oldInclude, string newInclude)
- {
- Exception e = null;
- e = ReplaceStringInProjectItem(header, "Q_OBJECT", "//Q_OBJECT_HERE");
- if (e != null)
- return e;
- e = ReplaceStringInProjectItem(source, oldInclude, newInclude);
- if (e != null)
- return e;
- e = ReplaceStringInProjectItem(header, "//Q_OBJECT_HERE", "Q_OBJECT");
- if (e != null)
- return e;
- return null;
- }
-
- private bool FileExistsAndExcludedFromBuild(VCProject vcProject, string filename)
- {
- foreach (VCFile file in (IVCCollection)vcProject.Files)
- {
- foreach (VCFileConfiguration fileConfig in (IVCCollection)file.FileConfigurations)
- {
- if (file.Name == filename && !fileConfig.ExcludedFromBuild)
- return false;
- }
- }
- return true;
- }
-
- public void AutoTestCase1()
- {
- foreach (String extension in extensions)
- {
- foreach (string mocDirectory in mocDirectories)
- {
- bool success = true;
- Exception currentException = null;
- try
- {
- logger.WriteLine(DateTime.Now.ToString() + ": Case1 (adding Q_OBJECT macro) begins");
- logger.WriteLine("\textension: " + extension);
- logger.WriteLine("\tmoc directory: " + mocDirectory);
- String solutionRootDir = BackupSolution(testPath + templatePath, "Test1" + extension);
- _applicationObject.Solution.Open(solutionRootDir + "Test1" + extension + ".sln");
- Solution solution = _applicationObject.Solution;
- if (solution == null)
- throw new Exception(DateTime.Now.ToString() + "Case1: Could not open solution");
-
- Project project = GetProject("Test1", solution);
- SetProjectDirectory(project, ProjectDirectory.MocDir, mocDirectory);
-
- ProjectItem piSource = project.ProjectItems.Item("Source Files");
- ProjectItem main = piSource.ProjectItems.Item("main.cpp");
-
- currentException = ReplaceStringInProjectItem(main, "//Q_OBJECT_HERE", "Q_OBJECT");
- if (currentException != null)
- throw new Exception(DateTime.Now.ToString() + "Case1: "
- + currentException.Message);
- currentException = ReplaceStringInProjectItem(main, "//#include \"main.moc\"", "#include \"main.moc\"");
- if (currentException != null)
- throw new Exception(DateTime.Now.ToString() + "Case1: "
- + currentException.Message);
-
- ProjectItem sub = piSource.ProjectItems.Item("sub.cpp");
-
- currentException = ReplaceStringInProjectItem(sub, "//Q_OBJECT_HERE", "Q_OBJECT");
- if (currentException != null)
- throw new Exception(DateTime.Now.ToString() + "Case1: "
- + currentException.Message);
- currentException = ReplaceStringInProjectItem(sub, "//#include \"sub.moc\"", "#include \"sub.moc\"");
- if (currentException != null)
- throw new Exception(DateTime.Now.ToString() + "Case1: "
- + currentException.Message);
-
- ProjectItem piHeader = project.ProjectItems.Item("Header Files");
- ProjectItem foo = piHeader.ProjectItems.Item("foo.h");
-
- currentException = ReplaceStringInProjectItem(foo, "//Q_OBJECT_HERE", "Q_OBJECT");
- if (currentException != null)
- throw new Exception(DateTime.Now.ToString() + "Case1: "
- + currentException.Message);
-
-
- bool excludedCorrectly = true;
- VCProject vcProject = project.Object as VCProject;
- foreach (VCFile file in (IVCCollection)vcProject.Files)
- {
- if (file.Name == "moc_foo.cpp" || file.Name == "main.moc"
- || file.Name == "sub.moc")
- {
-
- ProjectItem fileItem = file.Object as ProjectItem;
- VCProjectItem vcFileItem = fileItem.Object as VCProjectItem;
- VCFilter itemFilter = vcFileItem.Parent as VCFilter;
- if (itemFilter == null && (mocDirectory.Contains("$(ConfigurationName") || mocDirectory.Contains("$(PlatformName")))
- {
- success = false;
- break;
- }
- if (itemFilter != null && !itemFilter.Name.Equals("Generated Files")) //Configuration-/PlatformName in MocDirectory
- {
- foreach (VCFileConfiguration fileConfig in (IVCCollection)file.FileConfigurations)
- {
- VCConfiguration config = fileConfig.ProjectConfiguration as VCConfiguration;
- string filterName = "";
- if (mocDirectory.Contains("$(ConfigurationName"))
- filterName += config.ConfigurationName;
- if (mocDirectory.Contains("$(PlatformName)"))
- {
- if (!string.IsNullOrEmpty(filterName))
- filterName += '_';
- VCPlatform platform = config.Platform as VCPlatform;
- filterName += platform.Name;
- }
-
- bool hasToBeExcluded = !filterName.Equals(itemFilter.Name);
-
- if (fileConfig.ExcludedFromBuild != hasToBeExcluded)
- {
- excludedCorrectly = false;
- break;
- }
- }
- }
- else
- {
- foreach (VCFileConfiguration fileConfig in (IVCCollection)file.FileConfigurations)
- {
- if (fileConfig.ExcludedFromBuild)
- excludedCorrectly = false;
- }
- }
- }
- }
- if (!excludedCorrectly)
- throw new Exception(DateTime.Now.ToString()
- + ": Case1: Moc Files were not generated (correctly)");
- else
- logger.WriteLine(DateTime.Now.ToString()
- + ": Case1: Moc Files were generated correctly");
-
- currentException = RebuildSolution();
- if (currentException != null)
- throw new Exception(DateTime.Now.ToString()
- + ": Case1: " + currentException.Message);
- else
- logger.WriteLine(DateTime.Now.ToString()
- + ": Case1: Build process succeeded");
- }
- catch (Exception e)
- {
- success = false;
- logger.WriteLine(e.Message);
- }
- if (success)
- logger.WriteLine(DateTime.Now.ToString() + ": Case1 succeeded");
- else
- logger.WriteLine(DateTime.Now.ToString() + ": Case1 failed");
- logger.WriteLine("");
- }
- }
- }
-
- private void AutoTestCase2()
- {
- foreach (String extension in extensions)
- {
- foreach (string mocDirectory in mocDirectories)
- {
- bool success = true;
- Exception currentException = null;
- try
- {
- success = true;
- logger.WriteLine(DateTime.Now.ToString()
- + ": Case2 (remove the Q_OBJECT macro from header) begins");
- logger.WriteLine("\textension: " + extension);
- logger.WriteLine("\tmoc directory: " + mocDirectory);
-
- String solutionRootDir = BackupSolution(testPath + templatePath, "Test2" + extension);
- _applicationObject.Solution.Open(solutionRootDir + "Test2" + extension + ".sln");
- Solution solution = _applicationObject.Solution;
- if (solution == null)
- throw new Exception(DateTime.Now.ToString() + ": Case2: Could not open solution");
-
- Project pro = GetProject("Test2", solution);
- SetProjectDirectory(pro, ProjectDirectory.MocDir, mocDirectory);
-
- ProjectItem piSource = pro.ProjectItems.Item("Source Files");
- ProjectItem main = piSource.ProjectItems.Item("main.cpp");
-
- main.Open(EnvDTE.Constants.vsViewKindPrimary);
- if (ProjectItemContainsString(main, "//Q_OBJECT"))
- throw new Exception(DateTime.Now.ToString()
- + ": Case2: " + "\"Q_OBJECT\" is commented out in " + main.Document.Name);
- System.Threading.Thread.Sleep(5000);
- main.Document.Close(vsSaveChanges.vsSaveChangesYes);
- currentException = ReplaceStringInProjectItem(main, "Q_OBJECT", "//Q_OBJECT_HERE");
- if (currentException != null)
- throw new Exception(DateTime.Now.ToString() + ": Case2: "
- + currentException.Message);
- currentException = ReplaceStringInProjectItem(main, "#include \"main.moc\"", "//#include \"main.moc\"");
- if (currentException != null)
- throw new Exception(DateTime.Now.ToString() + "Case1: "
- + currentException.Message);
-
- ProjectItem sub = piSource.ProjectItems.Item("sub.cpp");
-
- currentException = ReplaceStringInProjectItem(sub, "Q_OBJECT", "//Q_OBJECT_HERE");
- if (currentException != null)
- throw new Exception(DateTime.Now.ToString() + "Case1: "
- + currentException.Message);
- currentException = ReplaceStringInProjectItem(sub, "#include \"sub.moc\"", "//#include \"sub.moc\"");
- if (currentException != null)
- throw new Exception(DateTime.Now.ToString() + "Case1: "
- + currentException.Message);
-
- ProjectItem piHeader = pro.ProjectItems.Item("Header Files");
- ProjectItem foo = piHeader.ProjectItems.Item("foo.h");
-
- foo.Open(EnvDTE.Constants.vsViewKindPrimary);
- if (ProjectItemContainsString(foo, "//Q_OBJECT_HERE"))
- throw new Exception(DateTime.Now.ToString()
- + ": Case2: " + "\"Q_OBJECT\" is commented out in " + foo.Document.Name);
- currentException = ReplaceStringInProjectItem(foo, "Q_OBJECT", "//Q_OBJECT_HERE");
- if (currentException != null)
- throw new Exception(DateTime.Now.ToString() + ": Case2: "
- + currentException.Message);
-
- bool mocFound = false;
- VCProject vcProject = (VCProject)pro.Object;
- foreach (VCFile file in (IVCCollection)vcProject.Files)
- {
- if (file.Name == "main.moc" || file.Name == "moc_foo.cpp" || file.Name == "sub.moc")
- {
- mocFound = true;
- break;
- }
- }
- if (mocFound)
- throw new Exception(DateTime.Now.ToString()
- + ": Case2: Moc Files were not deleted");
- else
- logger.WriteLine(DateTime.Now.ToString()
- + ": Case2: Moc Files were deleted as supposed");
-
- currentException = RebuildSolution();
- if (currentException != null)
- throw new Exception(DateTime.Now.ToString()
- + ": Case2: " + currentException.Message);
- else
- logger.WriteLine(DateTime.Now.ToString()
- + ": Case2: Build process succeeded");
- }
- catch (Exception e)
- {
- success = false;
- logger.WriteLine(e.Message);
- }
- if (success)
- logger.WriteLine(DateTime.Now.ToString() + ": Case2 succeeded");
- else
- logger.WriteLine(DateTime.Now.ToString() + ": Case2 failed");
- logger.WriteLine("");
- }
- }
- }
-
- private void AutoTestCase3()
- {
- foreach (String extension in extensions)
- {
- foreach (string mocDirectory in mocDirectories)
- {
- bool success = true;
- bool subsuccess = true;
- Exception currentException = null;
- try
- {
- logger.WriteLine(DateTime.Now.ToString()
- + ": Case3 (directly include the moc file and save the header file) begins");
- logger.WriteLine("\textension: " + extension);
- logger.WriteLine("\tmoc directory: " + mocDirectory);
-
- String solutionRootDir = BackupSolution(testPath + templatePath, "Test1" + extension);
- _applicationObject.Solution.Open(solutionRootDir + "Test1" + extension + ".sln");
- Solution solution = _applicationObject.Solution;
- if (solution == null)
- throw new Exception(DateTime.Now.ToString() + "Case3: Could not open solution");
-
- Project project = GetProject("Test1", solution);
- SetProjectDirectory(project, ProjectDirectory.MocDir, mocDirectory);
-
- ProjectItem piHeader = project.ProjectItems.Item("Header Files");
- ProjectItem foo = piHeader.ProjectItems.Item("foo.h");
-
- ProjectItem piSource = project.ProjectItems.Item("Source Files");
- ProjectItem foocpp = piSource.ProjectItems.Item("foo.cpp");
-
- foo.Open(EnvDTE.Constants.vsViewKindPrimary);
- if (ProjectItemContainsString(foo, "Q_OBJECT")
- && !ProjectItemContainsString(foo, "//Q_OBJECT"))
- throw new Exception(DateTime.Now.ToString()
- + ": Case3: \"" + foo.Document.Name + "\" contains Q_OBJECT");
- foo.Document.Close(vsSaveChanges.vsSaveChangesNo);
- if (foo.IsDirty)
- throw new Exception(DateTime.Now.ToString()
- + ": Case3: " + foo.Document.Name + " is dirty");
-
- string currentInclude = "#include \"moc_foo.cpp\"";
- currentException = ReplaceStringInProjectItem(foocpp,
- "////#CUSTOMINCLUDE", currentInclude);
- if (currentException != null)
- throw new Exception(DateTime.Now.ToString()
- + ": Case3: " + currentException.Message);
- currentException = ReplaceStringInProjectItem(foo, "//Q_OBJECT_HERE", "Q_OBJECT");
-
- VCProject vcProject = (VCProject)project.Object;
- if (!FileExistsAndExcludedFromBuild(vcProject, "moc_foo.cpp"))
- {
- logger.WriteLine(DateTime.Now.ToString() + ": Case3: Moc Files were not "
- + "found or not excluded from build (using " + currentInclude + ")");
- success = false;
- subsuccess = false;
- }
- else
- logger.WriteLine(DateTime.Now.ToString() + ": Case3: Moc Files were "
- + "excluded from build (using " + currentInclude + ")");
-
- if (subsuccess)
- {
- currentException = RebuildSolution();
- if (currentException != null)
- {
- logger.WriteLine(DateTime.Now.ToString()
- + ": Case3: " + currentException.Message);
- success = false;
- }
- else
- logger.WriteLine(DateTime.Now.ToString()
- + ": Case3: Build process succeeded (using : " + currentInclude + ")");
- }
- else
- {
- currentInclude = "////#CUSTOMINCLUDE";
- solutionRootDir = BackupSolution(testPath + templatePath, "Test1" + extension);
- _applicationObject.Solution.Open(solutionRootDir + "Test1" + extension + ".sln");
- solution = _applicationObject.Solution;
- project = GetProject("Test1", solution);
- SetProjectDirectory(project, ProjectDirectory.MocDir, mocDirectory);
- piHeader = project.ProjectItems.Item("Header Files");
- foo = piHeader.ProjectItems.Item("foo.h");
- piSource = project.ProjectItems.Item("Source Files");
- foocpp = piSource.ProjectItems.Item("foo.cpp");
- }
-
- subsuccess = true;
- currentException = ChangeIncludeAndUpdateMoc(foo, foocpp, currentInclude, "/*schnusel*/ #include \"moc_foo.cpp\" // bla bla bla");
- if (currentException != null)
- throw new Exception(DateTime.Now.ToString()
- + ": Case3: " + currentException.Message);
- currentInclude = "/*schnusel*/ #include \"moc_foo.cpp\" // bla bla bla";
-
- if (!FileExistsAndExcludedFromBuild(vcProject, "moc_foo.cpp"))
- {
- logger.WriteLine(DateTime.Now.ToString() + ": Case3: Moc Files were not "
- + "found or not excluded from build (using " + currentInclude + ")");
- subsuccess = false;
- success = false;
- }
- else
- logger.WriteLine(DateTime.Now.ToString() + ": Case3: Moc Files were "
- + "excluded from build (using " + currentInclude + ")");
-
- if (subsuccess)
- {
- currentException = RebuildSolution();
- if (currentException != null)
- {
- logger.WriteLine(DateTime.Now.ToString()
- + ": Case3: " + currentException.Message);
- success = false;
- }
- else
- logger.WriteLine(DateTime.Now.ToString()
- + ": Case3: Build process succeeded (using : " + currentInclude + ")");
- }
- else
- {
- currentInclude = "////#CUSTOMINCLUDE";
- solutionRootDir = BackupSolution(testPath + templatePath, "Test1" + extension);
- _applicationObject.Solution.Open(solutionRootDir + "Test1" + extension + ".sln");
- solution = _applicationObject.Solution;
- project = GetProject("Test1", solution);
- SetProjectDirectory(project, ProjectDirectory.MocDir, mocDirectory);
- piHeader = project.ProjectItems.Item("Header Files");
- foo = piHeader.ProjectItems.Item("foo.h");
- piSource = project.ProjectItems.Item("Source Files");
- foocpp = piSource.ProjectItems.Item("foo.cpp");
- }
-
- subsuccess = true;
- currentException = ChangeIncludeAndUpdateMoc(foo, foocpp, currentInclude, "#include <moc_foo.cpp>");
- if (currentException != null)
- throw new Exception(DateTime.Now.ToString()
- + ": Case3: " + currentException.Message);
- currentInclude = "#include <moc_foo.cpp>";
-
- if (!FileExistsAndExcludedFromBuild(vcProject, "moc_foo.cpp"))
- {
- logger.WriteLine(DateTime.Now.ToString() + ": Case3: Moc Files were not "
- + "found or not excluded from build (using " + currentInclude + ")");
- subsuccess = false;
- success = false;
- }
- else
- logger.WriteLine(DateTime.Now.ToString() + ": Case3: Moc Files were "
- + "excluded from build (using " + currentInclude + ")");
-
- if (subsuccess)
- {
- currentException = RebuildSolution();
- if (currentException != null)
- {
- logger.WriteLine(DateTime.Now.ToString()
- + ": Case3: " + currentException.Message);
- success = false;
- }
- else
- logger.WriteLine(DateTime.Now.ToString()
- + ": Case3: Build process succeeded (using : " + currentInclude + ")");
- }
- }
- catch (Exception e)
- {
- success = false;
- logger.WriteLine(e.Message);
- }
- if (success)
- logger.WriteLine(DateTime.Now.ToString() + ": Case3 succeeded");
- else
- logger.WriteLine(DateTime.Now.ToString() + ": Case3 failed");
- logger.WriteLine("");
- }
- }
- }
-
- private void AutoTestCase4()
- {
- foreach (String extension in extensions)
- {
- foreach (string mocDirectory in mocDirectories)
- {
- bool success = true;
- bool subsuccess = true;
- Exception currentException = null;
- try
- {
- logger.WriteLine(DateTime.Now.ToString()
- + ": Case4 (directly include the moc file and save the source file) begins");
- logger.WriteLine("\textension: " + extension);
- logger.WriteLine("\tmoc directory: " + mocDirectory);
-
- String solutionRootDir = BackupSolution(testPath + templatePath, "Test2" + extension);
- _applicationObject.Solution.Open(solutionRootDir + "Test2" + extension + ".sln");
- Solution solution = _applicationObject.Solution;
- if (solution == null)
- throw new Exception(DateTime.Now.ToString() + "Case4: Could not open solution");
-
- Project project = GetProject("Test2", solution);
- SetProjectDirectory(project, ProjectDirectory.MocDir, mocDirectory);
- ProjectItem piHeader = project.ProjectItems.Item("Header Files");
- ProjectItem foo = piHeader.ProjectItems.Item("foo.h");
-
- ProjectItem piSource = project.ProjectItems.Item("Source Files");
- ProjectItem foocpp = piSource.ProjectItems.Item("foo.cpp");
-
- if (currentException != null)
- throw new Exception(DateTime.Now.ToString() + ": Case4: "
- + currentException.Message);
-
- foo.Open(EnvDTE.Constants.vsViewKindPrimary);
- if (!ProjectItemContainsString(foo, "Q_OBJECT")
- || ProjectItemContainsString(foo, "//Q_OBJECT"))
- throw new Exception(DateTime.Now.ToString()
- + ": Case4: \"" + foo.Document.Name + "\" does not contain Q_OBJECT");
- foo.Document.Close(vsSaveChanges.vsSaveChangesNo);
- if (foo.IsDirty)
- throw new Exception(DateTime.Now.ToString()
- + ": Case4: " + foo.Document.Name + " is dirty");
-
- string currentInclude = "#include \"moc_foo.cpp\"";
- currentException = ReplaceStringInProjectItem(foocpp,
- "////#CUSTOMINCLUDE", currentInclude);
- if (currentException != null)
- throw new Exception(DateTime.Now.ToString()
- + ": Case4: " + currentException.Message);
-
- VCProject vcProject = (VCProject)project.Object;
- if (!FileExistsAndExcludedFromBuild(vcProject, "moc_foo.cpp"))
- {
- logger.WriteLine(DateTime.Now.ToString() + ": Case4: Moc Files were not "
- + "found or not excluded from build (using " + currentInclude + ")");
- subsuccess = false;
- success = false;
- }
- else
- logger.WriteLine(DateTime.Now.ToString() + ": Case4: Moc Files were "
- + "excluded from build (using " + currentInclude + ")");
-
- if (subsuccess)
- {
- currentException = RebuildSolution();
- if (currentException != null)
- {
- logger.WriteLine(DateTime.Now.ToString()
- + ": Case4: " + currentException.Message);
- success = false;
- }
- else
- logger.WriteLine(DateTime.Now.ToString()
- + ": Case4: Build process succeeded (using : " + currentInclude + ")");
- }
- else
- {
- currentInclude = "////#CUSTOMINCLUDE";
- solutionRootDir = BackupSolution(testPath + templatePath, "Test2" + extension);
- _applicationObject.Solution.Open(solutionRootDir + "Test2" + extension + ".sln");
- solution = _applicationObject.Solution;
- }
-
- subsuccess = true;
- currentException = ReplaceStringInProjectItem(foocpp, currentInclude, "/*schnusel*/ #include \"moc_foo.cpp\" // bla bla bla");
- if (currentException != null)
- throw new Exception(DateTime.Now.ToString()
- + ": Case4: " + currentException.Message);
- currentInclude = "/*schnusel*/ #include \"moc_foo.cpp\" // bla bla bla";
-
- if (!FileExistsAndExcludedFromBuild(vcProject, "moc_foo.cpp"))
- {
- logger.WriteLine(DateTime.Now.ToString() + ": Case4: Moc Files were not "
- + "found or not excluded from build (using " + currentInclude + ")");
- subsuccess = false;
- success = false;
- }
- else
- logger.WriteLine(DateTime.Now.ToString() + ": Case4: Moc Files were "
- + "excluded from build (using " + currentInclude + ")");
-
- if (subsuccess)
- {
- currentException = RebuildSolution();
- if (currentException != null)
- {
- logger.WriteLine(DateTime.Now.ToString()
- + ": Case4: " + currentException.Message);
- success = false;
- }
- else
- logger.WriteLine(DateTime.Now.ToString()
- + ": Case4: Build process succeeded (using : " + currentInclude + ")");
- }
- else
- {
- currentInclude = "////#CUSTOMINCLUDE";
- solutionRootDir = BackupSolution(testPath + templatePath, "Test2" + extension);
- _applicationObject.Solution.Open(solutionRootDir + "Test2" + extension + ".sln");
- solution = _applicationObject.Solution;
- }
-
- subsuccess = true;
- currentException = ReplaceStringInProjectItem(foocpp, currentInclude, "#include <moc_foo.cpp>");
- if (currentException != null)
- throw new Exception(DateTime.Now.ToString()
- + ": Case4: " + currentException.Message);
- currentInclude = "#include <moc_foo.cpp>";
-
- if (!FileExistsAndExcludedFromBuild(vcProject, "moc_foo.cpp"))
- {
- logger.WriteLine(DateTime.Now.ToString() + ": Case4: Moc Files were not "
- + "found or not excluded from build (using " + currentInclude + ")");
- subsuccess = false;
- success = false;
- }
- else
- logger.WriteLine(DateTime.Now.ToString() + ": Case4: Moc Files were "
- + "excluded from build (using " + currentInclude + ")");
-
- if (subsuccess)
- {
- currentException = RebuildSolution();
- if (currentException != null)
- {
- logger.WriteLine(DateTime.Now.ToString()
- + ": Case4: " + currentException.Message);
- success = false;
- }
- else
- logger.WriteLine(DateTime.Now.ToString()
- + ": Case4: Build process succeeded (using : " + currentInclude + ")");
- }
- }
- catch (Exception e)
- {
- success = false;
- logger.WriteLine(e.Message);
- }
- if (success)
- logger.WriteLine(DateTime.Now.ToString() + ": Case4 succeeded");
- else
- logger.WriteLine(DateTime.Now.ToString() + ": Case4 failed");
- logger.WriteLine("");
- }
- }
- }
-
- private void AutoTestCase5()
- {
- foreach (String extension in extensions)
- {
- foreach (string mocDirectory in mocDirectories)
- {
- bool success = true;
- Exception currentException = null;
- try
- {
- logger.WriteLine(DateTime.Now.ToString()
- + ": Case5 (Change Preprocessor Definitions) begins");
- logger.WriteLine("\textension: " + extension);
- logger.WriteLine("\tmoc directory: " + mocDirectory);
-
- String solutionRootDir = BackupSolution(testPath + templatePath, "Test2" + extension);
- _applicationObject.Solution.Open(solutionRootDir + "Test2" + extension + ".sln");
- Solution solution = _applicationObject.Solution;
- if (solution == null)
- throw new Exception(DateTime.Now.ToString() + ": Case5: Could not open solution");
-
- Project project = GetProject("Test2", solution);
- SetProjectDirectory(project, ProjectDirectory.MocDir, mocDirectory);
- VCProject vcProject = (VCProject)project.Object;
- foreach (VCConfiguration proConfig in (IVCCollection)vcProject.Configurations)
- {
- string define = proConfig.Name.Remove(proConfig.Name.IndexOf('|'));
- CompilerToolWrapper compiler = new CompilerToolWrapper(proConfig);
- compiler.AddPreprocessorDefinitions(define);
- }
-
- vcProject.Save();
-
- currentException = RebuildSolution();
- if (currentException != null)
- {
- logger.WriteLine(DateTime.Now.ToString()
- + ": Case5: " + currentException.Message);
- success = false;
- }
- else
- logger.WriteLine(DateTime.Now.ToString()
- + ": Case5: Build process succeeded");
-
- if (success)
- {
- foreach (VCFile file in (IVCCollection)vcProject.Files)
- {
- if (file.Name == "foo.h")
- {
- IVCCollection fileConfigs = (IVCCollection)file.FileConfigurations;
- foreach (VCFileConfiguration fileConfig in fileConfigs)
- {
- string define = fileConfig.Name.Remove(fileConfig.Name.IndexOf('|'));
- VCCustomBuildTool buildTool = (VCCustomBuildTool)fileConfig.Tool;
- if (buildTool != null)
- {
- if (!buildTool.CommandLine.Contains(define))
- {
- logger.WriteLine(DateTime.Now.ToString() + ": Case5: Preprocessor definition was not "
- + "added to the custom build step (" + fileConfig.Name + ")");
- success = false;
- }
- else
- logger.WriteLine(DateTime.Now.ToString() + ": Case5: Preprocessor definition was "
- + "added to the custom build step (" + fileConfig.Name + ")");
- }
- else
- success = false;
- }
- }
- }
-
- if (!success)
- {
- logger.WriteLine(DateTime.Now.ToString() + ": Case5: Preprocessor definition was not "
- + "added to all custom build steps");
- }
- else
- {
- logger.WriteLine(DateTime.Now.ToString() + ": Case5: Preprocessor definition was "
- + "added to all custom build steps");
-
- }
- }
- }
- catch (Exception e)
- {
- success = false;
- logger.WriteLine(e.Message);
- }
- if (success)
- logger.WriteLine(DateTime.Now.ToString() + ": Case5 succeeded");
- else
- logger.WriteLine(DateTime.Now.ToString() + ": Case5 failed");
- logger.WriteLine("");
- }
- }
- }
-
- private void AutoTestCase6()
- {
- foreach (String extension in extensions)
- {
- foreach (string mocDirectory in mocDirectories)
- {
- bool success = true;
- Exception currentException = null;
- try
- {
- logger.WriteLine(DateTime.Now.ToString()
- + ": Case6 (Change Additional Include Directories) begins");
- logger.WriteLine("\textension: " + extension);
- logger.WriteLine("\tmoc directory: " + mocDirectory);
-
- String solutionRootDir = BackupSolution(testPath + templatePath, "Test2" + extension);
- _applicationObject.Solution.Open(solutionRootDir + "Test2" + extension + ".sln");
- Solution solution = _applicationObject.Solution;
- if (solution == null)
- throw new Exception(DateTime.Now.ToString() + ": Case6: "
- + currentException.Message);
-
- Project project = GetProject("Test2", solution);
- SetProjectDirectory(project, ProjectDirectory.MocDir, mocDirectory);
- VCProject vcProject = (VCProject)project.Object;
-
- foreach (VCConfiguration config in (IVCCollection)vcProject.Configurations)
- {
- string include = config.Name.Remove(config.Name.IndexOf('|'));
- CompilerToolWrapper compiler = new CompilerToolWrapper(config);
- compiler.AddAdditionalIncludeDirectories(include);
- }
- vcProject.Save();
-
- currentException = RebuildSolution();
- if (currentException != null)
- {
- logger.WriteLine(DateTime.Now.ToString()
- + ": Case6: " + currentException.Message);
- success = false;
- }
- else
- logger.WriteLine(DateTime.Now.ToString()
- + ": Case6: Build process succeeded");
-
- if (success)
- {
- foreach (VCFile file in (IVCCollection)vcProject.Files)
- {
- if (file.Name == "foo.h")
- {
- foreach (VCFileConfiguration fileConfig in (IVCCollection)file.FileConfigurations)
- {
- string include = fileConfig.Name.Remove(fileConfig.Name.IndexOf('|'));
- VCCustomBuildTool buildTool = (VCCustomBuildTool)fileConfig.Tool;
- if (buildTool != null)
- {
- if (!buildTool.CommandLine.Contains("\"-I.\\" + include + "\""))
- {
- logger.WriteLine(DateTime.Now.ToString() + ": Case6: Additional include lib "
- + include + " was not added to the custom build step (" + fileConfig.Name + ")");
- success = false;
- }
- else
- logger.WriteLine(DateTime.Now.ToString() + ": Case6: Additional include lib "
- + include + " was added to the custom build step (" + fileConfig.Name + ")");
- }
- }
- }
- }
-
- if (!success)
- {
- logger.WriteLine(DateTime.Now.ToString() + ": Case6: Additional include lib was not "
- + "added to all custom build steps");
- }
- else
- {
- logger.WriteLine(DateTime.Now.ToString() + ": Case6: Additional include lib was "
- + "added to all custom build steps");
-
- }
- }
- }
- catch (Exception e)
- {
- success = false;
- logger.WriteLine(e.Message);
- }
- if (!success)
- {
- logger.WriteLine(DateTime.Now.ToString() + ": Case6 failed");
- return;
- }
- try
- {
- string include = "$(SolutionDir)";
- String solutionRootDir = BackupSolution(testPath + templatePath, "Test2" + extension);
- _applicationObject.Solution.Open(solutionRootDir + "Test2" + extension + ".sln");
- Solution solution = _applicationObject.Solution;
- if (solution == null)
- throw new Exception(DateTime.Now.ToString() + ": Case6: "
- + currentException.Message);
-
- Project project = GetProject("Test2", solution);
- SetProjectDirectory(project, ProjectDirectory.MocDir, mocDirectory);
- VCProject vcProject = (VCProject)project.Object;
-
- foreach (VCConfiguration config in (IVCCollection)vcProject.Configurations)
- {
- CompilerToolWrapper compiler = new CompilerToolWrapper(config);
- compiler.AddAdditionalIncludeDirectories(include);
- }
- vcProject.Save();
-
- currentException = RebuildSolution();
- if (currentException != null)
- {
- logger.WriteLine(DateTime.Now.ToString()
- + ": Case6: " + currentException.Message);
- success = false;
- }
- else
- logger.WriteLine(DateTime.Now.ToString()
- + ": Case6: Build process succeeded");
-
- if (success)
- {
- foreach (VCFile file in (IVCCollection)vcProject.Files)
- {
- if (file.Name == "foo.h")
- {
- foreach (VCFileConfiguration fileConfig in (IVCCollection)file.FileConfigurations)
- {
- VCCustomBuildTool buildTool = (VCCustomBuildTool)fileConfig.Tool;
- if (buildTool != null)
- {
- if (!buildTool.CommandLine.Contains("\"-I" + include + "\\.\""))
- {
- logger.WriteLine(DateTime.Now.ToString() + ": Case6: Additional include lib "
- + include + " was not added to the custom build step (" + fileConfig.Name + ")");
- success = false;
- }
- else
- logger.WriteLine(DateTime.Now.ToString() + ": Case6: Additional include lib "
- + include + " was added to the custom build step (" + fileConfig.Name + ")");
- }
- }
- }
- }
-
- if (!success)
- {
- logger.WriteLine(DateTime.Now.ToString() + ": Case6: Additional include lib was not "
- + "added to all custom build steps");
- }
- else
- {
- logger.WriteLine(DateTime.Now.ToString() + ": Case6: Additional include lib was "
- + "added to all custom build steps");
-
- }
- }
- }
- catch (Exception e)
- {
- success = false;
- logger.WriteLine(e.Message);
- }
- if (!success)
- {
- logger.WriteLine(DateTime.Now.ToString() + ": Case6 failed");
- return;
- }
- try
- {
- string include = "C:\\FOO\\";
- String solutionRootDir = BackupSolution(testPath + templatePath, "Test2" + extension);
- _applicationObject.Solution.Open(solutionRootDir + "Test2" + extension + ".sln");
- Solution solution = _applicationObject.Solution;
- if (solution == null)
- throw new Exception(DateTime.Now.ToString() + ": Case6: "
- + currentException.Message);
-
- Project project = GetProject("Test2", solution);
- SetProjectDirectory(project, ProjectDirectory.MocDir, mocDirectory);
- VCProject vcProject = (VCProject)project.Object;
-
- foreach (VCConfiguration config in (IVCCollection)vcProject.Configurations)
- {
- CompilerToolWrapper compiler = new CompilerToolWrapper(config);
- compiler.AddAdditionalIncludeDirectories(include);
- }
- vcProject.Save();
-
- currentException = RebuildSolution();
- if (currentException != null)
- {
- logger.WriteLine(DateTime.Now.ToString()
- + ": Case6: " + currentException.Message);
- success = false;
- }
- else
- logger.WriteLine(DateTime.Now.ToString()
- + ": Case6: Build process succeeded");
-
- if (success)
- {
- foreach (VCFile file in (IVCCollection)vcProject.Files)
- {
- if (file.Name == "foo.h")
- {
- foreach (VCFileConfiguration fileConfig in (IVCCollection)file.FileConfigurations)
- {
- VCCustomBuildTool buildTool = (VCCustomBuildTool)fileConfig.Tool;
- if (buildTool != null)
- {
- if (!buildTool.CommandLine.Contains("\"-IC:\\FOO\""))
- {
- logger.WriteLine(DateTime.Now.ToString() + ": Case6: Additional include lib "
- + include + " was not added to the custom build step (" + fileConfig.Name + ")");
- success = false;
- }
- else
- logger.WriteLine(DateTime.Now.ToString() + ": Case6: Additional include lib "
- + include + " was added to the custom build step (" + fileConfig.Name + ")");
- }
- }
- }
- }
-
- if (!success)
- {
- logger.WriteLine(DateTime.Now.ToString() + ": Case6: Additional include lib was not "
- + "added to all custom build steps");
- }
- else
- {
- logger.WriteLine(DateTime.Now.ToString() + ": Case6: Additional include lib was "
- + "added to all custom build steps");
-
- }
- }
- }
- catch (Exception e)
- {
- success = false;
- logger.WriteLine(e.Message);
- }
- if (success)
- logger.WriteLine(DateTime.Now.ToString() + ": Case6 succeeded");
- else
- logger.WriteLine(DateTime.Now.ToString() + ": Case6 failed");
- logger.WriteLine("");
- }
- }
- }
-
- private void AutoTestCase7()
- {
- foreach (String extension in extensions)
- {
- foreach (string mocDirectory in mocDirectories)
- {
- bool success = true;
- bool subsuccess = true;
- Exception currentException = null;
- try
- {
- logger.WriteLine(DateTime.Now.ToString()
- + ": Case7 (Add user defined custom build steps) begins");
- logger.WriteLine("\textension: " + extension);
- logger.WriteLine("\tmoc directory: " + mocDirectory);
-
- String solutionRootDir = BackupSolution(testPath + templatePath, "Test1" + extension);
- _applicationObject.Solution.Open(solutionRootDir + "Test1" + extension + ".sln");
- Solution solution = _applicationObject.Solution;
- if (solution == null)
- throw new Exception(DateTime.Now.ToString() + ": Case7: "
- + currentException.Message);
-
- Project project = GetProject("Test1", solution);
- SetProjectDirectory(project, ProjectDirectory.MocDir, mocDirectory);
- VCProject vcProject = (VCProject)project.Object;
- foreach (VCFile file in (IVCCollection)vcProject.Files)
- {
- if (file.Name == "foo.h")
- {
- IVCCollection fileConfigs = (IVCCollection)file.FileConfigurations;
- foreach (VCFileConfiguration fileConfig in fileConfigs)
- {
- VCCustomBuildTool buildTool = (VCCustomBuildTool)fileConfig.Tool;
- buildTool.CommandLine = buildTool.CommandLine + "T3$T$TR1NG";
- }
- }
- }
- vcProject.Save();
-
- ProjectItem piHeader = project.ProjectItems.Item("Header Files");
- ProjectItem foo = piHeader.ProjectItems.Item("foo.h");
-
- currentException = ReplaceStringInProjectItem(foo, "//Q_OBJECT_HERE", "Q_OBJECT");
- if (currentException != null)
- throw new Exception(DateTime.Now.ToString() + "Case7: "
- + currentException.Message);
-
-
- foreach (VCFile file in (IVCCollection)vcProject.Files)
- {
- if (file.Name == "foo.h")
- {
- IVCCollection fileConfigs = (IVCCollection)file.FileConfigurations;
- foreach (VCFileConfiguration fileConfig in fileConfigs)
- {
- VCCustomBuildTool buildTool = (VCCustomBuildTool)fileConfig.Tool;
- if (buildTool != null)
- if (!buildTool.CommandLine.Contains("T3$T$TR1NG"))
- {
- subsuccess = false;
- break;
- }
- }
- }
- }
-
- if (!subsuccess)
- {
- logger.WriteLine(DateTime.Now.ToString() + ": Case7: Custom build step was not kept "
- + "when the Q_OBJECT macro was added");
- success = false;
- }
- else
- {
- logger.WriteLine(DateTime.Now.ToString() + ": Case7: Custom build step was kept "
- + "when the Q_OBJECT macro was added");
- currentException = RebuildSolution();
- if (currentException != null)
- {
- logger.WriteLine(DateTime.Now.ToString()
- + ": Case7: " + currentException.Message);
- success = false;
- subsuccess = false;
- }
- else
- logger.WriteLine(DateTime.Now.ToString()
- + ": Case7: Build process succeeded");
- }
-
- if (!subsuccess)
- {
- solutionRootDir = BackupSolution(testPath + templatePath, "Test2" + extension);
- _applicationObject.Solution.Open(solutionRootDir + "Test2" + extension + ".sln");
- solution = _applicationObject.Solution;
- if (solution == null)
- throw new Exception(DateTime.Now.ToString() + ": Case7: "
- + currentException.Message);
-
- foreach (VCFile file in (IVCCollection)vcProject.Files)
- {
- if (file.Name == "foo.h")
- {
- IVCCollection fileConfigs = (IVCCollection)file.FileConfigurations;
- foreach (VCFileConfiguration fileConfig in fileConfigs)
- {
- VCCustomBuildTool buildTool = (VCCustomBuildTool)fileConfig.Tool;
- buildTool.CommandLine = "T3$T$TR1NG " + buildTool.CommandLine;
- }
- }
- }
- vcProject.Save();
- }
-
- currentException = ReplaceStringInProjectItem(foo, "Q_OBJECT", "//Q_OBJECT_HERE");
- if (currentException != null)
- throw new Exception(DateTime.Now.ToString() + "Case7: "
- + currentException.Message);
-
-
- foreach (VCFile file in (IVCCollection)vcProject.Files)
- {
- if (file.Name == "foo.h")
- {
- IVCCollection fileConfigs = (IVCCollection)file.FileConfigurations;
- foreach (VCFileConfiguration fileConfig in fileConfigs)
- {
- VCCustomBuildTool buildTool = (VCCustomBuildTool)fileConfig.Tool;
- if (buildTool != null)
- if (!buildTool.CommandLine.Contains("T3$T$TR1NG"))
- {
- subsuccess = false;
- break;
- }
- }
- }
- }
-
- if (!subsuccess)
- {
- logger.WriteLine(DateTime.Now.ToString() + ": Case7: Custom build step was not kept "
- + "when the Q_OBJECT macro was removed");
- success = false;
- }
- else
- {
- logger.WriteLine(DateTime.Now.ToString() + ": Case7: Custom build step was kept "
- + "when the Q_OBJECT macro was removed");
- currentException = RebuildSolution();
- if (currentException != null)
- {
- logger.WriteLine(DateTime.Now.ToString()
- + ": Case7: " + currentException.Message);
- success = false;
- }
- else
- logger.WriteLine(DateTime.Now.ToString()
- + ": Case7: Build process succeeded");
- }
- }
- catch (Exception e)
- {
- success = false;
- logger.WriteLine(e.Message);
- }
- if (success)
- logger.WriteLine(DateTime.Now.ToString() + ": Case7 succeeded");
- else
- logger.WriteLine(DateTime.Now.ToString() + ": Case7 failed");
- logger.WriteLine("");
- }
- }
- }
-
- private void AutoTestCase8()
- {
- foreach (String extension in extensions)
- {
- foreach (string mocDirectory in mocDirectories)
- {
- bool success = true;
- Exception currentException = null;
- try
- {
- logger.WriteLine(DateTime.Now.ToString()
- + ": Case8 (Exclusion of mocced files) begins");
- logger.WriteLine("\textension: " + extension);
- logger.WriteLine("\tmoc directory: " + mocDirectory);
-
- String solutionRootDir = BackupSolution(testPath + templatePath, "Test3" + extension);
- _applicationObject.Solution.Open(solutionRootDir + "Test3" + extension + ".sln");
- Solution solution = _applicationObject.Solution;
- if (solution == null)
- throw new Exception(DateTime.Now.ToString() + ": Case8: "
- + currentException.Message);
-
- Project project = GetProject("Test3", solution);
- SetProjectDirectory(project, ProjectDirectory.MocDir, mocDirectory);
- VCProject vcProject = (VCProject)project.Object;
- foreach (VCFile file in (IVCCollection)vcProject.Files)
- {
- if (file.Name == "foo.h" || file.Name == "foo.cpp" || file.Name == "bar.cpp")
- {
- IVCCollection fileConfigs = (IVCCollection)file.FileConfigurations;
- foreach (VCFileConfiguration fileConfig in fileConfigs)
- {
- if (fileConfig.Name.ToLower().Contains("debug"))
- fileConfig.ExcludedFromBuild = true;
- }
- }
- }
- vcProject.Save();
- currentException = RebuildSolution();
- if (currentException != null)
- {
- logger.WriteLine(DateTime.Now.ToString()
- + ": Case8: " + currentException.Message);
- success = false;
- }
- else
- logger.WriteLine(DateTime.Now.ToString()
- + ": Case8: Build process succeeded");
-
- if (success)
- {
- foreach (VCFile file in (IVCCollection)vcProject.Files)
- {
- if (file.Name == "moc_foo.cpp" || file.Name == "bar.moc")
- {
- IVCCollection fileConfigs = (IVCCollection)file.FileConfigurations;
- foreach (VCFileConfiguration fileConfig in fileConfigs)
- {
- if (fileConfig.Name.ToLower().Contains("debug") && !fileConfig.ExcludedFromBuild)
- {
- success = false;
- break;
- }
- }
- }
- if (!success)
- break;
- }
- }
-
- if (!success)
- {
- logger.WriteLine(DateTime.Now.ToString() + ": Case8: mocced Files were not excluded from build "
- + "when sources were excluded (excluded in debug configuration)");
- }
- else
- {
- logger.WriteLine(DateTime.Now.ToString() + ": Case8: mocced Files were excluded from build "
- + "when sources were excluded (excluded in debug configuration)");
- }
-
- if (success)
- {
- foreach (VCFile file in (IVCCollection)vcProject.Files)
- {
- if (file.Name == "foo.h" || file.Name == "foo.cpp" || file.Name == "bar.cpp")
- {
- IVCCollection fileConfigs = (IVCCollection)file.FileConfigurations;
- foreach (VCFileConfiguration fileConfig in fileConfigs)
- {
- if (fileConfig.Name.ToLower().Contains("foobar"))
- fileConfig.ExcludedFromBuild = true;
- }
- }
- }
- vcProject.Save();
- currentException = RebuildSolution();
- if (currentException != null)
- {
- logger.WriteLine(DateTime.Now.ToString()
- + ": Case8: " + currentException.Message);
- success = false;
- }
- else
- logger.WriteLine(DateTime.Now.ToString()
- + ": Case8: Build process succeeded");
-
- if (success)
- {
- foreach (VCFile file in (IVCCollection)vcProject.Files)
- {
- if (file.Name == "moc_foo.cpp" || file.Name == "bar.moc")
- {
- IVCCollection fileConfigs = (IVCCollection)file.FileConfigurations;
- foreach (VCFileConfiguration fileConfig in fileConfigs)
- {
- if (fileConfig.Name.ToLower().Contains("foobar") && !fileConfig.ExcludedFromBuild)
- {
- logger.WriteLine(DateTime.Now.ToString()
- + ": Case8: mocced file " + file.Name + "was not excluded from build in config " + fileConfig.Name);
- success = false;
- break;
- }
- }
- }
- if (!success)
- break;
- }
-
- if (!success)
- {
- logger.WriteLine(DateTime.Now.ToString() + ": Case8: mocced Files were not excluded from build "
- + "when sources were excluded (excluded in debug & foobar configuration)");
- success = false;
- }
- else
- {
- logger.WriteLine(DateTime.Now.ToString() + ": Case8: mocced Files were excluded from build "
- + "when sources were excluded (excluded in debug & foobar configuration)");
- }
- }
- }
-
- if (success)
- {
- foreach (VCFile file in (IVCCollection)vcProject.Files)
- {
- if (file.Name == "foo.h" || file.Name == "foo.cpp" || file.Name == "bar.cpp")
- {
- IVCCollection fileConfigs = (IVCCollection)file.FileConfigurations;
- foreach (VCFileConfiguration fileConfig in fileConfigs)
- {
- if (fileConfig.Name.ToLower().Contains("foobar"))
- fileConfig.ExcludedFromBuild = false;
- }
- }
- }
- vcProject.Save();
- currentException = RebuildSolution();
- if (currentException != null)
- {
- logger.WriteLine(DateTime.Now.ToString()
- + ": Case8: " + currentException.Message);
- success = false;
- }
- else
- logger.WriteLine(DateTime.Now.ToString()
- + ": Case8: Build process succeeded");
-
- if (success)
- {
- foreach (VCFile file in (IVCCollection)vcProject.Files)
- {
- if (file.Name == "moc_foo.cpp" || file.Name == "foo.moc")
- {
- VCFilter filter = file.Parent as VCFilter;
- if (filter == null || filter.Name != "foobar")
- continue;
- IVCCollection fileConfigs = (IVCCollection)file.FileConfigurations;
- foreach (VCFileConfiguration fileConfig in fileConfigs)
- {
- if (fileConfig.Name.ToLower().Contains("foobar") && fileConfig.ExcludedFromBuild)
- {
- success = false;
- break;
- }
- }
- }
- if (!success)
- break;
- }
- if (!success)
- {
- logger.WriteLine(DateTime.Now.ToString() + ": Case8: mocced Files were not included correctly"
- + "when sources were included (excluded in debug configuration)");
- }
- else
- {
- logger.WriteLine(DateTime.Now.ToString() + ": Case8: mocced Files were included in build "
- + "when sources were included (excluded in debug configuration)");
- }
- }
- if (success)
- {
- foreach (VCFile file in (IVCCollection)vcProject.Files)
- {
- if (file.Name == "foo.h" || file.Name == "foo.cpp" || file.Name == "bar.cpp")
- {
- IVCCollection fileConfigs = (IVCCollection)file.FileConfigurations;
- foreach (VCFileConfiguration fileConfig in fileConfigs)
- {
- if (fileConfig.Name.ToLower().Contains("debug"))
- fileConfig.ExcludedFromBuild = false;
- }
- }
- }
- vcProject.Save();
- currentException = RebuildSolution();
- if (currentException != null)
- {
- logger.WriteLine(DateTime.Now.ToString()
- + ": Case8: " + currentException.Message);
- success = false;
- }
- else
- logger.WriteLine(DateTime.Now.ToString()
- + ": Case8: Build process succeeded");
-
- if (success)
- {
- foreach (VCFile file in (IVCCollection)vcProject.Files)
- {
- if (file.Name == "moc_foo.cpp" || file.Name == "foo.moc")
- {
- VCFilter filter = file.Parent as VCFilter;
- if (filter == null || filter.Name != "debug")
- continue;
- IVCCollection fileConfigs = (IVCCollection)file.FileConfigurations;
- foreach (VCFileConfiguration fileConfig in fileConfigs)
- {
- if (fileConfig.Name.ToLower().Contains("debug") && fileConfig.ExcludedFromBuild)
- {
- string configName = fileConfig.Name;
- bool excluded = fileConfig.ExcludedFromBuild;
- success = false;
- break;
- }
- }
- }
- if (!success)
- break;
- }
- if (!success)
- {
- logger.WriteLine(DateTime.Now.ToString() + ": Case8: mocced Files were not included in build "
- + "when sources were included");
- }
- else
- {
- logger.WriteLine(DateTime.Now.ToString() + ": Case8: mocced Files were included in build "
- + "when sources were included");
- }
- }
- }
- }
- }
- catch (Exception e)
- {
- success = false;
- logger.WriteLine(e.Message);
- }
- if (success)
- logger.WriteLine(DateTime.Now.ToString() + ": Case8 succeeded");
- else
- logger.WriteLine(DateTime.Now.ToString() + ": Case8 failed");
- logger.WriteLine("");
- }
- }
- }
-
- private void AutoTestCase9()
- {
- bool success = true;
- Exception currentException = null;
- try
- {
- logger.WriteLine(DateTime.Now.ToString()
- + ": Case9 (Handling of precompiled headers) begins");
- logger.WriteLine(DateTime.Now.ToString()
- + ": Case9: Adding precompiled header data");
-
- String solutionRootDir = BackupSolution(testPath + templatePath, "Test2");
- _applicationObject.Solution.Open(solutionRootDir + "Test2.sln");
- Solution solution = _applicationObject.Solution;
- if (solution == null)
- throw new Exception(DateTime.Now.ToString() + ": Case9: "
- + currentException.Message);
-
- Project project = GetProject("Test2", solution);
- VCProject vcProject = (VCProject)project.Object;
-
- foreach (VCConfiguration vcConfig in vcProject.Configurations as IVCCollection)
- {
- CompilerToolWrapper wrapper = new CompilerToolWrapper(vcConfig);
- if (wrapper == null)
- continue;
-
- wrapper.SetUsePrecompiledHeader(pchOption.pchUseUsingSpecific);
- wrapper.SetPrecompiledHeaderFile("test.pch");
- wrapper.SetPrecompiledHeaderThrough("test.h");
- }
- VCFilter filter = null;
- foreach (VCFilter tmpFilter in vcProject.Filters as IVCCollection)
- {
- if (tmpFilter.Name == "Source Files")
- {
- filter = tmpFilter;
- }
- }
- if (filter == null)
- {
- success = false;
- throw new Exception("Could not find \"Source Files\" filter");
- }
- foreach (VCFile file in (IVCCollection)filter.Files)
- {
- if (file.Name.EndsWith(".cpp"))
- {
- IVCCollection fileConfigs = (IVCCollection)file.FileConfigurations;
- foreach (VCFileConfiguration fileConfig in fileConfigs)
- {
- CompilerToolWrapper wrapper = new CompilerToolWrapper(fileConfig);
- if (wrapper == null)
- continue;
-
- wrapper.SetPrecompiledHeaderFile("test.pch");
- wrapper.SetPrecompiledHeaderThrough("test.h");
- if (file.Name == "test.cpp")
- wrapper.SetUsePrecompiledHeader(pchOption.pchCreateUsingSpecific);
- else
- wrapper.SetUsePrecompiledHeader(pchOption.pchUseUsingSpecific);
- }
- }
- }
- ProjectItem piSource = project.ProjectItems.Item("Source Files");
- foreach (ProjectItem item in piSource.ProjectItems)
- {
- if (ProjectItemContainsString(item, "//#include \"test.h\""))
- {
- currentException = ReplaceStringInProjectItem(item, "//#include \"test.h\"", "#include \"test.h\"");
- }
- }
- vcProject.Save();
- currentException = RebuildSolution();
- if (currentException != null)
- {
- logger.WriteLine(DateTime.Now.ToString()
- + ": Case9: " + currentException.Message);
- success = false;
- }
- else
- logger.WriteLine(DateTime.Now.ToString()
- + ": Case9: Build process succeeded");
-
- logger.WriteLine(DateTime.Now.ToString()
- + ": Case9: Changing precompiled header data");
-
- solutionRootDir = BackupSolution(testPath + templatePath, "Test4");
- _applicationObject.Solution.Open(solutionRootDir + "Test4.sln");
- solution = _applicationObject.Solution;
- if (solution == null)
- throw new Exception(DateTime.Now.ToString() + ": Case9: "
- + currentException.Message);
-
- project = GetProject("Test4", solution);
- vcProject = (VCProject)project.Object;
-
- foreach (VCConfiguration vcConfig in vcProject.Configurations as IVCCollection)
- {
- CompilerToolWrapper wrapper = new CompilerToolWrapper(vcConfig);
- if (wrapper == null)
- continue;
-
- wrapper.SetUsePrecompiledHeader(pchOption.pchUseUsingSpecific);
- wrapper.SetPrecompiledHeaderFile("stdafx.pch");
- wrapper.SetPrecompiledHeaderThrough("stdafx.h");
- }
- filter = null;
- foreach (VCFilter tmpFilter in vcProject.Filters as IVCCollection)
- {
- if (tmpFilter.Name == "Source Files")
- {
- filter = tmpFilter;
- }
- }
- if (filter == null)
- {
- success = false;
- throw new Exception("Could not find \"Source Files\" filter");
- }
- foreach (VCFile file in (IVCCollection)filter.Files)
- {
- if (file.Name.EndsWith(".cpp"))
- {
- IVCCollection fileConfigs = (IVCCollection)file.FileConfigurations;
- foreach (VCFileConfiguration fileConfig in fileConfigs)
- {
- CompilerToolWrapper wrapper = new CompilerToolWrapper(fileConfig);
- if (wrapper == null)
- continue;
-
- wrapper.SetPrecompiledHeaderFile("stdafx.pch");
- wrapper.SetPrecompiledHeaderThrough("stdafx.h");
- if (file.Name == "test.cpp")
- wrapper.SetUsePrecompiledHeader(pchOption.pchCreateUsingSpecific);
- else
- wrapper.SetUsePrecompiledHeader(pchOption.pchUseUsingSpecific);
- }
- }
- }
- piSource = project.ProjectItems.Item("Source Files");
- foreach (ProjectItem item in piSource.ProjectItems)
- {
- if (ProjectItemContainsString(item, "#include \"test.h\""))
- {
- currentException = ReplaceStringInProjectItem(item, "#include \"test.h\"", "#include \"stdafx.h\"");
- }
- }
- vcProject.Save();
- currentException = RebuildSolution();
- if (currentException != null)
- {
- logger.WriteLine(DateTime.Now.ToString()
- + ": Case9: " + currentException.Message);
- success = false;
- }
- else
- logger.WriteLine(DateTime.Now.ToString()
- + ": Case9: Build process succeeded");
-
- logger.WriteLine(DateTime.Now.ToString()
- + ": Case9: Removing precompiled header data");
-
- solutionRootDir = BackupSolution(testPath + templatePath, "Test4");
- _applicationObject.Solution.Open(solutionRootDir + "Test4.sln");
- solution = _applicationObject.Solution;
- if (solution == null)
- throw new Exception(DateTime.Now.ToString() + ": Case9: "
- + currentException.Message);
- project = GetProject("Test4", solution);
- vcProject = (VCProject)project.Object;
-
- foreach (VCConfiguration vcConfig in vcProject.Configurations as IVCCollection)
- {
- CompilerToolWrapper wrapper = new CompilerToolWrapper(vcConfig);
- if (wrapper == null)
- continue;
-
- wrapper.SetUsePrecompiledHeader(pchOption.pchNone);
- wrapper.SetPrecompiledHeaderFile("");
- wrapper.SetPrecompiledHeaderThrough("");
- }
- foreach (VCFile file in (IVCCollection)vcProject.Files)
- {
- if (file.Name.EndsWith(".cpp"))
- {
- IVCCollection fileConfigs = (IVCCollection)file.FileConfigurations;
- foreach (VCFileConfiguration fileConfig in fileConfigs)
- {
- CompilerToolWrapper wrapper = new CompilerToolWrapper(fileConfig);
- if (wrapper == null)
- continue;
-
- wrapper.SetPrecompiledHeaderFile("");
- wrapper.SetPrecompiledHeaderThrough("");
- wrapper.SetUsePrecompiledHeader(pchOption.pchNone);
- }
- }
- }
- piSource = project.ProjectItems.Item("Source Files");
- foreach (ProjectItem item in piSource.ProjectItems)
- {
- if (ProjectItemContainsString(item, "#include \"test.h\""))
- {
- currentException = ReplaceStringInProjectItem(item, "#include \"test.h\"", "//#include \"test.h\"");
- }
- }
- ProjectItem piHeader = project.ProjectItems.Item("Header Files");
- ProjectItems headerItems = piHeader.ProjectItems;
- for (int i = headerItems.Count; i > 0; i--)
- {
- ProjectItem item = headerItems.Item(i);
- if (item.Name == "test.h")
- {
- item.Delete();
- }
- }
- vcProject.Save();
- currentException = RebuildSolution();
- if (currentException != null)
- {
- logger.WriteLine(DateTime.Now.ToString()
- + ": Case9: " + currentException.Message);
- success = false;
- }
- else
- logger.WriteLine(DateTime.Now.ToString()
- + ": Case9: Build process succeeded");
- }
- catch (Exception e)
- {
- success = false;
- logger.WriteLine(e.Message);
- }
- if (success)
- logger.WriteLine(DateTime.Now.ToString() + ": Case9 succeeded");
- else
- logger.WriteLine(DateTime.Now.ToString() + ": Case9 failed");
- logger.WriteLine("");
- }
-
- private void FullAutoTest()
- {
- try
- {
- if (!File.Exists(testPath + "log.txt"))
- File.Create(testPath + "log.txt");
- logger = new StreamWriter(testPath + "log.txt");
- logger.AutoFlush = true;
-
- AutoTestCase1(); //- adding Q_OBJECT macro
-
- AutoTestCase2(); //- remove Q_OBJECT macro from header
-
- AutoTestCase3(); //- directly include the moc file and save the header file
-
- AutoTestCase4(); //- directly include the moc file and save the source file
-
- AutoTestCase5(); //- Change Preprocessor Definitions
-
- AutoTestCase6(); //- Change Additional Include Directories
-
- AutoTestCase7(); //- Add user defined custom build steps
-
- AutoTestCase8(); //- Exclusion of mocced files
-
- AutoTestCase9(); //- Handling of precompiled headers
-
- if (_applicationObject.Solution.IsOpen)
- _applicationObject.Solution.Close(false);
- DirectoryInfo di = new DirectoryInfo(testPath + templatePath + "tmp");
- if (di.Exists)
- di.Delete(true);
- logger.WriteLine(DateTime.Now.ToString() + ": Tests finished");
- logger.Close();
- }
- catch (Exception)
- {
- logger.WriteLine(DateTime.Now.ToString() + ": Tests were not completed");
- logger.Close();
- }
- }
-
- private void ExecuteTest(int testNr)
- {
- switch (testNr)
- {
- case 1:
- AutoTestCase1();
- break;
- case 2:
- AutoTestCase2();
- break;
- case 3:
- AutoTestCase3();
- break;
- case 4:
- AutoTestCase4();
- break;
- case 5:
- AutoTestCase5();
- break;
- case 6:
- AutoTestCase6();
- break;
- case 7:
- AutoTestCase7();
- break;
- case 8:
- AutoTestCase8();
- break;
- case 9:
- AutoTestCase9();
- break;
- }
- }
-
-
- public int GetNumberOfTests()
- {
- Type t = typeof(Connect);
- System.Reflection.MemberInfo[] members = t.GetMembers();
- int memberCount = 0;
- foreach (System.Reflection.MemberInfo member in members)
- if (member.Name.ToLower().StartsWith("autotestcase"))
- ++memberCount;
- return memberCount;
- }
-
- public string GetTestDescription(int testNr)
- {
- switch (testNr)
- {
- case 1:
- return "Adding Q_OBJECT macro";
- case 2:
- return "Remove Q_OBJECT macro from header";
- case 3:
- return "Directly include the moc file and save the header file";
- case 4:
- return "Directly include the moc file and save the source file";
- case 5:
- return "Change Preprocessor Definitions";
- case 6:
- return "Change Additional Include Directories";
- case 7:
- return "Add user defined custom build steps";
- default:
- return "";
- }
- }
-
-
-
- public void Startserver()
- {
- extensions.Add("");
- extensions.Add("pch");
- mocDirectories.Add("GeneratedFiles\\moc");
- mocDirectories.Add("GeneratedFiles\\$(ConfigurationName)\\moc");
- mocDirectories.Add("GeneratedFiles\\$(PlatformName)\\moc");
- mocDirectories.Add("GeneratedFiles\\$(ConfigurationName)-$(PlatformName)\\moc");
- server = new UdpClient(200);
- IPEndPoint recvpt = new IPEndPoint(IPAddress.Any, 0);
- byte[] data;
- string str, from;
- int index;
- while (true)
- {
- data = server.Receive(ref recvpt);
- try
- {
- str = Encoding.ASCII.GetString(data);
- index = str.LastIndexOf("@");
- from = str.Substring(index + 1);
- if (index >= 0)
- str = str.Remove(index, str.Length - index);
- if (str.CompareTo("FullTest") == 0)
- {
- FullAutoTest();
- }
- else if (str.StartsWith("Tests:"))
- {
- if (!File.Exists(testPath + "log.txt"))
- File.Create(testPath + "log.txt");
- logger = new StreamWriter(testPath + "log.txt");
- logger.AutoFlush = true;
-
- string tests = str.Substring(6);
- string[] testArray = tests.Split(';');
- foreach (string s in testArray)
- {
- try
- {
- int nr = Convert.ToInt32(s);
- ExecuteTest(nr);
- }
- catch (Exception) { }
- }
-
- if (_applicationObject.Solution.IsOpen)
- _applicationObject.Solution.Close(false);
- DirectoryInfo di = new DirectoryInfo(testPath + templatePath + "tmp");
- if (di.Exists)
- di.Delete(true);
- logger.WriteLine(DateTime.Now.ToString() + ": Tests finished");
- logger.Close();
- }
- }
- catch
- { }
- }
- }
-
- private bool SetProjectDirectory(Project project, ProjectDirectory directory, string value)
- {
- if (!File.Exists(appwrapperPath))
- return false;
-
- System.Diagnostics.Process appwrapper = new System.Diagnostics.Process();
- appwrapper.StartInfo.FileName = appwrapperPath;
- appwrapper.StartInfo.Arguments = "Autotests:set" + directory.ToString() + ':' + value;
- appwrapper.Start();
- System.Threading.Thread.Sleep(500);
-
- return true;
- }
-
- /// <summary>Implements the constructor for the Add-in object. Place your initialization code within this method.</summary>
- public Connect()
- {
- }
-
- /// <summary>Implements the OnConnection method of the IDTExtensibility2 interface. Receives notification that the Add-in is being loaded.</summary>
- /// <param term='application'>Root object of the host application.</param>
- /// <param term='connectMode'>Describes how the Add-in is being loaded.</param>
- /// <param term='addInInst'>Object representing this Add-in.</param>
- /// <seealso class='IDTExtensibility2' />
- public void OnConnection(object application, ext_ConnectMode connectMode, object addInInst, ref Array custom)
- {
- _applicationObject = (DTE2)application;
- _addInInstance = (AddIn)addInInst;
-
- System.Uri uri = new System.Uri(System.Reflection.Assembly.GetExecutingAssembly().EscapedCodeBase);
- testPath = Path.GetDirectoryName(System.Uri.UnescapeDataString(uri.AbsolutePath));
- testPath = testPath.Remove(testPath.LastIndexOf(Path.DirectorySeparatorChar));
- testPath += Path.DirectorySeparatorChar;
-
- appwrapperPath = Path.Combine(uri.AbsolutePath, "..\\..\\..\\..\\Qt4VS2003\\Qt4VSAddin\\Debug\\qtappwrapper.exe");
-
- svthread = new System.Threading.Thread(new System.Threading.ThreadStart(Startserver));
- svthread.IsBackground = true;
- svthread.Start();
- }
-
- /// <summary>Implements the OnDisconnection method of the IDTExtensibility2 interface. Receives notification that the Add-in is being unloaded.</summary>
- /// <param term='disconnectMode'>Describes how the Add-in is being unloaded.</param>
- /// <param term='custom'>Array of parameters that are host application specific.</param>
- /// <seealso class='IDTExtensibility2' />
- public void OnDisconnection(ext_DisconnectMode disconnectMode, ref Array custom)
- {
- svthread.Abort();
- server.Close();
- }
-
- /// <summary>Implements the OnAddInsUpdate method of the IDTExtensibility2 interface. Receives notification when the collection of Add-ins has changed.</summary>
- /// <param term='custom'>Array of parameters that are host application specific.</param>
- /// <seealso class='IDTExtensibility2' />
- public void OnAddInsUpdate(ref Array custom)
- {
- }
-
- /// <summary>Implements the OnStartupComplete method of the IDTExtensibility2 interface. Receives notification that the host application has completed loading.</summary>
- /// <param term='custom'>Array of parameters that are host application specific.</param>
- /// <seealso class='IDTExtensibility2' />
- public void OnStartupComplete(ref Array custom)
- {
- }
-
- /// <summary>Implements the OnBeginShutdown method of the IDTExtensibility2 interface. Receives notification that the host application is being unloaded.</summary>
- /// <param term='custom'>Array of parameters that are host application specific.</param>
- /// <seealso class='IDTExtensibility2' />
- public void OnBeginShutdown(ref Array custom)
- {
- svthread.Abort();
- server.Close();
- }
-
- private DTE2 _applicationObject;
- private AddIn _addInInstance;
- }
-}
diff --git a/tools/Qt4EEAddin/autoexp.dat-autoexpand2005 b/tools/Qt4EEAddin/autoexp.dat-autoexpand2005
deleted file mode 100644
index 39ae4113..00000000
--- a/tools/Qt4EEAddin/autoexp.dat-autoexpand2005
+++ /dev/null
@@ -1,13 +0,0 @@
-;QT_DEBUG_START
-
-QByteArray=<d->data,s> size=<d->size,u>
-QPoint =x=<xp> y=<yp>
-QPointF =x=<xp> y=<yp>
-QRect =x1=<x1> y1=<y1> x2=<x2> y2=<y2>
-QRectF =x=<xp> y=<yp> w=<w> h=<h>
-QSize =width=<wd> height=<ht>
-QSizeF =width=<wd> height=<ht>
-QHash<*> =size=<d->size>
-QVarLengthArray<*> =size=<s> data=<ptr>
-
-;QT_DEBUG_END
diff --git a/tools/Qt4EEAddin/autoexp.dat-autoexpand2008 b/tools/Qt4EEAddin/autoexp.dat-autoexpand2008
deleted file mode 100644
index 39ae4113..00000000
--- a/tools/Qt4EEAddin/autoexp.dat-autoexpand2008
+++ /dev/null
@@ -1,13 +0,0 @@
-;QT_DEBUG_START
-
-QByteArray=<d->data,s> size=<d->size,u>
-QPoint =x=<xp> y=<yp>
-QPointF =x=<xp> y=<yp>
-QRect =x1=<x1> y1=<y1> x2=<x2> y2=<y2>
-QRectF =x=<xp> y=<yp> w=<w> h=<h>
-QSize =width=<wd> height=<ht>
-QSizeF =width=<wd> height=<ht>
-QHash<*> =size=<d->size>
-QVarLengthArray<*> =size=<s> data=<ptr>
-
-;QT_DEBUG_END
diff --git a/tools/Qt4EEAddin/autoexp.dat-autoexpand2010 b/tools/Qt4EEAddin/autoexp.dat-autoexpand2010
deleted file mode 100644
index 39ae4113..00000000
--- a/tools/Qt4EEAddin/autoexp.dat-autoexpand2010
+++ /dev/null
@@ -1,13 +0,0 @@
-;QT_DEBUG_START
-
-QByteArray=<d->data,s> size=<d->size,u>
-QPoint =x=<xp> y=<yp>
-QPointF =x=<xp> y=<yp>
-QRect =x1=<x1> y1=<y1> x2=<x2> y2=<y2>
-QRectF =x=<xp> y=<yp> w=<w> h=<h>
-QSize =width=<wd> height=<ht>
-QSizeF =width=<wd> height=<ht>
-QHash<*> =size=<d->size>
-QVarLengthArray<*> =size=<s> data=<ptr>
-
-;QT_DEBUG_END
diff --git a/tools/Qt4EEAddin/autoexp.dat-autoexpand2012 b/tools/Qt4EEAddin/autoexp.dat-autoexpand2012
deleted file mode 100644
index 39ae4113..00000000
--- a/tools/Qt4EEAddin/autoexp.dat-autoexpand2012
+++ /dev/null
@@ -1,13 +0,0 @@
-;QT_DEBUG_START
-
-QByteArray=<d->data,s> size=<d->size,u>
-QPoint =x=<xp> y=<yp>
-QPointF =x=<xp> y=<yp>
-QRect =x1=<x1> y1=<y1> x2=<x2> y2=<y2>
-QRectF =x=<xp> y=<yp> w=<w> h=<h>
-QSize =width=<wd> height=<ht>
-QSizeF =width=<wd> height=<ht>
-QHash<*> =size=<d->size>
-QVarLengthArray<*> =size=<s> data=<ptr>
-
-;QT_DEBUG_END
diff --git a/tools/Qt4EEAddin/autoexp.dat-autoexpand2013 b/tools/Qt4EEAddin/autoexp.dat-autoexpand2013
deleted file mode 100644
index 39ae4113..00000000
--- a/tools/Qt4EEAddin/autoexp.dat-autoexpand2013
+++ /dev/null
@@ -1,13 +0,0 @@
-;QT_DEBUG_START
-
-QByteArray=<d->data,s> size=<d->size,u>
-QPoint =x=<xp> y=<yp>
-QPointF =x=<xp> y=<yp>
-QRect =x1=<x1> y1=<y1> x2=<x2> y2=<y2>
-QRectF =x=<xp> y=<yp> w=<w> h=<h>
-QSize =width=<wd> height=<ht>
-QSizeF =width=<wd> height=<ht>
-QHash<*> =size=<d->size>
-QVarLengthArray<*> =size=<s> data=<ptr>
-
-;QT_DEBUG_END
diff --git a/tools/Qt4EEAddin/autoexp.dat-visualizer2005 b/tools/Qt4EEAddin/autoexp.dat-visualizer2005
deleted file mode 100644
index 79f69145..00000000
--- a/tools/Qt4EEAddin/autoexp.dat-visualizer2005
+++ /dev/null
@@ -1,686 +0,0 @@
-;QT_DEBUG_START
-; Nokia Qt 4.x visualizers -----------------------------------------[ start ]--
-;------------------------------------------------------------------------------
-; Feel free to modify these visualizers to suit yours needs! But please let us
-; know about the changes you make, so we continuously improve the visualizers.
-
-QString{
- preview ([$e.d->data,su])
- stringview ([$e.d->data,sub])
- children
- (
- #(
- d: $c.d,
- [size]: $c.d->size,
- [referenced]: $c.d->ref._q_value
- )
- )
-}
-
-QByteArray{
- preview ([$e.d->data,s])
- stringview ([$e.d->data,sb])
- children
- (
- #(
- d: $c.d,
- [size]: $c.d->size,
- [referenced]: $c.d->ref._q_value
- )
- )
-
-}
-
-QUrl{
- preview
- (
- #if ($e.d.stateFlags == 0) (
- $e.d
- ) #else (
- #( $e.d->scheme, $e.d->host, $e.d->path )
- )
- )
- children
- (
- #(
- scheme: $c.d->scheme,
- host: $c.d->host,
- path: $c.d->path,
- username: $c.d->userName,
- password: $c.d->password,
- encodedOriginal: $c.d->encodedOriginal,
- query: $c.d->query,
- fragment: $c.d->fragment
- )
- )
-}
-
-QFileInfo{
- preview
- (
- #(
- "private=", $c.d_ptr
- )
- )
-}
-
-;------------------------------------------------------------------------------
-; QStringList
-;------------------------------------------------------------------------------
-QStringList{
- preview
- (
- #if (($c.d->end - $c.d->begin) <= 10) (
- #(
- "[", $c.d->end - $c.d->begin, "](",
- #array
- (
- expr: (QString)(($c.d->array + $c.d->begin)[$i]),
- size: $c.d->end-$c.d->begin
- ), ")"
- )
- ) #else (
- #(
- "[", $c.d->end - $c.d->begin, "](",
- #array
- (
- expr: (QString)(($c.d->array + $c.d->begin)[$i]),
- size: 10
- ), ", ...)"
- )
- )
- )
-}
-
-;------------------------------------------------------------------------------
-; QList, QQueue
-;------------------------------------------------------------------------------
-QList<*>|QQueue<*>{
- preview
- (
- #if (($c.d->end - $c.d->begin) <= 10) (
- #(
- "[", $c.d->end - $c.d->begin, "](",
- #array
- (
- expr: ($T1)(($c.d->array + $c.d->begin)[$i]),
- size: $c.d->end-$c.d->begin
- ), ")"
- )
- ) #else (
- #(
- "[", $c.d->end - $c.d->begin, "](",
- #array
- (
- expr: ($T1)(($c.d->array + $c.d->begin)[$i]),
- size: 10
- ), ", ...)"
- )
- )
- )
-
- children
- (
- #array (
- expr: ($T1)(($c.d->array + $c.d->begin)[$i]),
- size: $c.d->end - $c.d->begin
- )
- )
-}
-
-;------------------------------------------------------------------------------
-; QList::iterator, QQueue::iterator
-;------------------------------------------------------------------------------
-QList<*>::iterator|QList<*>::const_iterator|QQueue<*>::iterator|QQueue<*>::const_iterator{
- preview
- (
- #(
- ($T1)$c.i->v
- )
- )
-
- children
- (
- #(
- ptr: ($T1)$c.i->v
- )
- )
-}
-
-;------------------------------------------------------------------------------
-; QListIterator
-;------------------------------------------------------------------------------
-QListIterator<*>|QMutableListIterator<*> {
- preview
- (
- #(
- ($T1)$c.i.i->v
- )
- )
-
- children
- (
- #(
- ptr: ($T1)$c.i.i->v
- )
- )
-}
-
-;------------------------------------------------------------------------------
-; QLinkedList
-;------------------------------------------------------------------------------
-QLinkedList<*>{
- preview
- (
- #if ($e.d->size >= 10) (
- #(
- "[", $e.d->size, "](",
- #list
- (
- head: $c.d->n,
- size: 10,
- next: n
- ) : ( (*(QLinkedListNode<$T1>*)&$e).t ), ", ...)"
- )
- ) #else (
- #(
- "[", $e.d->size, "](",
- #list
- (
- head: $c.d->n,
- size: $c.d->size,
- next: n
- ) : ( (*(QLinkedListNode<$T1>*)&$e).t ), ")"
- )
- )
- )
-
- children
- (
- #(
- #list
- (
- head: $c.d->n,
- size: $c.d->size,
- next: n
- ) : (*(QLinkedListNode<$T1>*)&$e).t
- )
- )
-}
-
-;------------------------------------------------------------------------------
-; QLinkedList::iterator
-;------------------------------------------------------------------------------
-QLinkedList<*>::iterator|QLinkedList<*>::const_iterator{
- preview
- (
- #(
- $e.i->t
- )
- )
-
- children
- (
- #(
- ptr: $e.i->t
- )
- )
-}
-
-;------------------------------------------------------------------------------
-; QVector, QStack
-;
-; By default, this visualizer supports only Qt 4.6.x. If you're going to use
-; Qt 4.5.x code, then you may want to replace all expr lines with this:
-; expr: (((size_t)($c.d) + (size_t)(sizeof(QVectorData)) ))[$i],
-;
-; This will allow this visualizer to display Qt 4.5.x and Qt 4.6.x QVector
-; objects. But be aware of some limitations. For example enum types can't be
-; displayed properly this way.
-;
-; Qt 4.5.x:
-; QVector::d is QVectorTypedData<T>
-; QVector::p is QVectorData
-; expr: $c.d->array[$i]
-;
-; Qt 4.6.x:
-; QVector::d is QVectorData
-; QVector::p is QVectorTypedData<T>
-; expr: $c.p->array[$i]
-;
-;------------------------------------------------------------------------------
-QVector<*>|*::QVector<*>|QStack<*>|*::QStack<*>{
- preview
- (
- #if ($c.d->size <= 10) (
- #(
- "[", $c.d->size, "](",
- #array
- (
- expr: $c.p->array[$i],
- size: $c.d->size
- ), ")"
- )
- ) #else (
- #(
- "[", $c.d->size, "](",
- #array
- (
- expr: $c.p->array[$i],
- size: 10
- ), ", ...)"
- )
- )
- )
- children
- (
- #array
- (
- expr: $c.p->array[$i],
- size: $c.d->size
- )
- )
-}
-
-;------------------------------------------------------------------------------
-; QMap
-;------------------------------------------------------------------------------
-QMapNode<*,*>{
- preview
- (
- #(
- "(",
- $e.key,
- "; ",
- $e.value,
- ")"
- )
- )
-
- children
- (
- #(
- key: $e.key,
- value: $e.value
- )
- )
-}
-
-QMap<*>{
- children
- (
- #(
- raw data: [$c,!],
- #tree
- (
- head : $c.d->forward[0],
- skip : $c.d,
- size : $c.d->size,
- left : backward,
- right : forward
- ) : ( (QMapNode<$T1>*)((char*)&$e - (sizeof(QMapPayloadNode<$T1>) - sizeof(QMapData::Node*))) )
- )
- )
-
- preview
- (
- #(
- "[",
- $e.d->size,
- "](",
- #tree
- (
- head : $c.d->forward[0],
- size : $c.d->size,
- left : backward,
- right : forward
- ) : $e,
- ")"
- )
- )
-}
-
-;------------------------------------------------------------------------------
-; QHash
-;------------------------------------------------------------------------------
-QHash<*>{
- preview
- (
- #(
- "[", $e.d->size, "] (...)"
- )
- )
- children
- (
- #if ($e.d->size <= 255) (
- #(
- #array (
- expr: (QHashNode<$T1>*)$c.d->buckets[$i],
- size: $c.d->numBuckets
- ) : #list (
- head: $e,
- next: next
- ) : #switch ($e.next != 0) #case 1 (
- $e
- )
- )
- ) #else (
- #(
- #array (
- expr: (QHashNode<$T1>*)$c.d->buckets[$i],
- size: 255
- ) : #list (
- head: $e,
- next: next
- ) : #switch ($e.next != 0) #case 1 (
- $e
- )
- )
- )
- )
-}
-
-*::QHash<*>{
- preview
- (
- #(
- "[", $e.d->size, "] (...)"
- )
- )
- children
- (
- #if ($e.d->size <= 255) (
- #(
- #array (
- expr: ($T1::QHashNode<$T2> *)$c.d->buckets[$i],
- size: $c.d->numBuckets
- ) : #list (
- head: $e,
- next: next
- ) : #switch ($e.next != 0) #case 1 (
- $e
- )
- )
- ) #else (
- #(
- #array (
- expr: ($T1::QHashNode<$T2> *)$c.d->buckets[$i],
- size: 255
- ) : #list (
- head: $e,
- next: next
- ) : #switch ($e.next != 0) #case 1 (
- $e
- )
- )
- )
- )
-}
-
-;------------------------------------------------------------------------------
-; QMultiHash
-;------------------------------------------------------------------------------
-QMultiHash<*>{
- preview
- (
- (*(QHash<$T1>*)(&$c))
- )
-}
-
-*::QMultiHash<*>{
- preview
- (
- (*($T1::QHash<$T2>*)(&$c))
- )
-}
-
-;------------------------------------------------------------------------------
-; QHash::iterator
-;------------------------------------------------------------------------------
-QHash<*>::iterator{
- preview
- (
- #(
- "(", ((QHashNode<$T1>*)($c.i))->key, ", ", ((QHashNode<$T1>*)($c.i))->value, ")"
- )
- )
- children
- (
- #(
- key: ((QHashNode<$T1>*)($c.i))->key,
- value: ((QHashNode<$T1>*)($c.i))->value
- )
- )
-}
-
-*::QHash<*>::iterator{
- preview
- (
- #(
- "(", (($T1::QHashNode<$T2>*)($c.i))->key, ", ", (($T1::QHashNode<$T2>*)($c.i))->key, ")"
- )
- )
- children
- (
- #(
- key: (($T1::QHashNode<$T2>*)($c.i))->key,
- value: (($T1::QHashNode<$T2>*)($c.i))->value
- )
- )
-}
-
-;------------------------------------------------------------------------------
-; QHashIterator
-;------------------------------------------------------------------------------
-QHashIterator<*>{
- preview
- (
- #(
- "(", ((QHashNode<$T1>*)((($c).i).i))->key, ", ", ((QHashNode<$T1>*)((($c).i).i))->key, ")"
- )
- )
- children
- (
- #(
- key: ((QHashNode<$T1>*)((($c).i).i))->key,
- value: ((QHashNode<$T1>*)((($c).i).i))->value
- )
- )
-}
-
-*::QHashIterator<*>{
- preview
- (
- #(
- "(", (($T1::QHashNode<$T2>*)((($c).i).i))->key, ", ", (($T1::QHashNode<$T2>*)((($c).i).i))->key, ")"
- )
- )
- children
- (
- #(
- key: (($T1::QHashNode<$T2>*)((($c).i).i))->key,
- value: (($T1::QHashNode<$T2>*)((($c).i).i))->value
- )
- )
-}
-
-;------------------------------------------------------------------------------
-; QHashNode
-;------------------------------------------------------------------------------
-QHashNode<*>|*::QHashNode<*>{
- preview
- (
- #(
- "(key = ", $c.key,"; value = ", $c.value, ")"
- )
- )
- children
- (
- #(
- key: $c.key,
- value: $c.value
- )
- )
-}
-
-;------------------------------------------------------------------------------
-; QSet
-;------------------------------------------------------------------------------
-QSet<*>{
- preview
- (
- #(
- "[", $e.q_hash.d->size, "] (...)"
- )
- )
- children
- (
- #if ($e.q_hash.d->size <= 255) (
- #(
- #array (
- expr: (QHashNode<$T1,QHashDummyValue> *)$c.q_hash.d->buckets[$i],
- size: $c.q_hash.d->numBuckets
- ) : #list (
- head: $e,
- next: next
- ) : #switch ($e.next != 0) #case 1 (
- $e.key
- )
- )
- ) #else (
- #(
- #array (
- expr: (QHashNode<$T1,QHashDummyValue> *)$c.q_hash.d->buckets[$i],
- size: 255
- ) : #list (
- head: $e,
- next: next
- ) : #switch ($e.next != 0) #case 1 (
- $e.key
- )
- )
- )
- )
-}
-
-*::QSet<*>{
- preview
- (
- #(
- "[", $e.q_hash.d->size, "] (...)"
- )
- )
- children
- (
- #if ($e.q_hash.d->size <= 255) (
- #(
- #array (
- expr: ($T1::QHashNode<$T2,QHashDummyValue> *)$c.q_hash.d->buckets[$i],
- size: $c.q_hash.d->numBuckets
- ) : #list (
- head: $e,
- next: next
- ) : #switch ($e.next != 0) #case 1 (
- $e.key
- )
- )
- ) #else (
- #(
- #array (
- expr: ($T1::QHashNode<$T2,QHashDummyValue> *)$c.q_hash.d->buckets[$i],
- size: 255
- ) : #list (
- head: $e,
- next: next
- ) : #switch ($e.next != 0) #case 1 (
- $e.key
- )
- )
- )
- )
-}
-
-;------------------------------------------------------------------------------
-; QPolygon
-;------------------------------------------------------------------------------
-QPolygon{
- preview
- (
- #(
- "[", ((QVector<QPoint>*)(&$c))->d->size, "] (...)"
- )
- )
- children
- (
- #(
- #array
- (
- expr: ((QPoint*)(((void*)$c.d) + sizeof(QVectorData)))[$i],
- size: ((QVector<QPoint>*)(&$c))->d->size
- )
- )
- )
-}
-*::QPolygon{
- preview
- (
- #(
- "[", (($T1::QVector<$T1::QPoint>*)(&$c))->d->size, "] (...)"
- )
- )
- children
- (
- #(
- #array
- (
- expr: (($T1::QPoint*)(((void*)$c.d) + sizeof(QVectorData)))[$i],
- size: (($T1::QVector<$T1::QPoint>*)(&$c))->d->size
- )
- )
- )
-}
-
-;------------------------------------------------------------------------------
-; QPolygonF
-;------------------------------------------------------------------------------
-QPolygonF{
- preview
- (
- #(
- "[", ((QVector<QPointF>*)(&$c))->d->size, "] (...)"
- )
- )
- children
- (
- #(
- #array
- (
- expr: ((QVector<QPointF>*)(&$c))->p->array[$i],
- size: ((QVector<QPointF>*)(&$c))->d->size
- )
- )
- )
-}
-
-*::QPolygonF{
- preview
- (
- #(
- "[", (($T1::QVector<$T1::QPointF>*)(&$c))->d->size, "] (...)"
- )
- )
- children
- (
- #(
- #array
- (
- expr: (($T1::QVector<$T1::QPointF>*)(&$c))->p->array[$i],
- size: (($T1::QVector<$T1::QPointF>*)(&$c))->d->size
- )
- )
- )
-}
-
-;------------------------------------------------------------------------------
-; Nokia Qt 4.x visualizers -------------------------------------------[ end ]--
-;QT_DEBUG_END
diff --git a/tools/Qt4EEAddin/autoexp.dat-visualizer2008 b/tools/Qt4EEAddin/autoexp.dat-visualizer2008
deleted file mode 100644
index c738c52c..00000000
--- a/tools/Qt4EEAddin/autoexp.dat-visualizer2008
+++ /dev/null
@@ -1,1511 +0,0 @@
-;QT_DEBUG_START
-; The Qt Company Ltd. Qt 5.x visualizers -----------------------------------------[ start ]--
-;------------------------------------------------------------------------------
-; Feel free to modify these visualizers to suit yours needs! But please let us
-; know about the changes you make, so we continuously improve the visualizers.
-
-; Qt4
-;QString{
-; preview ([$e.d->data,su])
-; stringview ([$e.d->data,sub])
-; children
-; (
-; #(
-; d: $c.d,
-; [size]: $c.d->size,
-; [referenced]: $c.d->ref._q_value
-; )
-; )
-;}
-
-; Qt4
-;QByteArray{
-; preview ([$e.d->data,s])
-; stringview ([$e.d->data,sb])
-; children
-; (
-; #(
-; d: $c.d,
-; [size]: $c.d->size,
-; [referenced]: $c.d->ref._q_value
-; )
-; )
-;}
-
-; Qt5
-QString|*::QString{
- preview ([(unsigned short*)$e.d + $e.d->offset/2,su])
- stringview ([(unsigned short*)$e.d + $e.d->offset/2,sub])
- children
- (
- #(
- d: $c.d,
- [size]: $c.d->size,
- [referenced]: $c.d->ref.atomic._q_value
- )
- )
-}
-
-; Qt5
-QByteArray|*::QByteArray{
- preview ([(char*)$e.d + $e.d->offset,s])
- stringview ([(char*)$e.d + $e.d->offset,sb])
- children
- (
- #(
- d: $c.d,
- [size]: $c.d->size,
- [referenced]: $c.d->ref._q_value
- )
- )
-}
-
-QFileInfo|*::QFileInfo{
- preview
- (
- #(
- "private=", $c.d_ptr
- )
- )
-}
-
-QUrl|*::QUrl{
- preview
- (
- #if ($e.d.stateFlags == 0) (
- $e.d
- ) #else (
- #( $e.d->scheme, $e.d->host, $e.d->path )
- )
- )
- children
- (
- #(
- scheme: $c.d->scheme,
- host: $c.d->host,
- path: $c.d->path,
- username: $c.d->userName,
- password: $c.d->password,
- encodedOriginal: $c.d->encodedOriginal,
- query: $c.d->query,
- fragment: $c.d->fragment
- )
- )
-}
-
-QTime|*::QTime{
- preview
- (
- #(
- "hour=", [$e.mds / 3600000, d],
- ", minute=", [($e.mds % 3600000) / 60000, d],
- ", second=", [($e.mds / 1000) % 60, d],
- ", millisecond=", [$e.mds % 1000, d]
- )
- )
- children
- (
- #(
- [hour]: [$e.mds / 3600000, d],
- [minute]: [($e.mds % 3600000) / 60000, d],
- [second]: [($e.mds / 1000) % 60, d],
- [millisecond]: [$e.mds % 1000, d]
- )
- )
-}
-
-QVariant{
- preview
- (
- #if ($e.d.type == 1) (
- #("bool = ", [$e.d.data.b])
- ) #elif ($e.d.type == 2) (
- #("int = ", [$e.d.data.i])
- ) #elif ($e.d.type == 3) (
- #("usigned int = ", [$e.d.data.u])
- ) #elif ($e.d.type == 4) (
- #("long long = ", [$e.d.data.ll])
- ) #elif ($e.d.type == 5) (
- #("unsigned long long = ", [$e.d.data.ull])
- ) #elif ($e.d.type == 6) (
- #("double = ", [$e.d.data.d])
- ) #elif ($e.d.type == 7) (
- #("char = ", [$e.d.data.c])
- ) #elif ($e.d.type == 8) (
- #("QMap = ", [(QMap) $e.d.data.ptr])
- ) #elif ($e.d.type == 10) (
- #("QString = ", [(QString) $e.d.data.ptr])
- ) #elif ($e.d.type == 11) (
- #("QStringList = ", [(QStringList) $e.d.data.ptr])
- ) #elif ($e.d.type == 17) (
- #("QUrl = ", [(QUrl) $e.d.data.ptr])
- ) #else (
- #("type = ", [$e.d.type])
- )
- )
- children
- (
- #if ($e.d.type == 1) (
- $c.d.data.b
- ) #elif ($e.d.type == 2) (
- $c.d.data.i
- ) #elif ($e.d.type == 3) (
- $c.d.data.u
- ) #elif ($e.d.type == 4) (
- $c.d.data.ll
- ) #elif ($e.d.type == 5) (
- $c.d.data.ull
- ) #elif ($e.d.type == 6) (
- $c.d.data.d
- ) #elif ($e.d.type == 7) (
- $c.d.data.c
- ) #elif ($e.d.type == 8) (
- ) #elif ($e.d.type == 10) (
- #(
- [size]: ((QString) $c.d.data.ptr).d->size
- )
- ) #elif ($e.d.type == 11) (
- #if ((((QStringList) $e.d.data.ptr).d->end - ((QStringList) $e.d.data.ptr).d->begin) <= 10) (
- #array
- (
- expr: (QString)((((QStringList) $e.d.data.ptr).d->array + ((QStringList) $e.d.data.ptr).d->begin)[$i]),
- size: ((QStringList) $e.d.data.ptr).d->end-((QStringList) $e.d.data.ptr).d->begin
- )
- ) #else (
- #array
- (
- expr: (QString)((((QStringList) $e.d.data.ptr).d->array + ((QStringList) $e.d.data.ptr).d->begin)[$i]),
- size: 10
- )
- )
- ) #elif ($e.d.type == 17) (
- #(
- scheme: ((QUrl) $e.d.data.ptr).d->scheme,
- host: ((QUrl) $e.d.data.ptr).d->host,
- path: ((QUrl) $e.d.data.ptr).d->path,
- username: ((QUrl) $e.d.data.ptr).d->userName,
- password: ((QUrl) $e.d.data.ptr).d->password,
- encodedOriginal: ((QUrl) $e.d.data.ptr).d->encodedOriginal,
- query: ((QUrl) $e.d.data.ptr).d->query,
- fragment: ((QUrl) $e.d.data.ptr).d->fragment
- )
- ) #else (
- #("type = ", [$e.d.type])
- )
- )
-}
-
-*::QVariant{
- preview
- (
- #if ($e.d.type == 1) (
- #("bool = ", [$e.d.data.b])
- ) #elif ($e.d.type == 2) (
- #("int = ", [$e.d.data.i])
- ) #elif ($e.d.type == 3) (
- #("usigned int = ", [$e.d.data.u])
- ) #elif ($e.d.type == 4) (
- #("long long = ", [$e.d.data.ll])
- ) #elif ($e.d.type == 5) (
- #("unsigned long long = ", [$e.d.data.ull])
- ) #elif ($e.d.type == 6) (
- #("double = ", [$e.d.data.d])
- ) #elif ($e.d.type == 7) (
- #("char = ", [$e.d.data.c])
- ) #elif ($e.d.type == 8) (
- #("QMap = ", [($T1::QMap) $e.d.data.ptr])
- ) #elif ($e.d.type == 10) (
- #("QString = ", [($T1::QString) $e.d.data.ptr])
- ) #elif ($e.d.type == 11) (
- #("QStringList = ", [($T1::QStringList) $e.d.data.ptr])
- ) #elif ($e.d.type == 17) (
- #("QUrl = ", [($T1::QUrl) $e.d.data.ptr])
- ) #else (
- #("type = ", [$e.d.type])
- )
- )
- children
- (
- #if ($e.d.type == 1) (
- $c.d.data.b
- ) #elif ($e.d.type == 2) (
- $c.d.data.i
- ) #elif ($e.d.type == 3) (
- $c.d.data.u
- ) #elif ($e.d.type == 4) (
- $c.d.data.ll
- ) #elif ($e.d.type == 5) (
- $c.d.data.ull
- ) #elif ($e.d.type == 6) (
- $c.d.data.d
- ) #elif ($e.d.type == 7) (
- $c.d.data.c
- ) #elif ($e.d.type == 8) (
- ) #elif ($e.d.type == 10) (
- #(
- [size]: (($T1::QString) $c.d.data.ptr).d->size
- )
- ) #elif ($e.d.type == 11) (
- #if (((($T1::QStringList) $e.d.data.ptr).d->end - (($T1::QStringList) $e.d.data.ptr).d->begin) <= 10) (
- #array
- (
- expr: ($T1::QString)(((($T1::QStringList) $e.d.data.ptr).d->array + (($T1::QStringList) $e.d.data.ptr).d->begin)[$i]),
- size: (($T1::QStringList) $e.d.data.ptr).d->end-(($T1::QStringList) $e.d.data.ptr).d->begin
- )
- ) #else (
- #array
- (
- expr: ($T1::QString)(((($T1::QStringList) $e.d.data.ptr).d->array + (($T1::QStringList) $e.d.data.ptr).d->begin)[$i]),
- size: 10
- )
- )
- ) #elif ($e.d.type == 17) (
- #(
- scheme: (($T1::QUrl) $e.d.data.ptr).d->scheme,
- host: (($T1::QUrl) $e.d.data.ptr).d->host,
- path: (($T1::QUrl) $e.d.data.ptr).d->path,
- username: (($T1::QUrl) $e.d.data.ptr).d->userName,
- password: (($T1::QUrl) $e.d.data.ptr).d->password,
- encodedOriginal: (($T1::QUrl) $e.d.data.ptr).d->encodedOriginal,
- query: (($T1::QUrl) $e.d.data.ptr).d->query,
- fragment: (($T1::QUrl) $e.d.data.ptr).d->fragment
- )
- ) #else (
- #("type = ", [$e.d.type])
- )
- )
-}
-
-;------------------------------------------------------------------------------
-; QStringList
-;------------------------------------------------------------------------------
-QStringList{
- preview
- (
- #if (($c.d->end - $c.d->begin) <= 10) (
- #(
- "[", $c.d->end - $c.d->begin, "](",
- #array
- (
- expr: (QString)(($c.d->array + $c.d->begin)[$i]),
- size: $c.d->end-$c.d->begin
- ), ")"
- )
- ) #else (
- #(
- "[", $c.d->end - $c.d->begin, "](",
- #array
- (
- expr: (QString)(($c.d->array + $c.d->begin)[$i]),
- size: 10
- ), ", ...)"
- )
- )
- )
-}
-
-*::QStringList{
- preview
- (
- #if (($c.d->end - $c.d->begin) <= 10) (
- #(
- "[", $c.d->end - $c.d->begin, "](",
- #array
- (
- expr: ($T1::QString)(($c.d->array + $c.d->begin)[$i]),
- size: $c.d->end-$c.d->begin
- ), ")"
- )
- ) #else (
- #(
- "[", $c.d->end - $c.d->begin, "](",
- #array
- (
- expr: ($T1::QString)(($c.d->array + $c.d->begin)[$i]),
- size: 10
- ), ", ...)"
- )
- )
- )
-}
-
-;------------------------------------------------------------------------------
-; QList, QQueue
-;------------------------------------------------------------------------------
-QList<*>|QQueue<*>{
- preview
- (
- #if (int(sizeof($T1)) <= int(sizeof(void*))) (
- #if (($c.d->end - $c.d->begin) <= 10) (
- #(
- "[", $c.d->end - $c.d->begin, "](",
- #array
- (
- expr: ($T1)(($c.d->array + $c.d->begin)[$i]),
- size: $c.d->end-$c.d->begin
- ), ")"
- )
- ) #else (
- #(
- "[", $c.d->end - $c.d->begin, "](",
- #array
- (
- expr: ($T1)(($c.d->array + $c.d->begin)[$i]),
- size: 10
- ), ", ...)"
- )
- )
- ) #else (
- #if (($c.d->end - $c.d->begin) <= 10) (
- #(
- "[", $c.d->end - $c.d->begin, "](",
- #array
- (
- expr: *($T1*)(($c.d->array + $c.d->begin)[$i]),
- size: $c.d->end-$c.d->begin
- ), ")"
- )
- ) #else (
- #(
- "[", $c.d->end - $c.d->begin, "](",
- #array
- (
- expr: *($T1*)(($c.d->array + $c.d->begin)[$i]),
- size: 10
- ), ", ...)"
- )
- )
- )
- )
- children
- (
- #if (int(sizeof($T1)) <= int(sizeof(void*))) (
- #array (
- expr: ($T1)(($c.d->array + $c.d->begin)[$i]),
- size: $c.d->end - $c.d->begin
- )
- ) #else (
- #array (
- expr: *($T1*)(($c.d->array + $c.d->begin)[$i]),
- size: $c.d->end - $c.d->begin
- )
- )
- )
-}
-
-*::QList<*>|*::QQueue<*>{
- preview
- (
- #if (int(sizeof($T2)) <= int(sizeof(void*))) (
- #if (($c.d->end - $c.d->begin) <= 10) (
- #(
- "[", $c.d->end - $c.d->begin, "](",
- #array
- (
- expr: ($T2)(($c.d->array + $c.d->begin)[$i]),
- size: $c.d->end-$c.d->begin
- ), ")"
- )
- ) #else (
- #(
- "[", $c.d->end - $c.d->begin, "](",
- #array
- (
- expr: ($T2)(($c.d->array + $c.d->begin)[$i]),
- size: 10
- ), ", ...)"
- )
- )
- ) #else (
- #if (($c.d->end - $c.d->begin) <= 10) (
- #(
- "[", $c.d->end - $c.d->begin, "](",
- #array
- (
- expr: *($T2*)(($c.d->array + $c.d->begin)[$i]),
- size: $c.d->end-$c.d->begin
- ), ")"
- )
- ) #else (
- #(
- "[", $c.d->end - $c.d->begin, "](",
- #array
- (
- expr: *($T2*)(($c.d->array + $c.d->begin)[$i]),
- size: 10
- ), ", ...)"
- )
- )
- )
- )
- children
- (
- #if (int(sizeof($T2)) <= int(sizeof(void*))) (
- #array (
- expr: ($T2)(($c.d->array + $c.d->begin)[$i]),
- size: $c.d->end - $c.d->begin
- )
- ) #else (
- #array (
- expr: *($T2*)(($c.d->array + $c.d->begin)[$i]),
- size: $c.d->end - $c.d->begin
- )
- )
- )
-}
-
-;------------------------------------------------------------------------------
-; QList::iterator, QQueue::iterator
-;------------------------------------------------------------------------------
-QList<*>::iterator|QList<*>::const_iterator|QQueue<*>::iterator|QQueue<*>::const_iterator{
- preview
- (
- #(
- ($T1*)$c.ptr
- )
- )
- children
- (
- #(
- ptr: ($T1)$c.ptr
- )
- )
-}
-
-*::QList<*>::iterator|*::QList<*>::const_iterator|*::QQueue<*>::iterator|*::QQueue<*>::const_iterator{
- preview
- (
- #(
- ($T2)$c.i->v
- )
- )
- children
- (
- #(
- ptr: ($T2)$c.i->v
- )
- )
-}
-
-;------------------------------------------------------------------------------
-; QListIterator
-;------------------------------------------------------------------------------
-QListIterator<*>|QMutableListIterator<*>{
- preview
- (
- #(
- *($T1*)($c.i.i->v)
- )
- )
- children
- (
- #(
- Value: *($T1*)($c.i.i->v)
- )
- )
-}
-
-*::QListIterator<*>|*::QMutableListIterator<*>{
- preview
- (
- #(
- *($T2*)($c.i.i->v)
- )
- )
- children
- (
- #(
- Value: *($T2*)($c.i.i->v)
- )
- )
-}
-
-;------------------------------------------------------------------------------
-; QLinkedList
-;------------------------------------------------------------------------------
-QLinkedList<*>{
- preview
- (
- #if ($e.d->size >= 10) (
- #(
- "[", $e.d->size, "](",
- #list
- (
- head: $c.d->n,
- size: 10,
- next: n
- ) : ( (*(QLinkedListNode<$T1>*)&$e).t ), ", ...)"
- )
- ) #else (
- #(
- "[", $e.d->size, "](",
- #list
- (
- head: $c.d->n,
- size: $c.d->size,
- next: n
- ) : ( (*(QLinkedListNode<$T1>*)&$e).t ), ")"
- )
- )
- )
- children
- (
- #(
- #list
- (
- head: $c.d->n,
- size: $c.d->size,
- next: n
- ) : (*(QLinkedListNode<$T1>*)&$e).t
- )
- )
-}
-
-*::QLinkedList<*>{
- preview
- (
- #if ($e.d->size >= 10) (
- #(
- "[", $e.d->size, "](",
- #list
- (
- head: $c.d->n,
- size: 10,
- next: n
- ) : ( (*($T1::QLinkedListNode<$T2>*)&$e).t ), ", ...)"
- )
- ) #else (
- #(
- "[", $e.d->size, "](",
- #list
- (
- head: $c.d->n,
- size: $c.d->size,
- next: n
- ) : ( (*($T1::QLinkedListNode<$T2>*)&$e).t ), ")"
- )
- )
- )
- children
- (
- #(
- #list
- (
- head: $c.d->n,
- size: $c.d->size,
- next: n
- ) : (*($T1::QLinkedListNode<$T2>*)&$e).t
- )
- )
-}
-
-;------------------------------------------------------------------------------
-; QLinkedList::iterator
-;------------------------------------------------------------------------------
-QLinkedList<*>::iterator|*::QLinkedList<*>::iterator|QLinkedList<*>::const_iterator|*::QLinkedList<*>::const_iterator{
- preview
- (
- #(
- $e.i->t
- )
- )
- children
- (
- #(
- ptr: $e.i->t
- )
- )
-}
-
-QLinkedListIterator<*>|*::QLinkedListIterator<*>{
- preview
- (
- #(
- $c.i
- )
- )
- children
- (
- #(
- value: $c.i
- )
- )
-}
-
-;------------------------------------------------------------------------------
-; QVector, QStack
-;
-; By default, this visualizer supports only Qt 4.6.x. If you're going to use
-; Qt 4.5.x code, then you may want to replace all expr lines with this:
-; expr: (((size_t)($c.d) + (size_t)(sizeof(QVectorData)) ))[$i],
-;
-; This will allow this visualizer to display Qt 4.5.x and Qt 4.6.x QVector
-; objects. But be aware of some limitations. For example enum types can't be
-; displayed properly this way.
-;
-; Qt 4.5.x:
-; QVector::d is QVectorTypedData<T>
-; QVector::p is QVectorData
-; expr: $c.d->array[$i]
-;
-; Qt 4.6.x:
-; QVector::d is QVectorData
-; QVector::p is QVectorTypedData<T>
-; expr: $c.p->array[$i]
-;
-;------------------------------------------------------------------------------
-QVector<*>|*::QVector<*>|QStack<*>|*::QStack<*>{
- preview
- (
- #if ($c.d->size <= 10) (
- #(
- "[", $c.d->size, "](",
- #array
- (
- expr: $c.p->array[$i],
- size: $c.d->size
- ), ")"
- )
- ) #else (
- #(
- "[", $c.d->size, "](",
- #array
- (
- expr: $c.p->array[$i],
- size: 10
- ), ", ...)"
- )
- )
- )
- children
- (
- #array
- (
- expr: $c.p->array[$i],
- size: $c.d->size
- )
- )
-}
-
-;------------------------------------------------------------------------------
-; QMap
-;------------------------------------------------------------------------------
-QMapNode<*,*>{
- preview
- (
- #(
- "(",
- $e.key,
- "; ",
- $e.value,
- ")"
- )
- )
-
- children
- (
- #(
- key: $e.key,
- value: $e.value
- )
- )
-}
-
-QMap<*>{
- children
- (
- #(
- raw data: [$c,!],
- #tree
- (
- head : $c.d->forward[0],
- skip : $c.d,
- size : $c.d->size,
- left : backward,
- right : forward
- ) : ( (QMapNode<$T1>*)((char*)&$e - (sizeof(QMapPayloadNode<$T1>) - sizeof(QMapData::Node*))) )
- )
- )
-
- preview
- (
- #(
- "[",
- $e.d->size,
- "](",
- #tree
- (
- head : $c.d->forward[0],
- size : $c.d->size,
- left : backward,
- right : forward
- ) : $e,
- ")"
- )
- )
-}
-
-;------------------------------------------------------------------------------
-; QHash
-;------------------------------------------------------------------------------
-QHash<*>{
- preview
- (
- #(
- "[", $e.d->size, "] (...)"
- )
- )
- children
- (
- #if ($e.d->size <= 255) (
- #(
- #array (
- expr: (QHashNode<$T1>*)$c.d->buckets[$i],
- size: $c.d->numBuckets
- ) : #list (
- head: $e,
- next: next
- ) : #switch ($e.next != 0) #case 1 (
- $e
- )
- )
- ) #else (
- #(
- #array (
- expr: (QHashNode<$T1>*)$c.d->buckets[$i],
- size: 255
- ) : #list (
- head: $e,
- next: next
- ) : #switch ($e.next != 0) #case 1 (
- $e
- )
- )
- )
- )
-}
-
-*::QHash<*>{
- preview
- (
- #(
- "[", $e.d->size, "] (...)"
- )
- )
- children
- (
- #if ($e.d->size <= 255) (
- #(
- #array (
- expr: ($T1::QHashNode<$T2> *)$c.d->buckets[$i],
- size: $c.d->numBuckets
- ) : #list (
- head: $e,
- next: next
- ) : #switch ($e.next != 0) #case 1 (
- $e
- )
- )
- ) #else (
- #(
- #array (
- expr: ($T1::QHashNode<$T2> *)$c.d->buckets[$i],
- size: 255
- ) : #list (
- head: $e,
- next: next
- ) : #switch ($e.next != 0) #case 1 (
- $e
- )
- )
- )
- )
-}
-
-;------------------------------------------------------------------------------
-; QMultiHash
-;------------------------------------------------------------------------------
-QMultiHash<*>{
- preview
- (
- (*(QHash<$T1>*)(&$c))
- )
-}
-
-*::QMultiHash<*>{
- preview
- (
- (*($T1::QHash<$T2>*)(&$c))
- )
-}
-
-;------------------------------------------------------------------------------
-; QHash::iterator
-;------------------------------------------------------------------------------
-QHash<*>::iterator{
- preview
- (
- #(
- "(", ((QHashNode<$T1>*)($c.i))->key, ", ", ((QHashNode<$T1>*)($c.i))->value, ")"
- )
- )
- children
- (
- #(
- key: ((QHashNode<$T1>*)($c.i))->key,
- value: ((QHashNode<$T1>*)($c.i))->value
- )
- )
-}
-
-*::QHash<*>::iterator{
- preview
- (
- #(
- "(", (($T1::QHashNode<$T2>*)($c.i))->key, ", ", (($T1::QHashNode<$T2>*)($c.i))->key, ")"
- )
- )
- children
- (
- #(
- key: (($T1::QHashNode<$T2>*)($c.i))->key,
- value: (($T1::QHashNode<$T2>*)($c.i))->value
- )
- )
-}
-
-;------------------------------------------------------------------------------
-; QHashIterator
-;------------------------------------------------------------------------------
-QHashIterator<*>{
- preview
- (
- #(
- "(", ((QHashNode<$T1>*)((($c).i).i))->key, ", ", ((QHashNode<$T1>*)((($c).i).i))->key, ")"
- )
- )
- children
- (
- #(
- key: ((QHashNode<$T1>*)((($c).i).i))->key,
- value: ((QHashNode<$T1>*)((($c).i).i))->value
- )
- )
-}
-
-*::QHashIterator<*>{
- preview
- (
- #(
- "(", (($T1::QHashNode<$T2>*)((($c).i).i))->key, ", ", (($T1::QHashNode<$T2>*)((($c).i).i))->key, ")"
- )
- )
- children
- (
- #(
- key: (($T1::QHashNode<$T2>*)((($c).i).i))->key,
- value: (($T1::QHashNode<$T2>*)((($c).i).i))->value
- )
- )
-}
-
-;------------------------------------------------------------------------------
-; QHashNode
-;------------------------------------------------------------------------------
-QHashNode<*>|*::QHashNode<*>{
- preview
- (
- #(
- "(key = ", $c.key,"; value = ", $c.value, ")"
- )
- )
- children
- (
- #(
- key: $c.key,
- value: $c.value
- )
- )
-}
-
-;------------------------------------------------------------------------------
-; QSet
-;------------------------------------------------------------------------------
-QSet<*>{
- preview
- (
- #(
- "[", $e.q_hash.d->size, "] (...)"
- )
- )
- children
- (
- #if ($e.q_hash.d->size <= 255) (
- #(
- #array (
- expr: (QHashNode<$T1,QHashDummyValue> *)$c.q_hash.d->buckets[$i],
- size: $c.q_hash.d->numBuckets
- ) : #list (
- head: $e,
- next: next
- ) : #switch ($e.next != 0) #case 1 (
- $e.key
- )
- )
- ) #else (
- #(
- #array (
- expr: (QHashNode<$T1,QHashDummyValue> *)$c.q_hash.d->buckets[$i],
- size: 255
- ) : #list (
- head: $e,
- next: next
- ) : #switch ($e.next != 0) #case 1 (
- $e.key
- )
- )
- )
- )
-}
-
-*::QSet<*>{
- preview
- (
- #(
- "[", $e.q_hash.d->size, "] (...)"
- )
- )
- children
- (
- #if ($e.q_hash.d->size <= 255) (
- #(
- #array (
- expr: ($T1::QHashNode<$T2,QHashDummyValue> *)$c.q_hash.d->buckets[$i],
- size: $c.q_hash.d->numBuckets
- ) : #list (
- head: $e,
- next: next
- ) : #switch ($e.next != 0) #case 1 (
- $e.key
- )
- )
- ) #else (
- #(
- #array (
- expr: ($T1::QHashNode<$T2,QHashDummyValue> *)$c.q_hash.d->buckets[$i],
- size: 255
- ) : #list (
- head: $e,
- next: next
- ) : #switch ($e.next != 0) #case 1 (
- $e.key
- )
- )
- )
- )
-}
-
-;------------------------------------------------------------------------------
-; QPalette
-;------------------------------------------------------------------------------
-QPalette{
- children
- (
- #(
- WindowText_active:
- ((QBrush*)((char*)$c.d+sizeof(QAtomicInt))+ 0)->d,
- Button_active:
- ((QBrush*)((char*)$c.d+sizeof(QAtomicInt))+ 1)->d,
- Light_active:
- ((QBrush*)((char*)$c.d+sizeof(QAtomicInt))+ 2)->d,
- Midlight_active:
- ((QBrush*)((char*)$c.d+sizeof(QAtomicInt))+ 3)->d,
- Dark_active:
- ((QBrush*)((char*)$c.d+sizeof(QAtomicInt))+ 4)->d,
- Mid_active:
- ((QBrush*)((char*)$c.d+sizeof(QAtomicInt))+ 5)->d,
- Text_active:
- ((QBrush*)((char*)$c.d+sizeof(QAtomicInt))+ 6)->d,
- BrightText_active:
- ((QBrush*)((char*)$c.d+sizeof(QAtomicInt))+ 7)->d,
- ButtonText_active:
- ((QBrush*)((char*)$c.d+sizeof(QAtomicInt))+ 8)->d,
- Base_active:
- ((QBrush*)((char*)$c.d+sizeof(QAtomicInt))+ 9)->d,
- Window_active:
- ((QBrush*)((char*)$c.d+sizeof(QAtomicInt))+10)->d,
- Shadow_active:
- ((QBrush*)((char*)$c.d+sizeof(QAtomicInt))+11)->d,
- Highlight_active:
- ((QBrush*)((char*)$c.d+sizeof(QAtomicInt))+12)->d,
- HighlightedText_active:
- ((QBrush*)((char*)$c.d+sizeof(QAtomicInt))+13)->d,
- Link_active:
- ((QBrush*)((char*)$c.d+sizeof(QAtomicInt))+14)->d,
- LinkVisited_active:
- ((QBrush*)((char*)$c.d+sizeof(QAtomicInt))+15)->d,
- AlternateBase_active:
- ((QBrush*)((char*)$c.d+sizeof(QAtomicInt))+16)->d,
- NoRole_active:
- ((QBrush*)((char*)$c.d+sizeof(QAtomicInt))+17)->d,
- ToolTipBase_active:
- ((QBrush*)((char*)$c.d+sizeof(QAtomicInt))+18)->d,
- ToolTipText_active:
- ((QBrush*)((char*)$c.d+sizeof(QAtomicInt))+19)->d,
-
- WindowText_disabled:
- ((QBrush*)((char*)$c.d+sizeof(QAtomicInt))+20+ 0)->d,
- Button_disabled:
- ((QBrush*)((char*)$c.d+sizeof(QAtomicInt))+20+ 1)->d,
- Light_disabled:
- ((QBrush*)((char*)$c.d+sizeof(QAtomicInt))+20+ 2)->d,
- Midlight_disabled:
- ((QBrush*)((char*)$c.d+sizeof(QAtomicInt))+20+ 3)->d,
- Dark_disabled:
- ((QBrush*)((char*)$c.d+sizeof(QAtomicInt))+20+ 4)->d,
- Mid_disabled:
- ((QBrush*)((char*)$c.d+sizeof(QAtomicInt))+20+ 5)->d,
- Text_disabled:
- ((QBrush*)((char*)$c.d+sizeof(QAtomicInt))+20+ 6)->d,
- BrightText_disabled:
- ((QBrush*)((char*)$c.d+sizeof(QAtomicInt))+20+ 7)->d,
- ButtonText_disabled:
- ((QBrush*)((char*)$c.d+sizeof(QAtomicInt))+20+ 8)->d,
- Base_disabled:
- ((QBrush*)((char*)$c.d+sizeof(QAtomicInt))+20+ 9)->d,
- Window_disabled:
- ((QBrush*)((char*)$c.d+sizeof(QAtomicInt))+20+10)->d,
- Shadow_disabled:
- ((QBrush*)((char*)$c.d+sizeof(QAtomicInt))+20+11)->d,
- Highlight_disabled:
- ((QBrush*)((char*)$c.d+sizeof(QAtomicInt))+20+12)->d,
- HighlightedText_disabled:
- ((QBrush*)((char*)$c.d+sizeof(QAtomicInt))+20+13)->d,
- Link_disabled:
- ((QBrush*)((char*)$c.d+sizeof(QAtomicInt))+20+14)->d,
- LinkVisited_disabled:
- ((QBrush*)((char*)$c.d+sizeof(QAtomicInt))+20+15)->d,
- AlternateBase_disabled:
- ((QBrush*)((char*)$c.d+sizeof(QAtomicInt))+20+16)->d,
- NoRole_disabled:
- ((QBrush*)((char*)$c.d+sizeof(QAtomicInt))+20+17)->d,
- ToolTipBase_disabled:
- ((QBrush*)((char*)$c.d+sizeof(QAtomicInt))+20+18)->d,
- ToolTipText_disabled:
- ((QBrush*)((char*)$c.d+sizeof(QAtomicInt))+20+19)->d,
-
- WindowText_inactive:
- ((QBrush*)((char*)$c.d+sizeof(QAtomicInt))+40+ 0)->d,
- Button_inactive:
- ((QBrush*)((char*)$c.d+sizeof(QAtomicInt))+40+ 1)->d,
- Light_inactive:
- ((QBrush*)((char*)$c.d+sizeof(QAtomicInt))+40+ 2)->d,
- Midlight_inactive:
- ((QBrush*)((char*)$c.d+sizeof(QAtomicInt))+40+ 3)->d,
- Dark_inactive:
- ((QBrush*)((char*)$c.d+sizeof(QAtomicInt))+40+ 4)->d,
- Mid_inactive:
- ((QBrush*)((char*)$c.d+sizeof(QAtomicInt))+40+ 5)->d,
- Text_inactive:
- ((QBrush*)((char*)$c.d+sizeof(QAtomicInt))+40+ 6)->d,
- BrightText_inactive:
- ((QBrush*)((char*)$c.d+sizeof(QAtomicInt))+40+ 7)->d,
- ButtonText_inactive:
- ((QBrush*)((char*)$c.d+sizeof(QAtomicInt))+40+ 8)->d,
- Base_inactive:
- ((QBrush*)((char*)$c.d+sizeof(QAtomicInt))+40+ 9)->d,
- Window_inactive:
- ((QBrush*)((char*)$c.d+sizeof(QAtomicInt))+40+10)->d,
- Shadow_inactive:
- ((QBrush*)((char*)$c.d+sizeof(QAtomicInt))+40+11)->d,
- Highlight_inactive:
- ((QBrush*)((char*)$c.d+sizeof(QAtomicInt))+40+12)->d,
- HighlightedText_inactive:
- ((QBrush*)((char*)$c.d+sizeof(QAtomicInt))+40+13)->d,
- Link_inactive:
- ((QBrush*)((char*)$c.d+sizeof(QAtomicInt))+40+14)->d,
- LinkVisited_inactive:
- ((QBrush*)((char*)$c.d+sizeof(QAtomicInt))+40+15)->d,
- AlternateBase_inactive:
- ((QBrush*)((char*)$c.d+sizeof(QAtomicInt))+40+16)->d,
- NoRole_inactive:
- ((QBrush*)((char*)$c.d+sizeof(QAtomicInt))+40+17)->d,
- ToolTipBase_inactive:
- ((QBrush*)((char*)$c.d+sizeof(QAtomicInt))+40+18)->d,
- ToolTipText_inactive:
- ((QBrush*)((char*)$c.d+sizeof(QAtomicInt))+40+19)->d
- )
- )
-}
-
-*::QPalette{
- children
- (
- #(
- WindowText_active:
- (($T1::QBrush*)((char*)$c.d+sizeof(QAtomicInt))+ 0)->d,
- Button_active:
- (($T1::QBrush*)((char*)$c.d+sizeof(QAtomicInt))+ 1)->d,
- Light_active:
- (($T1::QBrush*)((char*)$c.d+sizeof(QAtomicInt))+ 2)->d,
- Midlight_active:
- (($T1::QBrush*)((char*)$c.d+sizeof(QAtomicInt))+ 3)->d,
- Dark_active:
- (($T1::QBrush*)((char*)$c.d+sizeof(QAtomicInt))+ 4)->d,
- Mid_active:
- (($T1::QBrush*)((char*)$c.d+sizeof(QAtomicInt))+ 5)->d,
- Text_active:
- (($T1::QBrush*)((char*)$c.d+sizeof(QAtomicInt))+ 6)->d,
- BrightText_active:
- (($T1::QBrush*)((char*)$c.d+sizeof(QAtomicInt))+ 7)->d,
- ButtonText_active:
- (($T1::QBrush*)((char*)$c.d+sizeof(QAtomicInt))+ 8)->d,
- Base_active:
- (($T1::QBrush*)((char*)$c.d+sizeof(QAtomicInt))+ 9)->d,
- Window_active:
- (($T1::QBrush*)((char*)$c.d+sizeof(QAtomicInt))+10)->d,
- Shadow_active:
- (($T1::QBrush*)((char*)$c.d+sizeof(QAtomicInt))+11)->d,
- Highlight_active:
- (($T1::QBrush*)((char*)$c.d+sizeof(QAtomicInt))+12)->d,
- HighlightedText_active:
- (($T1::QBrush*)((char*)$c.d+sizeof(QAtomicInt))+13)->d,
- Link_active:
- (($T1::QBrush*)((char*)$c.d+sizeof(QAtomicInt))+14)->d,
- LinkVisited_active:
- (($T1::QBrush*)((char*)$c.d+sizeof(QAtomicInt))+15)->d,
- AlternateBase_active:
- (($T1::QBrush*)((char*)$c.d+sizeof(QAtomicInt))+16)->d,
- NoRole_active:
- (($T1::QBrush*)((char*)$c.d+sizeof(QAtomicInt))+17)->d,
- ToolTipBase_active:
- (($T1::QBrush*)((char*)$c.d+sizeof(QAtomicInt))+18)->d,
- ToolTipText_active:
- (($T1::QBrush*)((char*)$c.d+sizeof(QAtomicInt))+19)->d,
-
- WindowText_disabled:
- (($T1::QBrush*)((char*)$c.d+sizeof(QAtomicInt))+20+ 0)->d,
- Button_disabled:
- (($T1::QBrush*)((char*)$c.d+sizeof(QAtomicInt))+20+ 1)->d,
- Light_disabled:
- (($T1::QBrush*)((char*)$c.d+sizeof(QAtomicInt))+20+ 2)->d,
- Midlight_disabled:
- (($T1::QBrush*)((char*)$c.d+sizeof(QAtomicInt))+20+ 3)->d,
- Dark_disabled:
- (($T1::QBrush*)((char*)$c.d+sizeof(QAtomicInt))+20+ 4)->d,
- Mid_disabled:
- (($T1::QBrush*)((char*)$c.d+sizeof(QAtomicInt))+20+ 5)->d,
- Text_disabled:
- (($T1::QBrush*)((char*)$c.d+sizeof(QAtomicInt))+20+ 6)->d,
- BrightText_disabled:
- (($T1::QBrush*)((char*)$c.d+sizeof(QAtomicInt))+20+ 7)->d,
- ButtonText_disabled:
- (($T1::QBrush*)((char*)$c.d+sizeof(QAtomicInt))+20+ 8)->d,
- Base_disabled:
- (($T1::QBrush*)((char*)$c.d+sizeof(QAtomicInt))+20+ 9)->d,
- Window_disabled:
- (($T1::QBrush*)((char*)$c.d+sizeof(QAtomicInt))+20+10)->d,
- Shadow_disabled:
- (($T1::QBrush*)((char*)$c.d+sizeof(QAtomicInt))+20+11)->d,
- Highlight_disabled:
- (($T1::QBrush*)((char*)$c.d+sizeof(QAtomicInt))+20+12)->d,
- HighlightedText_disabled:
- (($T1::QBrush*)((char*)$c.d+sizeof(QAtomicInt))+20+13)->d,
- Link_disabled:
- (($T1::QBrush*)((char*)$c.d+sizeof(QAtomicInt))+20+14)->d,
- LinkVisited_disabled:
- (($T1::QBrush*)((char*)$c.d+sizeof(QAtomicInt))+20+15)->d,
- AlternateBase_disabled:
- (($T1::QBrush*)((char*)$c.d+sizeof(QAtomicInt))+20+16)->d,
- NoRole_disabled:
- (($T1::QBrush*)((char*)$c.d+sizeof(QAtomicInt))+20+17)->d,
- ToolTipBase_disabled:
- (($T1::QBrush*)((char*)$c.d+sizeof(QAtomicInt))+20+18)->d,
- ToolTipText_disabled:
- (($T1::QBrush*)((char*)$c.d+sizeof(QAtomicInt))+20+19)->d,
-
- WindowText_inactive:
- (($T1::QBrush*)((char*)$c.d+sizeof(QAtomicInt))+40+ 0)->d,
- Button_inactive:
- (($T1::QBrush*)((char*)$c.d+sizeof(QAtomicInt))+40+ 1)->d,
- Light_inactive:
- (($T1::QBrush*)((char*)$c.d+sizeof(QAtomicInt))+40+ 2)->d,
- Midlight_inactive:
- (($T1::QBrush*)((char*)$c.d+sizeof(QAtomicInt))+40+ 3)->d,
- Dark_inactive:
- (($T1::QBrush*)((char*)$c.d+sizeof(QAtomicInt))+40+ 4)->d,
- Mid_inactive:
- (($T1::QBrush*)((char*)$c.d+sizeof(QAtomicInt))+40+ 5)->d,
- Text_inactive:
- (($T1::QBrush*)((char*)$c.d+sizeof(QAtomicInt))+40+ 6)->d,
- BrightText_inactive:
- (($T1::QBrush*)((char*)$c.d+sizeof(QAtomicInt))+40+ 7)->d,
- ButtonText_inactive:
- (($T1::QBrush*)((char*)$c.d+sizeof(QAtomicInt))+40+ 8)->d,
- Base_inactive:
- (($T1::QBrush*)((char*)$c.d+sizeof(QAtomicInt))+40+ 9)->d,
- Window_inactive:
- (($T1::QBrush*)((char*)$c.d+sizeof(QAtomicInt))+40+10)->d,
- Shadow_inactive:
- (($T1::QBrush*)((char*)$c.d+sizeof(QAtomicInt))+40+11)->d,
- Highlight_inactive:
- (($T1::QBrush*)((char*)$c.d+sizeof(QAtomicInt))+40+12)->d,
- HighlightedText_inactive:
- (($T1::QBrush*)((char*)$c.d+sizeof(QAtomicInt))+40+13)->d,
- Link_inactive:
- (($T1::QBrush*)((char*)$c.d+sizeof(QAtomicInt))+40+14)->d,
- LinkVisited_inactive:
- (($T1::QBrush*)((char*)$c.d+sizeof(QAtomicInt))+40+15)->d,
- AlternateBase_inactive:
- (($T1::QBrush*)((char*)$c.d+sizeof(QAtomicInt))+40+16)->d,
- NoRole_inactive:
- (($T1::QBrush*)((char*)$c.d+sizeof(QAtomicInt))+40+17)->d,
- ToolTipBase_inactive:
- (($T1::QBrush*)((char*)$c.d+sizeof(QAtomicInt))+40+18)->d,
- ToolTipText_inactive:
- (($T1::QBrush*)((char*)$c.d+sizeof(QAtomicInt))+40+19)->d
- )
- )
-}
-
-;------------------------------------------------------------------------------
-; QBrush
-;------------------------------------------------------------------------------
-QBrush|*::QBrush{
- preview
- (
- #(
- "[", $c.d->style, "] (...)"
- )
- )
- children
- (
- #(
- style: $c.d->style,
- color: $c.d->color,
- transform: $c.d->transform
- )
- )
-}
-
-QBrushData|*::QBrushData{
- preview
- (
- #(
- "[", $c.style, "] (...)"
- )
- )
- children
- (
- #(
- style: $c.style,
- color: $c.color,
- transform: $c.transform
- )
- )
-}
-
-;------------------------------------------------------------------------------
-; QColor
-;------------------------------------------------------------------------------
-QColor|*::QColor{
- preview
- (
- #(
- #if ($c.cspec == 1) (
- #(
- "[", $c.cspec, "] [", "r = ", [$c.ct.argb.red,x],
- ", g = ", [$c.ct.argb.green,x],
- ", b = ", [$c.ct.argb.blue,x], "] (...)"
- )
- ) #elif ($c.cspec == 2) (
- #(
- "[", $c.cspec, "] [", "h = ", [$c.ct.ahsv.hue,x],
- ", s = ", [$c.ct.ahsv.saturation,x],
- ", v = ", [$c.ct.ahsv.value,x], "] (...)"
- )
- ) #elif ($c.cspec == 3) (
- #(
- "[", $c.cspec, "] [", "c = ", [$c.ct.acmyk.cyan,x],
- ", m = ", [$c.ct.acmyk.magenta,x],
- ", y = ", [$c.ct.acmyk.yellow,x],
- ", k = ", [$c.ct.acmyk.black,x], "] (...)"
- )
- ) #else (
- #(
- "[Invalid]"
- )
- )
- )
- )
- children
- (
- #(
- #if ($c.cspec == 1) (
- #(
- red: [$c.ct.argb.red,x],
- green: [$c.ct.argb.green,x],
- blue: [$c.ct.argb.blue,x],
- alpha: [$c.ct.argb.alpha,x],
- pad: [$c.ct.argb.pad,x]
- )
- ) #elif ($c.cspec == 2) (
- #(
- hue: [$c.ct.ahsv.hue,x],
- saturation: [$c.ct.ahsv.saturation,x],
- value: [$c.ct.ahsv.value,x],
- alpha: [$c.ct.ahsv.alpha,x],
- pad: [$c.ct.ahsv.pad,x]
- )
- ) #elif ($c.cspec == 3) (
- #(
- cyan: [$c.ct.acmyk.cyan,x],
- magenta: [$c.ct.acmyk.magenta,x],
- yellow: [$c.ct.acmyk.yellow,x],
- black: [$c.ct.acmyk.black,x],
- alpha: [$c.ct.acmyk.alpha,x]
- )
- )
- )
- )
-}
-
-;------------------------------------------------------------------------------
-; QTransform
-;------------------------------------------------------------------------------
-QTransform|*::QTransform{
- preview
- (
- #(
- "[",[$c.affine._m11,g]," ",[$c.affine._m12,g]," ",[$c.m_13,g],"]",
- "[",[$c.affine._m21,g]," ",[$c.affine._m22,g]," ",[$c.m_23,g],"]",
- "[",[$c.affine._dx,g]," ",[$c.affine._dy,g]," ",[$c.m_33,g],"]"
- )
- )
- children
- (
- #(
- translation_horizontal_m31_dx: [$c.affine._dx,g],
- translation_vertical_m32_dy: [$c.affine._dy,g],
- scaling_horizontal_m11: [$c.affine._m11,g],
- scaling_vertical_m22: [$c.affine._m22,g],
- projection_factor_m33: [$c.m_33,g],
- projection_horizontal_m13: [$c.m_13,g],
- projection_vertical_m23: [$c.m_23,g],
- shearing_horizontal_m21: [$c.affine._m21,g],
- shearing_vertical_m12: [$c.affine._m12,g],
- type: $c.m_type,
- dirty: (bool)$c.m_dirty
- )
- )
-}
-
-;------------------------------------------------------------------------------
-; QMatrix
-;------------------------------------------------------------------------------
-QMatrix|*::QMatrix{
- preview
- (
- #(
- "[",[$c._m11,g]," ",[$c._m12,g],"]",
- "[",[$c._m21,g]," ",[$c._m22,g],"]",
- "[",[$c._dx,g]," ",[$c._dy,g],"]"
- )
- )
- children
- (
- #(
- translation_horizontal_dx: [$c._dx,g],
- translation_vertical_dy: [$c._dy,g],
- scaling_horizontal_m11: [$c._m11,g],
- scaling_vertical_m22: [$c._m22,g],
- shearing_horizontal_m21: [$c._m21,g],
- shearing_vertical_m12: [$c._m12,g]
- )
- )
-}
-
-;------------------------------------------------------------------------------
-; QPolygon
-;------------------------------------------------------------------------------
-QPolygon{
- preview
- (
- #(
- "[", ((QVector<QPoint>*)(&$c))->d->size, "] (...)"
- )
- )
- children
- (
- #(
- #array
- (
- expr: ((QPoint*)(((void*)$c.d) + sizeof(QVectorData)))[$i],
- size: ((QVector<QPoint>*)(&$c))->d->size
- )
- )
- )
-}
-*::QPolygon{
- preview
- (
- #(
- "[", (($T1::QVector<$T1::QPoint>*)(&$c))->d->size, "] (...)"
- )
- )
- children
- (
- #(
- #array
- (
- expr: (($T1::QPoint*)(((void*)$c.d) + sizeof(QVectorData)))[$i],
- size: (($T1::QVector<$T1::QPoint>*)(&$c))->d->size
- )
- )
- )
-}
-
-;------------------------------------------------------------------------------
-; QPolygonF
-;------------------------------------------------------------------------------
-QPolygonF{
- preview
- (
- #(
- "[", ((QVector<QPointF>*)(&$c))->d->size, "] (...)"
- )
- )
- children
- (
- #(
- #array
- (
- expr: ((QVector<QPointF>*)(&$c))->p->array[$i],
- size: ((QVector<QPointF>*)(&$c))->d->size
- )
- )
- )
-}
-
-*::QPolygonF{
- preview
- (
- #(
- "[", (($T1::QVector<$T1::QPointF>*)(&$c))->d->size, "] (...)"
- )
- )
- children
- (
- #(
- #array
- (
- expr: (($T1::QVector<$T1::QPointF>*)(&$c))->p->array[$i],
- size: (($T1::QVector<$T1::QPointF>*)(&$c))->d->size
- )
- )
- )
-}
-
-;------------------------------------------------------------------------------
-; The Qt Company Ltd. Qt 5.x visualizers -------------------------------------------[ end ]--
-;QT_DEBUG_END
diff --git a/tools/Qt4EEAddin/autoexp.dat-visualizer2010 b/tools/Qt4EEAddin/autoexp.dat-visualizer2010
deleted file mode 100644
index c738c52c..00000000
--- a/tools/Qt4EEAddin/autoexp.dat-visualizer2010
+++ /dev/null
@@ -1,1511 +0,0 @@
-;QT_DEBUG_START
-; The Qt Company Ltd. Qt 5.x visualizers -----------------------------------------[ start ]--
-;------------------------------------------------------------------------------
-; Feel free to modify these visualizers to suit yours needs! But please let us
-; know about the changes you make, so we continuously improve the visualizers.
-
-; Qt4
-;QString{
-; preview ([$e.d->data,su])
-; stringview ([$e.d->data,sub])
-; children
-; (
-; #(
-; d: $c.d,
-; [size]: $c.d->size,
-; [referenced]: $c.d->ref._q_value
-; )
-; )
-;}
-
-; Qt4
-;QByteArray{
-; preview ([$e.d->data,s])
-; stringview ([$e.d->data,sb])
-; children
-; (
-; #(
-; d: $c.d,
-; [size]: $c.d->size,
-; [referenced]: $c.d->ref._q_value
-; )
-; )
-;}
-
-; Qt5
-QString|*::QString{
- preview ([(unsigned short*)$e.d + $e.d->offset/2,su])
- stringview ([(unsigned short*)$e.d + $e.d->offset/2,sub])
- children
- (
- #(
- d: $c.d,
- [size]: $c.d->size,
- [referenced]: $c.d->ref.atomic._q_value
- )
- )
-}
-
-; Qt5
-QByteArray|*::QByteArray{
- preview ([(char*)$e.d + $e.d->offset,s])
- stringview ([(char*)$e.d + $e.d->offset,sb])
- children
- (
- #(
- d: $c.d,
- [size]: $c.d->size,
- [referenced]: $c.d->ref._q_value
- )
- )
-}
-
-QFileInfo|*::QFileInfo{
- preview
- (
- #(
- "private=", $c.d_ptr
- )
- )
-}
-
-QUrl|*::QUrl{
- preview
- (
- #if ($e.d.stateFlags == 0) (
- $e.d
- ) #else (
- #( $e.d->scheme, $e.d->host, $e.d->path )
- )
- )
- children
- (
- #(
- scheme: $c.d->scheme,
- host: $c.d->host,
- path: $c.d->path,
- username: $c.d->userName,
- password: $c.d->password,
- encodedOriginal: $c.d->encodedOriginal,
- query: $c.d->query,
- fragment: $c.d->fragment
- )
- )
-}
-
-QTime|*::QTime{
- preview
- (
- #(
- "hour=", [$e.mds / 3600000, d],
- ", minute=", [($e.mds % 3600000) / 60000, d],
- ", second=", [($e.mds / 1000) % 60, d],
- ", millisecond=", [$e.mds % 1000, d]
- )
- )
- children
- (
- #(
- [hour]: [$e.mds / 3600000, d],
- [minute]: [($e.mds % 3600000) / 60000, d],
- [second]: [($e.mds / 1000) % 60, d],
- [millisecond]: [$e.mds % 1000, d]
- )
- )
-}
-
-QVariant{
- preview
- (
- #if ($e.d.type == 1) (
- #("bool = ", [$e.d.data.b])
- ) #elif ($e.d.type == 2) (
- #("int = ", [$e.d.data.i])
- ) #elif ($e.d.type == 3) (
- #("usigned int = ", [$e.d.data.u])
- ) #elif ($e.d.type == 4) (
- #("long long = ", [$e.d.data.ll])
- ) #elif ($e.d.type == 5) (
- #("unsigned long long = ", [$e.d.data.ull])
- ) #elif ($e.d.type == 6) (
- #("double = ", [$e.d.data.d])
- ) #elif ($e.d.type == 7) (
- #("char = ", [$e.d.data.c])
- ) #elif ($e.d.type == 8) (
- #("QMap = ", [(QMap) $e.d.data.ptr])
- ) #elif ($e.d.type == 10) (
- #("QString = ", [(QString) $e.d.data.ptr])
- ) #elif ($e.d.type == 11) (
- #("QStringList = ", [(QStringList) $e.d.data.ptr])
- ) #elif ($e.d.type == 17) (
- #("QUrl = ", [(QUrl) $e.d.data.ptr])
- ) #else (
- #("type = ", [$e.d.type])
- )
- )
- children
- (
- #if ($e.d.type == 1) (
- $c.d.data.b
- ) #elif ($e.d.type == 2) (
- $c.d.data.i
- ) #elif ($e.d.type == 3) (
- $c.d.data.u
- ) #elif ($e.d.type == 4) (
- $c.d.data.ll
- ) #elif ($e.d.type == 5) (
- $c.d.data.ull
- ) #elif ($e.d.type == 6) (
- $c.d.data.d
- ) #elif ($e.d.type == 7) (
- $c.d.data.c
- ) #elif ($e.d.type == 8) (
- ) #elif ($e.d.type == 10) (
- #(
- [size]: ((QString) $c.d.data.ptr).d->size
- )
- ) #elif ($e.d.type == 11) (
- #if ((((QStringList) $e.d.data.ptr).d->end - ((QStringList) $e.d.data.ptr).d->begin) <= 10) (
- #array
- (
- expr: (QString)((((QStringList) $e.d.data.ptr).d->array + ((QStringList) $e.d.data.ptr).d->begin)[$i]),
- size: ((QStringList) $e.d.data.ptr).d->end-((QStringList) $e.d.data.ptr).d->begin
- )
- ) #else (
- #array
- (
- expr: (QString)((((QStringList) $e.d.data.ptr).d->array + ((QStringList) $e.d.data.ptr).d->begin)[$i]),
- size: 10
- )
- )
- ) #elif ($e.d.type == 17) (
- #(
- scheme: ((QUrl) $e.d.data.ptr).d->scheme,
- host: ((QUrl) $e.d.data.ptr).d->host,
- path: ((QUrl) $e.d.data.ptr).d->path,
- username: ((QUrl) $e.d.data.ptr).d->userName,
- password: ((QUrl) $e.d.data.ptr).d->password,
- encodedOriginal: ((QUrl) $e.d.data.ptr).d->encodedOriginal,
- query: ((QUrl) $e.d.data.ptr).d->query,
- fragment: ((QUrl) $e.d.data.ptr).d->fragment
- )
- ) #else (
- #("type = ", [$e.d.type])
- )
- )
-}
-
-*::QVariant{
- preview
- (
- #if ($e.d.type == 1) (
- #("bool = ", [$e.d.data.b])
- ) #elif ($e.d.type == 2) (
- #("int = ", [$e.d.data.i])
- ) #elif ($e.d.type == 3) (
- #("usigned int = ", [$e.d.data.u])
- ) #elif ($e.d.type == 4) (
- #("long long = ", [$e.d.data.ll])
- ) #elif ($e.d.type == 5) (
- #("unsigned long long = ", [$e.d.data.ull])
- ) #elif ($e.d.type == 6) (
- #("double = ", [$e.d.data.d])
- ) #elif ($e.d.type == 7) (
- #("char = ", [$e.d.data.c])
- ) #elif ($e.d.type == 8) (
- #("QMap = ", [($T1::QMap) $e.d.data.ptr])
- ) #elif ($e.d.type == 10) (
- #("QString = ", [($T1::QString) $e.d.data.ptr])
- ) #elif ($e.d.type == 11) (
- #("QStringList = ", [($T1::QStringList) $e.d.data.ptr])
- ) #elif ($e.d.type == 17) (
- #("QUrl = ", [($T1::QUrl) $e.d.data.ptr])
- ) #else (
- #("type = ", [$e.d.type])
- )
- )
- children
- (
- #if ($e.d.type == 1) (
- $c.d.data.b
- ) #elif ($e.d.type == 2) (
- $c.d.data.i
- ) #elif ($e.d.type == 3) (
- $c.d.data.u
- ) #elif ($e.d.type == 4) (
- $c.d.data.ll
- ) #elif ($e.d.type == 5) (
- $c.d.data.ull
- ) #elif ($e.d.type == 6) (
- $c.d.data.d
- ) #elif ($e.d.type == 7) (
- $c.d.data.c
- ) #elif ($e.d.type == 8) (
- ) #elif ($e.d.type == 10) (
- #(
- [size]: (($T1::QString) $c.d.data.ptr).d->size
- )
- ) #elif ($e.d.type == 11) (
- #if (((($T1::QStringList) $e.d.data.ptr).d->end - (($T1::QStringList) $e.d.data.ptr).d->begin) <= 10) (
- #array
- (
- expr: ($T1::QString)(((($T1::QStringList) $e.d.data.ptr).d->array + (($T1::QStringList) $e.d.data.ptr).d->begin)[$i]),
- size: (($T1::QStringList) $e.d.data.ptr).d->end-(($T1::QStringList) $e.d.data.ptr).d->begin
- )
- ) #else (
- #array
- (
- expr: ($T1::QString)(((($T1::QStringList) $e.d.data.ptr).d->array + (($T1::QStringList) $e.d.data.ptr).d->begin)[$i]),
- size: 10
- )
- )
- ) #elif ($e.d.type == 17) (
- #(
- scheme: (($T1::QUrl) $e.d.data.ptr).d->scheme,
- host: (($T1::QUrl) $e.d.data.ptr).d->host,
- path: (($T1::QUrl) $e.d.data.ptr).d->path,
- username: (($T1::QUrl) $e.d.data.ptr).d->userName,
- password: (($T1::QUrl) $e.d.data.ptr).d->password,
- encodedOriginal: (($T1::QUrl) $e.d.data.ptr).d->encodedOriginal,
- query: (($T1::QUrl) $e.d.data.ptr).d->query,
- fragment: (($T1::QUrl) $e.d.data.ptr).d->fragment
- )
- ) #else (
- #("type = ", [$e.d.type])
- )
- )
-}
-
-;------------------------------------------------------------------------------
-; QStringList
-;------------------------------------------------------------------------------
-QStringList{
- preview
- (
- #if (($c.d->end - $c.d->begin) <= 10) (
- #(
- "[", $c.d->end - $c.d->begin, "](",
- #array
- (
- expr: (QString)(($c.d->array + $c.d->begin)[$i]),
- size: $c.d->end-$c.d->begin
- ), ")"
- )
- ) #else (
- #(
- "[", $c.d->end - $c.d->begin, "](",
- #array
- (
- expr: (QString)(($c.d->array + $c.d->begin)[$i]),
- size: 10
- ), ", ...)"
- )
- )
- )
-}
-
-*::QStringList{
- preview
- (
- #if (($c.d->end - $c.d->begin) <= 10) (
- #(
- "[", $c.d->end - $c.d->begin, "](",
- #array
- (
- expr: ($T1::QString)(($c.d->array + $c.d->begin)[$i]),
- size: $c.d->end-$c.d->begin
- ), ")"
- )
- ) #else (
- #(
- "[", $c.d->end - $c.d->begin, "](",
- #array
- (
- expr: ($T1::QString)(($c.d->array + $c.d->begin)[$i]),
- size: 10
- ), ", ...)"
- )
- )
- )
-}
-
-;------------------------------------------------------------------------------
-; QList, QQueue
-;------------------------------------------------------------------------------
-QList<*>|QQueue<*>{
- preview
- (
- #if (int(sizeof($T1)) <= int(sizeof(void*))) (
- #if (($c.d->end - $c.d->begin) <= 10) (
- #(
- "[", $c.d->end - $c.d->begin, "](",
- #array
- (
- expr: ($T1)(($c.d->array + $c.d->begin)[$i]),
- size: $c.d->end-$c.d->begin
- ), ")"
- )
- ) #else (
- #(
- "[", $c.d->end - $c.d->begin, "](",
- #array
- (
- expr: ($T1)(($c.d->array + $c.d->begin)[$i]),
- size: 10
- ), ", ...)"
- )
- )
- ) #else (
- #if (($c.d->end - $c.d->begin) <= 10) (
- #(
- "[", $c.d->end - $c.d->begin, "](",
- #array
- (
- expr: *($T1*)(($c.d->array + $c.d->begin)[$i]),
- size: $c.d->end-$c.d->begin
- ), ")"
- )
- ) #else (
- #(
- "[", $c.d->end - $c.d->begin, "](",
- #array
- (
- expr: *($T1*)(($c.d->array + $c.d->begin)[$i]),
- size: 10
- ), ", ...)"
- )
- )
- )
- )
- children
- (
- #if (int(sizeof($T1)) <= int(sizeof(void*))) (
- #array (
- expr: ($T1)(($c.d->array + $c.d->begin)[$i]),
- size: $c.d->end - $c.d->begin
- )
- ) #else (
- #array (
- expr: *($T1*)(($c.d->array + $c.d->begin)[$i]),
- size: $c.d->end - $c.d->begin
- )
- )
- )
-}
-
-*::QList<*>|*::QQueue<*>{
- preview
- (
- #if (int(sizeof($T2)) <= int(sizeof(void*))) (
- #if (($c.d->end - $c.d->begin) <= 10) (
- #(
- "[", $c.d->end - $c.d->begin, "](",
- #array
- (
- expr: ($T2)(($c.d->array + $c.d->begin)[$i]),
- size: $c.d->end-$c.d->begin
- ), ")"
- )
- ) #else (
- #(
- "[", $c.d->end - $c.d->begin, "](",
- #array
- (
- expr: ($T2)(($c.d->array + $c.d->begin)[$i]),
- size: 10
- ), ", ...)"
- )
- )
- ) #else (
- #if (($c.d->end - $c.d->begin) <= 10) (
- #(
- "[", $c.d->end - $c.d->begin, "](",
- #array
- (
- expr: *($T2*)(($c.d->array + $c.d->begin)[$i]),
- size: $c.d->end-$c.d->begin
- ), ")"
- )
- ) #else (
- #(
- "[", $c.d->end - $c.d->begin, "](",
- #array
- (
- expr: *($T2*)(($c.d->array + $c.d->begin)[$i]),
- size: 10
- ), ", ...)"
- )
- )
- )
- )
- children
- (
- #if (int(sizeof($T2)) <= int(sizeof(void*))) (
- #array (
- expr: ($T2)(($c.d->array + $c.d->begin)[$i]),
- size: $c.d->end - $c.d->begin
- )
- ) #else (
- #array (
- expr: *($T2*)(($c.d->array + $c.d->begin)[$i]),
- size: $c.d->end - $c.d->begin
- )
- )
- )
-}
-
-;------------------------------------------------------------------------------
-; QList::iterator, QQueue::iterator
-;------------------------------------------------------------------------------
-QList<*>::iterator|QList<*>::const_iterator|QQueue<*>::iterator|QQueue<*>::const_iterator{
- preview
- (
- #(
- ($T1*)$c.ptr
- )
- )
- children
- (
- #(
- ptr: ($T1)$c.ptr
- )
- )
-}
-
-*::QList<*>::iterator|*::QList<*>::const_iterator|*::QQueue<*>::iterator|*::QQueue<*>::const_iterator{
- preview
- (
- #(
- ($T2)$c.i->v
- )
- )
- children
- (
- #(
- ptr: ($T2)$c.i->v
- )
- )
-}
-
-;------------------------------------------------------------------------------
-; QListIterator
-;------------------------------------------------------------------------------
-QListIterator<*>|QMutableListIterator<*>{
- preview
- (
- #(
- *($T1*)($c.i.i->v)
- )
- )
- children
- (
- #(
- Value: *($T1*)($c.i.i->v)
- )
- )
-}
-
-*::QListIterator<*>|*::QMutableListIterator<*>{
- preview
- (
- #(
- *($T2*)($c.i.i->v)
- )
- )
- children
- (
- #(
- Value: *($T2*)($c.i.i->v)
- )
- )
-}
-
-;------------------------------------------------------------------------------
-; QLinkedList
-;------------------------------------------------------------------------------
-QLinkedList<*>{
- preview
- (
- #if ($e.d->size >= 10) (
- #(
- "[", $e.d->size, "](",
- #list
- (
- head: $c.d->n,
- size: 10,
- next: n
- ) : ( (*(QLinkedListNode<$T1>*)&$e).t ), ", ...)"
- )
- ) #else (
- #(
- "[", $e.d->size, "](",
- #list
- (
- head: $c.d->n,
- size: $c.d->size,
- next: n
- ) : ( (*(QLinkedListNode<$T1>*)&$e).t ), ")"
- )
- )
- )
- children
- (
- #(
- #list
- (
- head: $c.d->n,
- size: $c.d->size,
- next: n
- ) : (*(QLinkedListNode<$T1>*)&$e).t
- )
- )
-}
-
-*::QLinkedList<*>{
- preview
- (
- #if ($e.d->size >= 10) (
- #(
- "[", $e.d->size, "](",
- #list
- (
- head: $c.d->n,
- size: 10,
- next: n
- ) : ( (*($T1::QLinkedListNode<$T2>*)&$e).t ), ", ...)"
- )
- ) #else (
- #(
- "[", $e.d->size, "](",
- #list
- (
- head: $c.d->n,
- size: $c.d->size,
- next: n
- ) : ( (*($T1::QLinkedListNode<$T2>*)&$e).t ), ")"
- )
- )
- )
- children
- (
- #(
- #list
- (
- head: $c.d->n,
- size: $c.d->size,
- next: n
- ) : (*($T1::QLinkedListNode<$T2>*)&$e).t
- )
- )
-}
-
-;------------------------------------------------------------------------------
-; QLinkedList::iterator
-;------------------------------------------------------------------------------
-QLinkedList<*>::iterator|*::QLinkedList<*>::iterator|QLinkedList<*>::const_iterator|*::QLinkedList<*>::const_iterator{
- preview
- (
- #(
- $e.i->t
- )
- )
- children
- (
- #(
- ptr: $e.i->t
- )
- )
-}
-
-QLinkedListIterator<*>|*::QLinkedListIterator<*>{
- preview
- (
- #(
- $c.i
- )
- )
- children
- (
- #(
- value: $c.i
- )
- )
-}
-
-;------------------------------------------------------------------------------
-; QVector, QStack
-;
-; By default, this visualizer supports only Qt 4.6.x. If you're going to use
-; Qt 4.5.x code, then you may want to replace all expr lines with this:
-; expr: (((size_t)($c.d) + (size_t)(sizeof(QVectorData)) ))[$i],
-;
-; This will allow this visualizer to display Qt 4.5.x and Qt 4.6.x QVector
-; objects. But be aware of some limitations. For example enum types can't be
-; displayed properly this way.
-;
-; Qt 4.5.x:
-; QVector::d is QVectorTypedData<T>
-; QVector::p is QVectorData
-; expr: $c.d->array[$i]
-;
-; Qt 4.6.x:
-; QVector::d is QVectorData
-; QVector::p is QVectorTypedData<T>
-; expr: $c.p->array[$i]
-;
-;------------------------------------------------------------------------------
-QVector<*>|*::QVector<*>|QStack<*>|*::QStack<*>{
- preview
- (
- #if ($c.d->size <= 10) (
- #(
- "[", $c.d->size, "](",
- #array
- (
- expr: $c.p->array[$i],
- size: $c.d->size
- ), ")"
- )
- ) #else (
- #(
- "[", $c.d->size, "](",
- #array
- (
- expr: $c.p->array[$i],
- size: 10
- ), ", ...)"
- )
- )
- )
- children
- (
- #array
- (
- expr: $c.p->array[$i],
- size: $c.d->size
- )
- )
-}
-
-;------------------------------------------------------------------------------
-; QMap
-;------------------------------------------------------------------------------
-QMapNode<*,*>{
- preview
- (
- #(
- "(",
- $e.key,
- "; ",
- $e.value,
- ")"
- )
- )
-
- children
- (
- #(
- key: $e.key,
- value: $e.value
- )
- )
-}
-
-QMap<*>{
- children
- (
- #(
- raw data: [$c,!],
- #tree
- (
- head : $c.d->forward[0],
- skip : $c.d,
- size : $c.d->size,
- left : backward,
- right : forward
- ) : ( (QMapNode<$T1>*)((char*)&$e - (sizeof(QMapPayloadNode<$T1>) - sizeof(QMapData::Node*))) )
- )
- )
-
- preview
- (
- #(
- "[",
- $e.d->size,
- "](",
- #tree
- (
- head : $c.d->forward[0],
- size : $c.d->size,
- left : backward,
- right : forward
- ) : $e,
- ")"
- )
- )
-}
-
-;------------------------------------------------------------------------------
-; QHash
-;------------------------------------------------------------------------------
-QHash<*>{
- preview
- (
- #(
- "[", $e.d->size, "] (...)"
- )
- )
- children
- (
- #if ($e.d->size <= 255) (
- #(
- #array (
- expr: (QHashNode<$T1>*)$c.d->buckets[$i],
- size: $c.d->numBuckets
- ) : #list (
- head: $e,
- next: next
- ) : #switch ($e.next != 0) #case 1 (
- $e
- )
- )
- ) #else (
- #(
- #array (
- expr: (QHashNode<$T1>*)$c.d->buckets[$i],
- size: 255
- ) : #list (
- head: $e,
- next: next
- ) : #switch ($e.next != 0) #case 1 (
- $e
- )
- )
- )
- )
-}
-
-*::QHash<*>{
- preview
- (
- #(
- "[", $e.d->size, "] (...)"
- )
- )
- children
- (
- #if ($e.d->size <= 255) (
- #(
- #array (
- expr: ($T1::QHashNode<$T2> *)$c.d->buckets[$i],
- size: $c.d->numBuckets
- ) : #list (
- head: $e,
- next: next
- ) : #switch ($e.next != 0) #case 1 (
- $e
- )
- )
- ) #else (
- #(
- #array (
- expr: ($T1::QHashNode<$T2> *)$c.d->buckets[$i],
- size: 255
- ) : #list (
- head: $e,
- next: next
- ) : #switch ($e.next != 0) #case 1 (
- $e
- )
- )
- )
- )
-}
-
-;------------------------------------------------------------------------------
-; QMultiHash
-;------------------------------------------------------------------------------
-QMultiHash<*>{
- preview
- (
- (*(QHash<$T1>*)(&$c))
- )
-}
-
-*::QMultiHash<*>{
- preview
- (
- (*($T1::QHash<$T2>*)(&$c))
- )
-}
-
-;------------------------------------------------------------------------------
-; QHash::iterator
-;------------------------------------------------------------------------------
-QHash<*>::iterator{
- preview
- (
- #(
- "(", ((QHashNode<$T1>*)($c.i))->key, ", ", ((QHashNode<$T1>*)($c.i))->value, ")"
- )
- )
- children
- (
- #(
- key: ((QHashNode<$T1>*)($c.i))->key,
- value: ((QHashNode<$T1>*)($c.i))->value
- )
- )
-}
-
-*::QHash<*>::iterator{
- preview
- (
- #(
- "(", (($T1::QHashNode<$T2>*)($c.i))->key, ", ", (($T1::QHashNode<$T2>*)($c.i))->key, ")"
- )
- )
- children
- (
- #(
- key: (($T1::QHashNode<$T2>*)($c.i))->key,
- value: (($T1::QHashNode<$T2>*)($c.i))->value
- )
- )
-}
-
-;------------------------------------------------------------------------------
-; QHashIterator
-;------------------------------------------------------------------------------
-QHashIterator<*>{
- preview
- (
- #(
- "(", ((QHashNode<$T1>*)((($c).i).i))->key, ", ", ((QHashNode<$T1>*)((($c).i).i))->key, ")"
- )
- )
- children
- (
- #(
- key: ((QHashNode<$T1>*)((($c).i).i))->key,
- value: ((QHashNode<$T1>*)((($c).i).i))->value
- )
- )
-}
-
-*::QHashIterator<*>{
- preview
- (
- #(
- "(", (($T1::QHashNode<$T2>*)((($c).i).i))->key, ", ", (($T1::QHashNode<$T2>*)((($c).i).i))->key, ")"
- )
- )
- children
- (
- #(
- key: (($T1::QHashNode<$T2>*)((($c).i).i))->key,
- value: (($T1::QHashNode<$T2>*)((($c).i).i))->value
- )
- )
-}
-
-;------------------------------------------------------------------------------
-; QHashNode
-;------------------------------------------------------------------------------
-QHashNode<*>|*::QHashNode<*>{
- preview
- (
- #(
- "(key = ", $c.key,"; value = ", $c.value, ")"
- )
- )
- children
- (
- #(
- key: $c.key,
- value: $c.value
- )
- )
-}
-
-;------------------------------------------------------------------------------
-; QSet
-;------------------------------------------------------------------------------
-QSet<*>{
- preview
- (
- #(
- "[", $e.q_hash.d->size, "] (...)"
- )
- )
- children
- (
- #if ($e.q_hash.d->size <= 255) (
- #(
- #array (
- expr: (QHashNode<$T1,QHashDummyValue> *)$c.q_hash.d->buckets[$i],
- size: $c.q_hash.d->numBuckets
- ) : #list (
- head: $e,
- next: next
- ) : #switch ($e.next != 0) #case 1 (
- $e.key
- )
- )
- ) #else (
- #(
- #array (
- expr: (QHashNode<$T1,QHashDummyValue> *)$c.q_hash.d->buckets[$i],
- size: 255
- ) : #list (
- head: $e,
- next: next
- ) : #switch ($e.next != 0) #case 1 (
- $e.key
- )
- )
- )
- )
-}
-
-*::QSet<*>{
- preview
- (
- #(
- "[", $e.q_hash.d->size, "] (...)"
- )
- )
- children
- (
- #if ($e.q_hash.d->size <= 255) (
- #(
- #array (
- expr: ($T1::QHashNode<$T2,QHashDummyValue> *)$c.q_hash.d->buckets[$i],
- size: $c.q_hash.d->numBuckets
- ) : #list (
- head: $e,
- next: next
- ) : #switch ($e.next != 0) #case 1 (
- $e.key
- )
- )
- ) #else (
- #(
- #array (
- expr: ($T1::QHashNode<$T2,QHashDummyValue> *)$c.q_hash.d->buckets[$i],
- size: 255
- ) : #list (
- head: $e,
- next: next
- ) : #switch ($e.next != 0) #case 1 (
- $e.key
- )
- )
- )
- )
-}
-
-;------------------------------------------------------------------------------
-; QPalette
-;------------------------------------------------------------------------------
-QPalette{
- children
- (
- #(
- WindowText_active:
- ((QBrush*)((char*)$c.d+sizeof(QAtomicInt))+ 0)->d,
- Button_active:
- ((QBrush*)((char*)$c.d+sizeof(QAtomicInt))+ 1)->d,
- Light_active:
- ((QBrush*)((char*)$c.d+sizeof(QAtomicInt))+ 2)->d,
- Midlight_active:
- ((QBrush*)((char*)$c.d+sizeof(QAtomicInt))+ 3)->d,
- Dark_active:
- ((QBrush*)((char*)$c.d+sizeof(QAtomicInt))+ 4)->d,
- Mid_active:
- ((QBrush*)((char*)$c.d+sizeof(QAtomicInt))+ 5)->d,
- Text_active:
- ((QBrush*)((char*)$c.d+sizeof(QAtomicInt))+ 6)->d,
- BrightText_active:
- ((QBrush*)((char*)$c.d+sizeof(QAtomicInt))+ 7)->d,
- ButtonText_active:
- ((QBrush*)((char*)$c.d+sizeof(QAtomicInt))+ 8)->d,
- Base_active:
- ((QBrush*)((char*)$c.d+sizeof(QAtomicInt))+ 9)->d,
- Window_active:
- ((QBrush*)((char*)$c.d+sizeof(QAtomicInt))+10)->d,
- Shadow_active:
- ((QBrush*)((char*)$c.d+sizeof(QAtomicInt))+11)->d,
- Highlight_active:
- ((QBrush*)((char*)$c.d+sizeof(QAtomicInt))+12)->d,
- HighlightedText_active:
- ((QBrush*)((char*)$c.d+sizeof(QAtomicInt))+13)->d,
- Link_active:
- ((QBrush*)((char*)$c.d+sizeof(QAtomicInt))+14)->d,
- LinkVisited_active:
- ((QBrush*)((char*)$c.d+sizeof(QAtomicInt))+15)->d,
- AlternateBase_active:
- ((QBrush*)((char*)$c.d+sizeof(QAtomicInt))+16)->d,
- NoRole_active:
- ((QBrush*)((char*)$c.d+sizeof(QAtomicInt))+17)->d,
- ToolTipBase_active:
- ((QBrush*)((char*)$c.d+sizeof(QAtomicInt))+18)->d,
- ToolTipText_active:
- ((QBrush*)((char*)$c.d+sizeof(QAtomicInt))+19)->d,
-
- WindowText_disabled:
- ((QBrush*)((char*)$c.d+sizeof(QAtomicInt))+20+ 0)->d,
- Button_disabled:
- ((QBrush*)((char*)$c.d+sizeof(QAtomicInt))+20+ 1)->d,
- Light_disabled:
- ((QBrush*)((char*)$c.d+sizeof(QAtomicInt))+20+ 2)->d,
- Midlight_disabled:
- ((QBrush*)((char*)$c.d+sizeof(QAtomicInt))+20+ 3)->d,
- Dark_disabled:
- ((QBrush*)((char*)$c.d+sizeof(QAtomicInt))+20+ 4)->d,
- Mid_disabled:
- ((QBrush*)((char*)$c.d+sizeof(QAtomicInt))+20+ 5)->d,
- Text_disabled:
- ((QBrush*)((char*)$c.d+sizeof(QAtomicInt))+20+ 6)->d,
- BrightText_disabled:
- ((QBrush*)((char*)$c.d+sizeof(QAtomicInt))+20+ 7)->d,
- ButtonText_disabled:
- ((QBrush*)((char*)$c.d+sizeof(QAtomicInt))+20+ 8)->d,
- Base_disabled:
- ((QBrush*)((char*)$c.d+sizeof(QAtomicInt))+20+ 9)->d,
- Window_disabled:
- ((QBrush*)((char*)$c.d+sizeof(QAtomicInt))+20+10)->d,
- Shadow_disabled:
- ((QBrush*)((char*)$c.d+sizeof(QAtomicInt))+20+11)->d,
- Highlight_disabled:
- ((QBrush*)((char*)$c.d+sizeof(QAtomicInt))+20+12)->d,
- HighlightedText_disabled:
- ((QBrush*)((char*)$c.d+sizeof(QAtomicInt))+20+13)->d,
- Link_disabled:
- ((QBrush*)((char*)$c.d+sizeof(QAtomicInt))+20+14)->d,
- LinkVisited_disabled:
- ((QBrush*)((char*)$c.d+sizeof(QAtomicInt))+20+15)->d,
- AlternateBase_disabled:
- ((QBrush*)((char*)$c.d+sizeof(QAtomicInt))+20+16)->d,
- NoRole_disabled:
- ((QBrush*)((char*)$c.d+sizeof(QAtomicInt))+20+17)->d,
- ToolTipBase_disabled:
- ((QBrush*)((char*)$c.d+sizeof(QAtomicInt))+20+18)->d,
- ToolTipText_disabled:
- ((QBrush*)((char*)$c.d+sizeof(QAtomicInt))+20+19)->d,
-
- WindowText_inactive:
- ((QBrush*)((char*)$c.d+sizeof(QAtomicInt))+40+ 0)->d,
- Button_inactive:
- ((QBrush*)((char*)$c.d+sizeof(QAtomicInt))+40+ 1)->d,
- Light_inactive:
- ((QBrush*)((char*)$c.d+sizeof(QAtomicInt))+40+ 2)->d,
- Midlight_inactive:
- ((QBrush*)((char*)$c.d+sizeof(QAtomicInt))+40+ 3)->d,
- Dark_inactive:
- ((QBrush*)((char*)$c.d+sizeof(QAtomicInt))+40+ 4)->d,
- Mid_inactive:
- ((QBrush*)((char*)$c.d+sizeof(QAtomicInt))+40+ 5)->d,
- Text_inactive:
- ((QBrush*)((char*)$c.d+sizeof(QAtomicInt))+40+ 6)->d,
- BrightText_inactive:
- ((QBrush*)((char*)$c.d+sizeof(QAtomicInt))+40+ 7)->d,
- ButtonText_inactive:
- ((QBrush*)((char*)$c.d+sizeof(QAtomicInt))+40+ 8)->d,
- Base_inactive:
- ((QBrush*)((char*)$c.d+sizeof(QAtomicInt))+40+ 9)->d,
- Window_inactive:
- ((QBrush*)((char*)$c.d+sizeof(QAtomicInt))+40+10)->d,
- Shadow_inactive:
- ((QBrush*)((char*)$c.d+sizeof(QAtomicInt))+40+11)->d,
- Highlight_inactive:
- ((QBrush*)((char*)$c.d+sizeof(QAtomicInt))+40+12)->d,
- HighlightedText_inactive:
- ((QBrush*)((char*)$c.d+sizeof(QAtomicInt))+40+13)->d,
- Link_inactive:
- ((QBrush*)((char*)$c.d+sizeof(QAtomicInt))+40+14)->d,
- LinkVisited_inactive:
- ((QBrush*)((char*)$c.d+sizeof(QAtomicInt))+40+15)->d,
- AlternateBase_inactive:
- ((QBrush*)((char*)$c.d+sizeof(QAtomicInt))+40+16)->d,
- NoRole_inactive:
- ((QBrush*)((char*)$c.d+sizeof(QAtomicInt))+40+17)->d,
- ToolTipBase_inactive:
- ((QBrush*)((char*)$c.d+sizeof(QAtomicInt))+40+18)->d,
- ToolTipText_inactive:
- ((QBrush*)((char*)$c.d+sizeof(QAtomicInt))+40+19)->d
- )
- )
-}
-
-*::QPalette{
- children
- (
- #(
- WindowText_active:
- (($T1::QBrush*)((char*)$c.d+sizeof(QAtomicInt))+ 0)->d,
- Button_active:
- (($T1::QBrush*)((char*)$c.d+sizeof(QAtomicInt))+ 1)->d,
- Light_active:
- (($T1::QBrush*)((char*)$c.d+sizeof(QAtomicInt))+ 2)->d,
- Midlight_active:
- (($T1::QBrush*)((char*)$c.d+sizeof(QAtomicInt))+ 3)->d,
- Dark_active:
- (($T1::QBrush*)((char*)$c.d+sizeof(QAtomicInt))+ 4)->d,
- Mid_active:
- (($T1::QBrush*)((char*)$c.d+sizeof(QAtomicInt))+ 5)->d,
- Text_active:
- (($T1::QBrush*)((char*)$c.d+sizeof(QAtomicInt))+ 6)->d,
- BrightText_active:
- (($T1::QBrush*)((char*)$c.d+sizeof(QAtomicInt))+ 7)->d,
- ButtonText_active:
- (($T1::QBrush*)((char*)$c.d+sizeof(QAtomicInt))+ 8)->d,
- Base_active:
- (($T1::QBrush*)((char*)$c.d+sizeof(QAtomicInt))+ 9)->d,
- Window_active:
- (($T1::QBrush*)((char*)$c.d+sizeof(QAtomicInt))+10)->d,
- Shadow_active:
- (($T1::QBrush*)((char*)$c.d+sizeof(QAtomicInt))+11)->d,
- Highlight_active:
- (($T1::QBrush*)((char*)$c.d+sizeof(QAtomicInt))+12)->d,
- HighlightedText_active:
- (($T1::QBrush*)((char*)$c.d+sizeof(QAtomicInt))+13)->d,
- Link_active:
- (($T1::QBrush*)((char*)$c.d+sizeof(QAtomicInt))+14)->d,
- LinkVisited_active:
- (($T1::QBrush*)((char*)$c.d+sizeof(QAtomicInt))+15)->d,
- AlternateBase_active:
- (($T1::QBrush*)((char*)$c.d+sizeof(QAtomicInt))+16)->d,
- NoRole_active:
- (($T1::QBrush*)((char*)$c.d+sizeof(QAtomicInt))+17)->d,
- ToolTipBase_active:
- (($T1::QBrush*)((char*)$c.d+sizeof(QAtomicInt))+18)->d,
- ToolTipText_active:
- (($T1::QBrush*)((char*)$c.d+sizeof(QAtomicInt))+19)->d,
-
- WindowText_disabled:
- (($T1::QBrush*)((char*)$c.d+sizeof(QAtomicInt))+20+ 0)->d,
- Button_disabled:
- (($T1::QBrush*)((char*)$c.d+sizeof(QAtomicInt))+20+ 1)->d,
- Light_disabled:
- (($T1::QBrush*)((char*)$c.d+sizeof(QAtomicInt))+20+ 2)->d,
- Midlight_disabled:
- (($T1::QBrush*)((char*)$c.d+sizeof(QAtomicInt))+20+ 3)->d,
- Dark_disabled:
- (($T1::QBrush*)((char*)$c.d+sizeof(QAtomicInt))+20+ 4)->d,
- Mid_disabled:
- (($T1::QBrush*)((char*)$c.d+sizeof(QAtomicInt))+20+ 5)->d,
- Text_disabled:
- (($T1::QBrush*)((char*)$c.d+sizeof(QAtomicInt))+20+ 6)->d,
- BrightText_disabled:
- (($T1::QBrush*)((char*)$c.d+sizeof(QAtomicInt))+20+ 7)->d,
- ButtonText_disabled:
- (($T1::QBrush*)((char*)$c.d+sizeof(QAtomicInt))+20+ 8)->d,
- Base_disabled:
- (($T1::QBrush*)((char*)$c.d+sizeof(QAtomicInt))+20+ 9)->d,
- Window_disabled:
- (($T1::QBrush*)((char*)$c.d+sizeof(QAtomicInt))+20+10)->d,
- Shadow_disabled:
- (($T1::QBrush*)((char*)$c.d+sizeof(QAtomicInt))+20+11)->d,
- Highlight_disabled:
- (($T1::QBrush*)((char*)$c.d+sizeof(QAtomicInt))+20+12)->d,
- HighlightedText_disabled:
- (($T1::QBrush*)((char*)$c.d+sizeof(QAtomicInt))+20+13)->d,
- Link_disabled:
- (($T1::QBrush*)((char*)$c.d+sizeof(QAtomicInt))+20+14)->d,
- LinkVisited_disabled:
- (($T1::QBrush*)((char*)$c.d+sizeof(QAtomicInt))+20+15)->d,
- AlternateBase_disabled:
- (($T1::QBrush*)((char*)$c.d+sizeof(QAtomicInt))+20+16)->d,
- NoRole_disabled:
- (($T1::QBrush*)((char*)$c.d+sizeof(QAtomicInt))+20+17)->d,
- ToolTipBase_disabled:
- (($T1::QBrush*)((char*)$c.d+sizeof(QAtomicInt))+20+18)->d,
- ToolTipText_disabled:
- (($T1::QBrush*)((char*)$c.d+sizeof(QAtomicInt))+20+19)->d,
-
- WindowText_inactive:
- (($T1::QBrush*)((char*)$c.d+sizeof(QAtomicInt))+40+ 0)->d,
- Button_inactive:
- (($T1::QBrush*)((char*)$c.d+sizeof(QAtomicInt))+40+ 1)->d,
- Light_inactive:
- (($T1::QBrush*)((char*)$c.d+sizeof(QAtomicInt))+40+ 2)->d,
- Midlight_inactive:
- (($T1::QBrush*)((char*)$c.d+sizeof(QAtomicInt))+40+ 3)->d,
- Dark_inactive:
- (($T1::QBrush*)((char*)$c.d+sizeof(QAtomicInt))+40+ 4)->d,
- Mid_inactive:
- (($T1::QBrush*)((char*)$c.d+sizeof(QAtomicInt))+40+ 5)->d,
- Text_inactive:
- (($T1::QBrush*)((char*)$c.d+sizeof(QAtomicInt))+40+ 6)->d,
- BrightText_inactive:
- (($T1::QBrush*)((char*)$c.d+sizeof(QAtomicInt))+40+ 7)->d,
- ButtonText_inactive:
- (($T1::QBrush*)((char*)$c.d+sizeof(QAtomicInt))+40+ 8)->d,
- Base_inactive:
- (($T1::QBrush*)((char*)$c.d+sizeof(QAtomicInt))+40+ 9)->d,
- Window_inactive:
- (($T1::QBrush*)((char*)$c.d+sizeof(QAtomicInt))+40+10)->d,
- Shadow_inactive:
- (($T1::QBrush*)((char*)$c.d+sizeof(QAtomicInt))+40+11)->d,
- Highlight_inactive:
- (($T1::QBrush*)((char*)$c.d+sizeof(QAtomicInt))+40+12)->d,
- HighlightedText_inactive:
- (($T1::QBrush*)((char*)$c.d+sizeof(QAtomicInt))+40+13)->d,
- Link_inactive:
- (($T1::QBrush*)((char*)$c.d+sizeof(QAtomicInt))+40+14)->d,
- LinkVisited_inactive:
- (($T1::QBrush*)((char*)$c.d+sizeof(QAtomicInt))+40+15)->d,
- AlternateBase_inactive:
- (($T1::QBrush*)((char*)$c.d+sizeof(QAtomicInt))+40+16)->d,
- NoRole_inactive:
- (($T1::QBrush*)((char*)$c.d+sizeof(QAtomicInt))+40+17)->d,
- ToolTipBase_inactive:
- (($T1::QBrush*)((char*)$c.d+sizeof(QAtomicInt))+40+18)->d,
- ToolTipText_inactive:
- (($T1::QBrush*)((char*)$c.d+sizeof(QAtomicInt))+40+19)->d
- )
- )
-}
-
-;------------------------------------------------------------------------------
-; QBrush
-;------------------------------------------------------------------------------
-QBrush|*::QBrush{
- preview
- (
- #(
- "[", $c.d->style, "] (...)"
- )
- )
- children
- (
- #(
- style: $c.d->style,
- color: $c.d->color,
- transform: $c.d->transform
- )
- )
-}
-
-QBrushData|*::QBrushData{
- preview
- (
- #(
- "[", $c.style, "] (...)"
- )
- )
- children
- (
- #(
- style: $c.style,
- color: $c.color,
- transform: $c.transform
- )
- )
-}
-
-;------------------------------------------------------------------------------
-; QColor
-;------------------------------------------------------------------------------
-QColor|*::QColor{
- preview
- (
- #(
- #if ($c.cspec == 1) (
- #(
- "[", $c.cspec, "] [", "r = ", [$c.ct.argb.red,x],
- ", g = ", [$c.ct.argb.green,x],
- ", b = ", [$c.ct.argb.blue,x], "] (...)"
- )
- ) #elif ($c.cspec == 2) (
- #(
- "[", $c.cspec, "] [", "h = ", [$c.ct.ahsv.hue,x],
- ", s = ", [$c.ct.ahsv.saturation,x],
- ", v = ", [$c.ct.ahsv.value,x], "] (...)"
- )
- ) #elif ($c.cspec == 3) (
- #(
- "[", $c.cspec, "] [", "c = ", [$c.ct.acmyk.cyan,x],
- ", m = ", [$c.ct.acmyk.magenta,x],
- ", y = ", [$c.ct.acmyk.yellow,x],
- ", k = ", [$c.ct.acmyk.black,x], "] (...)"
- )
- ) #else (
- #(
- "[Invalid]"
- )
- )
- )
- )
- children
- (
- #(
- #if ($c.cspec == 1) (
- #(
- red: [$c.ct.argb.red,x],
- green: [$c.ct.argb.green,x],
- blue: [$c.ct.argb.blue,x],
- alpha: [$c.ct.argb.alpha,x],
- pad: [$c.ct.argb.pad,x]
- )
- ) #elif ($c.cspec == 2) (
- #(
- hue: [$c.ct.ahsv.hue,x],
- saturation: [$c.ct.ahsv.saturation,x],
- value: [$c.ct.ahsv.value,x],
- alpha: [$c.ct.ahsv.alpha,x],
- pad: [$c.ct.ahsv.pad,x]
- )
- ) #elif ($c.cspec == 3) (
- #(
- cyan: [$c.ct.acmyk.cyan,x],
- magenta: [$c.ct.acmyk.magenta,x],
- yellow: [$c.ct.acmyk.yellow,x],
- black: [$c.ct.acmyk.black,x],
- alpha: [$c.ct.acmyk.alpha,x]
- )
- )
- )
- )
-}
-
-;------------------------------------------------------------------------------
-; QTransform
-;------------------------------------------------------------------------------
-QTransform|*::QTransform{
- preview
- (
- #(
- "[",[$c.affine._m11,g]," ",[$c.affine._m12,g]," ",[$c.m_13,g],"]",
- "[",[$c.affine._m21,g]," ",[$c.affine._m22,g]," ",[$c.m_23,g],"]",
- "[",[$c.affine._dx,g]," ",[$c.affine._dy,g]," ",[$c.m_33,g],"]"
- )
- )
- children
- (
- #(
- translation_horizontal_m31_dx: [$c.affine._dx,g],
- translation_vertical_m32_dy: [$c.affine._dy,g],
- scaling_horizontal_m11: [$c.affine._m11,g],
- scaling_vertical_m22: [$c.affine._m22,g],
- projection_factor_m33: [$c.m_33,g],
- projection_horizontal_m13: [$c.m_13,g],
- projection_vertical_m23: [$c.m_23,g],
- shearing_horizontal_m21: [$c.affine._m21,g],
- shearing_vertical_m12: [$c.affine._m12,g],
- type: $c.m_type,
- dirty: (bool)$c.m_dirty
- )
- )
-}
-
-;------------------------------------------------------------------------------
-; QMatrix
-;------------------------------------------------------------------------------
-QMatrix|*::QMatrix{
- preview
- (
- #(
- "[",[$c._m11,g]," ",[$c._m12,g],"]",
- "[",[$c._m21,g]," ",[$c._m22,g],"]",
- "[",[$c._dx,g]," ",[$c._dy,g],"]"
- )
- )
- children
- (
- #(
- translation_horizontal_dx: [$c._dx,g],
- translation_vertical_dy: [$c._dy,g],
- scaling_horizontal_m11: [$c._m11,g],
- scaling_vertical_m22: [$c._m22,g],
- shearing_horizontal_m21: [$c._m21,g],
- shearing_vertical_m12: [$c._m12,g]
- )
- )
-}
-
-;------------------------------------------------------------------------------
-; QPolygon
-;------------------------------------------------------------------------------
-QPolygon{
- preview
- (
- #(
- "[", ((QVector<QPoint>*)(&$c))->d->size, "] (...)"
- )
- )
- children
- (
- #(
- #array
- (
- expr: ((QPoint*)(((void*)$c.d) + sizeof(QVectorData)))[$i],
- size: ((QVector<QPoint>*)(&$c))->d->size
- )
- )
- )
-}
-*::QPolygon{
- preview
- (
- #(
- "[", (($T1::QVector<$T1::QPoint>*)(&$c))->d->size, "] (...)"
- )
- )
- children
- (
- #(
- #array
- (
- expr: (($T1::QPoint*)(((void*)$c.d) + sizeof(QVectorData)))[$i],
- size: (($T1::QVector<$T1::QPoint>*)(&$c))->d->size
- )
- )
- )
-}
-
-;------------------------------------------------------------------------------
-; QPolygonF
-;------------------------------------------------------------------------------
-QPolygonF{
- preview
- (
- #(
- "[", ((QVector<QPointF>*)(&$c))->d->size, "] (...)"
- )
- )
- children
- (
- #(
- #array
- (
- expr: ((QVector<QPointF>*)(&$c))->p->array[$i],
- size: ((QVector<QPointF>*)(&$c))->d->size
- )
- )
- )
-}
-
-*::QPolygonF{
- preview
- (
- #(
- "[", (($T1::QVector<$T1::QPointF>*)(&$c))->d->size, "] (...)"
- )
- )
- children
- (
- #(
- #array
- (
- expr: (($T1::QVector<$T1::QPointF>*)(&$c))->p->array[$i],
- size: (($T1::QVector<$T1::QPointF>*)(&$c))->d->size
- )
- )
- )
-}
-
-;------------------------------------------------------------------------------
-; The Qt Company Ltd. Qt 5.x visualizers -------------------------------------------[ end ]--
-;QT_DEBUG_END
diff --git a/tools/Qt4EEAddin/autoexp.dat-visualizer2012 b/tools/Qt4EEAddin/autoexp.dat-visualizer2012
deleted file mode 100644
index c738c52c..00000000
--- a/tools/Qt4EEAddin/autoexp.dat-visualizer2012
+++ /dev/null
@@ -1,1511 +0,0 @@
-;QT_DEBUG_START
-; The Qt Company Ltd. Qt 5.x visualizers -----------------------------------------[ start ]--
-;------------------------------------------------------------------------------
-; Feel free to modify these visualizers to suit yours needs! But please let us
-; know about the changes you make, so we continuously improve the visualizers.
-
-; Qt4
-;QString{
-; preview ([$e.d->data,su])
-; stringview ([$e.d->data,sub])
-; children
-; (
-; #(
-; d: $c.d,
-; [size]: $c.d->size,
-; [referenced]: $c.d->ref._q_value
-; )
-; )
-;}
-
-; Qt4
-;QByteArray{
-; preview ([$e.d->data,s])
-; stringview ([$e.d->data,sb])
-; children
-; (
-; #(
-; d: $c.d,
-; [size]: $c.d->size,
-; [referenced]: $c.d->ref._q_value
-; )
-; )
-;}
-
-; Qt5
-QString|*::QString{
- preview ([(unsigned short*)$e.d + $e.d->offset/2,su])
- stringview ([(unsigned short*)$e.d + $e.d->offset/2,sub])
- children
- (
- #(
- d: $c.d,
- [size]: $c.d->size,
- [referenced]: $c.d->ref.atomic._q_value
- )
- )
-}
-
-; Qt5
-QByteArray|*::QByteArray{
- preview ([(char*)$e.d + $e.d->offset,s])
- stringview ([(char*)$e.d + $e.d->offset,sb])
- children
- (
- #(
- d: $c.d,
- [size]: $c.d->size,
- [referenced]: $c.d->ref._q_value
- )
- )
-}
-
-QFileInfo|*::QFileInfo{
- preview
- (
- #(
- "private=", $c.d_ptr
- )
- )
-}
-
-QUrl|*::QUrl{
- preview
- (
- #if ($e.d.stateFlags == 0) (
- $e.d
- ) #else (
- #( $e.d->scheme, $e.d->host, $e.d->path )
- )
- )
- children
- (
- #(
- scheme: $c.d->scheme,
- host: $c.d->host,
- path: $c.d->path,
- username: $c.d->userName,
- password: $c.d->password,
- encodedOriginal: $c.d->encodedOriginal,
- query: $c.d->query,
- fragment: $c.d->fragment
- )
- )
-}
-
-QTime|*::QTime{
- preview
- (
- #(
- "hour=", [$e.mds / 3600000, d],
- ", minute=", [($e.mds % 3600000) / 60000, d],
- ", second=", [($e.mds / 1000) % 60, d],
- ", millisecond=", [$e.mds % 1000, d]
- )
- )
- children
- (
- #(
- [hour]: [$e.mds / 3600000, d],
- [minute]: [($e.mds % 3600000) / 60000, d],
- [second]: [($e.mds / 1000) % 60, d],
- [millisecond]: [$e.mds % 1000, d]
- )
- )
-}
-
-QVariant{
- preview
- (
- #if ($e.d.type == 1) (
- #("bool = ", [$e.d.data.b])
- ) #elif ($e.d.type == 2) (
- #("int = ", [$e.d.data.i])
- ) #elif ($e.d.type == 3) (
- #("usigned int = ", [$e.d.data.u])
- ) #elif ($e.d.type == 4) (
- #("long long = ", [$e.d.data.ll])
- ) #elif ($e.d.type == 5) (
- #("unsigned long long = ", [$e.d.data.ull])
- ) #elif ($e.d.type == 6) (
- #("double = ", [$e.d.data.d])
- ) #elif ($e.d.type == 7) (
- #("char = ", [$e.d.data.c])
- ) #elif ($e.d.type == 8) (
- #("QMap = ", [(QMap) $e.d.data.ptr])
- ) #elif ($e.d.type == 10) (
- #("QString = ", [(QString) $e.d.data.ptr])
- ) #elif ($e.d.type == 11) (
- #("QStringList = ", [(QStringList) $e.d.data.ptr])
- ) #elif ($e.d.type == 17) (
- #("QUrl = ", [(QUrl) $e.d.data.ptr])
- ) #else (
- #("type = ", [$e.d.type])
- )
- )
- children
- (
- #if ($e.d.type == 1) (
- $c.d.data.b
- ) #elif ($e.d.type == 2) (
- $c.d.data.i
- ) #elif ($e.d.type == 3) (
- $c.d.data.u
- ) #elif ($e.d.type == 4) (
- $c.d.data.ll
- ) #elif ($e.d.type == 5) (
- $c.d.data.ull
- ) #elif ($e.d.type == 6) (
- $c.d.data.d
- ) #elif ($e.d.type == 7) (
- $c.d.data.c
- ) #elif ($e.d.type == 8) (
- ) #elif ($e.d.type == 10) (
- #(
- [size]: ((QString) $c.d.data.ptr).d->size
- )
- ) #elif ($e.d.type == 11) (
- #if ((((QStringList) $e.d.data.ptr).d->end - ((QStringList) $e.d.data.ptr).d->begin) <= 10) (
- #array
- (
- expr: (QString)((((QStringList) $e.d.data.ptr).d->array + ((QStringList) $e.d.data.ptr).d->begin)[$i]),
- size: ((QStringList) $e.d.data.ptr).d->end-((QStringList) $e.d.data.ptr).d->begin
- )
- ) #else (
- #array
- (
- expr: (QString)((((QStringList) $e.d.data.ptr).d->array + ((QStringList) $e.d.data.ptr).d->begin)[$i]),
- size: 10
- )
- )
- ) #elif ($e.d.type == 17) (
- #(
- scheme: ((QUrl) $e.d.data.ptr).d->scheme,
- host: ((QUrl) $e.d.data.ptr).d->host,
- path: ((QUrl) $e.d.data.ptr).d->path,
- username: ((QUrl) $e.d.data.ptr).d->userName,
- password: ((QUrl) $e.d.data.ptr).d->password,
- encodedOriginal: ((QUrl) $e.d.data.ptr).d->encodedOriginal,
- query: ((QUrl) $e.d.data.ptr).d->query,
- fragment: ((QUrl) $e.d.data.ptr).d->fragment
- )
- ) #else (
- #("type = ", [$e.d.type])
- )
- )
-}
-
-*::QVariant{
- preview
- (
- #if ($e.d.type == 1) (
- #("bool = ", [$e.d.data.b])
- ) #elif ($e.d.type == 2) (
- #("int = ", [$e.d.data.i])
- ) #elif ($e.d.type == 3) (
- #("usigned int = ", [$e.d.data.u])
- ) #elif ($e.d.type == 4) (
- #("long long = ", [$e.d.data.ll])
- ) #elif ($e.d.type == 5) (
- #("unsigned long long = ", [$e.d.data.ull])
- ) #elif ($e.d.type == 6) (
- #("double = ", [$e.d.data.d])
- ) #elif ($e.d.type == 7) (
- #("char = ", [$e.d.data.c])
- ) #elif ($e.d.type == 8) (
- #("QMap = ", [($T1::QMap) $e.d.data.ptr])
- ) #elif ($e.d.type == 10) (
- #("QString = ", [($T1::QString) $e.d.data.ptr])
- ) #elif ($e.d.type == 11) (
- #("QStringList = ", [($T1::QStringList) $e.d.data.ptr])
- ) #elif ($e.d.type == 17) (
- #("QUrl = ", [($T1::QUrl) $e.d.data.ptr])
- ) #else (
- #("type = ", [$e.d.type])
- )
- )
- children
- (
- #if ($e.d.type == 1) (
- $c.d.data.b
- ) #elif ($e.d.type == 2) (
- $c.d.data.i
- ) #elif ($e.d.type == 3) (
- $c.d.data.u
- ) #elif ($e.d.type == 4) (
- $c.d.data.ll
- ) #elif ($e.d.type == 5) (
- $c.d.data.ull
- ) #elif ($e.d.type == 6) (
- $c.d.data.d
- ) #elif ($e.d.type == 7) (
- $c.d.data.c
- ) #elif ($e.d.type == 8) (
- ) #elif ($e.d.type == 10) (
- #(
- [size]: (($T1::QString) $c.d.data.ptr).d->size
- )
- ) #elif ($e.d.type == 11) (
- #if (((($T1::QStringList) $e.d.data.ptr).d->end - (($T1::QStringList) $e.d.data.ptr).d->begin) <= 10) (
- #array
- (
- expr: ($T1::QString)(((($T1::QStringList) $e.d.data.ptr).d->array + (($T1::QStringList) $e.d.data.ptr).d->begin)[$i]),
- size: (($T1::QStringList) $e.d.data.ptr).d->end-(($T1::QStringList) $e.d.data.ptr).d->begin
- )
- ) #else (
- #array
- (
- expr: ($T1::QString)(((($T1::QStringList) $e.d.data.ptr).d->array + (($T1::QStringList) $e.d.data.ptr).d->begin)[$i]),
- size: 10
- )
- )
- ) #elif ($e.d.type == 17) (
- #(
- scheme: (($T1::QUrl) $e.d.data.ptr).d->scheme,
- host: (($T1::QUrl) $e.d.data.ptr).d->host,
- path: (($T1::QUrl) $e.d.data.ptr).d->path,
- username: (($T1::QUrl) $e.d.data.ptr).d->userName,
- password: (($T1::QUrl) $e.d.data.ptr).d->password,
- encodedOriginal: (($T1::QUrl) $e.d.data.ptr).d->encodedOriginal,
- query: (($T1::QUrl) $e.d.data.ptr).d->query,
- fragment: (($T1::QUrl) $e.d.data.ptr).d->fragment
- )
- ) #else (
- #("type = ", [$e.d.type])
- )
- )
-}
-
-;------------------------------------------------------------------------------
-; QStringList
-;------------------------------------------------------------------------------
-QStringList{
- preview
- (
- #if (($c.d->end - $c.d->begin) <= 10) (
- #(
- "[", $c.d->end - $c.d->begin, "](",
- #array
- (
- expr: (QString)(($c.d->array + $c.d->begin)[$i]),
- size: $c.d->end-$c.d->begin
- ), ")"
- )
- ) #else (
- #(
- "[", $c.d->end - $c.d->begin, "](",
- #array
- (
- expr: (QString)(($c.d->array + $c.d->begin)[$i]),
- size: 10
- ), ", ...)"
- )
- )
- )
-}
-
-*::QStringList{
- preview
- (
- #if (($c.d->end - $c.d->begin) <= 10) (
- #(
- "[", $c.d->end - $c.d->begin, "](",
- #array
- (
- expr: ($T1::QString)(($c.d->array + $c.d->begin)[$i]),
- size: $c.d->end-$c.d->begin
- ), ")"
- )
- ) #else (
- #(
- "[", $c.d->end - $c.d->begin, "](",
- #array
- (
- expr: ($T1::QString)(($c.d->array + $c.d->begin)[$i]),
- size: 10
- ), ", ...)"
- )
- )
- )
-}
-
-;------------------------------------------------------------------------------
-; QList, QQueue
-;------------------------------------------------------------------------------
-QList<*>|QQueue<*>{
- preview
- (
- #if (int(sizeof($T1)) <= int(sizeof(void*))) (
- #if (($c.d->end - $c.d->begin) <= 10) (
- #(
- "[", $c.d->end - $c.d->begin, "](",
- #array
- (
- expr: ($T1)(($c.d->array + $c.d->begin)[$i]),
- size: $c.d->end-$c.d->begin
- ), ")"
- )
- ) #else (
- #(
- "[", $c.d->end - $c.d->begin, "](",
- #array
- (
- expr: ($T1)(($c.d->array + $c.d->begin)[$i]),
- size: 10
- ), ", ...)"
- )
- )
- ) #else (
- #if (($c.d->end - $c.d->begin) <= 10) (
- #(
- "[", $c.d->end - $c.d->begin, "](",
- #array
- (
- expr: *($T1*)(($c.d->array + $c.d->begin)[$i]),
- size: $c.d->end-$c.d->begin
- ), ")"
- )
- ) #else (
- #(
- "[", $c.d->end - $c.d->begin, "](",
- #array
- (
- expr: *($T1*)(($c.d->array + $c.d->begin)[$i]),
- size: 10
- ), ", ...)"
- )
- )
- )
- )
- children
- (
- #if (int(sizeof($T1)) <= int(sizeof(void*))) (
- #array (
- expr: ($T1)(($c.d->array + $c.d->begin)[$i]),
- size: $c.d->end - $c.d->begin
- )
- ) #else (
- #array (
- expr: *($T1*)(($c.d->array + $c.d->begin)[$i]),
- size: $c.d->end - $c.d->begin
- )
- )
- )
-}
-
-*::QList<*>|*::QQueue<*>{
- preview
- (
- #if (int(sizeof($T2)) <= int(sizeof(void*))) (
- #if (($c.d->end - $c.d->begin) <= 10) (
- #(
- "[", $c.d->end - $c.d->begin, "](",
- #array
- (
- expr: ($T2)(($c.d->array + $c.d->begin)[$i]),
- size: $c.d->end-$c.d->begin
- ), ")"
- )
- ) #else (
- #(
- "[", $c.d->end - $c.d->begin, "](",
- #array
- (
- expr: ($T2)(($c.d->array + $c.d->begin)[$i]),
- size: 10
- ), ", ...)"
- )
- )
- ) #else (
- #if (($c.d->end - $c.d->begin) <= 10) (
- #(
- "[", $c.d->end - $c.d->begin, "](",
- #array
- (
- expr: *($T2*)(($c.d->array + $c.d->begin)[$i]),
- size: $c.d->end-$c.d->begin
- ), ")"
- )
- ) #else (
- #(
- "[", $c.d->end - $c.d->begin, "](",
- #array
- (
- expr: *($T2*)(($c.d->array + $c.d->begin)[$i]),
- size: 10
- ), ", ...)"
- )
- )
- )
- )
- children
- (
- #if (int(sizeof($T2)) <= int(sizeof(void*))) (
- #array (
- expr: ($T2)(($c.d->array + $c.d->begin)[$i]),
- size: $c.d->end - $c.d->begin
- )
- ) #else (
- #array (
- expr: *($T2*)(($c.d->array + $c.d->begin)[$i]),
- size: $c.d->end - $c.d->begin
- )
- )
- )
-}
-
-;------------------------------------------------------------------------------
-; QList::iterator, QQueue::iterator
-;------------------------------------------------------------------------------
-QList<*>::iterator|QList<*>::const_iterator|QQueue<*>::iterator|QQueue<*>::const_iterator{
- preview
- (
- #(
- ($T1*)$c.ptr
- )
- )
- children
- (
- #(
- ptr: ($T1)$c.ptr
- )
- )
-}
-
-*::QList<*>::iterator|*::QList<*>::const_iterator|*::QQueue<*>::iterator|*::QQueue<*>::const_iterator{
- preview
- (
- #(
- ($T2)$c.i->v
- )
- )
- children
- (
- #(
- ptr: ($T2)$c.i->v
- )
- )
-}
-
-;------------------------------------------------------------------------------
-; QListIterator
-;------------------------------------------------------------------------------
-QListIterator<*>|QMutableListIterator<*>{
- preview
- (
- #(
- *($T1*)($c.i.i->v)
- )
- )
- children
- (
- #(
- Value: *($T1*)($c.i.i->v)
- )
- )
-}
-
-*::QListIterator<*>|*::QMutableListIterator<*>{
- preview
- (
- #(
- *($T2*)($c.i.i->v)
- )
- )
- children
- (
- #(
- Value: *($T2*)($c.i.i->v)
- )
- )
-}
-
-;------------------------------------------------------------------------------
-; QLinkedList
-;------------------------------------------------------------------------------
-QLinkedList<*>{
- preview
- (
- #if ($e.d->size >= 10) (
- #(
- "[", $e.d->size, "](",
- #list
- (
- head: $c.d->n,
- size: 10,
- next: n
- ) : ( (*(QLinkedListNode<$T1>*)&$e).t ), ", ...)"
- )
- ) #else (
- #(
- "[", $e.d->size, "](",
- #list
- (
- head: $c.d->n,
- size: $c.d->size,
- next: n
- ) : ( (*(QLinkedListNode<$T1>*)&$e).t ), ")"
- )
- )
- )
- children
- (
- #(
- #list
- (
- head: $c.d->n,
- size: $c.d->size,
- next: n
- ) : (*(QLinkedListNode<$T1>*)&$e).t
- )
- )
-}
-
-*::QLinkedList<*>{
- preview
- (
- #if ($e.d->size >= 10) (
- #(
- "[", $e.d->size, "](",
- #list
- (
- head: $c.d->n,
- size: 10,
- next: n
- ) : ( (*($T1::QLinkedListNode<$T2>*)&$e).t ), ", ...)"
- )
- ) #else (
- #(
- "[", $e.d->size, "](",
- #list
- (
- head: $c.d->n,
- size: $c.d->size,
- next: n
- ) : ( (*($T1::QLinkedListNode<$T2>*)&$e).t ), ")"
- )
- )
- )
- children
- (
- #(
- #list
- (
- head: $c.d->n,
- size: $c.d->size,
- next: n
- ) : (*($T1::QLinkedListNode<$T2>*)&$e).t
- )
- )
-}
-
-;------------------------------------------------------------------------------
-; QLinkedList::iterator
-;------------------------------------------------------------------------------
-QLinkedList<*>::iterator|*::QLinkedList<*>::iterator|QLinkedList<*>::const_iterator|*::QLinkedList<*>::const_iterator{
- preview
- (
- #(
- $e.i->t
- )
- )
- children
- (
- #(
- ptr: $e.i->t
- )
- )
-}
-
-QLinkedListIterator<*>|*::QLinkedListIterator<*>{
- preview
- (
- #(
- $c.i
- )
- )
- children
- (
- #(
- value: $c.i
- )
- )
-}
-
-;------------------------------------------------------------------------------
-; QVector, QStack
-;
-; By default, this visualizer supports only Qt 4.6.x. If you're going to use
-; Qt 4.5.x code, then you may want to replace all expr lines with this:
-; expr: (((size_t)($c.d) + (size_t)(sizeof(QVectorData)) ))[$i],
-;
-; This will allow this visualizer to display Qt 4.5.x and Qt 4.6.x QVector
-; objects. But be aware of some limitations. For example enum types can't be
-; displayed properly this way.
-;
-; Qt 4.5.x:
-; QVector::d is QVectorTypedData<T>
-; QVector::p is QVectorData
-; expr: $c.d->array[$i]
-;
-; Qt 4.6.x:
-; QVector::d is QVectorData
-; QVector::p is QVectorTypedData<T>
-; expr: $c.p->array[$i]
-;
-;------------------------------------------------------------------------------
-QVector<*>|*::QVector<*>|QStack<*>|*::QStack<*>{
- preview
- (
- #if ($c.d->size <= 10) (
- #(
- "[", $c.d->size, "](",
- #array
- (
- expr: $c.p->array[$i],
- size: $c.d->size
- ), ")"
- )
- ) #else (
- #(
- "[", $c.d->size, "](",
- #array
- (
- expr: $c.p->array[$i],
- size: 10
- ), ", ...)"
- )
- )
- )
- children
- (
- #array
- (
- expr: $c.p->array[$i],
- size: $c.d->size
- )
- )
-}
-
-;------------------------------------------------------------------------------
-; QMap
-;------------------------------------------------------------------------------
-QMapNode<*,*>{
- preview
- (
- #(
- "(",
- $e.key,
- "; ",
- $e.value,
- ")"
- )
- )
-
- children
- (
- #(
- key: $e.key,
- value: $e.value
- )
- )
-}
-
-QMap<*>{
- children
- (
- #(
- raw data: [$c,!],
- #tree
- (
- head : $c.d->forward[0],
- skip : $c.d,
- size : $c.d->size,
- left : backward,
- right : forward
- ) : ( (QMapNode<$T1>*)((char*)&$e - (sizeof(QMapPayloadNode<$T1>) - sizeof(QMapData::Node*))) )
- )
- )
-
- preview
- (
- #(
- "[",
- $e.d->size,
- "](",
- #tree
- (
- head : $c.d->forward[0],
- size : $c.d->size,
- left : backward,
- right : forward
- ) : $e,
- ")"
- )
- )
-}
-
-;------------------------------------------------------------------------------
-; QHash
-;------------------------------------------------------------------------------
-QHash<*>{
- preview
- (
- #(
- "[", $e.d->size, "] (...)"
- )
- )
- children
- (
- #if ($e.d->size <= 255) (
- #(
- #array (
- expr: (QHashNode<$T1>*)$c.d->buckets[$i],
- size: $c.d->numBuckets
- ) : #list (
- head: $e,
- next: next
- ) : #switch ($e.next != 0) #case 1 (
- $e
- )
- )
- ) #else (
- #(
- #array (
- expr: (QHashNode<$T1>*)$c.d->buckets[$i],
- size: 255
- ) : #list (
- head: $e,
- next: next
- ) : #switch ($e.next != 0) #case 1 (
- $e
- )
- )
- )
- )
-}
-
-*::QHash<*>{
- preview
- (
- #(
- "[", $e.d->size, "] (...)"
- )
- )
- children
- (
- #if ($e.d->size <= 255) (
- #(
- #array (
- expr: ($T1::QHashNode<$T2> *)$c.d->buckets[$i],
- size: $c.d->numBuckets
- ) : #list (
- head: $e,
- next: next
- ) : #switch ($e.next != 0) #case 1 (
- $e
- )
- )
- ) #else (
- #(
- #array (
- expr: ($T1::QHashNode<$T2> *)$c.d->buckets[$i],
- size: 255
- ) : #list (
- head: $e,
- next: next
- ) : #switch ($e.next != 0) #case 1 (
- $e
- )
- )
- )
- )
-}
-
-;------------------------------------------------------------------------------
-; QMultiHash
-;------------------------------------------------------------------------------
-QMultiHash<*>{
- preview
- (
- (*(QHash<$T1>*)(&$c))
- )
-}
-
-*::QMultiHash<*>{
- preview
- (
- (*($T1::QHash<$T2>*)(&$c))
- )
-}
-
-;------------------------------------------------------------------------------
-; QHash::iterator
-;------------------------------------------------------------------------------
-QHash<*>::iterator{
- preview
- (
- #(
- "(", ((QHashNode<$T1>*)($c.i))->key, ", ", ((QHashNode<$T1>*)($c.i))->value, ")"
- )
- )
- children
- (
- #(
- key: ((QHashNode<$T1>*)($c.i))->key,
- value: ((QHashNode<$T1>*)($c.i))->value
- )
- )
-}
-
-*::QHash<*>::iterator{
- preview
- (
- #(
- "(", (($T1::QHashNode<$T2>*)($c.i))->key, ", ", (($T1::QHashNode<$T2>*)($c.i))->key, ")"
- )
- )
- children
- (
- #(
- key: (($T1::QHashNode<$T2>*)($c.i))->key,
- value: (($T1::QHashNode<$T2>*)($c.i))->value
- )
- )
-}
-
-;------------------------------------------------------------------------------
-; QHashIterator
-;------------------------------------------------------------------------------
-QHashIterator<*>{
- preview
- (
- #(
- "(", ((QHashNode<$T1>*)((($c).i).i))->key, ", ", ((QHashNode<$T1>*)((($c).i).i))->key, ")"
- )
- )
- children
- (
- #(
- key: ((QHashNode<$T1>*)((($c).i).i))->key,
- value: ((QHashNode<$T1>*)((($c).i).i))->value
- )
- )
-}
-
-*::QHashIterator<*>{
- preview
- (
- #(
- "(", (($T1::QHashNode<$T2>*)((($c).i).i))->key, ", ", (($T1::QHashNode<$T2>*)((($c).i).i))->key, ")"
- )
- )
- children
- (
- #(
- key: (($T1::QHashNode<$T2>*)((($c).i).i))->key,
- value: (($T1::QHashNode<$T2>*)((($c).i).i))->value
- )
- )
-}
-
-;------------------------------------------------------------------------------
-; QHashNode
-;------------------------------------------------------------------------------
-QHashNode<*>|*::QHashNode<*>{
- preview
- (
- #(
- "(key = ", $c.key,"; value = ", $c.value, ")"
- )
- )
- children
- (
- #(
- key: $c.key,
- value: $c.value
- )
- )
-}
-
-;------------------------------------------------------------------------------
-; QSet
-;------------------------------------------------------------------------------
-QSet<*>{
- preview
- (
- #(
- "[", $e.q_hash.d->size, "] (...)"
- )
- )
- children
- (
- #if ($e.q_hash.d->size <= 255) (
- #(
- #array (
- expr: (QHashNode<$T1,QHashDummyValue> *)$c.q_hash.d->buckets[$i],
- size: $c.q_hash.d->numBuckets
- ) : #list (
- head: $e,
- next: next
- ) : #switch ($e.next != 0) #case 1 (
- $e.key
- )
- )
- ) #else (
- #(
- #array (
- expr: (QHashNode<$T1,QHashDummyValue> *)$c.q_hash.d->buckets[$i],
- size: 255
- ) : #list (
- head: $e,
- next: next
- ) : #switch ($e.next != 0) #case 1 (
- $e.key
- )
- )
- )
- )
-}
-
-*::QSet<*>{
- preview
- (
- #(
- "[", $e.q_hash.d->size, "] (...)"
- )
- )
- children
- (
- #if ($e.q_hash.d->size <= 255) (
- #(
- #array (
- expr: ($T1::QHashNode<$T2,QHashDummyValue> *)$c.q_hash.d->buckets[$i],
- size: $c.q_hash.d->numBuckets
- ) : #list (
- head: $e,
- next: next
- ) : #switch ($e.next != 0) #case 1 (
- $e.key
- )
- )
- ) #else (
- #(
- #array (
- expr: ($T1::QHashNode<$T2,QHashDummyValue> *)$c.q_hash.d->buckets[$i],
- size: 255
- ) : #list (
- head: $e,
- next: next
- ) : #switch ($e.next != 0) #case 1 (
- $e.key
- )
- )
- )
- )
-}
-
-;------------------------------------------------------------------------------
-; QPalette
-;------------------------------------------------------------------------------
-QPalette{
- children
- (
- #(
- WindowText_active:
- ((QBrush*)((char*)$c.d+sizeof(QAtomicInt))+ 0)->d,
- Button_active:
- ((QBrush*)((char*)$c.d+sizeof(QAtomicInt))+ 1)->d,
- Light_active:
- ((QBrush*)((char*)$c.d+sizeof(QAtomicInt))+ 2)->d,
- Midlight_active:
- ((QBrush*)((char*)$c.d+sizeof(QAtomicInt))+ 3)->d,
- Dark_active:
- ((QBrush*)((char*)$c.d+sizeof(QAtomicInt))+ 4)->d,
- Mid_active:
- ((QBrush*)((char*)$c.d+sizeof(QAtomicInt))+ 5)->d,
- Text_active:
- ((QBrush*)((char*)$c.d+sizeof(QAtomicInt))+ 6)->d,
- BrightText_active:
- ((QBrush*)((char*)$c.d+sizeof(QAtomicInt))+ 7)->d,
- ButtonText_active:
- ((QBrush*)((char*)$c.d+sizeof(QAtomicInt))+ 8)->d,
- Base_active:
- ((QBrush*)((char*)$c.d+sizeof(QAtomicInt))+ 9)->d,
- Window_active:
- ((QBrush*)((char*)$c.d+sizeof(QAtomicInt))+10)->d,
- Shadow_active:
- ((QBrush*)((char*)$c.d+sizeof(QAtomicInt))+11)->d,
- Highlight_active:
- ((QBrush*)((char*)$c.d+sizeof(QAtomicInt))+12)->d,
- HighlightedText_active:
- ((QBrush*)((char*)$c.d+sizeof(QAtomicInt))+13)->d,
- Link_active:
- ((QBrush*)((char*)$c.d+sizeof(QAtomicInt))+14)->d,
- LinkVisited_active:
- ((QBrush*)((char*)$c.d+sizeof(QAtomicInt))+15)->d,
- AlternateBase_active:
- ((QBrush*)((char*)$c.d+sizeof(QAtomicInt))+16)->d,
- NoRole_active:
- ((QBrush*)((char*)$c.d+sizeof(QAtomicInt))+17)->d,
- ToolTipBase_active:
- ((QBrush*)((char*)$c.d+sizeof(QAtomicInt))+18)->d,
- ToolTipText_active:
- ((QBrush*)((char*)$c.d+sizeof(QAtomicInt))+19)->d,
-
- WindowText_disabled:
- ((QBrush*)((char*)$c.d+sizeof(QAtomicInt))+20+ 0)->d,
- Button_disabled:
- ((QBrush*)((char*)$c.d+sizeof(QAtomicInt))+20+ 1)->d,
- Light_disabled:
- ((QBrush*)((char*)$c.d+sizeof(QAtomicInt))+20+ 2)->d,
- Midlight_disabled:
- ((QBrush*)((char*)$c.d+sizeof(QAtomicInt))+20+ 3)->d,
- Dark_disabled:
- ((QBrush*)((char*)$c.d+sizeof(QAtomicInt))+20+ 4)->d,
- Mid_disabled:
- ((QBrush*)((char*)$c.d+sizeof(QAtomicInt))+20+ 5)->d,
- Text_disabled:
- ((QBrush*)((char*)$c.d+sizeof(QAtomicInt))+20+ 6)->d,
- BrightText_disabled:
- ((QBrush*)((char*)$c.d+sizeof(QAtomicInt))+20+ 7)->d,
- ButtonText_disabled:
- ((QBrush*)((char*)$c.d+sizeof(QAtomicInt))+20+ 8)->d,
- Base_disabled:
- ((QBrush*)((char*)$c.d+sizeof(QAtomicInt))+20+ 9)->d,
- Window_disabled:
- ((QBrush*)((char*)$c.d+sizeof(QAtomicInt))+20+10)->d,
- Shadow_disabled:
- ((QBrush*)((char*)$c.d+sizeof(QAtomicInt))+20+11)->d,
- Highlight_disabled:
- ((QBrush*)((char*)$c.d+sizeof(QAtomicInt))+20+12)->d,
- HighlightedText_disabled:
- ((QBrush*)((char*)$c.d+sizeof(QAtomicInt))+20+13)->d,
- Link_disabled:
- ((QBrush*)((char*)$c.d+sizeof(QAtomicInt))+20+14)->d,
- LinkVisited_disabled:
- ((QBrush*)((char*)$c.d+sizeof(QAtomicInt))+20+15)->d,
- AlternateBase_disabled:
- ((QBrush*)((char*)$c.d+sizeof(QAtomicInt))+20+16)->d,
- NoRole_disabled:
- ((QBrush*)((char*)$c.d+sizeof(QAtomicInt))+20+17)->d,
- ToolTipBase_disabled:
- ((QBrush*)((char*)$c.d+sizeof(QAtomicInt))+20+18)->d,
- ToolTipText_disabled:
- ((QBrush*)((char*)$c.d+sizeof(QAtomicInt))+20+19)->d,
-
- WindowText_inactive:
- ((QBrush*)((char*)$c.d+sizeof(QAtomicInt))+40+ 0)->d,
- Button_inactive:
- ((QBrush*)((char*)$c.d+sizeof(QAtomicInt))+40+ 1)->d,
- Light_inactive:
- ((QBrush*)((char*)$c.d+sizeof(QAtomicInt))+40+ 2)->d,
- Midlight_inactive:
- ((QBrush*)((char*)$c.d+sizeof(QAtomicInt))+40+ 3)->d,
- Dark_inactive:
- ((QBrush*)((char*)$c.d+sizeof(QAtomicInt))+40+ 4)->d,
- Mid_inactive:
- ((QBrush*)((char*)$c.d+sizeof(QAtomicInt))+40+ 5)->d,
- Text_inactive:
- ((QBrush*)((char*)$c.d+sizeof(QAtomicInt))+40+ 6)->d,
- BrightText_inactive:
- ((QBrush*)((char*)$c.d+sizeof(QAtomicInt))+40+ 7)->d,
- ButtonText_inactive:
- ((QBrush*)((char*)$c.d+sizeof(QAtomicInt))+40+ 8)->d,
- Base_inactive:
- ((QBrush*)((char*)$c.d+sizeof(QAtomicInt))+40+ 9)->d,
- Window_inactive:
- ((QBrush*)((char*)$c.d+sizeof(QAtomicInt))+40+10)->d,
- Shadow_inactive:
- ((QBrush*)((char*)$c.d+sizeof(QAtomicInt))+40+11)->d,
- Highlight_inactive:
- ((QBrush*)((char*)$c.d+sizeof(QAtomicInt))+40+12)->d,
- HighlightedText_inactive:
- ((QBrush*)((char*)$c.d+sizeof(QAtomicInt))+40+13)->d,
- Link_inactive:
- ((QBrush*)((char*)$c.d+sizeof(QAtomicInt))+40+14)->d,
- LinkVisited_inactive:
- ((QBrush*)((char*)$c.d+sizeof(QAtomicInt))+40+15)->d,
- AlternateBase_inactive:
- ((QBrush*)((char*)$c.d+sizeof(QAtomicInt))+40+16)->d,
- NoRole_inactive:
- ((QBrush*)((char*)$c.d+sizeof(QAtomicInt))+40+17)->d,
- ToolTipBase_inactive:
- ((QBrush*)((char*)$c.d+sizeof(QAtomicInt))+40+18)->d,
- ToolTipText_inactive:
- ((QBrush*)((char*)$c.d+sizeof(QAtomicInt))+40+19)->d
- )
- )
-}
-
-*::QPalette{
- children
- (
- #(
- WindowText_active:
- (($T1::QBrush*)((char*)$c.d+sizeof(QAtomicInt))+ 0)->d,
- Button_active:
- (($T1::QBrush*)((char*)$c.d+sizeof(QAtomicInt))+ 1)->d,
- Light_active:
- (($T1::QBrush*)((char*)$c.d+sizeof(QAtomicInt))+ 2)->d,
- Midlight_active:
- (($T1::QBrush*)((char*)$c.d+sizeof(QAtomicInt))+ 3)->d,
- Dark_active:
- (($T1::QBrush*)((char*)$c.d+sizeof(QAtomicInt))+ 4)->d,
- Mid_active:
- (($T1::QBrush*)((char*)$c.d+sizeof(QAtomicInt))+ 5)->d,
- Text_active:
- (($T1::QBrush*)((char*)$c.d+sizeof(QAtomicInt))+ 6)->d,
- BrightText_active:
- (($T1::QBrush*)((char*)$c.d+sizeof(QAtomicInt))+ 7)->d,
- ButtonText_active:
- (($T1::QBrush*)((char*)$c.d+sizeof(QAtomicInt))+ 8)->d,
- Base_active:
- (($T1::QBrush*)((char*)$c.d+sizeof(QAtomicInt))+ 9)->d,
- Window_active:
- (($T1::QBrush*)((char*)$c.d+sizeof(QAtomicInt))+10)->d,
- Shadow_active:
- (($T1::QBrush*)((char*)$c.d+sizeof(QAtomicInt))+11)->d,
- Highlight_active:
- (($T1::QBrush*)((char*)$c.d+sizeof(QAtomicInt))+12)->d,
- HighlightedText_active:
- (($T1::QBrush*)((char*)$c.d+sizeof(QAtomicInt))+13)->d,
- Link_active:
- (($T1::QBrush*)((char*)$c.d+sizeof(QAtomicInt))+14)->d,
- LinkVisited_active:
- (($T1::QBrush*)((char*)$c.d+sizeof(QAtomicInt))+15)->d,
- AlternateBase_active:
- (($T1::QBrush*)((char*)$c.d+sizeof(QAtomicInt))+16)->d,
- NoRole_active:
- (($T1::QBrush*)((char*)$c.d+sizeof(QAtomicInt))+17)->d,
- ToolTipBase_active:
- (($T1::QBrush*)((char*)$c.d+sizeof(QAtomicInt))+18)->d,
- ToolTipText_active:
- (($T1::QBrush*)((char*)$c.d+sizeof(QAtomicInt))+19)->d,
-
- WindowText_disabled:
- (($T1::QBrush*)((char*)$c.d+sizeof(QAtomicInt))+20+ 0)->d,
- Button_disabled:
- (($T1::QBrush*)((char*)$c.d+sizeof(QAtomicInt))+20+ 1)->d,
- Light_disabled:
- (($T1::QBrush*)((char*)$c.d+sizeof(QAtomicInt))+20+ 2)->d,
- Midlight_disabled:
- (($T1::QBrush*)((char*)$c.d+sizeof(QAtomicInt))+20+ 3)->d,
- Dark_disabled:
- (($T1::QBrush*)((char*)$c.d+sizeof(QAtomicInt))+20+ 4)->d,
- Mid_disabled:
- (($T1::QBrush*)((char*)$c.d+sizeof(QAtomicInt))+20+ 5)->d,
- Text_disabled:
- (($T1::QBrush*)((char*)$c.d+sizeof(QAtomicInt))+20+ 6)->d,
- BrightText_disabled:
- (($T1::QBrush*)((char*)$c.d+sizeof(QAtomicInt))+20+ 7)->d,
- ButtonText_disabled:
- (($T1::QBrush*)((char*)$c.d+sizeof(QAtomicInt))+20+ 8)->d,
- Base_disabled:
- (($T1::QBrush*)((char*)$c.d+sizeof(QAtomicInt))+20+ 9)->d,
- Window_disabled:
- (($T1::QBrush*)((char*)$c.d+sizeof(QAtomicInt))+20+10)->d,
- Shadow_disabled:
- (($T1::QBrush*)((char*)$c.d+sizeof(QAtomicInt))+20+11)->d,
- Highlight_disabled:
- (($T1::QBrush*)((char*)$c.d+sizeof(QAtomicInt))+20+12)->d,
- HighlightedText_disabled:
- (($T1::QBrush*)((char*)$c.d+sizeof(QAtomicInt))+20+13)->d,
- Link_disabled:
- (($T1::QBrush*)((char*)$c.d+sizeof(QAtomicInt))+20+14)->d,
- LinkVisited_disabled:
- (($T1::QBrush*)((char*)$c.d+sizeof(QAtomicInt))+20+15)->d,
- AlternateBase_disabled:
- (($T1::QBrush*)((char*)$c.d+sizeof(QAtomicInt))+20+16)->d,
- NoRole_disabled:
- (($T1::QBrush*)((char*)$c.d+sizeof(QAtomicInt))+20+17)->d,
- ToolTipBase_disabled:
- (($T1::QBrush*)((char*)$c.d+sizeof(QAtomicInt))+20+18)->d,
- ToolTipText_disabled:
- (($T1::QBrush*)((char*)$c.d+sizeof(QAtomicInt))+20+19)->d,
-
- WindowText_inactive:
- (($T1::QBrush*)((char*)$c.d+sizeof(QAtomicInt))+40+ 0)->d,
- Button_inactive:
- (($T1::QBrush*)((char*)$c.d+sizeof(QAtomicInt))+40+ 1)->d,
- Light_inactive:
- (($T1::QBrush*)((char*)$c.d+sizeof(QAtomicInt))+40+ 2)->d,
- Midlight_inactive:
- (($T1::QBrush*)((char*)$c.d+sizeof(QAtomicInt))+40+ 3)->d,
- Dark_inactive:
- (($T1::QBrush*)((char*)$c.d+sizeof(QAtomicInt))+40+ 4)->d,
- Mid_inactive:
- (($T1::QBrush*)((char*)$c.d+sizeof(QAtomicInt))+40+ 5)->d,
- Text_inactive:
- (($T1::QBrush*)((char*)$c.d+sizeof(QAtomicInt))+40+ 6)->d,
- BrightText_inactive:
- (($T1::QBrush*)((char*)$c.d+sizeof(QAtomicInt))+40+ 7)->d,
- ButtonText_inactive:
- (($T1::QBrush*)((char*)$c.d+sizeof(QAtomicInt))+40+ 8)->d,
- Base_inactive:
- (($T1::QBrush*)((char*)$c.d+sizeof(QAtomicInt))+40+ 9)->d,
- Window_inactive:
- (($T1::QBrush*)((char*)$c.d+sizeof(QAtomicInt))+40+10)->d,
- Shadow_inactive:
- (($T1::QBrush*)((char*)$c.d+sizeof(QAtomicInt))+40+11)->d,
- Highlight_inactive:
- (($T1::QBrush*)((char*)$c.d+sizeof(QAtomicInt))+40+12)->d,
- HighlightedText_inactive:
- (($T1::QBrush*)((char*)$c.d+sizeof(QAtomicInt))+40+13)->d,
- Link_inactive:
- (($T1::QBrush*)((char*)$c.d+sizeof(QAtomicInt))+40+14)->d,
- LinkVisited_inactive:
- (($T1::QBrush*)((char*)$c.d+sizeof(QAtomicInt))+40+15)->d,
- AlternateBase_inactive:
- (($T1::QBrush*)((char*)$c.d+sizeof(QAtomicInt))+40+16)->d,
- NoRole_inactive:
- (($T1::QBrush*)((char*)$c.d+sizeof(QAtomicInt))+40+17)->d,
- ToolTipBase_inactive:
- (($T1::QBrush*)((char*)$c.d+sizeof(QAtomicInt))+40+18)->d,
- ToolTipText_inactive:
- (($T1::QBrush*)((char*)$c.d+sizeof(QAtomicInt))+40+19)->d
- )
- )
-}
-
-;------------------------------------------------------------------------------
-; QBrush
-;------------------------------------------------------------------------------
-QBrush|*::QBrush{
- preview
- (
- #(
- "[", $c.d->style, "] (...)"
- )
- )
- children
- (
- #(
- style: $c.d->style,
- color: $c.d->color,
- transform: $c.d->transform
- )
- )
-}
-
-QBrushData|*::QBrushData{
- preview
- (
- #(
- "[", $c.style, "] (...)"
- )
- )
- children
- (
- #(
- style: $c.style,
- color: $c.color,
- transform: $c.transform
- )
- )
-}
-
-;------------------------------------------------------------------------------
-; QColor
-;------------------------------------------------------------------------------
-QColor|*::QColor{
- preview
- (
- #(
- #if ($c.cspec == 1) (
- #(
- "[", $c.cspec, "] [", "r = ", [$c.ct.argb.red,x],
- ", g = ", [$c.ct.argb.green,x],
- ", b = ", [$c.ct.argb.blue,x], "] (...)"
- )
- ) #elif ($c.cspec == 2) (
- #(
- "[", $c.cspec, "] [", "h = ", [$c.ct.ahsv.hue,x],
- ", s = ", [$c.ct.ahsv.saturation,x],
- ", v = ", [$c.ct.ahsv.value,x], "] (...)"
- )
- ) #elif ($c.cspec == 3) (
- #(
- "[", $c.cspec, "] [", "c = ", [$c.ct.acmyk.cyan,x],
- ", m = ", [$c.ct.acmyk.magenta,x],
- ", y = ", [$c.ct.acmyk.yellow,x],
- ", k = ", [$c.ct.acmyk.black,x], "] (...)"
- )
- ) #else (
- #(
- "[Invalid]"
- )
- )
- )
- )
- children
- (
- #(
- #if ($c.cspec == 1) (
- #(
- red: [$c.ct.argb.red,x],
- green: [$c.ct.argb.green,x],
- blue: [$c.ct.argb.blue,x],
- alpha: [$c.ct.argb.alpha,x],
- pad: [$c.ct.argb.pad,x]
- )
- ) #elif ($c.cspec == 2) (
- #(
- hue: [$c.ct.ahsv.hue,x],
- saturation: [$c.ct.ahsv.saturation,x],
- value: [$c.ct.ahsv.value,x],
- alpha: [$c.ct.ahsv.alpha,x],
- pad: [$c.ct.ahsv.pad,x]
- )
- ) #elif ($c.cspec == 3) (
- #(
- cyan: [$c.ct.acmyk.cyan,x],
- magenta: [$c.ct.acmyk.magenta,x],
- yellow: [$c.ct.acmyk.yellow,x],
- black: [$c.ct.acmyk.black,x],
- alpha: [$c.ct.acmyk.alpha,x]
- )
- )
- )
- )
-}
-
-;------------------------------------------------------------------------------
-; QTransform
-;------------------------------------------------------------------------------
-QTransform|*::QTransform{
- preview
- (
- #(
- "[",[$c.affine._m11,g]," ",[$c.affine._m12,g]," ",[$c.m_13,g],"]",
- "[",[$c.affine._m21,g]," ",[$c.affine._m22,g]," ",[$c.m_23,g],"]",
- "[",[$c.affine._dx,g]," ",[$c.affine._dy,g]," ",[$c.m_33,g],"]"
- )
- )
- children
- (
- #(
- translation_horizontal_m31_dx: [$c.affine._dx,g],
- translation_vertical_m32_dy: [$c.affine._dy,g],
- scaling_horizontal_m11: [$c.affine._m11,g],
- scaling_vertical_m22: [$c.affine._m22,g],
- projection_factor_m33: [$c.m_33,g],
- projection_horizontal_m13: [$c.m_13,g],
- projection_vertical_m23: [$c.m_23,g],
- shearing_horizontal_m21: [$c.affine._m21,g],
- shearing_vertical_m12: [$c.affine._m12,g],
- type: $c.m_type,
- dirty: (bool)$c.m_dirty
- )
- )
-}
-
-;------------------------------------------------------------------------------
-; QMatrix
-;------------------------------------------------------------------------------
-QMatrix|*::QMatrix{
- preview
- (
- #(
- "[",[$c._m11,g]," ",[$c._m12,g],"]",
- "[",[$c._m21,g]," ",[$c._m22,g],"]",
- "[",[$c._dx,g]," ",[$c._dy,g],"]"
- )
- )
- children
- (
- #(
- translation_horizontal_dx: [$c._dx,g],
- translation_vertical_dy: [$c._dy,g],
- scaling_horizontal_m11: [$c._m11,g],
- scaling_vertical_m22: [$c._m22,g],
- shearing_horizontal_m21: [$c._m21,g],
- shearing_vertical_m12: [$c._m12,g]
- )
- )
-}
-
-;------------------------------------------------------------------------------
-; QPolygon
-;------------------------------------------------------------------------------
-QPolygon{
- preview
- (
- #(
- "[", ((QVector<QPoint>*)(&$c))->d->size, "] (...)"
- )
- )
- children
- (
- #(
- #array
- (
- expr: ((QPoint*)(((void*)$c.d) + sizeof(QVectorData)))[$i],
- size: ((QVector<QPoint>*)(&$c))->d->size
- )
- )
- )
-}
-*::QPolygon{
- preview
- (
- #(
- "[", (($T1::QVector<$T1::QPoint>*)(&$c))->d->size, "] (...)"
- )
- )
- children
- (
- #(
- #array
- (
- expr: (($T1::QPoint*)(((void*)$c.d) + sizeof(QVectorData)))[$i],
- size: (($T1::QVector<$T1::QPoint>*)(&$c))->d->size
- )
- )
- )
-}
-
-;------------------------------------------------------------------------------
-; QPolygonF
-;------------------------------------------------------------------------------
-QPolygonF{
- preview
- (
- #(
- "[", ((QVector<QPointF>*)(&$c))->d->size, "] (...)"
- )
- )
- children
- (
- #(
- #array
- (
- expr: ((QVector<QPointF>*)(&$c))->p->array[$i],
- size: ((QVector<QPointF>*)(&$c))->d->size
- )
- )
- )
-}
-
-*::QPolygonF{
- preview
- (
- #(
- "[", (($T1::QVector<$T1::QPointF>*)(&$c))->d->size, "] (...)"
- )
- )
- children
- (
- #(
- #array
- (
- expr: (($T1::QVector<$T1::QPointF>*)(&$c))->p->array[$i],
- size: (($T1::QVector<$T1::QPointF>*)(&$c))->d->size
- )
- )
- )
-}
-
-;------------------------------------------------------------------------------
-; The Qt Company Ltd. Qt 5.x visualizers -------------------------------------------[ end ]--
-;QT_DEBUG_END
diff --git a/tools/Qt4EEAddin/autoexp.dat-visualizer2013 b/tools/Qt4EEAddin/autoexp.dat-visualizer2013
deleted file mode 100644
index 2f4ea207..00000000
--- a/tools/Qt4EEAddin/autoexp.dat-visualizer2013
+++ /dev/null
@@ -1,1481 +0,0 @@
-;QT_DEBUG_START
-; The Qt Company Ltd. Qt 5.x visualizers -----------------------------------------[ start ]--
-;------------------------------------------------------------------------------
-; Feel free to modify these visualizers to suit yours needs! But please let us
-; know about the changes you make, so we continuously improve the visualizers.
-
-QString|*::QString{
- preview ([(unsigned short*)$e.d + $e.d->offset/2,su])
- stringview ([(unsigned short*)$e.d + $e.d->offset/2,sub])
- children
- (
- #(
- d: $c.d,
- [size]: $c.d->size,
- [referenced]: $c.d->ref.atomic._q_value
- )
- )
-}
-
-QByteArray|*::QByteArray{
- preview ([(char*)$e.d + $e.d->offset,s])
- stringview ([(char*)$e.d + $e.d->offset,sb])
- children
- (
- #(
- d: $c.d,
- [size]: $c.d->size,
- [referenced]: $c.d->ref._q_value
- )
- )
-}
-
-QFileInfo|*::QFileInfo{
- preview
- (
- #(
- "private=", $c.d_ptr
- )
- )
-}
-
-QUrl|*::QUrl{
- preview
- (
- #if ($e.d.stateFlags == 0) (
- $e.d
- ) #else (
- #( $e.d->scheme, $e.d->host, $e.d->path )
- )
- )
- children
- (
- #(
- scheme: $c.d->scheme,
- host: $c.d->host,
- path: $c.d->path,
- username: $c.d->userName,
- password: $c.d->password,
- encodedOriginal: $c.d->encodedOriginal,
- query: $c.d->query,
- fragment: $c.d->fragment
- )
- )
-}
-
-QTime|*::QTime{
- preview
- (
- #(
- "hour=", [$e.mds / 3600000, d],
- ", minute=", [($e.mds % 3600000) / 60000, d],
- ", second=", [($e.mds / 1000) % 60, d],
- ", millisecond=", [$e.mds % 1000, d]
- )
- )
- children
- (
- #(
- [hour]: [$e.mds / 3600000, d],
- [minute]: [($e.mds % 3600000) / 60000, d],
- [second]: [($e.mds / 1000) % 60, d],
- [millisecond]: [$e.mds % 1000, d]
- )
- )
-}
-
-QVariant{
- preview
- (
- #if ($e.d.type == 1) (
- #("bool = ", [$e.d.data.b])
- ) #elif ($e.d.type == 2) (
- #("int = ", [$e.d.data.i])
- ) #elif ($e.d.type == 3) (
- #("usigned int = ", [$e.d.data.u])
- ) #elif ($e.d.type == 4) (
- #("long long = ", [$e.d.data.ll])
- ) #elif ($e.d.type == 5) (
- #("unsigned long long = ", [$e.d.data.ull])
- ) #elif ($e.d.type == 6) (
- #("double = ", [$e.d.data.d])
- ) #elif ($e.d.type == 7) (
- #("char = ", [$e.d.data.c])
- ) #elif ($e.d.type == 8) (
- #("QMap = ", [(QMap) $e.d.data.ptr])
- ) #elif ($e.d.type == 10) (
- #("QString = ", [(QString) $e.d.data.ptr])
- ) #elif ($e.d.type == 11) (
- #("QStringList = ", [(QStringList) $e.d.data.ptr])
- ) #elif ($e.d.type == 17) (
- #("QUrl = ", [(QUrl) $e.d.data.ptr])
- ) #else (
- #("type = ", [$e.d.type])
- )
- )
- children
- (
- #if ($e.d.type == 1) (
- $c.d.data.b
- ) #elif ($e.d.type == 2) (
- $c.d.data.i
- ) #elif ($e.d.type == 3) (
- $c.d.data.u
- ) #elif ($e.d.type == 4) (
- $c.d.data.ll
- ) #elif ($e.d.type == 5) (
- $c.d.data.ull
- ) #elif ($e.d.type == 6) (
- $c.d.data.d
- ) #elif ($e.d.type == 7) (
- $c.d.data.c
- ) #elif ($e.d.type == 8) (
- ) #elif ($e.d.type == 10) (
- #(
- [size]: ((QString) $c.d.data.ptr).d->size
- )
- ) #elif ($e.d.type == 11) (
- #if ((((QStringList) $e.d.data.ptr).d->end - ((QStringList) $e.d.data.ptr).d->begin) <= 10) (
- #array
- (
- expr: (QString)((((QStringList) $e.d.data.ptr).d->array + ((QStringList) $e.d.data.ptr).d->begin)[$i]),
- size: ((QStringList) $e.d.data.ptr).d->end-((QStringList) $e.d.data.ptr).d->begin
- )
- ) #else (
- #array
- (
- expr: (QString)((((QStringList) $e.d.data.ptr).d->array + ((QStringList) $e.d.data.ptr).d->begin)[$i]),
- size: 10
- )
- )
- ) #elif ($e.d.type == 17) (
- #(
- scheme: ((QUrl) $e.d.data.ptr).d->scheme,
- host: ((QUrl) $e.d.data.ptr).d->host,
- path: ((QUrl) $e.d.data.ptr).d->path,
- username: ((QUrl) $e.d.data.ptr).d->userName,
- password: ((QUrl) $e.d.data.ptr).d->password,
- encodedOriginal: ((QUrl) $e.d.data.ptr).d->encodedOriginal,
- query: ((QUrl) $e.d.data.ptr).d->query,
- fragment: ((QUrl) $e.d.data.ptr).d->fragment
- )
- ) #else (
- #("type = ", [$e.d.type])
- )
- )
-}
-
-*::QVariant{
- preview
- (
- #if ($e.d.type == 1) (
- #("bool = ", [$e.d.data.b])
- ) #elif ($e.d.type == 2) (
- #("int = ", [$e.d.data.i])
- ) #elif ($e.d.type == 3) (
- #("usigned int = ", [$e.d.data.u])
- ) #elif ($e.d.type == 4) (
- #("long long = ", [$e.d.data.ll])
- ) #elif ($e.d.type == 5) (
- #("unsigned long long = ", [$e.d.data.ull])
- ) #elif ($e.d.type == 6) (
- #("double = ", [$e.d.data.d])
- ) #elif ($e.d.type == 7) (
- #("char = ", [$e.d.data.c])
- ) #elif ($e.d.type == 8) (
- #("QMap = ", [($T1::QMap) $e.d.data.ptr])
- ) #elif ($e.d.type == 10) (
- #("QString = ", [($T1::QString) $e.d.data.ptr])
- ) #elif ($e.d.type == 11) (
- #("QStringList = ", [($T1::QStringList) $e.d.data.ptr])
- ) #elif ($e.d.type == 17) (
- #("QUrl = ", [($T1::QUrl) $e.d.data.ptr])
- ) #else (
- #("type = ", [$e.d.type])
- )
- )
- children
- (
- #if ($e.d.type == 1) (
- $c.d.data.b
- ) #elif ($e.d.type == 2) (
- $c.d.data.i
- ) #elif ($e.d.type == 3) (
- $c.d.data.u
- ) #elif ($e.d.type == 4) (
- $c.d.data.ll
- ) #elif ($e.d.type == 5) (
- $c.d.data.ull
- ) #elif ($e.d.type == 6) (
- $c.d.data.d
- ) #elif ($e.d.type == 7) (
- $c.d.data.c
- ) #elif ($e.d.type == 8) (
- ) #elif ($e.d.type == 10) (
- #(
- [size]: (($T1::QString) $c.d.data.ptr).d->size
- )
- ) #elif ($e.d.type == 11) (
- #if (((($T1::QStringList) $e.d.data.ptr).d->end - (($T1::QStringList) $e.d.data.ptr).d->begin) <= 10) (
- #array
- (
- expr: ($T1::QString)(((($T1::QStringList) $e.d.data.ptr).d->array + (($T1::QStringList) $e.d.data.ptr).d->begin)[$i]),
- size: (($T1::QStringList) $e.d.data.ptr).d->end-(($T1::QStringList) $e.d.data.ptr).d->begin
- )
- ) #else (
- #array
- (
- expr: ($T1::QString)(((($T1::QStringList) $e.d.data.ptr).d->array + (($T1::QStringList) $e.d.data.ptr).d->begin)[$i]),
- size: 10
- )
- )
- ) #elif ($e.d.type == 17) (
- #(
- scheme: (($T1::QUrl) $e.d.data.ptr).d->scheme,
- host: (($T1::QUrl) $e.d.data.ptr).d->host,
- path: (($T1::QUrl) $e.d.data.ptr).d->path,
- username: (($T1::QUrl) $e.d.data.ptr).d->userName,
- password: (($T1::QUrl) $e.d.data.ptr).d->password,
- encodedOriginal: (($T1::QUrl) $e.d.data.ptr).d->encodedOriginal,
- query: (($T1::QUrl) $e.d.data.ptr).d->query,
- fragment: (($T1::QUrl) $e.d.data.ptr).d->fragment
- )
- ) #else (
- #("type = ", [$e.d.type])
- )
- )
-}
-
-;------------------------------------------------------------------------------
-; QStringList
-;------------------------------------------------------------------------------
-QStringList{
- preview
- (
- #if (($c.d->end - $c.d->begin) <= 10) (
- #(
- "[", $c.d->end - $c.d->begin, "](",
- #array
- (
- expr: (QString)(($c.d->array + $c.d->begin)[$i]),
- size: $c.d->end-$c.d->begin
- ), ")"
- )
- ) #else (
- #(
- "[", $c.d->end - $c.d->begin, "](",
- #array
- (
- expr: (QString)(($c.d->array + $c.d->begin)[$i]),
- size: 10
- ), ", ...)"
- )
- )
- )
-}
-
-*::QStringList{
- preview
- (
- #if (($c.d->end - $c.d->begin) <= 10) (
- #(
- "[", $c.d->end - $c.d->begin, "](",
- #array
- (
- expr: ($T1::QString)(($c.d->array + $c.d->begin)[$i]),
- size: $c.d->end-$c.d->begin
- ), ")"
- )
- ) #else (
- #(
- "[", $c.d->end - $c.d->begin, "](",
- #array
- (
- expr: ($T1::QString)(($c.d->array + $c.d->begin)[$i]),
- size: 10
- ), ", ...)"
- )
- )
- )
-}
-
-;------------------------------------------------------------------------------
-; QList, QQueue
-;------------------------------------------------------------------------------
-QList<*>|QQueue<*>{
- preview
- (
- #if (int(sizeof($T1)) <= int(sizeof(void*))) (
- #if (($c.d->end - $c.d->begin) <= 10) (
- #(
- "[", $c.d->end - $c.d->begin, "](",
- #array
- (
- expr: ($T1)(($c.d->array + $c.d->begin)[$i]),
- size: $c.d->end-$c.d->begin
- ), ")"
- )
- ) #else (
- #(
- "[", $c.d->end - $c.d->begin, "](",
- #array
- (
- expr: ($T1)(($c.d->array + $c.d->begin)[$i]),
- size: 10
- ), ", ...)"
- )
- )
- ) #else (
- #if (($c.d->end - $c.d->begin) <= 10) (
- #(
- "[", $c.d->end - $c.d->begin, "](",
- #array
- (
- expr: *($T1*)(($c.d->array + $c.d->begin)[$i]),
- size: $c.d->end-$c.d->begin
- ), ")"
- )
- ) #else (
- #(
- "[", $c.d->end - $c.d->begin, "](",
- #array
- (
- expr: *($T1*)(($c.d->array + $c.d->begin)[$i]),
- size: 10
- ), ", ...)"
- )
- )
- )
- )
- children
- (
- #if (int(sizeof($T1)) <= int(sizeof(void*))) (
- #array (
- expr: ($T1)(($c.d->array + $c.d->begin)[$i]),
- size: $c.d->end - $c.d->begin
- )
- ) #else (
- #array (
- expr: *($T1*)(($c.d->array + $c.d->begin)[$i]),
- size: $c.d->end - $c.d->begin
- )
- )
- )
-}
-
-*::QList<*>|*::QQueue<*>{
- preview
- (
- #if (int(sizeof($T2)) <= int(sizeof(void*))) (
- #if (($c.d->end - $c.d->begin) <= 10) (
- #(
- "[", $c.d->end - $c.d->begin, "](",
- #array
- (
- expr: ($T2)(($c.d->array + $c.d->begin)[$i]),
- size: $c.d->end-$c.d->begin
- ), ")"
- )
- ) #else (
- #(
- "[", $c.d->end - $c.d->begin, "](",
- #array
- (
- expr: ($T2)(($c.d->array + $c.d->begin)[$i]),
- size: 10
- ), ", ...)"
- )
- )
- ) #else (
- #if (($c.d->end - $c.d->begin) <= 10) (
- #(
- "[", $c.d->end - $c.d->begin, "](",
- #array
- (
- expr: *($T2*)(($c.d->array + $c.d->begin)[$i]),
- size: $c.d->end-$c.d->begin
- ), ")"
- )
- ) #else (
- #(
- "[", $c.d->end - $c.d->begin, "](",
- #array
- (
- expr: *($T2*)(($c.d->array + $c.d->begin)[$i]),
- size: 10
- ), ", ...)"
- )
- )
- )
- )
- children
- (
- #if (int(sizeof($T2)) <= int(sizeof(void*))) (
- #array (
- expr: ($T2)(($c.d->array + $c.d->begin)[$i]),
- size: $c.d->end - $c.d->begin
- )
- ) #else (
- #array (
- expr: *($T2*)(($c.d->array + $c.d->begin)[$i]),
- size: $c.d->end - $c.d->begin
- )
- )
- )
-}
-
-;------------------------------------------------------------------------------
-; QList::iterator, QQueue::iterator
-;------------------------------------------------------------------------------
-QList<*>::iterator|QList<*>::const_iterator|QQueue<*>::iterator|QQueue<*>::const_iterator{
- preview
- (
- #(
- ($T1*)$c.ptr
- )
- )
- children
- (
- #(
- ptr: ($T1)$c.ptr
- )
- )
-}
-
-*::QList<*>::iterator|*::QList<*>::const_iterator|*::QQueue<*>::iterator|*::QQueue<*>::const_iterator{
- preview
- (
- #(
- ($T2)$c.i->v
- )
- )
- children
- (
- #(
- ptr: ($T2)$c.i->v
- )
- )
-}
-
-;------------------------------------------------------------------------------
-; QListIterator
-;------------------------------------------------------------------------------
-QListIterator<*>|QMutableListIterator<*>{
- preview
- (
- #(
- *($T1*)($c.i.i->v)
- )
- )
- children
- (
- #(
- Value: *($T1*)($c.i.i->v)
- )
- )
-}
-
-*::QListIterator<*>|*::QMutableListIterator<*>{
- preview
- (
- #(
- *($T2*)($c.i.i->v)
- )
- )
- children
- (
- #(
- Value: *($T2*)($c.i.i->v)
- )
- )
-}
-
-;------------------------------------------------------------------------------
-; QLinkedList
-;------------------------------------------------------------------------------
-QLinkedList<*>{
- preview
- (
- #if ($e.d->size >= 10) (
- #(
- "[", $e.d->size, "](",
- #list
- (
- head: $c.d->n,
- size: 10,
- next: n
- ) : ( (*(QLinkedListNode<$T1>*)&$e).t ), ", ...)"
- )
- ) #else (
- #(
- "[", $e.d->size, "](",
- #list
- (
- head: $c.d->n,
- size: $c.d->size,
- next: n
- ) : ( (*(QLinkedListNode<$T1>*)&$e).t ), ")"
- )
- )
- )
- children
- (
- #(
- #list
- (
- head: $c.d->n,
- size: $c.d->size,
- next: n
- ) : (*(QLinkedListNode<$T1>*)&$e).t
- )
- )
-}
-
-*::QLinkedList<*>{
- preview
- (
- #if ($e.d->size >= 10) (
- #(
- "[", $e.d->size, "](",
- #list
- (
- head: $c.d->n,
- size: 10,
- next: n
- ) : ( (*($T1::QLinkedListNode<$T2>*)&$e).t ), ", ...)"
- )
- ) #else (
- #(
- "[", $e.d->size, "](",
- #list
- (
- head: $c.d->n,
- size: $c.d->size,
- next: n
- ) : ( (*($T1::QLinkedListNode<$T2>*)&$e).t ), ")"
- )
- )
- )
- children
- (
- #(
- #list
- (
- head: $c.d->n,
- size: $c.d->size,
- next: n
- ) : (*($T1::QLinkedListNode<$T2>*)&$e).t
- )
- )
-}
-
-;------------------------------------------------------------------------------
-; QLinkedList::iterator
-;------------------------------------------------------------------------------
-QLinkedList<*>::iterator|*::QLinkedList<*>::iterator|QLinkedList<*>::const_iterator|*::QLinkedList<*>::const_iterator{
- preview
- (
- #(
- $e.i->t
- )
- )
- children
- (
- #(
- ptr: $e.i->t
- )
- )
-}
-
-QLinkedListIterator<*>|*::QLinkedListIterator<*>{
- preview
- (
- #(
- $c.i
- )
- )
- children
- (
- #(
- value: $c.i
- )
- )
-}
-
-;------------------------------------------------------------------------------
-; QVector, QStack
-;
-; By default, this visualizer supports only Qt 4.6.x. If you're going to use
-; Qt 4.5.x code, then you may want to replace all expr lines with this:
-; expr: (((size_t)($c.d) + (size_t)(sizeof(QVectorData)) ))[$i],
-;
-; This will allow this visualizer to display Qt 4.5.x and Qt 4.6.x QVector
-; objects. But be aware of some limitations. For example enum types can't be
-; displayed properly this way.
-;
-; Qt 4.5.x:
-; QVector::d is QVectorTypedData<T>
-; QVector::p is QVectorData
-; expr: $c.d->array[$i]
-;
-; Qt 4.6.x:
-; QVector::d is QVectorData
-; QVector::p is QVectorTypedData<T>
-; expr: $c.p->array[$i]
-;
-;------------------------------------------------------------------------------
-QVector<*>|*::QVector<*>|QStack<*>|*::QStack<*>{
- preview
- (
- #if ($c.d->size <= 10) (
- #(
- "[", $c.d->size, "](",
- #array
- (
- expr: $c.p->array[$i],
- size: $c.d->size
- ), ")"
- )
- ) #else (
- #(
- "[", $c.d->size, "](",
- #array
- (
- expr: $c.p->array[$i],
- size: 10
- ), ", ...)"
- )
- )
- )
- children
- (
- #array
- (
- expr: $c.p->array[$i],
- size: $c.d->size
- )
- )
-}
-
-;------------------------------------------------------------------------------
-; QMap
-;------------------------------------------------------------------------------
-QMapNode<*,*>{
- preview
- (
- #(
- "(",
- $e.key,
- "; ",
- $e.value,
- ")"
- )
- )
-
- children
- (
- #(
- key: $e.key,
- value: $e.value
- )
- )
-}
-
-QMap<*>{
- children
- (
- #(
- raw data: [$c,!],
- #tree
- (
- head : $c.d->forward[0],
- skip : $c.d,
- size : $c.d->size,
- left : backward,
- right : forward
- ) : ( (QMapNode<$T1>*)((char*)&$e - (sizeof(QMapPayloadNode<$T1>) - sizeof(QMapData::Node*))) )
- )
- )
-
- preview
- (
- #(
- "[",
- $e.d->size,
- "](",
- #tree
- (
- head : $c.d->forward[0],
- size : $c.d->size,
- left : backward,
- right : forward
- ) : $e,
- ")"
- )
- )
-}
-
-;------------------------------------------------------------------------------
-; QHash
-;------------------------------------------------------------------------------
-QHash<*>{
- preview
- (
- #(
- "[", $e.d->size, "] (...)"
- )
- )
- children
- (
- #if ($e.d->size <= 255) (
- #(
- #array (
- expr: (QHashNode<$T1>*)$c.d->buckets[$i],
- size: $c.d->numBuckets
- ) : #list (
- head: $e,
- next: next
- ) : #switch ($e.next != 0) #case 1 (
- $e
- )
- )
- ) #else (
- #(
- #array (
- expr: (QHashNode<$T1>*)$c.d->buckets[$i],
- size: 255
- ) : #list (
- head: $e,
- next: next
- ) : #switch ($e.next != 0) #case 1 (
- $e
- )
- )
- )
- )
-}
-
-*::QHash<*>{
- preview
- (
- #(
- "[", $e.d->size, "] (...)"
- )
- )
- children
- (
- #if ($e.d->size <= 255) (
- #(
- #array (
- expr: ($T1::QHashNode<$T2> *)$c.d->buckets[$i],
- size: $c.d->numBuckets
- ) : #list (
- head: $e,
- next: next
- ) : #switch ($e.next != 0) #case 1 (
- $e
- )
- )
- ) #else (
- #(
- #array (
- expr: ($T1::QHashNode<$T2> *)$c.d->buckets[$i],
- size: 255
- ) : #list (
- head: $e,
- next: next
- ) : #switch ($e.next != 0) #case 1 (
- $e
- )
- )
- )
- )
-}
-
-;------------------------------------------------------------------------------
-; QMultiHash
-;------------------------------------------------------------------------------
-QMultiHash<*>{
- preview
- (
- (*(QHash<$T1>*)(&$c))
- )
-}
-
-*::QMultiHash<*>{
- preview
- (
- (*($T1::QHash<$T2>*)(&$c))
- )
-}
-
-;------------------------------------------------------------------------------
-; QHash::iterator
-;------------------------------------------------------------------------------
-QHash<*>::iterator{
- preview
- (
- #(
- "(", ((QHashNode<$T1>*)($c.i))->key, ", ", ((QHashNode<$T1>*)($c.i))->value, ")"
- )
- )
- children
- (
- #(
- key: ((QHashNode<$T1>*)($c.i))->key,
- value: ((QHashNode<$T1>*)($c.i))->value
- )
- )
-}
-
-*::QHash<*>::iterator{
- preview
- (
- #(
- "(", (($T1::QHashNode<$T2>*)($c.i))->key, ", ", (($T1::QHashNode<$T2>*)($c.i))->key, ")"
- )
- )
- children
- (
- #(
- key: (($T1::QHashNode<$T2>*)($c.i))->key,
- value: (($T1::QHashNode<$T2>*)($c.i))->value
- )
- )
-}
-
-;------------------------------------------------------------------------------
-; QHashIterator
-;------------------------------------------------------------------------------
-QHashIterator<*>{
- preview
- (
- #(
- "(", ((QHashNode<$T1>*)((($c).i).i))->key, ", ", ((QHashNode<$T1>*)((($c).i).i))->key, ")"
- )
- )
- children
- (
- #(
- key: ((QHashNode<$T1>*)((($c).i).i))->key,
- value: ((QHashNode<$T1>*)((($c).i).i))->value
- )
- )
-}
-
-*::QHashIterator<*>{
- preview
- (
- #(
- "(", (($T1::QHashNode<$T2>*)((($c).i).i))->key, ", ", (($T1::QHashNode<$T2>*)((($c).i).i))->key, ")"
- )
- )
- children
- (
- #(
- key: (($T1::QHashNode<$T2>*)((($c).i).i))->key,
- value: (($T1::QHashNode<$T2>*)((($c).i).i))->value
- )
- )
-}
-
-;------------------------------------------------------------------------------
-; QHashNode
-;------------------------------------------------------------------------------
-QHashNode<*>|*::QHashNode<*>{
- preview
- (
- #(
- "(key = ", $c.key,"; value = ", $c.value, ")"
- )
- )
- children
- (
- #(
- key: $c.key,
- value: $c.value
- )
- )
-}
-
-;------------------------------------------------------------------------------
-; QSet
-;------------------------------------------------------------------------------
-QSet<*>{
- preview
- (
- #(
- "[", $e.q_hash.d->size, "] (...)"
- )
- )
- children
- (
- #if ($e.q_hash.d->size <= 255) (
- #(
- #array (
- expr: (QHashNode<$T1,QHashDummyValue> *)$c.q_hash.d->buckets[$i],
- size: $c.q_hash.d->numBuckets
- ) : #list (
- head: $e,
- next: next
- ) : #switch ($e.next != 0) #case 1 (
- $e.key
- )
- )
- ) #else (
- #(
- #array (
- expr: (QHashNode<$T1,QHashDummyValue> *)$c.q_hash.d->buckets[$i],
- size: 255
- ) : #list (
- head: $e,
- next: next
- ) : #switch ($e.next != 0) #case 1 (
- $e.key
- )
- )
- )
- )
-}
-
-*::QSet<*>{
- preview
- (
- #(
- "[", $e.q_hash.d->size, "] (...)"
- )
- )
- children
- (
- #if ($e.q_hash.d->size <= 255) (
- #(
- #array (
- expr: ($T1::QHashNode<$T2,QHashDummyValue> *)$c.q_hash.d->buckets[$i],
- size: $c.q_hash.d->numBuckets
- ) : #list (
- head: $e,
- next: next
- ) : #switch ($e.next != 0) #case 1 (
- $e.key
- )
- )
- ) #else (
- #(
- #array (
- expr: ($T1::QHashNode<$T2,QHashDummyValue> *)$c.q_hash.d->buckets[$i],
- size: 255
- ) : #list (
- head: $e,
- next: next
- ) : #switch ($e.next != 0) #case 1 (
- $e.key
- )
- )
- )
- )
-}
-
-;------------------------------------------------------------------------------
-; QPalette
-;------------------------------------------------------------------------------
-QPalette{
- children
- (
- #(
- WindowText_active:
- ((QBrush*)((char*)$c.d+sizeof(QAtomicInt))+ 0)->d,
- Button_active:
- ((QBrush*)((char*)$c.d+sizeof(QAtomicInt))+ 1)->d,
- Light_active:
- ((QBrush*)((char*)$c.d+sizeof(QAtomicInt))+ 2)->d,
- Midlight_active:
- ((QBrush*)((char*)$c.d+sizeof(QAtomicInt))+ 3)->d,
- Dark_active:
- ((QBrush*)((char*)$c.d+sizeof(QAtomicInt))+ 4)->d,
- Mid_active:
- ((QBrush*)((char*)$c.d+sizeof(QAtomicInt))+ 5)->d,
- Text_active:
- ((QBrush*)((char*)$c.d+sizeof(QAtomicInt))+ 6)->d,
- BrightText_active:
- ((QBrush*)((char*)$c.d+sizeof(QAtomicInt))+ 7)->d,
- ButtonText_active:
- ((QBrush*)((char*)$c.d+sizeof(QAtomicInt))+ 8)->d,
- Base_active:
- ((QBrush*)((char*)$c.d+sizeof(QAtomicInt))+ 9)->d,
- Window_active:
- ((QBrush*)((char*)$c.d+sizeof(QAtomicInt))+10)->d,
- Shadow_active:
- ((QBrush*)((char*)$c.d+sizeof(QAtomicInt))+11)->d,
- Highlight_active:
- ((QBrush*)((char*)$c.d+sizeof(QAtomicInt))+12)->d,
- HighlightedText_active:
- ((QBrush*)((char*)$c.d+sizeof(QAtomicInt))+13)->d,
- Link_active:
- ((QBrush*)((char*)$c.d+sizeof(QAtomicInt))+14)->d,
- LinkVisited_active:
- ((QBrush*)((char*)$c.d+sizeof(QAtomicInt))+15)->d,
- AlternateBase_active:
- ((QBrush*)((char*)$c.d+sizeof(QAtomicInt))+16)->d,
- NoRole_active:
- ((QBrush*)((char*)$c.d+sizeof(QAtomicInt))+17)->d,
- ToolTipBase_active:
- ((QBrush*)((char*)$c.d+sizeof(QAtomicInt))+18)->d,
- ToolTipText_active:
- ((QBrush*)((char*)$c.d+sizeof(QAtomicInt))+19)->d,
-
- WindowText_disabled:
- ((QBrush*)((char*)$c.d+sizeof(QAtomicInt))+20+ 0)->d,
- Button_disabled:
- ((QBrush*)((char*)$c.d+sizeof(QAtomicInt))+20+ 1)->d,
- Light_disabled:
- ((QBrush*)((char*)$c.d+sizeof(QAtomicInt))+20+ 2)->d,
- Midlight_disabled:
- ((QBrush*)((char*)$c.d+sizeof(QAtomicInt))+20+ 3)->d,
- Dark_disabled:
- ((QBrush*)((char*)$c.d+sizeof(QAtomicInt))+20+ 4)->d,
- Mid_disabled:
- ((QBrush*)((char*)$c.d+sizeof(QAtomicInt))+20+ 5)->d,
- Text_disabled:
- ((QBrush*)((char*)$c.d+sizeof(QAtomicInt))+20+ 6)->d,
- BrightText_disabled:
- ((QBrush*)((char*)$c.d+sizeof(QAtomicInt))+20+ 7)->d,
- ButtonText_disabled:
- ((QBrush*)((char*)$c.d+sizeof(QAtomicInt))+20+ 8)->d,
- Base_disabled:
- ((QBrush*)((char*)$c.d+sizeof(QAtomicInt))+20+ 9)->d,
- Window_disabled:
- ((QBrush*)((char*)$c.d+sizeof(QAtomicInt))+20+10)->d,
- Shadow_disabled:
- ((QBrush*)((char*)$c.d+sizeof(QAtomicInt))+20+11)->d,
- Highlight_disabled:
- ((QBrush*)((char*)$c.d+sizeof(QAtomicInt))+20+12)->d,
- HighlightedText_disabled:
- ((QBrush*)((char*)$c.d+sizeof(QAtomicInt))+20+13)->d,
- Link_disabled:
- ((QBrush*)((char*)$c.d+sizeof(QAtomicInt))+20+14)->d,
- LinkVisited_disabled:
- ((QBrush*)((char*)$c.d+sizeof(QAtomicInt))+20+15)->d,
- AlternateBase_disabled:
- ((QBrush*)((char*)$c.d+sizeof(QAtomicInt))+20+16)->d,
- NoRole_disabled:
- ((QBrush*)((char*)$c.d+sizeof(QAtomicInt))+20+17)->d,
- ToolTipBase_disabled:
- ((QBrush*)((char*)$c.d+sizeof(QAtomicInt))+20+18)->d,
- ToolTipText_disabled:
- ((QBrush*)((char*)$c.d+sizeof(QAtomicInt))+20+19)->d,
-
- WindowText_inactive:
- ((QBrush*)((char*)$c.d+sizeof(QAtomicInt))+40+ 0)->d,
- Button_inactive:
- ((QBrush*)((char*)$c.d+sizeof(QAtomicInt))+40+ 1)->d,
- Light_inactive:
- ((QBrush*)((char*)$c.d+sizeof(QAtomicInt))+40+ 2)->d,
- Midlight_inactive:
- ((QBrush*)((char*)$c.d+sizeof(QAtomicInt))+40+ 3)->d,
- Dark_inactive:
- ((QBrush*)((char*)$c.d+sizeof(QAtomicInt))+40+ 4)->d,
- Mid_inactive:
- ((QBrush*)((char*)$c.d+sizeof(QAtomicInt))+40+ 5)->d,
- Text_inactive:
- ((QBrush*)((char*)$c.d+sizeof(QAtomicInt))+40+ 6)->d,
- BrightText_inactive:
- ((QBrush*)((char*)$c.d+sizeof(QAtomicInt))+40+ 7)->d,
- ButtonText_inactive:
- ((QBrush*)((char*)$c.d+sizeof(QAtomicInt))+40+ 8)->d,
- Base_inactive:
- ((QBrush*)((char*)$c.d+sizeof(QAtomicInt))+40+ 9)->d,
- Window_inactive:
- ((QBrush*)((char*)$c.d+sizeof(QAtomicInt))+40+10)->d,
- Shadow_inactive:
- ((QBrush*)((char*)$c.d+sizeof(QAtomicInt))+40+11)->d,
- Highlight_inactive:
- ((QBrush*)((char*)$c.d+sizeof(QAtomicInt))+40+12)->d,
- HighlightedText_inactive:
- ((QBrush*)((char*)$c.d+sizeof(QAtomicInt))+40+13)->d,
- Link_inactive:
- ((QBrush*)((char*)$c.d+sizeof(QAtomicInt))+40+14)->d,
- LinkVisited_inactive:
- ((QBrush*)((char*)$c.d+sizeof(QAtomicInt))+40+15)->d,
- AlternateBase_inactive:
- ((QBrush*)((char*)$c.d+sizeof(QAtomicInt))+40+16)->d,
- NoRole_inactive:
- ((QBrush*)((char*)$c.d+sizeof(QAtomicInt))+40+17)->d,
- ToolTipBase_inactive:
- ((QBrush*)((char*)$c.d+sizeof(QAtomicInt))+40+18)->d,
- ToolTipText_inactive:
- ((QBrush*)((char*)$c.d+sizeof(QAtomicInt))+40+19)->d
- )
- )
-}
-
-*::QPalette{
- children
- (
- #(
- WindowText_active:
- (($T1::QBrush*)((char*)$c.d+sizeof(QAtomicInt))+ 0)->d,
- Button_active:
- (($T1::QBrush*)((char*)$c.d+sizeof(QAtomicInt))+ 1)->d,
- Light_active:
- (($T1::QBrush*)((char*)$c.d+sizeof(QAtomicInt))+ 2)->d,
- Midlight_active:
- (($T1::QBrush*)((char*)$c.d+sizeof(QAtomicInt))+ 3)->d,
- Dark_active:
- (($T1::QBrush*)((char*)$c.d+sizeof(QAtomicInt))+ 4)->d,
- Mid_active:
- (($T1::QBrush*)((char*)$c.d+sizeof(QAtomicInt))+ 5)->d,
- Text_active:
- (($T1::QBrush*)((char*)$c.d+sizeof(QAtomicInt))+ 6)->d,
- BrightText_active:
- (($T1::QBrush*)((char*)$c.d+sizeof(QAtomicInt))+ 7)->d,
- ButtonText_active:
- (($T1::QBrush*)((char*)$c.d+sizeof(QAtomicInt))+ 8)->d,
- Base_active:
- (($T1::QBrush*)((char*)$c.d+sizeof(QAtomicInt))+ 9)->d,
- Window_active:
- (($T1::QBrush*)((char*)$c.d+sizeof(QAtomicInt))+10)->d,
- Shadow_active:
- (($T1::QBrush*)((char*)$c.d+sizeof(QAtomicInt))+11)->d,
- Highlight_active:
- (($T1::QBrush*)((char*)$c.d+sizeof(QAtomicInt))+12)->d,
- HighlightedText_active:
- (($T1::QBrush*)((char*)$c.d+sizeof(QAtomicInt))+13)->d,
- Link_active:
- (($T1::QBrush*)((char*)$c.d+sizeof(QAtomicInt))+14)->d,
- LinkVisited_active:
- (($T1::QBrush*)((char*)$c.d+sizeof(QAtomicInt))+15)->d,
- AlternateBase_active:
- (($T1::QBrush*)((char*)$c.d+sizeof(QAtomicInt))+16)->d,
- NoRole_active:
- (($T1::QBrush*)((char*)$c.d+sizeof(QAtomicInt))+17)->d,
- ToolTipBase_active:
- (($T1::QBrush*)((char*)$c.d+sizeof(QAtomicInt))+18)->d,
- ToolTipText_active:
- (($T1::QBrush*)((char*)$c.d+sizeof(QAtomicInt))+19)->d,
-
- WindowText_disabled:
- (($T1::QBrush*)((char*)$c.d+sizeof(QAtomicInt))+20+ 0)->d,
- Button_disabled:
- (($T1::QBrush*)((char*)$c.d+sizeof(QAtomicInt))+20+ 1)->d,
- Light_disabled:
- (($T1::QBrush*)((char*)$c.d+sizeof(QAtomicInt))+20+ 2)->d,
- Midlight_disabled:
- (($T1::QBrush*)((char*)$c.d+sizeof(QAtomicInt))+20+ 3)->d,
- Dark_disabled:
- (($T1::QBrush*)((char*)$c.d+sizeof(QAtomicInt))+20+ 4)->d,
- Mid_disabled:
- (($T1::QBrush*)((char*)$c.d+sizeof(QAtomicInt))+20+ 5)->d,
- Text_disabled:
- (($T1::QBrush*)((char*)$c.d+sizeof(QAtomicInt))+20+ 6)->d,
- BrightText_disabled:
- (($T1::QBrush*)((char*)$c.d+sizeof(QAtomicInt))+20+ 7)->d,
- ButtonText_disabled:
- (($T1::QBrush*)((char*)$c.d+sizeof(QAtomicInt))+20+ 8)->d,
- Base_disabled:
- (($T1::QBrush*)((char*)$c.d+sizeof(QAtomicInt))+20+ 9)->d,
- Window_disabled:
- (($T1::QBrush*)((char*)$c.d+sizeof(QAtomicInt))+20+10)->d,
- Shadow_disabled:
- (($T1::QBrush*)((char*)$c.d+sizeof(QAtomicInt))+20+11)->d,
- Highlight_disabled:
- (($T1::QBrush*)((char*)$c.d+sizeof(QAtomicInt))+20+12)->d,
- HighlightedText_disabled:
- (($T1::QBrush*)((char*)$c.d+sizeof(QAtomicInt))+20+13)->d,
- Link_disabled:
- (($T1::QBrush*)((char*)$c.d+sizeof(QAtomicInt))+20+14)->d,
- LinkVisited_disabled:
- (($T1::QBrush*)((char*)$c.d+sizeof(QAtomicInt))+20+15)->d,
- AlternateBase_disabled:
- (($T1::QBrush*)((char*)$c.d+sizeof(QAtomicInt))+20+16)->d,
- NoRole_disabled:
- (($T1::QBrush*)((char*)$c.d+sizeof(QAtomicInt))+20+17)->d,
- ToolTipBase_disabled:
- (($T1::QBrush*)((char*)$c.d+sizeof(QAtomicInt))+20+18)->d,
- ToolTipText_disabled:
- (($T1::QBrush*)((char*)$c.d+sizeof(QAtomicInt))+20+19)->d,
-
- WindowText_inactive:
- (($T1::QBrush*)((char*)$c.d+sizeof(QAtomicInt))+40+ 0)->d,
- Button_inactive:
- (($T1::QBrush*)((char*)$c.d+sizeof(QAtomicInt))+40+ 1)->d,
- Light_inactive:
- (($T1::QBrush*)((char*)$c.d+sizeof(QAtomicInt))+40+ 2)->d,
- Midlight_inactive:
- (($T1::QBrush*)((char*)$c.d+sizeof(QAtomicInt))+40+ 3)->d,
- Dark_inactive:
- (($T1::QBrush*)((char*)$c.d+sizeof(QAtomicInt))+40+ 4)->d,
- Mid_inactive:
- (($T1::QBrush*)((char*)$c.d+sizeof(QAtomicInt))+40+ 5)->d,
- Text_inactive:
- (($T1::QBrush*)((char*)$c.d+sizeof(QAtomicInt))+40+ 6)->d,
- BrightText_inactive:
- (($T1::QBrush*)((char*)$c.d+sizeof(QAtomicInt))+40+ 7)->d,
- ButtonText_inactive:
- (($T1::QBrush*)((char*)$c.d+sizeof(QAtomicInt))+40+ 8)->d,
- Base_inactive:
- (($T1::QBrush*)((char*)$c.d+sizeof(QAtomicInt))+40+ 9)->d,
- Window_inactive:
- (($T1::QBrush*)((char*)$c.d+sizeof(QAtomicInt))+40+10)->d,
- Shadow_inactive:
- (($T1::QBrush*)((char*)$c.d+sizeof(QAtomicInt))+40+11)->d,
- Highlight_inactive:
- (($T1::QBrush*)((char*)$c.d+sizeof(QAtomicInt))+40+12)->d,
- HighlightedText_inactive:
- (($T1::QBrush*)((char*)$c.d+sizeof(QAtomicInt))+40+13)->d,
- Link_inactive:
- (($T1::QBrush*)((char*)$c.d+sizeof(QAtomicInt))+40+14)->d,
- LinkVisited_inactive:
- (($T1::QBrush*)((char*)$c.d+sizeof(QAtomicInt))+40+15)->d,
- AlternateBase_inactive:
- (($T1::QBrush*)((char*)$c.d+sizeof(QAtomicInt))+40+16)->d,
- NoRole_inactive:
- (($T1::QBrush*)((char*)$c.d+sizeof(QAtomicInt))+40+17)->d,
- ToolTipBase_inactive:
- (($T1::QBrush*)((char*)$c.d+sizeof(QAtomicInt))+40+18)->d,
- ToolTipText_inactive:
- (($T1::QBrush*)((char*)$c.d+sizeof(QAtomicInt))+40+19)->d
- )
- )
-}
-
-;------------------------------------------------------------------------------
-; QBrush
-;------------------------------------------------------------------------------
-QBrush|*::QBrush{
- preview
- (
- #(
- "[", $c.d->style, "] (...)"
- )
- )
- children
- (
- #(
- style: $c.d->style,
- color: $c.d->color,
- transform: $c.d->transform
- )
- )
-}
-
-QBrushData|*::QBrushData{
- preview
- (
- #(
- "[", $c.style, "] (...)"
- )
- )
- children
- (
- #(
- style: $c.style,
- color: $c.color,
- transform: $c.transform
- )
- )
-}
-
-;------------------------------------------------------------------------------
-; QColor
-;------------------------------------------------------------------------------
-QColor|*::QColor{
- preview
- (
- #(
- #if ($c.cspec == 1) (
- #(
- "[", $c.cspec, "] [", "r = ", [$c.ct.argb.red,x],
- ", g = ", [$c.ct.argb.green,x],
- ", b = ", [$c.ct.argb.blue,x], "] (...)"
- )
- ) #elif ($c.cspec == 2) (
- #(
- "[", $c.cspec, "] [", "h = ", [$c.ct.ahsv.hue,x],
- ", s = ", [$c.ct.ahsv.saturation,x],
- ", v = ", [$c.ct.ahsv.value,x], "] (...)"
- )
- ) #elif ($c.cspec == 3) (
- #(
- "[", $c.cspec, "] [", "c = ", [$c.ct.acmyk.cyan,x],
- ", m = ", [$c.ct.acmyk.magenta,x],
- ", y = ", [$c.ct.acmyk.yellow,x],
- ", k = ", [$c.ct.acmyk.black,x], "] (...)"
- )
- ) #else (
- #(
- "[Invalid]"
- )
- )
- )
- )
- children
- (
- #(
- #if ($c.cspec == 1) (
- #(
- red: [$c.ct.argb.red,x],
- green: [$c.ct.argb.green,x],
- blue: [$c.ct.argb.blue,x],
- alpha: [$c.ct.argb.alpha,x],
- pad: [$c.ct.argb.pad,x]
- )
- ) #elif ($c.cspec == 2) (
- #(
- hue: [$c.ct.ahsv.hue,x],
- saturation: [$c.ct.ahsv.saturation,x],
- value: [$c.ct.ahsv.value,x],
- alpha: [$c.ct.ahsv.alpha,x],
- pad: [$c.ct.ahsv.pad,x]
- )
- ) #elif ($c.cspec == 3) (
- #(
- cyan: [$c.ct.acmyk.cyan,x],
- magenta: [$c.ct.acmyk.magenta,x],
- yellow: [$c.ct.acmyk.yellow,x],
- black: [$c.ct.acmyk.black,x],
- alpha: [$c.ct.acmyk.alpha,x]
- )
- )
- )
- )
-}
-
-;------------------------------------------------------------------------------
-; QTransform
-;------------------------------------------------------------------------------
-QTransform|*::QTransform{
- preview
- (
- #(
- "[",[$c.affine._m11,g]," ",[$c.affine._m12,g]," ",[$c.m_13,g],"]",
- "[",[$c.affine._m21,g]," ",[$c.affine._m22,g]," ",[$c.m_23,g],"]",
- "[",[$c.affine._dx,g]," ",[$c.affine._dy,g]," ",[$c.m_33,g],"]"
- )
- )
- children
- (
- #(
- translation_horizontal_m31_dx: [$c.affine._dx,g],
- translation_vertical_m32_dy: [$c.affine._dy,g],
- scaling_horizontal_m11: [$c.affine._m11,g],
- scaling_vertical_m22: [$c.affine._m22,g],
- projection_factor_m33: [$c.m_33,g],
- projection_horizontal_m13: [$c.m_13,g],
- projection_vertical_m23: [$c.m_23,g],
- shearing_horizontal_m21: [$c.affine._m21,g],
- shearing_vertical_m12: [$c.affine._m12,g],
- type: $c.m_type,
- dirty: (bool)$c.m_dirty
- )
- )
-}
-
-;------------------------------------------------------------------------------
-; QMatrix
-;------------------------------------------------------------------------------
-QMatrix|*::QMatrix{
- preview
- (
- #(
- "[",[$c._m11,g]," ",[$c._m12,g],"]",
- "[",[$c._m21,g]," ",[$c._m22,g],"]",
- "[",[$c._dx,g]," ",[$c._dy,g],"]"
- )
- )
- children
- (
- #(
- translation_horizontal_dx: [$c._dx,g],
- translation_vertical_dy: [$c._dy,g],
- scaling_horizontal_m11: [$c._m11,g],
- scaling_vertical_m22: [$c._m22,g],
- shearing_horizontal_m21: [$c._m21,g],
- shearing_vertical_m12: [$c._m12,g]
- )
- )
-}
-
-;------------------------------------------------------------------------------
-; QPolygon
-;------------------------------------------------------------------------------
-QPolygon{
- preview
- (
- #(
- "[", ((QVector<QPoint>*)(&$c))->d->size, "] (...)"
- )
- )
- children
- (
- #(
- #array
- (
- expr: ((QPoint*)(((void*)$c.d) + sizeof(QVectorData)))[$i],
- size: ((QVector<QPoint>*)(&$c))->d->size
- )
- )
- )
-}
-*::QPolygon{
- preview
- (
- #(
- "[", (($T1::QVector<$T1::QPoint>*)(&$c))->d->size, "] (...)"
- )
- )
- children
- (
- #(
- #array
- (
- expr: (($T1::QPoint*)(((void*)$c.d) + sizeof(QVectorData)))[$i],
- size: (($T1::QVector<$T1::QPoint>*)(&$c))->d->size
- )
- )
- )
-}
-
-;------------------------------------------------------------------------------
-; QPolygonF
-;------------------------------------------------------------------------------
-QPolygonF{
- preview
- (
- #(
- "[", ((QVector<QPointF>*)(&$c))->d->size, "] (...)"
- )
- )
- children
- (
- #(
- #array
- (
- expr: ((QVector<QPointF>*)(&$c))->p->array[$i],
- size: ((QVector<QPointF>*)(&$c))->d->size
- )
- )
- )
-}
-
-*::QPolygonF{
- preview
- (
- #(
- "[", (($T1::QVector<$T1::QPointF>*)(&$c))->d->size, "] (...)"
- )
- )
- children
- (
- #(
- #array
- (
- expr: (($T1::QVector<$T1::QPointF>*)(&$c))->p->array[$i],
- size: (($T1::QVector<$T1::QPointF>*)(&$c))->d->size
- )
- )
- )
-}
-
-;------------------------------------------------------------------------------
-; The Qt Company Ltd. Qt 5.x visualizers -------------------------------------------[ end ]--
-;QT_DEBUG_END
diff --git a/tools/Qt4EEAddin/autoexp.dat_entries.txt b/tools/Qt4EEAddin/autoexp.dat_entries.txt
deleted file mode 100644
index dca4c903..00000000
--- a/tools/Qt4EEAddin/autoexp.dat_entries.txt
+++ /dev/null
@@ -1,31 +0,0 @@
-;QT_DEBUG_START
-
-QString=<d->data,su> size=<d->size,u>
-QByteArray=<d->data,s> size=<d->size,u>
-QPoint =x=<xp> y=<yp>
-QPointF =x=<xp> y=<yp>
-QRect =x1=<x1> y1=<y1> x2=<x2> y2=<y2>
-QRectF =x=<xp> y=<yp> w=<w> h=<h>
-QSize =width=<wd> height=<ht>
-QSizeF =width=<wd> height=<ht>
-QMap<*> =size=<d->size>
-QVector<*> =size=<d->size>
-QHash<*> =size=<d->size>
-QVarLengthArray<*> =size=<s> data=<ptr>
-
-QUrl=$ADDIN(Qt4EEAddin.dll,_Qt4EEAddIn_QUrl@28)
-QEvent=$ADDIN(Qt4EEAddin.dll,_Qt4EEAddIn_QEvent@28)
-QList<*>=$ADDIN(Qt4EEAddin.dll,_Qt4EEAddIn_QList@28)
-QVariant=$ADDIN(Qt4EEAddin.dll,_Qt4EEAddIn_QVariant@28)
-QObject=$ADDIN(Qt4EEAddin.dll,_Qt4EEAddIn_QObject@28)
-QLibrary=$ADDIN(Qt4EEAddin.dll,_Qt4EEAddIn_QLibrary@28)
-QDir=$ADDIN(Qt4EEAddin.dll,_Qt4EEAddIn_QDir@28)
-QFileInfo=$ADDIN(Qt4EEAddin.dll,_Qt4EEAddIn_QFileInfo@28)
-QFont=$ADDIN(Qt4EEAddin.dll,_Qt4EEAddIn_QFont@28)
-QUrlInfo =$ADDIN(Qt4EEAddin.dll,_Qt4EEAddIn_QUrlInfo@28)
-QDomNode =$ADDIN(Qt4EEAddin.dll,_Qt4EEAddIn_QDomNode@28)
-
-;FIXME
-;QFile=$ADDIN(Qt4EEAddin.dll,_Qt4EEAddIn_QFile@28)
-
-;QT_DEBUG_END
diff --git a/tools/Qt4EEAddin/qt5.natvis b/tools/Qt4EEAddin/qt5.natvis
deleted file mode 100644
index cfc2828c..00000000
--- a/tools/Qt4EEAddin/qt5.natvis
+++ /dev/null
@@ -1,682 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<AutoVisualizer xmlns="http://schemas.microsoft.com/vstudio/debugger/natvis/2010">
-
- <Type Name="QPoint">
- <AlternativeType Name="QPointF"/>
- <DisplayString>{{ x = {xp}, y = {yp} }}</DisplayString>
- <Expand>
- <Item Name="[x]">xp</Item>
- <Item Name="[y]">yp</Item>
- </Expand>
- </Type>
-
- <Type Name="QRect">
- <DisplayString>{{ x = {x1}, y = {y1}, width = {x2 - x1 + 1}, height = {y2 - y1 + 1} }}</DisplayString>
- <Expand>
- <Item Name="[x]">x1</Item>
- <Item Name="[y]">y1</Item>
- <Item Name="[width]">x2 - x1 + 1</Item>
- <Item Name="[height]">y2 - y1 + 1</Item>
- </Expand>
- </Type>
-
- <Type Name="QRectF">
- <DisplayString>{{ x = {xp}, y = {yp}, width = {w}, height = {h} }}</DisplayString>
- <Expand>
- <Item Name="[x]">xp</Item>
- <Item Name="[y]">yp</Item>
- <Item Name="[width]">w</Item>
- <Item Name="[height]">h</Item>
- </Expand>
- </Type>
-
- <Type Name="QSize">
- <AlternativeType Name="QSizeF"/>
- <DisplayString>{{ width = {wd}, height = {ht} }}</DisplayString>
- <Expand>
- <Item Name="[width]">wd</Item>
- <Item Name="[height]">ht</Item>
- </Expand>
- </Type>
-
- <Type Name="QLine">
- <AlternativeType Name="QLineF"/>
- <DisplayString>{{ start point = {pt1}, end point = {pt2} }}</DisplayString>
- <Expand>
- <Synthetic Name="[start point]">
- <DisplayString>{pt1}</DisplayString>
- <Expand>
- <ExpandedItem>pt1</ExpandedItem>
- </Expand>
- </Synthetic>
- <Synthetic Name="[end point]">
- <DisplayString>{pt2}</DisplayString>
- <Expand>
- <ExpandedItem>pt2</ExpandedItem>
- </Expand>
- </Synthetic>
-
- </Expand>
- </Type>
-
- <Type Name="QPolygon">
- <DisplayString>{{ size = {d-&gt;size} }}</DisplayString>
- <Expand>
- <Item Name="[referenced]">d-&gt;ref.atomic._q_value</Item>
- <ArrayItems>
- <Size>d-&gt;size</Size>
- <ValuePointer>(QPoint*)((reinterpret_cast&lt;char*&gt;(d)) + d-&gt;offset)</ValuePointer>
- </ArrayItems>
- </Expand>
- </Type>
-
- <Type Name="QPolygonF">
- <DisplayString>{{ size = {d-&gt;size} }}</DisplayString>
- <Expand>
- <Item Name="[closed]">
- d-&gt;size &gt; 0
- &amp;&amp; ((((QPointF*)((reinterpret_cast&lt;char*&gt;(d)) + d-&gt;offset)[0]).xp
- == (((QPointF*)((reinterpret_cast&lt;char*&gt;(d)) + d-&gt;offset)[d-&gt;size - 1]).xp)
- &amp;&amp; ((((QPointF*)((reinterpret_cast&lt;char*&gt;(d)) + d-&gt;offset)[0]).yp
- == (((QPointF*)((reinterpret_cast&lt;char*&gt;(d)) + d-&gt;offset)[d-&gt;size - 1]).yp)
- </Item>
- <Item Name="[referenced]">d-&gt;ref.atomic._q_value</Item>
- <ArrayItems>
- <Size>d-&gt;size</Size>
- <ValuePointer>(QPointF*)((reinterpret_cast&lt;char*&gt;(d)) + d-&gt;offset)</ValuePointer>
- </ArrayItems>
- </Expand>
- </Type>
-
- <Type Name ="QVector2D">
- <DisplayString>{{ x = {xp}, y = {yp} }}</DisplayString>
- <Expand>
- <Item Name="[x]">xp</Item>
- <Item Name="[y]">yp</Item>
- </Expand>
- </Type>
-
- <Type Name ="QVector3D">
- <DisplayString>{{ x = {xp}, y = {yp}, z = {zp} }}</DisplayString>
- <Expand>
- <Item Name="[x]">xp</Item>
- <Item Name="[y]">yp</Item>
- <Item Name="[z]">zp</Item>
- </Expand>
- </Type>
-
- <Type Name ="QVector4D">
- <DisplayString>{{ x = {xp}, y = {yp}, z = {zp}, w = {wp} }}</DisplayString>
- <Expand>
- <Item Name="[x]">xp</Item>
- <Item Name="[y]">yp</Item>
- <Item Name="[z]">zp</Item>
- <Item Name="[w]">wp</Item>
- </Expand>
- </Type>
-
- <Type Name ="QMatrix">
- <DisplayString>
- {{ m11 = {_m11}, m12 = {_m12}, m21 = {_m21}, m22 = {_m22}, ... }}
- </DisplayString>
- <Expand>
- <Item Name="[m11]">_m11</Item>
- <Item Name="[m12]">_m12</Item>
- <Item Name="[m21]">_m21</Item>
- <Item Name="[m22]">_m22</Item>
- <Item Name="[dx]">_dx</Item>
- <Item Name="[dy]">_dy</Item>
- </Expand>
- </Type>
-
- <Type Name ="QMatrix4x4">
- <DisplayString>
- {{ m11 = {m[0][0]}, m12 = {m[1][0]}, m13 = {m[2][0]}, m14 = {m[3][0]}, ... }}
- </DisplayString>
- <Expand>
- <Item Name="[m11]">m[0][0]</Item>
- <Item Name="[m12]">m[1][0]</Item>
- <Item Name="[m13]">m[2][0]</Item>
- <Item Name="[m14]">m[3][0]</Item>
- <Item Name="[m21]">m[0][1]</Item>
- <Item Name="[m22]">m[1][1]</Item>
- <Item Name="[m23]">m[2][1]</Item>
- <Item Name="[m24]">m[3][1]</Item>
- <Item Name="[m31]">m[0][2]</Item>
- <Item Name="[m32]">m[1][2]</Item>
- <Item Name="[m33]">m[2][2]</Item>
- <Item Name="[m34]">m[3][2]</Item>
- <Item Name="[m41]">m[0][3]</Item>
- <Item Name="[m42]">m[1][3]</Item>
- <Item Name="[m43]">m[2][3]</Item>
- <Item Name="[m44]">m[3][3]</Item>
- </Expand>
- </Type>
-
- <Type Name="QSizePolicy">
- <DisplayString>
- {{ horizontal = {static_cast&lt;Policy&gt;(bits.horPolicy)}, vertical = {static_cast&lt;Policy&gt;(bits.verPolicy)}, type = {ControlType(1 &lt;&lt; bits.ctype)} }}
- </DisplayString>
- <Expand>
- <Synthetic Name="[vertical policy]">
- <DisplayString>QSizePolicy::Policy::{static_cast&lt;Policy&gt;(bits.verPolicy)}</DisplayString>
- </Synthetic>
- <Synthetic Name="[horizontal policy]">
- <DisplayString>QSizePolicy::Policy::{static_cast&lt;Policy&gt;(bits.horPolicy)}</DisplayString>
- </Synthetic>
- <Synthetic Name="[control type]">
- <DisplayString>QSizePolicy::ControlType::{ControlType(1 &lt;&lt; bits.ctype)}</DisplayString>
- </Synthetic>
- <Synthetic Name="[expanding directions]">
- <DisplayString
- Condition="(static_cast&lt;Policy&gt;(bits.verPolicy) &amp; ExpandFlag)">
- Qt::Vertical (2)
- </DisplayString>
- <DisplayString
- Condition="(static_cast&lt;Policy&gt;(bits.horPolicy) &amp; ExpandFlag)">
- Qt::Horizontal (1)
- </DisplayString>
- </Synthetic>
- <Item Name="[vertical stretch]">static_cast&lt;int&gt;(bits.verStretch)</Item>
- <Item Name="[horizontal stretch]">static_cast&lt;int&gt;(bits.horStretch)</Item>
- <Item Name="[has height for width]">bits.hfw == 1</Item>
- <Item Name="[has width for height]">bits.wfh == 1</Item>
- </Expand>
- </Type>
-
- <Type Name="QChar">
- <DisplayString>{ucs,c}</DisplayString>
- <StringView>ucs,c</StringView>
- <Expand>
- <Item Name="[latin 1]">ucs > 0xff ? '\0' : char(ucs),c</Item>
- <Item Name="[unicode]">ucs,c</Item>
- </Expand>
- </Type>
-
- <Type Name="QString">
- <DisplayString>{((reinterpret_cast&lt;unsigned short*&gt;(d)) + d->offset / 2),sub}</DisplayString>
- <StringView>((reinterpret_cast&lt;unsigned short*&gt;(d)) + d->offset / 2),sub</StringView>
- <Expand>
- <Item Name="[size]">d-&gt;size</Item>
- <Item Name="[referenced]">d-&gt;ref.atomic._q_value</Item>
- <ArrayItems>
- <Size>d-&gt;size</Size>
- <ValuePointer>((reinterpret_cast&lt;unsigned short*&gt;(d)) + d->offset / 2),c</ValuePointer>
- </ArrayItems>
- </Expand>
- </Type>
-
- <Type Name="QByteArray">
- <DisplayString>{((reinterpret_cast&lt;char*&gt;(d)) + d-&gt;offset),sb}</DisplayString>
- <StringView>((reinterpret_cast&lt;char*&gt;(d)) + d-&gt;offset),sb</StringView>
- <Expand>
- <Item Name="[size]">d-&gt;size</Item>
- <Item Name="[referenced]">d-&gt;ref.atomic._q_value</Item>
- <ArrayItems>
- <Size>d-&gt;size</Size>
- <ValuePointer>((reinterpret_cast&lt;char*&gt;(d)) + d-&gt;offset),c</ValuePointer>
- </ArrayItems>
- </Expand>
- </Type>
-
- <Type Name="QBitArray">
- <DisplayString>{{ size = {(d.d-&gt;size &lt;&lt; 3) - *((reinterpret_cast&lt;char*&gt;(d.d)) + d.d-&gt;offset)} }}</DisplayString>
- <Expand>
- <Item Name="[referenced]">d.d-&gt;ref.atomic._q_value</Item>
- <IndexListItems>
- <Size>(d.d-&gt;size &lt;&lt; 3) - *((reinterpret_cast&lt;char*&gt;(d.d)) + d.d-&gt;offset)</Size>
- <ValueNode>
- (*(reinterpret_cast&lt;const unsigned char*&gt;((reinterpret_cast&lt;char*&gt;(d.d)) + d.d-&gt;offset) + 1
- + ($i &gt;&gt; 3)) &amp; (1 &lt;&lt; ($i &amp; 7))) != 0
- </ValueNode>
- </IndexListItems>
- </Expand>
- </Type>
-
- <Type Name="QVarLengthArray&lt;*&gt;">
- <AlternativeType Name="QVarLengthArray&lt;*, int&gt;"/>
- <DisplayString>{{ size = {s} }}</DisplayString>
- <Expand>
- <Item Name="[capacity]">a</Item>
- <ArrayItems>
- <Size>s</Size>
- <ValuePointer>ptr</ValuePointer>
- </ArrayItems>
- </Expand>
- </Type>
-
- <Type Name="QDate">
- <DisplayString>{{ julian day = {jd} }}</DisplayString>
- <Expand></Expand>
- </Type>
-
- <Type Name="QTime">
- <DisplayString
- Condition="mds == 1">{{ millisecond = {mds} }}</DisplayString>
- <DisplayString
- Condition="mds != 1">{{ milliseconds = {mds} }}</DisplayString>
- <Expand>
- <Item Name="[hour]"
- Condition="(mds / 3600000) == 1">mds / 3600000, d</Item>
- <Item Name="[hours]"
- Condition="(mds / 3600000) != 1">mds / 3600000, d</Item>
- <Item Name="[minute]"
- Condition="((mds % 3600000) / 60000) == 1">(mds % 3600000) / 60000, d</Item>
- <Item Name="[minutes]"
- Condition="((mds % 3600000) / 60000) != 1">(mds % 3600000) / 60000, d</Item>
- <Item Name="[second]"
- Condition="((mds / 1000) % 60) == 1">(mds / 1000) % 60, d</Item>
- <Item Name="[seconds]"
- Condition="((mds / 1000) % 60) != 1">(mds / 1000) % 60, d</Item>
- <Item Name="[millisecond]"
- Condition="(mds % 1000) == 1">mds % 1000, d</Item>
- <Item Name="[milliseconds]"
- Condition="(mds % 1000) != 1">mds % 1000, d</Item>
- </Expand>
- </Type>
-
- <Type Name="QRegularExpression">
- <DisplayString>{d.pattern}</DisplayString>
- </Type>
-
- <Type Name="QSharedData">
- <Expand>
- <Item Name="[referenced]">ref._q_value</Item>
- </Expand>
- </Type>
-
- <Type Name="QSharedPointer&lt;*&gt;">
- <DisplayString>strong reference to shared pointer of type {"$T1"}</DisplayString>
- <Expand>
- <Item Name="[is null]">value == 0</Item>
- <Item Name="[weak referenced]">d-&gt;weakref._q_value</Item>
- <Item Name="[strong referenced]">d-&gt;strongref._q_value</Item>
- </Expand>
- </Type>
-
- <Type Name="QSharedDataPointer&lt;*&gt;">
- <DisplayString>pointer to implicit shared object of type {"$T1"}</DisplayString>
- <Expand>
- <ExpandedItem>d</ExpandedItem>
- </Expand>
- </Type>
-
- <Type Name="QExplicitlySharedDataPointer&lt;*&gt;">
- <DisplayString>pointer to explicit shared object of type {"$T1"}</DisplayString>
- <Expand>
- <ExpandedItem>d</ExpandedItem>
- </Expand>
- </Type>
-
- <Type Name="QPointer&lt;*&gt;">
- <DisplayString>guarded pointer to subclass of QObject of type {"$T1"}</DisplayString>
- <Expand>
- <Item Name="[is null]">wp.d == 0 || wp.d-&gt;strongref._q_value == 0 || wp.value == 0</Item>
- </Expand>
- </Type>
-
- <Type Name="QWeakPointer&lt;*&gt;">
- <DisplayString>weak reference to shared pointer of type {"$T1"}</DisplayString>
- <Expand>
- <Item Name="[is null]">d == 0 || d-&gt;strongref._q_value == 0 || value == 0</Item>
- <Item Name="[weak referenced]">d-&gt;weakref._q_value</Item>
- <Item Name="[strong referenced]">d-&gt;strongref._q_value</Item>
- </Expand>
- </Type>
-
- <Type Name="QScopedPointer&lt;*&gt;">
- <DisplayString>scoped pointer to a dynamically allocated object of type {"$T1"}</DisplayString>
- <Expand>
- <Item Name="[is null]">!d</Item>
- </Expand>
- </Type>
-
- <Type Name="QScopedArrayPointer&lt;*&gt;">
- <DisplayString>scoped pointer to dynamically allocated array of objects of type {"$T1"}</DisplayString>
- <Expand>
- <Item Name="[is null]">!d</Item>
- </Expand>
- </Type>
-
- <Type Name="QPair&lt;*,*&gt;">
- <DisplayString>({first}, {second})</DisplayString>
- <Expand>
- <Item Name="[first]">first</Item>
- <Item Name="[second]">second</Item>
- </Expand>
- </Type>
-
- <Type Name="QVector&lt;*&gt;">
- <AlternativeType Name="QStack&lt;*&gt;"></AlternativeType>
- <DisplayString>{{ size = {d-&gt;size} }}</DisplayString>
- <Expand>
- <Item Name="[referenced]">d-&gt;ref.atomic._q_value</Item>
- <ArrayItems>
- <Size>d-&gt;size</Size>
- <ValuePointer>($T1*)((reinterpret_cast&lt;char*&gt;(d)) + d-&gt;offset)</ValuePointer>
- </ArrayItems>
- </Expand>
- </Type>
-
- <Type Name="QList&lt;*&gt;">
- <AlternativeType Name="QStringList"></AlternativeType>
- <AlternativeType Name="QQueue&lt;*&gt;"></AlternativeType>
- <DisplayString>{{ size = {d-&gt;end - d-&gt;begin} }}</DisplayString>
- <Expand>
- <Item Name="[referenced]">d-&gt;ref.atomic._q_value</Item>
- <IndexListItems>
- <Size>d-&gt;end - d-&gt;begin</Size>
- <ValueNode>*reinterpret_cast&lt;$T1*&gt;((sizeof($T1) &gt; sizeof(void*))
- ? reinterpret_cast&lt;Node*&gt;(d->array + d->begin + $i)->v
- : reinterpret_cast&lt;$T1*&gt;(d->array + d->begin + $i))
- </ValueNode>
- </IndexListItems>
- </Expand>
- </Type>
-
- <Type Name="QLinkedList&lt;*&gt;">
- <DisplayString>{{ size = {d-&gt;size} }}</DisplayString>
- <Expand>
- <Item Name="[referenced]">d-&gt;ref.atomic._q_value</Item>
- <LinkedListItems>
- <Size>d-&gt;size</Size>
- <HeadPointer>d-&gt;n</HeadPointer>
- <NextPointer>n</NextPointer>
- <ValueNode>(*(QLinkedListNode&lt;$T1&gt;*)this).t</ValueNode>
- </LinkedListItems>
- </Expand>
- </Type>
-
- <Type Name="QMapNode&lt;*,*&gt;">
- <DisplayString>({key}, {value})</DisplayString>
- <Expand>
- <Item Name="[key]">key</Item>
- <Item Name="[value]">value</Item>
- </Expand>
- </Type>
-
- <Type Name="QMap&lt;*,*&gt;">
- <AlternativeType Name="QMultiMap&lt;*,*&gt;"/>
- <DisplayString>{{ size = {d-&gt;size} }}</DisplayString>
- <Expand>
- <Item Name="[referenced]">d-&gt;ref.atomic._q_value</Item>
- <TreeItems>
- <Size>d-&gt;size</Size>
- <HeadPointer>d-&gt;header.left</HeadPointer>
- <LeftPointer>left</LeftPointer>
- <RightPointer>right</RightPointer>
- <ValueNode>*((QMapNode&lt;$T1,$T2&gt;*)this)</ValueNode>
- </TreeItems>
- </Expand>
- </Type>
-
- <Type Name="QHashNode&lt;*,*&gt;">
- <DisplayString Condition="next == 0">(empty)</DisplayString>
- <DisplayString Condition="next != 0">({key}, {value})</DisplayString>
- <Expand>
- <Item Name="[key]" Condition="next != 0">key</Item>
- <Item Name="[value]" Condition="next != 0">value</Item>
- </Expand>
- </Type>
-
- <Type Name="QHash&lt;*,*&gt;">
- <AlternativeType Name="QMultiHash&lt;*,*&gt;"/>
- <DisplayString>{{ size = {d-&gt;size} }}</DisplayString>
- <Expand>
- <Item Name="[referenced]">d-&gt;ref.atomic._q_value</Item>
- <IndexListItems>
- <Size>d-&gt;numBuckets</Size>
- <ValueNode>*((QHashNode&lt;$T1,$T2&gt;*)d-&gt;buckets[$i])</ValueNode>
- </IndexListItems>
- </Expand>
- </Type>
-
- <Type Name="QHashNode&lt;*,QHashDummyValue&gt;">
- <DisplayString Condition="next == 0">(empty)</DisplayString>
- <DisplayString Condition="next != 0">({key})</DisplayString>
- <Expand>
- <Item Name="[key]" Condition="next != 0">key</Item>
- </Expand>
- </Type>
-
- <Type Name="QSet&lt;*&gt;">
- <DisplayString>{{ size = {q_hash.d-&gt;size} }}</DisplayString>
- <Expand>
- <ExpandedItem>q_hash</ExpandedItem>
- </Expand>
- </Type>
-
- <Type Name="QCache&lt;*,*&gt;::Node">
- <DisplayString>({*keyPtr}, {*t})</DisplayString>
- <Expand>
- <Item Name="[key]">*keyPtr</Item>
- <Item Name="[value]">*t</Item>
- </Expand>
- </Type>
-
- <Type Name="QCache&lt;*,*&gt;">
- <DisplayString>{{ size = {hash.d-&gt;size} }}</DisplayString>
- <Expand>
- <Item Name="[max coast]">mx</Item>
- <Item Name="[total coast]">total</Item>
- <Item Name="[referenced]">hash.d-&gt;ref.atomic._q_value</Item>
- <LinkedListItems>
- <Size>hash.d-&gt;size</Size>
- <HeadPointer>f</HeadPointer>
- <NextPointer>n</NextPointer>
- <ValueNode>*((Node*)this)</ValueNode>
- </LinkedListItems>
- </Expand>
- </Type>
-
- <Type Name="QVariant">
- <!--Region DisplayString QVariant-->
-
- <DisplayString Condition="d.type == QMetaType::UnknownType">Invalid</DisplayString>
- <DisplayString Condition="d.type == QMetaType::Bool">{d.data.b}</DisplayString>
- <DisplayString Condition="d.type == QMetaType::Int">{d.data.i}</DisplayString>
- <DisplayString Condition="d.type == QMetaType::UInt">{d.data.u}</DisplayString>
- <DisplayString Condition="d.type == QMetaType::LongLong">{d.data.ll}</DisplayString>
- <DisplayString Condition="d.type == QMetaType::ULongLong">{d.data.ull}</DisplayString>
- <DisplayString Condition="d.type == QMetaType::Double">{d.data.d}</DisplayString>
- <DisplayString Condition="d.type == QMetaType::QChar">{d.data.c}</DisplayString>
- <DisplayString Condition="d.type == QMetaType::QVariantMap">
- {*((QMap&lt;QString,QVariant&gt;*)(d.is_shared ? d.data.shared-&gt;ptr
- : reinterpret_cast&lt;const void *&gt;(&amp;d.data.ptr)))}
- </DisplayString>
- <DisplayString Condition="d.type == QMetaType::QVariantList">
- {*((QList&lt;QVariant&gt;*)(d.is_shared ? d.data.shared-&gt;ptr
- : reinterpret_cast&lt;const void *&gt;(&amp;d.data.ptr)))}
- </DisplayString>
- <DisplayString Condition="d.type == QMetaType::QString">
- {*((QString*)(d.is_shared ? d.data.shared-&gt;ptr
- : reinterpret_cast&lt;const void *&gt;(&amp;d.data.ptr)))}
- </DisplayString>
- <DisplayString Condition="d.type == QMetaType::QStringList">
- {*((QStringList*)(d.is_shared ? d.data.shared-&gt;ptr
- : reinterpret_cast&lt;const void *&gt;(&amp;d.data.ptr)))}
- </DisplayString>
- <DisplayString Condition="d.type == QMetaType::QByteArray">
- {*((QByteArray*)(d.is_shared ? d.data.shared-&gt;ptr
- : reinterpret_cast&lt;const void *&gt;(&amp;d.data.ptr)))}
- </DisplayString>
- <DisplayString Condition="d.type == QMetaType::QBitArray">
- {*((QBitArray*)(d.is_shared ? d.data.shared-&gt;ptr
- : reinterpret_cast&lt;const void *&gt;(&amp;d.data.ptr)))}
- </DisplayString>
- <DisplayString Condition="d.type == QMetaType::QDate">
- {*((QDate*)(d.is_shared ? d.data.shared-&gt;ptr
- : reinterpret_cast&lt;const void *&gt;(&amp;d.data.ptr)))}
- </DisplayString>
- <DisplayString Condition="d.type == QMetaType::QTime">
- {*((QTime*)(d.is_shared ? d.data.shared-&gt;ptr
- : reinterpret_cast&lt;const void *&gt;(&amp;d.data.ptr)))}
- </DisplayString>
- <DisplayString Condition="d.type == QMetaType::QDateTime">DateTime</DisplayString>
- <DisplayString Condition="d.type == QMetaType::QUrl">Url</DisplayString>
- <DisplayString Condition="d.type == QMetaType::QLocale">Locale</DisplayString>
- <DisplayString Condition="d.type == QMetaType::QRect">
- {*((QRect*)(d.is_shared ? d.data.shared-&gt;ptr
- : reinterpret_cast&lt;const void *&gt;(&amp;d.data.ptr)))}
- </DisplayString>
- <DisplayString Condition="d.type == QMetaType::QRectF">
- {*((QRectF*)(d.is_shared ? d.data.shared-&gt;ptr
- : reinterpret_cast&lt;const void *&gt;(&amp;d.data.ptr)))}
- </DisplayString>
- <DisplayString Condition="d.type == QMetaType::QSize">
- {*((QSize*)(d.is_shared ? d.data.shared-&gt;ptr
- : reinterpret_cast&lt;const void *&gt;(&amp;d.data.ptr)))}
- </DisplayString>
- <DisplayString Condition="d.type == QMetaType::QSizeF">
- {*((QSizeF*)(d.is_shared ? d.data.shared-&gt;ptr
- : reinterpret_cast&lt;const void *&gt;(&amp;d.data.ptr)))}
- </DisplayString>
- <DisplayString Condition="d.type == QMetaType::QLine">
- {*((QLine*)(d.is_shared ? d.data.shared-&gt;ptr
- : reinterpret_cast&lt;const void *&gt;(&amp;d.data.ptr)))}
- </DisplayString>
- <DisplayString Condition="d.type == QMetaType::QLineF">
- {*((QLineF*)(d.is_shared ? d.data.shared-&gt;ptr
- : reinterpret_cast&lt;const void *&gt;(&amp;d.data.ptr)))}
- </DisplayString>
- <DisplayString Condition="d.type == QMetaType::QPoint">
- {*((QPoint*)(d.is_shared ? d.data.shared-&gt;ptr
- : reinterpret_cast&lt;const void *&gt;(&amp;d.data.ptr)))}
- </DisplayString>
- <DisplayString Condition="d.type == QMetaType::QPointF">
- {*((QPointF*)(d.is_shared ? d.data.shared-&gt;ptr
- : reinterpret_cast&lt;const void *&gt;(&amp;d.data.ptr)))}
- </DisplayString>
- <DisplayString Condition="d.type == QMetaType::QRegExp">RegExp</DisplayString>
- <DisplayString Condition="d.type == QMetaType::QRegularExpression">RegularExpression</DisplayString>
- <DisplayString Condition="d.type == QMetaType::QVariantHash">
- {*((QHash&lt;QString,QVariant&gt;*)(d.is_shared ? d.data.shared-&gt;ptr
- : reinterpret_cast&lt;const void *&gt;(&amp;d.data.ptr)))}
- </DisplayString>
- <DisplayString Condition="d.type == QMetaType::QEasingCurve">EasingCurve</DisplayString>
- <DisplayString Condition="d.type == QMetaType::QUuid">Uuid</DisplayString>
- <DisplayString Condition="d.type == QMetaType::QModelIndex">ModelIndex</DisplayString>
- <DisplayString Condition="d.type == QMetaType::LastCoreType">LastCoreType</DisplayString>
- <DisplayString Condition="d.type == QMetaType::QFont">Font</DisplayString>
- <DisplayString Condition="d.type == QMetaType::QPixmap">Pixmap</DisplayString>
- <DisplayString Condition="d.type == QMetaType::QBrush">Brush</DisplayString>
- <DisplayString Condition="d.type == QMetaType::QColor">Color</DisplayString>
- <DisplayString Condition="d.type == QMetaType::QPalette">Palette</DisplayString>
- <DisplayString Condition="d.type == QMetaType::QImage">Image</DisplayString>
- <DisplayString Condition="d.type == QMetaType::QPolygon">Polygon</DisplayString>
- <DisplayString Condition="d.type == QMetaType::QRegion">Region</DisplayString>
- <DisplayString Condition="d.type == QMetaType::QBitmap">Bitmap</DisplayString>
- <DisplayString Condition="d.type == QMetaType::QCursor">Cursor</DisplayString>
- <DisplayString Condition="d.type == QMetaType::QKeySequence">KeySequence</DisplayString>
- <DisplayString Condition="d.type == QMetaType::QPen">Pen</DisplayString>
- <DisplayString Condition="d.type == QMetaType::QTextLength">TextLength</DisplayString>
- <DisplayString Condition="d.type == QMetaType::QTextFormat">TextFormat</DisplayString>
- <DisplayString Condition="d.type == QMetaType::QMatrix">Matrix</DisplayString>
- <DisplayString Condition="d.type == QMetaType::QTransform">Transform</DisplayString>
- <DisplayString Condition="d.type == QMetaType::QMatrix4x4">Matrix4x4</DisplayString>
- <DisplayString Condition="d.type == QMetaType::QVector2D">Vector2D</DisplayString>
- <DisplayString Condition="d.type == QMetaType::QVector3D">Vector3D</DisplayString>
- <DisplayString Condition="d.type == QMetaType::QVector4D">Vector4D</DisplayString>
- <DisplayString Condition="d.type == QMetaType::QQuaternion">Quaternion</DisplayString>
- <DisplayString Condition="d.type == QMetaType::QPolygonF">PolygonF</DisplayString>
- <DisplayString Condition="d.type == QMetaType::QIcon">Icon</DisplayString>
- <DisplayString Condition="d.type == QMetaType::LastGuiType">LastGuiType</DisplayString>
- <DisplayString Condition="d.type == QMetaType::QSizePolicy">SizePolicy</DisplayString>
- <DisplayString Condition="d.type == QMetaType::User">UserType</DisplayString>
- <DisplayString Condition="d.type == 0xffffffff">LastType</DisplayString>
-
- <!--End region DisplayString QVariant-->
-
- <!--Region DisplayView QVariant-->
-
- <StringView Condition="d.type == QMetaType::QChar">d.data.c</StringView>
-
- <StringView Condition="d.type == QMetaType::QString">
- *((QString*)(d.is_shared ? d.data.shared-&gt;ptr
- : reinterpret_cast&lt;const void *&gt;(&amp;d.data.ptr)))
- </StringView>
-
- <StringView Condition="d.type == QMetaType::QByteArray">
- *((QByteArray*)(d.is_shared ? d.data.shared-&gt;ptr
- : reinterpret_cast&lt;const void *&gt;(&amp;d.data.ptr)))
- </StringView>
-
- <!--End region DisplayView QVariant-->
-
- <!--Region Expand QVariant-->
-
- <Expand>
- <ExpandedItem Condition="d.type == QMetaType::QVariantMap">
- *((QMap&lt;QString,QVariant&gt;*)(d.is_shared ? d.data.shared-&gt;ptr
- : reinterpret_cast&lt;const void *&gt;(&amp;d.data.ptr)))
- </ExpandedItem>
- <ExpandedItem Condition="d.type == QMetaType::QVariantList">
- *((QList&lt;QVariant&gt;*)(d.is_shared ? d.data.shared-&gt;ptr
- : reinterpret_cast&lt;const void *&gt;(&amp;d.data.ptr)))
- </ExpandedItem>
- <ExpandedItem Condition="d.type == QMetaType::QString">
- *((QString*)(d.is_shared ? d.data.shared-&gt;ptr
- : reinterpret_cast&lt;const void *&gt;(&amp;d.data.ptr)))
- </ExpandedItem>
- <ExpandedItem Condition="d.type == QMetaType::QStringList">
- *((QStringList*)(d.is_shared ? d.data.shared-&gt;ptr
- : reinterpret_cast&lt;const void *&gt;(&amp;d.data.ptr)))
- </ExpandedItem>
- <ExpandedItem Condition="d.type == QMetaType::QByteArray">
- *((QByteArray*)(d.is_shared ? d.data.shared-&gt;ptr
- : reinterpret_cast&lt;const void *&gt;(&amp;d.data.ptr)))
- </ExpandedItem>
- <ExpandedItem Condition="d.type == QMetaType::QBitArray">
- *((QBitArray*)(d.is_shared ? d.data.shared-&gt;ptr
- : reinterpret_cast&lt;const void *&gt;(&amp;d.data.ptr)))
- </ExpandedItem>
- <ExpandedItem Condition="d.type == QMetaType::QDate">
- *((QDate*)(d.is_shared ? d.data.shared-&gt;ptr
- : reinterpret_cast&lt;const void *&gt;(&amp;d.data.ptr)))
- </ExpandedItem>
- <ExpandedItem Condition="d.type == QMetaType::QTime">
- *((QTime*)(d.is_shared ? d.data.shared-&gt;ptr
- : reinterpret_cast&lt;const void *&gt;(&amp;d.data.ptr)))
- </ExpandedItem>
- <ExpandedItem Condition="d.type == QMetaType::QRect">
- *((QRect*)(d.is_shared ? d.data.shared-&gt;ptr
- : reinterpret_cast&lt;const void *&gt;(&amp;d.data.ptr)))
- </ExpandedItem>
- <ExpandedItem Condition="d.type == QMetaType::QRectF">
- *((QRectF*)(d.is_shared ? d.data.shared-&gt;ptr
- : reinterpret_cast&lt;const void *&gt;(&amp;d.data.ptr)))
- </ExpandedItem>
- <ExpandedItem Condition="d.type == QMetaType::QSize">
- *((QSize*)(d.is_shared ? d.data.shared-&gt;ptr
- : reinterpret_cast&lt;const void *&gt;(&amp;d.data.ptr)))
- </ExpandedItem>
- <ExpandedItem Condition="d.type == QMetaType::QSizeF">
- *((QSizeF*)(d.is_shared ? d.data.shared-&gt;ptr
- : reinterpret_cast&lt;const void *&gt;(&amp;d.data.ptr)))
- </ExpandedItem>
- <ExpandedItem Condition="d.type == QMetaType::QLine">
- *((QLine*)(d.is_shared ? d.data.shared-&gt;ptr
- : reinterpret_cast&lt;const void *&gt;(&amp;d.data.ptr)))
- </ExpandedItem>
- <ExpandedItem Condition="d.type == QMetaType::QLineF">
- *((QLineF*)(d.is_shared ? d.data.shared-&gt;ptr
- : reinterpret_cast&lt;const void *&gt;(&amp;d.data.ptr)))
- </ExpandedItem>
- <ExpandedItem Condition="d.type == QMetaType::QPoint">
- *((QPoint*)(d.is_shared ? d.data.shared-&gt;ptr
- : reinterpret_cast&lt;const void *&gt;(&amp;d.data.ptr)))
- </ExpandedItem>
- <ExpandedItem Condition="d.type == QMetaType::QPointF">
- *((QPointF*)(d.is_shared ? d.data.shared-&gt;ptr
- : reinterpret_cast&lt;const void *&gt;(&amp;d.data.ptr)))
- </ExpandedItem>
- <ExpandedItem Condition="d.type == QMetaType::QVariantHash">
- *((QHash&lt;QString,QVariant&gt;*)(d.is_shared ? d.data.shared-&gt;ptr
- : reinterpret_cast&lt;const void *&gt;(&amp;d.data.ptr)))
- </ExpandedItem>
- </Expand>
-
- <!--End region Expand QVariant-->
- </Type>
-
-</AutoVisualizer>
diff --git a/tools/Qt4EEAddin/test/main.cpp b/tools/Qt4EEAddin/test/main.cpp
deleted file mode 100644
index b0a0a104..00000000
--- a/tools/Qt4EEAddin/test/main.cpp
+++ /dev/null
@@ -1,180 +0,0 @@
-/****************************************************************************
-**
-** Copyright (C) 2016 The Qt Company Ltd.
-** Contact: https://www.qt.io/licensing/
-**
-** This file is part of the Qt VS Add-in.
-**
-** $QT_BEGIN_LICENSE:GPL-EXCEPT$
-** Commercial License Usage
-** Licensees holding valid commercial Qt licenses may use this file in
-** accordance with the commercial license agreement provided with the
-** Software or, alternatively, in accordance with the terms contained in
-** a written agreement between you and The Qt Company. For licensing terms
-** and conditions see https://www.qt.io/terms-conditions. For further
-** information use the contact form at https://www.qt.io/contact-us.
-**
-** GNU General Public License Usage
-** Alternatively, this file may be used under the terms of the GNU
-** General Public License version 3 as published by the Free Software
-** Foundation with exceptions as appearing in the file LICENSE.GPL3-EXCEPT
-** included in the packaging of this file. Please review the following
-** information to ensure the GNU General Public License requirements will
-** be met: https://www.gnu.org/licenses/gpl-3.0.html.
-**
-** $QT_END_LICENSE$
-**
-****************************************************************************/
-
-#include <QString>
-#include <QByteArray>
-#include <QFileInfo>
-#include <QUrl>
-#include <QTime>
-#include <QVariant>
-#include <QStringList>
-#include <QMap>
-#include <QList>
-#include <QQueue>
-#include <QLinkedList>
-#include <QVector>
-#include <QStack>
-#include <QHash>
-#include <QMultiHash>
-#include <QSet>
-#include <QPalette>
-#include <QBrush>
-#include <QTransform>
-#include <QMatrix>
-#include <QPolygon>
-#include <QPolygonF>
-
-struct BigStruct
-{
- int a;
- int b;
- int c;
-
- BigStruct()
- {
- a = b = c = 0;
- }
-
- BigStruct(int i)
- {
- a = i++;
- b = i++;
- c = i;
- }
-};
-
-static bool operator==(const BigStruct& lhs, const BigStruct& rhs)
-{
- return rhs.a == lhs.a && rhs.b == lhs.b && rhs.c == lhs.c;
-}
-
-static uint qHash(const BigStruct& bs)
-{
- return qHash(bs.a + bs.b*10 + bs.c*100);
-}
-
-int main(int argc, char *argv[])
-{
- QString str = QLatin1String("This is a string.");
- QByteArray byteArray = "This is a zero-terminated string.";
- QFileInfo fileInfo(argv[0]);
- QUrl url = "http://qt.io/";
- QTime currentTime = QTime::currentTime();
-
- QStringList stringList;
- stringList << "one" << "two" << "three";
-
- QVariant v_bool(true);
- QVariant v_int(int(-156));
- QVariant v_uint(unsigned int(156));
- QVariant v_longlong(long long(-156));
- QVariant v_ulonglong(unsigned long long(156));
- QVariant v_double(123.456);
- QVariant v_char('A');
- QMap<QString,QVariant> vMap;
- vMap["foo"] = 2;
- QVariant v_map(vMap);
- QVariant v_string(QString(QLatin1String("This is a string.")));
- QVariant v_stringList(stringList);
- QVariant v_url(QUrl("http://qt.io/"));
-
- QList<int> lst_int;
- lst_int << 1 << 2 << 3;
- QList<int>::iterator lst_int_it = lst_int.begin();
- QListIterator<int> lst_int_it2(lst_int);
-
- QList<BigStruct> lst_big;
- lst_big << BigStruct(1) << BigStruct(2) << BigStruct(3);
- QList<BigStruct>::iterator lst_big_it = lst_big.begin();
- QListIterator<BigStruct> lst_big_it2(lst_big);
-
- QQueue<int> queue_int;
- queue_int << 1 << 2 << 3;
- QQueue<int>::iterator queue_int_it = queue_int.begin();
-
- QQueue<BigStruct> queue_big;
- queue_big << BigStruct(1) << BigStruct(2) << BigStruct(3);
- QQueue<BigStruct>::iterator queue_big_it = queue_big.begin();
-
- QLinkedList<int> lnklst_int;
- lnklst_int << 1 << 2 << 3;
- QLinkedList<int>::iterator lnklst_int_it = lnklst_int.begin();
-
- QLinkedList<BigStruct> lnklst_big;
- lnklst_big << BigStruct(1) << BigStruct(2) << BigStruct(3);
- QLinkedList<BigStruct>::iterator lnklst_big_it = lnklst_big.begin();
-
- QVector<int> vec_int;
- vec_int << 1 << 2 << 3;
-
- QVector<BigStruct> vec_big;
- vec_big << BigStruct(1) << BigStruct(2) << BigStruct(3);
-
- QStack<int> stack_int;
- stack_int << 1 << 2 << 3;
-
- QStack<BigStruct> stack_big;
- stack_big << BigStruct(1) << BigStruct(2) << BigStruct(3);
-
- QHash<QString, int> hash;
- hash["one"] = 1;
- hash["two"] = 2;
- hash["three"] = 3;
-
- QHash<QString, int>::iterator hash_it = hash.begin();
- QHashIterator<QString, int> hash_it2(hash);
-
- QMultiHash<QString, int> multihash;
- multihash.insert("ones", 1);
- multihash.insert("ones", 11);
- multihash.insert("ones", 111);
- multihash.insert("twos", 2);
- multihash.insert("threes", 3);
- multihash.insert("threes", 33);
-
- QSet<int> set_int;
- set_int << 1 << 2 << 3;
-
- QSet<BigStruct> set_big;
- set_big << BigStruct(1) << BigStruct(2) << BigStruct(3);
-
- QPalette palette;
- QBrush brush(Qt::red);
- QColor color(Qt::blue);
- QTransform transform;
- transform.translate(50, 50);
- transform.rotate(45);
- transform.scale(0.5, 1.0);
- QMatrix matrix(1, 0, 0, 1, 50.0, 50.0);
- QPolygon polygon;
- polygon << QPoint(10, 20) << QPoint(20, 30);
- QPolygonF polygonf;
- polygonf << QPointF(10.1, 20.1) << QPointF(20.1, 30.1);
-
- return 0;
-}
diff --git a/tools/Qt4EEAddin/test/test.pro b/tools/Qt4EEAddin/test/test.pro
deleted file mode 100644
index d77902de..00000000
--- a/tools/Qt4EEAddin/test/test.pro
+++ /dev/null
@@ -1,13 +0,0 @@
-######################################################################
-# Automatically generated by qmake (2.00a) fr 29. jul 10:57:57 2005
-######################################################################
-
-TEMPLATE = app
-TARGET = Qt4EEAddinTest
-DEPENDPATH += .
-INCLUDEPATH += .
-
-QT += xml network sql
-
-# Input
-SOURCES += main.cpp
diff --git a/tools/buildAddin/buildAddin.cmd b/tools/buildAddin/buildAddin.cmd
deleted file mode 100644
index b72ecc2a..00000000
--- a/tools/buildAddin/buildAddin.cmd
+++ /dev/null
@@ -1,156 +0,0 @@
-@echo off
-setlocal
-set CONFIGSCRIPT=buildAddin_config.cmd
-if exist %CONFIGSCRIPT% goto configScriptAvailable
-echo %CONFIGSCRIPT% doesn't exist. Please create this file.
-echo There is an example called %CONFIGSCRIPT%_example.
-echo Use this as template.
-goto :eof
-
-:configScriptAvailable
-call %CONFIGSCRIPT%
-cd /d %DEV_DIR%
-if exist VS*_FAILED.txt del VS*_FAILED.txt
-if exist build*.log del build*.log
-set IBMAKEOPTIONS=/Rebuild
-if "%VS2008%"=="yes" call :buildCommonStuff
-if errorlevel 1 exit /b %ERRORLEVEL%
-if "%VS2005%"=="yes" call :buildVSI 2005
-if "%VS2008%"=="yes" call :buildVSI 2008
-if "%VS2010%"=="yes" call :buildVSI 2010
-if errorlevel 1 exit /b %ERRORLEVEL%
-if "%BUILDINSTALLER%"=="yes" (
- if not exist VS*_FAILED.txt call :buildInstaller
-)
-endlocal
-goto :eof
-
-:buildCommonStuff
- setlocal
- set LOGFILE=%DEV_DIR%\buildcommon.log
- set FAILEDFILE=COMMON_FAILED.txt
- set QMAKESPEC=win32-msvc2008
- set PATH=%QTDIR%\bin;%PATH%
- call :setenv2008
-
- echo.
- call :msg Building common stuff
- call :msg =============================================================
- echo.
- call :msg qmakewrapper
- pushd vs2008\qtvstools\Qt4VS2003\ComWrappers\qmakewrapper
- qmake >> %LOGFILE% 2>&1
- jom /nologo clean release >> %LOGFILE% 2>&1
- if errorlevel 1 exit /b %ERRORLEVEL%
- popd
-
- copy vs2008\qtvstools\Qt4VS2003\ComWrappers\qmakewrapper\qmakewrapper1Lib.dll vs2005\qtvstools\Qt4VS2003\ComWrappers\qmakewrapper\qmakewrapper1Lib.dll
-:: copy vs2008\qtvstools\Qt4VS2003\ComWrappers\qmakewrapper\release\qmakewrapper1.dll vs2005\qtvstools\Qt4VS2003\ComWrappers\qmakewrapper\release\qmakewrapper1.dll
-
- call :msg qtappwrapper
- pushd vs2008\qtvstools\tools\qtappwrapper
- devenv qtappwrapper2008.sln /useenv /Clean Release >> %LOGFILE% 2>&1
- devenv qtappwrapper2008.sln /useenv /Build Release >> %LOGFILE% 2>&1
- if errorlevel 1 exit /b %ERRORLEVEL%
- popd
- call :logseparator
-
- call :msg qrceditor
- pushd vs2008\qtvstools\tools\qrceditor
- qmake >> %LOGFILE% 2>&1
- jom /nologo clean release >> %LOGFILE% 2>&1
- if errorlevel 1 exit /b %ERRORLEVEL%
- popd
- call :logseparator
- endlocal
-goto :eof
-
-:buildVSI
- setlocal
- :: set the right environment 'n stuff
- set LOGFILE=%DEV_DIR%\build%1.log
- set FAILEDFILE=VS%1_FAILED.txt
- set QMAKESPEC=win32-msvc%1
- set PATH=%QTDIR%\bin;%PATH%
- call :setenv%1
-
- echo.
- call :msg Building the Visual Studio Add-in for Visual Studio %1
- call :msg =============================================================
- echo QMAKESPEC=%QMAKESPEC% >> %LOGFILE%
- echo QTDIR=%QTDIR% >> %LOGFILE%
-
-:: call :logseparator
-:: call :msg building the COMWrapper
-:: pushd vs%1\qtvstools\Qt4VS2003\ComWrappers\FormEditor
-:: qmake -tp vc >> %LOGFILE% 2>&1
-:: call ibmake release %IBMAKEOPTIONS% >> %LOGFILE% 2>&1
-:: popd
-::
-:: :: check if COMWrapper has been built
-:: if not exist vs%1\qtvstools\Qt4VS2003\ComWrappers\FormEditor\release\formeditor1.dll (
-:: touch %FAILEDFILE%
-:: goto :stopthisthing
-:: )
-
- call :logseparator
- call :msg building the VS Add-in main part
- pushd vs%1\qtvstools\Qt4VS2003
- call createCultureResources.cmd
- devenv Qt4VSAddin%1.sln /useenv /Clean Release >> %LOGFILE% 2>&1
- devenv Qt4VSAddin%1.sln /useenv /Build Release >> %LOGFILE% 2>&1
- if errorlevel 1 exit /b %ERRORLEVEL%
- popd
-
- :: check if main part has been built
- if not exist vs%1\qtvstools\Qt4VS2003\Qt4VSAddin\Release\Qt5VSAddin.dll (
- touch %FAILEDFILE%
- goto :stopthisthing
- )
-
- call :logseparator
- call :msg collecting installer files
- pushd vs%1\qtvstools\Qt4VS2003
- set COLLECTOPTIONS=
- if "%1" NEQ "2008" set COLLECTOPTIONS=--addin
- call collectInstallerFiles.bat %COLLECTOPTIONS%
- popd
-
- :stopthisthing
- endlocal
-goto :eof
-
-:setenv2005
- call "%VSVARS2005%"
-goto :eof
-
-:setenv2008
- call "%VSVARS2008%"
-goto :eof
-
-:setenv2010
- call "%VSVARS2010%"
-goto :eof
-
-:msg
- echo %*
- echo %* >> %LOGFILE%
-goto :eof
-
-:logseparator
- echo. >> %LOGFILE%
- echo ----------------------------------------------------------- >> %LOGFILE%
- echo. >> %LOGFILE%
-goto :eof
-
-:buildInstaller
- echo.
- echo Calling iwmake...
- setlocal
- pushd %DEV_DIR%\mkdist\installers\win-binary
- if exist log.txt del log.txt
- call iwmake addin7x
- popd
- endlocal
-goto :eof
-
diff --git a/tools/buildAddin/buildAddin_config.cmd_example b/tools/buildAddin/buildAddin_config.cmd_example
deleted file mode 100644
index 030e4adb..00000000
--- a/tools/buildAddin/buildAddin_config.cmd_example
+++ /dev/null
@@ -1,14 +0,0 @@
-set QT_VERSION=5.1
-set QTDIR=D:\Qt\Qt5.1.0\5.1.0\msvc2012
-set DEV_DIR=D:\qt5vsaddon
-set VS2005=no
-set VS2008=yes
-set VS2010=yes
-set VS2012=yes
-set VS2013=yes
-set VSVARS2005=c:\Program Files (x86)\Microsoft Visual Studio 8\Common7\Tools\vsvars32.bat
-set VSVARS2008=c:\Program Files (x86)\Microsoft Visual Studio 9.0\Common7\Tools\vsvars32.bat
-set VSVARS2010=c:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\Tools\vsvars32.bat
-set VSVARS2012=c:\Program Files (x86)\Microsoft Visual Studio 11.0\Common7\Tools\vsvars32.bat
-set VSVARS2013=c:\Program Files (x86)\Microsoft Visual Studio 12.0\Common7\Tools\vsvars32.bat
-set BUILDINSTALLER=no
diff --git a/tools/qmakefilereader/evalhandler.cpp b/tools/qmakefilereader/evalhandler.cpp
deleted file mode 100644
index 8bcf61b7..00000000
--- a/tools/qmakefilereader/evalhandler.cpp
+++ /dev/null
@@ -1,54 +0,0 @@
-/****************************************************************************
-**
-** Copyright (C) 2016 The Qt Company Ltd.
-** Contact: https://www.qt.io/licensing/
-**
-** This file is part of the Qt VS Add-in.
-**
-** $QT_BEGIN_LICENSE:GPL-EXCEPT$
-** Commercial License Usage
-** Licensees holding valid commercial Qt licenses may use this file in
-** accordance with the commercial license agreement provided with the
-** Software or, alternatively, in accordance with the terms contained in
-** a written agreement between you and The Qt Company. For licensing terms
-** and conditions see https://www.qt.io/terms-conditions. For further
-** information use the contact form at https://www.qt.io/contact-us.
-**
-** GNU General Public License Usage
-** Alternatively, this file may be used under the terms of the GNU
-** General Public License version 3 as published by the Free Software
-** Foundation with exceptions as appearing in the file LICENSE.GPL3-EXCEPT
-** included in the packaging of this file. Please review the following
-** information to ensure the GNU General Public License requirements will
-** be met: https://www.gnu.org/licenses/gpl-3.0.html.
-**
-** $QT_END_LICENSE$
-**
-****************************************************************************/
-
-#include "evalhandler.h"
-
-void EvalHandler::message(int type, const QString &msg, const QString &fileName, int lineNo)
-{
- Q_UNUSED(type);
- Q_UNUSED(msg);
- Q_UNUSED(fileName);
- Q_UNUSED(lineNo);
-}
-
-void EvalHandler::fileMessage(const QString &msg)
-{
- Q_UNUSED(msg);
-}
-
-void EvalHandler::aboutToEval(ProFile *parent, ProFile *proFile, EvalFileType type)
-{
- Q_UNUSED(parent);
- Q_UNUSED(proFile);
- Q_UNUSED(type);
-}
-
-void EvalHandler::doneWithEval(ProFile *parent)
-{
- Q_UNUSED(parent);
-}
diff --git a/tools/qmakefilereader/evalhandler.h b/tools/qmakefilereader/evalhandler.h
deleted file mode 100644
index 5f5e364f..00000000
--- a/tools/qmakefilereader/evalhandler.h
+++ /dev/null
@@ -1,46 +0,0 @@
-/****************************************************************************
-**
-** Copyright (C) 2016 The Qt Company Ltd.
-** Contact: https://www.qt.io/licensing/
-**
-** This file is part of the Qt VS Add-in.
-**
-** $QT_BEGIN_LICENSE:GPL-EXCEPT$
-** Commercial License Usage
-** Licensees holding valid commercial Qt licenses may use this file in
-** accordance with the commercial license agreement provided with the
-** Software or, alternatively, in accordance with the terms contained in
-** a written agreement between you and The Qt Company. For licensing terms
-** and conditions see https://www.qt.io/terms-conditions. For further
-** information use the contact form at https://www.qt.io/contact-us.
-**
-** GNU General Public License Usage
-** Alternatively, this file may be used under the terms of the GNU
-** General Public License version 3 as published by the Free Software
-** Foundation with exceptions as appearing in the file LICENSE.GPL3-EXCEPT
-** included in the packaging of this file. Please review the following
-** information to ensure the GNU General Public License requirements will
-** be met: https://www.gnu.org/licenses/gpl-3.0.html.
-**
-** $QT_END_LICENSE$
-**
-****************************************************************************/
-
-#ifndef EVALHANDLER_H
-#define EVALHANDLER_H
-
-#include <qmakeevaluator.h>
-
-/**
- * Dummy handler to please qmake's parser.
- */
-class EvalHandler : public QMakeHandler
-{
-public:
- void message(int type, const QString &msg, const QString &fileName, int lineNo);
- void fileMessage(const QString &msg);
- void aboutToEval(ProFile *parent, ProFile *proFile, EvalFileType type);
- void doneWithEval(ProFile *parent);
-};
-
-#endif // EVALHANDLER_H
diff --git a/tools/qmakefilereader/evaluator/README b/tools/qmakefilereader/evaluator/README
deleted file mode 100644
index 67994c5c..00000000
--- a/tools/qmakefilereader/evaluator/README
+++ /dev/null
@@ -1,6 +0,0 @@
-This is a copy of qmake's parser and evaluator from qmake/library
-directory in the qtbase repository at git://gitorious.org/qt/qtbase.git.
-It has been taken at 5e525d283d308fe462e83955996fc53d80465c1b.
-
-If you do changes to these files, please make sure they are upstreamed!
-
diff --git a/tools/qmakefilereader/evaluator/ioutils.cpp b/tools/qmakefilereader/evaluator/ioutils.cpp
deleted file mode 100644
index 1ea6c4da..00000000
--- a/tools/qmakefilereader/evaluator/ioutils.cpp
+++ /dev/null
@@ -1,155 +0,0 @@
-/****************************************************************************
-**
-** Copyright (C) 2016 The Qt Company Ltd.
-** Contact: https://www.qt.io/licensing/
-**
-** This file is part of the Qt VS Add-in.
-**
-** $QT_BEGIN_LICENSE:GPL-EXCEPT$
-** Commercial License Usage
-** Licensees holding valid commercial Qt licenses may use this file in
-** accordance with the commercial license agreement provided with the
-** Software or, alternatively, in accordance with the terms contained in
-** a written agreement between you and The Qt Company. For licensing terms
-** and conditions see https://www.qt.io/terms-conditions. For further
-** information use the contact form at https://www.qt.io/contact-us.
-**
-** GNU General Public License Usage
-** Alternatively, this file may be used under the terms of the GNU
-** General Public License version 3 as published by the Free Software
-** Foundation with exceptions as appearing in the file LICENSE.GPL3-EXCEPT
-** included in the packaging of this file. Please review the following
-** information to ensure the GNU General Public License requirements will
-** be met: https://www.gnu.org/licenses/gpl-3.0.html.
-**
-** $QT_END_LICENSE$
-**
-****************************************************************************/
-
-#include "ioutils.h"
-
-#include <qdir.h>
-#include <qfile.h>
-
-#ifdef Q_OS_WIN
-# include <windows.h>
-#else
-# include <sys/types.h>
-# include <sys/stat.h>
-# include <unistd.h>
-#endif
-
-QT_BEGIN_NAMESPACE
-
-using namespace QMakeInternal;
-
-IoUtils::FileType IoUtils::fileType(const QString &fileName)
-{
- Q_ASSERT(fileName.isEmpty() || isAbsolutePath(fileName));
-#ifdef Q_OS_WIN
- DWORD attr = GetFileAttributesW((WCHAR*)fileName.utf16());
- if (attr == INVALID_FILE_ATTRIBUTES)
- return FileNotFound;
- return (attr & FILE_ATTRIBUTE_DIRECTORY) ? FileIsDir : FileIsRegular;
-#else
- struct ::stat st;
- if (::stat(fileName.toLocal8Bit().constData(), &st))
- return FileNotFound;
- return S_ISDIR(st.st_mode) ? FileIsDir : FileIsRegular;
-#endif
-}
-
-bool IoUtils::isRelativePath(const QString &path)
-{
- if (path.startsWith(QLatin1Char('/')))
- return false;
-#ifdef Q_OS_WIN
- if (path.startsWith(QLatin1Char('\\')))
- return false;
- // Unlike QFileInfo, this won't accept a relative path with a drive letter.
- // Such paths result in a royal mess anyway ...
- if (path.length() >= 3 && path.at(1) == QLatin1Char(':') && path.at(0).isLetter()
- && (path.at(2) == QLatin1Char('/') || path.at(2) == QLatin1Char('\\')))
- return false;
-#endif
- return true;
-}
-
-QStringRef IoUtils::fileName(const QString &fileName)
-{
- return fileName.midRef(fileName.lastIndexOf(QLatin1Char('/')) + 1);
-}
-
-QString IoUtils::resolvePath(const QString &baseDir, const QString &fileName)
-{
- if (fileName.isEmpty())
- return QString();
- if (isAbsolutePath(fileName))
- return QDir::cleanPath(fileName);
- return QDir::cleanPath(baseDir + QLatin1Char('/') + fileName);
-}
-
-inline static
-bool hasSpecialChars(const QString &arg, const uchar (&iqm)[16])
-{
- for (int x = arg.length() - 1; x >= 0; --x) {
- ushort c = arg.unicode()[x].unicode();
- if ((c < sizeof(iqm) * 8) && (iqm[c / 8] & (1 << (c & 7))))
- return true;
- }
- return false;
-}
-
-QString IoUtils::shellQuoteUnix(const QString &arg)
-{
- // Chars that should be quoted (TM). This includes:
- static const uchar iqm[] = {
- 0xff, 0xff, 0xff, 0xff, 0xdf, 0x07, 0x00, 0xd8,
- 0x00, 0x00, 0x00, 0x38, 0x01, 0x00, 0x00, 0x78
- }; // 0-32 \'"$`<>|;&(){}*?#!~[]
-
- if (!arg.length())
- return QString::fromLatin1("\"\"");
-
- QString ret(arg);
- if (hasSpecialChars(ret, iqm)) {
- ret.replace(QLatin1Char('\''), QLatin1String("'\\''"));
- ret.prepend(QLatin1Char('\''));
- ret.append(QLatin1Char('\''));
- }
- return ret;
-}
-
-QString IoUtils::shellQuoteWin(const QString &arg)
-{
- // Chars that should be quoted (TM). This includes:
- // - control chars & space
- // - the shell meta chars "&()<>^|
- // - the potential separators ,;=
- static const uchar iqm[] = {
- 0xff, 0xff, 0xff, 0xff, 0x45, 0x13, 0x00, 0x78,
- 0x00, 0x00, 0x00, 0x40, 0x00, 0x00, 0x00, 0x10
- };
-
- if (!arg.length())
- return QString::fromLatin1("\"\"");
-
- QString ret(arg);
- if (hasSpecialChars(ret, iqm)) {
- // Quotes are escaped and their preceding backslashes are doubled.
- // It's impossible to escape anything inside a quoted string on cmd
- // level, so the outer quoting must be "suspended".
- ret.replace(QRegExp(QLatin1String("(\\\\*)\"")), QLatin1String("\"\\1\\1\\^\"\""));
- // The argument must not end with a \ since this would be interpreted
- // as escaping the quote -- rather put the \ behind the quote: e.g.
- // rather use "foo"\ than "foo\"
- int i = ret.length();
- while (i > 0 && ret.at(i - 1) == QLatin1Char('\\'))
- --i;
- ret.insert(i, QLatin1Char('"'));
- ret.prepend(QLatin1Char('"'));
- }
- return ret;
-}
-
-QT_END_NAMESPACE
diff --git a/tools/qmakefilereader/evaluator/ioutils.h b/tools/qmakefilereader/evaluator/ioutils.h
deleted file mode 100644
index c9cc4be3..00000000
--- a/tools/qmakefilereader/evaluator/ioutils.h
+++ /dev/null
@@ -1,70 +0,0 @@
-/****************************************************************************
-**
-** Copyright (C) 2016 The Qt Company Ltd.
-** Contact: https://www.qt.io/licensing/
-**
-** This file is part of the Qt VS Add-in.
-**
-** $QT_BEGIN_LICENSE:GPL-EXCEPT$
-** Commercial License Usage
-** Licensees holding valid commercial Qt licenses may use this file in
-** accordance with the commercial license agreement provided with the
-** Software or, alternatively, in accordance with the terms contained in
-** a written agreement between you and The Qt Company. For licensing terms
-** and conditions see https://www.qt.io/terms-conditions. For further
-** information use the contact form at https://www.qt.io/contact-us.
-**
-** GNU General Public License Usage
-** Alternatively, this file may be used under the terms of the GNU
-** General Public License version 3 as published by the Free Software
-** Foundation with exceptions as appearing in the file LICENSE.GPL3-EXCEPT
-** included in the packaging of this file. Please review the following
-** information to ensure the GNU General Public License requirements will
-** be met: https://www.gnu.org/licenses/gpl-3.0.html.
-**
-** $QT_END_LICENSE$
-**
-****************************************************************************/
-
-#ifndef IOUTILS_H
-#define IOUTILS_H
-
-#include <qstring.h>
-
-QT_BEGIN_NAMESPACE
-
-namespace QMakeInternal {
-
-/*!
- This class provides replacement functionality for QFileInfo, QFile & QDir,
- as these are abysmally slow.
-*/
-class IoUtils {
-public:
- enum FileType {
- FileNotFound = 0,
- FileIsRegular = 1,
- FileIsDir = 2
- };
-
- static FileType fileType(const QString &fileName);
- static bool exists(const QString &fileName) { return fileType(fileName) != FileNotFound; }
- static bool isRelativePath(const QString &fileName);
- static bool isAbsolutePath(const QString &fileName) { return !isRelativePath(fileName); }
- static QStringRef fileName(const QString &fileName); // Requires normalized path
- static QString resolvePath(const QString &baseDir, const QString &fileName);
- static QString shellQuoteUnix(const QString &arg);
- static QString shellQuoteWin(const QString &arg);
- static QString shellQuote(const QString &arg)
-#ifdef Q_OS_UNIX
- { return shellQuoteUnix(arg); }
-#else
- { return shellQuoteWin(arg); }
-#endif
-};
-
-} // namespace ProFileEvaluatorInternal
-
-QT_END_NAMESPACE
-
-#endif // IOUTILS_H
diff --git a/tools/qmakefilereader/evaluator/proitems.cpp b/tools/qmakefilereader/evaluator/proitems.cpp
deleted file mode 100644
index 987990bd..00000000
--- a/tools/qmakefilereader/evaluator/proitems.cpp
+++ /dev/null
@@ -1,450 +0,0 @@
-/****************************************************************************
-**
-** Copyright (C) 2016 The Qt Company Ltd.
-** Contact: https://www.qt.io/licensing/
-**
-** This file is part of the Qt VS Add-in.
-**
-** $QT_BEGIN_LICENSE:GPL-EXCEPT$
-** Commercial License Usage
-** Licensees holding valid commercial Qt licenses may use this file in
-** accordance with the commercial license agreement provided with the
-** Software or, alternatively, in accordance with the terms contained in
-** a written agreement between you and The Qt Company. For licensing terms
-** and conditions see https://www.qt.io/terms-conditions. For further
-** information use the contact form at https://www.qt.io/contact-us.
-**
-** GNU General Public License Usage
-** Alternatively, this file may be used under the terms of the GNU
-** General Public License version 3 as published by the Free Software
-** Foundation with exceptions as appearing in the file LICENSE.GPL3-EXCEPT
-** included in the packaging of this file. Please review the following
-** information to ensure the GNU General Public License requirements will
-** be met: https://www.gnu.org/licenses/gpl-3.0.html.
-**
-** $QT_END_LICENSE$
-**
-****************************************************************************/
-
-#include "proitems.h"
-
-#include <qfileinfo.h>
-#include <qset.h>
-#include <qstringlist.h>
-#include <qtextstream.h>
-
-QT_BEGIN_NAMESPACE
-
-// from qhash.cpp
-uint ProString::hash(const QChar *p, int n)
-{
- uint h = 0;
-
- while (n--) {
- h = (h << 4) + (*p++).unicode();
- h ^= (h & 0xf0000000) >> 23;
- h &= 0x0fffffff;
- }
- return h;
-}
-
-ProString::ProString() :
- m_offset(0), m_length(0), m_file(0), m_hash(0x80000000)
-{
-}
-
-ProString::ProString(const ProString &other) :
- m_string(other.m_string), m_offset(other.m_offset), m_length(other.m_length), m_file(other.m_file), m_hash(other.m_hash)
-{
-}
-
-ProString::ProString(const ProString &other, OmitPreHashing) :
- m_string(other.m_string), m_offset(other.m_offset), m_length(other.m_length), m_file(other.m_file), m_hash(0x80000000)
-{
-}
-
-ProString::ProString(const QString &str, DoPreHashing) :
- m_string(str), m_offset(0), m_length(str.length()), m_file(0)
-{
- updatedHash();
-}
-
-ProString::ProString(const QString &str) :
- m_string(str), m_offset(0), m_length(str.length()), m_file(0), m_hash(0x80000000)
-{
-}
-
-ProString::ProString(const char *str, DoPreHashing) :
- m_string(QString::fromLatin1(str)), m_offset(0), m_length(qstrlen(str)), m_file(0)
-{
- updatedHash();
-}
-
-ProString::ProString(const char *str) :
- m_string(QString::fromLatin1(str)), m_offset(0), m_length(qstrlen(str)), m_file(0), m_hash(0x80000000)
-{
-}
-
-ProString::ProString(const QString &str, int offset, int length, DoPreHashing) :
- m_string(str), m_offset(offset), m_length(length), m_file(0)
-{
- updatedHash();
-}
-
-ProString::ProString(const QString &str, int offset, int length, uint hash) :
- m_string(str), m_offset(offset), m_length(length), m_file(0), m_hash(hash)
-{
-}
-
-ProString::ProString(const QString &str, int offset, int length) :
- m_string(str), m_offset(offset), m_length(length), m_file(0), m_hash(0x80000000)
-{
-}
-
-void ProString::setValue(const QString &str)
-{
- m_string = str, m_offset = 0, m_length = str.length(), m_hash = 0x80000000;
-}
-
-uint ProString::updatedHash() const
-{
- return (m_hash = hash(m_string.constData() + m_offset, m_length));
-}
-
-uint qHash(const ProString &str)
-{
- if (!(str.m_hash & 0x80000000))
- return str.m_hash;
- return str.updatedHash();
-}
-
-ProKey::ProKey(const QString &str) :
- ProString(str, DoHash)
-{
-}
-
-ProKey::ProKey(const char *str) :
- ProString(str, DoHash)
-{
-}
-
-ProKey::ProKey(const QString &str, int off, int len) :
- ProString(str, off, len, DoHash)
-{
-}
-
-ProKey::ProKey(const QString &str, int off, int len, uint hash) :
- ProString(str, off, len, hash)
-{
-}
-
-void ProKey::setValue(const QString &str)
-{
- m_string = str, m_offset = 0, m_length = str.length();
- updatedHash();
-}
-
-QString ProString::toQString() const
-{
- return m_string.mid(m_offset, m_length);
-}
-
-QString &ProString::toQString(QString &tmp) const
-{
- return tmp.setRawData(m_string.constData() + m_offset, m_length);
-}
-
-QChar *ProString::prepareExtend(int extraLen, int thisTarget, int extraTarget)
-{
- if (m_string.isDetached() && m_length + extraLen <= m_string.capacity()) {
- m_string.reserve(0); // Prevent the resize() below from reallocating
- QChar *ptr = (QChar *)m_string.constData();
- if (m_offset != thisTarget)
- memmove(ptr + thisTarget, ptr + m_offset, m_length * 2);
- ptr += extraTarget;
- m_offset = 0;
- m_length += extraLen;
- m_string.resize(m_length);
- m_hash = 0x80000000;
- return ptr;
- } else {
- QString neu(m_length + extraLen, Qt::Uninitialized);
- QChar *ptr = (QChar *)neu.constData();
- memcpy(ptr + thisTarget, m_string.constData() + m_offset, m_length * 2);
- ptr += extraTarget;
- *this = ProString(neu);
- return ptr;
- }
-}
-
-ProString &ProString::prepend(const ProString &other)
-{
- if (other.m_length) {
- if (!m_length) {
- *this = other;
- } else {
- QChar *ptr = prepareExtend(other.m_length, other.m_length, 0);
- memcpy(ptr, other.constData(), other.m_length * 2);
- if (!m_file)
- m_file = other.m_file;
- }
- }
- return *this;
-}
-
-ProString &ProString::append(const QLatin1String other)
-{
- const char *latin1 = other.latin1();
-#if QT_VERSION >= QT_VERSION_CHECK(5, 0, 0)
- int size = other.size();
-#else
- int size = strlen(latin1);
-#endif
- if (size) {
- QChar *ptr = prepareExtend(size, 0, m_length);
- for (int i = 0; i < size; i++)
- *ptr++ = QLatin1Char(latin1[i]);
- }
- return *this;
-}
-
-ProString &ProString::append(QChar other)
-{
- QChar *ptr = prepareExtend(1, 0, m_length);
- *ptr = other;
- return *this;
-}
-
-// If pending != 0, prefix with space if appending to non-empty non-pending
-ProString &ProString::append(const ProString &other, bool *pending)
-{
- if (other.m_length) {
- if (!m_length) {
- *this = other;
- } else {
- QChar *ptr;
- if (pending && !*pending) {
- ptr = prepareExtend(1 + other.m_length, 0, m_length);
- *ptr++ = 32;
- } else {
- ptr = prepareExtend(other.m_length, 0, m_length);
- }
- memcpy(ptr, other.m_string.constData() + other.m_offset, other.m_length * 2);
- if (other.m_file)
- m_file = other.m_file;
- }
- if (pending)
- *pending = true;
- }
- return *this;
-}
-
-ProString &ProString::append(const ProStringList &other, bool *pending, bool skipEmpty1st)
-{
- if (const int sz = other.size()) {
- int startIdx = 0;
- if (pending && !*pending && skipEmpty1st && other.at(0).isEmpty()) {
- if (sz == 1)
- return *this;
- startIdx = 1;
- }
- if (!m_length && sz == startIdx + 1) {
- *this = other.at(startIdx);
- } else {
- int totalLength = sz - startIdx;
- for (int i = startIdx; i < sz; ++i)
- totalLength += other.at(i).size();
- bool putSpace = false;
- if (pending && !*pending && m_length)
- putSpace = true;
- else
- totalLength--;
-
- QChar *ptr = prepareExtend(totalLength, 0, m_length);
- for (int i = startIdx; i < sz; ++i) {
- if (putSpace)
- *ptr++ = 32;
- else
- putSpace = true;
- const ProString &str = other.at(i);
- memcpy(ptr, str.m_string.constData() + str.m_offset, str.m_length * 2);
- ptr += str.m_length;
- }
- if (other.last().m_file)
- m_file = other.last().m_file;
- }
- if (pending)
- *pending = true;
- }
- return *this;
-}
-
-QString operator+(const ProString &one, const ProString &two)
-{
- if (two.m_length) {
- if (!one.m_length) {
- return two.toQString();
- } else {
- QString neu(one.m_length + two.m_length, Qt::Uninitialized);
- ushort *ptr = (ushort *)neu.constData();
- memcpy(ptr, one.m_string.constData() + one.m_offset, one.m_length * 2);
- memcpy(ptr + one.m_length, two.m_string.constData() + two.m_offset, two.m_length * 2);
- return neu;
- }
- }
- return one.toQString();
-}
-
-
-ProString ProString::mid(int off, int len) const
-{
- ProString ret(*this, NoHash);
- if (off > m_length)
- off = m_length;
- ret.m_offset += off;
- ret.m_length -= off;
- if ((uint)ret.m_length > (uint)len) // Unsigned comparison to interpret < 0 as infinite
- ret.m_length = len;
- return ret;
-}
-
-ProString ProString::trimmed() const
-{
- ProString ret(*this, NoHash);
- int cur = m_offset;
- int end = cur + m_length;
- const QChar *data = m_string.constData();
- for (; cur < end; cur++)
- if (!data[cur].isSpace()) {
- // No underrun check - we know there is at least one non-whitespace
- while (data[end - 1].isSpace())
- end--;
- break;
- }
- ret.m_offset = cur;
- ret.m_length = end - cur;
- return ret;
-}
-
-QTextStream &operator<<(QTextStream &t, const ProString &str)
-{
- t << str.toQString(); // XXX optimize ... somehow
- return t;
-}
-
-static QString ProStringList_join(const ProStringList &this_, const QChar *sep, const size_t sepSize)
-{
- int totalLength = 0;
- const int sz = this_.size();
-
- for (int i = 0; i < sz; ++i)
- totalLength += this_.at(i).size();
-
- if (sz)
- totalLength += sepSize * (sz - 1);
-
- QString res(totalLength, Qt::Uninitialized);
- QChar *ptr = (QChar *)res.constData();
- for (int i = 0; i < sz; ++i) {
- if (i) {
- memcpy(ptr, sep, sepSize * sizeof(QChar));
- ptr += sepSize;
- }
- const ProString &str = this_.at(i);
- memcpy(ptr, str.constData(), str.size() * sizeof(QChar));
- ptr += str.size();
- }
- return res;
-}
-
-QString ProStringList::join(const QString &sep) const
-{
- return ProStringList_join(*this, sep.constData(), sep.size());
-}
-
-QString ProStringList::join(QChar sep) const
-{
- return ProStringList_join(*this, &sep, 1);
-}
-
-void ProStringList::removeAll(const ProString &str)
-{
- for (int i = size(); --i >= 0; )
- if (at(i) == str)
- remove(i);
-}
-
-void ProStringList::removeAll(const char *str)
-{
- for (int i = size(); --i >= 0; )
- if (at(i) == str)
- remove(i);
-}
-
-void ProStringList::removeDuplicates()
-{
- int n = size();
- int j = 0;
- QSet<ProString> seen;
- seen.reserve(n);
- for (int i = 0; i < n; ++i) {
- const ProString &s = at(i);
- if (seen.contains(s))
- continue;
- seen.insert(s);
- if (j != i)
- (*this)[j] = s;
- ++j;
- }
- if (n != j)
- erase(begin() + j, end());
-}
-
-ProStringList::ProStringList(const QStringList &list)
-{
- reserve(list.size());
- foreach (const QString &str, list)
- *this << ProString(str);
-}
-
-QStringList ProStringList::toQStringList() const
-{
- QStringList ret;
- ret.reserve(size());
- foreach (const ProString &str, *this)
- ret << str.toQString();
- return ret;
-}
-
-bool ProStringList::contains(const ProString &str, Qt::CaseSensitivity cs) const
-{
- for (int i = 0; i < size(); i++)
- if (!at(i).compare(str, cs))
- return true;
- return false;
-}
-
-bool ProStringList::contains(const char *str, Qt::CaseSensitivity cs) const
-{
- for (int i = 0; i < size(); i++)
- if (!at(i).compare(str, cs))
- return true;
- return false;
-}
-
-ProFile::ProFile(const QString &fileName)
- : m_refCount(1),
- m_fileName(fileName),
- m_ok(true),
- m_hostBuild(false)
-{
- if (!fileName.startsWith(QLatin1Char('(')))
- m_directoryName = QFileInfo( // qmake sickness: canonicalize only the directory!
- fileName.left(fileName.lastIndexOf(QLatin1Char('/')))).canonicalFilePath();
-}
-
-ProFile::~ProFile()
-{
-}
-
-QT_END_NAMESPACE
diff --git a/tools/qmakefilereader/evaluator/proitems.h b/tools/qmakefilereader/evaluator/proitems.h
deleted file mode 100644
index 8222f55b..00000000
--- a/tools/qmakefilereader/evaluator/proitems.h
+++ /dev/null
@@ -1,384 +0,0 @@
-/****************************************************************************
-**
-** Copyright (C) 2016 The Qt Company Ltd.
-** Contact: https://www.qt.io/licensing/
-**
-** This file is part of the Qt VS Add-in.
-**
-** $QT_BEGIN_LICENSE:GPL-EXCEPT$
-** Commercial License Usage
-** Licensees holding valid commercial Qt licenses may use this file in
-** accordance with the commercial license agreement provided with the
-** Software or, alternatively, in accordance with the terms contained in
-** a written agreement between you and The Qt Company. For licensing terms
-** and conditions see https://www.qt.io/terms-conditions. For further
-** information use the contact form at https://www.qt.io/contact-us.
-**
-** GNU General Public License Usage
-** Alternatively, this file may be used under the terms of the GNU
-** General Public License version 3 as published by the Free Software
-** Foundation with exceptions as appearing in the file LICENSE.GPL3-EXCEPT
-** included in the packaging of this file. Please review the following
-** information to ensure the GNU General Public License requirements will
-** be met: https://www.gnu.org/licenses/gpl-3.0.html.
-**
-** $QT_END_LICENSE$
-**
-****************************************************************************/
-
-#ifndef PROITEMS_H
-#define PROITEMS_H
-
-#include "qmake_global.h"
-
-#include <qstring.h>
-#include <qvector.h>
-#include <qhash.h>
-
-QT_BEGIN_NAMESPACE
-
-class QTextStream;
-
-#ifdef PROPARSER_THREAD_SAFE
-typedef QAtomicInt ProItemRefCount;
-#else
-class ProItemRefCount {
-public:
- ProItemRefCount(int cnt = 0) : m_cnt(cnt) {}
- bool ref() { return ++m_cnt != 0; }
- bool deref() { return --m_cnt != 0; }
- ProItemRefCount &operator=(int value) { m_cnt = value; return *this; }
-private:
- int m_cnt;
-};
-#endif
-
-#ifndef QT_BUILD_QMAKE
-# define PROITEM_EXPLICIT explicit
-#else
-# define PROITEM_EXPLICIT
-#endif
-
-class ProKey;
-class ProStringList;
-class ProFile;
-
-class ProString {
-public:
- ProString();
- ProString(const ProString &other);
- PROITEM_EXPLICIT ProString(const QString &str);
- PROITEM_EXPLICIT ProString(const char *str);
- ProString(const QString &str, int offset, int length);
- void setValue(const QString &str);
- void clear() { m_string.clear(); m_length = 0; }
- ProString &setSource(const ProString &other) { m_file = other.m_file; return *this; }
- ProString &setSource(const ProFile *pro) { m_file = pro; return *this; }
- const ProFile *sourceFile() const { return m_file; }
-
- ProString &prepend(const ProString &other);
- ProString &append(const ProString &other, bool *pending = 0);
- ProString &append(const QString &other) { return append(ProString(other)); }
- ProString &append(const QLatin1String other);
- ProString &append(const char *other) { return append(QLatin1String(other)); }
- ProString &append(QChar other);
- ProString &append(const ProStringList &other, bool *pending = 0, bool skipEmpty1st = false);
- ProString &operator+=(const ProString &other) { return append(other); }
- ProString &operator+=(const QString &other) { return append(other); }
- ProString &operator+=(const QLatin1String other) { return append(other); }
- ProString &operator+=(const char *other) { return append(other); }
- ProString &operator+=(QChar other) { return append(other); }
-
- void chop(int n) { Q_ASSERT(n <= m_length); m_length -= n; }
- void chopFront(int n) { Q_ASSERT(n <= m_length); m_offset += n; m_length -= n; }
-
- bool operator==(const ProString &other) const { return toQStringRef() == other.toQStringRef(); }
- bool operator==(const QString &other) const { return toQStringRef() == other; }
- bool operator==(QLatin1String other) const { return toQStringRef() == other; }
- bool operator==(const char *other) const { return toQStringRef() == QLatin1String(other); }
- bool operator!=(const ProString &other) const { return !(*this == other); }
- bool operator!=(const QString &other) const { return !(*this == other); }
- bool operator!=(QLatin1String other) const { return !(*this == other); }
- bool operator!=(const char *other) const { return !(*this == other); }
- bool isNull() const { return m_string.isNull(); }
- bool isEmpty() const { return !m_length; }
- int length() const { return m_length; }
- int size() const { return m_length; }
- QChar at(int i) const { Q_ASSERT((uint)i < (uint)m_length); return constData()[i]; }
- const QChar *constData() const { return m_string.constData() + m_offset; }
- ProString mid(int off, int len = -1) const;
- ProString left(int len) const { return mid(0, len); }
- ProString right(int len) const { return mid(qMax(0, size() - len)); }
- ProString trimmed() const;
- int compare(const ProString &sub, Qt::CaseSensitivity cs = Qt::CaseSensitive) const { return toQStringRef().compare(sub.toQStringRef(), cs); }
- int compare(const QString &sub, Qt::CaseSensitivity cs = Qt::CaseSensitive) const { return toQStringRef().compare(sub, cs); }
- int compare(const char *sub, Qt::CaseSensitivity cs = Qt::CaseSensitive) const { return toQStringRef().compare(QLatin1String(sub), cs); }
- bool startsWith(const ProString &sub) const { return toQStringRef().startsWith(sub.toQStringRef()); }
- bool startsWith(const QString &sub) const { return toQStringRef().startsWith(sub); }
- bool startsWith(const char *sub) const { return toQStringRef().startsWith(QLatin1String(sub)); }
- bool startsWith(QChar c) const { return toQStringRef().startsWith(c); }
- bool endsWith(const ProString &sub) const { return toQStringRef().endsWith(sub.toQStringRef()); }
- bool endsWith(const QString &sub) const { return toQStringRef().endsWith(sub); }
- bool endsWith(const char *sub) const { return toQStringRef().endsWith(QLatin1String(sub)); }
- bool endsWith(QChar c) const { return toQStringRef().endsWith(c); }
- int indexOf(const QString &s, int from = 0, Qt::CaseSensitivity cs = Qt::CaseSensitive) const { return toQStringRef().indexOf(s, from, cs); }
- int indexOf(const char *s, int from = 0, Qt::CaseSensitivity cs = Qt::CaseSensitive) const { return toQStringRef().indexOf(QLatin1String(s), from, cs); }
- int indexOf(QChar c, int from = 0, Qt::CaseSensitivity cs = Qt::CaseSensitive) const { return toQStringRef().indexOf(c, from, cs); }
- int lastIndexOf(const QString &s, int from = -1, Qt::CaseSensitivity cs = Qt::CaseSensitive) const { return toQStringRef().lastIndexOf(s, from, cs); }
- int lastIndexOf(const char *s, int from = -1, Qt::CaseSensitivity cs = Qt::CaseSensitive) const { return toQStringRef().lastIndexOf(QLatin1String(s), from, cs); }
- int lastIndexOf(QChar c, int from = -1, Qt::CaseSensitivity cs = Qt::CaseSensitive) const { return toQStringRef().lastIndexOf(c, from, cs); }
- bool contains(const QString &s, Qt::CaseSensitivity cs = Qt::CaseSensitive) const { return indexOf(s, 0, cs) >= 0; }
- bool contains(const char *s, Qt::CaseSensitivity cs = Qt::CaseSensitive) const { return indexOf(QLatin1String(s), 0, cs) >= 0; }
- bool contains(QChar c, Qt::CaseSensitivity cs = Qt::CaseSensitive) const { return indexOf(c, 0, cs) >= 0; }
- int toInt(bool *ok = 0) const { return toQString().toInt(ok); } // XXX optimize
- short toShort(bool *ok = 0) const { return toQString().toShort(ok); } // XXX optimize
-
- static uint hash(const QChar *p, int n);
-
- ALWAYS_INLINE QStringRef toQStringRef() const { return QStringRef(&m_string, m_offset, m_length); }
-
- ALWAYS_INLINE ProKey &toKey() { return *(ProKey *)this; }
- ALWAYS_INLINE const ProKey &toKey() const { return *(const ProKey *)this; }
-
- QString toQString() const;
- QString &toQString(QString &tmp) const;
-
- QByteArray toLatin1() const { return toQStringRef().toLatin1(); }
-
-private:
- ProString(const ProKey &other);
- ProString &operator=(const ProKey &other);
-
- enum OmitPreHashing { NoHash };
- ProString(const ProString &other, OmitPreHashing);
-
- enum DoPreHashing { DoHash };
- ALWAYS_INLINE ProString(const QString &str, DoPreHashing);
- ALWAYS_INLINE ProString(const char *str, DoPreHashing);
- ALWAYS_INLINE ProString(const QString &str, int offset, int length, DoPreHashing);
- ALWAYS_INLINE ProString(const QString &str, int offset, int length, uint hash);
-
- QString m_string;
- int m_offset, m_length;
- const ProFile *m_file;
- mutable uint m_hash;
- QChar *prepareExtend(int extraLen, int thisTarget, int extraTarget);
- uint updatedHash() const;
- friend uint qHash(const ProString &str);
- friend QString operator+(const ProString &one, const ProString &two);
- friend class ProKey;
-};
-Q_DECLARE_TYPEINFO(ProString, Q_MOVABLE_TYPE);
-
-class ProKey : public ProString {
-public:
- ALWAYS_INLINE ProKey() : ProString() {}
- explicit ProKey(const QString &str);
- PROITEM_EXPLICIT ProKey(const char *str);
- ProKey(const QString &str, int off, int len);
- ProKey(const QString &str, int off, int len, uint hash);
- void setValue(const QString &str);
-
-#ifdef Q_CC_MSVC
- // Workaround strange MSVC behaviour when exporting classes with ProKey members.
- ALWAYS_INLINE ProKey(const ProKey &other) : ProString(other.toString()) {}
- ALWAYS_INLINE ProKey &operator=(const ProKey &other)
- {
- toString() = other.toString();
- return *this;
- }
-#endif
-
- ALWAYS_INLINE ProString &toString() { return *(ProString *)this; }
- ALWAYS_INLINE const ProString &toString() const { return *(const ProString *)this; }
-
-private:
- ProKey(const ProString &other);
-};
-Q_DECLARE_TYPEINFO(ProKey, Q_MOVABLE_TYPE);
-
-uint qHash(const ProString &str);
-QString operator+(const ProString &one, const ProString &two);
-inline QString operator+(const ProString &one, const QString &two)
- { return one + ProString(two); }
-inline QString operator+(const QString &one, const ProString &two)
- { return ProString(one) + two; }
-
-inline QString operator+(const ProString &one, const char *two)
- { return one + ProString(two); } // XXX optimize
-inline QString operator+(const char *one, const ProString &two)
- { return ProString(one) + two; } // XXX optimize
-
-inline QString &operator+=(QString &that, const ProString &other)
- { return that += other.toQStringRef(); }
-
-inline bool operator==(const QString &that, const ProString &other)
- { return other == that; }
-inline bool operator!=(const QString &that, const ProString &other)
- { return !(other == that); }
-
-QTextStream &operator<<(QTextStream &t, const ProString &str);
-
-class ProStringList : public QVector<ProString> {
-public:
- ProStringList() {}
- ProStringList(const ProString &str) { *this << str; }
- explicit ProStringList(const QStringList &list);
- QStringList toQStringList() const;
-
- ProStringList &operator<<(const ProString &str)
- { QVector<ProString>::operator<<(str); return *this; }
-
- int length() const { return size(); }
-
- QString join(const QString &sep) const;
- QString join(QChar sep) const;
-
- void removeAll(const ProString &str);
- void removeAll(const char *str);
- void removeAt(int idx) { remove(idx); }
- void removeDuplicates();
-
- bool contains(const ProString &str, Qt::CaseSensitivity cs = Qt::CaseSensitive) const;
- bool contains(const QString &str, Qt::CaseSensitivity cs = Qt::CaseSensitive) const
- { return contains(ProString(str), cs); }
- bool contains(const char *str, Qt::CaseSensitivity cs = Qt::CaseSensitive) const;
-};
-Q_DECLARE_TYPEINFO(ProStringList, Q_MOVABLE_TYPE);
-
-inline ProStringList operator+(const ProStringList &one, const ProStringList &two)
- { ProStringList ret = one; ret += two; return ret; }
-
-typedef QHash<ProKey, ProStringList> ProValueMap;
-
-// These token definitions affect both ProFileEvaluator and ProWriter
-enum ProToken {
- TokTerminator = 0, // end of stream (possibly not included in length; must be zero)
- TokLine, // line marker:
- // - line (1)
- TokAssign, // variable =
- TokAppend, // variable +=
- TokAppendUnique, // variable *=
- TokRemove, // variable -=
- TokReplace, // variable ~=
- // previous literal/expansion is a variable manipulation
- // - value expression + TokValueTerminator
- TokValueTerminator, // assignment value terminator
- TokLiteral, // literal string (fully dequoted)
- // - length (1)
- // - string data (length; unterminated)
- TokHashLiteral, // literal string with hash (fully dequoted)
- // - hash (2)
- // - length (1)
- // - string data (length; unterminated)
- TokVariable, // qmake variable expansion
- // - hash (2)
- // - name length (1)
- // - name (name length; unterminated)
- TokProperty, // qmake property expansion
- // - hash (2)
- // - name length (1)
- // - name (name length; unterminated)
- TokEnvVar, // environment variable expansion
- // - name length (1)
- // - name (name length; unterminated)
- TokFuncName, // replace function expansion
- // - hash (2)
- // - name length (1)
- // - name (name length; unterminated)
- // - ((nested expansion + TokArgSeparator)* + nested expansion)?
- // - TokFuncTerminator
- TokArgSeparator, // function argument separator
- TokFuncTerminator, // function argument list terminator
- TokCondition, // previous literal/expansion is a conditional
- TokTestCall, // previous literal/expansion is a test function call
- // - ((nested expansion + TokArgSeparator)* + nested expansion)?
- // - TokFuncTerminator
- TokReturn, // previous literal/expansion is a return value
- TokBreak, // break loop
- TokNext, // shortcut to next loop iteration
- TokNot, // '!' operator
- TokAnd, // ':' operator
- TokOr, // '|' operator
- TokBranch, // branch point:
- // - then block length (2)
- // - then block + TokTerminator (then block length)
- // - else block length (2)
- // - else block + TokTerminator (else block length)
- TokForLoop, // for loop:
- // - variable name: hash (2), length (1), chars (length)
- // - expression: length (2), bytes + TokValueTerminator (length)
- // - body length (2)
- // - body + TokTerminator (body length)
- TokTestDef, // test function definition:
- TokReplaceDef, // replace function definition:
- // - function name: hash (2), length (1), chars (length)
- // - body length (2)
- // - body + TokTerminator (body length)
- TokMask = 0xff,
- TokQuoted = 0x100, // The expression is quoted => join expanded stringlist
- TokNewStr = 0x200 // Next stringlist element
-};
-
-class QMAKE_EXPORT ProFile
-{
-public:
- explicit ProFile(const QString &fileName);
- ~ProFile();
-
- QString fileName() const { return m_fileName; }
- QString directoryName() const { return m_directoryName; }
- const QString &items() const { return m_proitems; }
- QString *itemsRef() { return &m_proitems; }
- const ushort *tokPtr() const { return (const ushort *)m_proitems.constData(); }
-
- void ref() { m_refCount.ref(); }
- void deref() { if (!m_refCount.deref()) delete this; }
-
- bool isOk() const { return m_ok; }
- void setOk(bool ok) { m_ok = ok; }
-
- bool isHostBuild() const { return m_hostBuild; }
- void setHostBuild(bool host_build) { m_hostBuild = host_build; }
-
-private:
- ProItemRefCount m_refCount;
- QString m_proitems;
- QString m_fileName;
- QString m_directoryName;
- bool m_ok;
- bool m_hostBuild;
-};
-
-class ProFunctionDef {
-public:
- ProFunctionDef(ProFile *pro, int offset) : m_pro(pro), m_offset(offset) { m_pro->ref(); }
- ProFunctionDef(const ProFunctionDef &o) : m_pro(o.m_pro), m_offset(o.m_offset) { m_pro->ref(); }
- ~ProFunctionDef() { m_pro->deref(); }
- ProFunctionDef &operator=(const ProFunctionDef &o)
- {
- if (this != &o) {
- m_pro->deref();
- m_pro = o.m_pro;
- m_pro->ref();
- m_offset = o.m_offset;
- }
- return *this;
- }
- ProFile *pro() const { return m_pro; }
- const ushort *tokPtr() const { return m_pro->tokPtr() + m_offset; }
-private:
- ProFile *m_pro;
- int m_offset;
-};
-
-Q_DECLARE_TYPEINFO(ProFunctionDef, Q_MOVABLE_TYPE);
-
-struct ProFunctionDefs {
- QHash<ProKey, ProFunctionDef> testFunctions;
- QHash<ProKey, ProFunctionDef> replaceFunctions;
-};
-
-QT_END_NAMESPACE
-
-#endif // PROITEMS_H
diff --git a/tools/qmakefilereader/evaluator/qmake_global.h b/tools/qmakefilereader/evaluator/qmake_global.h
deleted file mode 100644
index 18f005cc..00000000
--- a/tools/qmakefilereader/evaluator/qmake_global.h
+++ /dev/null
@@ -1,55 +0,0 @@
-/****************************************************************************
-**
-** Copyright (C) 2016 The Qt Company Ltd.
-** Contact: https://www.qt.io/licensing/
-**
-** This file is part of the Qt VS Add-in.
-**
-** $QT_BEGIN_LICENSE:GPL-EXCEPT$
-** Commercial License Usage
-** Licensees holding valid commercial Qt licenses may use this file in
-** accordance with the commercial license agreement provided with the
-** Software or, alternatively, in accordance with the terms contained in
-** a written agreement between you and The Qt Company. For licensing terms
-** and conditions see https://www.qt.io/terms-conditions. For further
-** information use the contact form at https://www.qt.io/contact-us.
-**
-** GNU General Public License Usage
-** Alternatively, this file may be used under the terms of the GNU
-** General Public License version 3 as published by the Free Software
-** Foundation with exceptions as appearing in the file LICENSE.GPL3-EXCEPT
-** included in the packaging of this file. Please review the following
-** information to ensure the GNU General Public License requirements will
-** be met: https://www.gnu.org/licenses/gpl-3.0.html.
-**
-** $QT_END_LICENSE$
-**
-****************************************************************************/
-
-
-#ifndef QMAKE_GLOBAL_H
-#define QMAKE_GLOBAL_H
-
-#include <qglobal.h>
-
-#if defined(QMAKE_AS_LIBRARY)
-# if defined(QMAKE_LIBRARY)
-# define QMAKE_EXPORT Q_DECL_EXPORT
-# else
-# define QMAKE_EXPORT Q_DECL_IMPORT
-# endif
-#else
-# define QMAKE_EXPORT
-#endif
-
-// Be fast even for debug builds
-// MinGW GCC 4.5+ has a problem with always_inline putTok and putBlockLen
-#if defined(__GNUC__) && !(defined(__MINGW32__) && __GNUC__ == 4 && __GNUC_MINOR__ >= 5)
-# define ALWAYS_INLINE inline __attribute__((always_inline))
-#elif defined(_MSC_VER)
-# define ALWAYS_INLINE __forceinline
-#else
-# define ALWAYS_INLINE inline
-#endif
-
-#endif
diff --git a/tools/qmakefilereader/evaluator/qmakebuiltins.cpp b/tools/qmakefilereader/evaluator/qmakebuiltins.cpp
deleted file mode 100644
index 9dbdfe46..00000000
--- a/tools/qmakefilereader/evaluator/qmakebuiltins.cpp
+++ /dev/null
@@ -1,1635 +0,0 @@
-/****************************************************************************
-**
-** Copyright (C) 2016 The Qt Company Ltd.
-** Contact: https://www.qt.io/licensing/
-**
-** This file is part of the Qt VS Add-in.
-**
-** $QT_BEGIN_LICENSE:GPL-EXCEPT$
-** Commercial License Usage
-** Licensees holding valid commercial Qt licenses may use this file in
-** accordance with the commercial license agreement provided with the
-** Software or, alternatively, in accordance with the terms contained in
-** a written agreement between you and The Qt Company. For licensing terms
-** and conditions see https://www.qt.io/terms-conditions. For further
-** information use the contact form at https://www.qt.io/contact-us.
-**
-** GNU General Public License Usage
-** Alternatively, this file may be used under the terms of the GNU
-** General Public License version 3 as published by the Free Software
-** Foundation with exceptions as appearing in the file LICENSE.GPL3-EXCEPT
-** included in the packaging of this file. Please review the following
-** information to ensure the GNU General Public License requirements will
-** be met: https://www.gnu.org/licenses/gpl-3.0.html.
-**
-** $QT_END_LICENSE$
-**
-****************************************************************************/
-
-#include "qmakeevaluator.h"
-
-#include "qmakeevaluator_p.h"
-#include "qmakeglobals.h"
-#include "qmakeparser.h"
-#include "ioutils.h"
-
-#include <qbytearray.h>
-#include <qdir.h>
-#include <qfile.h>
-#include <qfileinfo.h>
-#include <qlist.h>
-#include <qregexp.h>
-#include <qset.h>
-#include <qstringlist.h>
-#include <qtextstream.h>
-
-#ifdef Q_OS_UNIX
-#include <time.h>
-#include <utime.h>
-#include <errno.h>
-#include <unistd.h>
-#include <sys/stat.h>
-#include <sys/utsname.h>
-#else
-#include <windows.h>
-#endif
-#include <stdio.h>
-#include <stdlib.h>
-
-#ifdef Q_OS_WIN32
-#define QT_POPEN _popen
-#define QT_PCLOSE _pclose
-#else
-#define QT_POPEN popen
-#define QT_PCLOSE pclose
-#endif
-
-using namespace QMakeInternal;
-
-QT_BEGIN_NAMESPACE
-
-#define fL1S(s) QString::fromLatin1(s)
-
-enum ExpandFunc {
- E_INVALID = 0, E_MEMBER, E_FIRST, E_LAST, E_SIZE, E_CAT, E_FROMFILE, E_EVAL, E_LIST,
- E_SPRINTF, E_FORMAT_NUMBER, E_JOIN, E_SPLIT, E_BASENAME, E_DIRNAME, E_SECTION,
- E_FIND, E_SYSTEM, E_UNIQUE, E_REVERSE, E_QUOTE, E_ESCAPE_EXPAND,
- E_UPPER, E_LOWER, E_FILES, E_PROMPT, E_RE_ESCAPE, E_VAL_ESCAPE,
- E_REPLACE, E_SORT_DEPENDS, E_RESOLVE_DEPENDS, E_ENUMERATE_VARS,
- E_SHADOWED, E_ABSOLUTE_PATH, E_RELATIVE_PATH, E_CLEAN_PATH,
- E_SYSTEM_PATH, E_SHELL_PATH, E_SYSTEM_QUOTE, E_SHELL_QUOTE
-};
-
-enum TestFunc {
- T_INVALID = 0, T_REQUIRES, T_GREATERTHAN, T_LESSTHAN, T_EQUALS,
- T_EXISTS, T_EXPORT, T_CLEAR, T_UNSET, T_EVAL, T_CONFIG, T_SYSTEM,
- T_DEFINED, T_CONTAINS, T_INFILE,
- T_COUNT, T_ISEMPTY, T_INCLUDE, T_LOAD, T_DEBUG, T_LOG, T_MESSAGE, T_WARNING, T_ERROR, T_IF,
- T_MKPATH, T_WRITE_FILE, T_TOUCH, T_CACHE
-};
-
-void QMakeEvaluator::initFunctionStatics()
-{
- static const struct {
- const char * const name;
- const ExpandFunc func;
- } expandInits[] = {
- { "member", E_MEMBER },
- { "first", E_FIRST },
- { "last", E_LAST },
- { "size", E_SIZE },
- { "cat", E_CAT },
- { "fromfile", E_FROMFILE },
- { "eval", E_EVAL },
- { "list", E_LIST },
- { "sprintf", E_SPRINTF },
- { "format_number", E_FORMAT_NUMBER },
- { "join", E_JOIN },
- { "split", E_SPLIT },
- { "basename", E_BASENAME },
- { "dirname", E_DIRNAME },
- { "section", E_SECTION },
- { "find", E_FIND },
- { "system", E_SYSTEM },
- { "unique", E_UNIQUE },
- { "reverse", E_REVERSE },
- { "quote", E_QUOTE },
- { "escape_expand", E_ESCAPE_EXPAND },
- { "upper", E_UPPER },
- { "lower", E_LOWER },
- { "re_escape", E_RE_ESCAPE },
- { "val_escape", E_VAL_ESCAPE },
- { "files", E_FILES },
- { "prompt", E_PROMPT },
- { "replace", E_REPLACE },
- { "sort_depends", E_SORT_DEPENDS },
- { "resolve_depends", E_RESOLVE_DEPENDS },
- { "enumerate_vars", E_ENUMERATE_VARS },
- { "shadowed", E_SHADOWED },
- { "absolute_path", E_ABSOLUTE_PATH },
- { "relative_path", E_RELATIVE_PATH },
- { "clean_path", E_CLEAN_PATH },
- { "system_path", E_SYSTEM_PATH },
- { "shell_path", E_SHELL_PATH },
- { "system_quote", E_SYSTEM_QUOTE },
- { "shell_quote", E_SHELL_QUOTE },
- };
- for (unsigned i = 0; i < sizeof(expandInits)/sizeof(expandInits[0]); ++i)
- statics.expands.insert(ProKey(expandInits[i].name), expandInits[i].func);
-
- static const struct {
- const char * const name;
- const TestFunc func;
- } testInits[] = {
- { "requires", T_REQUIRES },
- { "greaterThan", T_GREATERTHAN },
- { "lessThan", T_LESSTHAN },
- { "equals", T_EQUALS },
- { "isEqual", T_EQUALS },
- { "exists", T_EXISTS },
- { "export", T_EXPORT },
- { "clear", T_CLEAR },
- { "unset", T_UNSET },
- { "eval", T_EVAL },
- { "CONFIG", T_CONFIG },
- { "if", T_IF },
- { "isActiveConfig", T_CONFIG },
- { "system", T_SYSTEM },
- { "defined", T_DEFINED },
- { "contains", T_CONTAINS },
- { "infile", T_INFILE },
- { "count", T_COUNT },
- { "isEmpty", T_ISEMPTY },
- { "load", T_LOAD },
- { "include", T_INCLUDE },
- { "debug", T_DEBUG },
- { "log", T_LOG },
- { "message", T_MESSAGE },
- { "warning", T_WARNING },
- { "error", T_ERROR },
- { "mkpath", T_MKPATH },
- { "write_file", T_WRITE_FILE },
- { "touch", T_TOUCH },
- { "cache", T_CACHE },
- };
- for (unsigned i = 0; i < sizeof(testInits)/sizeof(testInits[0]); ++i)
- statics.functions.insert(ProKey(testInits[i].name), testInits[i].func);
-}
-
-static bool isTrue(const ProString &_str, QString &tmp)
-{
- const QString &str = _str.toQString(tmp);
- return !str.compare(statics.strtrue, Qt::CaseInsensitive) || str.toInt();
-}
-
-#ifdef Q_OS_WIN
-static QString windowsErrorCode()
-{
- wchar_t *string = 0;
- FormatMessage(FORMAT_MESSAGE_ALLOCATE_BUFFER|FORMAT_MESSAGE_FROM_SYSTEM,
- NULL,
- GetLastError(),
- MAKELANGID(LANG_NEUTRAL, SUBLANG_DEFAULT),
- (LPWSTR)&string,
- 0,
- NULL);
- QString ret = QString::fromWCharArray(string);
- LocalFree((HLOCAL)string);
- return ret;
-}
-#endif
-
-static QString
-quoteValue(const ProString &val)
-{
- QString ret;
- ret.reserve(val.size());
- const QChar *chars = val.constData();
- bool quote = val.isEmpty();
- bool escaping = false;
- for (int i = 0, l = val.size(); i < l; i++) {
- QChar c = chars[i];
- ushort uc = c.unicode();
- if (uc < 32) {
- if (!escaping) {
- escaping = true;
- ret += QLatin1String("$$escape_expand(");
- }
- switch (uc) {
- case '\r':
- ret += QLatin1String("\\\\r");
- break;
- case '\n':
- ret += QLatin1String("\\\\n");
- break;
- case '\t':
- ret += QLatin1String("\\\\t");
- break;
- default:
- ret += QString::fromLatin1("\\\\x%1").arg(uc, 2, 16, QLatin1Char('0'));
- break;
- }
- } else {
- if (escaping) {
- escaping = false;
- ret += QLatin1Char(')');
- }
- switch (uc) {
- case '\\':
- ret += QLatin1String("\\\\");
- break;
- case '"':
- ret += QLatin1String("\\\"");
- break;
- case '\'':
- ret += QLatin1String("\\'");
- break;
- case '$':
- ret += QLatin1String("\\$");
- break;
- case '#':
- ret += QLatin1String("$${LITERAL_HASH}");
- break;
- case 32:
- quote = true;
- // fallthrough
- default:
- ret += c;
- break;
- }
- }
- }
- if (escaping)
- ret += QLatin1Char(')');
- if (quote) {
- ret.prepend(QLatin1Char('"'));
- ret.append(QLatin1Char('"'));
- }
- return ret;
-}
-
-static bool
-doWriteFile(const QString &name, QIODevice::OpenMode mode, const QString &contents, QString *errStr)
-{
- QByteArray bytes = contents.toLocal8Bit();
- QFile cfile(name);
- if (!(mode & QIODevice::Append) && cfile.open(QIODevice::ReadOnly | QIODevice::Text)) {
- if (cfile.readAll() == bytes)
- return true;
- cfile.close();
- }
- if (!cfile.open(mode | QIODevice::WriteOnly | QIODevice::Text)) {
- *errStr = cfile.errorString();
- return false;
- }
- cfile.write(bytes);
- cfile.close();
- if (cfile.error() != QFile::NoError) {
- *errStr = cfile.errorString();
- return false;
- }
- return true;
-}
-
-QMakeEvaluator::VisitReturn
-QMakeEvaluator::writeFile(const QString &ctx, const QString &fn, QIODevice::OpenMode mode,
- const QString &contents)
-{
- QFileInfo qfi(fn);
- if (!QDir::current().mkpath(qfi.path())) {
- evalError(fL1S("Cannot create %1directory %2.")
- .arg(ctx, QDir::toNativeSeparators(qfi.path())));
- return ReturnFalse;
- }
- QString errStr;
- if (!doWriteFile(qfi.filePath(), mode, contents, &errStr)) {
- evalError(fL1S("Cannot write %1file %2: %3.")
- .arg(ctx, QDir::toNativeSeparators(qfi.filePath()), errStr));
- return ReturnFalse;
- }
- m_parser->discardFileFromCache(qfi.filePath());
- return ReturnTrue;
-}
-
-#ifndef QT_BOOTSTRAPPED
-void QMakeEvaluator::runProcess(QProcess *proc, const QString &command) const
-{
- proc->setWorkingDirectory(currentDirectory());
-# ifdef PROEVALUATOR_SETENV
- if (!m_option->environment.isEmpty())
- proc->setProcessEnvironment(m_option->environment);
-# endif
-# ifdef Q_OS_WIN
- proc->setNativeArguments(QLatin1String("/v:off /s /c \"") + command + QLatin1Char('"'));
- proc->start(m_option->getEnv(QLatin1String("COMSPEC")), QStringList());
-# else
- proc->start(QLatin1String("/bin/sh"), QStringList() << QLatin1String("-c") << command);
-# endif
- proc->waitForFinished(-1);
-}
-#endif
-
-QByteArray QMakeEvaluator::getCommandOutput(const QString &args) const
-{
- QByteArray out;
-#ifndef QT_BOOTSTRAPPED
- QProcess proc;
- runProcess(&proc, args);
- QByteArray errout = proc.readAllStandardError();
-# ifdef PROEVALUATOR_FULL
- // FIXME: Qt really should have the option to set forwarding per channel
- fputs(errout.constData(), stderr);
-# else
- if (!errout.isEmpty()) {
- if (errout.endsWith('\n'))
- errout.chop(1);
- m_handler->message(QMakeHandler::EvalError, QString::fromLocal8Bit(errout));
- }
-# endif
- out = proc.readAllStandardOutput();
-# ifdef Q_OS_WIN
- // FIXME: Qt's line end conversion on sequential files should really be fixed
- out.replace("\r\n", "\n");
-# endif
-#else
- if (FILE *proc = QT_POPEN(QString(QLatin1String("cd ")
- + IoUtils::shellQuote(QDir::toNativeSeparators(currentDirectory()))
- + QLatin1String(" && ") + args).toLocal8Bit().constData(), "r")) {
- while (!feof(proc)) {
- char buff[10 * 1024];
- int read_in = int(fread(buff, 1, sizeof(buff), proc));
- if (!read_in)
- break;
- out += QByteArray(buff, read_in);
- }
- QT_PCLOSE(proc);
- }
-#endif
- return out;
-}
-
-void QMakeEvaluator::populateDeps(
- const ProStringList &deps, const ProString &prefix,
- QHash<ProKey, QSet<ProKey> > &dependencies, ProValueMap &dependees,
- ProStringList &rootSet) const
-{
- foreach (const ProString &item, deps)
- if (!dependencies.contains(item.toKey())) {
- QSet<ProKey> &dset = dependencies[item.toKey()]; // Always create entry
- ProStringList depends = values(ProKey(prefix + item + QString::fromLatin1(".depends")));
- if (depends.isEmpty()) {
- rootSet << item;
- } else {
- foreach (const ProString &dep, depends) {
- dset.insert(dep.toKey());
- dependees[dep.toKey()] << item;
- }
- populateDeps(depends, prefix, dependencies, dependees, rootSet);
- }
- }
-}
-
-ProStringList QMakeEvaluator::evaluateBuiltinExpand(
- int func_t, const ProKey &func, const ProStringList &args)
-{
- ProStringList ret;
-
- traceMsg("calling built-in $$%s(%s)", dbgKey(func), dbgSepStrList(args));
-
- switch (func_t) {
- case E_BASENAME:
- case E_DIRNAME:
- case E_SECTION: {
- bool regexp = false;
- QString sep;
- ProString var;
- int beg = 0;
- int end = -1;
- if (func_t == E_SECTION) {
- if (args.count() != 3 && args.count() != 4) {
- evalError(fL1S("%1(var) section(var, sep, begin, end) requires"
- " three or four arguments.").arg(func.toQString(m_tmp1)));
- } else {
- var = args[0];
- sep = args.at(1).toQString();
- beg = args.at(2).toQString(m_tmp2).toInt();
- if (args.count() == 4)
- end = args.at(3).toQString(m_tmp2).toInt();
- }
- } else {
- if (args.count() != 1) {
- evalError(fL1S("%1(var) requires one argument.").arg(func.toQString(m_tmp1)));
- } else {
- var = args[0];
- regexp = true;
- sep = QLatin1String("[\\\\/]");
- if (func_t == E_DIRNAME)
- end = -2;
- else
- beg = -1;
- }
- }
- if (!var.isEmpty()) {
- if (regexp) {
- QRegExp sepRx(sep);
- foreach (const ProString &str, values(map(var))) {
- const QString &rstr = str.toQString(m_tmp1).section(sepRx, beg, end);
- ret << (rstr.isSharedWith(m_tmp1) ? str : ProString(rstr).setSource(str));
- }
- } else {
- foreach (const ProString &str, values(map(var))) {
- const QString &rstr = str.toQString(m_tmp1).section(sep, beg, end);
- ret << (rstr.isSharedWith(m_tmp1) ? str : ProString(rstr).setSource(str));
- }
- }
- }
- break;
- }
- case E_SPRINTF:
- if (args.count() < 1) {
- evalError(fL1S("sprintf(format, ...) requires at least one argument."));
- } else {
- QString tmp = args.at(0).toQString(m_tmp1);
- for (int i = 1; i < args.count(); ++i)
- tmp = tmp.arg(args.at(i).toQString(m_tmp2));
- // Note: this depends on split_value_list() making a deep copy
- ret = split_value_list(tmp);
- }
- break;
- case E_FORMAT_NUMBER:
- if (args.count() > 2) {
- evalError(fL1S("format_number(number[, options...]) requires one or two arguments."));
- } else {
- int ibase = 10;
- int obase = 10;
- int width = 0;
- bool zeropad = false;
- bool leftalign = false;
- enum { DefaultSign, PadSign, AlwaysSign } sign = DefaultSign;
- if (args.count() >= 2) {
- foreach (const ProString &opt, split_value_list(args.at(1).toQString(m_tmp2))) {
- opt.toQString(m_tmp3);
- if (m_tmp3.startsWith(QLatin1String("ibase="))) {
- ibase = m_tmp3.mid(6).toInt();
- } else if (m_tmp3.startsWith(QLatin1String("obase="))) {
- obase = m_tmp3.mid(6).toInt();
- } else if (m_tmp3.startsWith(QLatin1String("width="))) {
- width = m_tmp3.mid(6).toInt();
- } else if (m_tmp3 == QLatin1String("zeropad")) {
- zeropad = true;
- } else if (m_tmp3 == QLatin1String("padsign")) {
- sign = PadSign;
- } else if (m_tmp3 == QLatin1String("alwayssign")) {
- sign = AlwaysSign;
- } else if (m_tmp3 == QLatin1String("leftalign")) {
- leftalign = true;
- } else {
- evalError(fL1S("format_number(): invalid format option %1.").arg(m_tmp3));
- goto formfail;
- }
- }
- }
- args.at(0).toQString(m_tmp3);
- if (m_tmp3.contains(QLatin1Char('.'))) {
- evalError(fL1S("format_number(): floats are currently not supported."));
- break;
- }
- bool ok;
- qlonglong num = m_tmp3.toLongLong(&ok, ibase);
- if (!ok) {
- evalError(fL1S("format_number(): malformed number %2 for base %1.")
- .arg(ibase).arg(m_tmp3));
- break;
- }
- QString outstr;
- if (num < 0) {
- num = -num;
- outstr = QLatin1Char('-');
- } else if (sign == AlwaysSign) {
- outstr = QLatin1Char('+');
- } else if (sign == PadSign) {
- outstr = QLatin1Char(' ');
- }
- QString numstr = QString::number(num, obase);
- int space = width - outstr.length() - numstr.length();
- if (space <= 0) {
- outstr += numstr;
- } else if (leftalign) {
- outstr += numstr + QString(space, QLatin1Char(' '));
- } else if (zeropad) {
- outstr += QString(space, QLatin1Char('0')) + numstr;
- } else {
- outstr.prepend(QString(space, QLatin1Char(' ')));
- outstr += numstr;
- }
- ret += ProString(outstr);
- }
- formfail:
- break;
- case E_JOIN: {
- if (args.count() < 1 || args.count() > 4) {
- evalError(fL1S("join(var, glue, before, after) requires one to four arguments."));
- } else {
- QString glue;
- ProString before, after;
- if (args.count() >= 2)
- glue = args.at(1).toQString(m_tmp1);
- if (args.count() >= 3)
- before = args[2];
- if (args.count() == 4)
- after = args[3];
- const ProStringList &var = values(map(args.at(0)));
- if (!var.isEmpty()) {
- const ProFile *src = currentProFile();
- foreach (const ProString &v, var)
- if (const ProFile *s = v.sourceFile()) {
- src = s;
- break;
- }
- ret = split_value_list(before + var.join(glue) + after, src);
- }
- }
- break;
- }
- case E_SPLIT:
- if (args.count() < 1 || args.count() > 2) {
- evalError(fL1S("split(var, sep) requires one or two arguments."));
- } else {
- const QString &sep = (args.count() == 2) ? args.at(1).toQString(m_tmp1) : statics.field_sep;
- foreach (const ProString &var, values(map(args.at(0))))
- foreach (const QString &splt, var.toQString(m_tmp2).split(sep))
- ret << (splt.isSharedWith(m_tmp2) ? var : ProString(splt).setSource(var));
- }
- break;
- case E_MEMBER:
- if (args.count() < 1 || args.count() > 3) {
- evalError(fL1S("member(var, start, end) requires one to three arguments."));
- } else {
- bool ok = true;
- const ProStringList &var = values(map(args.at(0)));
- int start = 0, end = 0;
- if (args.count() >= 2) {
- const QString &start_str = args.at(1).toQString(m_tmp1);
- start = start_str.toInt(&ok);
- if (!ok) {
- if (args.count() == 2) {
- int dotdot = start_str.indexOf(statics.strDotDot);
- if (dotdot != -1) {
- start = start_str.left(dotdot).toInt(&ok);
- if (ok)
- end = start_str.mid(dotdot+2).toInt(&ok);
- }
- }
- if (!ok)
- evalError(fL1S("member() argument 2 (start) '%2' invalid.")
- .arg(start_str));
- } else {
- end = start;
- if (args.count() == 3)
- end = args.at(2).toQString(m_tmp1).toInt(&ok);
- if (!ok)
- evalError(fL1S("member() argument 3 (end) '%2' invalid.")
- .arg(args.at(2).toQString(m_tmp1)));
- }
- }
- if (ok) {
- if (start < 0)
- start += var.count();
- if (end < 0)
- end += var.count();
- if (start < 0 || start >= var.count() || end < 0 || end >= var.count()) {
- //nothing
- } else if (start < end) {
- for (int i = start; i <= end && var.count() >= i; i++)
- ret.append(var[i]);
- } else {
- for (int i = start; i >= end && var.count() >= i && i >= 0; i--)
- ret += var[i];
- }
- }
- }
- break;
- case E_FIRST:
- case E_LAST:
- if (args.count() != 1) {
- evalError(fL1S("%1(var) requires one argument.").arg(func.toQString(m_tmp1)));
- } else {
- const ProStringList &var = values(map(args.at(0)));
- if (!var.isEmpty()) {
- if (func_t == E_FIRST)
- ret.append(var[0]);
- else
- ret.append(var.last());
- }
- }
- break;
- case E_SIZE:
- if (args.count() != 1)
- evalError(fL1S("size(var) requires one argument."));
- else
- ret.append(ProString(QString::number(values(map(args.at(0))).size())));
- break;
- case E_CAT:
- if (args.count() < 1 || args.count() > 2) {
- evalError(fL1S("cat(file, singleline=true) requires one or two arguments."));
- } else {
- const QString &file = args.at(0).toQString(m_tmp1);
-
- bool blob = false;
- bool lines = false;
- bool singleLine = true;
- if (args.count() > 1) {
- args.at(1).toQString(m_tmp2);
- if (!m_tmp2.compare(QLatin1String("false"), Qt::CaseInsensitive))
- singleLine = false;
- else if (!m_tmp2.compare(QLatin1String("blob"), Qt::CaseInsensitive))
- blob = true;
- else if (!m_tmp2.compare(QLatin1String("lines"), Qt::CaseInsensitive))
- lines = true;
- }
-
- QFile qfile(resolvePath(m_option->expandEnvVars(file)));
- if (qfile.open(QIODevice::ReadOnly)) {
- QTextStream stream(&qfile);
- if (blob) {
- ret += ProString(stream.readAll());
- } else {
- while (!stream.atEnd()) {
- if (lines) {
- ret += ProString(stream.readLine());
- } else {
- ret += split_value_list(stream.readLine().trimmed());
- if (!singleLine)
- ret += ProString("\n");
- }
- }
- }
- }
- }
- break;
- case E_FROMFILE:
- if (args.count() != 2) {
- evalError(fL1S("fromfile(file, variable) requires two arguments."));
- } else {
- ProValueMap vars;
- QString fn = resolvePath(m_option->expandEnvVars(args.at(0).toQString(m_tmp1)));
- fn.detach();
- if (evaluateFileInto(fn, &vars, LoadProOnly) == ReturnTrue)
- ret = vars.value(map(args.at(1)));
- }
- break;
- case E_EVAL:
- if (args.count() != 1) {
- evalError(fL1S("eval(variable) requires one argument."));
- } else {
- ret += values(map(args.at(0)));
- }
- break;
- case E_LIST: {
- QString tmp;
- tmp.sprintf(".QMAKE_INTERNAL_TMP_variableName_%d", m_listCount++);
- ret = ProStringList(ProString(tmp));
- ProStringList lst;
- foreach (const ProString &arg, args)
- lst += split_value_list(arg.toQString(m_tmp1), arg.sourceFile()); // Relies on deep copy
- m_valuemapStack.top()[ret.at(0).toKey()] = lst;
- break; }
- case E_FIND:
- if (args.count() != 2) {
- evalError(fL1S("find(var, str) requires two arguments."));
- } else {
- QRegExp regx(args.at(1).toQString());
- int t = 0;
- foreach (const ProString &val, values(map(args.at(0)))) {
- if (regx.indexIn(val.toQString(m_tmp[t])) != -1)
- ret += val;
- t ^= 1;
- }
- }
- break;
- case E_SYSTEM:
- if (!m_skipLevel) {
- if (args.count() < 1 || args.count() > 2) {
- evalError(fL1S("system(execute) requires one or two arguments."));
- } else {
- bool blob = false;
- bool lines = false;
- bool singleLine = true;
- if (args.count() > 1) {
- args.at(1).toQString(m_tmp2);
- if (!m_tmp2.compare(QLatin1String("false"), Qt::CaseInsensitive))
- singleLine = false;
- else if (!m_tmp2.compare(QLatin1String("blob"), Qt::CaseInsensitive))
- blob = true;
- else if (!m_tmp2.compare(QLatin1String("lines"), Qt::CaseInsensitive))
- lines = true;
- }
- QByteArray bytes = getCommandOutput(args.at(0).toQString(m_tmp2));
- if (lines) {
- QTextStream stream(bytes);
- while (!stream.atEnd())
- ret += ProString(stream.readLine());
- } else {
- QString output = QString::fromLocal8Bit(bytes);
- if (blob) {
- ret += ProString(output);
- } else {
- output.replace(QLatin1Char('\t'), QLatin1Char(' '));
- if (singleLine)
- output.replace(QLatin1Char('\n'), QLatin1Char(' '));
- ret += split_value_list(output);
- }
- }
- }
- }
- break;
- case E_UNIQUE:
- if (args.count() != 1) {
- evalError(fL1S("unique(var) requires one argument."));
- } else {
- ret = values(map(args.at(0)));
- ret.removeDuplicates();
- }
- break;
- case E_REVERSE:
- if (args.count() != 1) {
- evalError(fL1S("reverse(var) requires one argument."));
- } else {
- ProStringList var = values(args.at(0).toKey());
- for (int i = 0; i < var.size() / 2; i++)
- qSwap(var[i], var[var.size() - i - 1]);
- ret += var;
- }
- break;
- case E_QUOTE:
- ret += args;
- break;
- case E_ESCAPE_EXPAND:
- for (int i = 0; i < args.size(); ++i) {
- QString str = args.at(i).toQString();
- QChar *i_data = str.data();
- int i_len = str.length();
- for (int x = 0; x < i_len; ++x) {
- if (*(i_data+x) == QLatin1Char('\\') && x < i_len-1) {
- if (*(i_data+x+1) == QLatin1Char('\\')) {
- ++x;
- } else {
- struct {
- char in, out;
- } mapped_quotes[] = {
- { 'n', '\n' },
- { 't', '\t' },
- { 'r', '\r' },
- { 0, 0 }
- };
- for (int i = 0; mapped_quotes[i].in; ++i) {
- if (*(i_data+x+1) == QLatin1Char(mapped_quotes[i].in)) {
- *(i_data+x) = QLatin1Char(mapped_quotes[i].out);
- if (x < i_len-2)
- memmove(i_data+x+1, i_data+x+2, (i_len-x-2)*sizeof(QChar));
- --i_len;
- break;
- }
- }
- }
- }
- }
- ret.append(ProString(QString(i_data, i_len)).setSource(args.at(i)));
- }
- break;
- case E_RE_ESCAPE:
- for (int i = 0; i < args.size(); ++i) {
- const QString &rstr = QRegExp::escape(args.at(i).toQString(m_tmp1));
- ret << (rstr.isSharedWith(m_tmp1) ? args.at(i) : ProString(rstr).setSource(args.at(i)));
- }
- break;
- case E_VAL_ESCAPE:
- if (args.count() != 1) {
- evalError(fL1S("val_escape(var) requires one argument."));
- } else {
- const ProStringList &vals = values(args.at(0).toKey());
- ret.reserve(vals.size());
- foreach (const ProString &str, vals)
- ret += ProString(quoteValue(str));
- }
- break;
- case E_UPPER:
- case E_LOWER:
- for (int i = 0; i < args.count(); ++i) {
- QString rstr = args.at(i).toQString(m_tmp1);
- rstr = (func_t == E_UPPER) ? rstr.toUpper() : rstr.toLower();
- ret << (rstr.isSharedWith(m_tmp1) ? args.at(i) : ProString(rstr).setSource(args.at(i)));
- }
- break;
- case E_FILES:
- if (args.count() != 1 && args.count() != 2) {
- evalError(fL1S("files(pattern, recursive=false) requires one or two arguments."));
- } else {
- bool recursive = false;
- if (args.count() == 2)
- recursive = isTrue(args.at(1), m_tmp2);
- QStringList dirs;
- QString r = m_option->expandEnvVars(args.at(0).toQString(m_tmp1))
- .replace(QLatin1Char('\\'), QLatin1Char('/'));
- QString pfx;
- if (IoUtils::isRelativePath(r)) {
- pfx = currentDirectory();
- if (!pfx.endsWith(QLatin1Char('/')))
- pfx += QLatin1Char('/');
- }
- int slash = r.lastIndexOf(QLatin1Char('/'));
- if (slash != -1) {
- dirs.append(r.left(slash+1));
- r = r.mid(slash+1);
- } else {
- dirs.append(QString());
- }
-
- r.detach(); // Keep m_tmp out of QRegExp's cache
- QRegExp regex(r, Qt::CaseSensitive, QRegExp::Wildcard);
- for (int d = 0; d < dirs.count(); d++) {
- QString dir = dirs[d];
- QDir qdir(pfx + dir);
- for (int i = 0; i < (int)qdir.count(); ++i) {
- if (qdir[i] == statics.strDot || qdir[i] == statics.strDotDot)
- continue;
- QString fname = dir + qdir[i];
- if (IoUtils::fileType(pfx + fname) == IoUtils::FileIsDir) {
- if (recursive)
- dirs.append(fname + QLatin1Char('/'));
- }
- if (regex.exactMatch(qdir[i]))
- ret += ProString(fname).setSource(currentProFile());
- }
- }
- }
- break;
-#ifdef PROEVALUATOR_FULL
- case E_PROMPT: {
- if (args.count() != 1) {
- evalError(fL1S("prompt(question) requires one argument."));
-// } else if (currentFileName() == QLatin1String("-")) {
-// evalError(fL1S("prompt(question) cannot be used when '-o -' is used"));
- } else {
- QString msg = m_option->expandEnvVars(args.at(0).toQString(m_tmp1));
- if (!msg.endsWith(QLatin1Char('?')))
- msg += QLatin1Char('?');
- fprintf(stderr, "Project PROMPT: %s ", qPrintable(msg));
-
- QFile qfile;
- if (qfile.open(stdin, QIODevice::ReadOnly)) {
- QTextStream t(&qfile);
- ret = split_value_list(t.readLine());
- }
- }
- break; }
-#endif
- case E_REPLACE:
- if (args.count() != 3 ) {
- evalError(fL1S("replace(var, before, after) requires three arguments."));
- } else {
- const QRegExp before(args.at(1).toQString());
- const QString &after(args.at(2).toQString(m_tmp2));
- foreach (const ProString &val, values(map(args.at(0)))) {
- QString rstr = val.toQString(m_tmp1);
- QString copy = rstr; // Force a detach on modify
- rstr.replace(before, after);
- ret << (rstr.isSharedWith(m_tmp1) ? val : ProString(rstr).setSource(val));
- }
- }
- break;
- case E_SORT_DEPENDS:
- case E_RESOLVE_DEPENDS:
- if (args.count() < 1 || args.count() > 2) {
- evalError(fL1S("%1(var, prefix) requires one or two arguments.").arg(func.toQString(m_tmp1)));
- } else {
- QHash<ProKey, QSet<ProKey> > dependencies;
- ProValueMap dependees;
- ProStringList rootSet;
- ProStringList orgList = values(args.at(0).toKey());
- populateDeps(orgList, (args.count() < 2 ? ProString() : args.at(1)),
- dependencies, dependees, rootSet);
- for (int i = 0; i < rootSet.size(); ++i) {
- const ProString &item = rootSet.at(i);
- if ((func_t == E_RESOLVE_DEPENDS) || orgList.contains(item))
- ret.prepend(item);
- foreach (const ProString &dep, dependees[item.toKey()]) {
- QSet<ProKey> &dset = dependencies[dep.toKey()];
- dset.remove(rootSet.at(i).toKey()); // *Don't* use 'item' - rootSet may have changed!
- if (dset.isEmpty())
- rootSet << dep;
- }
- }
- }
- break;
- case E_ENUMERATE_VARS: {
- QSet<ProString> keys;
- foreach (const ProValueMap &vmap, m_valuemapStack)
- for (ProValueMap::ConstIterator it = vmap.constBegin(); it != vmap.constEnd(); ++it)
- keys.insert(it.key());
- ret.reserve(keys.size());
- foreach (const ProString &key, keys)
- ret << key;
- break; }
- case E_SHADOWED:
- if (args.count() != 1) {
- evalError(fL1S("shadowed(path) requires one argument."));
- } else {
- QString rstr = m_option->shadowedPath(resolvePath(args.at(0).toQString(m_tmp1)));
- if (rstr.isEmpty())
- break;
- ret << (rstr.isSharedWith(m_tmp1) ? args.at(0) : ProString(rstr).setSource(args.at(0)));
- }
- break;
- case E_ABSOLUTE_PATH:
- if (args.count() > 2) {
- evalError(fL1S("absolute_path(path[, base]) requires one or two arguments."));
- } else {
- QString rstr = QDir::cleanPath(
- QDir(args.count() > 1 ? args.at(1).toQString(m_tmp2) : currentDirectory())
- .absoluteFilePath(args.at(0).toQString(m_tmp1)));
- ret << (rstr.isSharedWith(m_tmp1) ? args.at(0) : ProString(rstr).setSource(args.at(0)));
- }
- break;
- case E_RELATIVE_PATH:
- if (args.count() > 2) {
- evalError(fL1S("relative_path(path[, base]) requires one or two arguments."));
- } else {
- QDir baseDir(args.count() > 1 ? args.at(1).toQString(m_tmp2) : currentDirectory());
- QString rstr = baseDir.relativeFilePath(baseDir.absoluteFilePath(
- args.at(0).toQString(m_tmp1)));
- ret << (rstr.isSharedWith(m_tmp1) ? args.at(0) : ProString(rstr).setSource(args.at(0)));
- }
- break;
- case E_CLEAN_PATH:
- if (args.count() != 1) {
- evalError(fL1S("clean_path(path) requires one argument."));
- } else {
- QString rstr = QDir::cleanPath(args.at(0).toQString(m_tmp1));
- ret << (rstr.isSharedWith(m_tmp1) ? args.at(0) : ProString(rstr).setSource(args.at(0)));
- }
- break;
- case E_SYSTEM_PATH:
- if (args.count() != 1) {
- evalError(fL1S("system_path(path) requires one argument."));
- } else {
- QString rstr = args.at(0).toQString(m_tmp1);
-#ifdef Q_OS_WIN
- rstr.replace(QLatin1Char('/'), QLatin1Char('\\'));
-#else
- rstr.replace(QLatin1Char('\\'), QLatin1Char('/'));
-#endif
- ret << (rstr.isSharedWith(m_tmp1) ? args.at(0) : ProString(rstr).setSource(args.at(0)));
- }
- break;
- case E_SHELL_PATH:
- if (args.count() != 1) {
- evalError(fL1S("shell_path(path) requires one argument."));
- } else {
- QString rstr = args.at(0).toQString(m_tmp1);
- if (m_dirSep.startsWith(QLatin1Char('\\')))
- rstr.replace(QLatin1Char('/'), QLatin1Char('\\'));
- else
- rstr.replace(QLatin1Char('\\'), QLatin1Char('/'));
- ret << (rstr.isSharedWith(m_tmp1) ? args.at(0) : ProString(rstr).setSource(args.at(0)));
- }
- break;
- case E_SYSTEM_QUOTE:
- if (args.count() != 1) {
- evalError(fL1S("system_quote(arg) requires one argument."));
- } else {
- QString rstr = IoUtils::shellQuote(args.at(0).toQString(m_tmp1));
- ret << (rstr.isSharedWith(m_tmp1) ? args.at(0) : ProString(rstr).setSource(args.at(0)));
- }
- break;
- case E_SHELL_QUOTE:
- if (args.count() != 1) {
- evalError(fL1S("shell_quote(arg) requires one argument."));
- } else {
- QString rstr = args.at(0).toQString(m_tmp1);
- if (m_dirSep.startsWith(QLatin1Char('\\')))
- rstr = IoUtils::shellQuoteWin(rstr);
- else
- rstr = IoUtils::shellQuoteUnix(rstr);
- ret << (rstr.isSharedWith(m_tmp1) ? args.at(0) : ProString(rstr).setSource(args.at(0)));
- }
- break;
- default:
- evalError(fL1S("Function '%1' is not implemented.").arg(func.toQString(m_tmp1)));
- break;
- }
-
- return ret;
-}
-
-QMakeEvaluator::VisitReturn QMakeEvaluator::evaluateBuiltinConditional(
- int func_t, const ProKey &function, const ProStringList &args)
-{
- traceMsg("calling built-in %s(%s)", dbgKey(function), dbgSepStrList(args));
-
- switch (func_t) {
- case T_DEFINED: {
- if (args.count() < 1 || args.count() > 2) {
- evalError(fL1S("defined(function, [\"test\"|\"replace\"])"
- " requires one or two arguments."));
- return ReturnFalse;
- }
- const ProKey &var = args.at(0).toKey();
- if (args.count() > 1) {
- if (args[1] == QLatin1String("test")) {
- return returnBool(m_functionDefs.testFunctions.contains(var));
- } else if (args[1] == QLatin1String("replace")) {
- return returnBool(m_functionDefs.replaceFunctions.contains(var));
- } else if (args[1] == QLatin1String("var")) {
- ProValueMap::Iterator it;
- return returnBool(findValues(var, &it));
- }
- evalError(fL1S("defined(function, type): unexpected type [%1].")
- .arg(args.at(1).toQString(m_tmp1)));
- return ReturnFalse;
- }
- return returnBool(m_functionDefs.replaceFunctions.contains(var)
- || m_functionDefs.testFunctions.contains(var));
- }
- case T_EXPORT: {
- if (args.count() != 1) {
- evalError(fL1S("export(variable) requires one argument."));
- return ReturnFalse;
- }
- const ProKey &var = map(args.at(0));
- for (ProValueMapStack::Iterator vmi = m_valuemapStack.end();
- --vmi != m_valuemapStack.begin(); ) {
- ProValueMap::Iterator it = (*vmi).find(var);
- if (it != (*vmi).end()) {
- if (it->constBegin() == statics.fakeValue.constBegin()) {
- // This is stupid, but qmake doesn't propagate deletions
- m_valuemapStack.first()[var] = ProStringList();
- } else {
- m_valuemapStack.first()[var] = *it;
- }
- (*vmi).erase(it);
- while (--vmi != m_valuemapStack.begin())
- (*vmi).remove(var);
- break;
- }
- }
- return ReturnTrue;
- }
- case T_INFILE:
- if (args.count() < 2 || args.count() > 3) {
- evalError(fL1S("infile(file, var, [values]) requires two or three arguments."));
- } else {
- ProValueMap vars;
- QString fn = resolvePath(m_option->expandEnvVars(args.at(0).toQString(m_tmp1)));
- fn.detach();
- VisitReturn ok = evaluateFileInto(fn, &vars, LoadProOnly);
- if (ok != ReturnTrue)
- return ok;
- if (args.count() == 2)
- return returnBool(vars.contains(map(args.at(1))));
- QRegExp regx;
- const QString &qry = args.at(2).toQString(m_tmp1);
- if (qry != QRegExp::escape(qry)) {
- QString copy = qry;
- copy.detach();
- regx.setPattern(copy);
- }
- int t = 0;
- foreach (const ProString &s, vars.value(map(args.at(1)))) {
- if ((!regx.isEmpty() && regx.exactMatch(s.toQString(m_tmp[t]))) || s == qry)
- return ReturnTrue;
- t ^= 1;
- }
- }
- return ReturnFalse;
-#ifdef PROEVALUATOR_FULL
- case T_REQUIRES:
- checkRequirements(args);
- return ReturnFalse; // Another qmake breakage
-#endif
- case T_EVAL: {
- VisitReturn ret = ReturnFalse;
- ProFile *pro = m_parser->parsedProBlock(args.join(statics.field_sep),
- m_current.pro->fileName(), m_current.line);
- if (pro) {
- if (m_cumulative || pro->isOk()) {
- m_locationStack.push(m_current);
- visitProBlock(pro, pro->tokPtr());
- ret = ReturnTrue; // This return value is not too useful, but that's qmake
- m_current = m_locationStack.pop();
- }
- pro->deref();
- }
- return ret;
- }
- case T_IF: {
- if (args.count() != 1) {
- evalError(fL1S("if(condition) requires one argument."));
- return ReturnFalse;
- }
- return returnBool(evaluateConditional(args.at(0).toQString(),
- m_current.pro->fileName(), m_current.line));
- }
- case T_CONFIG: {
- if (args.count() < 1 || args.count() > 2) {
- evalError(fL1S("CONFIG(config) requires one or two arguments."));
- return ReturnFalse;
- }
- if (args.count() == 1)
- return returnBool(isActiveConfig(args.at(0).toQString(m_tmp2)));
- const QStringList &mutuals = args.at(1).toQString(m_tmp2).split(QLatin1Char('|'));
- const ProStringList &configs = values(statics.strCONFIG);
-
- for (int i = configs.size() - 1; i >= 0; i--) {
- for (int mut = 0; mut < mutuals.count(); mut++) {
- if (configs[i] == mutuals[mut].trimmed()) {
- return returnBool(configs[i] == args[0]);
- }
- }
- }
- return ReturnFalse;
- }
- case T_CONTAINS: {
- if (args.count() < 2 || args.count() > 3) {
- evalError(fL1S("contains(var, val) requires two or three arguments."));
- return ReturnFalse;
- }
-
- const QString &qry = args.at(1).toQString(m_tmp1);
- QRegExp regx;
- if (qry != QRegExp::escape(qry)) {
- QString copy = qry;
- copy.detach();
- regx.setPattern(copy);
- }
- const ProStringList &l = values(map(args.at(0)));
- if (args.count() == 2) {
- int t = 0;
- for (int i = 0; i < l.size(); ++i) {
- const ProString &val = l[i];
- if ((!regx.isEmpty() && regx.exactMatch(val.toQString(m_tmp[t]))) || val == qry)
- return ReturnTrue;
- t ^= 1;
- }
- } else {
- const QStringList &mutuals = args.at(2).toQString(m_tmp3).split(QLatin1Char('|'));
- for (int i = l.size() - 1; i >= 0; i--) {
- const ProString val = l[i];
- for (int mut = 0; mut < mutuals.count(); mut++) {
- if (val == mutuals[mut].trimmed()) {
- return returnBool((!regx.isEmpty()
- && regx.exactMatch(val.toQString(m_tmp2)))
- || val == qry);
- }
- }
- }
- }
- return ReturnFalse;
- }
- case T_COUNT: {
- if (args.count() != 2 && args.count() != 3) {
- evalError(fL1S("count(var, count, op=\"equals\") requires two or three arguments."));
- return ReturnFalse;
- }
- int cnt = values(map(args.at(0))).count();
- if (args.count() == 3) {
- const ProString &comp = args.at(2);
- const int val = args.at(1).toQString(m_tmp1).toInt();
- if (comp == QLatin1String(">") || comp == QLatin1String("greaterThan")) {
- return returnBool(cnt > val);
- } else if (comp == QLatin1String(">=")) {
- return returnBool(cnt >= val);
- } else if (comp == QLatin1String("<") || comp == QLatin1String("lessThan")) {
- return returnBool(cnt < val);
- } else if (comp == QLatin1String("<=")) {
- return returnBool(cnt <= val);
- } else if (comp == QLatin1String("equals") || comp == QLatin1String("isEqual")
- || comp == QLatin1String("=") || comp == QLatin1String("==")) {
- return returnBool(cnt == val);
- } else {
- evalError(fL1S("Unexpected modifier to count(%2).").arg(comp.toQString(m_tmp1)));
- return ReturnFalse;
- }
- }
- return returnBool(cnt == args.at(1).toQString(m_tmp1).toInt());
- }
- case T_GREATERTHAN:
- case T_LESSTHAN: {
- if (args.count() != 2) {
- evalError(fL1S("%1(variable, value) requires two arguments.")
- .arg(function.toQString(m_tmp1)));
- return ReturnFalse;
- }
- const QString &rhs(args.at(1).toQString(m_tmp1)),
- &lhs(values(map(args.at(0))).join(statics.field_sep));
- bool ok;
- int rhs_int = rhs.toInt(&ok);
- if (ok) { // do integer compare
- int lhs_int = lhs.toInt(&ok);
- if (ok) {
- if (func_t == T_GREATERTHAN)
- return returnBool(lhs_int > rhs_int);
- return returnBool(lhs_int < rhs_int);
- }
- }
- if (func_t == T_GREATERTHAN)
- return returnBool(lhs > rhs);
- return returnBool(lhs < rhs);
- }
- case T_EQUALS:
- if (args.count() != 2) {
- evalError(fL1S("%1(variable, value) requires two arguments.")
- .arg(function.toQString(m_tmp1)));
- return ReturnFalse;
- }
- return returnBool(values(map(args.at(0))).join(statics.field_sep)
- == args.at(1).toQString(m_tmp1));
- case T_CLEAR: {
- if (args.count() != 1) {
- evalError(fL1S("%1(variable) requires one argument.")
- .arg(function.toQString(m_tmp1)));
- return ReturnFalse;
- }
- ProValueMap *hsh;
- ProValueMap::Iterator it;
- const ProKey &var = map(args.at(0));
- if (!(hsh = findValues(var, &it)))
- return ReturnFalse;
- if (hsh == &m_valuemapStack.top())
- it->clear();
- else
- m_valuemapStack.top()[var].clear();
- return ReturnTrue;
- }
- case T_UNSET: {
- if (args.count() != 1) {
- evalError(fL1S("%1(variable) requires one argument.")
- .arg(function.toQString(m_tmp1)));
- return ReturnFalse;
- }
- ProValueMap *hsh;
- ProValueMap::Iterator it;
- const ProKey &var = map(args.at(0));
- if (!(hsh = findValues(var, &it)))
- return ReturnFalse;
- if (m_valuemapStack.size() == 1)
- hsh->erase(it);
- else if (hsh == &m_valuemapStack.top())
- *it = statics.fakeValue;
- else
- m_valuemapStack.top()[var] = statics.fakeValue;
- return ReturnTrue;
- }
- case T_INCLUDE: {
- if (args.count() < 1 || args.count() > 3) {
- evalError(fL1S("include(file, [into, [silent]]) requires one, two or three arguments."));
- return ReturnFalse;
- }
- QString parseInto;
- LoadFlags flags = 0;
- if (args.count() >= 2) {
- parseInto = args.at(1).toQString(m_tmp2);
- if (args.count() >= 3 && isTrue(args.at(2), m_tmp3))
- flags = LoadSilent;
- }
- QString fn = resolvePath(m_option->expandEnvVars(args.at(0).toQString(m_tmp1)));
- fn.detach();
- VisitReturn ok;
- if (parseInto.isEmpty()) {
- ok = evaluateFileChecked(fn, QMakeHandler::EvalIncludeFile, LoadProOnly | flags);
- } else {
- ProValueMap symbols;
- if ((ok = evaluateFileInto(fn, &symbols, LoadAll | flags)) == ReturnTrue) {
- ProValueMap newMap;
- for (ProValueMap::ConstIterator
- it = m_valuemapStack.top().constBegin(),
- end = m_valuemapStack.top().constEnd();
- it != end; ++it) {
- const QString &ky = it.key().toQString(m_tmp1);
- if (!(ky.startsWith(parseInto) &&
- (ky.length() == parseInto.length()
- || ky.at(parseInto.length()) == QLatin1Char('.'))))
- newMap[it.key()] = it.value();
- }
- for (ProValueMap::ConstIterator it = symbols.constBegin();
- it != symbols.constEnd(); ++it) {
- const QString &ky = it.key().toQString(m_tmp1);
- if (!ky.startsWith(QLatin1Char('.')))
- newMap.insert(ProKey(parseInto + QLatin1Char('.') + ky), it.value());
- }
- m_valuemapStack.top() = newMap;
- }
- }
- if (ok == ReturnFalse && (flags & LoadSilent))
- ok = ReturnTrue;
- return ok;
- }
- case T_LOAD: {
- bool ignore_error = false;
- if (args.count() == 2) {
- ignore_error = isTrue(args.at(1), m_tmp2);
- } else if (args.count() != 1) {
- evalError(fL1S("load(feature) requires one or two arguments."));
- return ReturnFalse;
- }
- VisitReturn ok = evaluateFeatureFile(m_option->expandEnvVars(args.at(0).toQString()),
- ignore_error);
- if (ok == ReturnFalse && ignore_error)
- ok = ReturnTrue;
- return ok;
- }
- case T_DEBUG: {
-#ifdef PROEVALUATOR_DEBUG
- if (args.count() != 2) {
- evalError(fL1S("debug(level, message) requires two arguments."));
- return ReturnFalse;
- }
- int level = args.at(0).toInt();
- if (level <= m_debugLevel) {
- const QString &msg = m_option->expandEnvVars(args.at(1).toQString(m_tmp2));
- debugMsg(level, "Project DEBUG: %s", qPrintable(msg));
- }
-#endif
- return ReturnTrue;
- }
- case T_LOG:
- case T_ERROR:
- case T_WARNING:
- case T_MESSAGE: {
- if (args.count() != 1) {
- evalError(fL1S("%1(message) requires one argument.")
- .arg(function.toQString(m_tmp1)));
- return ReturnFalse;
- }
- const QString &msg = m_option->expandEnvVars(args.at(0).toQString(m_tmp2));
- if (!m_skipLevel) {
- if (func_t == T_LOG) {
-#ifdef PROEVALUATOR_FULL
- fputs(msg.toLatin1().constData(), stderr);
-#endif
- } else {
- m_handler->fileMessage(fL1S("Project %1: %2")
- .arg(function.toQString(m_tmp1).toUpper(), msg));
- }
- }
- return (func_t == T_ERROR && !m_cumulative) ? ReturnError : ReturnTrue;
- }
-#ifdef PROEVALUATOR_FULL
- case T_SYSTEM: {
- if (m_cumulative) // Anything else would be insanity
- return ReturnFalse;
- if (args.count() != 1) {
- evalError(fL1S("system(exec) requires one argument."));
- return ReturnFalse;
- }
-#ifndef QT_BOOTSTRAPPED
- QProcess proc;
- proc.setProcessChannelMode(QProcess::ForwardedChannels);
- runProcess(&proc, args.at(0).toQString(m_tmp2));
- return returnBool(proc.exitStatus() == QProcess::NormalExit && proc.exitCode() == 0);
-#else
- return returnBool(system((QLatin1String("cd ")
- + IoUtils::shellQuote(QDir::toNativeSeparators(currentDirectory()))
- + QLatin1String(" && ") + args.at(0)).toLocal8Bit().constData()) == 0);
-#endif
- }
-#endif
- case T_ISEMPTY: {
- if (args.count() != 1) {
- evalError(fL1S("isEmpty(var) requires one argument."));
- return ReturnFalse;
- }
- return returnBool(values(map(args.at(0))).isEmpty());
- }
- case T_EXISTS: {
- if (args.count() != 1) {
- evalError(fL1S("exists(file) requires one argument."));
- return ReturnFalse;
- }
- const QString &file = resolvePath(m_option->expandEnvVars(args.at(0).toQString(m_tmp1)));
-
- if (IoUtils::exists(file)) {
- return ReturnTrue;
- }
- int slsh = file.lastIndexOf(QLatin1Char('/'));
- QString fn = file.mid(slsh+1);
- if (fn.contains(QLatin1Char('*')) || fn.contains(QLatin1Char('?'))) {
- QString dirstr = file.left(slsh+1);
- if (!QDir(dirstr).entryList(QStringList(fn)).isEmpty())
- return ReturnTrue;
- }
-
- return ReturnFalse;
- }
-#ifdef PROEVALUATOR_FULL
- case T_MKPATH: {
- if (args.count() != 1) {
- evalError(fL1S("mkpath(file) requires one argument."));
- return ReturnFalse;
- }
- const QString &fn = resolvePath(args.at(0).toQString(m_tmp1));
- if (!QDir::current().mkpath(fn)) {
- evalError(fL1S("Cannot create directory %1.").arg(QDir::toNativeSeparators(fn)));
- return ReturnFalse;
- }
- return ReturnTrue;
- }
- case T_WRITE_FILE: {
- if (args.count() > 3) {
- evalError(fL1S("write_file(name, [content var, [append]]) requires one to three arguments."));
- return ReturnFalse;
- }
- QIODevice::OpenMode mode = QIODevice::Truncate;
- QString contents;
- if (args.count() >= 2) {
- const ProStringList &vals = values(args.at(1).toKey());
- if (!vals.isEmpty())
- contents = vals.join(fL1S("\n")) + QLatin1Char('\n');
- if (args.count() >= 3)
- if (!args.at(2).toQString(m_tmp1).compare(fL1S("append"), Qt::CaseInsensitive))
- mode = QIODevice::Append;
- }
- return writeFile(QString(), resolvePath(args.at(0).toQString(m_tmp1)), mode, contents);
- }
- case T_TOUCH: {
- if (args.count() != 2) {
- evalError(fL1S("touch(file, reffile) requires two arguments."));
- return ReturnFalse;
- }
- const QString &tfn = resolvePath(args.at(0).toQString(m_tmp1));
- const QString &rfn = resolvePath(args.at(1).toQString(m_tmp2));
-#ifdef Q_OS_UNIX
- struct stat st;
- if (stat(rfn.toLocal8Bit().constData(), &st)) {
- evalError(fL1S("Cannot stat() reference file %1: %2.").arg(rfn, fL1S(strerror(errno))));
- return ReturnFalse;
- }
- struct utimbuf utb;
- utb.actime = time(0);
- utb.modtime = st.st_mtime;
- if (utime(tfn.toLocal8Bit().constData(), &utb)) {
- evalError(fL1S("Cannot touch %1: %2.").arg(tfn, fL1S(strerror(errno))));
- return ReturnFalse;
- }
-#else
- HANDLE rHand = CreateFile((wchar_t*)rfn.utf16(),
- GENERIC_READ, FILE_SHARE_READ,
- NULL, OPEN_EXISTING, FILE_ATTRIBUTE_NORMAL, NULL);
- if (rHand == INVALID_HANDLE_VALUE) {
- evalError(fL1S("Cannot open() reference file %1: %2.").arg(rfn, windowsErrorCode()));
- return ReturnFalse;
- }
- FILETIME ft;
- GetFileTime(rHand, 0, 0, &ft);
- CloseHandle(rHand);
- HANDLE wHand = CreateFile((wchar_t*)tfn.utf16(),
- GENERIC_WRITE, FILE_SHARE_READ,
- NULL, OPEN_EXISTING, FILE_ATTRIBUTE_NORMAL, NULL);
- if (wHand == INVALID_HANDLE_VALUE) {
- evalError(fL1S("Cannot open() %1: %2.").arg(tfn, windowsErrorCode()));
- return ReturnFalse;
- }
- SetFileTime(wHand, 0, 0, &ft);
- CloseHandle(wHand);
-#endif
- return ReturnTrue;
- }
- case T_CACHE: {
- if (args.count() > 3) {
- evalError(fL1S("cache(var, [set|add|sub] [transient] [super], [srcvar]) requires one to three arguments."));
- return ReturnFalse;
- }
- bool persist = true;
- bool super = false;
- enum { CacheSet, CacheAdd, CacheSub } mode = CacheSet;
- ProKey srcvar;
- if (args.count() >= 2) {
- foreach (const ProString &opt, split_value_list(args.at(1).toQString(m_tmp2))) {
- opt.toQString(m_tmp3);
- if (m_tmp3 == QLatin1String("transient")) {
- persist = false;
- } else if (m_tmp3 == QLatin1String("super")) {
- super = true;
- } else if (m_tmp3 == QLatin1String("set")) {
- mode = CacheSet;
- } else if (m_tmp3 == QLatin1String("add")) {
- mode = CacheAdd;
- } else if (m_tmp3 == QLatin1String("sub")) {
- mode = CacheSub;
- } else {
- evalError(fL1S("cache(): invalid flag %1.").arg(m_tmp3));
- return ReturnFalse;
- }
- }
- if (args.count() >= 3) {
- srcvar = args.at(2).toKey();
- } else if (mode != CacheSet) {
- evalError(fL1S("cache(): modes other than 'set' require a source variable."));
- return ReturnFalse;
- }
- }
- QString varstr;
- ProKey dstvar = args.at(0).toKey();
- if (!dstvar.isEmpty()) {
- if (srcvar.isEmpty())
- srcvar = dstvar;
- ProValueMap::Iterator srcvarIt;
- if (!findValues(srcvar, &srcvarIt)) {
- evalError(fL1S("Variable %1 is not defined.").arg(srcvar.toQString(m_tmp1)));
- return ReturnFalse;
- }
- // The caches for the host and target may differ (e.g., when we are manipulating
- // CONFIG), so we cannot compute a common new value for both.
- const ProStringList &diffval = *srcvarIt;
- ProStringList newval;
- bool changed = false;
- for (bool hostBuild = false; ; hostBuild = true) {
- if (QMakeBaseEnv *baseEnv = m_option->baseEnvs.value(
- QMakeBaseKey(m_buildRoot, hostBuild))) {
- QMakeEvaluator *baseEval = baseEnv->evaluator;
- const ProStringList &oldval = baseEval->values(dstvar);
- if (mode == CacheSet) {
- newval = diffval;
- } else {
- newval = oldval;
- if (mode == CacheAdd)
- newval += diffval;
- else
- removeEach(&newval, diffval);
- }
- if (oldval != newval) {
- baseEval->valuesRef(dstvar) = newval;
- if (super) {
- do {
- if (dstvar == QLatin1String("QMAKEPATH")) {
- baseEval->m_qmakepath = newval.toQStringList();
- baseEval->updateMkspecPaths();
- } else if (dstvar == QLatin1String("QMAKEFEATURES")) {
- baseEval->m_qmakefeatures = newval.toQStringList();
- } else {
- break;
- }
- baseEval->updateFeaturePaths();
- if (hostBuild == m_hostBuild)
- m_featureRoots = baseEval->m_featureRoots;
- } while (false);
- }
- changed = true;
- }
- }
- if (hostBuild)
- break;
- }
- // We assume that whatever got the cached value to be what it is now will do so
- // the next time as well, so we just skip the persisting if nothing changed.
- if (!persist || !changed)
- return ReturnTrue;
- varstr = dstvar.toQString();
- if (mode == CacheAdd)
- varstr += QLatin1String(" +=");
- else if (mode == CacheSub)
- varstr += QLatin1String(" -=");
- else
- varstr += QLatin1String(" =");
- if (diffval.count() == 1) {
- varstr += QLatin1Char(' ');
- varstr += quoteValue(diffval.at(0));
- } else if (!diffval.isEmpty()) {
- foreach (const ProString &vval, diffval) {
- varstr += QLatin1String(" \\\n ");
- varstr += quoteValue(vval);
- }
- }
- varstr += QLatin1Char('\n');
- }
- QString fn;
- if (super) {
- if (m_superfile.isEmpty()) {
- m_superfile = m_outputDir + QLatin1String("/.qmake.super");
- printf("Info: creating super cache file %s\n", qPrintable(m_superfile));
- valuesRef(ProKey("_QMAKE_SUPER_CACHE_")) << ProString(m_superfile);
- }
- fn = m_superfile;
- } else {
- if (m_cachefile.isEmpty()) {
- m_cachefile = m_outputDir + QLatin1String("/.qmake.cache");
- printf("Info: creating cache file %s\n", qPrintable(m_cachefile));
- valuesRef(ProKey("_QMAKE_CACHE_")) << ProString(m_cachefile);
- // We could update m_{source,build}Root and m_featureRoots here, or even
- // "re-home" our rootEnv, but this doesn't sound too useful - if somebody
- // wanted qmake to find something in the build directory, he could have
- // done so "from the outside".
- // The sub-projects will find the new cache all by themselves.
- }
- fn = m_cachefile;
- }
- return writeFile(fL1S("cache "), fn, QIODevice::Append, varstr);
- }
-#endif
- default:
- evalError(fL1S("Function '%1' is not implemented.").arg(function.toQString(m_tmp1)));
- return ReturnFalse;
- }
-}
-
-QT_END_NAMESPACE
diff --git a/tools/qmakefilereader/evaluator/qmakeevaluator.cpp b/tools/qmakefilereader/evaluator/qmakeevaluator.cpp
deleted file mode 100644
index 98a0b07e..00000000
--- a/tools/qmakefilereader/evaluator/qmakeevaluator.cpp
+++ /dev/null
@@ -1,2026 +0,0 @@
-/****************************************************************************
-**
-** Copyright (C) 2016 The Qt Company Ltd.
-** Contact: https://www.qt.io/licensing/
-**
-** This file is part of the Qt VS Add-in.
-**
-** $QT_BEGIN_LICENSE:GPL-EXCEPT$
-** Commercial License Usage
-** Licensees holding valid commercial Qt licenses may use this file in
-** accordance with the commercial license agreement provided with the
-** Software or, alternatively, in accordance with the terms contained in
-** a written agreement between you and The Qt Company. For licensing terms
-** and conditions see https://www.qt.io/terms-conditions. For further
-** information use the contact form at https://www.qt.io/contact-us.
-**
-** GNU General Public License Usage
-** Alternatively, this file may be used under the terms of the GNU
-** General Public License version 3 as published by the Free Software
-** Foundation with exceptions as appearing in the file LICENSE.GPL3-EXCEPT
-** included in the packaging of this file. Please review the following
-** information to ensure the GNU General Public License requirements will
-** be met: https://www.gnu.org/licenses/gpl-3.0.html.
-**
-** $QT_END_LICENSE$
-**
-****************************************************************************/
-
-#include "qmakeevaluator.h"
-#include "qmakeevaluator_p.h"
-
-#include "qmakeglobals.h"
-#include "qmakeparser.h"
-#include "ioutils.h"
-
-#include <qbytearray.h>
-#include <qdatetime.h>
-#include <qdebug.h>
-#include <qdir.h>
-#include <qfile.h>
-#include <qfileinfo.h>
-#include <qlist.h>
-#include <qregexp.h>
-#include <qset.h>
-#include <qstack.h>
-#include <qstring.h>
-#include <qstringlist.h>
-#ifdef PROEVALUATOR_THREAD_SAFE
-# include <qthreadpool.h>
-#endif
-
-#ifdef Q_OS_UNIX
-#include <unistd.h>
-#include <sys/utsname.h>
-#else
-#include <windows.h>
-#endif
-#include <stdio.h>
-#include <stdlib.h>
-
-using namespace QMakeInternal;
-
-QT_BEGIN_NAMESPACE
-
-#define fL1S(s) QString::fromLatin1(s)
-
-
-QMakeBaseKey::QMakeBaseKey(const QString &_root, bool _hostBuild)
- : root(_root), hostBuild(_hostBuild)
-{
-}
-
-uint qHash(const QMakeBaseKey &key)
-{
- return qHash(key.root) ^ (uint)key.hostBuild;
-}
-
-bool operator==(const QMakeBaseKey &one, const QMakeBaseKey &two)
-{
- return one.root == two.root && one.hostBuild == two.hostBuild;
-}
-
-QMakeBaseEnv::QMakeBaseEnv()
- : evaluator(0)
-{
-#ifdef PROEVALUATOR_THREAD_SAFE
- inProgress = false;
-#endif
-}
-
-QMakeBaseEnv::~QMakeBaseEnv()
-{
- delete evaluator;
-}
-
-namespace QMakeInternal {
-QMakeStatics statics;
-}
-
-void QMakeEvaluator::initStatics()
-{
- if (!statics.field_sep.isNull())
- return;
-
- statics.field_sep = QLatin1String(" ");
- statics.strtrue = QLatin1String("true");
- statics.strfalse = QLatin1String("false");
- statics.strCONFIG = ProKey("CONFIG");
- statics.strARGS = ProKey("ARGS");
- statics.strDot = QLatin1String(".");
- statics.strDotDot = QLatin1String("..");
- statics.strever = QLatin1String("ever");
- statics.strforever = QLatin1String("forever");
- statics.strhost_build = QLatin1String("host_build");
- statics.strTEMPLATE = ProKey("TEMPLATE");
-#ifdef PROEVALUATOR_FULL
- statics.strREQUIRES = ProKey("REQUIRES");
-#endif
-
- statics.fakeValue = ProStringList(ProString("_FAKE_")); // It has to have a unique begin() value
-
- initFunctionStatics();
-
- static const struct {
- const char * const oldname, * const newname;
- } mapInits[] = {
- { "INTERFACES", "FORMS" },
- { "QMAKE_POST_BUILD", "QMAKE_POST_LINK" },
- { "TARGETDEPS", "POST_TARGETDEPS" },
- { "LIBPATH", "QMAKE_LIBDIR" },
- { "QMAKE_EXT_MOC", "QMAKE_EXT_CPP_MOC" },
- { "QMAKE_MOD_MOC", "QMAKE_H_MOD_MOC" },
- { "QMAKE_LFLAGS_SHAPP", "QMAKE_LFLAGS_APP" },
- { "PRECOMPH", "PRECOMPILED_HEADER" },
- { "PRECOMPCPP", "PRECOMPILED_SOURCE" },
- { "INCPATH", "INCLUDEPATH" },
- { "QMAKE_EXTRA_WIN_COMPILERS", "QMAKE_EXTRA_COMPILERS" },
- { "QMAKE_EXTRA_UNIX_COMPILERS", "QMAKE_EXTRA_COMPILERS" },
- { "QMAKE_EXTRA_WIN_TARGETS", "QMAKE_EXTRA_TARGETS" },
- { "QMAKE_EXTRA_UNIX_TARGETS", "QMAKE_EXTRA_TARGETS" },
- { "QMAKE_EXTRA_UNIX_INCLUDES", "QMAKE_EXTRA_INCLUDES" },
- { "QMAKE_EXTRA_UNIX_VARIABLES", "QMAKE_EXTRA_VARIABLES" },
- { "QMAKE_RPATH", "QMAKE_LFLAGS_RPATH" },
- { "QMAKE_FRAMEWORKDIR", "QMAKE_FRAMEWORKPATH" },
- { "QMAKE_FRAMEWORKDIR_FLAGS", "QMAKE_FRAMEWORKPATH_FLAGS" },
- { "IN_PWD", "PWD" }
- };
- for (unsigned i = 0; i < sizeof(mapInits)/sizeof(mapInits[0]); ++i)
- statics.varMap.insert(ProKey(mapInits[i].oldname), ProKey(mapInits[i].newname));
-}
-
-const ProKey &QMakeEvaluator::map(const ProKey &var)
-{
- QHash<ProKey, ProKey>::ConstIterator it = statics.varMap.constFind(var);
- if (it == statics.varMap.constEnd())
- return var;
- deprecationWarning(fL1S("Variable %1 is deprecated; use %2 instead.")
- .arg(var.toQString(), it.value().toQString()));
- return it.value();
-}
-
-
-QMakeEvaluator::QMakeEvaluator(QMakeGlobals *option,
- QMakeParser *parser, QMakeHandler *handler)
- :
-#ifdef PROEVALUATOR_DEBUG
- m_debugLevel(option->debugLevel),
-#endif
- m_option(option), m_parser(parser), m_handler(handler)
-{
- // So that single-threaded apps don't have to call initialize() for now.
- initStatics();
-
- // Configuration, more or less
- m_caller = 0;
-#ifdef PROEVALUATOR_CUMULATIVE
- m_cumulative = false;
-#endif
- m_hostBuild = false;
-
- // Evaluator state
-#ifdef PROEVALUATOR_CUMULATIVE
- m_skipLevel = 0;
-#endif
- m_listCount = 0;
- m_valuemapStack.push(ProValueMap());
- m_valuemapInited = false;
-}
-
-QMakeEvaluator::~QMakeEvaluator()
-{
-}
-
-void QMakeEvaluator::initFrom(const QMakeEvaluator &other)
-{
- Q_ASSERT_X(&other, "QMakeEvaluator::visitProFile", "Project not prepared");
- m_functionDefs = other.m_functionDefs;
- m_valuemapStack = other.m_valuemapStack;
- m_valuemapInited = true;
- m_qmakespec = other.m_qmakespec;
- m_qmakespecName = other.m_qmakespecName;
- m_mkspecPaths = other.m_mkspecPaths;
- m_featureRoots = other.m_featureRoots;
- m_dirSep = other.m_dirSep;
-}
-
-//////// Evaluator tools /////////
-
-uint QMakeEvaluator::getBlockLen(const ushort *&tokPtr)
-{
- uint len = *tokPtr++;
- len |= (uint)*tokPtr++ << 16;
- return len;
-}
-
-ProString QMakeEvaluator::getStr(const ushort *&tokPtr)
-{
- uint len = *tokPtr++;
- ProString ret(m_current.pro->items(), tokPtr - m_current.pro->tokPtr(), len);
- ret.setSource(m_current.pro);
- tokPtr += len;
- return ret;
-}
-
-ProKey QMakeEvaluator::getHashStr(const ushort *&tokPtr)
-{
- uint hash = getBlockLen(tokPtr);
- uint len = *tokPtr++;
- ProKey ret(m_current.pro->items(), tokPtr - m_current.pro->tokPtr(), len, hash);
- tokPtr += len;
- return ret;
-}
-
-void QMakeEvaluator::skipStr(const ushort *&tokPtr)
-{
- uint len = *tokPtr++;
- tokPtr += len;
-}
-
-void QMakeEvaluator::skipHashStr(const ushort *&tokPtr)
-{
- tokPtr += 2;
- uint len = *tokPtr++;
- tokPtr += len;
-}
-
-// FIXME: this should not build new strings for direct sections.
-// Note that the E_SPRINTF and E_LIST implementations rely on the deep copy.
-ProStringList QMakeEvaluator::split_value_list(const QString &vals, const ProFile *source)
-{
- QString build;
- ProStringList ret;
- QStack<char> quote;
-
- const ushort SPACE = ' ';
- const ushort LPAREN = '(';
- const ushort RPAREN = ')';
- const ushort SINGLEQUOTE = '\'';
- const ushort DOUBLEQUOTE = '"';
- const ushort BACKSLASH = '\\';
-
- if (!source)
- source = currentProFile();
-
- ushort unicode;
- const QChar *vals_data = vals.data();
- const int vals_len = vals.length();
- int parens = 0;
- for (int x = 0; x < vals_len; x++) {
- unicode = vals_data[x].unicode();
- if (x != (int)vals_len-1 && unicode == BACKSLASH &&
- (vals_data[x+1].unicode() == SINGLEQUOTE || vals_data[x+1].unicode() == DOUBLEQUOTE)) {
- build += vals_data[x++]; //get that 'escape'
- } else if (!quote.isEmpty() && unicode == quote.top()) {
- quote.pop();
- } else if (unicode == SINGLEQUOTE || unicode == DOUBLEQUOTE) {
- quote.push(unicode);
- } else if (unicode == RPAREN) {
- --parens;
- } else if (unicode == LPAREN) {
- ++parens;
- }
-
- if (!parens && quote.isEmpty() && vals_data[x] == SPACE) {
- ret << ProString(build).setSource(source);
- build.clear();
- } else {
- build += vals_data[x];
- }
- }
- if (!build.isEmpty())
- ret << ProString(build).setSource(source);
- if (parens)
- deprecationWarning(fL1S("Unmatched parentheses are deprecated."));
- return ret;
-}
-
-static void zipEmpty(ProStringList *value)
-{
- for (int i = value->size(); --i >= 0;)
- if (value->at(i).isEmpty())
- value->remove(i);
-}
-
-static void insertUnique(ProStringList *varlist, const ProStringList &value)
-{
- foreach (const ProString &str, value)
- if (!str.isEmpty() && !varlist->contains(str))
- varlist->append(str);
-}
-
-static void removeAll(ProStringList *varlist, const ProString &value)
-{
- for (int i = varlist->size(); --i >= 0; )
- if (varlist->at(i) == value)
- varlist->remove(i);
-}
-
-void QMakeEvaluator::removeEach(ProStringList *varlist, const ProStringList &value)
-{
- foreach (const ProString &str, value)
- if (!str.isEmpty())
- removeAll(varlist, str);
-}
-
-static void replaceInList(ProStringList *varlist,
- const QRegExp &regexp, const QString &replace, bool global, QString &tmp)
-{
- for (ProStringList::Iterator varit = varlist->begin(); varit != varlist->end(); ) {
- QString val = varit->toQString(tmp);
- QString copy = val; // Force detach and have a reference value
- val.replace(regexp, replace);
- if (!val.isSharedWith(copy) && val != copy) {
- if (val.isEmpty()) {
- varit = varlist->erase(varit);
- } else {
- (*varit).setValue(val);
- ++varit;
- }
- if (!global)
- break;
- } else {
- ++varit;
- }
- }
-}
-
-//////// Evaluator /////////
-
-static ALWAYS_INLINE void addStr(
- const ProString &str, ProStringList *ret, bool &pending, bool joined)
-{
- if (joined) {
- ret->last().append(str, &pending);
- } else {
- if (!pending) {
- pending = true;
- *ret << str;
- } else {
- ret->last().append(str);
- }
- }
-}
-
-static ALWAYS_INLINE void addStrList(
- const ProStringList &list, ushort tok, ProStringList *ret, bool &pending, bool joined)
-{
- if (!list.isEmpty()) {
- if (joined) {
- ret->last().append(list, &pending, !(tok & TokQuoted));
- } else {
- if (tok & TokQuoted) {
- if (!pending) {
- pending = true;
- *ret << ProString();
- }
- ret->last().append(list);
- } else {
- if (!pending) {
- // Another qmake bizzarity: if nothing is pending and the
- // first element is empty, it will be eaten
- if (!list.at(0).isEmpty()) {
- // The common case
- pending = true;
- *ret += list;
- return;
- }
- } else {
- ret->last().append(list.at(0));
- }
- // This is somewhat slow, but a corner case
- for (int j = 1; j < list.size(); ++j) {
- pending = true;
- *ret << list.at(j);
- }
- }
- }
- }
-}
-
-void QMakeEvaluator::evaluateExpression(
- const ushort *&tokPtr, ProStringList *ret, bool joined)
-{
- debugMsg(2, joined ? "evaluating joined expression" : "evaluating expression");
- if (joined)
- *ret << ProString();
- bool pending = false;
- forever {
- ushort tok = *tokPtr++;
- if (tok & TokNewStr) {
- debugMsg(2, "new string");
- pending = false;
- }
- ushort maskedTok = tok & TokMask;
- switch (maskedTok) {
- case TokLine:
- m_current.line = *tokPtr++;
- break;
- case TokLiteral: {
- const ProString &val = getStr(tokPtr);
- debugMsg(2, "literal %s", dbgStr(val));
- addStr(val, ret, pending, joined);
- break; }
- case TokHashLiteral: {
- const ProKey &val = getHashStr(tokPtr);
- debugMsg(2, "hashed literal %s", dbgStr(val.toString()));
- addStr(val, ret, pending, joined);
- break; }
- case TokVariable: {
- const ProKey &var = getHashStr(tokPtr);
- const ProStringList &val = values(map(var));
- debugMsg(2, "variable %s => %s", dbgKey(var), dbgStrList(val));
- addStrList(val, tok, ret, pending, joined);
- break; }
- case TokProperty: {
- const ProKey &var = getHashStr(tokPtr);
- const ProString &val = propertyValue(var);
- debugMsg(2, "property %s => %s", dbgKey(var), dbgStr(val));
- addStr(val, ret, pending, joined);
- break; }
- case TokEnvVar: {
- const ProString &var = getStr(tokPtr);
- const ProStringList &val = split_value_list(m_option->getEnv(var.toQString(m_tmp1)));
- debugMsg(2, "env var %s => %s", dbgStr(var), dbgStrList(val));
- addStrList(val, tok, ret, pending, joined);
- break; }
- case TokFuncName: {
- const ProKey &func = getHashStr(tokPtr);
- debugMsg(2, "function %s", dbgKey(func));
- addStrList(evaluateExpandFunction(func, tokPtr), tok, ret, pending, joined);
- break; }
- default:
- debugMsg(2, "evaluated expression => %s", dbgStrList(*ret));
- tokPtr--;
- return;
- }
- }
-}
-
-void QMakeEvaluator::skipExpression(const ushort *&pTokPtr)
-{
- const ushort *tokPtr = pTokPtr;
- forever {
- ushort tok = *tokPtr++;
- switch (tok) {
- case TokLine:
- m_current.line = *tokPtr++;
- break;
- case TokValueTerminator:
- case TokFuncTerminator:
- pTokPtr = tokPtr;
- return;
- case TokArgSeparator:
- break;
- default:
- switch (tok & TokMask) {
- case TokLiteral:
- case TokEnvVar:
- skipStr(tokPtr);
- break;
- case TokHashLiteral:
- case TokVariable:
- case TokProperty:
- skipHashStr(tokPtr);
- break;
- case TokFuncName:
- skipHashStr(tokPtr);
- pTokPtr = tokPtr;
- skipExpression(pTokPtr);
- tokPtr = pTokPtr;
- break;
- default:
- Q_ASSERT_X(false, "skipExpression", "Unrecognized token");
- break;
- }
- }
- }
-}
-
-QMakeEvaluator::VisitReturn QMakeEvaluator::visitProBlock(
- ProFile *pro, const ushort *tokPtr)
-{
- m_current.pro = pro;
- m_current.line = 0;
- return visitProBlock(tokPtr);
-}
-
-QMakeEvaluator::VisitReturn QMakeEvaluator::visitProBlock(
- const ushort *tokPtr)
-{
- traceMsg("entering block");
- ProStringList curr;
- bool okey = true, or_op = false, invert = false;
- uint blockLen;
- while (ushort tok = *tokPtr++) {
- VisitReturn ret;
- switch (tok) {
- case TokLine:
- m_current.line = *tokPtr++;
- continue;
- case TokAssign:
- case TokAppend:
- case TokAppendUnique:
- case TokRemove:
- case TokReplace:
- visitProVariable(tok, curr, tokPtr);
- curr.clear();
- continue;
- case TokBranch:
- blockLen = getBlockLen(tokPtr);
- if (m_cumulative) {
-#ifdef PROEVALUATOR_CUMULATIVE
- if (!okey)
- m_skipLevel++;
- ret = blockLen ? visitProBlock(tokPtr) : ReturnTrue;
- tokPtr += blockLen;
- blockLen = getBlockLen(tokPtr);
- if (!okey)
- m_skipLevel--;
- else
- m_skipLevel++;
- if ((ret == ReturnTrue || ret == ReturnFalse) && blockLen)
- ret = visitProBlock(tokPtr);
- if (okey)
- m_skipLevel--;
-#endif
- } else {
- if (okey) {
- traceMsg("taking 'then' branch");
- ret = blockLen ? visitProBlock(tokPtr) : ReturnTrue;
- traceMsg("finished 'then' branch");
- }
- tokPtr += blockLen;
- blockLen = getBlockLen(tokPtr);
- if (!okey) {
- traceMsg("taking 'else' branch");
- ret = blockLen ? visitProBlock(tokPtr) : ReturnTrue;
- traceMsg("finished 'else' branch");
- }
- }
- tokPtr += blockLen;
- okey = true, or_op = false; // force next evaluation
- break;
- case TokForLoop:
- if (m_cumulative) { // This is a no-win situation, so just pretend it's no loop
- skipHashStr(tokPtr);
- uint exprLen = getBlockLen(tokPtr);
- tokPtr += exprLen;
- blockLen = getBlockLen(tokPtr);
- ret = visitProBlock(tokPtr);
- } else if (okey != or_op) {
- const ProKey &variable = getHashStr(tokPtr);
- uint exprLen = getBlockLen(tokPtr);
- const ushort *exprPtr = tokPtr;
- tokPtr += exprLen;
- blockLen = getBlockLen(tokPtr);
- ret = visitProLoop(variable, exprPtr, tokPtr);
- } else {
- skipHashStr(tokPtr);
- uint exprLen = getBlockLen(tokPtr);
- tokPtr += exprLen;
- blockLen = getBlockLen(tokPtr);
- traceMsg("skipped loop");
- ret = ReturnTrue;
- }
- tokPtr += blockLen;
- okey = true, or_op = false; // force next evaluation
- break;
- case TokTestDef:
- case TokReplaceDef:
- if (m_cumulative || okey != or_op) {
- const ProKey &name = getHashStr(tokPtr);
- blockLen = getBlockLen(tokPtr);
- visitProFunctionDef(tok, name, tokPtr);
- traceMsg("defined %s function %s",
- tok == TokTestDef ? "test" : "replace", dbgKey(name));
- } else {
- traceMsg("skipped function definition");
- skipHashStr(tokPtr);
- blockLen = getBlockLen(tokPtr);
- }
- tokPtr += blockLen;
- okey = true, or_op = false; // force next evaluation
- continue;
- case TokNot:
- traceMsg("NOT");
- invert ^= true;
- continue;
- case TokAnd:
- traceMsg("AND");
- or_op = false;
- continue;
- case TokOr:
- traceMsg("OR");
- or_op = true;
- continue;
- case TokCondition:
- if (!m_skipLevel && okey != or_op) {
- if (curr.size() != 1) {
- if (!m_cumulative || !curr.isEmpty())
- evalError(fL1S("Conditional must expand to exactly one word."));
- okey = false;
- } else {
- okey = isActiveConfig(curr.at(0).toQString(m_tmp2), true);
- traceMsg("condition %s is %s", dbgStr(curr.at(0)), dbgBool(okey));
- okey ^= invert;
- }
- } else {
- traceMsg("skipped condition %s", curr.size() == 1 ? dbgStr(curr.at(0)) : "<invalid>");
- }
- or_op = !okey; // tentatively force next evaluation
- invert = false;
- curr.clear();
- continue;
- case TokTestCall:
- if (!m_skipLevel && okey != or_op) {
- if (curr.size() != 1) {
- if (!m_cumulative || !curr.isEmpty())
- evalError(fL1S("Test name must expand to exactly one word."));
- skipExpression(tokPtr);
- okey = false;
- } else {
- traceMsg("evaluating test function %s", dbgStr(curr.at(0)));
- ret = evaluateConditionalFunction(curr.at(0).toKey(), tokPtr);
- switch (ret) {
- case ReturnTrue: okey = true; break;
- case ReturnFalse: okey = false; break;
- default:
- traceMsg("aborting block, function status: %s", dbgReturn(ret));
- return ret;
- }
- traceMsg("test function returned %s", dbgBool(okey));
- okey ^= invert;
- }
- } else if (m_cumulative) {
-#ifdef PROEVALUATOR_CUMULATIVE
- m_skipLevel++;
- if (curr.size() != 1)
- skipExpression(tokPtr);
- else
- evaluateConditionalFunction(curr.at(0).toKey(), tokPtr);
- m_skipLevel--;
-#endif
- } else {
- skipExpression(tokPtr);
- traceMsg("skipped test function %s", curr.size() == 1 ? dbgStr(curr.at(0)) : "<invalid>");
- }
- or_op = !okey; // tentatively force next evaluation
- invert = false;
- curr.clear();
- continue;
- case TokReturn:
- m_returnValue = curr;
- curr.clear();
- ret = ReturnReturn;
- goto ctrlstm;
- case TokBreak:
- ret = ReturnBreak;
- goto ctrlstm;
- case TokNext:
- ret = ReturnNext;
- ctrlstm:
- if (!m_skipLevel && okey != or_op) {
- traceMsg("flow control statement '%s', aborting block", dbgReturn(ret));
- return ret;
- }
- traceMsg("skipped flow control statement '%s'", dbgReturn(ret));
- okey = false, or_op = true; // force next evaluation
- continue;
- default: {
- const ushort *oTokPtr = --tokPtr;
- evaluateExpression(tokPtr, &curr, false);
- if (tokPtr != oTokPtr)
- continue;
- }
- Q_ASSERT_X(false, "visitProBlock", "unexpected item type");
- continue;
- }
- if (ret != ReturnTrue && ret != ReturnFalse) {
- traceMsg("aborting block, status: %s", dbgReturn(ret));
- return ret;
- }
- }
- traceMsg("leaving block, okey=%s", dbgBool(okey));
- return returnBool(okey);
-}
-
-
-void QMakeEvaluator::visitProFunctionDef(
- ushort tok, const ProKey &name, const ushort *tokPtr)
-{
- QHash<ProKey, ProFunctionDef> *hash =
- (tok == TokTestDef
- ? &m_functionDefs.testFunctions
- : &m_functionDefs.replaceFunctions);
- hash->insert(name, ProFunctionDef(m_current.pro, tokPtr - m_current.pro->tokPtr()));
-}
-
-QMakeEvaluator::VisitReturn QMakeEvaluator::visitProLoop(
- const ProKey &_variable, const ushort *exprPtr, const ushort *tokPtr)
-{
- VisitReturn ret = ReturnTrue;
- bool infinite = false;
- int index = 0;
- ProKey variable;
- ProStringList oldVarVal;
- ProString it_list = expandVariableReferences(exprPtr, 0, true).at(0);
- if (_variable.isEmpty()) {
- if (it_list != statics.strever) {
- evalError(fL1S("Invalid loop expression."));
- return ReturnFalse;
- }
- it_list = ProString(statics.strforever);
- } else {
- variable = map(_variable);
- oldVarVal = values(variable);
- }
- ProStringList list = values(it_list.toKey());
- if (list.isEmpty()) {
- if (it_list == statics.strforever) {
- infinite = true;
- } else {
- const QString &itl = it_list.toQString(m_tmp1);
- int dotdot = itl.indexOf(statics.strDotDot);
- if (dotdot != -1) {
- bool ok;
- int start = itl.left(dotdot).toInt(&ok);
- if (ok) {
- int end = itl.mid(dotdot+2).toInt(&ok);
- if (ok) {
- if (start < end) {
- for (int i = start; i <= end; i++)
- list << ProString(QString::number(i));
- } else {
- for (int i = start; i >= end; i--)
- list << ProString(QString::number(i));
- }
- }
- }
- }
- }
- }
-
- if (infinite)
- traceMsg("entering infinite loop for %s", dbgKey(variable));
- else
- traceMsg("entering loop for %s over %s", dbgKey(variable), dbgStrList(list));
-
- forever {
- if (infinite) {
- if (!variable.isEmpty())
- m_valuemapStack.top()[variable] = ProStringList(ProString(QString::number(index++)));
- if (index > 1000) {
- evalError(fL1S("Ran into infinite loop (> 1000 iterations)."));
- break;
- }
- traceMsg("loop iteration %d", index);
- } else {
- ProString val;
- do {
- if (index >= list.count())
- goto do_break;
- val = list.at(index++);
- } while (val.isEmpty()); // stupid, but qmake is like that
- traceMsg("loop iteration %s", dbgStr(val));
- m_valuemapStack.top()[variable] = ProStringList(val);
- }
-
- ret = visitProBlock(tokPtr);
- switch (ret) {
- case ReturnTrue:
- case ReturnFalse:
- break;
- case ReturnNext:
- ret = ReturnTrue;
- break;
- case ReturnBreak:
- ret = ReturnTrue;
- goto do_break;
- default:
- goto do_break;
- }
- }
- do_break:
-
- traceMsg("done looping");
-
- if (!variable.isEmpty())
- m_valuemapStack.top()[variable] = oldVarVal;
- return ret;
-}
-
-void QMakeEvaluator::visitProVariable(
- ushort tok, const ProStringList &curr, const ushort *&tokPtr)
-{
- int sizeHint = *tokPtr++;
-
- if (curr.size() != 1) {
- skipExpression(tokPtr);
- if (!m_cumulative || !curr.isEmpty())
- evalError(fL1S("Left hand side of assignment must expand to exactly one word."));
- return;
- }
- const ProKey &varName = map(curr.first());
-
- if (tok == TokReplace) { // ~=
- // DEFINES ~= s/a/b/?[gqi]
-
- const ProStringList &varVal = expandVariableReferences(tokPtr, sizeHint, true);
- const QString &val = varVal.at(0).toQString(m_tmp1);
- if (val.length() < 4 || val.at(0) != QLatin1Char('s')) {
- evalError(fL1S("The ~= operator can handle only the s/// function."));
- return;
- }
- QChar sep = val.at(1);
- QStringList func = val.split(sep);
- if (func.count() < 3 || func.count() > 4) {
- evalError(fL1S("The s/// function expects 3 or 4 arguments."));
- return;
- }
-
- bool global = false, quote = false, case_sense = false;
- if (func.count() == 4) {
- global = func[3].indexOf(QLatin1Char('g')) != -1;
- case_sense = func[3].indexOf(QLatin1Char('i')) == -1;
- quote = func[3].indexOf(QLatin1Char('q')) != -1;
- }
- QString pattern = func[1];
- QString replace = func[2];
- if (quote)
- pattern = QRegExp::escape(pattern);
-
- QRegExp regexp(pattern, case_sense ? Qt::CaseSensitive : Qt::CaseInsensitive);
-
- // We could make a union of modified and unmodified values,
- // but this will break just as much as it fixes, so leave it as is.
- replaceInList(&valuesRef(varName), regexp, replace, global, m_tmp2);
- debugMsg(2, "replaced %s with %s", dbgQStr(pattern), dbgQStr(replace));
- } else {
- ProStringList varVal = expandVariableReferences(tokPtr, sizeHint);
- switch (tok) {
- default: // whatever - cannot happen
- case TokAssign: // =
- zipEmpty(&varVal);
- if (!m_cumulative) {
- // FIXME: add check+warning about accidental value removal.
- // This may be a bit too noisy, though.
- m_valuemapStack.top()[varName] = varVal;
- } else {
- if (!varVal.isEmpty()) {
- // We are greedy for values. But avoid exponential growth.
- ProStringList &v = valuesRef(varName);
- if (v.isEmpty()) {
- v = varVal;
- } else {
- ProStringList old = v;
- v = varVal;
- QSet<ProString> has;
- has.reserve(v.size());
- foreach (const ProString &s, v)
- has.insert(s);
- v.reserve(v.size() + old.size());
- foreach (const ProString &s, old)
- if (!has.contains(s))
- v << s;
- }
- }
- }
- debugMsg(2, "assigning");
- break;
- case TokAppendUnique: // *=
- insertUnique(&valuesRef(varName), varVal);
- debugMsg(2, "appending unique");
- break;
- case TokAppend: // +=
- zipEmpty(&varVal);
- valuesRef(varName) += varVal;
- debugMsg(2, "appending");
- break;
- case TokRemove: // -=
- if (!m_cumulative) {
- removeEach(&valuesRef(varName), varVal);
- } else {
- // We are stingy with our values, too.
- }
- debugMsg(2, "removing");
- break;
- }
- }
- traceMsg("%s := %s", dbgKey(varName), dbgStrList(values(varName)));
-
- if (varName == statics.strTEMPLATE)
- setTemplate();
-#ifdef PROEVALUATOR_FULL
- else if (varName == statics.strREQUIRES)
- checkRequirements(values(varName));
-#endif
-}
-
-void QMakeEvaluator::setTemplate()
-{
- ProStringList &values = valuesRef(statics.strTEMPLATE);
- if (!m_option->user_template.isEmpty()) {
- // Don't allow override
- values = ProStringList(ProString(m_option->user_template));
- } else {
- if (values.isEmpty())
- values.append(ProString("app"));
- else
- values.erase(values.begin() + 1, values.end());
- }
- if (!m_option->user_template_prefix.isEmpty()) {
- QString val = values.first().toQString(m_tmp1);
- if (!val.startsWith(m_option->user_template_prefix)) {
- val.prepend(m_option->user_template_prefix);
- values = ProStringList(ProString(val));
- }
- }
-}
-
-void QMakeEvaluator::loadDefaults()
-{
- ProValueMap &vars = m_valuemapStack.top();
-
- vars[ProKey("DIR_SEPARATOR")] << ProString(m_option->dir_sep);
- vars[ProKey("DIRLIST_SEPARATOR")] << ProString(m_option->dirlist_sep);
- vars[ProKey("_DATE_")] << ProString(QDateTime::currentDateTime().toString());
- if (!m_option->qmake_abslocation.isEmpty())
- vars[ProKey("QMAKE_QMAKE")] << ProString(m_option->qmake_abslocation);
-#if defined(Q_OS_WIN32)
- vars[ProKey("QMAKE_HOST.os")] << ProString("Windows");
-
- DWORD name_length = 1024;
- wchar_t name[1024];
- if (GetComputerName(name, &name_length))
- vars[ProKey("QMAKE_HOST.name")] << ProString(QString::fromWCharArray(name));
-
- QSysInfo::WinVersion ver = QSysInfo::WindowsVersion;
- vars[ProKey("QMAKE_HOST.version")] << ProString(QString::number(ver));
- ProString verStr;
- switch (ver) {
- case QSysInfo::WV_Me: verStr = ProString("WinMe"); break;
- case QSysInfo::WV_95: verStr = ProString("Win95"); break;
- case QSysInfo::WV_98: verStr = ProString("Win98"); break;
- case QSysInfo::WV_NT: verStr = ProString("WinNT"); break;
- case QSysInfo::WV_2000: verStr = ProString("Win2000"); break;
- case QSysInfo::WV_2003: verStr = ProString("Win2003"); break;
- case QSysInfo::WV_XP: verStr = ProString("WinXP"); break;
- case QSysInfo::WV_VISTA: verStr = ProString("WinVista"); break;
- default: verStr = ProString("Unknown"); break;
- }
- vars[ProKey("QMAKE_HOST.version_string")] << verStr;
-
- SYSTEM_INFO info;
- GetSystemInfo(&info);
- ProString archStr;
- switch (info.wProcessorArchitecture) {
-# ifdef PROCESSOR_ARCHITECTURE_AMD64
- case PROCESSOR_ARCHITECTURE_AMD64:
- archStr = ProString("x86_64");
- break;
-# endif
- case PROCESSOR_ARCHITECTURE_INTEL:
- archStr = ProString("x86");
- break;
- case PROCESSOR_ARCHITECTURE_IA64:
-# ifdef PROCESSOR_ARCHITECTURE_IA32_ON_WIN64
- case PROCESSOR_ARCHITECTURE_IA32_ON_WIN64:
-# endif
- archStr = ProString("IA64");
- break;
- default:
- archStr = ProString("Unknown");
- break;
- }
- vars[ProKey("QMAKE_HOST.arch")] << archStr;
-
-# if defined(Q_CC_MSVC) // ### bogus condition, but nobody x-builds for msvc with a different qmake
- QLatin1Char backslash('\\');
- QString paths = m_option->getEnv(QLatin1String("PATH"));
- QString vcBin64 = m_option->getEnv(QLatin1String("VCINSTALLDIR"));
- if (!vcBin64.endsWith(backslash))
- vcBin64.append(backslash);
- vcBin64.append(QLatin1String("bin\\amd64"));
- QString vcBinX86_64 = m_option->getEnv(QLatin1String("VCINSTALLDIR"));
- if (!vcBinX86_64.endsWith(backslash))
- vcBinX86_64.append(backslash);
- vcBinX86_64.append(QLatin1String("bin\\x86_amd64"));
- if (paths.contains(vcBin64, Qt::CaseInsensitive)
- || paths.contains(vcBinX86_64, Qt::CaseInsensitive))
- vars[ProKey("QMAKE_TARGET.arch")] << ProString("x86_64");
- else
- vars[ProKey("QMAKE_TARGET.arch")] << ProString("x86");
-# endif
-#elif defined(Q_OS_UNIX)
- struct utsname name;
- if (!uname(&name)) {
- vars[ProKey("QMAKE_HOST.os")] << ProString(name.sysname);
- vars[ProKey("QMAKE_HOST.name")] << ProString(QString::fromLocal8Bit(name.nodename));
- vars[ProKey("QMAKE_HOST.version")] << ProString(name.release);
- vars[ProKey("QMAKE_HOST.version_string")] << ProString(name.version);
- vars[ProKey("QMAKE_HOST.arch")] << ProString(name.machine);
- }
-#endif
-
- m_valuemapInited = true;
-}
-
-bool QMakeEvaluator::prepareProject(const QString &inDir)
-{
- QString superdir;
- if (m_option->do_cache) {
- QString conffile;
- QString cachefile = m_option->cachefile;
- if (cachefile.isEmpty()) { //find it as it has not been specified
- if (m_outputDir.isEmpty())
- goto no_cache;
- superdir = m_outputDir;
- forever {
- QString superfile = superdir + QLatin1String("/.qmake.super");
- if (IoUtils::exists(superfile)) {
- m_superfile = superfile;
- break;
- }
- QFileInfo qdfi(superdir);
- if (qdfi.isRoot()) {
- superdir.clear();
- break;
- }
- superdir = qdfi.path();
- }
- QString sdir = inDir;
- QString dir = m_outputDir;
- forever {
- conffile = sdir + QLatin1String("/.qmake.conf");
- if (!IoUtils::exists(conffile))
- conffile.clear();
- cachefile = dir + QLatin1String("/.qmake.cache");
- if (!IoUtils::exists(cachefile))
- cachefile.clear();
- if (!conffile.isEmpty() || !cachefile.isEmpty()) {
- if (dir != sdir)
- m_sourceRoot = sdir;
- m_buildRoot = dir;
- break;
- }
- if (dir == superdir)
- goto no_cache;
- QFileInfo qsdfi(sdir);
- QFileInfo qdfi(dir);
- if (qsdfi.isRoot() || qdfi.isRoot())
- goto no_cache;
- sdir = qsdfi.path();
- dir = qdfi.path();
- }
- } else {
- m_buildRoot = QFileInfo(cachefile).path();
- }
- m_conffile = conffile;
- m_cachefile = cachefile;
- }
- no_cache:
-
- // Look for mkspecs/ in source and build. First to win determines the root.
- QString sdir = inDir;
- QString dir = m_outputDir;
- while (dir != m_buildRoot) {
- if ((dir != sdir && QFileInfo(sdir, QLatin1String("mkspecs")).isDir())
- || QFileInfo(dir, QLatin1String("mkspecs")).isDir()) {
- if (dir != sdir)
- m_sourceRoot = sdir;
- m_buildRoot = dir;
- break;
- }
- if (dir == superdir)
- break;
- QFileInfo qsdfi(sdir);
- QFileInfo qdfi(dir);
- if (qsdfi.isRoot() || qdfi.isRoot())
- break;
- sdir = qsdfi.path();
- dir = qdfi.path();
- }
-
- return true;
-}
-
-bool QMakeEvaluator::loadSpecInternal()
-{
- if (evaluateFeatureFile(QLatin1String("spec_pre.prf")) != ReturnTrue)
- return false;
- QString spec = m_qmakespec + QLatin1String("/qmake.conf");
- if (evaluateFile(spec, QMakeHandler::EvalConfigFile, LoadProOnly) != ReturnTrue) {
- evalError(fL1S("Could not read qmake configuration file %1.").arg(spec));
- return false;
- }
-#ifndef QT_BUILD_QMAKE
- // Legacy support for Qt4 default specs
-# ifdef Q_OS_UNIX
- if (m_qmakespec.endsWith(QLatin1String("/default-host"))
- || m_qmakespec.endsWith(QLatin1String("/default"))) {
- QString rspec = QFileInfo(m_qmakespec).readLink();
- if (!rspec.isEmpty())
- m_qmakespec = QDir::cleanPath(QDir(m_qmakespec).absoluteFilePath(rspec));
- }
-# else
- // We can't resolve symlinks as they do on Unix, so configure.exe puts
- // the source of the qmake.conf at the end of the default/qmake.conf in
- // the QMAKESPEC_ORIGINAL variable.
- const ProString &orig_spec = first(ProKey("QMAKESPEC_ORIGINAL"));
- if (!orig_spec.isEmpty())
- m_qmakespec = orig_spec.toQString();
-# endif
-#endif
- valuesRef(ProKey("QMAKESPEC")) << ProString(m_qmakespec);
- m_qmakespecName = IoUtils::fileName(m_qmakespec).toString();
- if (evaluateFeatureFile(QLatin1String("spec_post.prf")) != ReturnTrue)
- return false;
- // The MinGW and x-build specs may change the separator; $$shell_{path,quote}() need it
- m_dirSep = first(ProKey("QMAKE_DIR_SEP"));
- return true;
-}
-
-bool QMakeEvaluator::loadSpec()
-{
- QString qmakespec = m_option->expandEnvVars(
- m_hostBuild ? m_option->qmakespec : m_option->xqmakespec);
-
- {
- QMakeEvaluator evaluator(m_option, m_parser, m_handler);
- if (!m_superfile.isEmpty()) {
- valuesRef(ProKey("_QMAKE_SUPER_CACHE_")) << ProString(m_superfile);
- if (evaluator.evaluateFile(
- m_superfile, QMakeHandler::EvalConfigFile, LoadProOnly) != ReturnTrue)
- return false;
- }
- if (!m_conffile.isEmpty()) {
- valuesRef(ProKey("_QMAKE_CONF_")) << ProString(m_conffile);
- if (evaluator.evaluateFile(
- m_conffile, QMakeHandler::EvalConfigFile, LoadProOnly) != ReturnTrue)
- return false;
- }
- if (!m_cachefile.isEmpty()) {
- valuesRef(ProKey("_QMAKE_CACHE_")) << ProString(m_cachefile);
- if (evaluator.evaluateFile(
- m_cachefile, QMakeHandler::EvalConfigFile, LoadProOnly) != ReturnTrue)
- return false;
- }
- if (qmakespec.isEmpty()) {
- if (!m_hostBuild)
- qmakespec = evaluator.first(ProKey("XQMAKESPEC")).toQString();
- if (qmakespec.isEmpty())
- qmakespec = evaluator.first(ProKey("QMAKESPEC")).toQString();
- }
- m_qmakepath = evaluator.values(ProKey("QMAKEPATH")).toQStringList();
- m_qmakefeatures = evaluator.values(ProKey("QMAKEFEATURES")).toQStringList();
- }
-
- updateMkspecPaths();
- if (qmakespec.isEmpty())
- qmakespec = propertyValue(ProKey(m_hostBuild ? "QMAKE_SPEC" : "QMAKE_XSPEC")).toQString();
-#ifndef QT_BUILD_QMAKE
- // Legacy support for Qt4 qmake in Qt Creator, etc.
- if (qmakespec.isEmpty())
- qmakespec = m_hostBuild ? QLatin1String("default-host") : QLatin1String("default");
-#endif
- if (IoUtils::isRelativePath(qmakespec)) {
- foreach (const QString &root, m_mkspecPaths) {
- QString mkspec = root + QLatin1Char('/') + qmakespec;
- if (IoUtils::exists(mkspec)) {
- qmakespec = mkspec;
- goto cool;
- }
- }
- evalError(fL1S("Could not find qmake configuration file %1.").arg(qmakespec));
- return false;
- }
- cool:
- m_qmakespec = QDir::cleanPath(qmakespec);
-
- if (!m_superfile.isEmpty()
- && evaluateFile(m_superfile, QMakeHandler::EvalConfigFile, LoadProOnly) != ReturnTrue) {
- return false;
- }
- if (!loadSpecInternal())
- return false;
- updateFeaturePaths(); // The spec extends the feature search path, so rebuild the cache.
- if (!m_conffile.isEmpty()
- && evaluateFile(m_conffile, QMakeHandler::EvalConfigFile, LoadProOnly) != ReturnTrue) {
- return false;
- }
- if (!m_cachefile.isEmpty()
- && evaluateFile(m_cachefile, QMakeHandler::EvalConfigFile, LoadProOnly) != ReturnTrue) {
- return false;
- }
- return true;
-}
-
-void QMakeEvaluator::setupProject()
-{
- setTemplate();
- ProValueMap &vars = m_valuemapStack.top();
- vars[ProKey("TARGET")] << ProString(QFileInfo(currentFileName()).baseName());
- vars[ProKey("_PRO_FILE_")] << ProString(currentFileName());
- vars[ProKey("_PRO_FILE_PWD_")] << ProString(currentDirectory());
- vars[ProKey("OUT_PWD")] << ProString(m_outputDir);
-}
-
-void QMakeEvaluator::evaluateCommand(const QString &cmds, const QString &where)
-{
- if (!cmds.isEmpty()) {
- if (ProFile *pro = m_parser->parsedProBlock(cmds, where, -1)) {
- if (pro->isOk()) {
- m_locationStack.push(m_current);
- visitProBlock(pro, pro->tokPtr());
- m_current = m_locationStack.pop();
- }
- pro->deref();
- }
- }
-}
-
-QMakeEvaluator::VisitReturn QMakeEvaluator::evaluateConfigFeatures()
-{
- QSet<QString> processed;
- forever {
- bool finished = true;
- ProStringList configs = values(statics.strCONFIG);
- for (int i = configs.size() - 1; i >= 0; --i) {
- QString config = configs.at(i).toQString(m_tmp1).toLower();
- if (!processed.contains(config)) {
- config.detach();
- processed.insert(config);
- VisitReturn vr = evaluateFeatureFile(config, true);
- if (vr == ReturnError)
- return vr;
- if (vr == ReturnTrue) {
- finished = false;
- break;
- }
- }
- }
- if (finished)
- break;
- }
- return ReturnTrue;
-}
-
-QMakeEvaluator::VisitReturn QMakeEvaluator::visitProFile(
- ProFile *pro, QMakeHandler::EvalFileType type, LoadFlags flags)
-{
- if (!m_cumulative && !pro->isOk())
- return ReturnFalse;
-
- if (flags & LoadPreFiles) {
- if (!prepareProject(pro->directoryName()))
- return ReturnFalse;
-
- m_hostBuild = pro->isHostBuild();
-
-#ifdef PROEVALUATOR_THREAD_SAFE
- m_option->mutex.lock();
-#endif
- QMakeBaseEnv **baseEnvPtr = &m_option->baseEnvs[QMakeBaseKey(m_buildRoot, m_hostBuild)];
- if (!*baseEnvPtr)
- *baseEnvPtr = new QMakeBaseEnv;
- QMakeBaseEnv *baseEnv = *baseEnvPtr;
-
-#ifdef PROEVALUATOR_THREAD_SAFE
- {
- QMutexLocker locker(&baseEnv->mutex);
- m_option->mutex.unlock();
- if (baseEnv->inProgress) {
- QThreadPool::globalInstance()->releaseThread();
- baseEnv->cond.wait(&baseEnv->mutex);
- QThreadPool::globalInstance()->reserveThread();
- if (!baseEnv->isOk)
- return ReturnFalse;
- } else
-#endif
- if (!baseEnv->evaluator) {
-#ifdef PROEVALUATOR_THREAD_SAFE
- baseEnv->inProgress = true;
- locker.unlock();
-#endif
-
- QMakeEvaluator *baseEval = new QMakeEvaluator(m_option, m_parser, m_handler);
- baseEnv->evaluator = baseEval;
- baseEval->m_superfile = m_superfile;
- baseEval->m_conffile = m_conffile;
- baseEval->m_cachefile = m_cachefile;
- baseEval->m_sourceRoot = m_sourceRoot;
- baseEval->m_buildRoot = m_buildRoot;
- baseEval->m_hostBuild = m_hostBuild;
- bool ok = baseEval->loadSpec();
-
-#ifdef PROEVALUATOR_THREAD_SAFE
- locker.relock();
- baseEnv->isOk = ok;
- baseEnv->inProgress = false;
- baseEnv->cond.wakeAll();
-#endif
-
- if (!ok)
- return ReturnFalse;
- }
-#ifdef PROEVALUATOR_THREAD_SAFE
- }
-#endif
-
- initFrom(*baseEnv->evaluator);
- } else {
- if (!m_valuemapInited)
- loadDefaults();
- }
-
-#ifdef QT_BUILD_QMAKE
- for (ProValueMap::ConstIterator it = m_extraVars.constBegin();
- it != m_extraVars.constEnd(); ++it)
- m_valuemapStack.first().insert(it.key(), it.value());
-#endif
-
- VisitReturn vr;
-
- m_handler->aboutToEval(currentProFile(), pro, type);
- m_profileStack.push(pro);
- valuesRef(ProKey("PWD")) = ProStringList(ProString(currentDirectory()));
- if (flags & LoadPreFiles) {
- setupProject();
-
- if ((vr = evaluateFeatureFile(QLatin1String("default_pre.prf"))) == ReturnError)
- goto failed;
-
- evaluateCommand(m_option->precmds, fL1S("(command line)"));
-
-#ifdef QT_BUILD_QMAKE
- // After user configs, to override them
- if (!m_extraConfigs.isEmpty())
- evaluateCommand("CONFIG += " + m_extraConfigs.join(' '), fL1S("(extra configs)"));
-#endif
- }
-
- debugMsg(1, "visiting file %s", qPrintable(pro->fileName()));
- if ((vr = visitProBlock(pro, pro->tokPtr())) == ReturnError)
- goto failed;
- debugMsg(1, "done visiting file %s", qPrintable(pro->fileName()));
-
- if (flags & LoadPostFiles) {
- evaluateCommand(m_option->postcmds, fL1S("(command line -after)"));
-
-#ifdef QT_BUILD_QMAKE
- // Again, to ensure the project does not mess with us.
- // Specifically, do not allow a project to override debug/release within a
- // debug_and_release build pass - it's too late for that at this point anyway.
- if (!m_extraConfigs.isEmpty())
- evaluateCommand("CONFIG += " + m_extraConfigs.join(' '), fL1S("(extra configs)"));
-#endif
-
- if ((vr = evaluateFeatureFile(QLatin1String("default_post.prf"))) == ReturnError)
- goto failed;
-
- if ((vr = evaluateConfigFeatures()) == ReturnError)
- goto failed;
- }
- vr = ReturnTrue;
- failed:
- m_profileStack.pop();
- valuesRef(ProKey("PWD")) = ProStringList(ProString(currentDirectory()));
- m_handler->doneWithEval(currentProFile());
-
- return vr;
-}
-
-
-void QMakeEvaluator::updateMkspecPaths()
-{
- QStringList ret;
- const QString concat = QLatin1String("/mkspecs");
-
- foreach (const QString &it, m_option->getPathListEnv(QLatin1String("QMAKEPATH")))
- ret << it + concat;
-
- foreach (const QString &it, m_qmakepath)
- ret << it + concat;
-
- if (!m_buildRoot.isEmpty())
- ret << m_buildRoot + concat;
- if (!m_sourceRoot.isEmpty())
- ret << m_sourceRoot + concat;
-
- ret << m_option->propertyValue(ProKey("QT_HOST_DATA/get")) + concat;
-
- ret.removeDuplicates();
- m_mkspecPaths = ret;
-}
-
-void QMakeEvaluator::updateFeaturePaths()
-{
- QString mkspecs_concat = QLatin1String("/mkspecs");
- QString features_concat = QLatin1String("/features/");
-
- QStringList feature_roots;
-
- foreach (const QString &f, m_option->getPathListEnv(QLatin1String("QMAKEFEATURES")))
- feature_roots += f;
-
- feature_roots += m_qmakefeatures;
-
- feature_roots += m_option->propertyValue(ProKey("QMAKEFEATURES")).toQString(m_mtmp).split(
- m_option->dirlist_sep, QString::SkipEmptyParts);
-
- QStringList feature_bases;
- if (!m_buildRoot.isEmpty())
- feature_bases << m_buildRoot;
- if (!m_sourceRoot.isEmpty())
- feature_bases << m_sourceRoot;
-
- foreach (const QString &item, m_option->getPathListEnv(QLatin1String("QMAKEPATH")))
- feature_bases << (item + mkspecs_concat);
-
- foreach (const QString &item, m_qmakepath)
- feature_bases << (item + mkspecs_concat);
-
- if (!m_qmakespec.isEmpty()) {
- // The spec is already platform-dependent, so no subdirs here.
- feature_roots << (m_qmakespec + features_concat);
-
- // Also check directly under the root directory of the mkspecs collection
- QDir specdir(m_qmakespec);
- while (!specdir.isRoot() && specdir.cdUp()) {
- const QString specpath = specdir.path();
- if (specpath.endsWith(mkspecs_concat)) {
- if (IoUtils::exists(specpath + features_concat))
- feature_bases << specpath;
- break;
- }
- }
- }
-
- feature_bases << (m_option->propertyValue(ProKey("QT_HOST_DATA/get")).toQString(m_mtmp)
- + mkspecs_concat);
-
- foreach (const QString &fb, feature_bases) {
- foreach (const ProString &sfx, values(ProKey("QMAKE_PLATFORM")))
- feature_roots << (fb + features_concat + sfx + QLatin1Char('/'));
- feature_roots << (fb + features_concat);
- }
-
- for (int i = 0; i < feature_roots.count(); ++i)
- if (!feature_roots.at(i).endsWith((ushort)'/'))
- feature_roots[i].append((ushort)'/');
-
- feature_roots.removeDuplicates();
-
- QStringList ret;
- foreach (const QString &root, feature_roots)
- if (IoUtils::exists(root))
- ret << root;
- m_featureRoots = ret;
-}
-
-ProString QMakeEvaluator::propertyValue(const ProKey &name) const
-{
- if (name == QLatin1String("QMAKE_MKSPECS"))
- return ProString(m_mkspecPaths.join(m_option->dirlist_sep));
- ProString ret = m_option->propertyValue(name);
-// if (ret.isNull())
-// evalError(fL1S("Querying unknown property %1").arg(name.toQString(m_mtmp)));
- return ret;
-}
-
-ProFile *QMakeEvaluator::currentProFile() const
-{
- if (m_profileStack.count() > 0)
- return m_profileStack.top();
- return 0;
-}
-
-QString QMakeEvaluator::currentFileName() const
-{
- ProFile *pro = currentProFile();
- if (pro)
- return pro->fileName();
- return QString();
-}
-
-QString QMakeEvaluator::currentDirectory() const
-{
- ProFile *pro = currentProFile();
- if (pro)
- return pro->directoryName();
- return QString();
-}
-
-bool QMakeEvaluator::isActiveConfig(const QString &config, bool regex)
-{
- // magic types for easy flipping
- if (config == statics.strtrue)
- return true;
- if (config == statics.strfalse)
- return false;
-
- if (config == statics.strhost_build)
- return m_hostBuild;
-
- if (regex && (config.contains(QLatin1Char('*')) || config.contains(QLatin1Char('?')))) {
- QString cfg = config;
- cfg.detach(); // Keep m_tmp out of QRegExp's cache
- QRegExp re(cfg, Qt::CaseSensitive, QRegExp::Wildcard);
-
- // mkspecs
- if (re.exactMatch(m_qmakespecName))
- return true;
-
- // CONFIG variable
- int t = 0;
- foreach (const ProString &configValue, values(statics.strCONFIG)) {
- if (re.exactMatch(configValue.toQString(m_tmp[t])))
- return true;
- t ^= 1;
- }
- } else {
- // mkspecs
- if (m_qmakespecName == config)
- return true;
-
- // CONFIG variable
- if (values(statics.strCONFIG).contains(ProString(config)))
- return true;
- }
-
- return false;
-}
-
-ProStringList QMakeEvaluator::expandVariableReferences(
- const ushort *&tokPtr, int sizeHint, bool joined)
-{
- ProStringList ret;
- ret.reserve(sizeHint);
- forever {
- evaluateExpression(tokPtr, &ret, joined);
- switch (*tokPtr) {
- case TokValueTerminator:
- case TokFuncTerminator:
- tokPtr++;
- return ret;
- case TokArgSeparator:
- if (joined) {
- tokPtr++;
- continue;
- }
- // fallthrough
- default:
- Q_ASSERT_X(false, "expandVariableReferences", "Unrecognized token");
- break;
- }
- }
-}
-
-QList<ProStringList> QMakeEvaluator::prepareFunctionArgs(const ushort *&tokPtr)
-{
- QList<ProStringList> args_list;
- if (*tokPtr != TokFuncTerminator) {
- for (;; tokPtr++) {
- ProStringList arg;
- evaluateExpression(tokPtr, &arg, false);
- args_list << arg;
- if (*tokPtr == TokFuncTerminator)
- break;
- Q_ASSERT(*tokPtr == TokArgSeparator);
- }
- }
- tokPtr++;
- return args_list;
-}
-
-ProStringList QMakeEvaluator::evaluateFunction(
- const ProFunctionDef &func, const QList<ProStringList> &argumentsList, VisitReturn *ok)
-{
- VisitReturn vr;
- ProStringList ret;
-
- if (m_valuemapStack.count() >= 100) {
- evalError(fL1S("Ran into infinite recursion (depth > 100)."));
- vr = ReturnFalse;
- } else {
- m_valuemapStack.push(ProValueMap());
- m_locationStack.push(m_current);
-
- ProStringList args;
- for (int i = 0; i < argumentsList.count(); ++i) {
- args += argumentsList[i];
- m_valuemapStack.top()[ProKey(QString::number(i+1))] = argumentsList[i];
- }
- m_valuemapStack.top()[statics.strARGS] = args;
- vr = visitProBlock(func.pro(), func.tokPtr());
- if (vr == ReturnReturn)
- vr = ReturnTrue;
- ret = m_returnValue;
- m_returnValue.clear();
-
- m_current = m_locationStack.pop();
- m_valuemapStack.pop();
- }
- if (ok)
- *ok = vr;
- if (vr == ReturnTrue)
- return ret;
- return ProStringList();
-}
-
-QMakeEvaluator::VisitReturn QMakeEvaluator::evaluateBoolFunction(
- const ProFunctionDef &func, const QList<ProStringList> &argumentsList,
- const ProString &function)
-{
- VisitReturn vr;
- ProStringList ret = evaluateFunction(func, argumentsList, &vr);
- if (vr == ReturnTrue) {
- if (ret.isEmpty())
- return ReturnTrue;
- if (ret.at(0) != statics.strfalse) {
- if (ret.at(0) == statics.strtrue)
- return ReturnTrue;
- bool ok;
- int val = ret.at(0).toQString(m_tmp1).toInt(&ok);
- if (ok) {
- if (val)
- return ReturnTrue;
- } else {
- evalError(fL1S("Unexpected return value from test '%1': %2.")
- .arg(function.toQString(m_tmp1))
- .arg(ret.join(QLatin1String(" :: "))));
- }
- }
- return ReturnFalse;
- }
- return vr;
-}
-
-QMakeEvaluator::VisitReturn QMakeEvaluator::evaluateConditionalFunction(
- const ProKey &func, const ushort *&tokPtr)
-{
- if (int func_t = statics.functions.value(func)) {
- //why don't the builtin functions just use args_list? --Sam
- return evaluateBuiltinConditional(func_t, func, expandVariableReferences(tokPtr, 5, true));
- }
-
- QHash<ProKey, ProFunctionDef>::ConstIterator it =
- m_functionDefs.testFunctions.constFind(func);
- if (it != m_functionDefs.testFunctions.constEnd()) {
- const QList<ProStringList> args = prepareFunctionArgs(tokPtr);
- traceMsg("calling %s(%s)", dbgKey(func), dbgStrListList(args));
- return evaluateBoolFunction(*it, args, func);
- }
-
- skipExpression(tokPtr);
- evalError(fL1S("'%1' is not a recognized test function.").arg(func.toQString(m_tmp1)));
- return ReturnFalse;
-}
-
-ProStringList QMakeEvaluator::evaluateExpandFunction(
- const ProKey &func, const ushort *&tokPtr)
-{
- if (int func_t = statics.expands.value(func)) {
- //why don't the builtin functions just use args_list? --Sam
- return evaluateBuiltinExpand(func_t, func, expandVariableReferences(tokPtr, 5, true));
- }
-
- QHash<ProKey, ProFunctionDef>::ConstIterator it =
- m_functionDefs.replaceFunctions.constFind(func);
- if (it != m_functionDefs.replaceFunctions.constEnd()) {
- const QList<ProStringList> args = prepareFunctionArgs(tokPtr);
- traceMsg("calling $$%s(%s)", dbgKey(func), dbgStrListList(args));
- return evaluateFunction(*it, args, 0);
- }
-
- skipExpression(tokPtr);
- evalError(fL1S("'%1' is not a recognized replace function.").arg(func.toQString(m_tmp1)));
- return ProStringList();
-}
-
-bool QMakeEvaluator::evaluateConditional(const QString &cond, const QString &where, int line)
-{
- bool ret = false;
- ProFile *pro = m_parser->parsedProBlock(cond, where, line, QMakeParser::TestGrammar);
- if (pro) {
- if (pro->isOk()) {
- m_locationStack.push(m_current);
- ret = visitProBlock(pro, pro->tokPtr()) == ReturnTrue;
- m_current = m_locationStack.pop();
- }
- pro->deref();
- }
- return ret;
-}
-
-#ifdef PROEVALUATOR_FULL
-void QMakeEvaluator::checkRequirements(const ProStringList &deps)
-{
- ProStringList &failed = valuesRef(ProKey("QMAKE_FAILED_REQUIREMENTS"));
- foreach (const ProString &dep, deps)
- if (!evaluateConditional(dep.toQString(), m_current.pro->fileName(), m_current.line))
- failed << dep;
-}
-#endif
-
-ProValueMap *QMakeEvaluator::findValues(const ProKey &variableName, ProValueMap::Iterator *rit)
-{
- ProValueMapStack::Iterator vmi = m_valuemapStack.end();
- do {
- --vmi;
- ProValueMap::Iterator it = (*vmi).find(variableName);
- if (it != (*vmi).end()) {
- if (it->constBegin() == statics.fakeValue.constBegin())
- return 0;
- *rit = it;
- return &(*vmi);
- }
- } while (vmi != m_valuemapStack.begin());
- return 0;
-}
-
-ProStringList &QMakeEvaluator::valuesRef(const ProKey &variableName)
-{
- ProValueMap::Iterator it = m_valuemapStack.top().find(variableName);
- if (it != m_valuemapStack.top().end()) {
- if (it->constBegin() == statics.fakeValue.constBegin())
- it->clear();
- return *it;
- }
- ProValueMapStack::Iterator vmi = m_valuemapStack.end();
- if (--vmi != m_valuemapStack.begin()) {
- do {
- --vmi;
- ProValueMap::ConstIterator it = (*vmi).constFind(variableName);
- if (it != (*vmi).constEnd()) {
- ProStringList &ret = m_valuemapStack.top()[variableName];
- if (it->constBegin() != statics.fakeValue.constBegin())
- ret = *it;
- return ret;
- }
- } while (vmi != m_valuemapStack.begin());
- }
- return m_valuemapStack.top()[variableName];
-}
-
-ProStringList QMakeEvaluator::values(const ProKey &variableName) const
-{
- ProValueMapStack::ConstIterator vmi = m_valuemapStack.constEnd();
- do {
- --vmi;
- ProValueMap::ConstIterator it = (*vmi).constFind(variableName);
- if (it != (*vmi).constEnd()) {
- if (it->constBegin() == statics.fakeValue.constBegin())
- break;
- return *it;
- }
- } while (vmi != m_valuemapStack.constBegin());
- return ProStringList();
-}
-
-ProString QMakeEvaluator::first(const ProKey &variableName) const
-{
- const ProStringList &vals = values(variableName);
- if (!vals.isEmpty())
- return vals.first();
- return ProString();
-}
-
-QMakeEvaluator::VisitReturn QMakeEvaluator::evaluateFile(
- const QString &fileName, QMakeHandler::EvalFileType type, LoadFlags flags)
-{
- if (ProFile *pro = m_parser->parsedProFile(fileName, true)) {
- m_locationStack.push(m_current);
- VisitReturn ok = visitProFile(pro, type, flags);
- m_current = m_locationStack.pop();
- pro->deref();
-#ifdef PROEVALUATOR_FULL
- if (ok == ReturnTrue) {
- ProStringList &iif = m_valuemapStack.first()[ProKey("QMAKE_INTERNAL_INCLUDED_FILES")];
- ProString ifn(fileName);
- if (!iif.contains(ifn))
- iif << ifn;
- }
-#endif
- return ok;
- } else {
- if (!(flags & LoadSilent) && !IoUtils::exists(fileName))
- evalError(fL1S("WARNING: Include file %1 not found").arg(fileName));
- return ReturnFalse;
- }
-}
-
-QMakeEvaluator::VisitReturn QMakeEvaluator::evaluateFileChecked(
- const QString &fileName, QMakeHandler::EvalFileType type, LoadFlags flags)
-{
- if (fileName.isEmpty())
- return ReturnFalse;
- QMakeEvaluator *ref = this;
- do {
- foreach (const ProFile *pf, ref->m_profileStack)
- if (pf->fileName() == fileName) {
- evalError(fL1S("Circular inclusion of %1.").arg(fileName));
- return ReturnFalse;
- }
- } while ((ref = ref->m_caller));
- return evaluateFile(fileName, type, flags);
-}
-
-QMakeEvaluator::VisitReturn QMakeEvaluator::evaluateFeatureFile(
- const QString &fileName, bool silent)
-{
- QString fn = fileName;
- if (!fn.endsWith(QLatin1String(".prf")))
- fn += QLatin1String(".prf");
-
- if (m_featureRoots.isEmpty())
- updateFeaturePaths();
- int start_root = 0;
- QString currFn = currentFileName();
- if (IoUtils::fileName(currFn) == IoUtils::fileName(fn)) {
- for (int root = 0; root < m_featureRoots.size(); ++root)
- if (currFn == m_featureRoots.at(root) + fn) {
- start_root = root + 1;
- break;
- }
- }
- for (int root = start_root; root < m_featureRoots.size(); ++root) {
- QString fname = m_featureRoots.at(root) + fn;
- if (IoUtils::exists(fname)) {
- fn = fname;
- goto cool;
- }
- }
-#ifdef QMAKE_BUILTIN_PRFS
- fn.prepend(QLatin1String(":/qmake/features/"));
- if (QFileInfo(fn).exists())
- goto cool;
-#endif
- if (!silent)
- evalError(fL1S("Cannot find feature %1").arg(fileName));
- return ReturnFalse;
-
- cool:
- ProStringList &already = valuesRef(ProKey("QMAKE_INTERNAL_INCLUDED_FEATURES"));
- ProString afn(fn);
- if (already.contains(afn)) {
- if (!silent)
- languageWarning(fL1S("Feature %1 already included").arg(fileName));
- return ReturnTrue;
- }
- already.append(afn);
-
-#ifdef PROEVALUATOR_CUMULATIVE
- bool cumulative = m_cumulative;
- m_cumulative = false;
-#endif
-
- // The path is fully normalized already.
- VisitReturn ok = evaluateFile(fn, QMakeHandler::EvalFeatureFile, LoadProOnly);
-
-#ifdef PROEVALUATOR_CUMULATIVE
- m_cumulative = cumulative;
-#endif
- return ok;
-}
-
-QMakeEvaluator::VisitReturn QMakeEvaluator::evaluateFileInto(
- const QString &fileName, ProValueMap *values, LoadFlags flags)
-{
- QMakeEvaluator visitor(m_option, m_parser, m_handler);
- visitor.m_caller = this;
- visitor.m_outputDir = m_outputDir;
- visitor.m_featureRoots = m_featureRoots;
- VisitReturn ret = visitor.evaluateFileChecked(fileName, QMakeHandler::EvalAuxFile, flags);
- if (ret != ReturnTrue)
- return ret;
- *values = visitor.m_valuemapStack.top();
-#ifdef PROEVALUATOR_FULL
- ProKey qiif("QMAKE_INTERNAL_INCLUDED_FILES");
- ProStringList &iif = m_valuemapStack.first()[qiif];
- foreach (const ProString &ifn, values->value(qiif))
- if (!iif.contains(ifn))
- iif << ifn;
-#endif
- return ReturnTrue;
-}
-
-void QMakeEvaluator::message(int type, const QString &msg) const
-{
- if (!m_skipLevel)
- m_handler->message(type, msg,
- m_current.line ? m_current.pro->fileName() : QString(),
- m_current.line != 0xffff ? m_current.line : -1);
-}
-
-#ifdef PROEVALUATOR_DEBUG
-void QMakeEvaluator::debugMsgInternal(int level, const char *fmt, ...) const
-{
- va_list ap;
-
- if (level <= m_debugLevel) {
- fprintf(stderr, "DEBUG %d: ", level);
- va_start(ap, fmt);
- vfprintf(stderr, fmt, ap);
- va_end(ap);
- fputc('\n', stderr);
- }
-}
-
-void QMakeEvaluator::traceMsgInternal(const char *fmt, ...) const
-{
- va_list ap;
-
- if (!m_current.pro)
- fprintf(stderr, "DEBUG 1: ");
- else if (m_current.line <= 0)
- fprintf(stderr, "DEBUG 1: %s: ", qPrintable(m_current.pro->fileName()));
- else
- fprintf(stderr, "DEBUG 1: %s:%d: ", qPrintable(m_current.pro->fileName()), m_current.line);
- va_start(ap, fmt);
- vfprintf(stderr, fmt, ap);
- va_end(ap);
- fputc('\n', stderr);
-}
-
-QString QMakeEvaluator::formatValue(const ProString &val, bool forceQuote)
-{
- QString ret;
- ret.reserve(val.size() + 2);
- const QChar *chars = val.constData();
- bool quote = forceQuote || val.isEmpty();
- for (int i = 0, l = val.size(); i < l; i++) {
- QChar c = chars[i];
- ushort uc = c.unicode();
- if (uc < 32) {
- switch (uc) {
- case '\r':
- ret += QLatin1String("\\r");
- break;
- case '\n':
- ret += QLatin1String("\\n");
- break;
- case '\t':
- ret += QLatin1String("\\t");
- break;
- default:
- ret += QString::fromLatin1("\\x%1").arg(uc, 2, 16, QLatin1Char('0'));
- break;
- }
- } else {
- switch (uc) {
- case '\\':
- ret += QLatin1String("\\\\");
- break;
- case '"':
- ret += QLatin1String("\\\"");
- break;
- case '\'':
- ret += QLatin1String("\\'");
- break;
- case 32:
- quote = true;
- // fallthrough
- default:
- ret += c;
- break;
- }
- }
- }
- if (quote) {
- ret.prepend(QLatin1Char('"'));
- ret.append(QLatin1Char('"'));
- }
- return ret;
-}
-
-QString QMakeEvaluator::formatValueList(const ProStringList &vals, bool commas)
-{
- QString ret;
-
- foreach (const ProString &str, vals) {
- if (!ret.isEmpty()) {
- if (commas)
- ret += QLatin1Char(',');
- ret += QLatin1Char(' ');
- }
- ret += formatValue(str);
- }
- return ret;
-}
-
-QString QMakeEvaluator::formatValueListList(const QList<ProStringList> &lists)
-{
- QString ret;
-
- foreach (const ProStringList &list, lists) {
- if (!ret.isEmpty())
- ret += QLatin1String(", ");
- ret += formatValueList(list);
- }
- return ret;
-}
-#endif
-
-QT_END_NAMESPACE
diff --git a/tools/qmakefilereader/evaluator/qmakeevaluator.h b/tools/qmakefilereader/evaluator/qmakeevaluator.h
deleted file mode 100644
index 57d99a39..00000000
--- a/tools/qmakefilereader/evaluator/qmakeevaluator.h
+++ /dev/null
@@ -1,294 +0,0 @@
-/****************************************************************************
-**
-** Copyright (C) 2016 The Qt Company Ltd.
-** Contact: https://www.qt.io/licensing/
-**
-** This file is part of the Qt VS Add-in.
-**
-** $QT_BEGIN_LICENSE:GPL-EXCEPT$
-** Commercial License Usage
-** Licensees holding valid commercial Qt licenses may use this file in
-** accordance with the commercial license agreement provided with the
-** Software or, alternatively, in accordance with the terms contained in
-** a written agreement between you and The Qt Company. For licensing terms
-** and conditions see https://www.qt.io/terms-conditions. For further
-** information use the contact form at https://www.qt.io/contact-us.
-**
-** GNU General Public License Usage
-** Alternatively, this file may be used under the terms of the GNU
-** General Public License version 3 as published by the Free Software
-** Foundation with exceptions as appearing in the file LICENSE.GPL3-EXCEPT
-** included in the packaging of this file. Please review the following
-** information to ensure the GNU General Public License requirements will
-** be met: https://www.gnu.org/licenses/gpl-3.0.html.
-**
-** $QT_END_LICENSE$
-**
-****************************************************************************/
-
-#ifndef QMAKEEVALUATOR_H
-#define QMAKEEVALUATOR_H
-
-#if defined(PROEVALUATOR_FULL) && defined(PROEVALUATOR_THREAD_SAFE)
-# error PROEVALUATOR_FULL is incompatible with PROEVALUATOR_THREAD_SAFE due to cache() implementation
-#endif
-
-#include "qmakeparser.h"
-#include "ioutils.h"
-
-#include <qlist.h>
-#include <qlinkedlist.h>
-#include <qset.h>
-#include <qstack.h>
-#include <qstring.h>
-#include <qstringlist.h>
-#ifndef QT_BOOTSTRAPPED
-# include <qprocess.h>
-#endif
-
-QT_BEGIN_NAMESPACE
-
-class QMakeGlobals;
-
-class QMAKE_EXPORT QMakeHandler : public QMakeParserHandler
-{
-public:
- enum {
- SourceEvaluator = 0x10,
-
- EvalWarnLanguage = SourceEvaluator | WarningMessage | WarnLanguage,
- EvalWarnDeprecated = SourceEvaluator | WarningMessage | WarnDeprecated,
-
- EvalError = ErrorMessage | SourceEvaluator
- };
-
- // error(), warning() and message() from .pro file
- virtual void fileMessage(const QString &msg) = 0;
-
- enum EvalFileType { EvalProjectFile, EvalIncludeFile, EvalConfigFile, EvalFeatureFile, EvalAuxFile };
- virtual void aboutToEval(ProFile *parent, ProFile *proFile, EvalFileType type) = 0;
- virtual void doneWithEval(ProFile *parent) = 0;
-};
-
-// We use a QLinkedList based stack instead of a QVector based one (QStack), so that
-// the addresses of value maps stay constant. The qmake generators rely on that.
-class QMAKE_EXPORT ProValueMapStack : public QLinkedList<ProValueMap>
-{
-public:
- inline void push(const ProValueMap &t) { append(t); }
- inline ProValueMap pop() { return takeLast(); }
- ProValueMap &top() { return last(); }
- const ProValueMap &top() const { return last(); }
-};
-
-class QMAKE_EXPORT QMakeEvaluator
-{
-public:
- enum LoadFlag {
- LoadProOnly = 0,
- LoadPreFiles = 1,
- LoadPostFiles = 2,
- LoadAll = LoadPreFiles|LoadPostFiles,
- LoadSilent = 0x10
- };
- Q_DECLARE_FLAGS(LoadFlags, LoadFlag)
-
- static void initStatics();
- static void initFunctionStatics();
- QMakeEvaluator(QMakeGlobals *option, QMakeParser *parser,
- QMakeHandler *handler);
- ~QMakeEvaluator();
-
-#ifdef QT_BUILD_QMAKE
- void setExtraVars(const ProValueMap &extraVars) { m_extraVars = extraVars; }
- void setExtraConfigs(const ProStringList &extraConfigs) { m_extraConfigs = extraConfigs; }
-#endif
- void setOutputDir(const QString &outputDir) { m_outputDir = outputDir; }
-
- ProStringList values(const ProKey &variableName) const;
- ProStringList &valuesRef(const ProKey &variableName);
- ProString first(const ProKey &variableName) const;
- ProString propertyValue(const ProKey &val) const;
-
- ProString dirSep() const { return m_dirSep; }
- bool isHostBuild() const { return m_hostBuild; }
-
- enum VisitReturn {
- ReturnFalse,
- ReturnTrue,
- ReturnError,
- ReturnBreak,
- ReturnNext,
- ReturnReturn
- };
-
- static ALWAYS_INLINE VisitReturn returnBool(bool b)
- { return b ? ReturnTrue : ReturnFalse; }
-
- static ALWAYS_INLINE uint getBlockLen(const ushort *&tokPtr);
- ProString getStr(const ushort *&tokPtr);
- ProKey getHashStr(const ushort *&tokPtr);
- void evaluateExpression(const ushort *&tokPtr, ProStringList *ret, bool joined);
- static ALWAYS_INLINE void skipStr(const ushort *&tokPtr);
- static ALWAYS_INLINE void skipHashStr(const ushort *&tokPtr);
- void skipExpression(const ushort *&tokPtr);
-
- void loadDefaults();
- bool prepareProject(const QString &inDir);
- bool loadSpecInternal();
- bool loadSpec();
- void initFrom(const QMakeEvaluator &other);
- void setupProject();
- void evaluateCommand(const QString &cmds, const QString &where);
- VisitReturn visitProFile(ProFile *pro, QMakeHandler::EvalFileType type,
- LoadFlags flags);
- VisitReturn visitProBlock(ProFile *pro, const ushort *tokPtr);
- VisitReturn visitProBlock(const ushort *tokPtr);
- VisitReturn visitProLoop(const ProKey &variable, const ushort *exprPtr,
- const ushort *tokPtr);
- void visitProFunctionDef(ushort tok, const ProKey &name, const ushort *tokPtr);
- void visitProVariable(ushort tok, const ProStringList &curr, const ushort *&tokPtr);
-
- ALWAYS_INLINE const ProKey &map(const ProString &var) { return map(var.toKey()); }
- const ProKey &map(const ProKey &var);
- ProValueMap *findValues(const ProKey &variableName, ProValueMap::Iterator *it);
-
- void setTemplate();
-
- ProStringList split_value_list(const QString &vals, const ProFile *source = 0);
- ProStringList expandVariableReferences(const ProString &value, int *pos = 0, bool joined = false);
- ProStringList expandVariableReferences(const ushort *&tokPtr, int sizeHint = 0, bool joined = false);
-
- QString currentFileName() const;
- QString currentDirectory() const;
- ProFile *currentProFile() const;
- QString resolvePath(const QString &fileName) const
- { return QMakeInternal::IoUtils::resolvePath(currentDirectory(), fileName); }
-
- VisitReturn evaluateFile(const QString &fileName, QMakeHandler::EvalFileType type,
- LoadFlags flags);
- VisitReturn evaluateFileChecked(const QString &fileName, QMakeHandler::EvalFileType type,
- LoadFlags flags);
- VisitReturn evaluateFeatureFile(const QString &fileName, bool silent = false);
- VisitReturn evaluateFileInto(const QString &fileName,
- ProValueMap *values, // output-only
- LoadFlags flags);
- VisitReturn evaluateConfigFeatures();
- void message(int type, const QString &msg) const;
- void evalError(const QString &msg) const
- { message(QMakeHandler::EvalError, msg); }
- void languageWarning(const QString &msg) const
- { message(QMakeHandler::EvalWarnLanguage, msg); }
- void deprecationWarning(const QString &msg) const
- { message(QMakeHandler::EvalWarnDeprecated, msg); }
-
- QList<ProStringList> prepareFunctionArgs(const ushort *&tokPtr);
- ProStringList evaluateFunction(const ProFunctionDef &func,
- const QList<ProStringList> &argumentsList, VisitReturn *ok);
- VisitReturn evaluateBoolFunction(const ProFunctionDef &func,
- const QList<ProStringList> &argumentsList,
- const ProString &function);
-
- ProStringList evaluateExpandFunction(const ProKey &function, const ushort *&tokPtr);
- VisitReturn evaluateConditionalFunction(const ProKey &function, const ushort *&tokPtr);
-
- ProStringList evaluateBuiltinExpand(int func_t, const ProKey &function, const ProStringList &args);
- VisitReturn evaluateBuiltinConditional(int func_t, const ProKey &function, const ProStringList &args);
-
- bool evaluateConditional(const QString &cond, const QString &where, int line = -1);
-#ifdef PROEVALUATOR_FULL
- void checkRequirements(const ProStringList &deps);
-#endif
-
- void updateMkspecPaths();
- void updateFeaturePaths();
-
- bool isActiveConfig(const QString &config, bool regex = false);
-
- void populateDeps(
- const ProStringList &deps, const ProString &prefix,
- QHash<ProKey, QSet<ProKey> > &dependencies,
- ProValueMap &dependees, ProStringList &rootSet) const;
-
- VisitReturn writeFile(const QString &ctx, const QString &fn, QIODevice::OpenMode mode,
- const QString &contents);
-#ifndef QT_BOOTSTRAPPED
- void runProcess(QProcess *proc, const QString &command) const;
-#endif
- QByteArray getCommandOutput(const QString &args) const;
-
- static void removeEach(ProStringList *varlist, const ProStringList &value);
-
- QMakeEvaluator *m_caller;
-#ifdef PROEVALUATOR_CUMULATIVE
- bool m_cumulative;
- int m_skipLevel;
-#else
- enum { m_cumulative = 0 };
- enum { m_skipLevel = 0 };
-#endif
-
-#ifdef PROEVALUATOR_DEBUG
- void debugMsgInternal(int level, const char *fmt, ...) const;
- void traceMsgInternal(const char *fmt, ...) const;
- static QString formatValue(const ProString &val, bool forceQuote = false);
- static QString formatValueList(const ProStringList &vals, bool commas = false);
- static QString formatValueListList(const QList<ProStringList> &vals);
-
- const int m_debugLevel;
-#else
- ALWAYS_INLINE void debugMsgInternal(int, const char *, ...) const {}
- ALWAYS_INLINE void traceMsgInternal(const char *, ...) const {}
-
- enum { m_debugLevel = 0 };
-#endif
-
- struct Location {
- Location() : pro(0), line(0) {}
- Location(ProFile *_pro, ushort _line) : pro(_pro), line(_line) {}
- void clear() { pro = 0; line = 0; }
- ProFile *pro;
- ushort line;
- };
-
- Location m_current; // Currently evaluated location
- QStack<Location> m_locationStack; // All execution location changes
- QStack<ProFile *> m_profileStack; // Includes only
-
-#ifdef QT_BUILD_QMAKE
- ProValueMap m_extraVars;
- ProStringList m_extraConfigs;
-#endif
- QString m_outputDir;
-
- int m_listCount;
- bool m_valuemapInited;
- bool m_hostBuild;
- QString m_qmakespec;
- QString m_qmakespecName;
- QString m_superfile;
- QString m_conffile;
- QString m_cachefile;
- QString m_sourceRoot;
- QString m_buildRoot;
- QStringList m_qmakepath;
- QStringList m_qmakefeatures;
- QStringList m_mkspecPaths;
- QStringList m_featureRoots;
- ProString m_dirSep;
- ProFunctionDefs m_functionDefs;
- ProStringList m_returnValue;
- ProValueMapStack m_valuemapStack; // VariableName must be us-ascii, the content however can be non-us-ascii.
- QString m_tmp1, m_tmp2, m_tmp3, m_tmp[2]; // Temporaries for efficient toQString
- mutable QString m_mtmp;
-
- QMakeGlobals *m_option;
- QMakeParser *m_parser;
- QMakeHandler *m_handler;
-};
-
-Q_DECLARE_OPERATORS_FOR_FLAGS(QMakeEvaluator::LoadFlags)
-
-QT_END_NAMESPACE
-
-#endif // QMAKEEVALUATOR_H
diff --git a/tools/qmakefilereader/evaluator/qmakeevaluator_p.h b/tools/qmakefilereader/evaluator/qmakeevaluator_p.h
deleted file mode 100644
index 762257fb..00000000
--- a/tools/qmakefilereader/evaluator/qmakeevaluator_p.h
+++ /dev/null
@@ -1,94 +0,0 @@
-/****************************************************************************
-**
-** Copyright (C) 2016 The Qt Company Ltd.
-** Contact: https://www.qt.io/licensing/
-**
-** This file is part of the Qt VS Add-in.
-**
-** $QT_BEGIN_LICENSE:GPL-EXCEPT$
-** Commercial License Usage
-** Licensees holding valid commercial Qt licenses may use this file in
-** accordance with the commercial license agreement provided with the
-** Software or, alternatively, in accordance with the terms contained in
-** a written agreement between you and The Qt Company. For licensing terms
-** and conditions see https://www.qt.io/terms-conditions. For further
-** information use the contact form at https://www.qt.io/contact-us.
-**
-** GNU General Public License Usage
-** Alternatively, this file may be used under the terms of the GNU
-** General Public License version 3 as published by the Free Software
-** Foundation with exceptions as appearing in the file LICENSE.GPL3-EXCEPT
-** included in the packaging of this file. Please review the following
-** information to ensure the GNU General Public License requirements will
-** be met: https://www.gnu.org/licenses/gpl-3.0.html.
-**
-** $QT_END_LICENSE$
-**
-****************************************************************************/
-
-#ifndef QMAKEEVALUATOR_P_H
-#define QMAKEEVALUATOR_P_H
-
-#include "proitems.h"
-
-#include <qregexp.h>
-
-#define debugMsg if (!m_debugLevel) {} else debugMsgInternal
-#define traceMsg if (!m_debugLevel) {} else traceMsgInternal
-#ifdef PROEVALUATOR_DEBUG
-# define dbgBool(b) (b ? "true" : "false")
-# define dbgReturn(r) \
- (r == ReturnError ? "error" : \
- r == ReturnBreak ? "break" : \
- r == ReturnNext ? "next" : \
- r == ReturnReturn ? "return" : \
- "<invalid>")
-# define dbgKey(s) qPrintable(s.toString().toQString())
-# define dbgStr(s) qPrintable(formatValue(s, true))
-# define dbgStrList(s) qPrintable(formatValueList(s))
-# define dbgSepStrList(s) qPrintable(formatValueList(s, true))
-# define dbgStrListList(s) qPrintable(formatValueListList(s))
-# define dbgQStr(s) dbgStr(ProString(s))
-#else
-# define dbgBool(b) 0
-# define dbgReturn(r) 0
-# define dbgKey(s) 0
-# define dbgStr(s) 0
-# define dbgStrList(s) 0
-# define dbgSepStrList(s) 0
-# define dbgStrListList(s) 0
-# define dbgQStr(s) 0
-#endif
-
-QT_BEGIN_NAMESPACE
-
-namespace QMakeInternal {
-
-struct QMakeStatics {
- QString field_sep;
- QString strtrue;
- QString strfalse;
- ProKey strCONFIG;
- ProKey strARGS;
- QString strDot;
- QString strDotDot;
- QString strever;
- QString strforever;
- QString strhost_build;
- ProKey strTEMPLATE;
-#ifdef PROEVALUATOR_FULL
- ProKey strREQUIRES;
-#endif
- QHash<ProKey, int> expands;
- QHash<ProKey, int> functions;
- QHash<ProKey, ProKey> varMap;
- ProStringList fakeValue;
-};
-
-extern QMakeStatics statics;
-
-}
-
-QT_END_NAMESPACE
-
-#endif // QMAKEEVALUATOR_P_H
diff --git a/tools/qmakefilereader/evaluator/qmakeglobals.cpp b/tools/qmakefilereader/evaluator/qmakeglobals.cpp
deleted file mode 100644
index 90c76e68..00000000
--- a/tools/qmakefilereader/evaluator/qmakeglobals.cpp
+++ /dev/null
@@ -1,355 +0,0 @@
-/****************************************************************************
-**
-** Copyright (C) 2016 The Qt Company Ltd.
-** Contact: https://www.qt.io/licensing/
-**
-** This file is part of the Qt VS Add-in.
-**
-** $QT_BEGIN_LICENSE:GPL-EXCEPT$
-** Commercial License Usage
-** Licensees holding valid commercial Qt licenses may use this file in
-** accordance with the commercial license agreement provided with the
-** Software or, alternatively, in accordance with the terms contained in
-** a written agreement between you and The Qt Company. For licensing terms
-** and conditions see https://www.qt.io/terms-conditions. For further
-** information use the contact form at https://www.qt.io/contact-us.
-**
-** GNU General Public License Usage
-** Alternatively, this file may be used under the terms of the GNU
-** General Public License version 3 as published by the Free Software
-** Foundation with exceptions as appearing in the file LICENSE.GPL3-EXCEPT
-** included in the packaging of this file. Please review the following
-** information to ensure the GNU General Public License requirements will
-** be met: https://www.gnu.org/licenses/gpl-3.0.html.
-**
-** $QT_END_LICENSE$
-**
-****************************************************************************/
-
-#include "qmakeglobals.h"
-
-#include "qmakeevaluator.h"
-#include "ioutils.h"
-
-#include <qbytearray.h>
-#include <qdatetime.h>
-#include <qdebug.h>
-#include <qdir.h>
-#include <qfile.h>
-#include <qfileinfo.h>
-#include <qlist.h>
-#include <qregexp.h>
-#include <qset.h>
-#include <qstack.h>
-#include <qstring.h>
-#include <qstringlist.h>
-#include <qtextstream.h>
-#ifdef PROEVALUATOR_THREAD_SAFE
-# include <qthreadpool.h>
-#endif
-
-#ifdef Q_OS_UNIX
-#include <unistd.h>
-#include <sys/utsname.h>
-#else
-#include <windows.h>
-#endif
-#include <stdio.h>
-#include <stdlib.h>
-
-#ifdef Q_OS_WIN32
-#define QT_POPEN _popen
-#define QT_PCLOSE _pclose
-#else
-#define QT_POPEN popen
-#define QT_PCLOSE pclose
-#endif
-
-QT_BEGIN_NAMESPACE
-
-#define fL1S(s) QString::fromLatin1(s)
-
-namespace { // MSVC doesn't seem to know the semantics of "static" ...
-
-static struct {
- QRegExp reg_variableName;
-} statics;
-
-}
-
-static void initStatics()
-{
- if (!statics.reg_variableName.isEmpty())
- return;
-
- statics.reg_variableName.setPattern(QLatin1String("\\$\\(.*\\)"));
- statics.reg_variableName.setMinimal(true);
-}
-
-QMakeGlobals::QMakeGlobals()
-{
- initStatics();
-
- do_cache = true;
-
-#ifdef PROEVALUATOR_DEBUG
- debugLevel = 0;
-#endif
-#ifdef Q_OS_WIN
- dirlist_sep = QLatin1Char(';');
- dir_sep = QLatin1Char('\\');
-#else
- dirlist_sep = QLatin1Char(':');
- dir_sep = QLatin1Char('/');
-#endif
- qmakespec = getEnv(QLatin1String("QMAKESPEC"));
-}
-
-QMakeGlobals::~QMakeGlobals()
-{
- qDeleteAll(baseEnvs);
-}
-
-QString QMakeGlobals::cleanSpec(QMakeCmdLineParserState &state, const QString &spec)
-{
- QString ret = QDir::cleanPath(spec);
- if (ret.contains(QLatin1Char('/'))) {
- QString absRet = QDir(state.pwd).absoluteFilePath(ret);
- if (QFile::exists(absRet))
- ret = QDir::cleanPath(absRet);
- }
- return ret;
-}
-
-QMakeGlobals::ArgumentReturn QMakeGlobals::addCommandLineArguments(
- QMakeCmdLineParserState &state, QStringList &args, int *pos)
-{
- enum { ArgNone, ArgConfig, ArgSpec, ArgXSpec, ArgTmpl, ArgTmplPfx, ArgCache } argState = ArgNone;
- for (; *pos < args.count(); (*pos)++) {
- QString arg = args.at(*pos);
- switch (argState) {
- case ArgConfig:
- if (state.after)
- state.postconfigs << arg;
- else
- state.preconfigs << arg;
- break;
- case ArgSpec:
- qmakespec = args[*pos] = cleanSpec(state, arg);
- break;
- case ArgXSpec:
- xqmakespec = args[*pos] = cleanSpec(state, arg);
- break;
- case ArgTmpl:
- user_template = arg;
- break;
- case ArgTmplPfx:
- user_template_prefix = arg;
- break;
- case ArgCache:
- cachefile = args[*pos] = QDir::cleanPath(QDir(state.pwd).absoluteFilePath(arg));
- break;
- default:
- if (arg.startsWith(QLatin1Char('-'))) {
- if (arg == QLatin1String("-after")) {
- state.after = true;
- } else if (arg == QLatin1String("-config")) {
- argState = ArgConfig;
- } else if (arg == QLatin1String("-nocache")) {
- do_cache = false;
- } else if (arg == QLatin1String("-cache")) {
- argState = ArgCache;
- } else if (arg == QLatin1String("-platform") || arg == QLatin1String("-spec")) {
- argState = ArgSpec;
- } else if (arg == QLatin1String("-xplatform") || arg == QLatin1String("-xspec")) {
- argState = ArgXSpec;
- } else if (arg == QLatin1String("-template") || arg == QLatin1String("-t")) {
- argState = ArgTmpl;
- } else if (arg == QLatin1String("-template_prefix") || arg == QLatin1String("-tp")) {
- argState = ArgTmplPfx;
- } else if (arg == QLatin1String("-win32")) {
- dir_sep = QLatin1Char('\\');
- } else if (arg == QLatin1String("-unix")) {
- dir_sep = QLatin1Char('/');
- } else {
- return ArgumentUnknown;
- }
- } else if (arg.contains(QLatin1Char('='))) {
- if (state.after)
- state.postcmds << arg;
- else
- state.precmds << arg;
- } else {
- return ArgumentUnknown;
- }
- continue;
- }
- argState = ArgNone;
- }
- if (argState != ArgNone)
- return ArgumentMalformed;
- return ArgumentsOk;
-}
-
-void QMakeGlobals::commitCommandLineArguments(QMakeCmdLineParserState &state)
-{
- if (!state.preconfigs.isEmpty())
- state.precmds << (fL1S("CONFIG += ") + state.preconfigs.join(fL1S(" ")));
- precmds = state.precmds.join(fL1S("\n"));
- if (!state.postconfigs.isEmpty())
- state.postcmds << (fL1S("CONFIG += ") + state.postconfigs.join(fL1S(" ")));
- postcmds = state.postcmds.join(fL1S("\n"));
-
- if (xqmakespec.isEmpty())
- xqmakespec = qmakespec;
-}
-
-void QMakeGlobals::useEnvironment()
-{
- if (xqmakespec.isEmpty())
- xqmakespec = getEnv(QLatin1String("XQMAKESPEC"));
- if (qmakespec.isEmpty()) {
- qmakespec = getEnv(QLatin1String("QMAKESPEC"));
- if (xqmakespec.isEmpty())
- xqmakespec = qmakespec;
- }
-}
-
-void QMakeGlobals::setCommandLineArguments(const QString &pwd, const QStringList &_args)
-{
- QStringList args = _args;
-
- QMakeCmdLineParserState state(pwd);
- for (int pos = 0; pos < args.size(); pos++)
- addCommandLineArguments(state, args, &pos);
- commitCommandLineArguments(state);
- useEnvironment();
-}
-
-void QMakeGlobals::setDirectories(const QString &input_dir, const QString &output_dir)
-{
- if (input_dir != output_dir && !output_dir.isEmpty()) {
- QString srcpath = input_dir;
- if (!srcpath.endsWith(QLatin1Char('/')))
- srcpath += QLatin1Char('/');
- QString dstpath = output_dir;
- if (!dstpath.endsWith(QLatin1Char('/')))
- dstpath += QLatin1Char('/');
- int srcLen = srcpath.length();
- int dstLen = dstpath.length();
- int lastSl = -1;
- while (++lastSl, srcpath.at(--srcLen) == dstpath.at(--dstLen))
- if (srcpath.at(srcLen) == QLatin1Char('/'))
- lastSl = 0;
- source_root = srcpath.left(srcLen + lastSl);
- build_root = dstpath.left(dstLen + lastSl);
- }
-}
-
-QString QMakeGlobals::shadowedPath(const QString &fileName) const
-{
- if (source_root.isEmpty())
- return fileName;
- if (fileName.startsWith(source_root)
- && (fileName.length() == source_root.length()
- || fileName.at(source_root.length()) == QLatin1Char('/'))) {
- return build_root + fileName.mid(source_root.length());
- }
- return QString();
-}
-
-QString QMakeGlobals::getEnv(const QString &var) const
-{
-#ifdef PROEVALUATOR_SETENV
- return environment.value(var);
-#else
- return QString::fromLocal8Bit(qgetenv(var.toLocal8Bit().constData()));
-#endif
-}
-
-QStringList QMakeGlobals::getPathListEnv(const QString &var) const
-{
- QStringList ret;
- QString val = getEnv(var);
- if (!val.isEmpty()) {
- QDir bdir;
- QStringList vals = val.split(dirlist_sep);
- ret.reserve(vals.length());
- foreach (const QString &it, vals)
- ret << QDir::cleanPath(bdir.absoluteFilePath(it));
- }
- return ret;
-}
-
-QString QMakeGlobals::expandEnvVars(const QString &str) const
-{
- QString string = str;
- int rep;
- QRegExp reg_variableName = statics.reg_variableName; // Copy for thread safety
- while ((rep = reg_variableName.indexIn(string)) != -1)
- string.replace(rep, reg_variableName.matchedLength(),
- getEnv(string.mid(rep + 2, reg_variableName.matchedLength() - 3)));
- return string;
-}
-
-#ifndef QT_BUILD_QMAKE
-#ifdef PROEVALUATOR_INIT_PROPS
-bool QMakeGlobals::initProperties()
-{
- QByteArray data;
-#ifndef QT_BOOTSTRAPPED
- QProcess proc;
- proc.start(qmake_abslocation, QStringList() << QLatin1String("-query"));
- if (!proc.waitForFinished())
- return false;
- data = proc.readAll();
-#else
- if (FILE *proc = QT_POPEN(QString(QMakeInternal::IoUtils::shellQuote(qmake_abslocation)
- + QLatin1String(" -query")).toLocal8Bit(), "r")) {
- char buff[1024];
- while (!feof(proc))
- data.append(buff, int(fread(buff, 1, 1023, proc)));
- QT_PCLOSE(proc);
- }
-#endif
- foreach (QByteArray line, data.split('\n'))
- if (!line.startsWith("QMAKE_")) {
- int off = line.indexOf(':');
- if (off < 0) // huh?
- continue;
- if (line.endsWith('\r'))
- line.chop(1);
- QString name = QString::fromLatin1(line.left(off));
- ProString value = ProString(QDir::fromNativeSeparators(
- QString::fromLocal8Bit(line.mid(off + 1))));
- properties.insert(ProKey(name), value);
- if (name.startsWith(QLatin1String("QT_")) && !name.contains(QLatin1Char('/'))) {
- if (name.startsWith(QLatin1String("QT_INSTALL_"))) {
- properties.insert(ProKey(name + QLatin1String("/raw")), value);
- properties.insert(ProKey(name + QLatin1String("/get")), value);
- if (name == QLatin1String("QT_INSTALL_PREFIX")
- || name == QLatin1String("QT_INSTALL_DATA")
- || name == QLatin1String("QT_INSTALL_BINS")) {
- name.replace(3, 7, QLatin1String("HOST"));
- properties.insert(ProKey(name), value);
- properties.insert(ProKey(name + QLatin1String("/get")), value);
- }
- } else if (name.startsWith(QLatin1String("QT_HOST_"))) {
- properties.insert(ProKey(name + QLatin1String("/get")), value);
- }
- }
- }
- properties.insert(ProKey("QMAKE_VERSION"), ProString("2.01a"));
- return true;
-}
-#else
-void QMakeGlobals::setProperties(const QHash<QString, QString> &props)
-{
- QHash<QString, QString>::ConstIterator it = props.constBegin(), eit = props.constEnd();
- for (; it != eit; ++it)
- properties.insert(ProKey(it.key()), ProString(it.value()));
-}
-#endif
-#endif // QT_BUILD_QMAKE
-
-QT_END_NAMESPACE
diff --git a/tools/qmakefilereader/evaluator/qmakeglobals.h b/tools/qmakefilereader/evaluator/qmakeglobals.h
deleted file mode 100644
index fab28a8c..00000000
--- a/tools/qmakefilereader/evaluator/qmakeglobals.h
+++ /dev/null
@@ -1,160 +0,0 @@
-/****************************************************************************
-**
-** Copyright (C) 2016 The Qt Company Ltd.
-** Contact: https://www.qt.io/licensing/
-**
-** This file is part of the Qt VS Add-in.
-**
-** $QT_BEGIN_LICENSE:GPL-EXCEPT$
-** Commercial License Usage
-** Licensees holding valid commercial Qt licenses may use this file in
-** accordance with the commercial license agreement provided with the
-** Software or, alternatively, in accordance with the terms contained in
-** a written agreement between you and The Qt Company. For licensing terms
-** and conditions see https://www.qt.io/terms-conditions. For further
-** information use the contact form at https://www.qt.io/contact-us.
-**
-** GNU General Public License Usage
-** Alternatively, this file may be used under the terms of the GNU
-** General Public License version 3 as published by the Free Software
-** Foundation with exceptions as appearing in the file LICENSE.GPL3-EXCEPT
-** included in the packaging of this file. Please review the following
-** information to ensure the GNU General Public License requirements will
-** be met: https://www.gnu.org/licenses/gpl-3.0.html.
-**
-** $QT_END_LICENSE$
-**
-****************************************************************************/
-
-#ifndef QMAKEGLOBALS_H
-#define QMAKEGLOBALS_H
-
-#include "qmake_global.h"
-#include "proitems.h"
-
-#ifdef QT_BUILD_QMAKE
-# include <property.h>
-#endif
-
-#include <qhash.h>
-#include <qstringlist.h>
-#ifndef QT_BOOTSTRAPPED
-# include <qprocess.h>
-#endif
-#ifdef PROEVALUATOR_THREAD_SAFE
-# include <qmutex.h>
-# include <qwaitcondition.h>
-#endif
-
-QT_BEGIN_NAMESPACE
-
-class QMakeEvaluator;
-
-class QMakeBaseKey
-{
-public:
- QMakeBaseKey(const QString &_root, bool _hostBuild);
-
- QString root;
- bool hostBuild;
-};
-
-uint qHash(const QMakeBaseKey &key);
-bool operator==(const QMakeBaseKey &one, const QMakeBaseKey &two);
-
-class QMakeBaseEnv
-{
-public:
- QMakeBaseEnv();
- ~QMakeBaseEnv();
-
-#ifdef PROEVALUATOR_THREAD_SAFE
- QMutex mutex;
- QWaitCondition cond;
- bool inProgress;
- // The coupling of this flag to thread safety exists because for other
- // use cases failure is immediately fatal anyway.
- bool isOk;
-#endif
- QMakeEvaluator *evaluator;
-};
-
-class QMAKE_EXPORT QMakeCmdLineParserState
-{
-public:
- QMakeCmdLineParserState(const QString &_pwd) : pwd(_pwd), after(false) {}
- QString pwd;
- QStringList precmds, preconfigs, postcmds, postconfigs;
- bool after;
-};
-
-class QMAKE_EXPORT QMakeGlobals
-{
-public:
- QMakeGlobals();
- ~QMakeGlobals();
-
- bool do_cache;
- QString dir_sep;
- QString dirlist_sep;
- QString cachefile;
-#ifdef PROEVALUATOR_SETENV
- QProcessEnvironment environment;
-#endif
- QString qmake_abslocation;
-
- QString qmakespec, xqmakespec;
- QString user_template, user_template_prefix;
- QString precmds, postcmds;
-
-#ifdef PROEVALUATOR_DEBUG
- int debugLevel;
-#endif
-
- enum ArgumentReturn { ArgumentUnknown, ArgumentMalformed, ArgumentsOk };
- ArgumentReturn addCommandLineArguments(QMakeCmdLineParserState &state,
- QStringList &args, int *pos);
- void commitCommandLineArguments(QMakeCmdLineParserState &state);
- void setCommandLineArguments(const QString &pwd, const QStringList &args);
- void useEnvironment();
- void setDirectories(const QString &input_dir, const QString &output_dir);
-#ifdef QT_BUILD_QMAKE
- void setQMakeProperty(QMakeProperty *prop) { property = prop; }
- ProString propertyValue(const ProKey &name) const { return property->value(name); }
-#else
-# ifdef PROEVALUATOR_INIT_PROPS
- bool initProperties();
-# else
- void setProperties(const QHash<QString, QString> &props);
-# endif
- ProString propertyValue(const ProKey &name) const { return properties.value(name); }
-#endif
-
- QString expandEnvVars(const QString &str) const;
- QString shadowedPath(const QString &fileName) const;
-
-private:
- QString getEnv(const QString &) const;
- QStringList getPathListEnv(const QString &var) const;
-
- QString cleanSpec(QMakeCmdLineParserState &state, const QString &spec);
-
- QString source_root, build_root;
-
-#ifdef QT_BUILD_QMAKE
- QMakeProperty *property;
-#else
- QHash<ProKey, ProString> properties;
-#endif
-
-#ifdef PROEVALUATOR_THREAD_SAFE
- QMutex mutex;
-#endif
- QHash<QMakeBaseKey, QMakeBaseEnv *> baseEnvs;
-
- friend class QMakeEvaluator;
-};
-
-QT_END_NAMESPACE
-
-#endif // QMAKEGLOBALS_H
diff --git a/tools/qmakefilereader/evaluator/qmakeparser.cpp b/tools/qmakefilereader/evaluator/qmakeparser.cpp
deleted file mode 100644
index 42f3c27b..00000000
--- a/tools/qmakefilereader/evaluator/qmakeparser.cpp
+++ /dev/null
@@ -1,1212 +0,0 @@
-/****************************************************************************
-**
-** Copyright (C) 2016 The Qt Company Ltd.
-** Contact: https://www.qt.io/licensing/
-**
-** This file is part of the Qt VS Add-in.
-**
-** $QT_BEGIN_LICENSE:GPL-EXCEPT$
-** Commercial License Usage
-** Licensees holding valid commercial Qt licenses may use this file in
-** accordance with the commercial license agreement provided with the
-** Software or, alternatively, in accordance with the terms contained in
-** a written agreement between you and The Qt Company. For licensing terms
-** and conditions see https://www.qt.io/terms-conditions. For further
-** information use the contact form at https://www.qt.io/contact-us.
-**
-** GNU General Public License Usage
-** Alternatively, this file may be used under the terms of the GNU
-** General Public License version 3 as published by the Free Software
-** Foundation with exceptions as appearing in the file LICENSE.GPL3-EXCEPT
-** included in the packaging of this file. Please review the following
-** information to ensure the GNU General Public License requirements will
-** be met: https://www.gnu.org/licenses/gpl-3.0.html.
-**
-** $QT_END_LICENSE$
-**
-****************************************************************************/
-
-#include "qmakeparser.h"
-
-#include "ioutils.h"
-using namespace QMakeInternal;
-
-#include <qfile.h>
-#ifdef PROPARSER_THREAD_SAFE
-# include <qthreadpool.h>
-#endif
-
-QT_BEGIN_NAMESPACE
-
-///////////////////////////////////////////////////////////////////////
-//
-// ProFileCache
-//
-///////////////////////////////////////////////////////////////////////
-
-ProFileCache::~ProFileCache()
-{
- foreach (const Entry &ent, parsed_files)
- if (ent.pro)
- ent.pro->deref();
-}
-
-void ProFileCache::discardFile(const QString &fileName)
-{
-#ifdef PROPARSER_THREAD_SAFE
- QMutexLocker lck(&mutex);
-#endif
- QHash<QString, Entry>::Iterator it = parsed_files.find(fileName);
- if (it != parsed_files.end()) {
- if (it->pro)
- it->pro->deref();
- parsed_files.erase(it);
- }
-}
-
-void ProFileCache::discardFiles(const QString &prefix)
-{
-#ifdef PROPARSER_THREAD_SAFE
- QMutexLocker lck(&mutex);
-#endif
- QHash<QString, Entry>::Iterator
- it = parsed_files.begin(),
- end = parsed_files.end();
- while (it != end)
- if (it.key().startsWith(prefix)) {
- if (it->pro)
- it->pro->deref();
- it = parsed_files.erase(it);
- } else {
- ++it;
- }
-}
-
-
-////////// Parser ///////////
-
-#define fL1S(s) QString::fromLatin1(s)
-
-namespace { // MSVC2010 doesn't seem to know the semantics of "static" ...
-
-static struct {
- QString strelse;
- QString strfor;
- QString strdefineTest;
- QString strdefineReplace;
- QString stroption;
- QString strreturn;
- QString strnext;
- QString strbreak;
- QString strhost_build;
- QString strLINE;
- QString strFILE;
- QString strLITERAL_HASH;
- QString strLITERAL_DOLLAR;
- QString strLITERAL_WHITESPACE;
-} statics;
-
-}
-
-void QMakeParser::initialize()
-{
- if (!statics.strelse.isNull())
- return;
-
- statics.strelse = QLatin1String("else");
- statics.strfor = QLatin1String("for");
- statics.strdefineTest = QLatin1String("defineTest");
- statics.strdefineReplace = QLatin1String("defineReplace");
- statics.stroption = QLatin1String("option");
- statics.strreturn = QLatin1String("return");
- statics.strnext = QLatin1String("next");
- statics.strbreak = QLatin1String("break");
- statics.strhost_build = QLatin1String("host_build");
- statics.strLINE = QLatin1String("_LINE_");
- statics.strFILE = QLatin1String("_FILE_");
- statics.strLITERAL_HASH = QLatin1String("LITERAL_HASH");
- statics.strLITERAL_DOLLAR = QLatin1String("LITERAL_DOLLAR");
- statics.strLITERAL_WHITESPACE = QLatin1String("LITERAL_WHITESPACE");
-}
-
-QMakeParser::QMakeParser(ProFileCache *cache, QMakeParserHandler *handler)
- : m_cache(cache)
- , m_handler(handler)
-{
- // So that single-threaded apps don't have to call initialize() for now.
- initialize();
-}
-
-ProFile *QMakeParser::parsedProFile(const QString &fileName, bool cache)
-{
- ProFile *pro;
- if (cache && m_cache) {
- ProFileCache::Entry *ent;
-#ifdef PROPARSER_THREAD_SAFE
- QMutexLocker locker(&m_cache->mutex);
-#endif
- QHash<QString, ProFileCache::Entry>::Iterator it = m_cache->parsed_files.find(fileName);
- if (it != m_cache->parsed_files.end()) {
- ent = &*it;
-#ifdef PROPARSER_THREAD_SAFE
- if (ent->locker && !ent->locker->done) {
- ++ent->locker->waiters;
- QThreadPool::globalInstance()->releaseThread();
- ent->locker->cond.wait(locker.mutex());
- QThreadPool::globalInstance()->reserveThread();
- if (!--ent->locker->waiters) {
- delete ent->locker;
- ent->locker = 0;
- }
- }
-#endif
- if ((pro = ent->pro))
- pro->ref();
- } else {
- ent = &m_cache->parsed_files[fileName];
-#ifdef PROPARSER_THREAD_SAFE
- ent->locker = new ProFileCache::Entry::Locker;
- locker.unlock();
-#endif
- pro = new ProFile(fileName);
- if (!read(pro)) {
- delete pro;
- pro = 0;
- } else {
- pro->itemsRef()->squeeze();
- pro->ref();
- }
- ent->pro = pro;
-#ifdef PROPARSER_THREAD_SAFE
- locker.relock();
- if (ent->locker->waiters) {
- ent->locker->done = true;
- ent->locker->cond.wakeAll();
- } else {
- delete ent->locker;
- ent->locker = 0;
- }
-#endif
- }
- } else {
- pro = new ProFile(fileName);
- if (!read(pro)) {
- delete pro;
- pro = 0;
- }
- }
- return pro;
-}
-
-ProFile *QMakeParser::parsedProBlock(
- const QString &contents, const QString &name, int line, SubGrammar grammar)
-{
- ProFile *pro = new ProFile(name);
- if (!read(pro, contents, line, grammar)) {
- delete pro;
- pro = 0;
- }
- return pro;
-}
-
-void QMakeParser::discardFileFromCache(const QString &fileName)
-{
- if (m_cache)
- m_cache->discardFile(fileName);
-}
-
-bool QMakeParser::read(ProFile *pro)
-{
- QFile file(pro->fileName());
- if (!file.open(QIODevice::ReadOnly)) {
- if (m_handler && IoUtils::exists(pro->fileName()))
- m_handler->message(QMakeParserHandler::ParserIoError,
- fL1S("Cannot read %1: %2").arg(pro->fileName(), file.errorString()));
- return false;
- }
-
- QByteArray bcont = file.readAll();
- if (bcont.startsWith(QByteArray("\xef\xbb\xbf"))) {
- // UTF-8 BOM will cause subtle errors
- m_handler->message(QMakeParserHandler::ParserIoError,
- fL1S("Unexpected UTF-8 BOM in %1").arg(pro->fileName()));
- return false;
- }
- QString content(QString::fromLocal8Bit(bcont));
- bcont.clear();
- file.close();
- return read(pro, content, 1, FullGrammar);
-}
-
-void QMakeParser::putTok(ushort *&tokPtr, ushort tok)
-{
- *tokPtr++ = tok;
-}
-
-void QMakeParser::putBlockLen(ushort *&tokPtr, uint len)
-{
- *tokPtr++ = (ushort)len;
- *tokPtr++ = (ushort)(len >> 16);
-}
-
-void QMakeParser::putBlock(ushort *&tokPtr, const ushort *buf, uint len)
-{
- memcpy(tokPtr, buf, len * 2);
- tokPtr += len;
-}
-
-void QMakeParser::putHashStr(ushort *&pTokPtr, const ushort *buf, uint len)
-{
- uint hash = ProString::hash((const QChar *)buf, len);
- ushort *tokPtr = pTokPtr;
- *tokPtr++ = (ushort)hash;
- *tokPtr++ = (ushort)(hash >> 16);
- *tokPtr++ = (ushort)len;
- memcpy(tokPtr, buf, len * 2);
- pTokPtr = tokPtr + len;
-}
-
-void QMakeParser::finalizeHashStr(ushort *buf, uint len)
-{
- buf[-4] = TokHashLiteral;
- buf[-1] = len;
- uint hash = ProString::hash((const QChar *)buf, len);
- buf[-3] = (ushort)hash;
- buf[-2] = (ushort)(hash >> 16);
-}
-
-bool QMakeParser::read(ProFile *pro, const QString &in, int line, SubGrammar grammar)
-{
- m_proFile = pro;
- m_lineNo = line;
-
- // Final precompiled token stream buffer
- QString tokBuff;
- // Worst-case size calculations:
- // - line marker adds 1 (2-nl) to 1st token of each line
- // - empty assignment "A=":2 =>
- // TokHashLiteral(1) + hash(2) + len(1) + "A"(1) + TokAssign(1) +
- // TokValueTerminator(1) == 7 (8)
- // - non-empty assignment "A=B C":5 =>
- // TokHashLiteral(1) + hash(2) + len(1) + "A"(1) + TokAssign(1) +
- // TokLiteral(1) + len(1) + "B"(1) +
- // TokLiteral(1) + len(1) + "C"(1) + TokValueTerminator(1) == 13 (14)
- // - variable expansion: "$$f":3 =>
- // TokVariable(1) + hash(2) + len(1) + "f"(1) = 5
- // - function expansion: "$$f()":5 =>
- // TokFuncName(1) + hash(2) + len(1) + "f"(1) + TokFuncTerminator(1) = 6
- // - scope: "X:":2 =>
- // TokHashLiteral(1) + hash(2) + len(1) + "A"(1) + TokCondition(1) +
- // TokBranch(1) + len(2) + ... + len(2) + ... == 10
- // - test: "X():":4 =>
- // TokHashLiteral(1) + hash(2) + len(1) + "A"(1) + TokTestCall(1) + TokFuncTerminator(1) +
- // TokBranch(1) + len(2) + ... + len(2) + ... == 11
- // - "for(A,B):":9 =>
- // TokForLoop(1) + hash(2) + len(1) + "A"(1) +
- // len(2) + TokLiteral(1) + len(1) + "B"(1) + TokValueTerminator(1) +
- // len(2) + ... + TokTerminator(1) == 14 (15)
- tokBuff.reserve((in.size() + 1) * 5);
- ushort *tokPtr = (ushort *)tokBuff.constData(); // Current writing position
-
- // Expression precompiler buffer.
- QString xprBuff;
- xprBuff.reserve(tokBuff.capacity()); // Excessive, but simple
- ushort *buf = (ushort *)xprBuff.constData();
-
- // Parser state
- m_blockstack.clear();
- m_blockstack.resize(1);
-
- QStack<ParseCtx> xprStack;
- xprStack.reserve(10);
-
- // We rely on QStrings being null-terminated, so don't maintain a global end pointer.
- const ushort *cur = (const ushort *)in.unicode();
- m_canElse = false;
- freshLine:
- m_state = StNew;
- m_invert = false;
- m_operator = NoOperator;
- m_markLine = m_lineNo;
- m_inError = false;
- int parens = 0; // Braces in value context
- int argc = 0;
- int wordCount = 0; // Number of words in currently accumulated expression
- int lastIndent = 0; // Previous line's indentation, to detect accidental continuation abuse
- bool lineMarked = true; // For in-expression markers
- ushort needSep = TokNewStr; // Met unquoted whitespace
- ushort quote = 0;
- ushort term = 0;
-
- Context context;
- ushort *ptr;
- if (grammar == ValueGrammar) {
- context = CtxPureValue;
- ptr = tokPtr + 2;
- } else {
- context = CtxTest;
- ptr = buf + 4;
- }
- ushort *xprPtr = ptr;
-
-#define FLUSH_LHS_LITERAL() \
- do { \
- if ((tlen = ptr - xprPtr)) { \
- finalizeHashStr(xprPtr, tlen); \
- if (needSep) { \
- wordCount++; \
- needSep = 0; \
- } \
- } else { \
- ptr -= 4; \
- } \
- } while (0)
-
-#define FLUSH_RHS_LITERAL() \
- do { \
- if ((tlen = ptr - xprPtr)) { \
- xprPtr[-2] = TokLiteral | needSep; \
- xprPtr[-1] = tlen; \
- if (needSep) { \
- wordCount++; \
- needSep = 0; \
- } \
- } else { \
- ptr -= 2; \
- } \
- } while (0)
-
-#define FLUSH_LITERAL() \
- do { \
- if (context == CtxTest) \
- FLUSH_LHS_LITERAL(); \
- else \
- FLUSH_RHS_LITERAL(); \
- } while (0)
-
-#define FLUSH_VALUE_LIST() \
- do { \
- if (wordCount > 1) { \
- xprPtr = tokPtr; \
- if (*xprPtr == TokLine) \
- xprPtr += 2; \
- tokPtr[-1] = ((*xprPtr & TokMask) == TokLiteral) ? wordCount : 0; \
- } else { \
- tokPtr[-1] = 0; \
- } \
- tokPtr = ptr; \
- putTok(tokPtr, TokValueTerminator); \
- } while (0)
-
- const ushort *end; // End of this line
- const ushort *cptr; // Start of next line
- bool lineCont;
- int indent;
-
- if (context == CtxPureValue) {
- end = (const ushort *)in.unicode() + in.length();
- cptr = 0;
- lineCont = false;
- indent = 0; // just gcc being stupid
- goto nextChr;
- }
-
- forever {
- ushort c;
-
- // First, skip leading whitespace
- for (indent = 0; ; ++cur, ++indent) {
- c = *cur;
- if (c == '\n') {
- ++cur;
- goto flushLine;
- } else if (!c) {
- cur = 0;
- goto flushLine;
- } else if (c != ' ' && c != '\t' && c != '\r') {
- break;
- }
- }
-
- // Then strip comments. Yep - no escaping is possible.
- for (cptr = cur;; ++cptr) {
- c = *cptr;
- if (c == '#') {
- for (end = cptr; (c = *++cptr);) {
- if (c == '\n') {
- ++cptr;
- break;
- }
- }
- if (end == cur) { // Line with only a comment (sans whitespace)
- if (m_markLine == m_lineNo)
- m_markLine++;
- // Qmake bizarreness: such lines do not affect line continuations
- goto ignore;
- }
- break;
- }
- if (!c) {
- end = cptr;
- break;
- }
- if (c == '\n') {
- end = cptr++;
- break;
- }
- }
-
- // Then look for line continuations. Yep - no escaping here as well.
- forever {
- // We don't have to check for underrun here, as we already determined
- // that the line is non-empty.
- ushort ec = *(end - 1);
- if (ec == '\\') {
- --end;
- lineCont = true;
- break;
- }
- if (ec != ' ' && ec != '\t' && ec != '\r') {
- lineCont = false;
- break;
- }
- --end;
- }
-
- // Finally, do the tokenization
- ushort tok, rtok;
- int tlen;
- newWord:
- do {
- if (cur == end)
- goto lineEnd;
- c = *cur++;
- } while (c == ' ' || c == '\t');
- forever {
- if (c == '$') {
- if (*cur == '$') { // may be EOF, EOL, WS, '#' or '\\' if past end
- cur++;
- FLUSH_LITERAL();
- if (!lineMarked) {
- lineMarked = true;
- *ptr++ = TokLine;
- *ptr++ = (ushort)m_lineNo;
- }
- term = 0;
- tok = TokVariable;
- c = *cur;
- if (c == '[') {
- ptr += 4;
- tok = TokProperty;
- term = ']';
- c = *++cur;
- } else if (c == '{') {
- ptr += 4;
- term = '}';
- c = *++cur;
- } else if (c == '(') {
- ptr += 2;
- tok = TokEnvVar;
- term = ')';
- c = *++cur;
- } else {
- ptr += 4;
- }
- xprPtr = ptr;
- rtok = tok;
- while ((c & 0xFF00) || c == '.' || c == '_' ||
- (c >= 'a' && c <= 'z') || (c >= 'A' && c <= 'Z') ||
- (c >= '0' && c <= '9') || (c == '/' && term)) {
- *ptr++ = c;
- if (++cur == end) {
- c = 0;
- goto notfunc;
- }
- c = *cur;
- }
- if (tok == TokVariable && c == '(')
- tok = TokFuncName;
- notfunc:
- if (ptr == xprPtr)
- languageWarning(fL1S("Missing name in expansion"));
- if (quote)
- tok |= TokQuoted;
- if (needSep) {
- tok |= needSep;
- wordCount++;
- }
- tlen = ptr - xprPtr;
- if (rtok != TokVariable
- || !resolveVariable(xprPtr, tlen, needSep, &ptr,
- &buf, &xprBuff, &tokPtr, &tokBuff, cur, in)) {
- if (rtok == TokVariable || rtok == TokProperty) {
- xprPtr[-4] = tok;
- uint hash = ProString::hash((const QChar *)xprPtr, tlen);
- xprPtr[-3] = (ushort)hash;
- xprPtr[-2] = (ushort)(hash >> 16);
- xprPtr[-1] = tlen;
- } else {
- xprPtr[-2] = tok;
- xprPtr[-1] = tlen;
- }
- }
- if ((tok & TokMask) == TokFuncName) {
- cur++;
- funcCall:
- {
- xprStack.resize(xprStack.size() + 1);
- ParseCtx &top = xprStack.top();
- top.parens = parens;
- top.quote = quote;
- top.terminator = term;
- top.context = context;
- top.argc = argc;
- top.wordCount = wordCount;
- }
- parens = 0;
- quote = 0;
- term = 0;
- argc = 1;
- context = CtxArgs;
- nextToken:
- wordCount = 0;
- nextWord:
- ptr += (context == CtxTest) ? 4 : 2;
- xprPtr = ptr;
- needSep = TokNewStr;
- goto newWord;
- }
- if (term) {
- checkTerm:
- if (c != term) {
- parseError(fL1S("Missing %1 terminator [found %2]")
- .arg(QChar(term))
- .arg(c ? QString(c) : QString::fromLatin1("end-of-line")));
- pro->setOk(false);
- m_inError = true;
- // Just parse on, as if there was a terminator ...
- } else {
- cur++;
- }
- }
- joinToken:
- ptr += (context == CtxTest) ? 4 : 2;
- xprPtr = ptr;
- needSep = 0;
- goto nextChr;
- }
- } else if (c == '\\') {
- static const char symbols[] = "[]{}()$\\'\"";
- ushort c2;
- if (cur != end && !((c2 = *cur) & 0xff00) && strchr(symbols, c2)) {
- c = c2;
- cur++;
- } else {
- deprecationWarning(fL1S("Unescaped backslashes are deprecated"));
- }
- } else if (quote) {
- if (c == quote) {
- quote = 0;
- goto nextChr;
- } else if (c == '!' && ptr == xprPtr && context == CtxTest) {
- m_invert ^= true;
- goto nextChr;
- }
- } else if (c == '\'' || c == '"') {
- quote = c;
- goto nextChr;
- } else if (context == CtxArgs) {
- // Function arg context
- if (c == ' ' || c == '\t') {
- FLUSH_RHS_LITERAL();
- goto nextWord;
- } else if (c == '(') {
- ++parens;
- } else if (c == ')') {
- if (--parens < 0) {
- FLUSH_RHS_LITERAL();
- *ptr++ = TokFuncTerminator;
- int theargc = argc;
- {
- ParseCtx &top = xprStack.top();
- parens = top.parens;
- quote = top.quote;
- term = top.terminator;
- context = top.context;
- argc = top.argc;
- wordCount = top.wordCount;
- xprStack.resize(xprStack.size() - 1);
- }
- if (term == ':') {
- finalizeCall(tokPtr, buf, ptr, theargc);
- goto nextItem;
- } else if (term == '}') {
- c = (cur == end) ? 0 : *cur;
- goto checkTerm;
- } else {
- Q_ASSERT(!term);
- goto joinToken;
- }
- }
- } else if (!parens && c == ',') {
- FLUSH_RHS_LITERAL();
- *ptr++ = TokArgSeparator;
- argc++;
- goto nextToken;
- }
- } else if (context == CtxTest) {
- // Test or LHS context
- if (c == ' ' || c == '\t') {
- FLUSH_LHS_LITERAL();
- goto nextWord;
- } else if (c == '(') {
- FLUSH_LHS_LITERAL();
- if (wordCount != 1) {
- if (wordCount)
- parseError(fL1S("Extra characters after test expression."));
- else
- parseError(fL1S("Opening parenthesis without prior test name."));
- pro->setOk(false);
- ptr = buf; // Put empty function name
- }
- *ptr++ = TokTestCall;
- term = ':';
- goto funcCall;
- } else if (c == '!' && ptr == xprPtr) {
- m_invert ^= true;
- goto nextChr;
- } else if (c == ':') {
- FLUSH_LHS_LITERAL();
- finalizeCond(tokPtr, buf, ptr, wordCount);
- if (m_state == StNew)
- parseError(fL1S("And operator without prior condition."));
- else
- m_operator = AndOperator;
- nextItem:
- ptr = buf;
- goto nextToken;
- } else if (c == '|') {
- FLUSH_LHS_LITERAL();
- finalizeCond(tokPtr, buf, ptr, wordCount);
- if (m_state != StCond)
- parseError(fL1S("Or operator without prior condition."));
- else
- m_operator = OrOperator;
- goto nextItem;
- } else if (c == '{') {
- FLUSH_LHS_LITERAL();
- finalizeCond(tokPtr, buf, ptr, wordCount);
- flushCond(tokPtr);
- ++m_blockstack.top().braceLevel;
- if (grammar == TestGrammar) {
- parseError(fL1S("Opening scope not permitted in this context."));
- pro->setOk(false);
- }
- goto nextItem;
- } else if (c == '}') {
- FLUSH_LHS_LITERAL();
- finalizeCond(tokPtr, buf, ptr, wordCount);
- flushScopes(tokPtr);
- closeScope:
- if (!m_blockstack.top().braceLevel) {
- parseError(fL1S("Excess closing brace."));
- } else if (!--m_blockstack.top().braceLevel
- && m_blockstack.count() != 1) {
- leaveScope(tokPtr);
- m_state = StNew;
- m_canElse = false;
- m_markLine = m_lineNo;
- }
- goto nextItem;
- } else if (c == '+') {
- tok = TokAppend;
- goto do2Op;
- } else if (c == '-') {
- tok = TokRemove;
- goto do2Op;
- } else if (c == '*') {
- tok = TokAppendUnique;
- goto do2Op;
- } else if (c == '~') {
- tok = TokReplace;
- do2Op:
- if (*cur == '=') {
- cur++;
- goto doOp;
- }
- } else if (c == '=') {
- tok = TokAssign;
- doOp:
- FLUSH_LHS_LITERAL();
- flushCond(tokPtr);
- putLineMarker(tokPtr);
- if (grammar == TestGrammar) {
- parseError(fL1S("Assignment not permitted in this context."));
- pro->setOk(false);
- } else if (wordCount != 1) {
- parseError(fL1S("Assignment needs exactly one word on the left hand side."));
- pro->setOk(false);
- // Put empty variable name.
- } else {
- putBlock(tokPtr, buf, ptr - buf);
- }
- putTok(tokPtr, tok);
- context = CtxValue;
- ptr = ++tokPtr;
- goto nextToken;
- }
- } else if (context == CtxValue) {
- if (c == ' ' || c == '\t') {
- FLUSH_RHS_LITERAL();
- goto nextWord;
- } else if (c == '{') {
- ++parens;
- } else if (c == '}') {
- if (!parens) {
- FLUSH_RHS_LITERAL();
- FLUSH_VALUE_LIST();
- context = CtxTest;
- goto closeScope;
- }
- --parens;
- } else if (c == '=') {
- if (indent < lastIndent)
- languageWarning(fL1S("Possible accidental line continuation"));
- }
- }
- *ptr++ = c;
- nextChr:
- if (cur == end)
- goto lineEnd;
- c = *cur++;
- }
-
- lineEnd:
- if (lineCont) {
- if (quote) {
- *ptr++ = ' ';
- } else {
- FLUSH_LITERAL();
- needSep = TokNewStr;
- ptr += (context == CtxTest) ? 4 : 2;
- xprPtr = ptr;
- }
- } else {
- cur = cptr;
- flushLine:
- FLUSH_LITERAL();
- if (quote) {
- parseError(fL1S("Missing closing %1 quote").arg(QChar(quote)));
- if (!xprStack.isEmpty()) {
- context = xprStack.at(0).context;
- xprStack.clear();
- }
- goto flErr;
- } else if (!xprStack.isEmpty()) {
- parseError(fL1S("Missing closing parenthesis in function call"));
- context = xprStack.at(0).context;
- xprStack.clear();
- flErr:
- pro->setOk(false);
- if (context == CtxValue) {
- tokPtr[-1] = 0; // sizehint
- putTok(tokPtr, TokValueTerminator);
- } else if (context == CtxPureValue) {
- putTok(tokPtr, TokValueTerminator);
- } else {
- bogusTest(tokPtr);
- }
- } else if (context == CtxValue) {
- FLUSH_VALUE_LIST();
- if (parens)
- languageWarning(fL1S("Possible braces mismatch"));
- } else if (context == CtxPureValue) {
- tokPtr = ptr;
- putTok(tokPtr, TokValueTerminator);
- } else {
- finalizeCond(tokPtr, buf, ptr, wordCount);
- }
- if (!cur)
- break;
- ++m_lineNo;
- goto freshLine;
- }
-
- lastIndent = indent;
- lineMarked = false;
- ignore:
- cur = cptr;
- ++m_lineNo;
- }
-
- flushScopes(tokPtr);
- if (m_blockstack.size() > 1) {
- parseError(fL1S("Missing closing brace(s)."));
- pro->setOk(false);
- }
- while (m_blockstack.size())
- leaveScope(tokPtr);
- tokBuff.resize(tokPtr - (ushort *)tokBuff.constData()); // Reserved capacity stays
- *pro->itemsRef() = tokBuff;
- return true;
-
-#undef FLUSH_VALUE_LIST
-#undef FLUSH_LITERAL
-#undef FLUSH_LHS_LITERAL
-#undef FLUSH_RHS_LITERAL
-}
-
-void QMakeParser::putLineMarker(ushort *&tokPtr)
-{
- if (m_markLine) {
- *tokPtr++ = TokLine;
- *tokPtr++ = (ushort)m_markLine;
- m_markLine = 0;
- }
-}
-
-void QMakeParser::enterScope(ushort *&tokPtr, bool special, ScopeState state)
-{
- uchar nest = m_blockstack.top().nest;
- m_blockstack.resize(m_blockstack.size() + 1);
- m_blockstack.top().special = special;
- m_blockstack.top().start = tokPtr;
- m_blockstack.top().nest = nest;
- tokPtr += 2;
- m_state = state;
- m_canElse = false;
- if (special)
- m_markLine = m_lineNo;
-}
-
-void QMakeParser::leaveScope(ushort *&tokPtr)
-{
- if (m_blockstack.top().inBranch) {
- // Put empty else block
- putBlockLen(tokPtr, 0);
- }
- if (ushort *start = m_blockstack.top().start) {
- putTok(tokPtr, TokTerminator);
- uint len = tokPtr - start - 2;
- start[0] = (ushort)len;
- start[1] = (ushort)(len >> 16);
- }
- m_blockstack.resize(m_blockstack.size() - 1);
-}
-
-// If we are on a fresh line, close all open one-line scopes.
-void QMakeParser::flushScopes(ushort *&tokPtr)
-{
- if (m_state == StNew) {
- while (!m_blockstack.top().braceLevel && m_blockstack.size() > 1)
- leaveScope(tokPtr);
- if (m_blockstack.top().inBranch) {
- m_blockstack.top().inBranch = false;
- // Put empty else block
- putBlockLen(tokPtr, 0);
- }
- m_canElse = false;
- }
-}
-
-// If there is a pending conditional, enter a new scope, otherwise flush scopes.
-void QMakeParser::flushCond(ushort *&tokPtr)
-{
- if (m_state == StCond) {
- putTok(tokPtr, TokBranch);
- m_blockstack.top().inBranch = true;
- enterScope(tokPtr, false, StNew);
- } else {
- flushScopes(tokPtr);
- }
-}
-
-void QMakeParser::finalizeTest(ushort *&tokPtr)
-{
- flushScopes(tokPtr);
- putLineMarker(tokPtr);
- if (m_operator != NoOperator) {
- putTok(tokPtr, (m_operator == AndOperator) ? TokAnd : TokOr);
- m_operator = NoOperator;
- }
- if (m_invert) {
- putTok(tokPtr, TokNot);
- m_invert = false;
- }
- m_state = StCond;
- m_canElse = true;
-}
-
-void QMakeParser::bogusTest(ushort *&tokPtr)
-{
- flushScopes(tokPtr);
- m_operator = NoOperator;
- m_invert = false;
- m_state = StCond;
- m_canElse = true;
- m_proFile->setOk(false);
-}
-
-void QMakeParser::finalizeCond(ushort *&tokPtr, ushort *uc, ushort *ptr, int wordCount)
-{
- if (wordCount != 1) {
- if (wordCount) {
- parseError(fL1S("Extra characters after test expression."));
- bogusTest(tokPtr);
- }
- return;
- }
-
- // Check for magic tokens
- if (*uc == TokHashLiteral) {
- uint nlen = uc[3];
- ushort *uce = uc + 4 + nlen;
- if (uce == ptr) {
- m_tmp.setRawData((QChar *)uc + 4, nlen);
- if (!m_tmp.compare(statics.strelse, Qt::CaseInsensitive)) {
- if (m_invert || m_operator != NoOperator) {
- parseError(fL1S("Unexpected operator in front of else."));
- return;
- }
- BlockScope &top = m_blockstack.top();
- if (m_canElse && (!top.special || top.braceLevel)) {
- // A list of tests (the last one likely with side effects),
- // but no assignment, scope, etc.
- putTok(tokPtr, TokBranch);
- // Put empty then block
- putBlockLen(tokPtr, 0);
- enterScope(tokPtr, false, StCtrl);
- return;
- }
- forever {
- BlockScope &top = m_blockstack.top();
- if (top.inBranch && (!top.special || top.braceLevel)) {
- top.inBranch = false;
- enterScope(tokPtr, false, StCtrl);
- return;
- }
- if (top.braceLevel || m_blockstack.size() == 1)
- break;
- leaveScope(tokPtr);
- }
- parseError(fL1S("Unexpected 'else'."));
- return;
- }
- }
- }
-
- finalizeTest(tokPtr);
- putBlock(tokPtr, uc, ptr - uc);
- putTok(tokPtr, TokCondition);
-}
-
-void QMakeParser::finalizeCall(ushort *&tokPtr, ushort *uc, ushort *ptr, int argc)
-{
- // Check for magic tokens
- if (*uc == TokHashLiteral) {
- uint nlen = uc[3];
- ushort *uce = uc + 4 + nlen;
- if (*uce == TokTestCall) {
- uce++;
- m_tmp.setRawData((QChar *)uc + 4, nlen);
- const QString *defName;
- ushort defType;
- uchar nest;
- if (m_tmp == statics.strfor) {
- if (m_invert || m_operator == OrOperator) {
- // '|' could actually work reasonably, but qmake does nonsense here.
- parseError(fL1S("Unexpected operator in front of for()."));
- bogusTest(tokPtr);
- return;
- }
- flushCond(tokPtr);
- putLineMarker(tokPtr);
- if (*uce == (TokLiteral|TokNewStr)) {
- nlen = uce[1];
- uc = uce + 2 + nlen;
- if (*uc == TokFuncTerminator) {
- // for(literal) (only "ever" would be legal if qmake was sane)
- putTok(tokPtr, TokForLoop);
- putHashStr(tokPtr, (ushort *)0, (uint)0);
- putBlockLen(tokPtr, 1 + 3 + nlen + 1);
- putTok(tokPtr, TokHashLiteral);
- putHashStr(tokPtr, uce + 2, nlen);
- didFor:
- putTok(tokPtr, TokValueTerminator);
- enterScope(tokPtr, true, StCtrl);
- m_blockstack.top().nest |= NestLoop;
- return;
- } else if (*uc == TokArgSeparator && argc == 2) {
- // for(var, something)
- uc++;
- putTok(tokPtr, TokForLoop);
- putHashStr(tokPtr, uce + 2, nlen);
- doFor:
- nlen = ptr - uc;
- putBlockLen(tokPtr, nlen + 1);
- putBlock(tokPtr, uc, nlen);
- goto didFor;
- }
- } else if (argc == 1) {
- // for(non-literal) (this wouldn't be here if qmake was sane)
- putTok(tokPtr, TokForLoop);
- putHashStr(tokPtr, (ushort *)0, (uint)0);
- uc = uce;
- goto doFor;
- }
- parseError(fL1S("Syntax is for(var, list), for(var, forever) or for(ever)."));
- return;
- } else if (m_tmp == statics.strdefineReplace) {
- defName = &statics.strdefineReplace;
- defType = TokReplaceDef;
- goto deffunc;
- } else if (m_tmp == statics.strdefineTest) {
- defName = &statics.strdefineTest;
- defType = TokTestDef;
- deffunc:
- if (m_invert) {
- parseError(fL1S("Unexpected operator in front of function definition."));
- bogusTest(tokPtr);
- return;
- }
- flushScopes(tokPtr);
- putLineMarker(tokPtr);
- if (*uce == (TokLiteral|TokNewStr)) {
- uint nlen = uce[1];
- if (uce[nlen + 2] == TokFuncTerminator) {
- if (m_operator != NoOperator) {
- putTok(tokPtr, (m_operator == AndOperator) ? TokAnd : TokOr);
- m_operator = NoOperator;
- }
- putTok(tokPtr, defType);
- putHashStr(tokPtr, uce + 2, nlen);
- enterScope(tokPtr, true, StCtrl);
- m_blockstack.top().nest = NestFunction;
- return;
- }
- }
- parseError(fL1S("%1(function) requires one literal argument.").arg(*defName));
- return;
- } else if (m_tmp == statics.strreturn) {
- if (argc > 1) {
- parseError(fL1S("return() requires zero or one argument."));
- bogusTest(tokPtr);
- return;
- }
- defType = TokReturn;
- nest = NestFunction;
- goto ctrlstm2;
- } else if (m_tmp == statics.strnext) {
- defType = TokNext;
- goto ctrlstm;
- } else if (m_tmp == statics.strbreak) {
- defType = TokBreak;
- ctrlstm:
- if (*uce != TokFuncTerminator) {
- parseError(fL1S("%1() requires zero arguments.").arg(m_tmp));
- bogusTest(tokPtr);
- return;
- }
- nest = NestLoop;
- ctrlstm2:
- if (m_invert) {
- parseError(fL1S("Unexpected NOT operator in front of %1().").arg(m_tmp));
- bogusTest(tokPtr);
- return;
- }
- if (!(m_blockstack.top().nest & nest)) {
- parseError(fL1S("Unexpected %1().").arg(m_tmp));
- bogusTest(tokPtr);
- return;
- }
- finalizeTest(tokPtr);
- putBlock(tokPtr, uce, ptr - uce - 1); // Only for TokReturn
- putTok(tokPtr, defType);
- return;
- } else if (m_tmp == statics.stroption) {
- if (m_state != StNew || m_blockstack.top().braceLevel || m_blockstack.size() > 1
- || m_invert || m_operator != NoOperator) {
- parseError(fL1S("option() must appear outside any control structures."));
- bogusTest(tokPtr);
- return;
- }
- if (*uce == (TokLiteral|TokNewStr)) {
- uint nlen = uce[1];
- if (uce[nlen + 2] == TokFuncTerminator) {
- m_tmp.setRawData((QChar *)uce + 2, nlen);
- if (m_tmp == statics.strhost_build) {
- m_proFile->setHostBuild(true);
- } else {
- parseError(fL1S("Unknown option() %1.").arg(m_tmp));
- }
- return;
- }
- }
- parseError(fL1S("option() requires one literal argument."));
- return;
- }
- }
- }
-
- finalizeTest(tokPtr);
- putBlock(tokPtr, uc, ptr - uc);
-}
-
-bool QMakeParser::resolveVariable(ushort *xprPtr, int tlen, int needSep, ushort **ptr,
- ushort **buf, QString *xprBuff,
- ushort **tokPtr, QString *tokBuff,
- const ushort *cur, const QString &in)
-{
- QString out;
- m_tmp.setRawData((const QChar *)xprPtr, tlen);
- if (m_tmp == statics.strLINE) {
- out.setNum(m_lineNo);
- } else if (m_tmp == statics.strFILE) {
- out = m_proFile->fileName();
- // The string is typically longer than the variable reference, so we need
- // to ensure that there is enough space in the output buffer - as unlikely
- // as an overflow is to actually happen in practice.
- int need = (in.length() - (cur - (const ushort *)in.constData()) + 2) * 5 + out.length();
- int tused = *tokPtr - (ushort *)tokBuff->constData();
- int xused;
- int total;
- bool ptrFinal = xprPtr >= (ushort *)tokBuff->constData()
- && xprPtr < (ushort *)tokBuff->constData() + tokBuff->capacity();
- if (ptrFinal) {
- xused = xprPtr - (ushort *)tokBuff->constData();
- total = xused + need;
- } else {
- xused = xprPtr - *buf;
- total = tused + xused + need;
- }
- if (tokBuff->capacity() < total) {
- tokBuff->reserve(total);
- *tokPtr = (ushort *)tokBuff->constData() + tused;
- xprBuff->reserve(total);
- *buf = (ushort *)xprBuff->constData();
- xprPtr = (ptrFinal ? (ushort *)tokBuff->constData() : *buf) + xused;
- }
- } else if (m_tmp == statics.strLITERAL_HASH) {
- out = QLatin1String("#");
- } else if (m_tmp == statics.strLITERAL_DOLLAR) {
- out = QLatin1String("$");
- } else if (m_tmp == statics.strLITERAL_WHITESPACE) {
- out = QLatin1String("\t");
- } else {
- return false;
- }
- xprPtr -= 2; // Was set up for variable reference
- xprPtr[-2] = TokLiteral | needSep;
- xprPtr[-1] = out.length();
- memcpy(xprPtr, out.constData(), out.length() * 2);
- *ptr = xprPtr + out.length();
- return true;
-}
-
-void QMakeParser::message(int type, const QString &msg) const
-{
- if (!m_inError && m_handler)
- m_handler->message(type, msg, m_proFile->fileName(), m_lineNo);
-}
-
-QT_END_NAMESPACE
diff --git a/tools/qmakefilereader/evaluator/qmakeparser.h b/tools/qmakefilereader/evaluator/qmakeparser.h
deleted file mode 100644
index 23ae558e..00000000
--- a/tools/qmakefilereader/evaluator/qmakeparser.h
+++ /dev/null
@@ -1,210 +0,0 @@
-/****************************************************************************
-**
-** Copyright (C) 2016 The Qt Company Ltd.
-** Contact: https://www.qt.io/licensing/
-**
-** This file is part of the Qt VS Add-in.
-**
-** $QT_BEGIN_LICENSE:GPL-EXCEPT$
-** Commercial License Usage
-** Licensees holding valid commercial Qt licenses may use this file in
-** accordance with the commercial license agreement provided with the
-** Software or, alternatively, in accordance with the terms contained in
-** a written agreement between you and The Qt Company. For licensing terms
-** and conditions see https://www.qt.io/terms-conditions. For further
-** information use the contact form at https://www.qt.io/contact-us.
-**
-** GNU General Public License Usage
-** Alternatively, this file may be used under the terms of the GNU
-** General Public License version 3 as published by the Free Software
-** Foundation with exceptions as appearing in the file LICENSE.GPL3-EXCEPT
-** included in the packaging of this file. Please review the following
-** information to ensure the GNU General Public License requirements will
-** be met: https://www.gnu.org/licenses/gpl-3.0.html.
-**
-** $QT_END_LICENSE$
-**
-****************************************************************************/
-
-#ifndef QMAKEPARSER_H
-#define QMAKEPARSER_H
-
-#include "qmake_global.h"
-#include "proitems.h"
-
-#include <qhash.h>
-#include <qstack.h>
-#ifdef PROPARSER_THREAD_SAFE
-# include <qmutex.h>
-# include <qwaitcondition.h>
-#endif
-
-QT_BEGIN_NAMESPACE
-class QMAKE_EXPORT QMakeParserHandler
-{
-public:
- enum {
- CategoryMask = 0xf00,
- WarningMessage = 0x000,
- ErrorMessage = 0x100,
-
- SourceMask = 0xf0,
- SourceParser = 0,
-
- CodeMask = 0xf,
- WarnLanguage = 0,
- WarnDeprecated,
-
- ParserWarnLanguage = SourceParser | WarningMessage | WarnLanguage,
- ParserWarnDeprecated = SourceParser | WarningMessage | WarnDeprecated,
-
- ParserIoError = ErrorMessage | SourceParser,
- ParserError
- };
- virtual void message(int type, const QString &msg,
- const QString &fileName = QString(), int lineNo = 0) = 0;
-};
-
-class ProFileCache;
-
-class QMAKE_EXPORT QMakeParser
-{
-public:
- // Call this from a concurrency-free context
- static void initialize();
-
- QMakeParser(ProFileCache *cache, QMakeParserHandler *handler);
-
- enum SubGrammar { FullGrammar, TestGrammar, ValueGrammar };
- // fileName is expected to be absolute and cleanPath()ed.
- ProFile *parsedProFile(const QString &fileName, bool cache = false);
- ProFile *parsedProBlock(const QString &contents, const QString &name, int line = 0,
- SubGrammar grammar = FullGrammar);
-
- void discardFileFromCache(const QString &fileName);
-
-private:
- enum ScopeNesting {
- NestNone = 0,
- NestLoop = 1,
- NestFunction = 2
- };
-
- struct BlockScope {
- BlockScope() : start(0), braceLevel(0), special(false), inBranch(false), nest(NestNone) {}
- BlockScope(const BlockScope &other) { *this = other; }
- ushort *start; // Where this block started; store length here
- int braceLevel; // Nesting of braces in scope
- bool special; // Single-line conditionals inside loops, etc. cannot have else branches
- bool inBranch; // The 'else' branch of the previous TokBranch is still open
- uchar nest; // Into what control structures we are nested
- };
-
- enum ScopeState {
- StNew, // Fresh scope
- StCtrl, // Control statement (for or else) met on current line
- StCond // Conditionals met on current line
- };
-
- enum Context { CtxTest, CtxValue, CtxPureValue, CtxArgs };
- struct ParseCtx {
- int parens; // Nesting of non-functional parentheses
- int argc; // Number of arguments in current function call
- int wordCount; // Number of words in current expression
- Context context;
- ushort quote; // Enclosing quote type
- ushort terminator; // '}' if replace function call is braced, ':' if test function
- };
-
- bool read(ProFile *pro);
- bool read(ProFile *pro, const QString &content, int line, SubGrammar grammar);
-
- ALWAYS_INLINE void putTok(ushort *&tokPtr, ushort tok);
- ALWAYS_INLINE void putBlockLen(ushort *&tokPtr, uint len);
- ALWAYS_INLINE void putBlock(ushort *&tokPtr, const ushort *buf, uint len);
- void putHashStr(ushort *&pTokPtr, const ushort *buf, uint len);
- void finalizeHashStr(ushort *buf, uint len);
- void putLineMarker(ushort *&tokPtr);
- ALWAYS_INLINE bool resolveVariable(ushort *xprPtr, int tlen, int needSep, ushort **ptr,
- ushort **buf, QString *xprBuff,
- ushort **tokPtr, QString *tokBuff,
- const ushort *cur, const QString &in);
- void finalizeCond(ushort *&tokPtr, ushort *uc, ushort *ptr, int wordCount);
- void finalizeCall(ushort *&tokPtr, ushort *uc, ushort *ptr, int argc);
- void finalizeTest(ushort *&tokPtr);
- void bogusTest(ushort *&tokPtr);
- void enterScope(ushort *&tokPtr, bool special, ScopeState state);
- void leaveScope(ushort *&tokPtr);
- void flushCond(ushort *&tokPtr);
- void flushScopes(ushort *&tokPtr);
-
- void message(int type, const QString &msg) const;
- void parseError(const QString &msg) const
- { message(QMakeParserHandler::ParserError, msg); }
- void languageWarning(const QString &msg) const
- { message(QMakeParserHandler::ParserWarnLanguage, msg); }
- void deprecationWarning(const QString &msg) const
- { message(QMakeParserHandler::ParserWarnDeprecated, msg); }
-
- // Current location
- ProFile *m_proFile;
- int m_lineNo;
-
- QStack<BlockScope> m_blockstack;
- ScopeState m_state;
- int m_markLine; // Put marker for this line
- bool m_inError; // Current line had a parsing error; suppress followup error messages
- bool m_canElse; // Conditionals met on previous line, but no scope was opened
- bool m_invert; // Pending conditional is negated
- enum { NoOperator, AndOperator, OrOperator } m_operator; // Pending conditional is ORed/ANDed
-
- QString m_tmp; // Temporary for efficient toQString
-
- ProFileCache *m_cache;
- QMakeParserHandler *m_handler;
-
- // This doesn't help gcc 3.3 ...
- template<typename T> friend class QTypeInfo;
-
- friend class ProFileCache;
-};
-
-class QMAKE_EXPORT ProFileCache
-{
-public:
- ProFileCache() {}
- ~ProFileCache();
-
- void discardFile(const QString &fileName);
- void discardFiles(const QString &prefix);
-
-private:
- struct Entry {
- ProFile *pro;
-#ifdef PROPARSER_THREAD_SAFE
- struct Locker {
- Locker() : waiters(0), done(false) {}
- QWaitCondition cond;
- int waiters;
- bool done;
- };
- Locker *locker;
-#endif
- };
-
- QHash<QString, Entry> parsed_files;
-#ifdef PROPARSER_THREAD_SAFE
- QMutex mutex;
-#endif
-
- friend class QMakeParser;
-};
-
-#if !defined(__GNUC__) || __GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ > 3)
-Q_DECLARE_TYPEINFO(QMakeParser::BlockScope, Q_MOVABLE_TYPE);
-Q_DECLARE_TYPEINFO(QMakeParser::Context, Q_PRIMITIVE_TYPE);
-#endif
-
-QT_END_NAMESPACE
-
-#endif // PROFILEPARSER_H
diff --git a/tools/qmakefilereader/main.cpp b/tools/qmakefilereader/main.cpp
deleted file mode 100644
index 923699ba..00000000
--- a/tools/qmakefilereader/main.cpp
+++ /dev/null
@@ -1,87 +0,0 @@
-/****************************************************************************
-**
-** Copyright (C) 2016 The Qt Company Ltd.
-** Contact: https://www.qt.io/licensing/
-**
-** This file is part of the Qt VS Add-in.
-**
-** $QT_BEGIN_LICENSE:GPL-EXCEPT$
-** Commercial License Usage
-** Licensees holding valid commercial Qt licenses may use this file in
-** accordance with the commercial license agreement provided with the
-** Software or, alternatively, in accordance with the terms contained in
-** a written agreement between you and The Qt Company. For licensing terms
-** and conditions see https://www.qt.io/terms-conditions. For further
-** information use the contact form at https://www.qt.io/contact-us.
-**
-** GNU General Public License Usage
-** Alternatively, this file may be used under the terms of the GNU
-** General Public License version 3 as published by the Free Software
-** Foundation with exceptions as appearing in the file LICENSE.GPL3-EXCEPT
-** included in the packaging of this file. Please review the following
-** information to ensure the GNU General Public License requirements will
-** be met: https://www.gnu.org/licenses/gpl-3.0.html.
-**
-** $QT_END_LICENSE$
-**
-****************************************************************************/
-
-#include "qmakedataprovider.h"
-#include <QCoreApplication>
-#include <QStringList>
-#include <QFileInfo>
-#include <QXmlStreamWriter>
-
-QString toString(bool b)
-{
- return b ? QStringLiteral("true") : QStringLiteral("false");
-}
-
-int main(int argc, char *argv[])
-{
- if (argc < 3) {
- fputs("Usage: qmakefilereader <QtDir> <filePath>\n", stderr);
- return -1;
- }
-
- QCoreApplication app(argc, argv);
- const QStringList args = app.arguments();
- const QString qtDir = args.at(1);
- const QString filePath = QFileInfo(args.at(2)).absoluteFilePath();
-
- QMakeDataProvider dataProvider;
- dataProvider.setQtDir(qtDir);
- if (!dataProvider.readFile(filePath))
- return 1;
-
- QFile fout;
- if (!fout.open(stdout, QFile::WriteOnly))
- return 2;
-
- QXmlStreamWriter stream(&fout);
- stream.setAutoFormatting(true);
- stream.writeStartDocument();
- stream.writeStartElement("content");
- stream.writeAttribute("valid", toString(dataProvider.isValid()));
- stream.writeAttribute("flat", toString(dataProvider.isFlat()));
- stream.writeStartElement("SOURCES");
- foreach (const QString &str, dataProvider.getSourceFiles())
- stream.writeTextElement("file", str);
- stream.writeEndElement();
- stream.writeStartElement("HEADERS");
- foreach (const QString &str, dataProvider.getHeaderFiles())
- stream.writeTextElement("file", str);
- stream.writeEndElement();
- stream.writeStartElement("RESOURCES");
- foreach (const QString &str, dataProvider.getResourceFiles())
- stream.writeTextElement("file", str);
- stream.writeEndElement();
- stream.writeStartElement("FORMS");
- foreach (const QString &str, dataProvider.getFormFiles())
- stream.writeTextElement("file", str);
- stream.writeEndElement();
- stream.writeEndElement(); // content
- stream.writeEndDocument();
- return 0;
-}
-
diff --git a/tools/qmakefilereader/qmakedataprovider.cpp b/tools/qmakefilereader/qmakedataprovider.cpp
deleted file mode 100644
index ffdb66b8..00000000
--- a/tools/qmakefilereader/qmakedataprovider.cpp
+++ /dev/null
@@ -1,142 +0,0 @@
-/****************************************************************************
-**
-** Copyright (C) 2016 The Qt Company Ltd.
-** Contact: https://www.qt.io/licensing/
-**
-** This file is part of the Qt VS Add-in.
-**
-** $QT_BEGIN_LICENSE:GPL-EXCEPT$
-** Commercial License Usage
-** Licensees holding valid commercial Qt licenses may use this file in
-** accordance with the commercial license agreement provided with the
-** Software or, alternatively, in accordance with the terms contained in
-** a written agreement between you and The Qt Company. For licensing terms
-** and conditions see https://www.qt.io/terms-conditions. For further
-** information use the contact form at https://www.qt.io/contact-us.
-**
-** GNU General Public License Usage
-** Alternatively, this file may be used under the terms of the GNU
-** General Public License version 3 as published by the Free Software
-** Foundation with exceptions as appearing in the file LICENSE.GPL3-EXCEPT
-** included in the packaging of this file. Please review the following
-** information to ensure the GNU General Public License requirements will
-** be met: https://www.gnu.org/licenses/gpl-3.0.html.
-**
-** $QT_END_LICENSE$
-**
-****************************************************************************/
-
-#include "qmakedataprovider.h"
-#include "evalhandler.h"
-#include <qmakeevaluator.h>
-#include <qmakeglobals.h>
-#include <QtCore/QFileInfo>
-#include <QtCore/QList>
-#include <QtCore/QPair>
-
-class QMakeDataProviderPrivate
-{
-public:
- QStringList m_headerFiles;
- QStringList m_sourceFiles;
- QStringList m_resourceFiles;
- QStringList m_formFiles;
- typedef QPair<QStringList *, ProKey> Mapping;
- QList<Mapping> m_variableMappings;
- bool m_valid;
- bool m_flat;
- QString m_qtdir;
-
- QMakeDataProviderPrivate()
- {
- m_variableMappings
- << qMakePair(&m_headerFiles, ProKey("HEADERS"))
- << qMakePair(&m_sourceFiles, ProKey("SOURCES"))
- << qMakePair(&m_resourceFiles, ProKey("RESOURCES"))
- << qMakePair(&m_formFiles, ProKey("FORMS"));
- }
-
- bool readFile(const QString &fileName)
- {
- QFileInfo fi(fileName);
- if (fi.isRelative())
- qWarning("qmakewrapper: expecting an absolute filename.");
-
- m_headerFiles.clear();
- m_sourceFiles.clear();
- m_resourceFiles.clear();
- m_formFiles.clear();
- m_valid = false;
- m_flat = true;
-
- QMakeGlobals globals;
- ProFileCache proFileCache;
- EvalHandler handler;
- QMakeParser parser(&proFileCache, &handler);
- QMakeEvaluator evaluator(&globals, &parser, &handler);
- if (evaluator.evaluateFile(fileName, QMakeHandler::EvalProjectFile,
- QMakeEvaluator::LoadProOnly) != QMakeEvaluator::ReturnTrue)
- {
- qWarning("qmakewrapper: failed to parse %s", qPrintable(fileName));
- return false;
- }
-
- m_valid = true;
- m_flat = evaluator.isActiveConfig(QStringLiteral("flat"));
-
- foreach (const Mapping &mapping, m_variableMappings)
- *mapping.first = evaluator.values(mapping.second).toQStringList();
-
- return true;
- }
-};
-
-QMakeDataProvider::QMakeDataProvider()
- : d(new QMakeDataProviderPrivate())
-{
-}
-
-QMakeDataProvider::~QMakeDataProvider()
-{
- delete d;
-}
-
-bool QMakeDataProvider::readFile(const QString &fileName)
-{
- return d->readFile(fileName);
-}
-
-void QMakeDataProvider::setQtDir(const QString &qtdir)
-{
- d->m_qtdir = qtdir;
-}
-
-QStringList QMakeDataProvider::getFormFiles() const
-{
- return d->m_formFiles;
-}
-
-QStringList QMakeDataProvider::getHeaderFiles() const
-{
- return d->m_headerFiles;
-}
-
-QStringList QMakeDataProvider::getResourceFiles() const
-{
- return d->m_resourceFiles;
-}
-
-QStringList QMakeDataProvider::getSourceFiles() const
-{
- return d->m_sourceFiles;
-}
-
-bool QMakeDataProvider::isFlat() const
-{
- return d->m_flat;
-}
-
-bool QMakeDataProvider::isValid() const
-{
- return d->m_valid;
-}
diff --git a/tools/qmakefilereader/qmakedataprovider.h b/tools/qmakefilereader/qmakedataprovider.h
deleted file mode 100644
index bce2ada8..00000000
--- a/tools/qmakefilereader/qmakedataprovider.h
+++ /dev/null
@@ -1,56 +0,0 @@
-/****************************************************************************
-**
-** Copyright (C) 2016 The Qt Company Ltd.
-** Contact: https://www.qt.io/licensing/
-**
-** This file is part of the Qt VS Add-in.
-**
-** $QT_BEGIN_LICENSE:GPL-EXCEPT$
-** Commercial License Usage
-** Licensees holding valid commercial Qt licenses may use this file in
-** accordance with the commercial license agreement provided with the
-** Software or, alternatively, in accordance with the terms contained in
-** a written agreement between you and The Qt Company. For licensing terms
-** and conditions see https://www.qt.io/terms-conditions. For further
-** information use the contact form at https://www.qt.io/contact-us.
-**
-** GNU General Public License Usage
-** Alternatively, this file may be used under the terms of the GNU
-** General Public License version 3 as published by the Free Software
-** Foundation with exceptions as appearing in the file LICENSE.GPL3-EXCEPT
-** included in the packaging of this file. Please review the following
-** information to ensure the GNU General Public License requirements will
-** be met: https://www.gnu.org/licenses/gpl-3.0.html.
-**
-** $QT_END_LICENSE$
-**
-****************************************************************************/
-
-#ifndef QMAKEDATAPROVIDER_H
-#define QMAKEDATAPROVIDER_H
-
-#include <QtCore/QString>
-#include <QtCore/QStringList>
-
-class QMakeDataProviderPrivate;
-
-class QMakeDataProvider {
-
- QMakeDataProviderPrivate * const d;
-
-public:
- QMakeDataProvider();
- ~QMakeDataProvider();
-
- bool readFile(const QString &fileName);
- void setQtDir(const QString &qtdir);
- QStringList getFormFiles() const;
- QStringList getHeaderFiles() const;
- QStringList getResourceFiles() const;
- QStringList getSourceFiles() const;
- bool isFlat() const;
- bool isValid() const;
-};
-
-#endif // QMAKEDATAPROVIDER_H
-
diff --git a/tools/qmakefilereader/qmakefilereader.pri b/tools/qmakefilereader/qmakefilereader.pri
deleted file mode 100644
index 350c7703..00000000
--- a/tools/qmakefilereader/qmakefilereader.pri
+++ /dev/null
@@ -1,25 +0,0 @@
-QMAKE_PARSER_DIR=$$PWD/evaluator
-
-INCLUDEPATH += \
- $$QMAKE_PARSER_DIR
-
-HEADERS += \
- $$PWD/evalhandler.h \
- $$PWD/qmakedataprovider.h \
- $$QMAKE_PARSER_DIR/ioutils.h \
- $$QMAKE_PARSER_DIR/proitems.h \
- $$QMAKE_PARSER_DIR/qmakeevaluator.h \
- $$QMAKE_PARSER_DIR/qmakeevaluator_p.h \
- $$QMAKE_PARSER_DIR/qmakeglobals.h \
- $$QMAKE_PARSER_DIR/qmakeparser.h \
- $$QMAKE_PARSER_DIR/qmake_global.h
-
-SOURCES += \
- $$PWD/evalhandler.cpp \
- $$PWD/qmakedataprovider.cpp \
- $$QMAKE_PARSER_DIR/ioutils.cpp \
- $$QMAKE_PARSER_DIR/proitems.cpp \
- $$QMAKE_PARSER_DIR/qmakebuiltins.cpp \
- $$QMAKE_PARSER_DIR/qmakeevaluator.cpp \
- $$QMAKE_PARSER_DIR/qmakeglobals.cpp \
- $$QMAKE_PARSER_DIR/qmakeparser.cpp
diff --git a/tools/qmakefilereader/qmakefilereader.pro b/tools/qmakefilereader/qmakefilereader.pro
deleted file mode 100644
index 5aeb9b5b..00000000
--- a/tools/qmakefilereader/qmakefilereader.pro
+++ /dev/null
@@ -1,16 +0,0 @@
-QT -= gui
-CONFIG += console
-TARGET = qmakefilereader
-
-CONFIG(debug, debug|release) {
- DESTDIR = ../../Qt4VS2003/Qt4VSAddin/Debug
-}
-
-CONFIG(release, debug|release) {
- DESTDIR = ../../Qt4VS2003/Qt4VSAddin/Release
-}
-
-SOURCES += \
- main.cpp
-
-include(qmakefilereader.pri)
diff --git a/tools/qrceditor/main.cpp b/tools/qrceditor/main.cpp
deleted file mode 100644
index 9f8fe221..00000000
--- a/tools/qrceditor/main.cpp
+++ /dev/null
@@ -1,40 +0,0 @@
-/****************************************************************************
-**
-** Copyright (C) 2016 The Qt Company Ltd.
-** Contact: https://www.qt.io/licensing/
-**
-** This file is part of the Qt VS Add-in.
-**
-** $QT_BEGIN_LICENSE:GPL-EXCEPT$
-** Commercial License Usage
-** Licensees holding valid commercial Qt licenses may use this file in
-** accordance with the commercial license agreement provided with the
-** Software or, alternatively, in accordance with the terms contained in
-** a written agreement between you and The Qt Company. For licensing terms
-** and conditions see https://www.qt.io/terms-conditions. For further
-** information use the contact form at https://www.qt.io/contact-us.
-**
-** GNU General Public License Usage
-** Alternatively, this file may be used under the terms of the GNU
-** General Public License version 3 as published by the Free Software
-** Foundation with exceptions as appearing in the file LICENSE.GPL3-EXCEPT
-** included in the packaging of this file. Please review the following
-** information to ensure the GNU General Public License requirements will
-** be met: https://www.gnu.org/licenses/gpl-3.0.html.
-**
-** $QT_END_LICENSE$
-**
-****************************************************************************/
-
-#include "qrceditor.h"
-#include "mainwindow.h"
-
-int main(int argc, char *argv[])
-{
- QApplication app(argc, argv);
- MainWindow mw;
- mw.show();
- if (argc == 2)
- mw.openFile(argv[1]);
- return app.exec();
-}
diff --git a/tools/qrceditor/mainwindow.cpp b/tools/qrceditor/mainwindow.cpp
deleted file mode 100644
index 8efc12ac..00000000
--- a/tools/qrceditor/mainwindow.cpp
+++ /dev/null
@@ -1,229 +0,0 @@
-/****************************************************************************
-**
-** Copyright (C) 2016 The Qt Company Ltd.
-** Contact: https://www.qt.io/licensing/
-**
-** This file is part of the Qt VS Add-in.
-**
-** $QT_BEGIN_LICENSE:GPL-EXCEPT$
-** Commercial License Usage
-** Licensees holding valid commercial Qt licenses may use this file in
-** accordance with the commercial license agreement provided with the
-** Software or, alternatively, in accordance with the terms contained in
-** a written agreement between you and The Qt Company. For licensing terms
-** and conditions see https://www.qt.io/terms-conditions. For further
-** information use the contact form at https://www.qt.io/contact-us.
-**
-** GNU General Public License Usage
-** Alternatively, this file may be used under the terms of the GNU
-** General Public License version 3 as published by the Free Software
-** Foundation with exceptions as appearing in the file LICENSE.GPL3-EXCEPT
-** included in the packaging of this file. Please review the following
-** information to ensure the GNU General Public License requirements will
-** be met: https://www.gnu.org/licenses/gpl-3.0.html.
-**
-** $QT_END_LICENSE$
-**
-****************************************************************************/
-
-#include "mainwindow.h"
-#include "qrceditor.h"
-
-#include <QAction>
-#include <QDebug>
-#include <QFileDialog>
-#include <QMenuBar>
-#include <QStatusBar>
-#include <QVBoxLayout>
-#include <QMessageBox>
-#include <QToolBar>
-#include <QProcess>
-
-#include <windows.h>
-#include <Tlhelp32.h>
-
-MainWindow::MainWindow() :
- m_qrcEditor(new SharedTools::QrcEditor())
-{
- m_qrcEditor->setResourceDragEnabled(true);
- setWindowTitle(tr("Qt Resource Editor"));
- QMenu* fMenu = menuBar()->addMenu(tr("&File"));
- QToolBar* tb = new QToolBar("Title", this);
- tb->setMovable(false);
- addToolBar(Qt::TopToolBarArea, tb);
-
- QAction* oa = fMenu->addAction(tr("&Open..."));
- oa->setShortcut(tr("Ctrl+O", "File|Open"));
- oa->setIcon(style()->standardIcon(QStyle::SP_DialogOpenButton));
- tb->addAction(oa);
- connect(oa, SIGNAL(triggered()), this, SLOT(slotOpen()));
-
- QAction* sa = fMenu->addAction(tr("&Save"));
- sa->setShortcut(tr("Ctrl+S", "File|Save"));
- sa->setIcon(style()->standardIcon(QStyle::SP_DialogSaveButton));
- tb->addAction(sa);
- connect(sa, SIGNAL(triggered()), this, SLOT(slotSave()));
-
- fMenu->addSeparator();
-
- QAction* xa = fMenu->addAction(tr("E&xit"));
- xa->setIcon(style()->standardIcon(QStyle::SP_DialogCloseButton));
- connect(xa, SIGNAL(triggered()), this, SLOT(close()));
-
- QMenu* hMenu = menuBar()->addMenu(tr("&Help"));
- QAction* actionAbout = hMenu->addAction(tr("&About"));
- connect(actionAbout, SIGNAL(triggered()), this, SLOT(slotAbout()));
-
- QAction* actionAboutQt = hMenu->addAction(tr("A&bout Qt"));
- connect(actionAboutQt, SIGNAL(triggered()), this, SLOT(slotAboutQt()));
-
- QWidget *cw = new QWidget();
- setCentralWidget(cw);
- QVBoxLayout *lt = new QVBoxLayout(cw);
- lt->addWidget(m_qrcEditor);
- setMinimumSize(QSize(500, 500));
-}
-
-void MainWindow::openFile(QString fileName)
-{
- if (fileName.isEmpty())
- return;
-
- if (m_qrcEditor->isDirty()) {
- int ret = fileChangedDialog();
- switch (ret) {
- case QMessageBox::Yes:
- slotSave();
- case QMessageBox::No:
- break;
- default:
- return;
- break;
- }
- }
-
- if (m_qrcEditor->load(fileName)) {
- statusBar()->showMessage(tr("%1 opened").arg(fileName));
- QFileInfo fi(fileName);
- setWindowTitle(tr("Qt Resource Editor") + " - " + fi.fileName());
- }
- else
- statusBar()->showMessage(tr("Unable to open %1!").arg(fileName));
-}
-
-void MainWindow::slotOpen()
-{
- const QString fileName = QFileDialog::getOpenFileName(this, tr("Choose resource file"),
- QString(),
- tr("Resource files (*.qrc)"));
- this->openFile(fileName);
-}
-
-void MainWindow::slotSave()
-{
- const QString oldFileName = m_qrcEditor->fileName();
- QString fileName = oldFileName;
-
- if (fileName.isEmpty()) {
- fileName = QFileDialog::getSaveFileName(this, tr("Save resource file"),
- QString(),
- tr("Resource files (*.qrc)"));
- if (fileName.isEmpty())
- return;
- }
-
- m_qrcEditor->setFileName(fileName);
- if (m_qrcEditor->save()) {
- statusBar()->showMessage(tr("%1 written").arg(fileName));
- sendFileNameToQtAppWrapper();
- } else {
- statusBar()->showMessage(tr("Unable to write %1!").arg(fileName));
- m_qrcEditor->setFileName(oldFileName);
- }
-}
-
-void MainWindow::slotAbout()
-{
- QMessageBox::about(this, tr("About Qt Resource Editor"),
- tr("Qt Resource Editor") + "\n\n" + tr("Copyright (C) 2016 The Qt Company Ltd."));
-}
-
-void MainWindow::slotAboutQt()
-{
- QMessageBox::aboutQt(this);
-}
-
-void MainWindow::closeEvent(QCloseEvent *e)
-{
- if (m_qrcEditor->isDirty()) {
- int ret = fileChangedDialog();
- switch (ret) {
- case QMessageBox::Yes:
- slotSave();
- case QMessageBox::No:
- QMainWindow::close();
- break;
- default:
- e->ignore();
- return;
- break;
- }
- }
- e->accept();
-}
-
-int MainWindow::fileChangedDialog()
-{
- QMessageBox message(this);
- message.setText(tr("The .qrc file has been modified."));
- message.setWindowTitle("Qt Resource Editor");
- message.setInformativeText(tr("Do you want the changes to be saved?"));
- message.setStandardButtons(QMessageBox::Yes | QMessageBox::No | QMessageBox::Cancel);
- message.setDefaultButton(QMessageBox::Yes);
- return message.exec();
-}
-
-void MainWindow::sendFileNameToQtAppWrapper()
-{
- if (m_qtAppWrapperPath.isNull()) {
- // Try to find qtappwrapper.exe
- m_qtAppWrapperPath = QCoreApplication::applicationDirPath();
- m_qtAppWrapperPath += QLatin1String("/qtappwrapper.exe");
- if (!QFile::exists(m_qtAppWrapperPath)) {
- m_qtAppWrapperPath.clear();
- qWarning("Can't locate qtappwrapper.exe.");
- return;
- }
- }
-
- if (m_devenvPIDArg.isNull()) {
- HANDLE hSnapShot = CreateToolhelp32Snapshot(TH32CS_SNAPPROCESS, 0);
- if (hSnapShot == INVALID_HANDLE_VALUE) {
- qWarning("CreateToolhelp32Snapshot failed.");
- return;
- }
- BOOL bSuccess;
- const DWORD dwThisPID = QCoreApplication::applicationPid();
- PROCESSENTRY32 processEntry;
- processEntry.dwSize = sizeof(processEntry);
- bSuccess = Process32First(hSnapShot, &processEntry);
- while (bSuccess) {
- if (processEntry.th32ProcessID == dwThisPID) {
- m_devenvPIDArg = QLatin1String("-pid ");
- m_devenvPIDArg += QString::number(processEntry.th32ParentProcessID);
- break;
- }
- bSuccess = Process32Next(hSnapShot, &processEntry);
- }
- CloseHandle(hSnapShot);
-
- if (m_devenvPIDArg.isNull()) {
- qWarning("Couldn't determine parent's process id.");
- return;
- }
- }
-
- if (!QProcess::startDetached(m_qtAppWrapperPath, QStringList() << m_qrcEditor->fileName() << m_devenvPIDArg)) {
- qWarning("Couldn't start qtappwrapper.exe.");
- }
-}
diff --git a/tools/qrceditor/mainwindow.h b/tools/qrceditor/mainwindow.h
deleted file mode 100644
index 3bf7d749..00000000
--- a/tools/qrceditor/mainwindow.h
+++ /dev/null
@@ -1,67 +0,0 @@
-/****************************************************************************
-**
-** Copyright (C) 2016 The Qt Company Ltd.
-** Contact: https://www.qt.io/licensing/
-**
-** This file is part of the Qt VS Add-in.
-**
-** $QT_BEGIN_LICENSE:GPL-EXCEPT$
-** Commercial License Usage
-** Licensees holding valid commercial Qt licenses may use this file in
-** accordance with the commercial license agreement provided with the
-** Software or, alternatively, in accordance with the terms contained in
-** a written agreement between you and The Qt Company. For licensing terms
-** and conditions see https://www.qt.io/terms-conditions. For further
-** information use the contact form at https://www.qt.io/contact-us.
-**
-** GNU General Public License Usage
-** Alternatively, this file may be used under the terms of the GNU
-** General Public License version 3 as published by the Free Software
-** Foundation with exceptions as appearing in the file LICENSE.GPL3-EXCEPT
-** included in the packaging of this file. Please review the following
-** information to ensure the GNU General Public License requirements will
-** be met: https://www.gnu.org/licenses/gpl-3.0.html.
-**
-** $QT_END_LICENSE$
-**
-****************************************************************************/
-
-#ifndef MAINWINDOW_H
-#define MAINWINDOW_H
-
-#include <QMainWindow>
-#include <QString>
-#include <QCloseEvent>
-
-namespace SharedTools {
- class QrcEditor;
-}
-
-class MainWindow : public QMainWindow
-{
- Q_OBJECT
-
-public:
- MainWindow();
- void openFile(QString fileName);
-
-protected:
- void closeEvent(QCloseEvent *e);
-
-private slots:
- void slotOpen();
- void slotSave();
- void slotAbout();
- void slotAboutQt();
-
-private:
- int fileChangedDialog();
- void sendFileNameToQtAppWrapper();
-
-private:
- SharedTools::QrcEditor *m_qrcEditor;
- QString m_qtAppWrapperPath;
- QString m_devenvPIDArg;
-};
-
-#endif // MAINWINDOW_H
diff --git a/tools/qrceditor/qrceditor.ico b/tools/qrceditor/qrceditor.ico
deleted file mode 100644
index 26425ea5..00000000
--- a/tools/qrceditor/qrceditor.ico
+++ /dev/null
Binary files differ
diff --git a/tools/qrceditor/qrceditor.pro b/tools/qrceditor/qrceditor.pro
deleted file mode 100644
index 78c736b8..00000000
--- a/tools/qrceditor/qrceditor.pro
+++ /dev/null
@@ -1,20 +0,0 @@
-TEMPLATE = app
-QT += gui widgets
-
-include(./shared/qrceditor.pri)
-SOURCES += main.cpp mainwindow.cpp
-HEADERS += mainwindow.h
-
-win32 {
- RC_FILE = qrceditor.rc
-}
-
-CONFIG(debug, debug|release) {
- DESTDIR = ../../Qt4VS2003/Qt4VSAddin/Debug
-}
-
-CONFIG(release, debug|release) {
- DESTDIR = ../../Qt4VS2003/Qt4VSAddin/Release
-}
-
-TARGET = q5rceditor
diff --git a/tools/qrceditor/qrceditor.rc b/tools/qrceditor/qrceditor.rc
deleted file mode 100644
index 2c419cfe..00000000
--- a/tools/qrceditor/qrceditor.rc
+++ /dev/null
@@ -1 +0,0 @@
-IDI_ICON1 ICON DISCARDABLE "qrceditor.ico"
diff --git a/tools/qrceditor/shared/qrceditor.cpp b/tools/qrceditor/shared/qrceditor.cpp
deleted file mode 100644
index 2935a719..00000000
--- a/tools/qrceditor/shared/qrceditor.cpp
+++ /dev/null
@@ -1,423 +0,0 @@
-/****************************************************************************
-**
-** Copyright (C) 2016 The Qt Company Ltd.
-** Contact: https://www.qt.io/licensing/
-**
-** This file is part of the Qt VS Add-in.
-**
-** $QT_BEGIN_LICENSE:GPL-EXCEPT$
-** Commercial License Usage
-** Licensees holding valid commercial Qt licenses may use this file in
-** accordance with the commercial license agreement provided with the
-** Software or, alternatively, in accordance with the terms contained in
-** a written agreement between you and The Qt Company. For licensing terms
-** and conditions see https://www.qt.io/terms-conditions. For further
-** information use the contact form at https://www.qt.io/contact-us.
-**
-** GNU General Public License Usage
-** Alternatively, this file may be used under the terms of the GNU
-** General Public License version 3 as published by the Free Software
-** Foundation with exceptions as appearing in the file LICENSE.GPL3-EXCEPT
-** included in the packaging of this file. Please review the following
-** information to ensure the GNU General Public License requirements will
-** be met: https://www.gnu.org/licenses/gpl-3.0.html.
-**
-** $QT_END_LICENSE$
-**
-****************************************************************************/
-
-#include "qrceditor.h"
-#include "undocommands_p.h"
-
-#include <QtCore/QDebug>
-#include <QtWidgets/QMenu>
-#include <QtWidgets/QFileDialog>
-#include <QtWidgets/QMessageBox>
-
-using namespace SharedTools;
-
-QrcEditor::QrcEditor(QWidget *parent)
- : QWidget(parent),
- m_treeview(new ResourceView(&m_history)),
- m_addFileAction(0)
-{
- m_ui.setupUi(this);
- QHBoxLayout *layout = new QHBoxLayout;
- layout->setSpacing(0);
- layout->setMargin(0);
- m_ui.centralWidget->setLayout(layout);
-
- m_treeview->enableContextMenu(false);
- layout->addWidget(m_treeview);
- connect(m_ui.removeButton, SIGNAL(clicked()), this, SLOT(onRemove()));
-
- // 'Add' button with menu
- QMenu *addMenu = new QMenu(this);
- m_addFileAction = addMenu->addAction(tr("Add Files"), this, SLOT(onAddFiles()));
- addMenu->addAction(tr("Add Prefix"), this, SLOT(onAddPrefix()));
- m_ui.addButton->setMenu(addMenu);
-
- connect(m_treeview, SIGNAL(addPrefixTriggered()), this, SLOT(onAddPrefix()));
- connect(m_treeview, SIGNAL(addFilesTriggered(QString)), this, SLOT(onAddFiles()));
- connect(m_treeview, SIGNAL(removeItem()), this, SLOT(onRemove()));
- connect(m_treeview, SIGNAL(currentIndexChanged()), this, SLOT(updateCurrent()));
- connect(m_treeview, SIGNAL(dirtyChanged(bool)), this, SIGNAL(dirtyChanged(bool)));
- m_treeview->setFocus();
-
- connect(m_ui.aliasText, SIGNAL(textEdited(QString)),
- this, SLOT(onAliasChanged(QString)));
- connect(m_ui.prefixText, SIGNAL(textEdited(QString)),
- this, SLOT(onPrefixChanged(QString)));
- connect(m_ui.languageText, SIGNAL(textEdited(QString)),
- this, SLOT(onLanguageChanged(QString)));
-
- // Prevent undo command merging after a switch of focus:
- // (0) The initial text is "Green".
- // (1) The user appends " is a color." --> text is "Green is a color."
- // (2) The user clicks into some other line edit --> loss of focus
- // (3) The user gives focuse again and substitutes "Green" with "Red"
- // --> text now is "Red is a color."
- // (4) The user hits undo --> text now is "Green is a color."
- // Without calling advanceMergeId() it would have been "Green", instead.
- connect(m_ui.aliasText, SIGNAL(editingFinished()),
- m_treeview, SLOT(advanceMergeId()));
- connect(m_ui.prefixText, SIGNAL(editingFinished()),
- m_treeview, SLOT(advanceMergeId()));
- connect(m_ui.languageText, SIGNAL(editingFinished()),
- m_treeview, SLOT(advanceMergeId()));
-
- connect(m_treeview, SIGNAL(addFilesTriggered(const QString&)),
- this, SIGNAL(addFilesTriggered(const QString&)));
-
- connect(&m_history, SIGNAL(canRedoChanged(bool)), this, SLOT(updateHistoryControls()));
- connect(&m_history, SIGNAL(canUndoChanged(bool)), this, SLOT(updateHistoryControls()));
- updateHistoryControls();
- updateCurrent();
-}
-
-QrcEditor::~QrcEditor()
-{
-}
-
-QString QrcEditor::fileName() const
-{
- return m_treeview->fileName();
-}
-
-void QrcEditor::setFileName(const QString &fileName)
-{
- m_treeview->setFileName(fileName);
-}
-
-bool QrcEditor::load(const QString &fileName)
-{
- const bool success = m_treeview->load(fileName);
- if (success) {
- // Set "focus"
- m_treeview->setCurrentIndex(m_treeview->model()->index(0,0));
-
- // Expand prefix nodes
- m_treeview->expandAll();
- }
- return success;
-}
-
-bool QrcEditor::save()
-{
- return m_treeview->save();
-}
-
-bool QrcEditor::isDirty()
-{
- return m_treeview->isDirty();
-}
-
-void QrcEditor::setDirty(bool dirty)
-{
- m_treeview->setDirty(dirty);
-}
-
-// Propagates a change of selection in the tree
-// to the alias/prefix/language edit controls
-void QrcEditor::updateCurrent()
-{
- const bool isValid = m_treeview->currentIndex().isValid();
- const bool isPrefix = m_treeview->isPrefix(m_treeview->currentIndex()) && isValid;
- const bool isFile = !isPrefix && isValid;
-
- m_ui.aliasLabel->setEnabled(isFile);
- m_ui.aliasText->setEnabled(isFile);
- m_currentAlias = m_treeview->currentAlias();
- m_ui.aliasText->setText(m_currentAlias);
-
- m_ui.prefixLabel->setEnabled(isPrefix);
- m_ui.prefixText->setEnabled(isPrefix);
- m_currentPrefix = m_treeview->currentPrefix();
- m_ui.prefixText->setText(m_currentPrefix);
-
- m_ui.languageLabel->setEnabled(isPrefix);
- m_ui.languageText->setEnabled(isPrefix);
- m_currentLanguage = m_treeview->currentLanguage();
- m_ui.languageText->setText(m_currentLanguage);
-
- m_ui.urlLabel->setEnabled(isFile);
- m_ui.urlText->setEnabled(isFile);
- if (isFile) {
- QString url = QLatin1String(":");
- url += m_currentPrefix;
- if (!url.endsWith(QLatin1Char('/')))
- url += QLatin1Char('/');
- if (m_currentAlias.isEmpty())
- url += m_treeview->currentIndex().data().toString();
- else
- url += m_currentAlias;
- m_ui.urlText->setText(url);
- } else {
- m_ui.urlText->clear();
- }
-
- m_ui.addButton->setEnabled(true);
- m_addFileAction->setEnabled(isValid);
- m_ui.removeButton->setEnabled(isValid);
-}
-
-void QrcEditor::updateHistoryControls()
-{
- emit undoStackChanged(m_history.canUndo(), m_history.canRedo());
-}
-
-void QrcEditor::resolveLocationIssues(QStringList &files)
-{
- const QDir dir = QFileInfo(m_treeview->fileName()).absoluteDir();
- const QString dotdotSlash = QLatin1String("../");
- int i = 0;
- int count = files.count();
- int initialCount = files.count();
-
- // Find first troublesome file
- for (; i < count; i++) {
- QString const &file = files.at(i);
- const QString relativePath = dir.relativeFilePath(file);
- if (relativePath.startsWith(dotdotSlash))
- break;
- }
-
- // All paths fine -> no interaction needed
- if (i == count) {
- return;
- }
-
- // Interact with user from now on
- bool abort = false;
- for (; i < count; i++) {
- // Path fine -> skip file
- QString const &file = files.at(i);
- QString const relativePath = dir.relativeFilePath(file);
- if (!relativePath.startsWith(dotdotSlash)) {
- continue;
- }
-
- // Path troublesome and aborted -> remove file
- if (abort) {
- files.removeAt(i);
- count--;
- i--;
- continue;
- } else {
- // Path troublesome -> query user
- QMessageBox message(this);
- message.setWindowTitle(tr("Invalid file location"));
- message.setIcon(QMessageBox::Warning);
- QPushButton * const copyButton = message.addButton(tr("Copy"), QMessageBox::ActionRole);
- QPushButton * skipButton = NULL;
- if (initialCount > 1)
- {
- skipButton = message.addButton(tr("Skip"), QMessageBox::DestructiveRole);
- message.setEscapeButton(skipButton);
- }
- QPushButton * const abortButton = message.addButton(tr("Abort"), QMessageBox::RejectRole);
- message.setDefaultButton(copyButton);
- message.setText(tr("The file %1 is not in a subdirectory of the resource file. You now have the option to copy this file to a valid location.")
- .arg(QDir::toNativeSeparators(file)));
- message.exec();
- if (message.clickedButton() == skipButton) {
- files.removeAt(i);
- count--;
- i--; // Compensate i++
- } else if (message.clickedButton() == copyButton) {
- const QFileInfo fi(file);
- QFileInfo suggestion;
- QDir tmpTarget(dir.path() + QString(QDir::separator()) + QString("Resources"));;
- if (tmpTarget.exists())
- suggestion.setFile(tmpTarget, fi.fileName());
- else
- suggestion.setFile(dir, fi.fileName());
- const QString copyName = QFileDialog::getSaveFileName(this, tr("Choose copy location"),
- suggestion.absoluteFilePath());
- if (!copyName.isEmpty()) {
- QString relPath = dir.relativeFilePath(copyName);
- if (relPath.startsWith(dotdotSlash)) { // directory is still invalid
- i--; // Compensate i++ and try again
- continue;
- }
- if (QFile::exists(copyName)) {
- if (!QFile::remove(copyName)) {
- QMessageBox::critical(this, tr("Overwrite failed"),
- tr("Could not overwrite file %1.")
- .arg(QDir::toNativeSeparators(copyName)));
- // Remove file
- files.removeAt(i);
- count--;
- i--; // Compensate i++
- continue;
- }
- }
- if (!QFile::copy(file, copyName)) {
- QMessageBox::critical(this, tr("Copying failed"),
- tr("Could not copy the file to %1.")
- .arg(QDir::toNativeSeparators(copyName)));
- // Remove file
- files.removeAt(i);
- count--;
- i--; // Compensate i++
- continue;
- }
- files[i] = copyName;
- } else {
- // Remove file
- files.removeAt(i);
- count--;
- i--; // Compensate i++
- }
- } else if (message.clickedButton() == abortButton) {
- abort = true;
-
- files.removeAt(i);
- count--;
- i--; // Compensate i++
- }
- }
- }
-}
-
-void QrcEditor::setResourceDragEnabled(bool e)
-{
- m_treeview->setResourceDragEnabled(e);
-}
-
-bool QrcEditor::resourceDragEnabled() const
-{
- return m_treeview->resourceDragEnabled();
-}
-
-void QrcEditor::setDefaultAddFileEnabled(bool enable)
-{
- m_treeview->setDefaultAddFileEnabled(enable);
-}
-
-bool QrcEditor::defaultAddFileEnabled() const
-{
- return m_treeview->defaultAddFileEnabled();
-}
-
-void QrcEditor::addFile(const QString &prefix, const QString &file)
-{
- // TODO: make this function UNDO / REDO aware
- m_treeview->addFile(prefix, file);
-}
-
-/*
-void QrcEditor::removeFile(const QString &prefix, const QString &file)
-{
- m_treeview->removeFile(prefix, file);
-}
-*/
-// Slot for change of line edit content 'alias'
-void QrcEditor::onAliasChanged(const QString &alias)
-{
- const QString &before = m_currentAlias;
- const QString &after = alias;
- m_treeview->setCurrentAlias(before, after);
- m_currentAlias = alias;
- updateCurrent();
- updateHistoryControls();
-}
-
-// Slot for change of line edit content 'prefix'
-void QrcEditor::onPrefixChanged(const QString &prefix)
-{
- const QString &before = m_currentPrefix;
- const QString &after = prefix;
- m_treeview->setCurrentPrefix(before, after);
- m_currentPrefix = prefix;
- updateCurrent();
- updateHistoryControls();
-}
-
-// Slot for change of line edit content 'language'
-void QrcEditor::onLanguageChanged(const QString &language)
-{
- const QString &before = m_currentLanguage;
- const QString &after = language;
- m_treeview->setCurrentLanguage(before, after);
- m_currentLanguage = language;
- updateHistoryControls();
-}
-
-// Slot for 'Remove' button
-void QrcEditor::onRemove()
-{
- // Find current item, push and execute command
- const QModelIndex current = m_treeview->currentIndex();
- int afterDeletionArrayIndex = current.row();
- QModelIndex afterDeletionParent = current.parent();
- m_treeview->findSamePlacePostDeletionModelIndex(afterDeletionArrayIndex, afterDeletionParent);
- QUndoCommand * const removeCommand = new RemoveEntryCommand(m_treeview, current);
- m_history.push(removeCommand);
- const QModelIndex afterDeletionModelIndex
- = m_treeview->model()->index(afterDeletionArrayIndex, 0, afterDeletionParent);
- m_treeview->setCurrentIndex(afterDeletionModelIndex);
- updateHistoryControls();
-}
-
-// Slot for 'Add File' button
-void QrcEditor::onAddFiles()
-{
- QModelIndex const current = m_treeview->currentIndex();
- int const currentIsPrefixNode = m_treeview->isPrefix(current);
- int const prefixArrayIndex = currentIsPrefixNode ? current.row()
- : m_treeview->model()->parent(current).row();
- int const cursorFileArrayIndex = currentIsPrefixNode ? 0 : current.row();
- QStringList fileNames = m_treeview->fileNamesToAdd();
- resolveLocationIssues(fileNames);
- if (fileNames.isEmpty())
- return;
- QUndoCommand * const addFilesCommand = new AddFilesCommand(
- m_treeview, prefixArrayIndex, cursorFileArrayIndex, fileNames);
- m_history.push(addFilesCommand);
- updateHistoryControls();
-}
-
-// Slot for 'Add Prefix' button
-void QrcEditor::onAddPrefix()
-{
- QUndoCommand * const addEmptyPrefixCommand = new AddEmptyPrefixCommand(m_treeview);
- m_history.push(addEmptyPrefixCommand);
- updateHistoryControls();
-}
-
-// Slot for 'Undo' button
-void QrcEditor::onUndo()
-{
- m_history.undo();
- updateCurrent();
- updateHistoryControls();
-}
-
-// Slot for 'Redo' button
-void QrcEditor::onRedo()
-{
- m_history.redo();
- updateCurrent();
- updateHistoryControls();
-}
diff --git a/tools/qrceditor/shared/qrceditor.h b/tools/qrceditor/shared/qrceditor.h
deleted file mode 100644
index 03f5bdfb..00000000
--- a/tools/qrceditor/shared/qrceditor.h
+++ /dev/null
@@ -1,105 +0,0 @@
-/****************************************************************************
-**
-** Copyright (C) 2016 The Qt Company Ltd.
-** Contact: https://www.qt.io/licensing/
-**
-** This file is part of the Qt VS Add-in.
-**
-** $QT_BEGIN_LICENSE:GPL-EXCEPT$
-** Commercial License Usage
-** Licensees holding valid commercial Qt licenses may use this file in
-** accordance with the commercial license agreement provided with the
-** Software or, alternatively, in accordance with the terms contained in
-** a written agreement between you and The Qt Company. For licensing terms
-** and conditions see https://www.qt.io/terms-conditions. For further
-** information use the contact form at https://www.qt.io/contact-us.
-**
-** GNU General Public License Usage
-** Alternatively, this file may be used under the terms of the GNU
-** General Public License version 3 as published by the Free Software
-** Foundation with exceptions as appearing in the file LICENSE.GPL3-EXCEPT
-** included in the packaging of this file. Please review the following
-** information to ensure the GNU General Public License requirements will
-** be met: https://www.gnu.org/licenses/gpl-3.0.html.
-**
-** $QT_END_LICENSE$
-**
-****************************************************************************/
-
-#ifndef QRCEDITOR_H
-#define QRCEDITOR_H
-
-#include "ui_qrceditor.h"
-#include "resourceview.h"
-
-#include <QtWidgets/QWidget>
-#include <QtWidgets/QUndoStack>
-
-namespace SharedTools {
-
-class QrcEditor : public QWidget
-{
- Q_OBJECT
-
-public:
- QrcEditor(QWidget *parent = 0);
- virtual ~QrcEditor();
-
- bool load(const QString &fileName);
- bool save();
-
- bool isDirty();
- void setDirty(bool dirty);
-
- QString fileName() const;
- void setFileName(const QString &fileName);
-
- void setResourceDragEnabled(bool e);
- bool resourceDragEnabled() const;
-
- void setDefaultAddFileEnabled(bool enable);
- bool defaultAddFileEnabled() const;
-
- void addFile(const QString &prefix, const QString &file);
-// void removeFile(const QString &prefix, const QString &file);
-
-signals:
- void dirtyChanged(bool dirty);
- void addFilesTriggered(const QString &prefix);
-
-private slots:
- void updateCurrent();
- void updateHistoryControls();
-
-private:
- void resolveLocationIssues(QStringList &files);
-
-private slots:
- void onAliasChanged(const QString &alias);
- void onPrefixChanged(const QString &prefix);
- void onLanguageChanged(const QString &language);
- void onRemove();
- void onAddFiles();
- void onAddPrefix();
-
-signals:
- void undoStackChanged(bool canUndo, bool canRedo);
-
-public slots:
- void onUndo();
- void onRedo();
-
-private:
- Ui::QrcEditor m_ui;
- QUndoStack m_history;
- ResourceView *m_treeview;
- QAction *m_addFileAction;
-
- QString m_currentAlias;
- QString m_currentPrefix;
- QString m_currentLanguage;
-};
-
-}
-
-#endif
diff --git a/tools/qrceditor/shared/qrceditor.pri b/tools/qrceditor/shared/qrceditor.pri
deleted file mode 100644
index 7c7b1604..00000000
--- a/tools/qrceditor/shared/qrceditor.pri
+++ /dev/null
@@ -1,20 +0,0 @@
-INCLUDEPATH *= $$PWD
-DEPENDPATH *= $$PWD
-
-QT *= xml
-
-# Input
-SOURCES += \
- $$PWD/resourcefile.cpp \
- $$PWD/resourceview.cpp \
- $$PWD/qrceditor.cpp \
- $$PWD/undocommands.cpp
-
-HEADERS += \
- $$PWD/resourcefile_p.h \
- $$PWD/resourceview.h \
- $$PWD/qrceditor.h \
- $$PWD/undocommands_p.h
-
-FORMS += $$PWD/qrceditor.ui
-
diff --git a/tools/qrceditor/shared/qrceditor.ui b/tools/qrceditor/shared/qrceditor.ui
deleted file mode 100644
index 6690b103..00000000
--- a/tools/qrceditor/shared/qrceditor.ui
+++ /dev/null
@@ -1,127 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<ui version="4.0">
- <class>QrcEditor</class>
- <widget class="QWidget" name="QrcEditor">
- <property name="geometry">
- <rect>
- <x>0</x>
- <y>0</y>
- <width>491</width>
- <height>381</height>
- </rect>
- </property>
- <layout class="QVBoxLayout" name="verticalLayout_2">
- <property name="margin">
- <number>6</number>
- </property>
- <item>
- <widget class="QWidget" name="centralWidget" native="true">
- <property name="sizePolicy">
- <sizepolicy hsizetype="MinimumExpanding" vsizetype="MinimumExpanding">
- <horstretch>0</horstretch>
- <verstretch>0</verstretch>
- </sizepolicy>
- </property>
- </widget>
- </item>
- <item>
- <layout class="QHBoxLayout" name="horizontalLayout">
- <item>
- <widget class="QPushButton" name="addButton">
- <property name="sizePolicy">
- <sizepolicy hsizetype="Minimum" vsizetype="Fixed">
- <horstretch>0</horstretch>
- <verstretch>0</verstretch>
- </sizepolicy>
- </property>
- <property name="text">
- <string>Add</string>
- </property>
- </widget>
- </item>
- <item>
- <widget class="QPushButton" name="removeButton">
- <property name="text">
- <string>Remove</string>
- </property>
- </widget>
- </item>
- <item>
- <spacer name="horizontalSpacer">
- <property name="orientation">
- <enum>Qt::Horizontal</enum>
- </property>
- <property name="sizeHint" stdset="0">
- <size>
- <width>40</width>
- <height>20</height>
- </size>
- </property>
- </spacer>
- </item>
- </layout>
- </item>
- <item>
- <widget class="QGroupBox" name="groupBox">
- <property name="title">
- <string>Properties</string>
- </property>
- <layout class="QFormLayout" name="formLayout">
- <property name="sizeConstraint">
- <enum>QLayout::SetMinAndMaxSize</enum>
- </property>
- <property name="fieldGrowthPolicy">
- <enum>QFormLayout::ExpandingFieldsGrow</enum>
- </property>
- <item row="0" column="0">
- <widget class="QLabel" name="aliasLabel">
- <property name="text">
- <string>Alias:</string>
- </property>
- </widget>
- </item>
- <item row="0" column="1">
- <widget class="QLineEdit" name="aliasText"/>
- </item>
- <item row="1" column="0">
- <widget class="QLabel" name="prefixLabel">
- <property name="text">
- <string>Prefix:</string>
- </property>
- </widget>
- </item>
- <item row="1" column="1">
- <widget class="QLineEdit" name="prefixText"/>
- </item>
- <item row="2" column="0">
- <widget class="QLabel" name="languageLabel">
- <property name="text">
- <string>Language:</string>
- </property>
- </widget>
- </item>
- <item row="2" column="1">
- <widget class="QLineEdit" name="languageText"/>
- </item>
- <item row="3" column="0">
- <widget class="QLabel" name="urlLabel">
- <property name="text">
- <string>Resource URL:</string>
- </property>
- </widget>
- </item>
- <item row="3" column="1">
- <widget class="QLineEdit" name="urlText">
- <property name="readOnly">
- <bool>true</bool>
- </property>
- </widget>
- </item>
- </layout>
- </widget>
- </item>
- </layout>
- </widget>
- <resources/>
- <connections/>
-</ui>
diff --git a/tools/qrceditor/shared/resourcefile.cpp b/tools/qrceditor/shared/resourcefile.cpp
deleted file mode 100644
index 7027054b..00000000
--- a/tools/qrceditor/shared/resourcefile.cpp
+++ /dev/null
@@ -1,992 +0,0 @@
-/****************************************************************************
-**
-** Copyright (C) 2016 The Qt Company Ltd.
-** Contact: https://www.qt.io/licensing/
-**
-** This file is part of the Qt VS Add-in.
-**
-** $QT_BEGIN_LICENSE:GPL-EXCEPT$
-** Commercial License Usage
-** Licensees holding valid commercial Qt licenses may use this file in
-** accordance with the commercial license agreement provided with the
-** Software or, alternatively, in accordance with the terms contained in
-** a written agreement between you and The Qt Company. For licensing terms
-** and conditions see https://www.qt.io/terms-conditions. For further
-** information use the contact form at https://www.qt.io/contact-us.
-**
-** GNU General Public License Usage
-** Alternatively, this file may be used under the terms of the GNU
-** General Public License version 3 as published by the Free Software
-** Foundation with exceptions as appearing in the file LICENSE.GPL3-EXCEPT
-** included in the packaging of this file. Please review the following
-** information to ensure the GNU General Public License requirements will
-** be met: https://www.gnu.org/licenses/gpl-3.0.html.
-**
-** $QT_END_LICENSE$
-**
-****************************************************************************/
-
-#include "resourcefile_p.h"
-
-#include <QCoreApplication>
-#include <QDebug>
-#include <QDir>
-#include <QFile>
-#include <QMimeData>
-#include <QtAlgorithms>
-#include <QTextStream>
-
-#include <QIcon>
-#include <QImageReader>
-
-#include <QDomDocument>
-
-QT_BEGIN_NAMESPACE
-
-
-/*
-TRANSLATOR qdesigner_internal::ResourceModel
-*/
-
-static QString msgFileNameEmpty()
-{
- return QCoreApplication::translate("Designer", "The file name is empty.");
-}
-
-namespace qdesigner_internal {
-
-
-/******************************************************************************
-** FileList
-*/
-
-bool FileList::containsFile(File *file)
-{
- foreach (const File *tmpFile, *this)
- if (tmpFile->name == file->name && tmpFile->prefix() == file->prefix())
- return true;
- return false;
-}
-
-/******************************************************************************
-** ResourceFile
-*/
-
-ResourceFile::ResourceFile(const QString &file_name)
-{
- setFileName(file_name);
-}
-
-ResourceFile::~ResourceFile()
-{
- clearPrefixList();
-}
-
-bool ResourceFile::load()
-{
- m_error_message.clear();
-
- if (m_file_name.isEmpty()) {
- m_error_message = msgFileNameEmpty();
- return false;
- }
-
- QFile file(m_file_name);
- if (!file.open(QIODevice::ReadOnly)) {
- m_error_message = file.errorString();
- return false;
- }
-
- clearPrefixList();
-
- QDomDocument doc;
-
- QString error_msg;
- int error_line, error_col;
- if (!doc.setContent(&file, &error_msg, &error_line, &error_col)) {
- m_error_message = QCoreApplication::translate("Designer", "XML error on line %1, col %2: %3")
- .arg(error_line).arg(error_col).arg(error_msg);
- return false;
- }
-
- QDomElement root = doc.firstChildElement(QLatin1String("RCC"));
- if (root.isNull()) {
- m_error_message = QCoreApplication::translate("Designer", "The <RCC> root element is missing.");
- return false;
- }
-
- QDomElement relt = root.firstChildElement(QLatin1String("qresource"));
- for (; !relt.isNull(); relt = relt.nextSiblingElement(QLatin1String("qresource"))) {
-
- QString prefix = fixPrefix(relt.attribute(QLatin1String("prefix")));
- if (prefix.isEmpty())
- prefix = QString(QLatin1Char('/'));
- const QString language = relt.attribute(QLatin1String("lang"));
-
- const int idx = indexOfPrefix(prefix);
- Prefix * p = 0;
- if (idx == -1) {
- p = new Prefix(prefix, language);
- m_prefix_list.append(p);
- } else {
- p = m_prefix_list[idx];
- }
- Q_ASSERT(p);
-
- QDomElement felt = relt.firstChildElement(QLatin1String("file"));
- for (; !felt.isNull(); felt = felt.nextSiblingElement(QLatin1String("file"))) {
- const QString fileName = absolutePath(felt.text());
- const QString alias = felt.attribute(QLatin1String("alias"));
- File * const file = new File(p, fileName, alias);
- p->file_list.append(file);
- }
- }
-
- return true;
-}
-
-bool ResourceFile::save()
-{
- m_error_message.clear();
-
- if (m_file_name.isEmpty()) {
- m_error_message = msgFileNameEmpty();
- return false;
- }
-
- QFile file(m_file_name);
- if (!file.open(QIODevice::WriteOnly)) {
- m_error_message = file.errorString();
- return false;
- }
-
- QDomDocument doc;
- QDomElement root = doc.createElement(QLatin1String("RCC"));
- doc.appendChild(root);
-
- const QStringList name_list = prefixList();
-
- foreach (const QString &name, name_list) {
- FileList file_list;
- QString lang;
- foreach (const Prefix *pref, m_prefix_list) {
- if (pref->name == name){
- file_list += pref->file_list;
- lang = pref->lang;
- }
- }
-
- QDomElement relt = doc.createElement(QLatin1String("qresource"));
- root.appendChild(relt);
- relt.setAttribute(QLatin1String("prefix"), name);
- if (!lang.isEmpty())
- relt.setAttribute(QLatin1String("lang"), lang);
-
- foreach (const File *f, file_list) {
- const File &file = *f;
- QDomElement felt = doc.createElement(QLatin1String("file"));
- relt.appendChild(felt);
- const QString conv_file = relativePath(file.name).replace(QDir::separator(), QLatin1Char('/'));
- const QDomText text = doc.createTextNode(conv_file);
- felt.appendChild(text);
- if (!file.alias.isEmpty())
- felt.setAttribute(QLatin1String("alias"), file.alias);
- }
- }
-
- QTextStream stream(&file);
- doc.save(stream, 4);
-
- return true;
-}
-
-bool ResourceFile::split(const QString &_path, QString *prefix, QString *file) const
-{
- prefix->clear();
- file->clear();
-
- QString path = _path;
- if (!path.startsWith(QLatin1Char(':')))
- return false;
- path = path.mid(1);
-
- for (int i = 0; i < m_prefix_list.size(); ++i) {
- Prefix const * const &pref = m_prefix_list.at(i);
- if (!path.startsWith(pref->name))
- continue;
-
- *prefix = pref->name;
- if (pref->name == QString(QLatin1Char('/')))
- *file = path.mid(1);
- else
- *file = path.mid(pref->name.size() + 1);
-
- const QString filePath = absolutePath(*file);
-
- for (int j = 0; j < pref->file_list.count(); j++) {
- File const * const &f = pref->file_list.at(j);
- if (!f->alias.isEmpty()) {
- if (absolutePath(f->alias) == filePath) {
- *file = f->name;
- return true;
- }
- } else if (f->name == filePath)
- return true;
- }
- }
-
- return false;
-}
-
-QString ResourceFile::resolvePath(const QString &path) const
-{
- QString prefix, file;
- if (split(path, &prefix, &file))
- return absolutePath(file);
-
- return QString();
-}
-
-QStringList ResourceFile::prefixList() const
-{
- QStringList result;
- for (int i = 0; i < m_prefix_list.size(); ++i)
- result.append(m_prefix_list.at(i)->name);
- return result;
-}
-
-bool ResourceFile::isEmpty() const
-{
- return m_file_name.isEmpty() && m_prefix_list.isEmpty();
-}
-
-QStringList ResourceFile::fileList(int pref_idx) const
-{
- QStringList result;
- Q_ASSERT(pref_idx >= 0 && pref_idx < m_prefix_list.count());
- const FileList &abs_file_list = m_prefix_list.at(pref_idx)->file_list;
- foreach (const File *abs_file, abs_file_list)
- result.append(relativePath(abs_file->name));
- return result;
-}
-
-void ResourceFile::addFile(int prefix_idx, const QString &file, int file_idx)
-{
- Prefix * const p = m_prefix_list[prefix_idx];
- Q_ASSERT(p);
- FileList &files = p->file_list;
- Q_ASSERT(file_idx >= -1 && file_idx <= files.size());
- if (file_idx == -1)
- file_idx = files.size();
- files.insert(file_idx, new File(p, absolutePath(file)));
-}
-
-void ResourceFile::addPrefix(const QString &prefix, int prefix_idx)
-{
- QString fixed_prefix = fixPrefix(prefix);
- if (indexOfPrefix(fixed_prefix) != -1)
- return;
-
- Q_ASSERT(prefix_idx >= -1 && prefix_idx <= m_prefix_list.size());
- if (prefix_idx == -1)
- prefix_idx = m_prefix_list.size();
- m_prefix_list.insert(prefix_idx, new Prefix(fixed_prefix));
-}
-
-void ResourceFile::removePrefix(int prefix_idx)
-{
- Q_ASSERT(prefix_idx >= 0 && prefix_idx < m_prefix_list.count());
- Prefix * const p = m_prefix_list.at(prefix_idx);
- delete p;
- m_prefix_list.removeAt(prefix_idx);
-}
-
-void ResourceFile::removeFile(int prefix_idx, int file_idx)
-{
- Q_ASSERT(prefix_idx >= 0 && prefix_idx < m_prefix_list.count());
- FileList &fileList = m_prefix_list[prefix_idx]->file_list;
- Q_ASSERT(file_idx >= 0 && file_idx < fileList.count());
- delete fileList.at(file_idx);
- fileList.removeAt(file_idx);
-}
-
-void ResourceFile::replacePrefix(int prefix_idx, const QString &prefix)
-{
- Q_ASSERT(prefix_idx >= 0 && prefix_idx < m_prefix_list.count());
- m_prefix_list[prefix_idx]->name = fixPrefix(prefix);
-}
-
-void ResourceFile::replaceLang(int prefix_idx, const QString &lang)
-{
- Q_ASSERT(prefix_idx >= 0 && prefix_idx < m_prefix_list.count());
- m_prefix_list[prefix_idx]->lang = lang;
-}
-
-void ResourceFile::replaceAlias(int prefix_idx, int file_idx, const QString &alias)
-{
- Q_ASSERT(prefix_idx >= 0 && prefix_idx < m_prefix_list.count());
- FileList &fileList = m_prefix_list.at(prefix_idx)->file_list;
- Q_ASSERT(file_idx >= 0 && file_idx < fileList.count());
- fileList[file_idx]->alias = alias;
-}
-
-
-void ResourceFile::replaceFile(int pref_idx, int file_idx, const QString &file)
-{
- Q_ASSERT(pref_idx >= 0 && pref_idx < m_prefix_list.count());
- FileList &fileList = m_prefix_list.at(pref_idx)->file_list;
- Q_ASSERT(file_idx >= 0 && file_idx < fileList.count());
- fileList[file_idx]->name = file;
-}
-
-int ResourceFile::indexOfPrefix(const QString &prefix) const
-{
- QString fixed_prefix = fixPrefix(prefix);
- for (int i = 0; i < m_prefix_list.size(); ++i) {
- if (m_prefix_list.at(i)->name == fixed_prefix)
- return i;
- }
- return -1;
-}
-
-int ResourceFile::indexOfFile(int pref_idx, const QString &file) const
-{
- Q_ASSERT(pref_idx >= 0 && pref_idx < m_prefix_list.count());
- Prefix * const p = m_prefix_list.at(pref_idx);
- File equalFile(p, absolutePath(file));
- return p->file_list.indexOf(&equalFile);
-}
-
-QString ResourceFile::relativePath(const QString &abs_path) const
-{
- if (m_file_name.isEmpty() || QFileInfo(abs_path).isRelative())
- return abs_path;
-
- QFileInfo fileInfo(m_file_name);
- return fileInfo.absoluteDir().relativeFilePath(abs_path);
-}
-
-QString ResourceFile::absolutePath(const QString &rel_path) const
-{
- const QFileInfo fi(rel_path);
- if (fi.isAbsolute())
- return rel_path;
-
- QString rc = QFileInfo(m_file_name).path();
- rc += QDir::separator();
- rc += rel_path;
- return QDir::cleanPath(rc);
-}
-
-bool ResourceFile::contains(const QString &prefix, const QString &file) const
-{
- int pref_idx = indexOfPrefix(prefix);
- if (pref_idx == -1)
- return false;
- if (file.isEmpty())
- return true;
- Q_ASSERT(pref_idx >= 0 && pref_idx < m_prefix_list.count());
- Prefix * const p = m_prefix_list.at(pref_idx);
- Q_ASSERT(p);
- File equalFile(p, absolutePath(file));
- return p->file_list.containsFile(&equalFile);
-}
-
-bool ResourceFile::contains(int pref_idx, const QString &file) const
-{
- Q_ASSERT(pref_idx >= 0 && pref_idx < m_prefix_list.count());
- Prefix * const p = m_prefix_list.at(pref_idx);
- File equalFile(p, absolutePath(file));
- return p->file_list.containsFile(&equalFile);
-}
-
-/*static*/ QString ResourceFile::fixPrefix(const QString &prefix)
-{
- const QChar slash = QLatin1Char('/');
- QString result = QString(slash);
- for (int i = 0; i < prefix.size(); ++i) {
- const QChar c = prefix.at(i);
- if (c == slash && result.at(result.size() - 1) == slash)
- continue;
- result.append(c);
- }
-
- if (result.size() > 1 && result.endsWith(slash))
- result = result.mid(0, result.size() - 1);
-
- return result;
-}
-
-int ResourceFile::prefixCount() const
-{
- return m_prefix_list.size();
-}
-
-QString ResourceFile::prefix(int idx) const
-{
- Q_ASSERT((idx >= 0) && (idx < m_prefix_list.count()));
- return m_prefix_list.at(idx)->name;
-}
-
-QString ResourceFile::lang(int idx) const
-{
- Q_ASSERT(idx >= 0 && idx < m_prefix_list.count());
- return m_prefix_list.at(idx)->lang;
-}
-
-int ResourceFile::fileCount(int prefix_idx) const
-{
- Q_ASSERT(prefix_idx >= 0 && prefix_idx < m_prefix_list.count());
- return m_prefix_list.at(prefix_idx)->file_list.size();
-}
-
-QString ResourceFile::file(int prefix_idx, int file_idx) const
-{
- Q_ASSERT(prefix_idx >= 0 && prefix_idx < m_prefix_list.count());
- FileList &fileList = m_prefix_list.at(prefix_idx)->file_list;
- Q_ASSERT(file_idx >= 0 && file_idx < fileList.count());
- return fileList.at(file_idx)->name;
-}
-
-QString ResourceFile::alias(int prefix_idx, int file_idx) const
-{
- Q_ASSERT(prefix_idx >= 0 && prefix_idx < m_prefix_list.count());
- FileList &fileList = m_prefix_list.at(prefix_idx)->file_list;
- Q_ASSERT(file_idx >= 0 && file_idx < fileList.count());
- return fileList.at(file_idx)->alias;
-}
-
-void * ResourceFile::prefixPointer(int prefixIndex) const
-{
- Q_ASSERT(prefixIndex >= 0 && prefixIndex < m_prefix_list.count());
- return m_prefix_list.at(prefixIndex);
-}
-
-void * ResourceFile::filePointer(int prefixIndex, int fileIndex) const
-{
- Q_ASSERT(prefixIndex >= 0 && prefixIndex < m_prefix_list.count());
- FileList &fileList = m_prefix_list.at(prefixIndex)->file_list;
- Q_ASSERT(fileIndex >= 0 && fileIndex < fileList.count());
- return fileList.at(fileIndex);
-}
-
-int ResourceFile::prefixPointerIndex(const Prefix *prefix) const
-{
- int const count = m_prefix_list.count();
- for (int i = 0; i < count; i++) {
- Prefix * const other = m_prefix_list.at(i);
- if (*other == *prefix)
- return i;
- }
- return -1;
-}
-
-void ResourceFile::clearPrefixList()
-{
- qDeleteAll(m_prefix_list);
- m_prefix_list.clear();
-}
-
-/******************************************************************************
-** ResourceModel
-*/
-
-ResourceModel::ResourceModel(const ResourceFile &resource_file, QObject *parent)
- : QAbstractItemModel(parent), m_resource_file(resource_file), m_dirty(false)
-{
-}
-
-void ResourceModel::setDirty(bool b)
-{
- if (b == m_dirty)
- return;
-
- m_dirty = b;
- emit dirtyChanged(b);
-}
-
-QModelIndex ResourceModel::index(int row, int column, const QModelIndex &parent) const
-{
- if (column != 0)
- return QModelIndex();
-
- void * internalPointer = 0;
- if (parent.isValid()) {
- void * const pip = parent.internalPointer();
- if (pip == 0)
- return QModelIndex();
-
- // File node
- Node * const node = reinterpret_cast<Node *>(pip);
- Prefix * const prefix = node->prefix();
- Q_ASSERT(prefix);
- if (row < 0 || row >= prefix->file_list.count())
- return QModelIndex();
- const int prefixIndex = m_resource_file.prefixPointerIndex(prefix);
- const int fileIndex = row;
- internalPointer = m_resource_file.filePointer(prefixIndex, fileIndex);
- } else {
- // Prefix node
- if (row < 0 || row >= m_resource_file.prefixCount())
- return QModelIndex();
- internalPointer = m_resource_file.prefixPointer(row);
- }
- Q_ASSERT(internalPointer);
- return createIndex(row, 0, internalPointer);
-}
-
-QModelIndex ResourceModel::parent(const QModelIndex &index) const
-{
- if (!index.isValid())
- return QModelIndex();
-
- void * const internalPointer = index.internalPointer();
- if (internalPointer == 0)
- return QModelIndex();
- Node * const node = reinterpret_cast<Node *>(internalPointer);
- Prefix * const prefix = node->prefix();
- Q_ASSERT(prefix);
- bool const isFileNode = (prefix != node);
-
- if (isFileNode) {
- const int row = m_resource_file.prefixPointerIndex(prefix);
- Q_ASSERT(row >= 0);
- return createIndex(row, 0, prefix);
- } else {
- return QModelIndex();
- }
-}
-
-int ResourceModel::rowCount(const QModelIndex &parent) const
-{
- if (parent.isValid()) {
- void * const internalPointer = parent.internalPointer();
- Node * const node = reinterpret_cast<Node *>(internalPointer);
- Prefix * const prefix = node->prefix();
- Q_ASSERT(prefix);
- bool const isFileNode = (prefix != node);
-
- if (isFileNode) {
- return 0;
- } else {
- return prefix->file_list.count();
- }
- } else {
- return m_resource_file.prefixCount();
- }
-}
-
-int ResourceModel::columnCount(const QModelIndex &) const
-{
- return 1;
-}
-
-bool ResourceModel::hasChildren(const QModelIndex &parent) const
-{
- return rowCount(parent) != 0;
-}
-
-Qt::DropActions ResourceModel::supportedDropActions() const
-{
- // Only action that works for QListWidget and the like.
- return Qt::CopyAction;
-}
-
-bool ResourceModel::iconFileExtension(const QString &path)
-{
- static QStringList ext_list;
- if (ext_list.isEmpty()) {
- const QList<QByteArray> _ext_list = QImageReader::supportedImageFormats();
- foreach (const QByteArray &ext, _ext_list) {
- QString dotExt = QString(QLatin1Char('.'));
- dotExt += QString::fromLocal8Bit(ext);
- ext_list.append(dotExt);
- }
- }
-
- foreach (const QString &ext, ext_list) {
- if (path.endsWith(ext, Qt::CaseInsensitive))
- return true;
- }
-
- return false;
-}
-
-static inline void appendParenthesized(const QString &what, QString &s)
-{
- s += QLatin1String(" (");
- s += what;
- s += QLatin1Char(')');
-}
-
-QVariant ResourceModel::data(const QModelIndex &index, int role) const
-{
- if (!index.isValid())
- return QVariant();
-
- const void *internalPointer = index.internalPointer();
- const Node *node = reinterpret_cast<const Node *>(internalPointer);
- const Prefix *prefix = node->prefix();
- File *file = node->file();
- Q_ASSERT(prefix);
- const bool isFileNode = (prefix != node);
-
- QVariant result;
-
- switch (role) {
- case Qt::DisplayRole:
- {
- QString stringRes;
- if (!isFileNode) {
- // Prefix node
- stringRes = prefix->name;
- const QString &lang = prefix->lang;
- if (!lang.isEmpty())
- appendParenthesized(lang, stringRes);
- } else {
- // File node
- Q_ASSERT(file);
- QString conv_file = m_resource_file.relativePath(file->name);
- stringRes = conv_file.replace(QDir::separator(), QLatin1Char('/'));
- const QString alias = file->alias;
- if (!alias.isEmpty())
- appendParenthesized(alias, stringRes);
- }
- result = stringRes;
- }
- break;
- case Qt::DecorationRole:
- if (isFileNode) {
- // File node
- Q_ASSERT(file);
- if (file->icon.isNull()) {
- const QString path = m_resource_file.absolutePath(file->name);
- if (iconFileExtension(path))
- file->icon = QIcon(path);
- }
- if (!file->icon.isNull())
- result = file->icon;
- }
- break;
- default:
- break;
- }
- return result;
-}
-
-void ResourceModel::getItem(const QModelIndex &index, QString &prefix, QString &file) const
-{
- prefix.clear();
- file.clear();
-
- if (!index.isValid())
- return;
-
- const void *internalPointer = index.internalPointer();
- const Node *node = reinterpret_cast<const Node *>(internalPointer);
- const Prefix *p = node->prefix();
- Q_ASSERT(p);
- const bool isFileNode = (p != node);
-
- if (isFileNode) {
- const File *f = node->file();
- Q_ASSERT(f);
- if (!f->alias.isEmpty())
- file = f->alias;
- else
- file = f->name;
- } else {
- prefix = p->name;
- }
-}
-
-QString ResourceModel::lang(const QModelIndex &index) const
-{
- if (!index.isValid())
- return QString();
-
- return m_resource_file.lang(index.row());
-}
-
-QString ResourceModel::alias(const QModelIndex &index) const
-{
- if (!index.isValid() || !index.parent().isValid())
- return QString();
- return m_resource_file.alias(index.parent().row(), index.row());
-}
-
-QString ResourceModel::file(const QModelIndex &index) const
-{
- if (!index.isValid() || !index.parent().isValid())
- return QString();
- return m_resource_file.file(index.parent().row(), index.row());
-}
-
-QModelIndex ResourceModel::getIndex(const QString &prefixed_file)
-{
- QString prefix, file;
- if (!m_resource_file.split(prefixed_file, &prefix, &file))
- return QModelIndex();
- return getIndex(prefix, file);
-}
-
-QModelIndex ResourceModel::getIndex(const QString &prefix, const QString &file)
-{
- if (prefix.isEmpty())
- return QModelIndex();
-
- const int pref_idx = m_resource_file.indexOfPrefix(prefix);
- if (pref_idx == -1)
- return QModelIndex();
-
- const QModelIndex pref_model_idx = index(pref_idx, 0, QModelIndex());
- if (file.isEmpty())
- return pref_model_idx;
-
- const int file_idx = m_resource_file.indexOfFile(pref_idx, file);
- if (file_idx == -1)
- return QModelIndex();
-
- return index(file_idx, 0, pref_model_idx);
-}
-
-QModelIndex ResourceModel::prefixIndex(const QModelIndex &sel_idx) const
-{
- if (!sel_idx.isValid())
- return QModelIndex();
- const QModelIndex parentIndex = parent(sel_idx);
- return parentIndex.isValid() ? parentIndex : sel_idx;
-}
-
-QModelIndex ResourceModel::addNewPrefix()
-{
- const QString format = QLatin1String("/new/prefix%1");
- int i = 1;
- QString prefix = format.arg(i);
- for ( ; m_resource_file.contains(prefix); i++)
- prefix = format.arg(i);
-
- i = rowCount(QModelIndex());
- beginInsertRows(QModelIndex(), i, i);
- m_resource_file.addPrefix(prefix);
- endInsertRows();
-
- setDirty(true);
-
- return index(i, 0, QModelIndex());
-}
-
-QModelIndex ResourceModel::addFiles(const QModelIndex &model_idx, const QStringList &file_list)
-{
- const QModelIndex prefixModelIndex = prefixIndex(model_idx);
- const int prefixArrayIndex = prefixModelIndex.row();
- const int cursorFileArrayIndex = (prefixModelIndex == model_idx) ? 0 : model_idx.row();
- int dummy;
- int lastFileArrayIndex;
- addFiles(prefixArrayIndex, file_list, cursorFileArrayIndex, dummy, lastFileArrayIndex);
- return index(lastFileArrayIndex, 0, prefixModelIndex);
-}
-
-void ResourceModel::addFiles(int prefixIndex, const QStringList &fileNames, int cursorFile,
- int &firstFile, int &lastFile)
-{
- Q_UNUSED(cursorFile)
- const QModelIndex prefix_model_idx = index(prefixIndex, 0, QModelIndex());
- const QStringList &file_list = fileNames;
- firstFile = -1;
- lastFile = -1;
-
- if (!prefix_model_idx.isValid()) {
- return;
- }
- const int prefix_idx = prefixIndex;
-
- QStringList unique_list;
- foreach (const QString &file, file_list) {
- if (!m_resource_file.contains(prefix_idx, file) && !unique_list.contains(file))
- unique_list.append(file);
- }
-
- if (unique_list.isEmpty()) {
- return;
- }
- const int cnt = m_resource_file.fileCount(prefix_idx);
- beginInsertRows(prefix_model_idx, cnt, cnt + unique_list.count() - 1); // ### FIXME
-
- foreach (const QString &file, unique_list)
- m_resource_file.addFile(prefix_idx, file);
-
- const QFileInfo fi(file_list.last());
- m_lastResourceDir = fi.absolutePath();
-
- endInsertRows();
- setDirty(true);
-
- firstFile = cnt;
- lastFile = cnt + unique_list.count() - 1;
-}
-
-
-void ResourceModel::insertPrefix(int prefixIndex, const QString &prefix,
- const QString &lang)
-{
- beginInsertRows(QModelIndex(), prefixIndex, prefixIndex);
- m_resource_file.addPrefix(prefix, prefixIndex);
- m_resource_file.replaceLang(prefixIndex, lang);
- endInsertRows();
- setDirty(true);
-}
-
-void ResourceModel::insertFile(int prefixIndex, int fileIndex,
- const QString &fileName, const QString &alias)
-{
- const QModelIndex parent = index(prefixIndex, 0, QModelIndex());
- beginInsertRows(parent, fileIndex, fileIndex);
- m_resource_file.addFile(prefixIndex, fileName, fileIndex);
- m_resource_file.replaceAlias(prefixIndex, fileIndex, alias);
- endInsertRows();
- setDirty(true);
-}
-
-void ResourceModel::changePrefix(const QModelIndex &model_idx, const QString &prefix)
-{
- if (!model_idx.isValid())
- return;
-
- const QModelIndex prefix_model_idx = prefixIndex(model_idx);
- const int prefix_idx = model_idx.row();
- if (m_resource_file.prefix(prefix_idx) == ResourceFile::fixPrefix(prefix))
- return;
-
- if (m_resource_file.contains(prefix))
- return;
-
- m_resource_file.replacePrefix(prefix_idx, prefix);
- emit dataChanged(prefix_model_idx, prefix_model_idx);
- setDirty(true);
-}
-
-void ResourceModel::changeLang(const QModelIndex &model_idx, const QString &lang)
-{
- if (!model_idx.isValid())
- return;
-
- const QModelIndex prefix_model_idx = prefixIndex(model_idx);
- const int prefix_idx = model_idx.row();
- if (m_resource_file.lang(prefix_idx) == lang)
- return;
-
- m_resource_file.replaceLang(prefix_idx, lang);
- emit dataChanged(prefix_model_idx, prefix_model_idx);
- setDirty(true);
-}
-
-void ResourceModel::changeAlias(const QModelIndex &index, const QString &alias)
-{
- if (!index.parent().isValid())
- return;
-
- if (m_resource_file.alias(index.parent().row(), index.row()) == alias)
- return;
- m_resource_file.replaceAlias(index.parent().row(), index.row(), alias);
- emit dataChanged(index, index);
- setDirty(true);
-}
-
-QModelIndex ResourceModel::deleteItem(const QModelIndex &idx)
-{
- if (!idx.isValid())
- return QModelIndex();
-
- QString dummy, file;
- getItem(idx, dummy, file);
- int prefix_idx = -1;
- int file_idx = -1;
-
- beginRemoveRows(parent(idx), idx.row(), idx.row());
- if (file.isEmpty()) {
- // Remove prefix
- prefix_idx = idx.row();
- m_resource_file.removePrefix(prefix_idx);
- if (prefix_idx == m_resource_file.prefixCount())
- --prefix_idx;
- } else {
- // Remove file
- prefix_idx = prefixIndex(idx).row();
- file_idx = idx.row();
- m_resource_file.removeFile(prefix_idx, file_idx);
- if (file_idx == m_resource_file.fileCount(prefix_idx))
- --file_idx;
- }
- endRemoveRows();
-
- setDirty(true);
-
- if (prefix_idx == -1)
- return QModelIndex();
- const QModelIndex prefix_model_idx = index(prefix_idx, 0, QModelIndex());
- if (file_idx == -1)
- return prefix_model_idx;
- return index(file_idx, 0, prefix_model_idx);
-}
-
-bool ResourceModel::reload()
-{
- beginResetModel();
- const bool result = m_resource_file.load();
- if (result)
- setDirty(false);
- endResetModel();
- return result;
-}
-
-bool ResourceModel::save()
-{
- const bool result = m_resource_file.save();
- if (result)
- setDirty(false);
- return result;
-}
-
-QString ResourceModel::lastResourceOpenDirectory() const
-{
- if (m_lastResourceDir.isEmpty())
- return absolutePath(QString());
- return m_lastResourceDir;
-}
-
-// Create a resource path 'prefix:/file'
-QString ResourceModel::resourcePath(const QString &prefix, const QString &file)
-{
- QString rc = QString(QLatin1Char(':'));
- rc += prefix;
- rc += QLatin1Char('/');
- rc += file;
- return QDir::cleanPath(rc);
-}
-
-QMimeData *ResourceModel::mimeData(const QModelIndexList &indexes) const
-{
- if (indexes.size() != 1)
- return 0;
-
- QString prefix, file;
- getItem(indexes.front(), prefix, file);
- if (prefix.isEmpty() || file.isEmpty())
- return 0;
-
- // DnD format of Designer 4.4
- QDomDocument doc;
- QDomElement elem = doc.createElement(QLatin1String("resource"));
- elem.setAttribute(QLatin1String("type"), QLatin1String("image"));
- elem.setAttribute(QLatin1String("file"), resourcePath(prefix, file));
- doc.appendChild(elem);
-
- QMimeData *rc = new QMimeData;
- rc->setText(doc.toString());
- return rc;
-}
-
-} // namespace qdesigner_internal
-
-QT_END_NAMESPACE
diff --git a/tools/qrceditor/shared/resourcefile_p.h b/tools/qrceditor/shared/resourcefile_p.h
deleted file mode 100644
index 6b02e9a7..00000000
--- a/tools/qrceditor/shared/resourcefile_p.h
+++ /dev/null
@@ -1,262 +0,0 @@
-/****************************************************************************
-**
-** Copyright (C) 2016 The Qt Company Ltd.
-** Contact: https://www.qt.io/licensing/
-**
-** This file is part of the Qt VS Add-in.
-**
-** $QT_BEGIN_LICENSE:GPL-EXCEPT$
-** Commercial License Usage
-** Licensees holding valid commercial Qt licenses may use this file in
-** accordance with the commercial license agreement provided with the
-** Software or, alternatively, in accordance with the terms contained in
-** a written agreement between you and The Qt Company. For licensing terms
-** and conditions see https://www.qt.io/terms-conditions. For further
-** information use the contact form at https://www.qt.io/contact-us.
-**
-** GNU General Public License Usage
-** Alternatively, this file may be used under the terms of the GNU
-** General Public License version 3 as published by the Free Software
-** Foundation with exceptions as appearing in the file LICENSE.GPL3-EXCEPT
-** included in the packaging of this file. Please review the following
-** information to ensure the GNU General Public License requirements will
-** be met: https://www.gnu.org/licenses/gpl-3.0.html.
-**
-** $QT_END_LICENSE$
-**
-****************************************************************************/
-
-#ifndef RESOURCEFILE_P_H
-#define RESOURCEFILE_P_H
-
-#include <QtCore/QAbstractItemModel>
-#include <QtCore/QMap>
-#include <QtCore/QString>
-#include <QtCore/QStringList>
-#include <QtGui/QIcon>
-
-QT_BEGIN_NAMESPACE
-
-namespace qdesigner_internal {
-
-struct File;
-struct Prefix;
-
-/*!
- \class Node
-
- Forms the base class for nodes in a \l ResourceFile tree.
-*/
-class Node
-{
-protected:
- Node(File *file, Prefix *prefix) : m_file(file), m_prefix(prefix)
- {
- Q_ASSERT(m_prefix);
- }
-public:
- File *file() const { return m_file; }
- Prefix *prefix() const { return m_prefix; }
-private:
- File *m_file;
- Prefix *m_prefix;
-};
-
-/*!
- \class File
-
- Represents a file node in a \l ResourceFile tree.
-*/
-struct File : public Node {
- File(Prefix *prefix, const QString &_name = QString(), const QString &_alias = QString())
- : Node(this, prefix), name(_name), alias(_alias) {}
- bool operator < (const File &other) const { return name < other.name; }
- bool operator == (const File &other) const { return name == other.name; }
- bool operator != (const File &other) const { return name != other.name; }
- QString name;
- QString alias;
- QIcon icon;
-};
-
-class FileList : public QList<File *>
-{
-public:
- bool containsFile(File *file);
-};
-
-/*!
- \class Prefix
-
- Represents a prefix node in a \l ResourceFile tree.
-*/
-struct Prefix : public Node
-{
- Prefix(const QString &_name = QString(), const QString &_lang = QString(), const FileList &_file_list = FileList())
- : Node(NULL, this), name(_name), lang(_lang), file_list(_file_list) {}
- ~Prefix()
- {
- qDeleteAll(file_list);
- file_list.clear();
- }
- bool operator == (const Prefix &other) const { return (name == other.name) && (lang == other.lang); }
- QString name;
- QString lang;
- FileList file_list;
-};
-typedef QList<Prefix *> PrefixList;
-
-/*!
- \class ResourceFile
-
- Represents the structure of a Qt Resource File (.qrc) file.
-*/
-class ResourceFile
-{
-public:
- ResourceFile(const QString &file_name = QString());
- ~ResourceFile();
-
- void setFileName(const QString &file_name) { m_file_name = file_name; }
- QString fileName() const { return m_file_name; }
- bool load();
- bool save();
- QString errorMessage() const { return m_error_message; }
-
-private:
- QString resolvePath(const QString &path) const;
- QStringList prefixList() const;
- QStringList fileList(int pref_idx) const;
-
-public:
- int prefixCount() const;
- QString prefix(int idx) const;
- QString lang(int idx) const;
-
- int fileCount(int prefix_idx) const;
-
- QString file(int prefix_idx, int file_idx) const;
- QString alias(int prefix_idx, int file_idx) const;
-
- void addFile(int prefix_idx, const QString &file, int file_idx = -1);
- void addPrefix(const QString &prefix, int prefix_idx = -1);
-
- void removePrefix(int prefix_idx);
- void removeFile(int prefix_idx, int file_idx);
-
- void replacePrefix(int prefix_idx, const QString &prefix);
- void replaceLang(int prefix_idx, const QString &lang);
- void replaceAlias(int prefix_idx, int file_idx, const QString &alias);
-
-private:
- void replaceFile(int pref_idx, int file_idx, const QString &file);
-public:
- int indexOfPrefix(const QString &prefix) const;
- int indexOfFile(int pref_idx, const QString &file) const;
-
- bool contains(const QString &prefix, const QString &file = QString()) const;
- bool contains(int pref_idx, const QString &file) const;
-
- QString relativePath(const QString &abs_path) const;
- QString absolutePath(const QString &rel_path) const;
-
- static QString fixPrefix(const QString &prefix);
- bool split(const QString &path, QString *prefix, QString *file) const;
-
-private:
- bool isEmpty() const;
-
-private:
- PrefixList m_prefix_list;
- QString m_file_name;
- QString m_error_message;
-
-public:
- void * prefixPointer(int prefixIndex) const;
- void * filePointer(int prefixIndex, int fileIndex) const;
- int prefixPointerIndex(const Prefix *prefix) const;
-
-private:
- void clearPrefixList();
-};
-
-/*!
- \class ResourceModel
-
- Wraps a \l ResourceFile as a single-column tree model.
-*/
-class ResourceModel : public QAbstractItemModel
-{
- Q_OBJECT
-
-public:
- ResourceModel(const ResourceFile &resource_file, QObject *parent = 0);
-
- QModelIndex index(int row, int column,
- const QModelIndex &parent = QModelIndex()) const;
- QModelIndex parent(const QModelIndex &index) const;
- int rowCount(const QModelIndex &parent) const;
- int columnCount(const QModelIndex &parent) const;
- bool hasChildren(const QModelIndex &parent) const;
- Qt::DropActions supportedDropActions() const;
-
-protected:
- QVariant data(const QModelIndex &index, int role = Qt::DisplayRole) const;
-
-public:
- QString fileName() const { return m_resource_file.fileName(); }
- void setFileName(const QString &file_name) { m_resource_file.setFileName(file_name); }
- void getItem(const QModelIndex &index, QString &prefix, QString &file) const;
-
- QString lang(const QModelIndex &index) const;
- QString alias(const QModelIndex &index) const;
- QString file(const QModelIndex &index) const;
-
- virtual QModelIndex addNewPrefix();
- virtual QModelIndex addFiles(const QModelIndex &idx, const QStringList &file_list);
- void addFiles(int prefixIndex, const QStringList &fileNames, int cursorFile, int &firstFile, int &lastFile);
- void insertPrefix(int prefixIndex, const QString &prefix, const QString &lang);
- void insertFile(int prefixIndex, int fileIndex, const QString &fileName, const QString &alias);
- virtual void changePrefix(const QModelIndex &idx, const QString &prefix);
- virtual void changeLang(const QModelIndex &idx, const QString &lang);
- virtual void changeAlias(const QModelIndex &idx, const QString &alias);
- virtual QModelIndex deleteItem(const QModelIndex &idx);
- QModelIndex getIndex(const QString &prefix, const QString &file);
- QModelIndex getIndex(const QString &prefixed_file);
- QModelIndex prefixIndex(const QModelIndex &sel_idx) const;
-
- QString absolutePath(const QString &path) const
- { return m_resource_file.absolutePath(path); }
-
-private:
- QString relativePath(const QString &path) const
- { return m_resource_file.relativePath(path); }
- QString lastResourceOpenDirectory() const;
-
-public:
- virtual bool reload();
- virtual bool save();
- // QString errorMessage() const { return m_resource_file.errorMessage(); }
-
- bool dirty() const { return m_dirty; }
- void setDirty(bool b);
-
-private:
- virtual QMimeData *mimeData (const QModelIndexList & indexes) const;
-
- static bool iconFileExtension(const QString &path);
- static QString resourcePath(const QString &prefix, const QString &file);
-
-signals:
- void dirtyChanged(bool b);
-
-private:
- ResourceFile m_resource_file;
- bool m_dirty;
- QString m_lastResourceDir;
-};
-
-} // namespace qdesigner_internal
-
-QT_END_NAMESPACE
-
-#endif // RESOURCEFILE_P_H
diff --git a/tools/qrceditor/shared/resourceview.cpp b/tools/qrceditor/shared/resourceview.cpp
deleted file mode 100644
index 0bb4277d..00000000
--- a/tools/qrceditor/shared/resourceview.cpp
+++ /dev/null
@@ -1,663 +0,0 @@
-/****************************************************************************
-**
-** Copyright (C) 2016 The Qt Company Ltd.
-** Contact: https://www.qt.io/licensing/
-**
-** This file is part of the Qt VS Add-in.
-**
-** $QT_BEGIN_LICENSE:GPL-EXCEPT$
-** Commercial License Usage
-** Licensees holding valid commercial Qt licenses may use this file in
-** accordance with the commercial license agreement provided with the
-** Software or, alternatively, in accordance with the terms contained in
-** a written agreement between you and The Qt Company. For licensing terms
-** and conditions see https://www.qt.io/terms-conditions. For further
-** information use the contact form at https://www.qt.io/contact-us.
-**
-** GNU General Public License Usage
-** Alternatively, this file may be used under the terms of the GNU
-** General Public License version 3 as published by the Free Software
-** Foundation with exceptions as appearing in the file LICENSE.GPL3-EXCEPT
-** included in the packaging of this file. Please review the following
-** information to ensure the GNU General Public License requirements will
-** be met: https://www.gnu.org/licenses/gpl-3.0.html.
-**
-** $QT_END_LICENSE$
-**
-****************************************************************************/
-
-#include "resourceview.h"
-
-#include "undocommands_p.h"
-
-#include <QtCore/QDebug>
-
-#include <QtWidgets/QAction>
-#include <QtWidgets/QApplication>
-#include <QtWidgets/QFileDialog>
-#include <QtWidgets/QHeaderView>
-#include <QtWidgets/QInputDialog>
-#include <QtWidgets/QMenu>
-#include <QtGui/QMouseEvent>
-#include <QtWidgets/QUndoStack>
-
-namespace SharedTools {
-
-/*!
- \class FileEntryBackup
-
- Backups a file node.
-*/
-class FileEntryBackup : public EntryBackup
-{
-private:
- int m_fileIndex;
- QString m_alias;
-
-public:
- FileEntryBackup(ResourceModel &model, int prefixIndex, int fileIndex,
- const QString &fileName, const QString &alias)
- : EntryBackup(model, prefixIndex, fileName), m_fileIndex(fileIndex),
- m_alias(alias) { }
- void restore() const;
-};
-
-void FileEntryBackup::restore() const
-{
- m_model->insertFile(m_prefixIndex, m_fileIndex, m_name, m_alias);
-}
-
-/*!
- \class PrefixEntryBackup
-
- Backups a prefix node including children.
-*/
-class PrefixEntryBackup : public EntryBackup
-{
-private:
- QString m_language;
- QList<FileEntryBackup> m_files;
-
-public:
- PrefixEntryBackup(ResourceModel &model, int prefixIndex, const QString &prefix,
- const QString &language, const QList<FileEntryBackup> &files)
- : EntryBackup(model, prefixIndex, prefix), m_language(language), m_files(files) { }
- void restore() const;
-};
-
-void PrefixEntryBackup::restore() const
-{
- m_model->insertPrefix(m_prefixIndex, m_name, m_language);
- foreach (const FileEntryBackup &entry, m_files) {
- entry.restore();
- }
-}
-
-namespace Internal {
-
-class RelativeResourceModel : public ResourceModel
-{
-public:
- RelativeResourceModel(const ResourceFile &resource_file, QObject *parent = 0);
-
- QVariant data(const QModelIndex &index, int role = Qt::DisplayRole) const
- {
- if (!index.isValid())
- return QVariant();
-/*
- void const * const internalPointer = index.internalPointer();
-
- if ((role == Qt::DisplayRole) && (internalPointer != NULL))
- return ResourceModel::data(index, Qt::ToolTipRole);
-*/
- return ResourceModel::data(index, role);
- }
-
- void setResourceDragEnabled(bool e) { m_resourceDragEnabled = e; }
- bool resourceDragEnabled() const { return m_resourceDragEnabled; }
-
- virtual Qt::ItemFlags flags(const QModelIndex &index) const;
-
- EntryBackup * removeEntry(const QModelIndex &index);
-
-private:
- bool m_resourceDragEnabled;
-};
-
-RelativeResourceModel::RelativeResourceModel(const ResourceFile &resource_file, QObject *parent) :
- ResourceModel(resource_file, parent),
- m_resourceDragEnabled(false)
-{
-}
-
-Qt::ItemFlags RelativeResourceModel::flags(const QModelIndex &index) const
-{
- Qt::ItemFlags rc = ResourceModel::flags(index);
- if ((rc & Qt::ItemIsEnabled) && m_resourceDragEnabled)
- rc |= Qt::ItemIsDragEnabled;
- return rc;
-}
-
-EntryBackup * RelativeResourceModel::removeEntry(const QModelIndex &index)
-{
- const QModelIndex prefixIndex = this->prefixIndex(index);
- const bool isPrefixNode = (prefixIndex == index);
-
- // Create backup, remove, return backup
- if (isPrefixNode) {
- QString dummy;
- QString prefixBackup;
- getItem(index, prefixBackup, dummy);
- const QString languageBackup = lang(index);
- const int childCount = rowCount(index);
- QList<FileEntryBackup> filesBackup;
- for (int i = 0; i < childCount; i++) {
- const QModelIndex childIndex = this->index(i, 0, index);
- const QString fileNameBackup = file(childIndex);
- const QString aliasBackup = alias(childIndex);
- FileEntryBackup entry(*this, index.row(), i, fileNameBackup, aliasBackup);
- filesBackup << entry;
- }
- deleteItem(index);
- return new PrefixEntryBackup(*this, index.row(), prefixBackup, languageBackup, filesBackup);
- } else {
- const QString fileNameBackup = file(index);
- const QString aliasBackup = alias(index);
- deleteItem(index);
- return new FileEntryBackup(*this, prefixIndex.row(), index.row(), fileNameBackup, aliasBackup);
- }
-}
-
-} // namespace Internal
-
-ResourceView::ResourceView(QUndoStack *history, QWidget *parent) :
- QTreeView(parent),
- m_qrcModel(new Internal::RelativeResourceModel(m_qrcFile, this)),
- m_addFile(0),
- m_editAlias(0),
- m_removeItem(0),
- m_addPrefix(0),
- m_editPrefix(0),
- m_editLang(0),
- m_viewMenu(0),
- m_defaultAddFile(false),
- m_history(history),
- m_mergeId(-1)
-{
- advanceMergeId();
- setModel(m_qrcModel);
-
- header()->hide();
-
- connect(m_qrcModel, SIGNAL(dirtyChanged(bool)),
- this, SIGNAL(dirtyChanged(bool)));
-
- setupMenu();
-
- setDefaultAddFileEnabled(true);
- enableContextMenu(true);
-}
-
-ResourceView::~ResourceView()
-{
-}
-
-void ResourceView::currentChanged(const QModelIndex &current, const QModelIndex &previous)
-{
- Q_UNUSED(current)
- Q_UNUSED(previous)
- emit currentIndexChanged();
-}
-
-bool ResourceView::isDirty() const
-{
- return m_qrcModel->dirty();
-}
-
-void ResourceView::setDirty(bool dirty)
-{
- m_qrcModel->setDirty(dirty);
-}
-
-void ResourceView::setDefaultAddFileEnabled(bool enable)
-{
- m_defaultAddFile = enable;
-}
-
-bool ResourceView::defaultAddFileEnabled() const
-{
- return m_defaultAddFile;
-}
-
-void ResourceView::findSamePlacePostDeletionModelIndex(int &row, QModelIndex &parent) const
-{
- // Concept:
- // - Make selection stay on same Y level
- // - Enable user to hit delete several times in row
- const bool hasLowerBrother = m_qrcModel->hasIndex(row + 1,
- 0, parent);
- if (hasLowerBrother) {
- // First or mid child -> lower brother
- // o
- // +--o
- // +-[o] <-- deleted
- // +--o <-- chosen
- // o
- // --> return unmodified
- } else {
- if (parent == QModelIndex()) {
- // Last prefix node
- if (row == 0) {
- // Last and only prefix node
- // [o] <-- deleted
- // +--o
- // +--o
- row = -1;
- parent = QModelIndex();
- } else {
- const QModelIndex upperBrother = m_qrcModel->index(row - 1,
- 0, parent);
- if (m_qrcModel->hasChildren(upperBrother)) {
- // o
- // +--o <-- selected
- // [o] <-- deleted
- row = m_qrcModel->rowCount(upperBrother) - 1;
- parent = upperBrother;
- } else {
- // o
- // o <-- selected
- // [o] <-- deleted
- row--;
- }
- }
- } else {
- // Last file node
- const bool hasPrefixBelow = m_qrcModel->hasIndex(parent.row() + 1,
- parent.column(), QModelIndex());
- if (hasPrefixBelow) {
- // Last child or parent with lower brother -> lower brother of parent
- // o
- // +--o
- // +-[o] <-- deleted
- // o <-- chosen
- row = parent.row() + 1;
- parent = QModelIndex();
- } else {
- const bool onlyChild = row == 0;
- if (onlyChild) {
- // Last and only child of last parent -> parent
- // o <-- chosen
- // +-[o] <-- deleted
- row = parent.row();
- parent = m_qrcModel->parent(parent);
- } else {
- // Last child of last parent -> upper brother
- // o
- // +--o <-- chosen
- // +-[o] <-- deleted
- row--;
- }
- }
- }
- }
-}
-
-EntryBackup * ResourceView::removeEntry(const QModelIndex &index)
-{
- Q_ASSERT(m_qrcModel);
- return m_qrcModel->removeEntry(index);
-}
-
-void ResourceView::addFiles(int prefixIndex, const QStringList &fileNames, int cursorFile,
- int &firstFile, int &lastFile)
-{
- Q_ASSERT(m_qrcModel);
- m_qrcModel->addFiles(prefixIndex, fileNames, cursorFile, firstFile, lastFile);
-
- // Expand prefix node
- const QModelIndex prefixModelIndex = m_qrcModel->index(prefixIndex, 0, QModelIndex());
- if (prefixModelIndex.isValid()) {
- this->setExpanded(prefixModelIndex, true);
- }
-}
-
-void ResourceView::removeFiles(int prefixIndex, int firstFileIndex, int lastFileIndex)
-{
- Q_ASSERT(prefixIndex >= 0 && prefixIndex < m_qrcModel->rowCount(QModelIndex()));
- const QModelIndex prefixModelIndex = m_qrcModel->index(prefixIndex, 0, QModelIndex());
- Q_ASSERT(prefixModelIndex != QModelIndex());
- Q_ASSERT(firstFileIndex >= 0 && firstFileIndex < m_qrcModel->rowCount(prefixModelIndex));
- Q_ASSERT(lastFileIndex >= 0 && lastFileIndex < m_qrcModel->rowCount(prefixModelIndex));
-
- for (int i = lastFileIndex; i >= firstFileIndex; i--) {
- const QModelIndex index = m_qrcModel->index(i, 0, prefixModelIndex);
- delete removeEntry(index);
- }
-}
-
-void ResourceView::enableContextMenu(bool enable)
-{
- if (enable) {
- connect(this, SIGNAL(clicked(const QModelIndex &)),
- this, SLOT(popupMenu(const QModelIndex &)));
- } else {
- disconnect(this, SIGNAL(clicked(const QModelIndex &)),
- this, SLOT(popupMenu(const QModelIndex &)));
- }
-}
-
-void ResourceView::setupMenu()
-{
- m_viewMenu = new QMenu(this);
-/*
- m_addFile = m_viewMenu->addAction(tr("Add Files..."), this, SIGNAL(addFiles()));
- m_editAlias = m_viewMenu->addAction(tr("Change Alias..."), this, SLOT(onEditAlias()));
- m_addPrefix = m_viewMenu->addAction(tr("Add Prefix..."), this, SLOT(addPrefix()));
- m_editPrefix = m_viewMenu->addAction(tr("Change Prefix..."), this, SLOT(onEditPrefix()));
- m_editLang = m_viewMenu->addAction(tr("Change Language..."), this, SLOT(onEditLang()));
- m_viewMenu->addSeparator();
- m_removeItem = m_viewMenu->addAction(tr("Remove Item"), this, SLOT(removeItem()));
-*/
- m_addFile = m_viewMenu->addAction(tr("Add Files..."), this, SLOT(onAddFiles()));
- m_editAlias = m_viewMenu->addAction(tr("Change Alias..."), this, SLOT(onEditAlias()));
- m_addPrefix = m_viewMenu->addAction(tr("Add Prefix..."), this, SIGNAL(addPrefixTriggered()));
- m_editPrefix = m_viewMenu->addAction(tr("Change Prefix..."), this, SLOT(onEditPrefix()));
- m_editLang = m_viewMenu->addAction(tr("Change Language..."), this, SLOT(onEditLang()));
- m_viewMenu->addSeparator();
- m_removeItem = m_viewMenu->addAction(tr("Remove Item"), this, SIGNAL(removeItem()));
-}
-
-void ResourceView::mouseReleaseEvent(QMouseEvent *e)
-{
- m_releasePos = e->globalPos();
- if (e->button() != Qt::RightButton)
- m_releasePos = QPoint();
-
- QTreeView::mouseReleaseEvent(e);
-}
-
-void ResourceView::keyPressEvent(QKeyEvent *e)
-{
- if (e->key() == Qt::Key_Delete)
- removeItem();
- else
- QTreeView::keyPressEvent(e);
-}
-
-void ResourceView::popupMenu(const QModelIndex &index)
-{
- if (!m_releasePos.isNull()) {
- m_addFile->setEnabled(index.isValid());
- m_editPrefix->setEnabled(index.isValid());
- m_editLang->setEnabled(index.isValid());
- m_removeItem->setEnabled(index.isValid());
-
- m_viewMenu->popup(m_releasePos);
- }
-}
-
-QModelIndex ResourceView::addPrefix()
-{
- const QModelIndex idx = m_qrcModel->addNewPrefix();
- selectionModel()->setCurrentIndex(idx, QItemSelectionModel::ClearAndSelect);
- return idx;
-}
-
-QStringList ResourceView::fileNamesToAdd()
-{
- return QFileDialog::getOpenFileNames(this, tr("Open file"),
- m_qrcModel->absolutePath(QString()),
- tr("All files (*)"));
-}
-
-void ResourceView::onAddFiles()
-{
- emit addFilesTriggered(currentPrefix());
-}
-
-void ResourceView::addFiles(QStringList fileList, const QModelIndex &index)
-{
- if (fileList.isEmpty())
- return;
- QModelIndex idx = index;
- if (!m_qrcModel->hasChildren(QModelIndex())) {
- idx = addPrefix();
- expand(idx);
- }
-
- idx = m_qrcModel->addFiles(idx, fileList);
-
- if (idx.isValid()) {
- const QModelIndex preindex = m_qrcModel->prefixIndex(index);
- setExpanded(preindex, true);
- selectionModel()->setCurrentIndex(idx, QItemSelectionModel::ClearAndSelect);
- QString prefix, file;
- m_qrcModel->getItem(preindex, prefix, file);
-// XXX emit filesAdded(prefix, fileList);
- }
-}
-
-void ResourceView::addFile(const QString &prefix, const QString &file)
-{
- const QModelIndex preindex = m_qrcModel->getIndex(prefix, QString());
- addFiles(QStringList(file), preindex);
-}
-
-/*
-void ResourceView::removeItem()
-{
- const QModelIndex index = currentIndex();
- m_qrcModel->deleteItem(index);
-}
-
-void ResourceView::removeFile(const QString &prefix, const QString &file)
-{
- const QModelIndex index = m_qrcModel->getIndex(prefix, file);
- if (index.isValid())
- m_qrcModel->deleteItem(index);
-}
-*/
-void ResourceView::onEditPrefix()
-{
- QModelIndex index = currentIndex();
- changePrefix(index);
-}
-
-void ResourceView::onEditLang()
-{
- const QModelIndex index = currentIndex();
- changeLang(index);
-}
-
-void ResourceView::onEditAlias()
-{
- const QModelIndex index = currentIndex();
- changeAlias(index);
-}
-
-bool ResourceView::load(const QString &fileName)
-{
- const QFileInfo fi(fileName);
- m_qrcModel->setFileName(fi.absoluteFilePath());
-
- if (!fi.exists())
- return false;
-
- return m_qrcModel->reload();
-}
-
-bool ResourceView::save()
-{
- return m_qrcModel->save();
-}
-
-void ResourceView::changePrefix(const QModelIndex &index)
-{
- bool ok = false;
- const QModelIndex preindex = m_qrcModel->prefixIndex(index);
-
- QString prefixBefore;
- QString dummy;
- m_qrcModel->getItem(preindex, prefixBefore, dummy);
-
- QString const prefixAfter = QInputDialog::getText(this, tr("Change Prefix"), tr("Input Prefix:"),
- QLineEdit::Normal, prefixBefore, &ok);
-
- if (ok)
- addUndoCommand(preindex, PrefixProperty, prefixBefore, prefixAfter);
-}
-
-void ResourceView::changeLang(const QModelIndex &index)
-{
- bool ok = false;
- const QModelIndex preindex = m_qrcModel->prefixIndex(index);
-
- QString const langBefore = m_qrcModel->lang(preindex);
- QString const langAfter = QInputDialog::getText(this, tr("Change Language"), tr("Language:"),
- QLineEdit::Normal, langBefore, &ok);
-
- if (ok) {
- addUndoCommand(preindex, LanguageProperty, langBefore, langAfter);
- }
-}
-
-void ResourceView::changeAlias(const QModelIndex &index)
-{
- if (!index.parent().isValid())
- return;
-
- bool ok = false;
-
- QString const aliasBefore = m_qrcModel->alias(index);
- QString const aliasAfter = QInputDialog::getText(this, tr("Change File Alias"), tr("Alias:"),
- QLineEdit::Normal, aliasBefore, &ok);
-
- if (ok)
- addUndoCommand(index, AliasProperty, aliasBefore, aliasAfter);
-}
-
-QString ResourceView::currentAlias() const
-{
- const QModelIndex current = currentIndex();
- if (!current.isValid())
- return QString();
- return m_qrcModel->alias(current);
-}
-
-QString ResourceView::currentPrefix() const
-{
- const QModelIndex current = currentIndex();
- if (!current.isValid())
- return QString();
- const QModelIndex preindex = m_qrcModel->prefixIndex(current);
- QString prefix, file;
- m_qrcModel->getItem(preindex, prefix, file);
- return prefix;
-}
-
-QString ResourceView::currentLanguage() const
-{
- const QModelIndex current = currentIndex();
- if (!current.isValid())
- return QString();
- const QModelIndex preindex = m_qrcModel->prefixIndex(current);
- return m_qrcModel->lang(preindex);
-}
-
-QString ResourceView::getCurrentValue(NodeProperty property) const
-{
- switch (property) {
- case AliasProperty: return currentAlias();
- case PrefixProperty: return currentPrefix();
- case LanguageProperty: return currentLanguage();
- default: Q_ASSERT(false); return QString(); // Kill warning
- }
-}
-
-void ResourceView::changeValue(const QModelIndex &nodeIndex, NodeProperty property,
- const QString &value)
-{
- switch (property) {
- case AliasProperty: m_qrcModel->changeAlias(nodeIndex, value); return;
- case PrefixProperty: m_qrcModel->changePrefix(nodeIndex, value); return;
- case LanguageProperty: m_qrcModel->changeLang(nodeIndex, value); return;
- default: Q_ASSERT(false);
- }
-}
-
-void ResourceView::advanceMergeId()
-{
- m_mergeId++;
- if (m_mergeId < 0)
- m_mergeId = 0;
-}
-
-void ResourceView::addUndoCommand(const QModelIndex &nodeIndex, NodeProperty property,
- const QString &before, const QString &after)
-{
- QUndoCommand * const command = new ModifyPropertyCommand(this, nodeIndex, property,
- m_mergeId, before, after);
- m_history->push(command);
-}
-
-void ResourceView::setCurrentAlias(const QString &before, const QString &after)
-{
- const QModelIndex current = currentIndex();
- if (!current.isValid())
- return;
-
- addUndoCommand(current, AliasProperty, before, after);
-}
-
-void ResourceView::setCurrentPrefix(const QString &before, const QString &after)
-{
- const QModelIndex current = currentIndex();
- if (!current.isValid())
- return;
- const QModelIndex preindex = m_qrcModel->prefixIndex(current);
-
- addUndoCommand(preindex, PrefixProperty, before, after);
-}
-
-void ResourceView::setCurrentLanguage(const QString &before, const QString &after)
-{
- const QModelIndex current = currentIndex();
- if (!current.isValid())
- return;
- const QModelIndex preindex = m_qrcModel->prefixIndex(current);
-
- addUndoCommand(preindex, LanguageProperty, before, after);
-}
-
-bool ResourceView::isPrefix(const QModelIndex &index) const
-{
- if (!index.isValid())
- return false;
- const QModelIndex preindex = m_qrcModel->prefixIndex(index);
- if (preindex == index)
- return true;
- return false;
-}
-
-QString ResourceView::fileName() const
-{
- return m_qrcModel->fileName();
-}
-
-void ResourceView::setFileName(const QString &fileName)
-{
- m_qrcModel->setFileName(fileName);
-}
-
-void ResourceView::setResourceDragEnabled(bool e)
-{
- setDragEnabled(e);
- m_qrcModel->setResourceDragEnabled(e);
-}
-
-bool ResourceView::resourceDragEnabled() const
-{
- return m_qrcModel->resourceDragEnabled();
-}
-
-} // namespace SharedTools
diff --git a/tools/qrceditor/shared/resourceview.h b/tools/qrceditor/shared/resourceview.h
deleted file mode 100644
index 3cd25cd4..00000000
--- a/tools/qrceditor/shared/resourceview.h
+++ /dev/null
@@ -1,180 +0,0 @@
-/****************************************************************************
-**
-** Copyright (C) 2016 The Qt Company Ltd.
-** Contact: https://www.qt.io/licensing/
-**
-** This file is part of the Qt VS Add-in.
-**
-** $QT_BEGIN_LICENSE:GPL-EXCEPT$
-** Commercial License Usage
-** Licensees holding valid commercial Qt licenses may use this file in
-** accordance with the commercial license agreement provided with the
-** Software or, alternatively, in accordance with the terms contained in
-** a written agreement between you and The Qt Company. For licensing terms
-** and conditions see https://www.qt.io/terms-conditions. For further
-** information use the contact form at https://www.qt.io/contact-us.
-**
-** GNU General Public License Usage
-** Alternatively, this file may be used under the terms of the GNU
-** General Public License version 3 as published by the Free Software
-** Foundation with exceptions as appearing in the file LICENSE.GPL3-EXCEPT
-** included in the packaging of this file. Please review the following
-** information to ensure the GNU General Public License requirements will
-** be met: https://www.gnu.org/licenses/gpl-3.0.html.
-**
-** $QT_END_LICENSE$
-**
-****************************************************************************/
-
-#ifndef RESOURCEVIEW_H
-#define RESOURCEVIEW_H
-
-#include "resourcefile_p.h"
-
-#include <QtWidgets/QTreeView>
-#include <QtCore/QPoint>
-
-using namespace qdesigner_internal;
-
-QT_BEGIN_NAMESPACE
-class QAction;
-class QMenu;
-class QMouseEvent;
-class QUndoStack;
-QT_END_NAMESPACE
-
-namespace SharedTools {
-
-/*!
- \class EntryBackup
-
- Holds the backup of a tree node including children.
-*/
-class EntryBackup
-{
-protected:
- ResourceModel *m_model;
- int m_prefixIndex;
- QString m_name;
-
- EntryBackup(ResourceModel &model, int prefixIndex, const QString &name)
- : m_model(&model), m_prefixIndex(prefixIndex), m_name(name) { }
-
-public:
- virtual void restore() const = 0;
- virtual ~EntryBackup() { }
-};
-
-namespace Internal {
- class RelativeResourceModel;
-}
-
-class ResourceView : public QTreeView
-{
- Q_OBJECT
-
-public:
- enum NodeProperty {
- AliasProperty,
- PrefixProperty,
- LanguageProperty
- };
-
- ResourceView(QUndoStack *history, QWidget *parent = 0);
- ~ResourceView();
-
- bool load(const QString &fileName);
- bool save();
- QString fileName() const;
- void setFileName(const QString &fileName);
-
- bool isDirty() const;
- void setDirty(bool dirty);
-
- void enableContextMenu(bool enable);
-
- void addFiles(QStringList fileList, const QModelIndex &index);
-
- void addFile(const QString &prefix, const QString &file);
-// void removeFile(const QString &prefix, const QString &file);
-
- bool isPrefix(const QModelIndex &index) const;
-
- QString currentAlias() const;
- QString currentPrefix() const;
- QString currentLanguage() const;
-
- void setResourceDragEnabled(bool e);
- bool resourceDragEnabled() const;
-
- void setDefaultAddFileEnabled(bool enable);
- bool defaultAddFileEnabled() const;
-
- void findSamePlacePostDeletionModelIndex(int &row, QModelIndex &parent) const;
- EntryBackup *removeEntry(const QModelIndex &index);
- void addFiles(int prefixIndex, const QStringList &fileNames, int cursorFile,
- int &firstFile, int &lastFile);
- void removeFiles(int prefixIndex, int firstFileIndex, int lastFileIndex);
- QStringList fileNamesToAdd();
- QModelIndex addPrefix();
-
-public slots:
- void onAddFiles();
- void setCurrentAlias(const QString &before, const QString &after);
- void setCurrentPrefix(const QString &before, const QString &after);
- void setCurrentLanguage(const QString &before, const QString &after);
- void advanceMergeId();
-
-protected:
- void setupMenu();
- void changePrefix(const QModelIndex &index);
- void changeLang(const QModelIndex &index);
- void changeAlias(const QModelIndex &index);
- void mouseReleaseEvent(QMouseEvent *e);
- void keyPressEvent(QKeyEvent *e);
-
-signals:
- void removeItem();
- void dirtyChanged(bool b);
- void currentIndexChanged();
-
- void addFilesTriggered(const QString &prefix);
- void addPrefixTriggered();
-
-protected slots:
- void currentChanged(const QModelIndex &current, const QModelIndex &previous);
-
-private slots:
- void onEditAlias();
- void onEditPrefix();
- void onEditLang();
- void popupMenu(const QModelIndex &index);
-
-public:
- QString getCurrentValue(NodeProperty property) const;
- void changeValue(const QModelIndex &nodeIndex, NodeProperty property, const QString &value);
-
-private:
- void addUndoCommand(const QModelIndex &nodeIndex, NodeProperty property,
- const QString &before, const QString &after);
-
- QPoint m_releasePos;
-
- qdesigner_internal::ResourceFile m_qrcFile;
- Internal::RelativeResourceModel *m_qrcModel;
-
- QAction *m_addFile;
- QAction *m_editAlias;
- QAction *m_removeItem;
- QAction *m_addPrefix;
- QAction *m_editPrefix;
- QAction *m_editLang;
- QMenu *m_viewMenu;
- bool m_defaultAddFile;
- QUndoStack *m_history;
- int m_mergeId;
-};
-
-} // namespace SharedTools
-
-#endif // RESOURCEVIEW_H
diff --git a/tools/qrceditor/shared/undocommands.cpp b/tools/qrceditor/shared/undocommands.cpp
deleted file mode 100644
index 866a0d60..00000000
--- a/tools/qrceditor/shared/undocommands.cpp
+++ /dev/null
@@ -1,185 +0,0 @@
-/****************************************************************************
-**
-** Copyright (C) 2016 The Qt Company Ltd.
-** Contact: https://www.qt.io/licensing/
-**
-** This file is part of the Qt VS Add-in.
-**
-** $QT_BEGIN_LICENSE:GPL-EXCEPT$
-** Commercial License Usage
-** Licensees holding valid commercial Qt licenses may use this file in
-** accordance with the commercial license agreement provided with the
-** Software or, alternatively, in accordance with the terms contained in
-** a written agreement between you and The Qt Company. For licensing terms
-** and conditions see https://www.qt.io/terms-conditions. For further
-** information use the contact form at https://www.qt.io/contact-us.
-**
-** GNU General Public License Usage
-** Alternatively, this file may be used under the terms of the GNU
-** General Public License version 3 as published by the Free Software
-** Foundation with exceptions as appearing in the file LICENSE.GPL3-EXCEPT
-** included in the packaging of this file. Please review the following
-** information to ensure the GNU General Public License requirements will
-** be met: https://www.gnu.org/licenses/gpl-3.0.html.
-**
-** $QT_END_LICENSE$
-**
-****************************************************************************/
-
-#include "undocommands_p.h"
-
-#include <QtCore/QModelIndex>
-
-namespace SharedTools {
-
-ViewCommand::ViewCommand(ResourceView *view)
- : m_view(view)
-{ }
-
-ViewCommand::~ViewCommand()
-{ }
-
-ModelIndexViewCommand::ModelIndexViewCommand(ResourceView *view)
- : ViewCommand(view)
-{ }
-
-ModelIndexViewCommand::~ModelIndexViewCommand()
-{ }
-
-void ModelIndexViewCommand::storeIndex(const QModelIndex &index)
-{
- if (m_view->isPrefix(index)) {
- m_prefixArrayIndex = index.row();
- m_fileArrayIndex = -1;
- } else {
- m_fileArrayIndex = index.row();
- m_prefixArrayIndex = m_view->model()->parent(index).row();
- }
-}
-
-QModelIndex ModelIndexViewCommand::makeIndex() const
-{
- const QModelIndex prefixModelIndex
- = m_view->model()->index(m_prefixArrayIndex, 0, QModelIndex());
- if (m_fileArrayIndex != -1) {
- // File node
- const QModelIndex fileModelIndex
- = m_view->model()->index(m_fileArrayIndex, 0, prefixModelIndex);
- return fileModelIndex;
- } else {
- // Prefix node
- return prefixModelIndex;
- }
-}
-
-
-
-ModifyPropertyCommand::ModifyPropertyCommand(ResourceView *view, const QModelIndex &nodeIndex,
- ResourceView::NodeProperty property, const int mergeId, const QString &before,
- const QString &after)
- : ModelIndexViewCommand(view), m_property(property), m_before(before), m_after(after),
- m_mergeId(mergeId)
-{
- storeIndex(nodeIndex);
-}
-
-bool ModifyPropertyCommand::mergeWith(const QUndoCommand * command)
-{
- if (command->id() != id() || m_property != static_cast<const ModifyPropertyCommand *>(command)->m_property)
- return false;
- // Choose older command (this) and forgot the other
- return true;
-}
-
-void ModifyPropertyCommand::undo()
-{
- Q_ASSERT(m_view);
-
- // Save current text in m_after for redo()
- m_after = m_view->getCurrentValue(m_property);
-
- // Reset text to m_before
- m_view->changeValue(makeIndex(), m_property, m_before);
-}
-
-void ModifyPropertyCommand::redo()
-{
- // Prevent execution from within QUndoStack::push
- if (m_after.isNull())
- return;
-
- // Bring back text before undo
- Q_ASSERT(m_view);
- m_view->changeValue(makeIndex(), m_property, m_after);
-}
-
-RemoveEntryCommand::RemoveEntryCommand(ResourceView *view, const QModelIndex &index)
- : ModelIndexViewCommand(view), m_entry(0), m_isExpanded(true)
-{
- storeIndex(index);
-}
-
-RemoveEntryCommand::~RemoveEntryCommand()
-{
- freeEntry();
-}
-
-void RemoveEntryCommand::redo()
-{
- freeEntry();
- const QModelIndex index = makeIndex();
- m_isExpanded = m_view->isExpanded(index);
- m_entry = m_view->removeEntry(index);
-}
-
-void RemoveEntryCommand::undo()
-{
- if (m_entry == 0) {
- m_entry->restore();
- Q_ASSERT(m_view != 0);
- const QModelIndex index = makeIndex();
- m_view->setExpanded(index, m_isExpanded);
- m_view->setCurrentIndex(index);
- freeEntry();
- }
-}
-
-void RemoveEntryCommand::freeEntry()
-{
- delete m_entry;
- m_entry = 0;
-}
-
-AddFilesCommand::AddFilesCommand(ResourceView *view, int prefixIndex, int cursorFileIndex,
- const QStringList &fileNames)
- : ViewCommand(view), m_prefixIndex(prefixIndex), m_cursorFileIndex(cursorFileIndex),
- m_fileNames(fileNames)
-{ }
-
-void AddFilesCommand::redo()
-{
- m_view->addFiles(m_prefixIndex, m_fileNames, m_cursorFileIndex, m_firstFile, m_lastFile);
-}
-
-void AddFilesCommand::undo()
-{
- m_view->removeFiles(m_prefixIndex, m_firstFile, m_lastFile);
-}
-
-AddEmptyPrefixCommand::AddEmptyPrefixCommand(ResourceView *view)
- : ViewCommand(view)
-{ }
-
-void AddEmptyPrefixCommand::redo()
-{
- m_prefixArrayIndex = m_view->addPrefix().row();
-}
-
-void AddEmptyPrefixCommand::undo()
-{
- const QModelIndex prefixModelIndex = m_view->model()->index(
- m_prefixArrayIndex, 0, QModelIndex());
- delete m_view->removeEntry(prefixModelIndex);
-}
-
-} // namespace SharedTools
diff --git a/tools/qrceditor/shared/undocommands_p.h b/tools/qrceditor/shared/undocommands_p.h
deleted file mode 100644
index e8f17f82..00000000
--- a/tools/qrceditor/shared/undocommands_p.h
+++ /dev/null
@@ -1,160 +0,0 @@
-/****************************************************************************
-**
-** Copyright (C) 2016 The Qt Company Ltd.
-** Contact: https://www.qt.io/licensing/
-**
-** This file is part of the Qt VS Add-in.
-**
-** $QT_BEGIN_LICENSE:GPL-EXCEPT$
-** Commercial License Usage
-** Licensees holding valid commercial Qt licenses may use this file in
-** accordance with the commercial license agreement provided with the
-** Software or, alternatively, in accordance with the terms contained in
-** a written agreement between you and The Qt Company. For licensing terms
-** and conditions see https://www.qt.io/terms-conditions. For further
-** information use the contact form at https://www.qt.io/contact-us.
-**
-** GNU General Public License Usage
-** Alternatively, this file may be used under the terms of the GNU
-** General Public License version 3 as published by the Free Software
-** Foundation with exceptions as appearing in the file LICENSE.GPL3-EXCEPT
-** included in the packaging of this file. Please review the following
-** information to ensure the GNU General Public License requirements will
-** be met: https://www.gnu.org/licenses/gpl-3.0.html.
-**
-** $QT_END_LICENSE$
-**
-****************************************************************************/
-
-#ifndef UNDO_COMMANDS_H
-#define UNDO_COMMANDS_H
-
-#include "resourceview.h"
-
-#include <QtCore/QString>
-#include <QtWidgets/QUndoCommand>
-
-QT_BEGIN_NAMESPACE
-class QModelIndex;
-QT_END_NAMESPACE
-
-namespace SharedTools {
-
-/*!
- \class ViewCommand
-
- Provides a base for \l ResourceView-related commands.
-*/
-class ViewCommand : public QUndoCommand
-{
-protected:
- ResourceView *m_view;
-
- ViewCommand(ResourceView *view);
- virtual ~ViewCommand();
-};
-
-/*!
- \class ModelIndexViewCommand
-
- Provides a mean to store/restore a \l QModelIndex as it cannot
- be stored safely in most cases. This is an abstract class.
-*/
-class ModelIndexViewCommand : public ViewCommand
-{
- int m_prefixArrayIndex;
- int m_fileArrayIndex;
-
-protected:
- ModelIndexViewCommand(ResourceView *view);
- virtual ~ModelIndexViewCommand();
- void storeIndex(const QModelIndex &index);
- QModelIndex makeIndex() const;
-};
-
-/*!
- \class ModifyPropertyCommand
-
- Modifies the name/prefix/language property of a prefix/file node.
-*/
-class ModifyPropertyCommand : public ModelIndexViewCommand
-{
- ResourceView::NodeProperty m_property;
- QString m_before;
- QString m_after;
- int m_mergeId;
-
-public:
- ModifyPropertyCommand(ResourceView *view, const QModelIndex &nodeIndex,
- ResourceView::NodeProperty property, const int mergeId, const QString &before,
- const QString &after = QString());
-
-private:
- int id() const { return m_mergeId; }
- bool mergeWith(const QUndoCommand * command);
- void undo();
- void redo();
-};
-
-/*!
- \class RemoveEntryCommand
-
- Removes a \l QModelIndex including all children from a \l ResourceView.
-*/
-class RemoveEntryCommand : public ModelIndexViewCommand
-{
- EntryBackup *m_entry;
- bool m_isExpanded;
-
-public:
- RemoveEntryCommand(ResourceView *view, const QModelIndex &index);
- ~RemoveEntryCommand();
-
-private:
- void redo();
- void undo();
- void freeEntry();
-};
-
-/*!
- \class AddFilesCommand
-
- Adds a list of files to a given prefix node.
-*/
-class AddFilesCommand : public ViewCommand
-{
- int m_prefixIndex;
- int m_cursorFileIndex;
- int m_firstFile;
- int m_lastFile;
- const QStringList m_fileNames;
-
-public:
- AddFilesCommand(ResourceView *view, int prefixIndex, int cursorFileIndex,
- const QStringList &fileNames);
-
-private:
- void redo();
- void undo();
-};
-
-/*!
- \class AddEmptyPrefixCommand
-
- Adds a new, empty prefix node.
-*/
-class AddEmptyPrefixCommand : public ViewCommand
-{
- int m_prefixArrayIndex;
-
-public:
- AddEmptyPrefixCommand(ResourceView *view);
-
-private:
- void redo();
- void undo();
-};
-
-} // namespace SharedTools
-
-#endif // UNDO_COMMANDS_H
diff --git a/tools/qtappwrapper/EditorServer.cs b/tools/qtappwrapper/EditorServer.cs
deleted file mode 100644
index ca9cef54..00000000
--- a/tools/qtappwrapper/EditorServer.cs
+++ /dev/null
@@ -1,333 +0,0 @@
-/****************************************************************************
-**
-** Copyright (C) 2016 The Qt Company Ltd.
-** Contact: https://www.qt.io/licensing/
-**
-** This file is part of the Qt VS Add-in.
-**
-** $QT_BEGIN_LICENSE:GPL-EXCEPT$
-** Commercial License Usage
-** Licensees holding valid commercial Qt licenses may use this file in
-** accordance with the commercial license agreement provided with the
-** Software or, alternatively, in accordance with the terms contained in
-** a written agreement between you and The Qt Company. For licensing terms
-** and conditions see https://www.qt.io/terms-conditions. For further
-** information use the contact form at https://www.qt.io/contact-us.
-**
-** GNU General Public License Usage
-** Alternatively, this file may be used under the terms of the GNU
-** General Public License version 3 as published by the Free Software
-** Foundation with exceptions as appearing in the file LICENSE.GPL3-EXCEPT
-** included in the packaging of this file. Please review the following
-** information to ensure the GNU General Public License requirements will
-** be met: https://www.gnu.org/licenses/gpl-3.0.html.
-**
-** $QT_END_LICENSE$
-**
-****************************************************************************/
-
-using System;
-using System.Collections.Generic;
-using System.Text;
-using System.Net.Sockets;
-using System.Net;
-using System.Threading;
-using System.Diagnostics;
-using System.IO;
-using System.Runtime.InteropServices;
-using Microsoft.Win32;
-
-namespace QtAppWrapper
-{
- class EditorServer
- {
- #region WIN32 Definitions
- static uint TH32CS_SNAPPROCESS = 2;
-
- [StructLayout(LayoutKind.Sequential)]
- public struct PROCESSENTRY32
- {
- public uint dwSize;
- public uint cntUsage;
- public uint th32ProcessID;
- public IntPtr th32DefaultHeapID;
- public uint th32ModuleID;
- public uint cntThreads;
- public uint th32ParentProcessID;
- public int pcPriClassBase;
- public uint dwFlags;
- [MarshalAs(UnmanagedType.ByValTStr, SizeConst = 260)]
- public string szExeFile;
- };
-
- [DllImport("kernel32.dll", SetLastError = true)]
- static extern IntPtr CreateToolhelp32Snapshot(uint dwFlags, uint th32ProcessID);
-
- [DllImport("kernel32.dll")]
- static extern bool Process32First(IntPtr hSnapshot, ref PROCESSENTRY32 lppe);
-
- [DllImport("kernel32.dll")]
- static extern bool Process32Next(IntPtr hSnapshot, ref PROCESSENTRY32 lppe);
- #endregion
-
- private TcpListener listener = null;
- private Thread listenThread = null;
- private List<TcpClient> clientList;
- private bool aboutToExit = false;
- private byte[] addinHelloMessage = new byte[] { 0x48, 0x45, 0x4C, 0x4C, 0x4F };
-
- private static Process GetParentProcess()
- {
- int iParentPid = 0;
- int iCurrentPid = Process.GetCurrentProcess().Id;
-
- IntPtr oHnd = CreateToolhelp32Snapshot(TH32CS_SNAPPROCESS, 0);
-
- if (oHnd == IntPtr.Zero)
- return null;
-
- PROCESSENTRY32 oProcInfo = new PROCESSENTRY32();
-
- oProcInfo.dwSize =
- (uint)System.Runtime.InteropServices.Marshal.SizeOf(typeof(PROCESSENTRY32));
-
- if (Process32First(oHnd, ref oProcInfo) == false)
- return null;
-
- do
- {
- if (iCurrentPid == oProcInfo.th32ProcessID)
- iParentPid = (int)oProcInfo.th32ParentProcessID;
- }
- while (iParentPid == 0 && Process32Next(oHnd, ref oProcInfo));
-
- if (iParentPid > 0)
- return Process.GetProcessById(iParentPid);
- else
- return null;
- }
-
- public static void SendFileNameToServer(string fileName)
- {
- int ppid = -1;
- Process parentProcess = GetParentProcess();
- if (parentProcess != null)
- ppid = parentProcess.Id;
- SendFileNameToServer(fileName, ppid.ToString());
- }
-
- public static void SendFileNameToServer(string fileName, string processId)
- {
- TcpClient client = new TcpClient();
- IPEndPoint serverEndPoint = new IPEndPoint(IPAddress.Loopback, 12015);
- bool clientConnected = false;
- try
- {
- client.Connect(serverEndPoint);
- clientConnected = client.Connected;
- }
- catch
- {}
-
- if (!clientConnected)
- {
- System.Windows.Forms.MessageBox.Show("Couldn't connect to QtAppWrapper server.\n" +
- "Expected server address: " + serverEndPoint.ToString(),
- "QtAppWrapper Error");
- return;
- }
-
- try
- {
- string data = processId + " " + fileName;
- data += "\n";
- NetworkStream stream = client.GetStream();
-
- UnicodeEncoding encoder = new UnicodeEncoding();
- byte[] buffer = encoder.GetBytes(data);
-
- stream.Write(buffer, 0, buffer.Length);
- stream.Flush();
- }
- catch (Exception e)
- {
- System.Windows.Forms.MessageBox.Show("SendFileNameToServer exception\n\n" + e.ToString(),
- "Exception in QtAppWrapper");
- }
-
- if (client != null)
- {
- if (client.Connected)
- client.GetStream().Close();
- client.Close();
- }
- }
-
- public EditorServer()
- {
- clientList = new List<TcpClient>();
- listener = new TcpListener(IPAddress.Loopback, 12015);
- listenThread = new Thread(new ThreadStart(ListenForClients));
- listenThread.Name = "listenThread";
- listenThread.Start();
-
- // The server will run for ever if no connection from an add-in occurs.
- // So we'll check after a certain time, if there's something in the client list.
- System.Timers.Timer watchDogTimer = new System.Timers.Timer();
- watchDogTimer.Interval = 60000;
- watchDogTimer.Elapsed += new System.Timers.ElapsedEventHandler(WatchDog);
- watchDogTimer.Start();
- }
-
- public void Shutdown()
- {
- aboutToExit = true;
- listener.Stop();
- lock (clientList)
- {
- foreach (TcpClient c in clientList)
- {
- if (c != null)
- {
- if (c.Connected)
- c.GetStream().Close();
- c.Close();
- }
- }
- }
- listenThread.Join(1000);
- Environment.Exit(0);
- }
-
- private void ListenForClients()
- {
- try
- {
- listener.Start();
- }
- catch
- {
- return;
- }
- while (!aboutToExit)
- {
- try
- {
- if (!listener.Pending())
- {
- Thread.Sleep(250);
- continue;
- }
-
- //blocks until a client has connected to the server
- TcpClient client = listener.AcceptTcpClient();
- if (client == null || aboutToExit)
- break;
-
- byte[] message = new byte[4096];
- NetworkStream stream = client.GetStream();
- int bytesRead = stream.Read(message, 0, message.Length);
- if (IsAddinHelloMessage(message, bytesRead))
- {
- Debug.WriteLine("Add-in connected to qtappwrapper");
- lock (clientList)
- clientList.Add(client);
-
- // Create a thread to handle communication with connected client.
- Thread clientThread = new Thread(new ParameterizedThreadStart(WatchAddinConnection));
- clientThread.Name = "WatchAddinConnection";
- clientThread.Start(client);
- }
- else
- {
- SendDataToAddins(message, bytesRead);
- stream.Close();
- client.Close();
- }
- }
- catch (Exception e)
- {
- Debug.WriteLine(e.ToString());
- }
- }
- }
-
- private void WatchAddinConnection(object clientObj)
- {
- TcpClient client = clientObj as TcpClient;
-
- try
- {
- NetworkStream stream = client.GetStream();
-
- try
- {
- byte[] buffer = new byte[1024];
- stream.Read(buffer, 0, buffer.Length);
- }
- catch (System.IO.IOException e)
- {
- Debug.WriteLine(e.ToString());
- }
-
- lock (clientList)
- clientList.Remove(client);
-
- client.Close();
- stream.Close();
-
- if (clientList.Count == 0)
- Shutdown();
- }
- catch (Exception e)
- {
- Debug.WriteLine(e.ToString());
- }
- }
-
- private bool IsAddinHelloMessage(byte[] message, int messageLength)
- {
- if (messageLength < addinHelloMessage.Length)
- return false;
-
- for (int i = 0; i < addinHelloMessage.Length; ++i)
- if (message[i] != addinHelloMessage[i])
- return false;
-
- return true;
- }
-
- private void SendDataToAddins(byte[] data, int dataSize)
- {
- Debug.WriteLine("SendDataToAddins " + data.ToString());
-
- lock (clientList)
- {
- foreach (TcpClient c in clientList)
- {
- try
- {
- NetworkStream clientStream = c.GetStream();
- clientStream.Write(data, 0, dataSize);
- clientStream.Flush();
- }
- catch (Exception e)
- {
- Debug.WriteLine(e.ToString());
- }
- }
- }
- //System.Windows.Forms.MessageBox.Show("SendDataToAddins finished");
- }
-
- private void WatchDog(object sender, EventArgs e)
- {
- lock (clientList)
- {
- if (clientList.Count > 0)
- return;
- }
- Shutdown();
- }
- }
-}
diff --git a/tools/qtappwrapper/Program.cs b/tools/qtappwrapper/Program.cs
deleted file mode 100644
index 6c1bc5cf..00000000
--- a/tools/qtappwrapper/Program.cs
+++ /dev/null
@@ -1,82 +0,0 @@
-/****************************************************************************
-**
-** Copyright (C) 2016 The Qt Company Ltd.
-** Contact: https://www.qt.io/licensing/
-**
-** This file is part of the Qt VS Add-in.
-**
-** $QT_BEGIN_LICENSE:GPL-EXCEPT$
-** Commercial License Usage
-** Licensees holding valid commercial Qt licenses may use this file in
-** accordance with the commercial license agreement provided with the
-** Software or, alternatively, in accordance with the terms contained in
-** a written agreement between you and The Qt Company. For licensing terms
-** and conditions see https://www.qt.io/terms-conditions. For further
-** information use the contact form at https://www.qt.io/contact-us.
-**
-** GNU General Public License Usage
-** Alternatively, this file may be used under the terms of the GNU
-** General Public License version 3 as published by the Free Software
-** Foundation with exceptions as appearing in the file LICENSE.GPL3-EXCEPT
-** included in the packaging of this file. Please review the following
-** information to ensure the GNU General Public License requirements will
-** be met: https://www.gnu.org/licenses/gpl-3.0.html.
-**
-** $QT_END_LICENSE$
-**
-****************************************************************************/
-
-using System;
-using System.Windows.Forms;
-
-namespace QtAppWrapper
-{
- static class Program
- {
- /// <summary>
- /// The main entry point for the application.
- ///
- /// Usage of qtappwrapper.exe:
- /// qtappwrapper
- /// Tries to start the qtappwrapper server and starts to listen.
- ///
- /// qtappwrapper filename.ui
- /// Sends the process id of the calling process and the file name
- /// to the qtappwrapper server.
- ///
- /// qtappwrapper filename.ui -pid 1234
- /// Sends the given process id and the file name to the qtappwrapper
- /// server.
- /// </summary>
- [STAThread]
- static void Main(string[] args)
- {
- try
- {
- if (args.Length >= 1)
- {
- string fileName = args[0];
- if (args.Length >= 2 && args[1].StartsWith("-pid "))
- {
- EditorServer.SendFileNameToServer(fileName, args[1].Substring(5));
- }
- else
- {
- EditorServer.SendFileNameToServer(fileName);
- }
- }
- else
- {
- EditorServer server = new EditorServer();
- }
- }
- catch (Exception e)
- {
- MessageBox.Show(
- e.ToString(),
- "Exception in QtAppWrapper",
- MessageBoxButtons.OK, MessageBoxIcon.Error);
- }
- }
- }
-}
diff --git a/tools/qtappwrapper/Properties/AssemblyInfo.cs b/tools/qtappwrapper/Properties/AssemblyInfo.cs
deleted file mode 100644
index 230cfc32..00000000
--- a/tools/qtappwrapper/Properties/AssemblyInfo.cs
+++ /dev/null
@@ -1,64 +0,0 @@
-/****************************************************************************
-**
-** Copyright (C) 2016 The Qt Company Ltd.
-** Contact: https://www.qt.io/licensing/
-**
-** This file is part of the Qt VS Add-in.
-**
-** $QT_BEGIN_LICENSE:GPL-EXCEPT$
-** Commercial License Usage
-** Licensees holding valid commercial Qt licenses may use this file in
-** accordance with the commercial license agreement provided with the
-** Software or, alternatively, in accordance with the terms contained in
-** a written agreement between you and The Qt Company. For licensing terms
-** and conditions see https://www.qt.io/terms-conditions. For further
-** information use the contact form at https://www.qt.io/contact-us.
-**
-** GNU General Public License Usage
-** Alternatively, this file may be used under the terms of the GNU
-** General Public License version 3 as published by the Free Software
-** Foundation with exceptions as appearing in the file LICENSE.GPL3-EXCEPT
-** included in the packaging of this file. Please review the following
-** information to ensure the GNU General Public License requirements will
-** be met: https://www.gnu.org/licenses/gpl-3.0.html.
-**
-** $QT_END_LICENSE$
-**
-****************************************************************************/
-
-using System.Reflection;
-using System.Runtime.CompilerServices;
-using System.Runtime.InteropServices;
-
-// General Information about an assembly is controlled through the following
-// set of attributes. Change these attribute values to modify the information
-// associated with an assembly.
-[assembly: AssemblyTitle("QtAppWrapper")]
-[assembly: AssemblyDescription("")]
-[assembly: AssemblyConfiguration("")]
-[assembly: AssemblyCompany("The Qt Company Ltd.")]
-[assembly: AssemblyProduct("QtAppWrapper")]
-[assembly: AssemblyCopyright("Copyright (c) 2016 The Qt Company Ltd.")]
-[assembly: AssemblyTrademark("")]
-[assembly: AssemblyCulture("")]
-
-// Setting ComVisible to false makes the types in this assembly not visible
-// to COM components. If you need to access a type in this assembly from
-// COM, set the ComVisible attribute to true on that type.
-[assembly: ComVisible(false)]
-
-// The following GUID is for the ID of the typelib if this project is exposed to COM
-[assembly: Guid("0884200f-ab59-4ef2-9278-43a2da0c8139")]
-
-// Version information for an assembly consists of the following four values:
-//
-// Major Version
-// Minor Version
-// Build Number
-// Revision
-//
-// You can specify all the values or you can default the Build and Revision Numbers
-// by using the '*' as shown below:
-// [assembly: AssemblyVersion("1.0.*")]
-[assembly: AssemblyVersion("2.0.0.0")]
-[assembly: AssemblyFileVersion("2.0.0.0")]
diff --git a/tools/qtappwrapper/Properties/Resources.Designer.cs b/tools/qtappwrapper/Properties/Resources.Designer.cs
deleted file mode 100644
index d884e4ec..00000000
--- a/tools/qtappwrapper/Properties/Resources.Designer.cs
+++ /dev/null
@@ -1,63 +0,0 @@
-//------------------------------------------------------------------------------
-// <auto-generated>
-// This code was generated by a tool.
-// Runtime Version:4.0.30319.17626
-//
-// Changes to this file may cause incorrect behavior and will be lost if
-// the code is regenerated.
-// </auto-generated>
-//------------------------------------------------------------------------------
-
-namespace Qt5AppWrapper.Properties {
- using System;
-
-
- /// <summary>
- /// A strongly-typed resource class, for looking up localized strings, etc.
- /// </summary>
- // This class was auto-generated by the StronglyTypedResourceBuilder
- // class via a tool like ResGen or Visual Studio.
- // To add or remove a member, edit your .ResX file then rerun ResGen
- // with the /str option, or rebuild your VS project.
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "4.0.0.0")]
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
- internal class Resources {
-
- private static global::System.Resources.ResourceManager resourceMan;
-
- private static global::System.Globalization.CultureInfo resourceCulture;
-
- [global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")]
- internal Resources() {
- }
-
- /// <summary>
- /// Returns the cached ResourceManager instance used by this class.
- /// </summary>
- [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
- internal static global::System.Resources.ResourceManager ResourceManager {
- get {
- if (object.ReferenceEquals(resourceMan, null)) {
- global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("Qt5AppWrapper.Properties.Resources", typeof(Resources).Assembly);
- resourceMan = temp;
- }
- return resourceMan;
- }
- }
-
- /// <summary>
- /// Overrides the current thread's CurrentUICulture property for all
- /// resource lookups using this strongly typed resource class.
- /// </summary>
- [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
- internal static global::System.Globalization.CultureInfo Culture {
- get {
- return resourceCulture;
- }
- set {
- resourceCulture = value;
- }
- }
- }
-}
diff --git a/tools/qtappwrapper/Properties/Resources.resx b/tools/qtappwrapper/Properties/Resources.resx
deleted file mode 100644
index af7dbebb..00000000
--- a/tools/qtappwrapper/Properties/Resources.resx
+++ /dev/null
@@ -1,117 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<root>
- <!--
- Microsoft ResX Schema
-
- Version 2.0
-
- The primary goals of this format is to allow a simple XML format
- that is mostly human readable. The generation and parsing of the
- various data types are done through the TypeConverter classes
- associated with the data types.
-
- Example:
-
- ... ado.net/XML headers & schema ...
- <resheader name="resmimetype">text/microsoft-resx</resheader>
- <resheader name="version">2.0</resheader>
- <resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
- <resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
- <data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
- <data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
- <data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
- <value>[base64 mime encoded serialized .NET Framework object]</value>
- </data>
- <data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
- <value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
- <comment>This is a comment</comment>
- </data>
-
- There are any number of "resheader" rows that contain simple
- name/value pairs.
-
- Each data row contains a name, and value. The row also contains a
- type or mimetype. Type corresponds to a .NET class that support
- text/value conversion through the TypeConverter architecture.
- Classes that don't support this are serialized and stored with the
- mimetype set.
-
- The mimetype is used for serialized objects, and tells the
- ResXResourceReader how to depersist the object. This is currently not
- extensible. For a given mimetype the value must be set accordingly:
-
- Note - application/x-microsoft.net.object.binary.base64 is the format
- that the ResXResourceWriter will generate, however the reader can
- read any of the formats listed below.
-
- mimetype: application/x-microsoft.net.object.binary.base64
- value : The object must be serialized with
- : System.Serialization.Formatters.Binary.BinaryFormatter
- : and then encoded with base64 encoding.
-
- mimetype: application/x-microsoft.net.object.soap.base64
- value : The object must be serialized with
- : System.Runtime.Serialization.Formatters.Soap.SoapFormatter
- : and then encoded with base64 encoding.
-
- mimetype: application/x-microsoft.net.object.bytearray.base64
- value : The object must be serialized into a byte array
- : using a System.ComponentModel.TypeConverter
- : and then encoded with base64 encoding.
- -->
- <xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
- <xsd:element name="root" msdata:IsDataSet="true">
- <xsd:complexType>
- <xsd:choice maxOccurs="unbounded">
- <xsd:element name="metadata">
- <xsd:complexType>
- <xsd:sequence>
- <xsd:element name="value" type="xsd:string" minOccurs="0" />
- </xsd:sequence>
- <xsd:attribute name="name" type="xsd:string" />
- <xsd:attribute name="type" type="xsd:string" />
- <xsd:attribute name="mimetype" type="xsd:string" />
- </xsd:complexType>
- </xsd:element>
- <xsd:element name="assembly">
- <xsd:complexType>
- <xsd:attribute name="alias" type="xsd:string" />
- <xsd:attribute name="name" type="xsd:string" />
- </xsd:complexType>
- </xsd:element>
- <xsd:element name="data">
- <xsd:complexType>
- <xsd:sequence>
- <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
- <xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
- </xsd:sequence>
- <xsd:attribute name="name" type="xsd:string" msdata:Ordinal="1" />
- <xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
- <xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
- </xsd:complexType>
- </xsd:element>
- <xsd:element name="resheader">
- <xsd:complexType>
- <xsd:sequence>
- <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
- </xsd:sequence>
- <xsd:attribute name="name" type="xsd:string" use="required" />
- </xsd:complexType>
- </xsd:element>
- </xsd:choice>
- </xsd:complexType>
- </xsd:element>
- </xsd:schema>
- <resheader name="resmimetype">
- <value>text/microsoft-resx</value>
- </resheader>
- <resheader name="version">
- <value>2.0</value>
- </resheader>
- <resheader name="reader">
- <value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
- </resheader>
- <resheader name="writer">
- <value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
- </resheader>
-</root> \ No newline at end of file
diff --git a/tools/qtappwrapper/Properties/Settings.Designer.cs b/tools/qtappwrapper/Properties/Settings.Designer.cs
deleted file mode 100644
index 454a6620..00000000
--- a/tools/qtappwrapper/Properties/Settings.Designer.cs
+++ /dev/null
@@ -1,26 +0,0 @@
-//------------------------------------------------------------------------------
-// <auto-generated>
-// This code was generated by a tool.
-// Runtime Version:4.0.30319.17626
-//
-// Changes to this file may cause incorrect behavior and will be lost if
-// the code is regenerated.
-// </auto-generated>
-//------------------------------------------------------------------------------
-
-namespace Qt5AppWrapper.Properties {
-
-
- [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "10.0.0.0")]
- internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase {
-
- private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings())));
-
- public static Settings Default {
- get {
- return defaultInstance;
- }
- }
- }
-}
diff --git a/tools/qtappwrapper/Properties/Settings.settings b/tools/qtappwrapper/Properties/Settings.settings
deleted file mode 100644
index 39645652..00000000
--- a/tools/qtappwrapper/Properties/Settings.settings
+++ /dev/null
@@ -1,7 +0,0 @@
-<?xml version='1.0' encoding='utf-8'?>
-<SettingsFile xmlns="http://schemas.microsoft.com/VisualStudio/2004/01/settings" CurrentProfile="(Default)">
- <Profiles>
- <Profile Name="(Default)" />
- </Profiles>
- <Settings />
-</SettingsFile>
diff --git a/tools/qtappwrapper/qt5appwrapper2008.csproj b/tools/qtappwrapper/qt5appwrapper2008.csproj
deleted file mode 100644
index a5a0458a..00000000
--- a/tools/qtappwrapper/qt5appwrapper2008.csproj
+++ /dev/null
@@ -1,137 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="3.5" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
- <PropertyGroup>
- <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
- <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
- <ProductVersion>9.0.30729</ProductVersion>
- <SchemaVersion>2.0</SchemaVersion>
- <ProjectGuid>{D7914D8C-DE5E-4E8A-A5C7-3E81FD0208E6}</ProjectGuid>
- <OutputType>WinExe</OutputType>
- <AppDesignerFolder>Properties</AppDesignerFolder>
- <RootNamespace>Qt5AppWrapper</RootNamespace>
- <AssemblyName>qt5appwrapper</AssemblyName>
- <TargetFrameworkVersion>v3.5</TargetFrameworkVersion>
- <FileAlignment>512</FileAlignment>
- <IsWebBootstrapper>false</IsWebBootstrapper>
- <ApplicationIcon>qtappwrapper.ico</ApplicationIcon>
- <PublishUrl>publish\</PublishUrl>
- <Install>true</Install>
- <InstallFrom>Disk</InstallFrom>
- <UpdateEnabled>false</UpdateEnabled>
- <UpdateMode>Foreground</UpdateMode>
- <UpdateInterval>7</UpdateInterval>
- <UpdateIntervalUnits>Days</UpdateIntervalUnits>
- <UpdatePeriodically>false</UpdatePeriodically>
- <UpdateRequired>false</UpdateRequired>
- <MapFileExtensions>true</MapFileExtensions>
- <ApplicationRevision>0</ApplicationRevision>
- <ApplicationVersion>1.0.0.%2a</ApplicationVersion>
- <UseApplicationTrust>false</UseApplicationTrust>
- <BootstrapperEnabled>true</BootstrapperEnabled>
- </PropertyGroup>
- <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
- <DebugSymbols>true</DebugSymbols>
- <DebugType>full</DebugType>
- <Optimize>false</Optimize>
- <OutputPath>..\..\Qt4VS2003\Qt4VSAddin\Debug\</OutputPath>
- <DefineConstants>TRACE;DEBUG;VS2008</DefineConstants>
- <ErrorReport>prompt</ErrorReport>
- <WarningLevel>4</WarningLevel>
- </PropertyGroup>
- <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
- <DebugType>pdbonly</DebugType>
- <Optimize>true</Optimize>
- <OutputPath>..\..\Qt4VS2003\Qt4VSAddin\Release\</OutputPath>
- <DefineConstants>TRACE;VS2008</DefineConstants>
- <ErrorReport>prompt</ErrorReport>
- <WarningLevel>4</WarningLevel>
- </PropertyGroup>
- <ItemGroup>
- <Reference Include="EnvDTE, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
- <SpecificVersion>False</SpecificVersion>
- <HintPath>..\..\..\..\Program Files (x86)\Microsoft Visual Studio 9.0\Common7\IDE\PublicAssemblies\EnvDTE.dll</HintPath>
- </Reference>
- <Reference Include="System" />
- <Reference Include="System.Core">
- <RequiredTargetFramework>3.5</RequiredTargetFramework>
- </Reference>
- <Reference Include="System.Xml.Linq">
- <RequiredTargetFramework>3.5</RequiredTargetFramework>
- </Reference>
- <Reference Include="System.Data.DataSetExtensions">
- <RequiredTargetFramework>3.5</RequiredTargetFramework>
- </Reference>
- <Reference Include="System.Data" />
- <Reference Include="System.Deployment" />
- <Reference Include="System.Drawing" />
- <Reference Include="System.Windows.Forms" />
- <Reference Include="System.Xml" />
- </ItemGroup>
- <ItemGroup>
- <Compile Include="EditorServer.cs" />
- <Compile Include="Program.cs" />
- <Compile Include="Properties\AssemblyInfo.cs" />
- <EmbeddedResource Include="Properties\Resources.resx">
- <Generator>ResXFileCodeGenerator</Generator>
- <LastGenOutput>Resources.Designer.cs</LastGenOutput>
- <SubType>Designer</SubType>
- </EmbeddedResource>
- <Compile Include="Properties\Resources.Designer.cs">
- <AutoGen>True</AutoGen>
- <DependentUpon>Resources.resx</DependentUpon>
- <DesignTime>True</DesignTime>
- </Compile>
- <None Include="Properties\Settings.settings">
- <Generator>SettingsSingleFileGenerator</Generator>
- <LastGenOutput>Settings.Designer.cs</LastGenOutput>
- </None>
- <Compile Include="Properties\Settings.Designer.cs">
- <AutoGen>True</AutoGen>
- <DependentUpon>Settings.settings</DependentUpon>
- <DesignTimeSharedInput>True</DesignTimeSharedInput>
- </Compile>
- </ItemGroup>
- <ItemGroup>
- <BootstrapperPackage Include="Microsoft.Net.Client.3.5">
- <Visible>False</Visible>
- <ProductName>.NET Framework Client Profile</ProductName>
- <Install>false</Install>
- </BootstrapperPackage>
- <BootstrapperPackage Include="Microsoft.Net.Framework.2.0">
- <Visible>False</Visible>
- <ProductName>.NET Framework 2.0 %28x86%29</ProductName>
- <Install>false</Install>
- </BootstrapperPackage>
- <BootstrapperPackage Include="Microsoft.Net.Framework.3.0">
- <Visible>False</Visible>
- <ProductName>.NET Framework 3.0 %28x86%29</ProductName>
- <Install>false</Install>
- </BootstrapperPackage>
- <BootstrapperPackage Include="Microsoft.Net.Framework.3.5">
- <Visible>False</Visible>
- <ProductName>.NET Framework 3.5</ProductName>
- <Install>false</Install>
- </BootstrapperPackage>
- <BootstrapperPackage Include="Microsoft.Net.Framework.3.5.SP1">
- <Visible>False</Visible>
- <ProductName>.NET Framework 3.5 SP1</ProductName>
- <Install>true</Install>
- </BootstrapperPackage>
- <BootstrapperPackage Include="Microsoft.Windows.Installer.3.1">
- <Visible>False</Visible>
- <ProductName>Windows Installer 3.1</ProductName>
- <Install>true</Install>
- </BootstrapperPackage>
- </ItemGroup>
- <ItemGroup>
- <Content Include="qtappwrapper.ico" />
- </ItemGroup>
- <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
- <!-- To modify your build process, add your task inside one of the targets below and uncomment it.
- Other similar extension points exist, see Microsoft.Common.targets.
- <Target Name="BeforeBuild">
- </Target>
- <Target Name="AfterBuild">
- </Target>
- -->
-</Project> \ No newline at end of file
diff --git a/tools/qtappwrapper/qt5appwrapper2008.sln b/tools/qtappwrapper/qt5appwrapper2008.sln
deleted file mode 100644
index 86fb898b..00000000
--- a/tools/qtappwrapper/qt5appwrapper2008.sln
+++ /dev/null
@@ -1,20 +0,0 @@
-
-Microsoft Visual Studio Solution File, Format Version 10.00
-# Visual Studio 2008
-Project("{5565253D-30D1-43A0-A143-80DF756976CD}") = "qt5appwrapper2008", "qt5appwrapper2008.csproj", "{D7914D8C-DE5E-4E8A-A5C7-3E81FD0208E6}"
-EndProject
-Global
- GlobalSection(SolutionConfigurationPlatforms) = preSolution
- Debug|Any CPU = Debug|Any CPU
- Release|Any CPU = Release|Any CPU
- EndGlobalSection
- GlobalSection(ProjectConfigurationPlatforms) = postSolution
- {D7914D8C-DE5E-4E8A-A5C7-3E81FD0208E6}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {D7914D8C-DE5E-4E8A-A5C7-3E81FD0208E6}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {D7914D8C-DE5E-4E8A-A5C7-3E81FD0208E6}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {D7914D8C-DE5E-4E8A-A5C7-3E81FD0208E6}.Release|Any CPU.Build.0 = Release|Any CPU
- EndGlobalSection
- GlobalSection(SolutionProperties) = preSolution
- HideSolutionNode = FALSE
- EndGlobalSection
-EndGlobal
diff --git a/tools/qtappwrapper/qt5appwrapper2010.csproj b/tools/qtappwrapper/qt5appwrapper2010.csproj
deleted file mode 100644
index 5168b302..00000000
--- a/tools/qtappwrapper/qt5appwrapper2010.csproj
+++ /dev/null
@@ -1,144 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
- <PropertyGroup>
- <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
- <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
- <ProductVersion>9.0.30729</ProductVersion>
- <SchemaVersion>2.0</SchemaVersion>
- <ProjectGuid>{D7914D8C-DE5E-4E8A-A5C7-3E81FD0208E6}</ProjectGuid>
- <OutputType>WinExe</OutputType>
- <AppDesignerFolder>Properties</AppDesignerFolder>
- <RootNamespace>Qt5AppWrapper</RootNamespace>
- <AssemblyName>qt5appwrapper</AssemblyName>
- <TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
- <FileAlignment>512</FileAlignment>
- <IsWebBootstrapper>false</IsWebBootstrapper>
- <ApplicationIcon>qtappwrapper.ico</ApplicationIcon>
- <FileUpgradeFlags>
- </FileUpgradeFlags>
- <OldToolsVersion>3.5</OldToolsVersion>
- <UpgradeBackupLocation />
- <TargetFrameworkProfile />
- <PublishUrl>publish\</PublishUrl>
- <Install>true</Install>
- <InstallFrom>Disk</InstallFrom>
- <UpdateEnabled>false</UpdateEnabled>
- <UpdateMode>Foreground</UpdateMode>
- <UpdateInterval>7</UpdateInterval>
- <UpdateIntervalUnits>Days</UpdateIntervalUnits>
- <UpdatePeriodically>false</UpdatePeriodically>
- <UpdateRequired>false</UpdateRequired>
- <MapFileExtensions>true</MapFileExtensions>
- <ApplicationRevision>0</ApplicationRevision>
- <ApplicationVersion>1.0.0.%2a</ApplicationVersion>
- <UseApplicationTrust>false</UseApplicationTrust>
- <BootstrapperEnabled>true</BootstrapperEnabled>
- </PropertyGroup>
- <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
- <DebugSymbols>true</DebugSymbols>
- <DebugType>full</DebugType>
- <Optimize>false</Optimize>
- <OutputPath>..\..\Qt4VS2003\Qt4VSAddin\Debug\</OutputPath>
- <DefineConstants>TRACE;DEBUG;VS2008</DefineConstants>
- <ErrorReport>prompt</ErrorReport>
- <WarningLevel>4</WarningLevel>
- <CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
- </PropertyGroup>
- <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
- <DebugType>pdbonly</DebugType>
- <Optimize>true</Optimize>
- <OutputPath>..\..\Qt4VS2003\Qt4VSAddin\Release\</OutputPath>
- <DefineConstants>TRACE</DefineConstants>
- <ErrorReport>prompt</ErrorReport>
- <WarningLevel>4</WarningLevel>
- <CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
- </PropertyGroup>
- <ItemGroup>
- <Reference Include="EnvDTE, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
- <SpecificVersion>False</SpecificVersion>
- <HintPath>..\..\..\..\Program Files (x86)\Microsoft Visual Studio 9.0\Common7\IDE\PublicAssemblies\EnvDTE.dll</HintPath>
- </Reference>
- <Reference Include="System" />
- <Reference Include="System.Core">
- <RequiredTargetFramework>3.5</RequiredTargetFramework>
- </Reference>
- <Reference Include="System.Xml.Linq">
- <RequiredTargetFramework>3.5</RequiredTargetFramework>
- </Reference>
- <Reference Include="System.Data.DataSetExtensions">
- <RequiredTargetFramework>3.5</RequiredTargetFramework>
- </Reference>
- <Reference Include="System.Data" />
- <Reference Include="System.Deployment" />
- <Reference Include="System.Drawing" />
- <Reference Include="System.Windows.Forms" />
- <Reference Include="System.Xml" />
- </ItemGroup>
- <ItemGroup>
- <Compile Include="EditorServer.cs" />
- <Compile Include="Program.cs" />
- <Compile Include="Properties\AssemblyInfo.cs" />
- <EmbeddedResource Include="Properties\Resources.resx">
- <Generator>ResXFileCodeGenerator</Generator>
- <LastGenOutput>Resources.Designer.cs</LastGenOutput>
- <SubType>Designer</SubType>
- </EmbeddedResource>
- <Compile Include="Properties\Resources.Designer.cs">
- <AutoGen>True</AutoGen>
- <DependentUpon>Resources.resx</DependentUpon>
- <DesignTime>True</DesignTime>
- </Compile>
- <None Include="Properties\Settings.settings">
- <Generator>SettingsSingleFileGenerator</Generator>
- <LastGenOutput>Settings.Designer.cs</LastGenOutput>
- </None>
- <Compile Include="Properties\Settings.Designer.cs">
- <AutoGen>True</AutoGen>
- <DependentUpon>Settings.settings</DependentUpon>
- <DesignTimeSharedInput>True</DesignTimeSharedInput>
- </Compile>
- </ItemGroup>
- <ItemGroup>
- <BootstrapperPackage Include="Microsoft.Net.Client.3.5">
- <Visible>False</Visible>
- <ProductName>.NET Framework 3.5 SP1 Client Profile</ProductName>
- <Install>false</Install>
- </BootstrapperPackage>
- <BootstrapperPackage Include="Microsoft.Net.Framework.2.0">
- <Visible>False</Visible>
- <ProductName>.NET Framework 2.0 %28x86%29</ProductName>
- <Install>false</Install>
- </BootstrapperPackage>
- <BootstrapperPackage Include="Microsoft.Net.Framework.3.0">
- <Visible>False</Visible>
- <ProductName>.NET Framework 3.0 %28x86%29</ProductName>
- <Install>false</Install>
- </BootstrapperPackage>
- <BootstrapperPackage Include="Microsoft.Net.Framework.3.5">
- <Visible>False</Visible>
- <ProductName>.NET Framework 3.5</ProductName>
- <Install>false</Install>
- </BootstrapperPackage>
- <BootstrapperPackage Include="Microsoft.Net.Framework.3.5.SP1">
- <Visible>False</Visible>
- <ProductName>.NET Framework 3.5 SP1</ProductName>
- <Install>true</Install>
- </BootstrapperPackage>
- <BootstrapperPackage Include="Microsoft.Windows.Installer.3.1">
- <Visible>False</Visible>
- <ProductName>Windows Installer 3.1</ProductName>
- <Install>true</Install>
- </BootstrapperPackage>
- </ItemGroup>
- <ItemGroup>
- <Content Include="qtappwrapper.ico" />
- </ItemGroup>
- <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
- <!-- To modify your build process, add your task inside one of the targets below and uncomment it.
- Other similar extension points exist, see Microsoft.Common.targets.
- <Target Name="BeforeBuild">
- </Target>
- <Target Name="AfterBuild">
- </Target>
- -->
-</Project> \ No newline at end of file
diff --git a/tools/qtappwrapper/qt5appwrapper2010.sln b/tools/qtappwrapper/qt5appwrapper2010.sln
deleted file mode 100644
index bcf322eb..00000000
--- a/tools/qtappwrapper/qt5appwrapper2010.sln
+++ /dev/null
@@ -1,20 +0,0 @@
-
-Microsoft Visual Studio Solution File, Format Version 11.00
-# Visual Studio 2010
-Project("{5565253D-30D1-43A0-A143-80DF756976CD}") = "qt5appwrapper2010", "qt5appwrapper2010.csproj", "{D7914D8C-DE5E-4E8A-A5C7-3E81FD0208E6}"
-EndProject
-Global
- GlobalSection(SolutionConfigurationPlatforms) = preSolution
- Debug|Any CPU = Debug|Any CPU
- Release|Any CPU = Release|Any CPU
- EndGlobalSection
- GlobalSection(ProjectConfigurationPlatforms) = postSolution
- {D7914D8C-DE5E-4E8A-A5C7-3E81FD0208E6}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {D7914D8C-DE5E-4E8A-A5C7-3E81FD0208E6}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {D7914D8C-DE5E-4E8A-A5C7-3E81FD0208E6}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {D7914D8C-DE5E-4E8A-A5C7-3E81FD0208E6}.Release|Any CPU.Build.0 = Release|Any CPU
- EndGlobalSection
- GlobalSection(SolutionProperties) = preSolution
- HideSolutionNode = FALSE
- EndGlobalSection
-EndGlobal
diff --git a/tools/qtappwrapper/qt5appwrapper2012.csproj b/tools/qtappwrapper/qt5appwrapper2012.csproj
deleted file mode 100644
index 5168b302..00000000
--- a/tools/qtappwrapper/qt5appwrapper2012.csproj
+++ /dev/null
@@ -1,144 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
- <PropertyGroup>
- <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
- <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
- <ProductVersion>9.0.30729</ProductVersion>
- <SchemaVersion>2.0</SchemaVersion>
- <ProjectGuid>{D7914D8C-DE5E-4E8A-A5C7-3E81FD0208E6}</ProjectGuid>
- <OutputType>WinExe</OutputType>
- <AppDesignerFolder>Properties</AppDesignerFolder>
- <RootNamespace>Qt5AppWrapper</RootNamespace>
- <AssemblyName>qt5appwrapper</AssemblyName>
- <TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
- <FileAlignment>512</FileAlignment>
- <IsWebBootstrapper>false</IsWebBootstrapper>
- <ApplicationIcon>qtappwrapper.ico</ApplicationIcon>
- <FileUpgradeFlags>
- </FileUpgradeFlags>
- <OldToolsVersion>3.5</OldToolsVersion>
- <UpgradeBackupLocation />
- <TargetFrameworkProfile />
- <PublishUrl>publish\</PublishUrl>
- <Install>true</Install>
- <InstallFrom>Disk</InstallFrom>
- <UpdateEnabled>false</UpdateEnabled>
- <UpdateMode>Foreground</UpdateMode>
- <UpdateInterval>7</UpdateInterval>
- <UpdateIntervalUnits>Days</UpdateIntervalUnits>
- <UpdatePeriodically>false</UpdatePeriodically>
- <UpdateRequired>false</UpdateRequired>
- <MapFileExtensions>true</MapFileExtensions>
- <ApplicationRevision>0</ApplicationRevision>
- <ApplicationVersion>1.0.0.%2a</ApplicationVersion>
- <UseApplicationTrust>false</UseApplicationTrust>
- <BootstrapperEnabled>true</BootstrapperEnabled>
- </PropertyGroup>
- <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
- <DebugSymbols>true</DebugSymbols>
- <DebugType>full</DebugType>
- <Optimize>false</Optimize>
- <OutputPath>..\..\Qt4VS2003\Qt4VSAddin\Debug\</OutputPath>
- <DefineConstants>TRACE;DEBUG;VS2008</DefineConstants>
- <ErrorReport>prompt</ErrorReport>
- <WarningLevel>4</WarningLevel>
- <CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
- </PropertyGroup>
- <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
- <DebugType>pdbonly</DebugType>
- <Optimize>true</Optimize>
- <OutputPath>..\..\Qt4VS2003\Qt4VSAddin\Release\</OutputPath>
- <DefineConstants>TRACE</DefineConstants>
- <ErrorReport>prompt</ErrorReport>
- <WarningLevel>4</WarningLevel>
- <CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
- </PropertyGroup>
- <ItemGroup>
- <Reference Include="EnvDTE, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
- <SpecificVersion>False</SpecificVersion>
- <HintPath>..\..\..\..\Program Files (x86)\Microsoft Visual Studio 9.0\Common7\IDE\PublicAssemblies\EnvDTE.dll</HintPath>
- </Reference>
- <Reference Include="System" />
- <Reference Include="System.Core">
- <RequiredTargetFramework>3.5</RequiredTargetFramework>
- </Reference>
- <Reference Include="System.Xml.Linq">
- <RequiredTargetFramework>3.5</RequiredTargetFramework>
- </Reference>
- <Reference Include="System.Data.DataSetExtensions">
- <RequiredTargetFramework>3.5</RequiredTargetFramework>
- </Reference>
- <Reference Include="System.Data" />
- <Reference Include="System.Deployment" />
- <Reference Include="System.Drawing" />
- <Reference Include="System.Windows.Forms" />
- <Reference Include="System.Xml" />
- </ItemGroup>
- <ItemGroup>
- <Compile Include="EditorServer.cs" />
- <Compile Include="Program.cs" />
- <Compile Include="Properties\AssemblyInfo.cs" />
- <EmbeddedResource Include="Properties\Resources.resx">
- <Generator>ResXFileCodeGenerator</Generator>
- <LastGenOutput>Resources.Designer.cs</LastGenOutput>
- <SubType>Designer</SubType>
- </EmbeddedResource>
- <Compile Include="Properties\Resources.Designer.cs">
- <AutoGen>True</AutoGen>
- <DependentUpon>Resources.resx</DependentUpon>
- <DesignTime>True</DesignTime>
- </Compile>
- <None Include="Properties\Settings.settings">
- <Generator>SettingsSingleFileGenerator</Generator>
- <LastGenOutput>Settings.Designer.cs</LastGenOutput>
- </None>
- <Compile Include="Properties\Settings.Designer.cs">
- <AutoGen>True</AutoGen>
- <DependentUpon>Settings.settings</DependentUpon>
- <DesignTimeSharedInput>True</DesignTimeSharedInput>
- </Compile>
- </ItemGroup>
- <ItemGroup>
- <BootstrapperPackage Include="Microsoft.Net.Client.3.5">
- <Visible>False</Visible>
- <ProductName>.NET Framework 3.5 SP1 Client Profile</ProductName>
- <Install>false</Install>
- </BootstrapperPackage>
- <BootstrapperPackage Include="Microsoft.Net.Framework.2.0">
- <Visible>False</Visible>
- <ProductName>.NET Framework 2.0 %28x86%29</ProductName>
- <Install>false</Install>
- </BootstrapperPackage>
- <BootstrapperPackage Include="Microsoft.Net.Framework.3.0">
- <Visible>False</Visible>
- <ProductName>.NET Framework 3.0 %28x86%29</ProductName>
- <Install>false</Install>
- </BootstrapperPackage>
- <BootstrapperPackage Include="Microsoft.Net.Framework.3.5">
- <Visible>False</Visible>
- <ProductName>.NET Framework 3.5</ProductName>
- <Install>false</Install>
- </BootstrapperPackage>
- <BootstrapperPackage Include="Microsoft.Net.Framework.3.5.SP1">
- <Visible>False</Visible>
- <ProductName>.NET Framework 3.5 SP1</ProductName>
- <Install>true</Install>
- </BootstrapperPackage>
- <BootstrapperPackage Include="Microsoft.Windows.Installer.3.1">
- <Visible>False</Visible>
- <ProductName>Windows Installer 3.1</ProductName>
- <Install>true</Install>
- </BootstrapperPackage>
- </ItemGroup>
- <ItemGroup>
- <Content Include="qtappwrapper.ico" />
- </ItemGroup>
- <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
- <!-- To modify your build process, add your task inside one of the targets below and uncomment it.
- Other similar extension points exist, see Microsoft.Common.targets.
- <Target Name="BeforeBuild">
- </Target>
- <Target Name="AfterBuild">
- </Target>
- -->
-</Project> \ No newline at end of file
diff --git a/tools/qtappwrapper/qt5appwrapper2012.sln b/tools/qtappwrapper/qt5appwrapper2012.sln
deleted file mode 100644
index 1681e985..00000000
--- a/tools/qtappwrapper/qt5appwrapper2012.sln
+++ /dev/null
@@ -1,20 +0,0 @@
-
-Microsoft Visual Studio Solution File, Format Version 12.00
-# Visual Studio 2012
-Project("{5565253D-30D1-43A0-A143-80DF756976CD}") = "qt5appwrapper2012", "qt5appwrapper2012.csproj", "{D7914D8C-DE5E-4E8A-A5C7-3E81FD0208E6}"
-EndProject
-Global
- GlobalSection(SolutionConfigurationPlatforms) = preSolution
- Debug|Any CPU = Debug|Any CPU
- Release|Any CPU = Release|Any CPU
- EndGlobalSection
- GlobalSection(ProjectConfigurationPlatforms) = postSolution
- {D7914D8C-DE5E-4E8A-A5C7-3E81FD0208E6}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {D7914D8C-DE5E-4E8A-A5C7-3E81FD0208E6}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {D7914D8C-DE5E-4E8A-A5C7-3E81FD0208E6}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {D7914D8C-DE5E-4E8A-A5C7-3E81FD0208E6}.Release|Any CPU.Build.0 = Release|Any CPU
- EndGlobalSection
- GlobalSection(SolutionProperties) = preSolution
- HideSolutionNode = FALSE
- EndGlobalSection
-EndGlobal
diff --git a/tools/qtappwrapper/qt5appwrapper2013.csproj b/tools/qtappwrapper/qt5appwrapper2013.csproj
deleted file mode 100644
index b59b7633..00000000
--- a/tools/qtappwrapper/qt5appwrapper2013.csproj
+++ /dev/null
@@ -1,144 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
- <PropertyGroup>
- <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
- <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
- <ProductVersion>9.0.30729</ProductVersion>
- <SchemaVersion>2.0</SchemaVersion>
- <ProjectGuid>{D7914D8C-DE5E-4E8A-A5C7-3E81FD0208E6}</ProjectGuid>
- <OutputType>WinExe</OutputType>
- <AppDesignerFolder>Properties</AppDesignerFolder>
- <RootNamespace>Qt5AppWrapper</RootNamespace>
- <AssemblyName>qt5appwrapper</AssemblyName>
- <TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
- <FileAlignment>512</FileAlignment>
- <IsWebBootstrapper>false</IsWebBootstrapper>
- <ApplicationIcon>qtappwrapper.ico</ApplicationIcon>
- <FileUpgradeFlags>
- </FileUpgradeFlags>
- <OldToolsVersion>3.5</OldToolsVersion>
- <UpgradeBackupLocation />
- <TargetFrameworkProfile />
- <PublishUrl>publish\</PublishUrl>
- <Install>true</Install>
- <InstallFrom>Disk</InstallFrom>
- <UpdateEnabled>false</UpdateEnabled>
- <UpdateMode>Foreground</UpdateMode>
- <UpdateInterval>7</UpdateInterval>
- <UpdateIntervalUnits>Days</UpdateIntervalUnits>
- <UpdatePeriodically>false</UpdatePeriodically>
- <UpdateRequired>false</UpdateRequired>
- <MapFileExtensions>true</MapFileExtensions>
- <ApplicationRevision>0</ApplicationRevision>
- <ApplicationVersion>1.0.0.%2a</ApplicationVersion>
- <UseApplicationTrust>false</UseApplicationTrust>
- <BootstrapperEnabled>true</BootstrapperEnabled>
- </PropertyGroup>
- <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
- <DebugSymbols>true</DebugSymbols>
- <DebugType>full</DebugType>
- <Optimize>false</Optimize>
- <OutputPath>..\..\Qt4VS2003\Qt4VSAddin\Debug\</OutputPath>
- <DefineConstants>TRACE;DEBUG;VS2008</DefineConstants>
- <ErrorReport>prompt</ErrorReport>
- <WarningLevel>4</WarningLevel>
- <CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
- </PropertyGroup>
- <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
- <DebugType>pdbonly</DebugType>
- <Optimize>true</Optimize>
- <OutputPath>..\..\Qt4VS2003\Qt4VSAddin\Release\</OutputPath>
- <DefineConstants>TRACE</DefineConstants>
- <ErrorReport>prompt</ErrorReport>
- <WarningLevel>4</WarningLevel>
- <CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
- </PropertyGroup>
- <ItemGroup>
- <Reference Include="EnvDTE, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
- <SpecificVersion>False</SpecificVersion>
- <HintPath>..\..\..\..\Program Files (x86)\Microsoft Visual Studio 9.0\Common7\IDE\PublicAssemblies\EnvDTE.dll</HintPath>
- </Reference>
- <Reference Include="System" />
- <Reference Include="System.Core">
- <RequiredTargetFramework>3.5</RequiredTargetFramework>
- </Reference>
- <Reference Include="System.Xml.Linq">
- <RequiredTargetFramework>3.5</RequiredTargetFramework>
- </Reference>
- <Reference Include="System.Data.DataSetExtensions">
- <RequiredTargetFramework>3.5</RequiredTargetFramework>
- </Reference>
- <Reference Include="System.Data" />
- <Reference Include="System.Deployment" />
- <Reference Include="System.Drawing" />
- <Reference Include="System.Windows.Forms" />
- <Reference Include="System.Xml" />
- </ItemGroup>
- <ItemGroup>
- <Compile Include="EditorServer.cs" />
- <Compile Include="Program.cs" />
- <Compile Include="Properties\AssemblyInfo.cs" />
- <EmbeddedResource Include="Properties\Resources.resx">
- <Generator>ResXFileCodeGenerator</Generator>
- <LastGenOutput>Resources.Designer.cs</LastGenOutput>
- <SubType>Designer</SubType>
- </EmbeddedResource>
- <Compile Include="Properties\Resources.Designer.cs">
- <AutoGen>True</AutoGen>
- <DependentUpon>Resources.resx</DependentUpon>
- <DesignTime>True</DesignTime>
- </Compile>
- <None Include="Properties\Settings.settings">
- <Generator>SettingsSingleFileGenerator</Generator>
- <LastGenOutput>Settings.Designer.cs</LastGenOutput>
- </None>
- <Compile Include="Properties\Settings.Designer.cs">
- <AutoGen>True</AutoGen>
- <DependentUpon>Settings.settings</DependentUpon>
- <DesignTimeSharedInput>True</DesignTimeSharedInput>
- </Compile>
- </ItemGroup>
- <ItemGroup>
- <BootstrapperPackage Include="Microsoft.Net.Client.3.5">
- <Visible>False</Visible>
- <ProductName>.NET Framework 3.5 SP1 Client Profile</ProductName>
- <Install>false</Install>
- </BootstrapperPackage>
- <BootstrapperPackage Include="Microsoft.Net.Framework.2.0">
- <Visible>False</Visible>
- <ProductName>.NET Framework 2.0 %28x86%29</ProductName>
- <Install>false</Install>
- </BootstrapperPackage>
- <BootstrapperPackage Include="Microsoft.Net.Framework.3.0">
- <Visible>False</Visible>
- <ProductName>.NET Framework 3.0 %28x86%29</ProductName>
- <Install>false</Install>
- </BootstrapperPackage>
- <BootstrapperPackage Include="Microsoft.Net.Framework.3.5">
- <Visible>False</Visible>
- <ProductName>.NET Framework 3.5</ProductName>
- <Install>false</Install>
- </BootstrapperPackage>
- <BootstrapperPackage Include="Microsoft.Net.Framework.3.5.SP1">
- <Visible>False</Visible>
- <ProductName>.NET Framework 3.5 SP1</ProductName>
- <Install>true</Install>
- </BootstrapperPackage>
- <BootstrapperPackage Include="Microsoft.Windows.Installer.3.1">
- <Visible>False</Visible>
- <ProductName>Windows Installer 3.1</ProductName>
- <Install>true</Install>
- </BootstrapperPackage>
- </ItemGroup>
- <ItemGroup>
- <Content Include="qtappwrapper.ico" />
- </ItemGroup>
- <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
- <!-- To modify your build process, add your task inside one of the targets below and uncomment it.
- Other similar extension points exist, see Microsoft.Common.targets.
- <Target Name="BeforeBuild">
- </Target>
- <Target Name="AfterBuild">
- </Target>
- -->
-</Project> \ No newline at end of file
diff --git a/tools/qtappwrapper/qt5appwrapper2013.sln b/tools/qtappwrapper/qt5appwrapper2013.sln
deleted file mode 100644
index e2771eb9..00000000
--- a/tools/qtappwrapper/qt5appwrapper2013.sln
+++ /dev/null
@@ -1,22 +0,0 @@
-
-Microsoft Visual Studio Solution File, Format Version 12.00
-# Visual Studio 2013
-VisualStudioVersion = 12.0.20827.3
-MinimumVisualStudioVersion = 10.0.40219.1
-Project("{5565253D-30D1-43A0-A143-80DF756976CD}") = "qt5appwrapper2013", "qt5appwrapper2013.csproj", "{D7914D8C-DE5E-4E8A-A5C7-3E81FD0208E6}"
-EndProject
-Global
- GlobalSection(SolutionConfigurationPlatforms) = preSolution
- Debug|Any CPU = Debug|Any CPU
- Release|Any CPU = Release|Any CPU
- EndGlobalSection
- GlobalSection(ProjectConfigurationPlatforms) = postSolution
- {D7914D8C-DE5E-4E8A-A5C7-3E81FD0208E6}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {D7914D8C-DE5E-4E8A-A5C7-3E81FD0208E6}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {D7914D8C-DE5E-4E8A-A5C7-3E81FD0208E6}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {D7914D8C-DE5E-4E8A-A5C7-3E81FD0208E6}.Release|Any CPU.Build.0 = Release|Any CPU
- EndGlobalSection
- GlobalSection(SolutionProperties) = preSolution
- HideSolutionNode = FALSE
- EndGlobalSection
-EndGlobal
diff --git a/tools/qtappwrapper/qtappwrapper.ico b/tools/qtappwrapper/qtappwrapper.ico
deleted file mode 100644
index 26425ea5..00000000
--- a/tools/qtappwrapper/qtappwrapper.ico
+++ /dev/null
Binary files differ
diff --git a/tools/tools.pro b/tools/tools.pro
deleted file mode 100644
index 0c3c7fb7..00000000
--- a/tools/tools.pro
+++ /dev/null
@@ -1,5 +0,0 @@
-TEMPLATE = subdirs
-SUBDIRS = \
- qmakefilereader \
- qrceditor
-