Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Application output : "Starting java" ??

Application output : "Starting java" ??

Scheduled Pinned Locked Moved Unsolved General and Desktop
2 Posts 2 Posters 265 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • K Offline
    K Offline
    Kycho
    wrote on last edited by Kycho
    #1

    When I link the Tesseract library to my project unknown message is output.

    source code is very simple.

    main.cpp

    #include <QApplication>
    #include <QDebug>
    int main(int argc, char *argv[])
    {
        QApplication app(argc, argv);
        qDebug() << "This code will not run.";
        return app.exec();
    }
    

    *.pro

    QT += quick core gui multimedia
    greaterThan(QT_MAJOR_VERSION, 4): QT += widgets
    CONFIG += c++11
    
    DEFINES += QT_DEPRECATED_WARNINGS
    
    SOURCES += \
            main.cpp
    
    RESOURCES += qml.qrc
    
    QML_IMPORT_PATH =
    QML_DESIGNER_IMPORT_PATH =
    
    qnx: target.path = /tmp/$${TARGET}/bin
    else: unix:!android: target.path = /opt/$${TARGET}/bin
    !isEmpty(target.path): INSTALLS += target
    
    INCLUDEPATH+=C:/msys64/mingw32/include/tesseract
    LIBS += -LC:/msys64/mingw32/lib\
            -ltesseract
    

    When I run it, my source code doesn't run and I get a strange message.
    Application output

    12:47:02: Starting C:\Users\KJM96\OneDrive\QTProject\build-OpenCVTest-Desktop_Qt_5_12_5_MinGW_32_bit-Release\release\OpenCVTest.exe ...
    Starting java -Xms512m -Xmx1024m -Djava.library.path=. -jar ./ScrollView.jar
    ScrollView: Waiting for server...
    ScrollView: Waiting for server...
    ScrollView: Waiting for server...
    

    Any ideas on this problem?

    jsulmJ 1 Reply Last reply
    0
    • K Kycho

      When I link the Tesseract library to my project unknown message is output.

      source code is very simple.

      main.cpp

      #include <QApplication>
      #include <QDebug>
      int main(int argc, char *argv[])
      {
          QApplication app(argc, argv);
          qDebug() << "This code will not run.";
          return app.exec();
      }
      

      *.pro

      QT += quick core gui multimedia
      greaterThan(QT_MAJOR_VERSION, 4): QT += widgets
      CONFIG += c++11
      
      DEFINES += QT_DEPRECATED_WARNINGS
      
      SOURCES += \
              main.cpp
      
      RESOURCES += qml.qrc
      
      QML_IMPORT_PATH =
      QML_DESIGNER_IMPORT_PATH =
      
      qnx: target.path = /tmp/$${TARGET}/bin
      else: unix:!android: target.path = /opt/$${TARGET}/bin
      !isEmpty(target.path): INSTALLS += target
      
      INCLUDEPATH+=C:/msys64/mingw32/include/tesseract
      LIBS += -LC:/msys64/mingw32/lib\
              -ltesseract
      

      When I run it, my source code doesn't run and I get a strange message.
      Application output

      12:47:02: Starting C:\Users\KJM96\OneDrive\QTProject\build-OpenCVTest-Desktop_Qt_5_12_5_MinGW_32_bit-Release\release\OpenCVTest.exe ...
      Starting java -Xms512m -Xmx1024m -Djava.library.path=. -jar ./ScrollView.jar
      ScrollView: Waiting for server...
      ScrollView: Waiting for server...
      ScrollView: Waiting for server...
      

      Any ideas on this problem?

      jsulmJ Online
      jsulmJ Online
      jsulm
      Lifetime Qt Champion
      wrote on last edited by
      #2

      @Kycho I suggest to ask the Tesseract project as they should know better.

      https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      1

      • Login

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Search
      • Get Qt Extensions
      • Unsolved