Support #2624
openQT (QImage Save Function not working in iis server)
0%
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
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.