Results 1 to 3 of 3

Thread: Substract two QStrings

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Oct 2015
    Barcelona, Spain
    Qt products
    Windows Android

    Default Substract two QStrings

    I´m trying to substract two hours.
    QString 1 = "11:00";
    QString 2 = "10:00";

    I would like to save the result from (11:00 - 10:00) into another QString.

    ¿Does anyone know how could I do this?

    Thanks for replying!
    Last edited by Alberto7; 26th October 2015 at 14:36. Reason: spelling corrections

Similar Threads

  1. QGraphicsRectItem with list of QStrings
    By January in forum Newbie
    Replies: 4
    Last Post: 24th April 2012, 20:04
  2. Can't declare more than 7 QStrings ?!?!?!
    By ruben.rodrigues in forum Newbie
    Replies: 8
    Last Post: 21st July 2010, 14:42
  3. concatenating path QStrings
    By rbp in forum Qt Programming
    Replies: 2
    Last Post: 19th December 2008, 04:46
  4. QSettings on QStrings
    By OriginalCopy in forum Qt Programming
    Replies: 4
    Last Post: 4th November 2007, 10:57
  5. dynamic matrix of QStrings
    By QiT in forum Newbie
    Replies: 19
    Last Post: 4th April 2007, 09:26

Tags for this Thread


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.