Results 1 to 2 of 2

Thread: ASSERT: "isAbsolutePath(baseDir)" error when trying to build

  1. #1
    Join Date
    Feb 2018
    Posts
    1
    Qt products
    Qt5 Qt/Embedded PyQt3 PyQt4
    Platforms
    Unix/X11 Windows

    Question ASSERT: "isAbsolutePath(baseDir)" error when trying to build

    Hello

    I recently downloaded qt from git. then I followed steps in


    http://doc.qt.io/qt-5/windows-building.html


    then I tried to build by typing mingw32-make


    I am getting this error in poweshell

    Qt Code:
    1. elib\corelib.pro ) && C:/mingw-w64/i686-7.2.0-posix-dwarf-rt_v5-rev1/mingw32/bin/mingw32-make -f Makefile
    2. mingw32-make[3]: Entering directory 'E:/shahid/QT/qt5/qtbase/src/corelib'
    3. E:\shahid\QT\qt5\qtbase\bin\qmake.exe -o Makefile corelib.pro
    4. Project MESSAGE: perl -w E:\shahid\QT\qt5\qtbase\bin\syncqt.pl -module QtCore -version 5.10.1 -outdir E:/shahid/QT/qt5/qtbase E:/shahid/QT/qt5/qtbase
    5. <srcbase> = E:/shahid/QT/qt5/qtbase
    6. <outbase> = E:/shahid/QT/qt5/qtbase
    7. ASSERT: "isAbsolutePath(baseDir)" in file E:/shahid/QT/qt5/qtbase/qmake/library/ioutils.cpp, line 108
    8.  
    9. This application has requested the Runtime to terminate it in an unusual way.
    10. Please contact the application's support team for more information.
    11. mingw32-make[3]: *** [Makefile:168: Makefile] Error 3
    12. mingw32-make[3]: Leaving directory 'E:/shahid/QT/qt5/qtbase/src/corelib'
    13. mingw32-make[2]: *** [Makefile:196: sub-corelib-make_first] Error 2
    14. mingw32-make[2]: Leaving directory 'E:/shahid/QT/qt5/qtbase/src'
    15. mingw32-make[1]: *** [Makefile:45: sub-src-make_first] Error 2
    16. mingw32-make[1]: Leaving directory 'E:/shahid/QT/qt5/qtbase'
    17. mingw32-make: *** [Makefile:81: module-qtbase-make_first] Error 2
    18. PS E:\shahid\QT\qt5>
    To copy to clipboard, switch view to plain text mode 

    can any one help me to fix this

  2. #2
    Join Date
    Nov 2010
    Posts
    3
    Qt products
    Qt4 Qt/Embedded
    Platforms
    Unix/X11 Windows

    Default Re: ASSERT: "isAbsolutePath(baseDir)" error when trying to build

    Hi,
    I had the same problem, for some reason, the configure script expects the path to be unix-like, '/usr....'
    After running configure, i manually edited qtbase\bin\qt.conf and changed all three paths to the correct windows path, i.e.,

    Qt Code:
    1. [EffectivePaths]
    2. Prefix=..
    3. [DevicePaths]
    4. Prefix=C:\qt\qt-5.10.1-mingw-7.2.0-64
    5. [Paths]
    6. Prefix=C:\qt\qt-5.10.1-mingw-7.2.0-64
    7. HostPrefix=C:\qt\qt-5.10.1-mingw-7.2.0-64
    8. Sysroot=
    9. SysrootifyPrefix=false
    10. TargetSpec=win32-g++
    11. HostSpec=win32-g++
    To copy to clipboard, switch view to plain text mode 

Similar Threads

  1. Replies: 2
    Last Post: 2nd March 2015, 16:27
  2. Replies: 0
    Last Post: 9th January 2015, 11:09
  3. Replies: 5
    Last Post: 29th September 2012, 20:30
  4. Replies: 1
    Last Post: 5th February 2011, 22:14
  5. QFile Problem~ "Unknow error" in "open(QIODevice::ReadWrite)"
    By fengtian.we in forum Qt Programming
    Replies: 3
    Last Post: 23rd May 2007, 16:58

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.