
VIファイルから作成したLabVIEWバージョンを表示。by QtCreator(Mingw)
| Revision | 25e8d2cec96b5c45693b874c58c0423cc779eb94 (tree) |
|---|---|
| Time | 2011-05-14 14:43:21 |
| Author | arakaki <alucky4416@user...> |
| Commiter | arakaki |
commandline filename in Japanese-code char, through set lineEdit control.
| @@ -1,7 +1,7 @@ | ||
| 1 | 1 | // GetVIVersion |
| 2 | 2 | // mainwindow.cpp - |
| 3 | 3 | // |
| 4 | -// Time-stamp: "2011/05/11 16:53:24 +0900" | |
| 4 | +// Time-stamp: "2011/05/13 17:45:50 +0900" | |
| 5 | 5 | |
| 6 | 6 | #include <stdio.h> // for GetVersionOfVI() Function |
| 7 | 7 |
| @@ -89,7 +89,8 @@ void MainWindow::showEvent(QShowEvent *event) | ||
| 89 | 89 | if (firstShow) { |
| 90 | 90 | // Command-Line Parameter |
| 91 | 91 | if (1 < args.size()) { |
| 92 | - QString stmp = args.at(1).toLocal8Bit().constData(); | |
| 92 | + //QString stmp = args.at(1).toLocal8Bit().constData(); | |
| 93 | + QString stmp = args.at(1); | |
| 93 | 94 | ui->lineEdit_FilePath->clear(); |
| 94 | 95 | ui->lineEdit_FilePath->setText(stmp); |
| 95 | 96 | } |