Project

General

Profile

Support #2624

QT (QImage Save Function not working in iis server)

Added by Anonymous over 8 years ago. Updated over 8 years ago.

Status:
Feedback
Priority:
Normal
Assignee:
Target version:
-
Start date:
01/31/2014
Due date:
% Done:

0%

Estimated time:

Description

I Tried to upload image (FileUpload) to save in local machine or current Dierectrory

I Attached main.cpp file in the file am using QT (c++ gui frame work )

in the qt i used QIMage Load and save

load function working but save function in not working in iis

this is my problem plz tell me how to achive this problem

QImage img;

img.load(QString::fromStdString(spool));

int n=img.width();

WText * text=new WText("",root());

string s = boost::lexical_cast(n);

text->setText(s);

bool check=img.save("rk.jpg");

if(check)

text->setText("Save");

else

text->setText("Not Saved");

img.save("D:\\Test\\love.jpg");


Files

main.cpp (1.65 KB) main.cpp Anonymous, 01/31/2014 10:13 AM
#1

Updated by Wim Dumon over 8 years ago

  • Tracker changed from Bug to Support
  • Status changed from New to Feedback

From another discussion, I assume this is when using the IIS plugin. Check if IIS has write permissions in the directories in which you try to save the files.

#2

Updated by Koen Deforche over 8 years ago

  • Assignee set to Wim Dumon

Also available in: Atom PDF