Hi
I want to open the file that is in a place in my computer . I use this code but it doesn't open it . How can I open that file ?
Qt Code:
return -1 ;To copy to clipboard, switch view to plain text mode
Hi
I want to open the file that is in a place in my computer . I use this code but it doesn't open it . How can I open that file ?
Qt Code:
return -1 ;To copy to clipboard, switch view to plain text mode
That is most likely because your path is not good, remember that you are still using C++ and \ is an escape character, so you need to double it in a string, try it like this:
Doesn't your compiler warn about unknown escape characters?Qt Code:
To copy to clipboard, switch view to plain text mode
Bookmarks