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. Project ERROR: Library 'freetype' is not defined . Error while building qt 5.13 for windows
Forum Updated to NodeBB v4.3 + New Features

Project ERROR: Library 'freetype' is not defined . Error while building qt 5.13 for windows

Scheduled Pinned Locked Moved Solved General and Desktop
3 Posts 1 Posters 496 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.
  • D Offline
    D Offline
    developer-123 0
    wrote on last edited by
    #1

    I'm building qt 5.13 for windows using visual studio 2017
    but I got this error while building :

    cd fontdatabases\ && ( if not exist Makefile E:\programs\qt-libs\qt-everywhere-src-5.13.0\qtbase\bin\qmake.exe -o Makefile E:\programs\qt-libs\qt-everywhere-src-5.13.0\qtbase\src\platformsupport\fontdatabases\fontdatabases.pro ) && "C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.16.27023\bin\HostX64\x64\nmake.exe" -f Makefile
    
    Microsoft (R) Program Maintenance Utility Version 14.16.27032.1
    Copyright (C) Microsoft Corporation.  All rights reserved.
    
            E:\programs\qt-libs\qt-everywhere-src-5.13.0\qtbase\bin\qmake.exe -o Makefile fontdatabases.pro
    Project ERROR: Library 'freetype' is not defined.
    NMAKE : fatal error U1077: 'E:\programs\qt-libs\qt-everywhere-src-5.13.0\qtbase\bin\qmake.exe' : return code '0x3'
    Stop.
    NMAKE : fatal error U1077: 'cd' : return code '0x2'
    Stop.
    NMAKE : fatal error U1077: 'cd' : return code '0x2'
    Stop.
    NMAKE : fatal error U1077: 'cd' : return code '0x2'
    Stop.
    NMAKE : fatal error U1077: 'cd' : return code '0x2'
    Stop.
    

    this is my configuration command line :

    configure.bat -static -release -no-opengl -prefix E:\programs\qt-libs\qt5.13-x64-v2017 -opensource -make libs -nomake tools -nomake examples -nomake tests -skip qt3d -skip qtandroidextras -skip qtcanvas3d -skip qtcharts -skip qtconnectivity -skip qtdatavis3d -skip qtdeclarative -skip qtdoc -skip qtgamepad -skip qtgraphicaleffects -skip qtimageformats -skip qtlocation -skip qtmacextras -skip qtnetworkauth -skip qtquickcontrols -skip qtquickcontrols2 -skip qtscript -skip qtscxml -skip qtsensors -skip qtserialbus -skip qtserialport -skip qttranslations -skip qtwayland -skip qtwebchannel -skip qtwebengine -skip qtwebview
    
    1 Reply Last reply
    0
    • D Offline
      D Offline
      developer-123 0
      wrote on last edited by
      #3

      I had to use -no-freetype

      1 Reply Last reply
      2
      • D Offline
        D Offline
        developer-123 0
        wrote on last edited by
        #2

        any response ?

        1 Reply Last reply
        0
        • D Offline
          D Offline
          developer-123 0
          wrote on last edited by
          #3

          I had to use -no-freetype

          1 Reply Last reply
          2

          • Login

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