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. Compiling from Source under VS2017
QtWS25 Last Chance

Compiling from Source under VS2017

Scheduled Pinned Locked Moved Unsolved General and Desktop
2 Posts 2 Posters 318 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.
  • G Offline
    G Offline
    gtarplyer
    wrote on 10 Oct 2018, 05:11 last edited by
    #1

    I would like to compile the Qt sources using Visual Studio 2017, using a Solution file. I know .PRO files can now generate the solution file, so that is great! (No, I don't want to use nmake, I want to see all the Qt projects in the VS Solution Browser)

    • I download the Qt installer.
    • I start the "X64 Native Tools Command Prompt for VS 2017" command window, so the VS environment variables are correctly set.
    • I go in C:/Qt/5.11.2/Src and type "configure -opensource"
    • Everything goes well.
    • I open Visual Studio 2017, and under the "Qt VS Tools" menu, I load the "qt.pro" file found in C:/Qt/5.11.2/src.
    • I get this error: Project ERROR: Library 'pcre2' is not defined.

    Any ideas on how to fix this?

    Thank you for any tips....

    J 1 Reply Last reply 10 Oct 2018, 05:28
    0
    • G gtarplyer
      10 Oct 2018, 05:11

      I would like to compile the Qt sources using Visual Studio 2017, using a Solution file. I know .PRO files can now generate the solution file, so that is great! (No, I don't want to use nmake, I want to see all the Qt projects in the VS Solution Browser)

      • I download the Qt installer.
      • I start the "X64 Native Tools Command Prompt for VS 2017" command window, so the VS environment variables are correctly set.
      • I go in C:/Qt/5.11.2/Src and type "configure -opensource"
      • Everything goes well.
      • I open Visual Studio 2017, and under the "Qt VS Tools" menu, I load the "qt.pro" file found in C:/Qt/5.11.2/src.
      • I get this error: Project ERROR: Library 'pcre2' is not defined.

      Any ideas on how to fix this?

      Thank you for any tips....

      J Offline
      J Offline
      jsulm
      Lifetime Qt Champion
      wrote on 10 Oct 2018, 05:28 last edited by
      #2

      @gtarplyer Did you try to call "nmake" and "nmake install" from the command line?

      https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      1

      2/2

      10 Oct 2018, 05:28

      • Login

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