From: vsr Date: Tue, 16 Dec 2008 12:43:39 +0000 (+0000) Subject: Migrate to Qt 4 X-Git-Tag: V5_1_0 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=1ab7db56afffb43ec5663b3efc403641687ee3de;p=tools%2Fhxx2salome.git Migrate to Qt 4 --- diff --git a/src/hxx2salome.cpp b/src/hxx2salome.cpp index 480a687..1640666 100644 --- a/src/hxx2salome.cpp +++ b/src/hxx2salome.cpp @@ -187,6 +187,7 @@ void HXX2Salome::on_GenerateButton_clicked() tr( "Component C++ include file is specified in directory other than\n%1!" ).arg( CppDir ) ); return; } + CppInc = QFileInfo( CppInc ).fileName(); QString CppLib = LibraryText->text().trimmed(); if ( CppLib.isEmpty() ) { @@ -202,6 +203,7 @@ void HXX2Salome::on_GenerateButton_clicked() tr( "Component shared library is specified in directory other than\n%1!" ).arg( CppDir ) ); return; } + CppLib = QFileInfo( CppLib ).fileName(); QString SalomeDir = OutputTreeText->text().trimmed(); QFileInfo fis( SalomeDir.isEmpty() ? QString( "." ) : SalomeDir );