Monday, December 12, 2011

Good link for Qt

http://doc.trolltech.com/4.2/tutorial.html

3 comments:

  1. This comment has been removed by the author.

    ReplyDelete
  2. This comment has been removed by the author.

    ReplyDelete
  3. Steps to compile/build and run the code in Qt.

    $ ll
    total 28
    ./
    ../
    cannonfield.cpp
    cannonfield.h
    lcdrange.cpp
    lcdrange.h
    main.cpp


    $ qmake -project
    $ ll
    total 32
    ./
    ../
    cannonfield.cpp
    cannonfield.h
    canon_shoot.pro
    lcdrange.cpp
    lcdrange.h
    main.cpp

    $ qmake
    $ ll
    total 40
    ./
    ../
    cannonfield.cpp
    cannonfield.h
    canon_shoot.pro
    lcdrange.cpp
    lcdrange.h
    main.cpp
    Makefile

    $ make

    desktop:~/test_unixDomainSocket/canon_shoot$ ll
    total 120
    ./
    ../
    cannonfield.cpp
    cannonfield.h
    cannonfield.o
    canon_shoot*
    canon_shoot.pro
    lcdrange.cpp
    lcdrange.h
    lcdrange.o
    main.cpp
    main.o
    Makefile
    moc_cannonfield.cpp
    moc_cannonfield.o
    moc_lcdrange.cpp
    moc_lcdrange.o

    To run the executable

    $ ./canon_shoot

    ReplyDelete