Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. Free BSD <qtguiglobal.h> missing
Forum Updated to NodeBB v4.3 + New Features

Free BSD <qtguiglobal.h> missing

Scheduled Pinned Locked Moved Unsolved Installation and Deployment
12 Posts 3 Posters 3.1k 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.
  • SGaistS Offline
    SGaistS Offline
    SGaist
    Lifetime Qt Champion
    wrote on last edited by
    #2

    Hi and welcome to devnet,

    Warning I'm no *BSD specialist.

    That said, how did you install Qt ?

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

    1 Reply Last reply
    0
    • P Offline
      P Offline
      philo_neo
      wrote on last edited by
      #3

      @SGaist said in Free BSD <qtguiglobal.h> missing:

      That said, how did you install Qt ?

      i intall since the ports : /usr/ports/devel/qtcreator && make install clean
      during compilation it stops on the missing file

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

        Did you install all of Qt ?

        [edit: added missing "all" SGaist]

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

        1 Reply Last reply
        0
        • P Offline
          P Offline
          philo_neo
          wrote on last edited by
          #5

          not on this HPC (16 cores), but i have a station with qT

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

            I just fixed the question from my post above.

            Do you mean that you didn't install Qt on the machine where you are trying to build Qt Creator ?

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

            1 Reply Last reply
            0
            • P Offline
              P Offline
              philo_neo
              wrote on last edited by
              #7

              yes that's fine, I just have Code :: Blocks on this HPC,
              I do not understand why you ask me this is question, you are a QT expert? if so, I propose a transfer of skills!

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

                I ask you this question because you seem to want to build Qt Creator without having Qt installed on your machine. Qt Creator being an independent project using Qt, it's going to be pretty complicated.

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

                1 Reply Last reply
                0
                • P Offline
                  P Offline
                  philo_neo
                  wrote on last edited by
                  #9

                  yes indeed it was missing the base of QT4, I compile the latter.
                  but after this manipulation I am always in error with this missing file, here is my output:

                  I/usr/local/include/qt5/QtWidgets -I/usr/local/include/qt5/QtGui -I/usr/local/include/qt5/QtQml -I/usr/local/include/qt5/QtNetwork -I/usr/local/include/qt5/QtConcurrent -I/usr/local/include/qt5/QtCore -I.moc/release-shared -I/usr/local/include -I/usr/local/lib/qt5/mkspecs/freebsd-clang -o .obj/release-shared/flamegraph.o flamegraph.cpp
                  In file included from flamegraph.cpp:26:
                  In file included from ./flamegraph.h:31:
                  In file included from /usr/local/include/qt5/QtQuick/QQuickItem:1:
                  In file included from /usr/local/include/qt5/QtQuick/qquickitem.h:43:
                  /usr/local/include/qt5/QtQuick/qtquickglobal.h:44:10: fatal error: 
                        'QtGui/qtguiglobal.h' file not found
                  #include <QtGui/qtguiglobal.h>
                           ^~~~~~~~~~~~~~~~~~~~~
                  1 error generated.
                  *** Error code 1
                  
                  Stop.
                  
                  

                  this file qtguiglobal.h how can i found it and patch it ?

                  jsulmJ 1 Reply Last reply
                  0
                  • P philo_neo

                    yes indeed it was missing the base of QT4, I compile the latter.
                    but after this manipulation I am always in error with this missing file, here is my output:

                    I/usr/local/include/qt5/QtWidgets -I/usr/local/include/qt5/QtGui -I/usr/local/include/qt5/QtQml -I/usr/local/include/qt5/QtNetwork -I/usr/local/include/qt5/QtConcurrent -I/usr/local/include/qt5/QtCore -I.moc/release-shared -I/usr/local/include -I/usr/local/lib/qt5/mkspecs/freebsd-clang -o .obj/release-shared/flamegraph.o flamegraph.cpp
                    In file included from flamegraph.cpp:26:
                    In file included from ./flamegraph.h:31:
                    In file included from /usr/local/include/qt5/QtQuick/QQuickItem:1:
                    In file included from /usr/local/include/qt5/QtQuick/qquickitem.h:43:
                    /usr/local/include/qt5/QtQuick/qtquickglobal.h:44:10: fatal error: 
                          'QtGui/qtguiglobal.h' file not found
                    #include <QtGui/qtguiglobal.h>
                             ^~~~~~~~~~~~~~~~~~~~~
                    1 error generated.
                    *** Error code 1
                    
                    Stop.
                    
                    

                    this file qtguiglobal.h how can i found it and patch it ?

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

                    @philo_neo You need to install QtGui module as well.

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

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

                      You wrote Qt4, is that a typo ?

                      In any case, Qt Creator has a hard requirement on Qt 5 to build since a few versions. IIRC the lowest version if 5.6.2. However that doesn't have any influence on which version of Qt you can use to build your applications/libraries.

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

                      1 Reply Last reply
                      0
                      • P Offline
                        P Offline
                        philo_neo
                        wrote on last edited by
                        #12

                        I will come back later, on a version of FreeBSD supported because the version 12 currente is not supported it is version 11.1 which is supported!
                        I would install QTcreator on the supported version!

                        thank you

                        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