Hi Klaus,

thank you for the patch.
Revision #16826 contains your changes.

 Jochen

-----Ursprüngliche Nachricht-----
Von: Klaus Drechsler [mailto:[email protected]] 
Gesendet: Dienstag, 14. April 2009 12:04
An: [email protected]
Betreff: [mitk-users] [Patch] Compile error when QT is compiled without 
STLsupport

Hi,

[sorry for the empty e-mail that I accidently sent a few seconds ago]

the current svn version produces a compile error when QT is not compiled with 
STL support. I do not see any reason to start forcing users to compile QT with 
STL support. Here is a simple patch to fix this issue:

Index: QmitkUploadFileToPACSDialog.ui.h
===================================================================
--- QmitkUploadFileToPACSDialog.ui.h    (revision 16824)
+++ QmitkUploadFileToPACSDialog.ui.h    (working copy)
@@ -167,7 +167,7 @@
   mitk::PACSPlugin::StudyInformation study = pacs->GetStudyInformation();
 
   std::string filename = edtFilename->text().ascii();
-  QFileInfo fileinfo( filename );
+  QFileInfo fileinfo( filename.c_str() );
   std::string filebasename = fileinfo.fileName();
   
   std::cout << "Upload '" << filename << "' to study '" << 
study.StudyDescription << "' as '" << filebasename << "'" << std::endl;


Regards
Klaus

------------------------------------------------------------------------------
This SF.net email is sponsored by:
High Quality Requirements in a Collaborative Environment.
Download a free trial of Rational Requirements Composer Now!
http://p.sf.net/sfu/www-ibm-com
_______________________________________________
mitk-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mitk-users

------------------------------------------------------------------------------
This SF.net email is sponsored by:
High Quality Requirements in a Collaborative Environment.
Download a free trial of Rational Requirements Composer Now!
http://p.sf.net/sfu/www-ibm-com
_______________________________________________
mitk-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mitk-users

Reply via email to