Change Visual Studio 2017 .props location file - visual-studio-2017

I am new in visual studio 2017
I have imported a qt project file (.pro) and created a .vcxproj file with QtVSTools, my problem is that it generate a lot of intermediate files including a
$(Configuration)/qmake/qtvars_(Platform)_(Configuration).props file.
My question is how to customize this file location to a desired eg.
$./build/(Configuration)/qmake/qtvars_(Platform)_(Configuration).props
I have already search for this customization in the project properties with no luck.
I really appreciate your help in finding a solution.

Related

Qt:Where to find the .pro file when developing with visual studio

I want to add sound to my program so I need to add header file “QSound”.
To add the header file, I need to modify the .pro file.
The problem is, I use visual studio to develop projects, so I can't find the .pro file.
I am so confused.
Thanks for your help!
If you're using Qt VS Tools, use Create Basic .pro File from extensions menu. Note that .pro and .vcxproj files might not be in sync so if possible use Qt Creator to configure your project in the .pro file and then open the project in visual studio via Open Qt Project File
Note that if you are using MS Visual Studio and Qt, and you need to add a specific qt module to your project, you do not need to have a .pro file just for that. That would be the way to go when not using VS.
Instead, in Visual Studio select your project, select menu "Project / Properties", there you should have an entry "Qt Project Settings", and there a section "General", there a setting "Qt Modules" which probably already contains "core" and some entries.
Add your module to this line. Remember to do that for all your configurations and platforms.

I'm using Visual studio 2019 and my project's name ends with .Sln insted of .cpp

I'm new to programming I use visual studio 2019 and when I'm creating a new project the project's name always end with .Sln instead of .cpp
.sln is the file visual studio uses to organize the project. I believe you will find one or multiple .cpp files in your project directory.
.sln is a diminutive for solution, it's a Visual Studio executable that has some basic configurations like the VS version you are using, the project id, name, and things like that, as you execute this, it will open your .vcxproj that has all the global configurations of the project, .cpp file names, etc. and will open your project. If you look in your project folder you should have at least a .cpp file.
SLN is the solution file. It is used to compile the solution and other informations. You can add classes (.cpp/.h) in your project where you can write C++ code.

How to include hidapi in visual studio 2015 c++

I'm trying to use the hidapi library on Visual Studio 2015 for a c++ console app.
I've included hidapi.h as a header file, but can't seem to figure out how to link the dll. I've scoured this site looking for solutions to including other libraries but they seem specific for each case.
Any help is greatly appreciated.
1.If you already have the hidapi.lib and hidapi.dll files, go to project->properties->configuration properties->linker->additional dependencies and add you .lib file's path
if your project is working under x64 ,add your hidapi.dll file in the C:\Windows\System32. Otherwise, add it in the C:\Windows\SysWOW64

Visual studio 2013 auto complete for project files

My directory structure seems to be messing up the auto-complete for project created files. Here's a hierarchical representation (The project is called "Asdf"):
Asdf
src
Asdf (Contains the source files for the project.)
SDL (Contains include files for SDL.)
vc (Contains the actual visual studio solution file and configuration files.)
Any ideas on how to fix this?
Additional note: Project files are included in Project Properties->Include Directories. The Visual studio 2013 is the software in question.

Trouble With Building Live555 Media Server in VS2005

This could be a very silly question to any long time C++, visual studio or live555 users but I am having problems building the live555 source code with visual studio 2005. I have found a good walk through guide for creating the projects manually because .mak files are no longer supported by newer versions of visual studio but am still having problems. It seems that visual studio cannot open the .hh files that come in the include folders and I have added to the header folders of each seperate project.
Is there something special you have to do to the compilier or a plugin for the IDE to allow VS2005 to open .hh header files?
This is the error I am getting:
fatal error C1083: Cannot open include file
'BasicUsageEnvironment.hh': No such file or directory.
It seems to me that Visual studios cannot find the file, rather than it not being able to open that file type. If you right click on your project and go to
Properties->C/C++->General->Additional Include Directories
Now browse to the location of the .hh file and add it to the path. Visual studios should now be able to find the file in question. You may also have to add library paths to your solution. Please let me know if there are additional errors.