vmbx/vmbxcpplugin/tsrc/src/main.cpp
changeset 27 7eb70891911c
parent 19 e44a8c097b15
child 32 1f002146abb4
equal deleted inserted replaced
23:427125ac6cb8 27:7eb70891911c
     1 /*
       
     2 * Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
       
     3 * All rights reserved.
       
     4 * This component and the accompanying materials are made available
       
     5 * under the terms of "Eclipse Public License v1.0"
       
     6 * which accompanies this distribution, and is available
       
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     8 *
       
     9 * Initial Contributors:
       
    10 * Nokia Corporation - initial contribution.
       
    11 *
       
    12 * Contributors:
       
    13 *
       
    14 * Description: 
       
    15 *
       
    16 */
       
    17 #include <QtTest/QtTest>
     1 #include <QtTest/QtTest>
    18 #include "ut_vmbxcpplugin.h"
     2 #include "ut_vmbxcpplugin.h"
    19 #include "ut_vmbxuiengine.h"
     3 #include "ut_vmbxuiengine.h"
    20 
     4 
    21 // -----------------------------------------------------------------------------
     5 // -----------------------------------------------------------------------------
    24 // -----------------------------------------------------------------------------
     8 // -----------------------------------------------------------------------------
    25 int main(int argc, char *argv[])
     9 int main(int argc, char *argv[])
    26     {
    10     {
    27     qDebug("main() >");
    11     qDebug("main() >");
    28     
    12     
    29     QApplication app(argc, argv);
    13     //TODO: wk18 QApplication can not be created will casue crash.
       
    14     //QApplication app(argc, argv);
    30 
    15 
    31     qDebug("ut_vmbxuiengine");
    16     qDebug("ut_vmbxuiengine");
    32     Ut_VmbxUiEngine tcUiEngine; 
    17     Ut_VmbxUiEngine tcUiEngine; 
    33     char *pass[3];
    18     char *pass[3];
    34     pass[0] = argv[0];
    19     pass[0] = argv[0];