Results 1 to 5 of 5

Thread: Is it possible to build Qt 5 without opengl or webkit using Win SDK?

  1. #1
    Join Date
    Oct 2012
    Location
    The land of pain (NY)
    Posts
    99
    Thanks
    7
    Thanked 3 Times in 2 Posts
    Qt products
    Qt4 Qt/Embedded
    Platforms
    MacOS X Windows Android

    Default Is it possible to build Qt 5 without opengl or webkit using Win SDK?

    The out of the box Qt 5 SDK is heavy with dependencies which are not needed for even the simplest of apps. I am trying to re-build from source on a Windows 7 machine with Win SDK 7.1, Active Perl, Python tools installed. I use the following configure command line:

    configure -developer-build -opensource -nomake examples -nomake tests -no-opengl -no-icu

    The first error appears as in kernel\qplatformopenglcontext.cpp. Many more follow and the build falls down.

    Has anyone encountered this? The build machine is virgin except for the tools needed for the build. No Visual Studio, .NET.

  2. #2
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,359
    Thanks
    3
    Thanked 5,015 Times in 4,792 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: Is it possible to build Qt 5 without opengl or webkit using Win SDK?

    I don't think Qt5 in its default config can build without OpenGL(ES) support. Unless of course you only need QtCore and QtNetwork and not QtGui/QtWidgets.
    Your biological and technological distinctiveness will be added to our own. Resistance is futile.

    Please ask Qt related questions on the forum and not using private messages or visitor messages.


  3. #3
    Join Date
    Oct 2012
    Location
    The land of pain (NY)
    Posts
    99
    Thanks
    7
    Thanked 3 Times in 2 Posts
    Qt products
    Qt4 Qt/Embedded
    Platforms
    MacOS X Windows Android

    Default Re: Is it possible to build Qt 5 without opengl or webkit using Win SDK?

    Quote Originally Posted by wysota View Post
    I don't think Qt5 in its default config can build without OpenGL(ES) support. Unless of course you only need QtCore and QtNetwork and not QtGui/QtWidgets.
    Perhaps. I've tried it from source with the configure line -no-opengl -no-icu. This is suppose to rebuild without Webkit and OpenGL support. These two modules add approximately an additional 30 MB of dependencies. Compare that to just two DLL dependencies from version 4.8.4.

    Anyway, the build fails to complete at a Qt5PrintSupport.dll shown in the build log here

  4. #4
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,359
    Thanks
    3
    Thanked 5,015 Times in 4,792 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: Is it possible to build Qt 5 without opengl or webkit using Win SDK?

    You can disable the print support module altogether. It's a separate library.
    Your biological and technological distinctiveness will be added to our own. Resistance is futile.

    Please ask Qt related questions on the forum and not using private messages or visitor messages.


  5. #5
    Join Date
    Oct 2012
    Location
    The land of pain (NY)
    Posts
    99
    Thanks
    7
    Thanked 3 Times in 2 Posts
    Qt products
    Qt4 Qt/Embedded
    Platforms
    MacOS X Windows Android

    Default Re: Is it possible to build Qt 5 without opengl or webkit using Win SDK?

    Quote Originally Posted by wysota View Post
    You can disable the print support module altogether. It's a separate library.
    There doesn't appear to be an option to bypass building that module at least as a configure option.

Similar Threads

  1. Build Qt 4.6 with webkit
    By Harshad in forum Qt for Embedded and Mobile
    Replies: 5
    Last Post: 12th April 2011, 17:14
  2. Replies: 7
    Last Post: 31st January 2011, 15:46
  3. Build QT webkit For Arm Embedded ?
    By Thành Viên Mới in forum Qt Webkit
    Replies: 0
    Last Post: 13th January 2011, 06:22
  4. WinCE OpenGL ES build error
    By bpredic in forum Qt for Embedded and Mobile
    Replies: 1
    Last Post: 30th December 2010, 17:17
  5. [Newbie QT Embedded] Build Webkit for Genetic Ubuntu Error ?
    By Thành Viên Mới in forum Qt for Embedded and Mobile
    Replies: 0
    Last Post: 5th November 2010, 02:57

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.