summaryrefslogtreecommitdiff
path: root/TAO/tests/QtTests/server.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/tests/QtTests/server.cpp')
-rw-r--r--TAO/tests/QtTests/server.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/TAO/tests/QtTests/server.cpp b/TAO/tests/QtTests/server.cpp
index 6552506e4b8..63101f832b2 100644
--- a/TAO/tests/QtTests/server.cpp
+++ b/TAO/tests/QtTests/server.cpp
@@ -2,6 +2,7 @@
#include "test_i.h"
#include "ace/Get_Opt.h"
+#include "ace/Argv_Type_Converter.h"
// who defines index macro?
#ifdef index
@@ -52,7 +53,8 @@ ACE_TMAIN(int argc, ACE_TCHAR *argv[])
return 1;
// Qt specific stuff for running with TAO...
- QApplication app (argc, argv);
+ ACE_Argv_Type_Converter ct (argc, argv);
+ QApplication app (argc, ct.get_ASCII_argv());
TAO::QtResource_Loader qt_resources (&app);
try