cmlib-example-app-qt5-gui/src/cmlib-example/main.cpp

21 lines
400 B
C++

#include "cmlib_private_config.hpp"
#include <myx/qt/translators.hpp>
#include <QCoreApplication>
#include <QDebug>
namespace MQ = myx::qt;
int main( int argc, char** argv )
{
QCoreApplication app( argc, argv );
MQ::QTranslatorsList tl;
qDebug() << QObject::tr( "Yes" );
MQ::append_translators( tl, QStringLiteral( CMLIB_PROJECT_NAME ) );
qDebug() << QObject::tr( "Yes" );
return( 0 );
}