compatible with old compiler settings
This commit is contained in:
parent
9fa098960b
commit
3ff0bdd579
Binary file not shown.
|
@ -251,17 +251,17 @@
|
|||
<translation>基本选项</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="settingsdialog/compilersetoptionwidget.ui" line="111"/>
|
||||
<location filename="settingsdialog/compilersetoptionwidget.ui" line="118"/>
|
||||
<source>Add the following arguments when calling the compiler</source>
|
||||
<translation>编译时加入下列选项:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="settingsdialog/compilersetoptionwidget.ui" line="121"/>
|
||||
<location filename="settingsdialog/compilersetoptionwidget.ui" line="128"/>
|
||||
<source>Add the following arguments when calling the linker</source>
|
||||
<translation>链接时加入下列选项</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="settingsdialog/compilersetoptionwidget.ui" line="131"/>
|
||||
<location filename="settingsdialog/compilersetoptionwidget.ui" line="111"/>
|
||||
<source>Add Charset arguments when calling the compiler</source>
|
||||
<translation>编译时自动加入字符编码选项</translation>
|
||||
</message>
|
||||
|
@ -1908,7 +1908,7 @@ Are you really want to continue?</source>
|
|||
</message>
|
||||
<message>
|
||||
<location filename="mainwindow.ui" line="267"/>
|
||||
<location filename="mainwindow.cpp" line="1328"/>
|
||||
<location filename="mainwindow.cpp" line="1345"/>
|
||||
<source>Issues</source>
|
||||
<translation>编译器</translation>
|
||||
</message>
|
||||
|
@ -1928,8 +1928,8 @@ Are you really want to continue?</source>
|
|||
<translation>工具</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="mainwindow.ui" line="1046"/>
|
||||
<location filename="mainwindow.ui" line="1049"/>
|
||||
<location filename="mainwindow.ui" line="1048"/>
|
||||
<location filename="mainwindow.ui" line="1051"/>
|
||||
<source>Run</source>
|
||||
<translation>运行</translation>
|
||||
</message>
|
||||
|
@ -1965,8 +1965,8 @@ Are you really want to continue?</source>
|
|||
</message>
|
||||
<message>
|
||||
<location filename="mainwindow.ui" line="366"/>
|
||||
<location filename="mainwindow.ui" line="1245"/>
|
||||
<location filename="mainwindow.ui" line="1248"/>
|
||||
<location filename="mainwindow.ui" line="1247"/>
|
||||
<location filename="mainwindow.ui" line="1250"/>
|
||||
<source>Debug</source>
|
||||
<translation>调试</translation>
|
||||
</message>
|
||||
|
@ -2023,7 +2023,7 @@ Are you really want to continue?</source>
|
|||
</message>
|
||||
<message>
|
||||
<location filename="mainwindow.ui" line="740"/>
|
||||
<location filename="mainwindow.ui" line="1445"/>
|
||||
<location filename="mainwindow.ui" line="1447"/>
|
||||
<source>Close</source>
|
||||
<translation>关闭</translation>
|
||||
</message>
|
||||
|
@ -2043,420 +2043,430 @@ Are you really want to continue?</source>
|
|||
<translation>窗口</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="mainwindow.ui" line="856"/>
|
||||
<location filename="mainwindow.ui" line="894"/>
|
||||
<location filename="mainwindow.ui" line="915"/>
|
||||
<location filename="mainwindow.ui" line="940"/>
|
||||
<location filename="mainwindow.ui" line="858"/>
|
||||
<location filename="mainwindow.ui" line="896"/>
|
||||
<location filename="mainwindow.ui" line="917"/>
|
||||
<location filename="mainwindow.ui" line="942"/>
|
||||
<source>toolBar</source>
|
||||
<translation>工具栏</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="mainwindow.ui" line="877"/>
|
||||
<location filename="mainwindow.ui" line="879"/>
|
||||
<source>toolBar_2</source>
|
||||
<translation>工具栏2</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="mainwindow.ui" line="960"/>
|
||||
<location filename="mainwindow.ui" line="962"/>
|
||||
<source>New</source>
|
||||
<translation>新建</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="mainwindow.ui" line="963"/>
|
||||
<location filename="mainwindow.ui" line="965"/>
|
||||
<source>Ctrl+N</source>
|
||||
<translation>Ctrl+N</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="mainwindow.ui" line="973"/>
|
||||
<location filename="mainwindow.ui" line="975"/>
|
||||
<source>Open...</source>
|
||||
<translation>打开...</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="mainwindow.ui" line="976"/>
|
||||
<location filename="mainwindow.ui" line="978"/>
|
||||
<source>Ctrl+O</source>
|
||||
<translation>Ctrl+O</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="mainwindow.ui" line="986"/>
|
||||
<location filename="mainwindow.ui" line="988"/>
|
||||
<source>Save</source>
|
||||
<translation>保存</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="mainwindow.ui" line="989"/>
|
||||
<location filename="mainwindow.ui" line="991"/>
|
||||
<source>Ctrl+S</source>
|
||||
<translation>Ctrl+S</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="mainwindow.ui" line="999"/>
|
||||
<location filename="mainwindow.ui" line="1001"/>
|
||||
<source>Save As...</source>
|
||||
<translation>另存为...</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="mainwindow.ui" line="1002"/>
|
||||
<location filename="mainwindow.ui" line="1004"/>
|
||||
<source>Save As</source>
|
||||
<translation>另存为</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="mainwindow.ui" line="1012"/>
|
||||
<location filename="mainwindow.ui" line="1014"/>
|
||||
<source>Save All</source>
|
||||
<translation>全部保存</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="mainwindow.ui" line="1015"/>
|
||||
<location filename="mainwindow.ui" line="1017"/>
|
||||
<source>Ctrl+Shift+S</source>
|
||||
<translation>Ctrl+Shift+S</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="mainwindow.ui" line="1020"/>
|
||||
<location filename="mainwindow.ui" line="1022"/>
|
||||
<source>Options</source>
|
||||
<translation>选项</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="mainwindow.ui" line="1030"/>
|
||||
<location filename="mainwindow.ui" line="1033"/>
|
||||
<location filename="mainwindow.cpp" line="836"/>
|
||||
<location filename="mainwindow.cpp" line="847"/>
|
||||
<location filename="mainwindow.cpp" line="1118"/>
|
||||
<location filename="mainwindow.cpp" line="1129"/>
|
||||
<location filename="mainwindow.ui" line="1032"/>
|
||||
<location filename="mainwindow.ui" line="1035"/>
|
||||
<location filename="mainwindow.cpp" line="842"/>
|
||||
<location filename="mainwindow.cpp" line="853"/>
|
||||
<location filename="mainwindow.cpp" line="1135"/>
|
||||
<location filename="mainwindow.cpp" line="1146"/>
|
||||
<source>Compile</source>
|
||||
<translation>编译</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="mainwindow.ui" line="1036"/>
|
||||
<location filename="mainwindow.ui" line="1038"/>
|
||||
<source>F9</source>
|
||||
<translation>F9</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="mainwindow.ui" line="1052"/>
|
||||
<location filename="mainwindow.ui" line="1054"/>
|
||||
<source>F10</source>
|
||||
<translation>F10</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="mainwindow.ui" line="1062"/>
|
||||
<location filename="mainwindow.ui" line="1064"/>
|
||||
<source>Undo</source>
|
||||
<translation>恢复</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="mainwindow.ui" line="1065"/>
|
||||
<location filename="mainwindow.ui" line="1067"/>
|
||||
<source>Ctrl+Z</source>
|
||||
<translation>Ctrl+Z</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="mainwindow.ui" line="1075"/>
|
||||
<location filename="mainwindow.ui" line="1077"/>
|
||||
<source>Redo</source>
|
||||
<translation>重做</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="mainwindow.ui" line="1078"/>
|
||||
<location filename="mainwindow.ui" line="1080"/>
|
||||
<source>Ctrl+Y</source>
|
||||
<translation>Ctrl+Y</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="mainwindow.ui" line="1088"/>
|
||||
<location filename="mainwindow.ui" line="1090"/>
|
||||
<source>Cut</source>
|
||||
<translation>剪切</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="mainwindow.ui" line="1091"/>
|
||||
<location filename="mainwindow.ui" line="1093"/>
|
||||
<source>Ctrl+X</source>
|
||||
<translation>Ctrl+X</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="mainwindow.ui" line="1101"/>
|
||||
<location filename="mainwindow.ui" line="1103"/>
|
||||
<source>Copy</source>
|
||||
<translation>复制</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="mainwindow.ui" line="1104"/>
|
||||
<location filename="mainwindow.ui" line="1106"/>
|
||||
<source>Ctrl+C</source>
|
||||
<translation>Ctrl+C</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="mainwindow.ui" line="1114"/>
|
||||
<location filename="mainwindow.ui" line="1116"/>
|
||||
<source>Paste</source>
|
||||
<translation>粘贴</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="mainwindow.ui" line="1117"/>
|
||||
<location filename="mainwindow.ui" line="1119"/>
|
||||
<source>Ctrl+V</source>
|
||||
<translation>Ctrl+V</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="mainwindow.ui" line="1122"/>
|
||||
<location filename="mainwindow.ui" line="1124"/>
|
||||
<source>Select All</source>
|
||||
<translation>选择全部</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="mainwindow.ui" line="1125"/>
|
||||
<location filename="mainwindow.ui" line="1127"/>
|
||||
<source>Ctrl+A</source>
|
||||
<translation>Ctrl+A</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="mainwindow.ui" line="1135"/>
|
||||
<location filename="mainwindow.ui" line="1137"/>
|
||||
<source>Indent</source>
|
||||
<translation>缩进</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="mainwindow.ui" line="1145"/>
|
||||
<location filename="mainwindow.ui" line="1147"/>
|
||||
<source>UnIndent</source>
|
||||
<translation>取消缩进</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="mainwindow.ui" line="1150"/>
|
||||
<location filename="mainwindow.ui" line="1152"/>
|
||||
<source>Toggle Comment</source>
|
||||
<translation>切换注释</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="mainwindow.ui" line="1153"/>
|
||||
<location filename="mainwindow.ui" line="1155"/>
|
||||
<source>Ctrl+/</source>
|
||||
<translation>Ctrl+/</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="mainwindow.ui" line="1161"/>
|
||||
<location filename="mainwindow.ui" line="1163"/>
|
||||
<source>Collapse All</source>
|
||||
<translation>全部收起</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="mainwindow.ui" line="1166"/>
|
||||
<location filename="mainwindow.ui" line="1168"/>
|
||||
<source>Uncollapse All</source>
|
||||
<translation>全部展开</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="mainwindow.ui" line="1171"/>
|
||||
<location filename="mainwindow.ui" line="1173"/>
|
||||
<source>Encode in ANSI</source>
|
||||
<translation>使用ANSI编码</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="mainwindow.ui" line="1176"/>
|
||||
<location filename="mainwindow.ui" line="1178"/>
|
||||
<source>Encode in UTF-8</source>
|
||||
<translation>使用UTF-8编码</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="mainwindow.ui" line="1181"/>
|
||||
<location filename="mainwindow.ui" line="1183"/>
|
||||
<source>Auto Detect</source>
|
||||
<translation>自动检测</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="mainwindow.ui" line="1186"/>
|
||||
<location filename="mainwindow.ui" line="1188"/>
|
||||
<source>Convert to ANSI</source>
|
||||
<translation>转换为ANSI编码</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="mainwindow.ui" line="1191"/>
|
||||
<location filename="mainwindow.ui" line="1193"/>
|
||||
<source>Convert to UTF-8</source>
|
||||
<translation>转换为UTF-8编码</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="mainwindow.ui" line="1201"/>
|
||||
<location filename="mainwindow.ui" line="1204"/>
|
||||
<location filename="mainwindow.ui" line="1203"/>
|
||||
<location filename="mainwindow.ui" line="1206"/>
|
||||
<source>Compile & Run</source>
|
||||
<translation>编译运行</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="mainwindow.ui" line="1207"/>
|
||||
<location filename="mainwindow.ui" line="1209"/>
|
||||
<source>F11</source>
|
||||
<translation>F11</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="mainwindow.ui" line="1217"/>
|
||||
<location filename="mainwindow.ui" line="1220"/>
|
||||
<location filename="mainwindow.ui" line="1219"/>
|
||||
<location filename="mainwindow.ui" line="1222"/>
|
||||
<source>Rebuild All</source>
|
||||
<translation>全部重编译</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="mainwindow.ui" line="1223"/>
|
||||
<location filename="mainwindow.ui" line="1225"/>
|
||||
<source>F12</source>
|
||||
<translation>F12</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="mainwindow.ui" line="1233"/>
|
||||
<location filename="mainwindow.ui" line="1235"/>
|
||||
<source>Stop Execution</source>
|
||||
<translation>停止执行</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="mainwindow.ui" line="1236"/>
|
||||
<location filename="mainwindow.ui" line="1238"/>
|
||||
<source>F6</source>
|
||||
<translation>F6</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="mainwindow.ui" line="1251"/>
|
||||
<location filename="mainwindow.ui" line="1253"/>
|
||||
<source>F5</source>
|
||||
<translation>F5</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="mainwindow.ui" line="1261"/>
|
||||
<location filename="mainwindow.ui" line="1263"/>
|
||||
<source>Step Over</source>
|
||||
<translation>单步跳过</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="mainwindow.ui" line="1264"/>
|
||||
<location filename="mainwindow.ui" line="1266"/>
|
||||
<source>F7</source>
|
||||
<translation>F7</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="mainwindow.ui" line="1274"/>
|
||||
<location filename="mainwindow.ui" line="1276"/>
|
||||
<source>Step Into</source>
|
||||
<translation>单步进入</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="mainwindow.ui" line="1277"/>
|
||||
<location filename="mainwindow.ui" line="1279"/>
|
||||
<source>F8</source>
|
||||
<translation>F8</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="mainwindow.ui" line="1287"/>
|
||||
<location filename="mainwindow.ui" line="1289"/>
|
||||
<source>Step Out</source>
|
||||
<translation>单步跳出</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="mainwindow.ui" line="1290"/>
|
||||
<location filename="mainwindow.ui" line="1292"/>
|
||||
<source>Ctrl+F8</source>
|
||||
<translation>Ctrl+F8</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="mainwindow.ui" line="1295"/>
|
||||
<location filename="mainwindow.ui" line="1297"/>
|
||||
<source>Run To Cursor</source>
|
||||
<translation>执行到光标处</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="mainwindow.ui" line="1298"/>
|
||||
<location filename="mainwindow.ui" line="1300"/>
|
||||
<source>Ctrl+F5</source>
|
||||
<translation>Ctrl+F5</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="mainwindow.ui" line="1308"/>
|
||||
<location filename="mainwindow.ui" line="1310"/>
|
||||
<source>Continue</source>
|
||||
<translation>继续执行</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="mainwindow.ui" line="1311"/>
|
||||
<location filename="mainwindow.ui" line="1313"/>
|
||||
<source>F4</source>
|
||||
<translation>F4</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="mainwindow.ui" line="1321"/>
|
||||
<location filename="mainwindow.ui" line="1323"/>
|
||||
<source>Add Watch...</source>
|
||||
<translation>添加监视</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="mainwindow.ui" line="1326"/>
|
||||
<location filename="mainwindow.ui" line="1328"/>
|
||||
<source>View CPU Window...</source>
|
||||
<translation>打开CPU信息窗口...</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="mainwindow.ui" line="1331"/>
|
||||
<location filename="mainwindow.ui" line="1333"/>
|
||||
<source>Exit</source>
|
||||
<translation>退出</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="mainwindow.ui" line="1341"/>
|
||||
<location filename="mainwindow.ui" line="1343"/>
|
||||
<source>Find...</source>
|
||||
<translation>查找...</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="mainwindow.ui" line="1344"/>
|
||||
<location filename="mainwindow.ui" line="1346"/>
|
||||
<source>Ctrl+F</source>
|
||||
<translation>Ctrl+F</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="mainwindow.ui" line="1349"/>
|
||||
<location filename="mainwindow.ui" line="1351"/>
|
||||
<source>Find in Files...</source>
|
||||
<translation>在文件中查找...</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="mainwindow.ui" line="1352"/>
|
||||
<location filename="mainwindow.ui" line="1354"/>
|
||||
<source>Ctrl+Shift+F</source>
|
||||
<translation>Ctrl+Shift+F</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="mainwindow.ui" line="1362"/>
|
||||
<location filename="mainwindow.ui" line="1364"/>
|
||||
<source>Replace...</source>
|
||||
<translation>替换</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="mainwindow.ui" line="1365"/>
|
||||
<location filename="mainwindow.ui" line="1367"/>
|
||||
<source>Ctrl+R</source>
|
||||
<translation>Ctrl+R</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="mainwindow.ui" line="1370"/>
|
||||
<location filename="mainwindow.ui" line="1372"/>
|
||||
<source>Find Next</source>
|
||||
<translation>查找下一个</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="mainwindow.ui" line="1373"/>
|
||||
<location filename="mainwindow.ui" line="1375"/>
|
||||
<source>F3</source>
|
||||
<translation>F3</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="mainwindow.ui" line="1378"/>
|
||||
<location filename="mainwindow.ui" line="1380"/>
|
||||
<source>Find Previous</source>
|
||||
<translation>查找前一个</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="mainwindow.ui" line="1381"/>
|
||||
<location filename="mainwindow.ui" line="1383"/>
|
||||
<source>Shift+F3</source>
|
||||
<translation>Shift+F3</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="mainwindow.ui" line="1386"/>
|
||||
<location filename="mainwindow.ui" line="1388"/>
|
||||
<source>Remove Watch</source>
|
||||
<translation>删除监视</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="mainwindow.ui" line="1391"/>
|
||||
<location filename="mainwindow.ui" line="1393"/>
|
||||
<source>Remove All</source>
|
||||
<translation>清除全部监视</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="mainwindow.ui" line="1396"/>
|
||||
<location filename="mainwindow.ui" line="1398"/>
|
||||
<source>Modify Watch...</source>
|
||||
<translation>修改监视值</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="mainwindow.ui" line="1406"/>
|
||||
<location filename="mainwindow.ui" line="1408"/>
|
||||
<source>Reformat Code</source>
|
||||
<translation>对代码重新排版</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="mainwindow.ui" line="1409"/>
|
||||
<location filename="mainwindow.ui" line="1411"/>
|
||||
<source>Ctrl+Shift+A</source>
|
||||
<translation>Ctrl+Shift+A</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="mainwindow.ui" line="1419"/>
|
||||
<location filename="mainwindow.ui" line="1421"/>
|
||||
<source>Go back</source>
|
||||
<translation>前一次编辑位置</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="mainwindow.ui" line="1422"/>
|
||||
<location filename="mainwindow.ui" line="1424"/>
|
||||
<source>Ctrl+Alt+Left</source>
|
||||
<translation>Ctrl+Alt+Left</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="mainwindow.ui" line="1432"/>
|
||||
<location filename="mainwindow.ui" line="1434"/>
|
||||
<source>Forward</source>
|
||||
<translation>后一次编辑位置</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="mainwindow.ui" line="1435"/>
|
||||
<location filename="mainwindow.ui" line="1437"/>
|
||||
<source>Ctrl+Alt+Right</source>
|
||||
<translation>Ctrl+Alt+Right</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="mainwindow.ui" line="1448"/>
|
||||
<location filename="mainwindow.ui" line="1450"/>
|
||||
<source>Ctrl+W</source>
|
||||
<translation>Ctrl+W</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="mainwindow.ui" line="1458"/>
|
||||
<location filename="mainwindow.ui" line="1460"/>
|
||||
<source>Close All</source>
|
||||
<translation>全部关闭</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="mainwindow.ui" line="1461"/>
|
||||
<location filename="mainwindow.ui" line="1463"/>
|
||||
<source>Ctrl+Shift+W</source>
|
||||
<translation>Ctrl+Shift+W</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="mainwindow.ui" line="1473"/>
|
||||
<source>Maximize Editor</source>
|
||||
<translation>最大化编辑器</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="mainwindow.ui" line="1476"/>
|
||||
<source>Ctrl+F11</source>
|
||||
<translation>Ctrl+F11</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="mainwindow.cpp" line="83"/>
|
||||
<source>File Encoding</source>
|
||||
|
@ -2468,20 +2478,20 @@ Are you really want to continue?</source>
|
|||
<translation>文件历史</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="mainwindow.cpp" line="357"/>
|
||||
<location filename="mainwindow.cpp" line="359"/>
|
||||
<location filename="mainwindow.cpp" line="363"/>
|
||||
<location filename="mainwindow.cpp" line="365"/>
|
||||
<source>Debugging</source>
|
||||
<translation>正在调试</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="mainwindow.cpp" line="362"/>
|
||||
<location filename="mainwindow.cpp" line="364"/>
|
||||
<location filename="mainwindow.cpp" line="368"/>
|
||||
<location filename="mainwindow.cpp" line="370"/>
|
||||
<source>Running</source>
|
||||
<translation>正在运行</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="mainwindow.cpp" line="367"/>
|
||||
<location filename="mainwindow.cpp" line="369"/>
|
||||
<location filename="mainwindow.cpp" line="373"/>
|
||||
<location filename="mainwindow.cpp" line="375"/>
|
||||
<source>Compiling</source>
|
||||
<translation>正在编译</translation>
|
||||
</message>
|
||||
|
@ -2490,172 +2500,172 @@ Are you really want to continue?</source>
|
|||
<translation type="vanished">行:%1 列:%2 已选择:%3 总行数:%4 总长度:%5</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="mainwindow.cpp" line="495"/>
|
||||
<location filename="mainwindow.cpp" line="501"/>
|
||||
<source>Line:%1 Col:%2 Selected:%3 Lines:%4 Length:%5</source>
|
||||
<translation>行:%1 列:%2 已选择:%3 总行数:%4 总长度:%5</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="mainwindow.cpp" line="513"/>
|
||||
<location filename="mainwindow.cpp" line="519"/>
|
||||
<source>Read Only</source>
|
||||
<translation>只读</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="mainwindow.cpp" line="515"/>
|
||||
<location filename="mainwindow.cpp" line="521"/>
|
||||
<source>Insert</source>
|
||||
<translation>插入</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="mainwindow.cpp" line="517"/>
|
||||
<location filename="mainwindow.cpp" line="523"/>
|
||||
<source>Overwrite</source>
|
||||
<translation>覆写</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="mainwindow.cpp" line="646"/>
|
||||
<location filename="mainwindow.cpp" line="661"/>
|
||||
<location filename="mainwindow.cpp" line="652"/>
|
||||
<location filename="mainwindow.cpp" line="667"/>
|
||||
<source>Confirm</source>
|
||||
<translation>确认</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="mainwindow.cpp" line="647"/>
|
||||
<location filename="mainwindow.cpp" line="655"/>
|
||||
<location filename="mainwindow.cpp" line="837"/>
|
||||
<location filename="mainwindow.cpp" line="653"/>
|
||||
<location filename="mainwindow.cpp" line="661"/>
|
||||
<location filename="mainwindow.cpp" line="843"/>
|
||||
<source>Source file is not compiled.</source>
|
||||
<translation>源文件尚未编译。</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="mainwindow.cpp" line="648"/>
|
||||
<location filename="mainwindow.cpp" line="837"/>
|
||||
<location filename="mainwindow.cpp" line="654"/>
|
||||
<location filename="mainwindow.cpp" line="843"/>
|
||||
<source>Compile now?</source>
|
||||
<translation>现在编译?</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="mainwindow.cpp" line="662"/>
|
||||
<location filename="mainwindow.cpp" line="848"/>
|
||||
<location filename="mainwindow.cpp" line="668"/>
|
||||
<location filename="mainwindow.cpp" line="854"/>
|
||||
<source>Source file is more recent than executable.</source>
|
||||
<translation>源文件比可执行程序新。</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="mainwindow.cpp" line="663"/>
|
||||
<location filename="mainwindow.cpp" line="669"/>
|
||||
<source>Recompile now?</source>
|
||||
<translation>重新编译?</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="mainwindow.cpp" line="715"/>
|
||||
<location filename="mainwindow.cpp" line="721"/>
|
||||
<source>No compiler set</source>
|
||||
<translation>无编译器设置</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="mainwindow.cpp" line="716"/>
|
||||
<location filename="mainwindow.cpp" line="722"/>
|
||||
<source>No compiler set is configured.</source>
|
||||
<translation>没有配置编译器设置。</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="mainwindow.cpp" line="716"/>
|
||||
<location filename="mainwindow.cpp" line="722"/>
|
||||
<source>Can't start debugging.</source>
|
||||
<translation>无法启动调试器</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="mainwindow.cpp" line="805"/>
|
||||
<location filename="mainwindow.cpp" line="811"/>
|
||||
<source>Enable debugging</source>
|
||||
<translation>启用调试参数</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="mainwindow.cpp" line="806"/>
|
||||
<location filename="mainwindow.cpp" line="812"/>
|
||||
<source>You have not enabled debugging info (-g3) and/or stripped it from the executable (-s) in Compiler Options.<BR /><BR />Do you want to correct this now?</source>
|
||||
<translation>当前编译设置中未启用调试选项(-g3),或启用了信息剥除选项(-s)<br /><br/>是否纠正这一问题?</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="mainwindow.cpp" line="848"/>
|
||||
<location filename="mainwindow.cpp" line="854"/>
|
||||
<source>Recompile?</source>
|
||||
<translation>重新编译?</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="mainwindow.cpp" line="1109"/>
|
||||
<location filename="mainwindow.cpp" line="1126"/>
|
||||
<source>%1 files autosaved</source>
|
||||
<translation>已自动保存%1个文件</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="mainwindow.cpp" line="555"/>
|
||||
<location filename="mainwindow.cpp" line="1125"/>
|
||||
<location filename="mainwindow.cpp" line="1185"/>
|
||||
<location filename="mainwindow.cpp" line="1209"/>
|
||||
<location filename="mainwindow.cpp" line="1263"/>
|
||||
<location filename="mainwindow.cpp" line="1275"/>
|
||||
<location filename="mainwindow.cpp" line="1570"/>
|
||||
<location filename="mainwindow.cpp" line="1582"/>
|
||||
<location filename="mainwindow.cpp" line="561"/>
|
||||
<location filename="mainwindow.cpp" line="1142"/>
|
||||
<location filename="mainwindow.cpp" line="1202"/>
|
||||
<location filename="mainwindow.cpp" line="1226"/>
|
||||
<location filename="mainwindow.cpp" line="1280"/>
|
||||
<location filename="mainwindow.cpp" line="1292"/>
|
||||
<location filename="mainwindow.cpp" line="1587"/>
|
||||
<location filename="mainwindow.cpp" line="1599"/>
|
||||
<source>Error</source>
|
||||
<translation>错误</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="mainwindow.cpp" line="1119"/>
|
||||
<location filename="mainwindow.cpp" line="1136"/>
|
||||
<source>File '%1' was changed.</source>
|
||||
<translation>磁盘文件'%1'已被修改。</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="mainwindow.cpp" line="1119"/>
|
||||
<location filename="mainwindow.cpp" line="1136"/>
|
||||
<source>Reload its content from disk?</source>
|
||||
<translation>是否重新读取它的内容?</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="mainwindow.cpp" line="1130"/>
|
||||
<location filename="mainwindow.cpp" line="1147"/>
|
||||
<source>File '%1' was removed.</source>
|
||||
<translation>磁盘文件'%1'已被删除。</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="mainwindow.cpp" line="1130"/>
|
||||
<location filename="mainwindow.cpp" line="1147"/>
|
||||
<source>Keep it open?</source>
|
||||
<translation>是否保持它在小熊猫C++中打开的编辑窗口?</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="mainwindow.cpp" line="1205"/>
|
||||
<location filename="mainwindow.cpp" line="1222"/>
|
||||
<source>Open</source>
|
||||
<translation>打开</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="mainwindow.cpp" line="1418"/>
|
||||
<location filename="mainwindow.cpp" line="1435"/>
|
||||
<source>Compile Failed</source>
|
||||
<translation>编译失败</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="mainwindow.cpp" line="1423"/>
|
||||
<location filename="mainwindow.cpp" line="1440"/>
|
||||
<source>Run Failed</source>
|
||||
<translation>运行失败</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="mainwindow.cpp" line="1599"/>
|
||||
<location filename="mainwindow.cpp" line="1613"/>
|
||||
<location filename="mainwindow.cpp" line="1616"/>
|
||||
<location filename="mainwindow.cpp" line="1630"/>
|
||||
<source>Confirm Convertion</source>
|
||||
<translation>确认转换</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="mainwindow.cpp" line="1600"/>
|
||||
<location filename="mainwindow.cpp" line="1614"/>
|
||||
<location filename="mainwindow.cpp" line="1617"/>
|
||||
<location filename="mainwindow.cpp" line="1631"/>
|
||||
<source>The editing file will be saved using %1 encoding. <br />This operation can't be reverted. <br />Are you sure to continue?</source>
|
||||
<translation>当前编辑器中的文件将会使用%1编码保存。<br />这项操作无法被撤回。<br />你确定要继续吗?</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="mainwindow.cpp" line="1789"/>
|
||||
<location filename="mainwindow.cpp" line="1806"/>
|
||||
<source>New Watch Expression</source>
|
||||
<translation>新监视表达式</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="mainwindow.cpp" line="1790"/>
|
||||
<location filename="mainwindow.cpp" line="1807"/>
|
||||
<source>Enter Watch Expression (it is recommended to use 'this->' for class members):</source>
|
||||
<translation>输入监视表达式</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="mainwindow.cpp" line="1836"/>
|
||||
<location filename="mainwindow.cpp" line="1853"/>
|
||||
<source>Parsing file %1 of %2: "%3"</source>
|
||||
<translation>(%1/%2)正在解析文件"%3"</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="mainwindow.cpp" line="1858"/>
|
||||
<location filename="mainwindow.cpp" line="1864"/>
|
||||
<location filename="mainwindow.cpp" line="1875"/>
|
||||
<location filename="mainwindow.cpp" line="1881"/>
|
||||
<source>Done parsing %1 files in %2 seconds</source>
|
||||
<translation>完成%1个文件的解析,用时%2秒</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="mainwindow.cpp" line="1861"/>
|
||||
<location filename="mainwindow.cpp" line="1878"/>
|
||||
<source>(%1 files per second)</source>
|
||||
<translation>(每秒%1个文件)</translation>
|
||||
</message>
|
||||
|
@ -2820,123 +2830,127 @@ Are you really want to continue?</source>
|
|||
<translation>语言标准(-std)</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="settings.cpp" line="1858"/>
|
||||
<location filename="settings.cpp" line="1870"/>
|
||||
<source>Profile</source>
|
||||
<translation>性能分析</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="settings.cpp" line="1879"/>
|
||||
<source>Generate debugging information (-g3)</source>
|
||||
<translation>生成调试信息(-g3)</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="settings.cpp" line="1859"/>
|
||||
<location filename="settings.cpp" line="1871"/>
|
||||
<source>Generate profiling info for analysis (-pg)</source>
|
||||
<translation>生成性能分析信息(-pg)</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="settings.cpp" line="1862"/>
|
||||
<location filename="settings.cpp" line="1860"/>
|
||||
<source>Warnings</source>
|
||||
<translation>代码警告</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="settings.cpp" line="1863"/>
|
||||
<location filename="settings.cpp" line="1861"/>
|
||||
<source>Inhibit all warning messages (-w)</source>
|
||||
<translation>忽略所有警告信息(-w)</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="settings.cpp" line="1864"/>
|
||||
<location filename="settings.cpp" line="1862"/>
|
||||
<source>Show most warnings (-Wall)</source>
|
||||
<translation>启用常见问题警告(-Wall)</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="settings.cpp" line="1865"/>
|
||||
<location filename="settings.cpp" line="1863"/>
|
||||
<source>Show some more warnings (-Wextra)</source>
|
||||
<translation>启用更多问题警告(-Wextra)</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="settings.cpp" line="1866"/>
|
||||
<location filename="settings.cpp" line="1864"/>
|
||||
<source>Check ISO C/C++/C++0x conformance (-pedantic)</source>
|
||||
<translation>检查ISO C/C++/C++0x语法一致性(-pedantic)</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="settings.cpp" line="1867"/>
|
||||
<location filename="settings.cpp" line="1865"/>
|
||||
<source>Only check the code for syntax errors (-fsyntax-only)</source>
|
||||
<translation>只进行语法检查(不编译)(-fsyntax-only)</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="settings.cpp" line="1868"/>
|
||||
<location filename="settings.cpp" line="1866"/>
|
||||
<source>Make all warnings into errors (-Werror)</source>
|
||||
<translation>将警告作为错误处理(-Werror)</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="settings.cpp" line="1869"/>
|
||||
<location filename="settings.cpp" line="1867"/>
|
||||
<source>Abort compilation on first error (-Wfatal-errors)</source>
|
||||
<translation>遇到第一个错误后立即中止编译(-Wfatal-errors)</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="settings.cpp" line="1872"/>
|
||||
<location filename="settings.cpp" line="1874"/>
|
||||
<source>Linker</source>
|
||||
<translation>链接器</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="settings.cpp" line="1873"/>
|
||||
<location filename="settings.cpp" line="1875"/>
|
||||
<source>Link an Objective C program (-lobjc)</source>
|
||||
<translation></translation>
|
||||
<translation>链接Objective-C程序 (-lobjc)</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="settings.cpp" line="1874"/>
|
||||
<location filename="settings.cpp" line="1876"/>
|
||||
<source>Do not use standard system libraries (-nostdlib)</source>
|
||||
<translation>不使用标准库和系统启动文件(-nostdlib)</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="settings.cpp" line="1875"/>
|
||||
<location filename="settings.cpp" line="1877"/>
|
||||
<source>Do not create a console window (-mwindows)</source>
|
||||
<translation>不产生控制台窗口(-mwindows)</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="settings.cpp" line="1876"/>
|
||||
<location filename="settings.cpp" line="1878"/>
|
||||
<source>Strip executable (-s)</source>
|
||||
<translation>剥除附加信息(-s)</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="settings.cpp" line="1877"/>
|
||||
<source>Link libraries statically (-static)</source>
|
||||
<translation>链接Ojbective C程序(-lobjc)</translation>
|
||||
<translation type="vanished">链接Ojbective C程序(-lobjc)</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="settings.cpp" line="1880"/>
|
||||
<location filename="settings.cpp" line="1882"/>
|
||||
<source>Output</source>
|
||||
<translation>输出</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="settings.cpp" line="1881"/>
|
||||
<location filename="settings.cpp" line="1883"/>
|
||||
<source>Put comments in generated assembly code (-fverbose-asm)</source>
|
||||
<translation>在生成的汇编代码中加入注释(-fverbose-asm)</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="settings.cpp" line="1882"/>
|
||||
<location filename="settings.cpp" line="1885"/>
|
||||
<source>Use pipes instead of temporary files during compilation (-pipe)</source>
|
||||
<translation>编译时使用管道而不是临时文件(-pipe)</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="settings.cpp" line="1883"/>
|
||||
<location filename="settings.cpp" line="1884"/>
|
||||
<source>Do not assemble, compile and generate the assemble code (-S)</source>
|
||||
<translation>只生成汇编代码(-S)</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="settings.cpp" line="2076"/>
|
||||
<location filename="settings.cpp" line="2101"/>
|
||||
<location filename="settings.cpp" line="2078"/>
|
||||
<location filename="settings.cpp" line="2103"/>
|
||||
<source>Confirm</source>
|
||||
<translation>确认</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="settings.cpp" line="2077"/>
|
||||
<location filename="settings.cpp" line="2079"/>
|
||||
<source>The following problems were found during validation of compiler set "%1":</source>
|
||||
<translation>在验证编译器设置"%1"时遇到了下列问题:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="settings.cpp" line="2102"/>
|
||||
<location filename="settings.cpp" line="2104"/>
|
||||
<source>Compiler set not configuared.</source>
|
||||
<translation>未配置编译器设置。</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="settings.cpp" line="2104"/>
|
||||
<location filename="settings.cpp" line="2106"/>
|
||||
<source>Would you like Red Panda C++ to search for compilers in the following locations: <BR />'%1'<BR />'%2'? </source>
|
||||
<translation>您需要小熊猫C++在下列位置搜索编译器吗:<br />%1<br />%2</translation>
|
||||
</message>
|
||||
|
|
|
@ -353,6 +353,10 @@ QString Compiler::getLibraryArguments()
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
if (compilerSet()->staticLink()) {
|
||||
result += " -static";
|
||||
}
|
||||
return result;
|
||||
}
|
||||
|
||||
|
|
|
@ -1855,8 +1855,6 @@ void Settings::CompilerSet::setOptions()
|
|||
sl.append("GNU C++17=gnu++17");
|
||||
sl.append("GNU C++20=gnu++20");
|
||||
addOption(QObject::tr("Language standard (-std)"), groupName, true, true, false, 0, "-std=", sl);
|
||||
addOption(QObject::tr("Generate debugging information (-g3)"), groupName, true, true, false, 0, "-g3");
|
||||
addOption(QObject::tr("Generate profiling info for analysis (-pg)"), groupName, true, true, true, 0, "-pg");
|
||||
|
||||
// Warnings
|
||||
groupName = QObject::tr("Warnings");
|
||||
|
@ -1868,19 +1866,23 @@ void Settings::CompilerSet::setOptions()
|
|||
addOption(QObject::tr("Make all warnings into errors (-Werror)"), groupName, true, true, false, 0, "-Werror");
|
||||
addOption(QObject::tr("Abort compilation on first error (-Wfatal-errors)"), groupName, true, true, false, 0, "-Wfatal-errors");
|
||||
|
||||
// Profile
|
||||
groupName = QObject::tr("Profile");
|
||||
addOption(QObject::tr("Generate profiling info for analysis (-pg)"), groupName, true, true, true, 0, "-pg");
|
||||
|
||||
// Linker
|
||||
groupName = QObject::tr("Linker");
|
||||
addOption(QObject::tr("Link an Objective C program (-lobjc)"), groupName, false, false, true, 0, "-lobjc");
|
||||
addOption(QObject::tr("Do not use standard system libraries (-nostdlib)"), groupName, false, false, true, 0, "-nostdlib");
|
||||
addOption(QObject::tr("Do not create a console window (-mwindows)"), groupName,false, false, true, 0, "-mwindows");
|
||||
addOption(QObject::tr("Strip executable (-s)"), groupName, false, false, true, 0, "-s");
|
||||
addOption(QObject::tr("Link libraries statically (-static)"), groupName, false, false, true, 0, "-static");
|
||||
addOption(QObject::tr("Generate debugging information (-g3)"), groupName, true, true, false, 0, "-g3");
|
||||
|
||||
// Output
|
||||
groupName = QObject::tr("Output");
|
||||
addOption(QObject::tr("Put comments in generated assembly code (-fverbose-asm)"), groupName, true, true, false, 0, "-fverbose-asm");
|
||||
addOption(QObject::tr("Use pipes instead of temporary files during compilation (-pipe)"), groupName, true, true, false, 0, "-pipe");
|
||||
addOption(QObject::tr("Do not assemble, compile and generate the assemble code (-S)"), groupName, true, true, false, 0, "-S");
|
||||
addOption(QObject::tr("Use pipes instead of temporary files during compilation (-pipe)"), groupName, true, true, false, 0, "-pipe");
|
||||
}
|
||||
|
||||
QString Settings::CompilerSet::findProgramInBinDirs(const QString name)
|
||||
|
@ -1921,6 +1923,16 @@ QByteArray Settings::CompilerSet::getCompilerOutput(const QString &binDir, const
|
|||
return result.trimmed();
|
||||
}
|
||||
|
||||
bool CompilerSet::staticLink() const
|
||||
{
|
||||
return mStaticLink;
|
||||
}
|
||||
|
||||
void CompilerSet::setStaticLink(bool newStaticLink)
|
||||
{
|
||||
mStaticLink = newStaticLink;
|
||||
}
|
||||
|
||||
bool Settings::CompilerSet::useCustomCompileParams() const
|
||||
{
|
||||
return mUseCustomCompileParams;
|
||||
|
@ -2223,6 +2235,7 @@ void Settings::CompilerSets::saveSet(int index)
|
|||
mSettings->mSettings.setValue("useCustomLinkParams", pSet->useCustomLinkParams());
|
||||
mSettings->mSettings.setValue("customLinkParams", pSet->customLinkParams());
|
||||
mSettings->mSettings.setValue("AddCharset", pSet->autoAddCharsetParams());
|
||||
mSettings->mSettings.setValue("StaticLink", pSet->staticLink());
|
||||
|
||||
// Misc. properties
|
||||
mSettings->mSettings.setValue("DumpMachine", pSet->dumpMachine());
|
||||
|
@ -2284,6 +2297,7 @@ Settings::PCompilerSet Settings::CompilerSets::loadSet(int index)
|
|||
pSet->setUseCustomLinkParams(mSettings->mSettings.value("useCustomLinkParams").toBool());
|
||||
pSet->setCustomLinkParams(mSettings->mSettings.value("customLinkParams").toString());
|
||||
pSet->setAutoAddCharsetParams(mSettings->mSettings.value("AddCharset").toBool());
|
||||
pSet->setStaticLink(mSettings->mSettings.value("StaticLink").toBool());
|
||||
|
||||
pSet->setDumpMachine(mSettings->mSettings.value("DumpMachine").toString());
|
||||
pSet->setVersion(mSettings->mSettings.value("Version").toString());
|
||||
|
@ -2291,7 +2305,6 @@ Settings::PCompilerSet Settings::CompilerSets::loadSet(int index)
|
|||
pSet->setName(mSettings->mSettings.value("Name").toString());
|
||||
pSet->setTarget(mSettings->mSettings.value("Target").toString());
|
||||
|
||||
|
||||
// Paths
|
||||
loadPathList("Bins",pSet->binDirs());
|
||||
loadPathList("C",pSet->CIncludeDirs());
|
||||
|
|
|
@ -835,6 +835,9 @@ public:
|
|||
//load hard defines
|
||||
void setDefines();
|
||||
|
||||
bool staticLink() const;
|
||||
void setStaticLink(bool newStaticLink);
|
||||
|
||||
private:
|
||||
int charToValue(char valueChar);
|
||||
|
||||
|
@ -877,6 +880,7 @@ public:
|
|||
QString mCustomCompileParams;
|
||||
QString mCustomLinkParams;
|
||||
bool mAutoAddCharsetParams;
|
||||
bool mStaticLink;
|
||||
|
||||
// Options
|
||||
CompilerOptionList mOptions;
|
||||
|
|
|
@ -97,7 +97,7 @@ static void loadCompilerSetSettings(Settings::PCompilerSet pSet, Ui::CompilerSet
|
|||
ui->txtCustomLinkParams->setPlainText(pSet->customLinkParams());
|
||||
ui->txtCustomLinkParams->setEnabled(pSet->useCustomLinkParams());
|
||||
ui->chkAutoAddCharset->setChecked(pSet->autoAddCharsetParams());
|
||||
|
||||
ui->chkStaticLink->setChecked(pSet->staticLink());
|
||||
//rest tabs in the options widget
|
||||
resetOptionTabs(pSet,ui->optionTabs);
|
||||
|
||||
|
@ -174,6 +174,7 @@ void CompilerSetOptionWidget::saveCurrentCompilerSet()
|
|||
pSet->setUseCustomLinkParams(ui->chkUseCustomLinkParams->isChecked());
|
||||
pSet->setCustomLinkParams(ui->txtCustomLinkParams->toPlainText().trimmed());
|
||||
pSet->setAutoAddCharsetParams(ui->chkAutoAddCharset->isChecked());
|
||||
pSet->setStaticLink(ui->chkStaticLink->isChecked());
|
||||
|
||||
pSet->setCCompiler(ui->txtCCompiler->text().trimmed());
|
||||
pSet->setCppCompiler(ui->txtCppCompiler->text().trimmed());
|
||||
|
|
|
@ -105,6 +105,20 @@
|
|||
<string>General</string>
|
||||
</attribute>
|
||||
<layout class="QVBoxLayout" name="verticalLayout_2">
|
||||
<item>
|
||||
<widget class="QCheckBox" name="chkAutoAddCharset">
|
||||
<property name="text">
|
||||
<string>Add Charset arguments when calling the compiler</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QCheckBox" name="chkStaticLink">
|
||||
<property name="text">
|
||||
<string>Statically link libraries</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QCheckBox" name="chkUseCustomCompilerParams">
|
||||
<property name="text">
|
||||
|
@ -125,13 +139,6 @@
|
|||
<item>
|
||||
<widget class="QPlainTextEdit" name="txtCustomLinkParams"/>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QCheckBox" name="chkAutoAddCharset">
|
||||
<property name="text">
|
||||
<string>Add Charset arguments when calling the compiler</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
</layout>
|
||||
</widget>
|
||||
<widget class="QWidget" name="tabSettings">
|
||||
|
|
Loading…
Reference in New Issue