Тестовая программа

This commit is contained in:
Andrei Astafev 2020-04-14 00:36:42 +03:00
parent e1be3ec6cb
commit 0fe25c57a8

View File

@ -0,0 +1,20 @@
#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 );
}