Thanks Albert (and Fabio) for all of your help along the way on this. I appreciate it.
I do plan to tackle both a) and b) below. Not sure yet which order. I could use a little help getting started with the a). I'm having trouble figuring out how to run okular's existing unit tests. When I run (on master) cmake make buildtests make test I get failures for both parttest and searchtest. When I cd into the tests directory and run parttest on its own here is the output I receive. ********* Start testing of Okular::PartTest ********* Config: Using QTest library 4.8.3, Qt 4.8.3 PASS : Okular::PartTest::initTestCase() QDEBUG : Okular::PartTest::testReload() qttest(6457)/kdecore (KConfigSkeleton) KCoreConfigSkeleton::writeConfig: QDEBUG : Okular::PartTest::testReload() qttest(6457)/kdecore (KConfigSkeleton) KCoreConfigSkeleton::writeConfig: QDEBUG : Okular::PartTest::testReload() qttest(6457)/kdecore (KConfigSkeleton) KCoreConfigSkeleton::writeConfig: QDEBUG : Okular::PartTest::testReload() qttest(6457)/kdecore (KConfigSkeleton) KCoreConfigSkeleton::writeConfig: QDEBUG : Okular::PartTest::testReload() qttest(6457)/kdecore (KConfigSkeleton) KCoreConfigSkeleton::writeConfig: QDEBUG : Okular::PartTest::testReload() qttest(6457) KXMLGUIClient::setXMLFile: cannot find .rc file "part.rc" for component "qttest" QDEBUG : Okular::PartTest::testReload() qttest(6457)/okular (app) Okular::DocumentPrivate::loadGeneratorLibrary: Invalid plugin factory for "okularGenerator_poppler"! PASS : Okular::PartTest::testReload() QDEBUG : Okular::PartTest::testTOCReload() qttest(6457) Okular::Settings::instance: Settings::instance called after the first use - ignoring QDEBUG : Okular::PartTest::testTOCReload() qttest(6457)/kdecore (KConfigSkeleton) KCoreConfigSkeleton::writeConfig: QDEBUG : Okular::PartTest::testTOCReload() qttest(6457)/kdecore (KConfigSkeleton) KCoreConfigSkeleton::writeConfig: QDEBUG : Okular::PartTest::testTOCReload() qttest(6457)/kdecore (KConfigSkeleton) KCoreConfigSkeleton::writeConfig: QDEBUG : Okular::PartTest::testTOCReload() qttest(6457)/kdecore (KConfigSkeleton) KCoreConfigSkeleton::writeConfig: QDEBUG : Okular::PartTest::testTOCReload() qttest(6457)/kdecore (KConfigSkeleton) KCoreConfigSkeleton::writeConfig: QDEBUG : Okular::PartTest::testTOCReload() qttest(6457) KXMLGUIClient::setXMLFile: cannot find .rc file "part.rc" for component "qttest" QDEBUG : Okular::PartTest::testTOCReload() qttest(6457)/okular (app) Okular::DocumentPrivate::loadGeneratorLibrary: Invalid plugin factory for "okularGenerator_poppler"! FAIL! : Okular::PartTest::testTOCReload() Compared values are not the same Actual (part.m_toc->expandedNodes().count()): 0 Expected (3): 3 Loc: [/home/measejm1/Programming/kdeProjects/okular/tests/parttest.cpp(50)] QDEBUG : Okular::PartTest::testFowardPDF(non-utf8) qttest(6457) Okular::Settings::instance: Settings::instance called after the first use - ignoring QDEBUG : Okular::PartTest::testFowardPDF(non-utf8) qttest(6457)/kdecore (KConfigSkeleton) KCoreConfigSkeleton::writeConfig: QDEBUG : Okular::PartTest::testFowardPDF(non-utf8) qttest(6457)/kdecore (KConfigSkeleton) KCoreConfigSkeleton::writeConfig: QDEBUG : Okular::PartTest::testFowardPDF(non-utf8) qttest(6457)/kdecore (KConfigSkeleton) KCoreConfigSkeleton::writeConfig: QDEBUG : Okular::PartTest::testFowardPDF(non-utf8) qttest(6457)/kdecore (KConfigSkeleton) KCoreConfigSkeleton::writeConfig: QDEBUG : Okular::PartTest::testFowardPDF(non-utf8) qttest(6457)/kdecore (KConfigSkeleton) KCoreConfigSkeleton::writeConfig: QDEBUG : Okular::PartTest::testFowardPDF(non-utf8) qttest(6457) KXMLGUIClient::setXMLFile: cannot find .rc file "part.rc" for component "qttest" QDEBUG : Okular::PartTest::testFowardPDF(non-utf8) qttest(6457)/okular (app) Okular::DocumentPrivate::loadGeneratorLibrary: Invalid plugin factory for "okularGenerator_poppler"! FAIL! : Okular::PartTest::testFowardPDF(non-utf8) Compared values are not the same Actual (part.m_document->currentPage()): 4294967295 Expected (0u): 0 Loc: [/home/measejm1/Programming/kdeProjects/okular/tests/parttest.cpp(79)] QDEBUG : Okular::PartTest::testFowardPDF(utf8) qttest(6457) Okular::Settings::instance: Settings::instance called after the first use - ignoring QDEBUG : Okular::PartTest::testFowardPDF(utf8) qttest(6457)/kdecore (KConfigSkeleton) KCoreConfigSkeleton::writeConfig: QDEBUG : Okular::PartTest::testFowardPDF(utf8) qttest(6457)/kdecore (KConfigSkeleton) KCoreConfigSkeleton::writeConfig: QDEBUG : Okular::PartTest::testFowardPDF(utf8) qttest(6457)/kdecore (KConfigSkeleton) KCoreConfigSkeleton::writeConfig: QDEBUG : Okular::PartTest::testFowardPDF(utf8) qttest(6457)/kdecore (KConfigSkeleton) KCoreConfigSkeleton::writeConfig: QDEBUG : Okular::PartTest::testFowardPDF(utf8) qttest(6457)/kdecore (KConfigSkeleton) KCoreConfigSkeleton::writeConfig: QDEBUG : Okular::PartTest::testFowardPDF(utf8) qttest(6457) KXMLGUIClient::setXMLFile: cannot find .rc file "part.rc" for component "qttest" QDEBUG : Okular::PartTest::testFowardPDF(utf8) qttest(6457)/okular (app) Okular::DocumentPrivate::loadGeneratorLibrary: Invalid plugin factory for "okularGenerator_poppler"! FAIL! : Okular::PartTest::testFowardPDF(utf8) Compared values are not the same Actual (part.m_document->currentPage()): 4294967295 Expected (0u): 0 Loc: [/home/measejm1/Programming/kdeProjects/okular/tests/parttest.cpp(79)] PASS : Okular::PartTest::cleanupTestCase() Totals: 3 passed, 3 failed, 0 skipped ********* Finished testing of Okular::PartTest ********* I am able to cmake, and make, and make install okular itself but perhaps I'm missing some cmake environment variables for the tests? I would appreciate any thoughts or ideas. Thanks a lot! -Jon
_______________________________________________ Okular-devel mailing list Okular-devel@kde.org https://mail.kde.org/mailman/listinfo/okular-devel