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. [SOLVED] Problem installing Qwt 6.1.2 in Qt 5.40

[SOLVED] Problem installing Qwt 6.1.2 in Qt 5.40

Scheduled Pinned Locked Moved Installation and Deployment
6 Posts 4 Posters 6.2k 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.
  • B Offline
    B Offline
    BDifferent
    wrote on last edited by
    #1

    Hi all,
    I am trying to install Qwt 6.1.2 in a fresh Qt 5.4 installation (MinGW) on Windows 7.
    I have done that successfully on another machine (on which I had to work in Safe Mode while installing Qt to circumvent interference of Bitdefender which blocked qmake).

    On the current PC Qt was installed without problems, however, Qwt stops at some point. See below for the output of mingw32-make:
    ...
    compiling qwt_slider.cpp
    compiling qwt_thermo.cpp
    compiling qwt_wheel.cpp
    moc qwt_dyngrid_layout.h
    cygwin warning:
    MS-DOS style path detected: /cygdrive/c/Qt/Qt5.4.0/5.4/mingw491_32/bin/C:\Qt\Q
    t5.4.0\5.4\mingw491_32\bin\moc.exe
    Preferred POSIX equivalent is: /cygdrive/c/Qt/Qt5.4.0/5.4/mingw491_32/bin/C:/Q
    t/Qt5.4.0/5.4/mingw491_32/bin/moc.exe
    CYGWIN environment variable option "nodosfilewarning" turns off this warning.
    Consult the user's guide for more details about POSIX paths:
    http://cygwin.com/cygwin-ug-net/using.html#using-pathnames
    C:\Qt\Qt5.4.0\5.4\mingw491_32\bin\moc.exe: not found
    Makefile.Release:648: recipe for target 'moc/moc_qwt_dyngrid_layout.cpp' failed
    mingw32-make[2]: *** [moc/moc_qwt_dyngrid_layout.cpp] Error 127
    mingw32-make[2]: Leaving directory 'C:/qwt-6.1.2/src'
    Makefile:38: recipe for target 'release-all' failed
    mingw32-make[1]: *** [release-all] Error 2
    mingw32-make[1]: Leaving directory 'C:/qwt-6.1.2/src'
    makefile:41: recipe for target 'sub-src-make_first-ordered' failed
    mingw32-make: *** [sub-src-make_first-ordered] Error 2

    However, moc.exe is there. I also tried safe mode to eliminate the possibility that ESET Antivirus interferes. But it always stops at the point where moc.exe comes into play.

    I could turn off the warning as described in the message, but the problem would still be there. I also tried to find the mentioned path in the makefiles to change it manually, but didn't find it. So I am a bit lost here.

    Any ideas?

    1 Reply Last reply
    0
    • A Offline
      A Offline
      anewsee
      wrote on last edited by
      #2

      Hi BDifferent,

      I found the same problem today.
      I did not found the root cause of the problem but there is a workaround.
      Replace all C:\Qt\Qt5.4.0\5.4\mingw491_32\bin\moc.exe entry in the Makefile and src/Makefile.Release (or debug if you try to build it with debug) with the correct cygwin style path: C:/Qt/Qt5.4.0/5.4/mingw491_32/bin/moc.exe

      And do the same with the C:\Qt\Qt5.4.0\5.4\mingw491_32\bin\rcc.exe in Makefile because it will generate another error otherwise.

      I hope this will solve your problem, too.

      --
      anewsee

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

        [quote author="BDifferent" date="1423290180"]Hi all,
        I have done that successfully on another machine (on which I had to work in Safe Mode while installing Qt to circumvent interference of Bitdefender which blocked qmake).
        [/quote]

        That is the part you have to solve. You will need qmake anyway. Have alook how to convince bitdefender that qmake is not a virus.

        With qmake you are generating a makefile compatible with your OS.

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

        1 Reply Last reply
        0
        • B Offline
          B Offline
          BDifferent
          wrote on last edited by
          #4

          [quote author="koahnig" date="1423324274"]
          That is the part you have to solve. You will need qmake anyway. Have alook how to convince bitdefender that qmake is not a virus.

          With qmake you are generating a makefile compatible with your OS.
          [/quote]

          That seems to be a misunderstanding; that part you quoted was a different PC on which installation of Qt was blocked by Bitdefender, while installation of Qwt was not a problem.

          On the current machine, which is why I started this thread, installation of Qt was not a problem (ESET Antivirus running here), but Qwt installation failed.

          1 Reply Last reply
          0
          • B Offline
            B Offline
            BDifferent
            wrote on last edited by
            #5

            [quote author="anewsee" date="1423317855"]
            Replace all C:\Qt\Qt5.4.0\5.4\mingw491_32\bin\moc.exe entry in the Makefile and src/Makefile.Release (or debug if you try to build it with debug) with the correct cygwin style path: C:/Qt/Qt5.4.0/5.4/mingw491_32/bin/moc.exe

            And do the same with the C:\Qt\Qt5.4.0\5.4\mingw491_32\bin\rcc.exe in Makefile because it will generate another error otherwise.
            [/quote]

            I did that and it worked, thanks :-) I had looked for occurrences of moc.exe in the Qwt folder already before, however after running "qmake qwt.pro" but before "mingw32-make", which is why I found no occurrences at that point of time.

            Will change the title to SOLVED, although the source of the problem is not clear, but my problem was solved.

            1 Reply Last reply
            0
            • A anewsee

              Hi BDifferent,

              I found the same problem today.
              I did not found the root cause of the problem but there is a workaround.
              Replace all C:\Qt\Qt5.4.0\5.4\mingw491_32\bin\moc.exe entry in the Makefile and src/Makefile.Release (or debug if you try to build it with debug) with the correct cygwin style path: C:/Qt/Qt5.4.0/5.4/mingw491_32/bin/moc.exe

              And do the same with the C:\Qt\Qt5.4.0\5.4\mingw491_32\bin\rcc.exe in Makefile because it will generate another error otherwise.

              I hope this will solve your problem, too.

              --
              anewsee

              H Offline
              H Offline
              Herzt
              wrote on last edited by
              #6

              @anewsee said:

              Hi BDifferent,

              I found the same problem today.
              I did not found the root cause of the problem but there is a workaround.
              Replace all C:\Qt\Qt5.4.0\5.4\mingw491_32\bin\moc.exe entry in the Makefile and src/Makefile.Release (or debug if you try to build it with debug) with the correct cygwin style path: C:/Qt/Qt5.4.0/5.4/mingw491_32/bin/moc.exe

              And do the same with the C:\Qt\Qt5.4.0\5.4\mingw491_32\bin\rcc.exe in Makefile because it will generate another error otherwise.

              I hope this will solve your problem, too.

              --
              anewsee

              how to replace all that ?

              Thanks

              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