Hi i have a problem in windows qt c++

Qt Code:
  1. void Ekrancek()
  2. {
  3. QString time = QTime::currentTime().toString(Qt::DateFormat());
  4. QScreen *ekran = QGuiApplication::primaryScreen();
  5. if(ekran)
  6. {
  7.  
  8. QPixmap selam = ekran->grabWindow(0);
  9.  
  10. #ifdef Q_OS_LINUX
  11. selam.save("/root/'"+time+"'.png");
  12. #endif
  13.  
  14. #ifdef Q_OS_WIN32
  15.  
  16. selam.save("'"+time+"'.png");
  17.  
  18. #endif
  19. }
  20. }
To copy to clipboard, switch view to plain text mode 

this block working in linux but not working in windows