Results 1 to 8 of 8

Thread: Uploading of data by using System

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,373
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Thanks
    3
    Thanked 5,019 Times in 4,795 Posts
    Wiki edits
    10

    Default Re: Uploading of data by using System

    Moving to Newbie. Next time please think whether a more appropriate title to your thread wouldn't have been "How to convert QString to const char*" rather than "Uploading of data using System". How you name your threads and how you state the problem has great influence on when you'll get help.
    Your biological and technological distinctiveness will be added to our own. Resistance is futile.

    Please ask Qt related questions on the forum and not using private messages or visitor messages.


  2. #2
    Join Date
    Jan 2006
    Location
    Graz, Austria
    Posts
    8,416
    Qt products
    Qt3 Qt4 Qt5
    Platforms
    Unix/X11 Windows
    Thanks
    37
    Thanked 1,544 Times in 1,494 Posts

    Default Re: Uploading of data by using System

    For invoking a local command I would probably use QString::toLocal8Bit() instead of toStdString()

    However, in this case I would recommend to use QProcess instead of system.

    Cheers,
    Kevin

Similar Threads

  1. Replies: 0
    Last Post: 15th April 2011, 12:03
  2. About FTP uploading and downloading
    By prats in forum Qt Programming
    Replies: 2
    Last Post: 1st March 2011, 12:28
  3. uploading files to HTTP!!
    By Raajesh in forum Qt Programming
    Replies: 2
    Last Post: 24th June 2008, 23:00
  4. system-independent C++ data types
    By magland in forum General Programming
    Replies: 15
    Last Post: 28th March 2007, 21:33
  5. QFtp : Uploading a directory
    By smshamim in forum Qt Programming
    Replies: 2
    Last Post: 31st August 2006, 13:06

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
  •  
Qt is a trademark of The Qt Company.