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

Also available in: Atom PDF