Project

General

Profile

Actions

Support #2624

open

QT (QImage Save Function not working in iis server)

Added by Anonymous about 10 years ago. Updated about 10 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
Actions #1

Updated by Wim Dumon about 10 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.

Actions #2

Updated by Koen Deforche about 10 years ago

  • Assignee set to Wim Dumon
Actions

Also available in: Atom PDF