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
Forum Updated to NodeBB v4.3 + New Features

Compiling from Source under VS2017

Scheduled Pinned Locked Moved Unsolved General and Desktop
2 Posts 2 Posters 325 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 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....

    jsulmJ 1 Reply Last reply
    0
    • G gtarplyer

      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....

      jsulmJ Offline
      jsulmJ Offline
      jsulm
      Lifetime Qt Champion
      wrote on 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

      • Login

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