Unsolved Newbie question: How do i add PDcurses in Qt Creator?
-
I'm using MinGW compiler and i tried reading and understanding the readme file
https://github.com/wmcbrine/PDCurses/blob/master/win32/README.md
but i couldn't understand from the part where it says "build it" and then gives an example statement. It (PDCurses) is the first external library i'm going to use and i need help understanding how building works.
PS:
What does the Red "!" thingy mean? https://i.imgur.com/i34aWoS.png
I think it means my build settings is incomplete, i'm not sure.Are they any simple-ish webpages/sites which can teach me more about building, stuff i can do with compilers and things related to modifying my IDE (Q Creator atm) for my comfort other than this website.
-
Hi and welcome to devnet,
Looks like you are not using MinGW but Visual Studio 2013 (at least based on the Qt version you installed). Thus what are you really trying to use ?
-
My bad, i didn't create a new build settings and had just edited the old one where the name's MSVC
Here's my build settings: https://i.imgur.com/c2Lmysz.png
I'm using Windows 10 64 bit, i know it's not the best place to code but since i'm still in the new-comer level i don't want to move to Linux or Ubuntu.
-
You seem to be trying to force the use of MinGW while you are using a MSVC version of Qt. Stop doing that, that won't work.
Visual Studio is not compatible with MinGW and only now with MSVC2017 is there a backward compatibility with VS2015.
-
Oh, i could still compile though. What problems would i face?
Also, which of these four compilers should i use? https://i.imgur.com/KD3Yjnb.png
-
None of them.
You installed Qt for Visual Studio 2013 and you have MinGW and Visual Studio 2017 as compilers. Visual Studio 2017 is the first version that is backward compatible but only with Visual Studio 2015.
Either install the MinGW build of Qt or the VS2017 version.
-
I think i'm messing up big time.
Qt can't find the compiler.
I downloaded from this link: https://imgur.com/a/VbS2e
I have "msvc2015_64" folder on my Qt directory. -
If you want to handle several versions of Qt in parallel, you should then go with the online installer.
-
Okay, i'll use it. I guess the starting period is weird.
E: So i searched and found what i have to do but i have one problem.
I have to use qmake to make the PDcurses library. The readme files tells me how to do it using nmake or make but i don't know what option to use in qmake.what should i fill in "??" qmake -makefile -?? vswin32.mak