Results 1 to 2 of 2

Thread: Basic Advice

  1. #1
    Join Date
    Dec 2009
    Location
    New Zealand
    Posts
    54
    Thanks
    23
    Qt products
    Qt4
    Platforms
    Windows

    Default Basic Advice

    Hi,

    I am a newbie to Qt but have a small amount of C++ experience.

    I have a project to complete and would like some advice about where to start.

    The project requires a program with a UI which allows the user to select certain configurations, these configurations then need to be sent via a RS232 cable to a micro-controller.

    I would like to use Qt as this means different platforms can be used in the future to configure the hardware (microcontroller).

    Is it best to use "Qt Creator" to design my program - what are my other options?

    Any advice on where I could begin learning more would be appreciated.

    Cheers

    Ferric
    Last edited by Ferric; 17th December 2009 at 23:38.

  2. #2
    Join Date
    Oct 2007
    Location
    Grenoble, France
    Posts
    80
    Thanked 9 Times in 9 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Basic Advice

    The project requires a program with a UI which allows the user to select certain configurations, these configurations then need to be sent via a RS232 cable to a micro-controller.

    I would like to use Qt as this means different platforms can be used in the future to configure the hardware (microcontroller).
    Qt does not have any classes to use serial port. So you could take a look at QextSerialPort library - you get portable serial support with this.

    There's also an alternative library (the author reads this forum). I don't remember the name of this library.

    About the GUI, I don't know what do you mean by certain configurations.
    You could take a look at QLineEdit, QCheckBox, QComboBox and other standard widgets.

    You can also checkout QSettings for easy saving/restoring settings.

    Is it best to use "Qt Creator" to design my program - what are my other options?
    QtCreator is very convenient, but of course you can always use your favorite editor if you want.

    Any advice on where I could begin learning more would be appreciate.
    As usual, checkout QtAssistant and demo examples (you have them with Qt package). Qt is really well documented, it's a shame people don't have the habit of using Assistant.
    Last edited by calhal; 18th December 2009 at 08:57. Reason: updated contents
    You have to run a level 3 diagnostic.

    Ashes to ashes, Qt to Qt ( wysota )

  3. The following user says thank you to calhal for this useful post:

    Ferric (21st December 2009)

Similar Threads

  1. Need advice for a best way to make this application
    By frenk_castle in forum Newbie
    Replies: 3
    Last Post: 25th September 2009, 18:55
  2. a basic questions!!
    By unix7777 in forum Newbie
    Replies: 1
    Last Post: 28th March 2009, 19:10
  3. Model / Threading Advice
    By tntcoda in forum Qt Programming
    Replies: 6
    Last Post: 19th November 2008, 14:02
  4. Where can I get basic WebKit software?
    By crazymoonboy in forum General Discussion
    Replies: 1
    Last Post: 4th September 2008, 14:15
  5. Need Basic html Browser
    By awalesminfo in forum Newbie
    Replies: 6
    Last Post: 21st March 2006, 17:14

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.