Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

    Library linking using qt visual studio add-in

    General and Desktop
    1
    1
    347
    Loading More Posts
    • 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.
    • B
      beakie last edited by

      I am trying to create a simple application with library using qt... using only the vs 2013 add-in.

      Most tutorials I have found involve techniques that are outside the add-in "way of doing things".

      I am still a beginner when it comes to Qt.

      1. I created a console application project (MyApp).
      2. I added a library to the solution (MyLib).
      3. I added a reference to the library from the console application.
      4. I added a reference to the main header file (of the library project) to the console app project.
        5) If I build the library, an obj file is created in the console project win32 folder.
      5. If I try and build the whole solution, I get an error saying mylib.h cannot be found (MyApp project).

      What step am I missing please? I have googled it for days (and posted to SE) but can't find the answer.

      Can someone please advise?

      1 Reply Last reply Reply Quote 0
      • First post
        Last post