From 51b297e8adf0d5dfca452dcabb98afeb0af80b8e Mon Sep 17 00:00:00 2001 From: san Date: Wed, 13 Jun 2007 11:59:12 +0000 Subject: [PATCH] Porting to Qt4: Win32 compiler error --- src/CAM/CAM_Application.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/CAM/CAM_Application.cxx b/src/CAM/CAM_Application.cxx index 9739791d0..6d285ad5d 100755 --- a/src/CAM/CAM_Application.cxx +++ b/src/CAM/CAM_Application.cxx @@ -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; -- 2.39.2