30 #include <QApplication> 32 #include <qresource.h> 40 QtInitializer() { std::cout << std::endl <<
"C++: QtInitializer::constructor()" << std::endl; }
50 std::cout << std::endl <<
"C++: QtInitializer::begin() 1.0" << std::endl;
52 char* argv[] = {
"JAVA", NULL};
57 std::cout << std::endl <<
"C++: QtInitializer::begin() 1.1" << std::endl;
61 Q_INIT_RESOURCE(tlib);
63 std::cout << std::endl <<
"C++: QtInitializer::begin() 1.2" << std::endl;
65 QStringList ithemes = QIcon::themeSearchPaths();
67 ithemes.push_back(th_path.c_str());
69 QIcon::setThemeSearchPaths(ithemes);
71 QIcon::setThemeName(
"terralib");
73 std::cout << std::endl <<
"C++: QtInitializer::begin() 1.3" << std::endl;
This class is designed to declare objects to be thrown as exceptions by TerraLib. ...
TECOREEXPORT std::string FindInTerraLibPath(const std::string &path)
Returns the path relative to a directory or file in the context of TerraLib.
This class is designed to declare objects to be thrown as exceptions by TerraLib. ...