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. Need help to build...
Qt 6.11 is out! See what's new in the release blog

Need help to build...

Scheduled Pinned Locked Moved General and Desktop
10 Posts 3 Posters 6.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.
  • S Offline
    S Offline
    snaker
    wrote on last edited by
    #1

    hello i m stef from switzerland i m newbie and i try to compil a software but i have this error...:

    10:18:31: Running steps for project vaslib...
    10:18:31: Configuration unchanged, skipping qmake step.
    10:18:31: Starting: "C:\Qt\Qt5.0.1\Tools\MinGW\bin\mingw32-make.exe"
    C:/Qt/Qt5.0.1/Tools/MinGW/bin/mingw32-make -f Makefile.Release
    mingw32-make[1]: Entering directory 'F:/Perso/FS/DEV_VASFMC/VASFMC_SRC/vaslib/src'
    g++ -c -pipe -fno-keep-inline-dllexport -O2 -Wall -Wextra -fno-rtti -DUNICODE -DQT_NO_DEBUG -DQT_XML_LIB -DQT_NETWORK_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_OPENGL_ES_2 -DQT_OPENGL_ES_2_ANGLE -DQT_NO_DYNAMIC_CAST -I. -I"C:\Qt\Qt5.0.1\5.0.1\mingw47_32\include" -I"C:\Qt\Qt5.0.1\5.0.1\mingw47_32\include\QtXml" -I"C:\Qt\Qt5.0.1\5.0.1\mingw47_32\include\QtNetwork" -I"C:\Qt\Qt5.0.1\5.0.1\mingw47_32\include\QtGui" -I"C:\Qt\Qt5.0.1\5.0.1\mingw47_32\include\QtCore" -I"release" -I"C:\Qt\Qt5.0.1\5.0.1\mingw47_32\mkspecs\win32-g++" -o release\fsaccess_msfs.o fsaccess_msfs.cpp
    In file included from fsuipc.h:27:0,
    from fsaccess_msfs.h:13,
    from fsaccess_msfs.cpp:5:
    logger.h:28:23: fatal error: QMessageBox: No such file or directory
    compilation terminated.
    Makefile.Release:2426: recipe for target 'release/fsaccess_msfs.o' failed
    mingw32-make[1]: *** [release/fsaccess_msfs.o] Error 1
    mingw32-make[1]: Leaving directory 'F:/Perso/FS/DEV_VASFMC/VASFMC_SRC/vaslib/src'
    makefile:34: recipe for target 'release' failed
    mingw32-make: *** [release] Error 2
    10:18:33: The process "C:\Qt\Qt5.0.1\Tools\MinGW\bin\mingw32-make.exe" exited with code 2.
    Error while building/deploying project vaslib (kit: Desktop Qt 5.0.1 MinGW 32bit)
    When executing step 'Make'

    can any people can help me

    thank stef

    1 Reply Last reply
    0
    • T Offline
      T Offline
      tomma
      wrote on last edited by
      #2

      QMessageBox is widget based dialog.
      You need to add
      @
      QT += widgets
      @

      to your project file to use QtWidgets in Qt5.

      1 Reply Last reply
      0
      • S Offline
        S Offline
        snaker
        wrote on last edited by
        #3

        ok thanks... it will work but now i have

        Qftp: No such file or directory

        thanks

        1 Reply Last reply
        0
        • S Offline
          S Offline
          snaker
          wrote on last edited by
          #4

          and i have already

          Qt += network

          but error still here

          1 Reply Last reply
          0
          • T Offline
            T Offline
            tomma
            wrote on last edited by
            #5

            QFtp was "removed":http://qt-project.org/wiki/Qt-5Features#2f8f112b669fd4e4673fa8397cf989a9 from Qt5.

            1 Reply Last reply
            0
            • S Offline
              S Offline
              snaker
              wrote on last edited by
              #6

              great i will try to install 4.8 and creator 2.6... do you think it will work ?

              thanks

              1 Reply Last reply
              0
              • K Offline
                K Offline
                koahnig
                wrote on last edited by
                #7

                [quote author="snaker" date="1361307308"]great i will try to install 4.8 and creator 2.6... do you think it will work ?
                thanks[/quote]
                Yes, it does work! I am using QFtp with Qt 4.8.4 and MinGW 4.7.2 and it does work.

                A couple of notes. AFAIK there are a couple of differences between the version change of Qt from 4 to 5. In general there is compatibility. Already in Qt4.8 QFtp can be achieved a "more general concept.":http://qt-project.org/doc/qt-4.8/qftp.html#details
                [quote]
                This class provides a direct interface to FTP that allows you to have more control over the requests. However, for new applications, it is recommended to use QNetworkAccessManager and QNetworkReply, as those classes possess a simpler, yet more powerful API.
                [/quote]
                This should be also available in Qt5, but the QFtp has been removed.

                If you are trying to get an application based on QFtp to work, you need to get Qt4.

                If you like to start to start a new application, you might to rethink and go for Qt5.

                One problem is at the moment with the available pre-builds of Qt4.8.4. Those are compiled with MinGW4.4. MinGW4.4 is not compatible with MinGW 4.7.2. Either you need to get MinGW 4.4 or you need to compile Qt yourself "following this guide.":http://qt-project.org/wiki/Building_Qt_Desktop_for_Windows_with_MinGW

                Vote the answer(s) that helped you to solve your issue(s)

                1 Reply Last reply
                0
                • S Offline
                  S Offline
                  snaker
                  wrote on last edited by
                  #8

                  hi all and thanks for your help...

                  i install qt 5.1 the last,
                  and i install qt 4.5.1 because in make file is write build by this version

                  for install qt.4.5.1 i need to install with mingw 3.2, now is done..

                  now my question is ? how i declar to build with qt 4.5.1 instead of 5.1 in qt creator...

                  thanks for your help

                  1 Reply Last reply
                  0
                  • S Offline
                    S Offline
                    snaker
                    wrote on last edited by
                    #9

                    ok i find the solution ... i declare a new kit and it works better but now when i build at the end i think ? i m a newbie...i have a message : "custome executable " can anyone help me what i need to do...

                    thank you

                    1 Reply Last reply
                    0
                    • S Offline
                      S Offline
                      snaker
                      wrote on last edited by
                      #10

                      ok it s work... but now when i build qt create only the exe...not the dll...how i can do this...

                      thanks

                      Stef

                      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