]> SALOME platform Git repositories - modules/gui.git/commitdiff
Salome HOME
Porting to Qt4: Win32 compiler error
authorsan <san@opencascade.com>
Wed, 13 Jun 2007 11:59:12 +0000 (11:59 +0000)
committersan <san@opencascade.com>
Wed, 13 Jun 2007 11:59:12 +0000 (11:59 +0000)
src/CAM/CAM_Application.cxx

index 9739791d034d2258874d68b168a8908dde9576bb..6d285ad5d911e2934d4d6785fc8612a8228597aa 100755 (executable)
@@ -274,7 +274,7 @@ CAM_Module* CAM_Application::loadModule( const QString& modName )
   GET_MODULE_FUNC crtInst = 0;
 
 #ifdef WIN32
-  HINSTANCE modLib = ::LoadLibrary( libName ); 
+  HINSTANCE modLib = ::LoadLibrary( libName.toLatin1() ); 
   if ( !modLib )
   {
     LPVOID lpMsgBuf;