Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. QProcess with Filepath issue
Forum Updated to NodeBB v4.3 + New Features

QProcess with Filepath issue

Scheduled Pinned Locked Moved General and Desktop
2 Posts 2 Posters 1.3k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M Offline
    M Offline
    mathi77in
    wrote on last edited by
    #1

    Hi All,

    i run one exe through QT QProcess. i pass 3 data passing through QStringList arguments. one is categoryNum, second is inputpathStr, and third is outputpathStr.

    My problem is Output path folder name contain (.) (ex@"C:/testttt V.10/exitproce/";@) the QProcess passing exe is not executed. but without (.) in output path, the QProcess passing exe properly running.

    window file path have backward slash. like (c:\main\data\file.txt;). once QT use passing this path, change the slash direction. like (c:/main/dat/file.txt;)

    how to solve?

    regards,
    M.Mathi

    1 Reply Last reply
    0
    • T Offline
      T Offline
      tobias.hunger
      wrote on last edited by
      #2

      Did you try using QDir::toNativeSeparators(path)?

      1 Reply Last reply
      0

      • Login

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Search
      • Get Qt Extensions
      • Unsolved