Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt Creator and other tools
  4. Qt Creator built from source does not display Help or Examples pages
Forum Updated to NodeBB v4.3 + New Features

Qt Creator built from source does not display Help or Examples pages

Scheduled Pinned Locked Moved Unsolved Qt Creator and other tools
8 Posts 4 Posters 1.7k Views 1 Watching
  • 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.
  • D Offline
    D Offline
    danblanks 0
    wrote on last edited by
    #1

    We are attempting to build the open source version of Qt Creator as a basis for our product's GUI. While we succeed in getting the Qt Creator executable operational, the Examples pages are empty and the Help pages only show the Qt Designer and Qt Linguist manuals. I suspect that something extra needs to be done to process these pages, but we can't figure out what we are omitting.

    Here are the specifications of what we are building and how.

    Qt Creator 4.6.2
    Qt version 5.9.7
    Platform: Redhat Linux 6.8

    Instead of building this in place like the README.md instructions imply, we are trying to output the result to different directory so that we build debug versions of the code. The Qt Creator code itself is in a directory:

    .../qt-creator-opensource-src-4.6.2/

    Adjacent to this is the target directory called qtc-build

    ../qtc-build

    The build command sequence is:

    cd qtc-build
    /hls/stratus/tools/Qt/Qt-5.9.7-linux64-release/bin/qmake -r ../qt-creator-opensource-src-4.6.2 QMAKE_CXXFLAGS=-D_GLIBCXX_USE_CXX11_ABI=0 "CONFIG-=debug CONFIG+=release"
    make

    where the QMAKE_CXXFLAGS flag sets up using gcc 6.3 and the CONFIG flag forces a release version of the build. The "make" command acts on the Makefile generated by the qmake command.

    There are no obvious errors or warnings in the output that indicate a problem, but we still don't see the Examples and most of the Help topics.

    Any suggestions would be appreciated.

    1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi and welcome to devnet,

      AFAIK, the examples and the help related to Qt come from Qt itself. Did you configure your custom built Qt Creator for the Qt versions you have installed on your system ?

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      D 1 Reply Last reply
      2
      • SGaistS SGaist

        Hi and welcome to devnet,

        AFAIK, the examples and the help related to Qt come from Qt itself. Did you configure your custom built Qt Creator for the Qt versions you have installed on your system ?

        D Offline
        D Offline
        danblanks 0
        wrote on last edited by
        #3

        @SGaist I believe so. We did an installation of Qt 5.9.7 in our Linux machine and used the qmake in that distribution to do the build. It certainly worked well enough to build the qtcreator executable. If I do a :

        ldd qtcreator

        call, the qtcreator executable is pointing to the correct shared object libraries as in:

        libQt5Concurrent.so.5 => <install_dir>/Qt/Qt-5.9.7-linux64-release/lib/libQt5Concurrent.so.5 (0x00007fbaa62a0000)

        However, your question makes me wonder if what we are missing is that we did not install Qt as a package like a lot of Linux installations are handled (we don't have root access to allow us to install packages). So we may be missing something in our PATH that the Qt Creator build process assumes will be there.

        I'll check on that.

        jsulmJ 1 Reply Last reply
        0
        • D danblanks 0

          @SGaist I believe so. We did an installation of Qt 5.9.7 in our Linux machine and used the qmake in that distribution to do the build. It certainly worked well enough to build the qtcreator executable. If I do a :

          ldd qtcreator

          call, the qtcreator executable is pointing to the correct shared object libraries as in:

          libQt5Concurrent.so.5 => <install_dir>/Qt/Qt-5.9.7-linux64-release/lib/libQt5Concurrent.so.5 (0x00007fbaa62a0000)

          However, your question makes me wonder if what we are missing is that we did not install Qt as a package like a lot of Linux installations are handled (we don't have root access to allow us to install packages). So we may be missing something in our PATH that the Qt Creator build process assumes will be there.

          I'll check on that.

          jsulmJ Offline
          jsulmJ Offline
          jsulm
          Lifetime Qt Champion
          wrote on last edited by
          #4

          @danblanks-0 You can add documentation in QtCreator under Options/Help/Documentation

          "We did an installation of Qt 5.9.7 " - how? Using Online/offline installer?

          "So we may be missing something in our PATH that the Qt Creator build process assumes will be there" - I don't see how missing documentation in QtCreator is related to PATH or build process? You just need to tell QtCreator where to look for documentation.

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

          1 Reply Last reply
          1
          • D Offline
            D Offline
            danblanks 0
            wrote on last edited by
            #5

            We downloaded the Qt 5.9.7 source and untarred it into a directory. There was no installation process beyond that.

            D 1 Reply Last reply
            0
            • D danblanks 0

              We downloaded the Qt 5.9.7 source and untarred it into a directory. There was no installation process beyond that.

              D Offline
              D Offline
              danblanks 0
              wrote on last edited by
              #6

              @danblanks-0
              Sorry, let me amend that. Our build expert did build the Qt source code. And initially he did so using the -no_examples option. He has since corrected that bit, so the examples show up in the Qt Creator directory. But they still do not show up in the Qt Creator Examples page.

              JonBJ 1 Reply Last reply
              0
              • D danblanks 0

                @danblanks-0
                Sorry, let me amend that. Our build expert did build the Qt source code. And initially he did so using the -no_examples option. He has since corrected that bit, so the examples show up in the Qt Creator directory. But they still do not show up in the Qt Creator Examples page.

                JonBJ Online
                JonBJ Online
                JonB
                wrote on last edited by JonB
                #7

                @danblanks-0
                Is https://stackoverflow.com/questions/45454072/make-qt-creator-to-see-examples-and-docs relevant to your situation. Else Goggle for qt creator examples not showing, there are a few suggestions as to why they are not being found/displayed?

                D 1 Reply Last reply
                1
                • JonBJ JonB

                  @danblanks-0
                  Is https://stackoverflow.com/questions/45454072/make-qt-creator-to-see-examples-and-docs relevant to your situation. Else Goggle for qt creator examples not showing, there are a few suggestions as to why they are not being found/displayed?

                  D Offline
                  D Offline
                  danblanks 0
                  wrote on last edited by
                  #8

                  @JonB Thanks for the reference. I will pass this on to our build meister and see if it helps. It does look very much like the problem we are having.

                  1 Reply Last reply
                  0

                  • Login

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