Installing KDevelop 5.0 over 4.90

Kevin Funk kfunk at kde.org
Mon May 2 06:08:23 UTC 2016


On Sunday, May 1, 2016 3:01:20 PM CEST Pratik G V wrote:
> Thanks for the link Kevin, I kinda progressed with CMake, here is the
> screen shot
> 
> [image: Inline image 1]
> 
> But while building the project in KDevelop, I had errors in MinGW make
> 
> [image: Inline image 2]
> 
> [image: Inline image 3]
> 
> [image: Inline image 4]
> 
> I have attached the KDevelop console output, please have a look at it.

Again unrelated to KDevelop, really, it's a pure CMake/environment problem.

Looks like you don't link against Qt5::Core, Qt5::Widgets and friends. Make 
sure you have something like this in your CMakeLists.txt:

  target_link_libraries(helloworld Qt5::Widgets)

HTH,
Kevin

> Regards,
> Pratik G V
> Cell: 001 (530) 591 2556
> 
> On Wed, Apr 27, 2016 at 5:47 AM, Kevin Funk <kfunk at kde.org> wrote:
> > On Sunday, April 24, 2016 10:54:47 AM CEST Pratik G V wrote:
> > > Here is the MinGW and CMake set in the environment variable
> > 
> > Please see:
> >   http://stackoverflow.com/questions/4101456/running-cmake-on-windows
> > 
> > You might need to run CMake manually once before being able to work on the
> > project using KDevelop.
> > 
> > Run:
> >   cmake -G "MinGW Makefiles" ...
> > 
> > Cheers,
> > Kevin
> > 
> > > [image: Inline image 1]
> > > 
> > > and gcc/g++ running
> > > 
> > > [image: Inline image 2]
> > > 
> > > Both MinGW and CMake are able to figure out gcc/g++ as I have set their
> > 
> > bin
> > 
> > > in PATH. I have set the CMAKE_C_COMPILER as mentioned.
> > > 
> > > [image: Inline image 3]
> > > 
> > > But still I get that compiler error. Please find the CMake error/output
> > > logs attached.
> > > 
> > > Regards,
> > > Pratik G V
> > > Cell: 001 (530) 591 2556
> > > 
> > > On Sun, Apr 24, 2016 at 1:37 AM, Kevin Funk <kfunk at kde.org> wrote:
> > > > On Saturday, April 23, 2016 9:33:52 PM CEST Pratik G V wrote:
> > > > > Hi Kevin,
> > > > > 
> > > > > I don't have the Microsoft Visual Studio installed in my machine, so
> > > > > without having that we can't build a project in KDevelop at the
> > 
> > moment
> > 
> > > > > rite? Please correct me if I am wrong, MSVC means Microsoft Visual
> > 
> > C/C
> > ++
> > 
> > > > > rite? is it the same as MS Visual Studio? Can you please provide me
> > 
> > the
> > 
> > > > > download link for MSVC?
> > > > > I have MinGW, CMake compilers installed and set the corresponding
> > > > > environment Path(s).
> > > > 
> > > > You can use MinGW as well, yes.
> > > > 
> > > > Make sure gcc.exe & friends are in PATH *before* starting KDevelop.
> > > > KDevelop
> > > > just runs CMake internally, and CMake needs to know about gcc.exe.
> > > > 
> > > > I'm not that familiar with MinGW-based setups, please just try to
> > 
> > figure
> > 
> > > > out
> > > > how to use CMake in combination with it. KDevelop is not the problem
> > 
> > here.
> > 
> > > > CMake is the entity which needs to find a compiler.
> > > > 
> > > > Cheers,
> > > > Kevin
> > > > 
> > > > > Regards,
> > > > > Pratik G V
> > > > > Cell: 001 (530) 591 2556
> > > > > 
> > > > > On Tue, Apr 19, 2016 at 1:41 PM, Kevin Funk <kfunk at kde.org> wrote:
> > > > > > On Tuesday, April 19, 2016 1:43:59 AM CEST Pratik G V wrote:
> > > > > > > When I used Standard > Terminal > CMake c++ template for the
> > 
> > Hello
> > 
> > > > World
> > > > 
> > > > > > > program I got these errors while building
> > > > > > > 
> > > > > > > -- The C compiler identification is unknown
> > > > > > > -- The CXX compiler identification is unknown
> > > > > > 
> > > > > > Please re-read the instructions here:
> > > > https://mail.kde.org/pipermail/kdevelop-devel/2016-January/052771.html
> > > > 
> > > > > > Citing:
> > > > > > * No real compiler selection possible
> > > > > > 
> > > > > >   * Workaround: Just start kdevelop from the "correct" environment
> > > > > >   
> > > > > >     * I.e. start "MSVC 20XX command prompt", then start
> > 
> > kdevelop.exe
> > 
> > > > > >     * Similarly for MinGW-based setups
> > > > > > 
> > > > > > Please contact kdevelop-devel at kde.org for further advice
> > > > > > 
> > > > > > Thanks,
> > > > > > Kevin
> > > > > > 
> > > > > > > I have set CMake path in environment variable. I have attached
> > 
> > the
> > 
> > > > error
> > > > 
> > > > > > > that were on the console and the CmakeError log file. I want to
> > > > > > > build
> > > > > > > the
> > > > > > > project without Visual Studio installed, can that be possible? I
> > > > > > > have
> > > > > > > installed Qt 5x as well. Cmake in the environment variable is as
> > > > > > > follows.
> > > > > > > 
> > > > > > > [image: Inline image 1]
> > > > > > > 
> > > > > > > Regards,
> > > > > > > Pratik G V
> > > > > > > Cell: 001 (530) 591 2556
> > > > > > > 
> > > > > > > On Mon, Apr 18, 2016 at 12:54 AM, Kevin Funk <kfunk at kde.org>
> > 
> > wrote:
> > > > > > > > On Monday, April 18, 2016 12:51:42 AM CEST Pratik Gundlupet
> > > > 
> > > > Venkatesh
> > > > 
> > > > > > > > wrote:
> > > > > > > > > Ok, thank you for the helpful insight, appreciate it.
> > > > > > > > > 
> > > > > > > > > Yeah I am pretty much liking it since it's something new
> > > > > > > > > that
> > 
> > I
> > 
> > > > am
> > > > 
> > > > > > > > testing
> > > > > > > > 
> > > > > > > > > and exploring :). Trying to accomplish an end-to-end flow.
> > > > > > > > > I have a question, is there any manual or document to get
> > > > > > > > > started
> > > > > > 
> > > > > > with?,
> > > > > > 
> > > > > > > > I
> > > > > > > > 
> > > > > > > > > am struggling to get a simple Hello World program running.
> > > > > > > > > Please
> > > > > > 
> > > > > > share
> > > > > > 
> > > > > > > > > a
> > > > > > > > > the link or document if  there's any.
> > > > > > > > 
> > > > > > > > What exactly are you struggling with?
> > > > > > > > 
> > > > > > > > You should be able to use one of the project templates to get
> > > > 
> > > > started
> > > > 
> > > > > > > > (CMake,
> > > > > > > > or QMake-based ones).
> > > > > > > > 
> > > > > > > > Or just download:
> > > > > > > >   https://github.com/jasondegraw/Qt-CMake-HelloWorld
> > > > > > > > 
> > > > > > > > ... and open the root CMakeLists.txt file with KDevelop.
> > > > > > > > 
> > > > > > > > Note that KDevelop on Windows requires a compiler to be in
> > 
> > PATH.
> > 
> > > > I.e.
> > > > 
> > > > > > if
> > > > > > 
> > > > > > > > you
> > > > > > > > want to use Microsoft Visual Studio, you first have to run the
> > 
> > "VS
> > 
> > > > > > > > 20XX
> > > > > > > > Command Prompt", then execute "C:\Program
> > > > > > 
> > > > > > Files\KDevelop\bin\kdevelop.exe"
> > > > > > 
> > > > > > > > (or
> > > > > > > > similar).
> > > > > > > > 
> > > > > > > > Hope that helps,
> > > > > > > > Kevin
> > > > > > > > 
> > > > > > > > > Regards,
> > > > > > > > > Pratik Gundlupet Venkatesh
> > > > > > > > > CSUC ID: 006936463
> > > > > > > > > Cell: 530 591 2556
> > > > > > > > > 
> > > > > > > > > Ignore typos, sent from Nexus.
> > > > > > > > > 
> > > > > > > > > On Apr 18, 2016 00:41, "Kevin Funk" <kfunk at kde.org> wrote:
> > > > > > > > > > On Saturday, April 16, 2016 4:42:04 PM CEST Pratik
> > 
> > Gundlupet
> > 
> > > > > > Venkatesh
> > > > > > 
> > > > > > > > > > wrote:
> > > > > > > > > > > Hi Kevin,
> > > > > > > > > > > 
> > > > > > > > > > > Today I was trying to install KDevelop 5.0 x64 on my
> > 
> > Windows
> > 
> > > > OS
> > > > 
> > > > > > 8.1,
> > > > > > 
> > > > > > > > I
> > > > > > > > 
> > > > > > > > > > > happen to come across this wired bug where the
> > 
> > application
> > 
> > > > > > doesn't
> > > > > > 
> > > > > > > > get
> > > > > > > > 
> > > > > > > > > > > installed. Here's what I did,
> > > > > > > > > > > I had 4.90 installed, downloaded 5.0 from (
> > > > > > > > > > > http://krf.kollide.net/files/work/kdevelop/?C=M;O=D)
> > 
> > link.
> > 
> > > > > > > > > > There's no "5.0 release" yet, thus there's indeed just
> > 
> > "4.9.9x
> > 
> > > > > > > > releases",
> > > > > > > > 
> > > > > > > > > > which mark a 5.0 beta release.
> > > > > > > > > > 
> > > > > > > > > > > Without
> > > > > > > > > > > uninstalling 4.90 I started installing 5.0, observed
> > > > > > > > > > > that
> > 
> > if
> > 
> > > > > > there
> > > > > > 
> > > > > > > > > > > is
> > > > > > > > > > > any
> > > > > > > > > > > previous version installed in the same path of the new
> > > > 
> > > > version
> > > > 
> > > > > > to be
> > > > > > 
> > > > > > > > > > > installed application by itself uninstalls it and
> > 
> > installs
> > 
> > > > the
> > > > 
> > > > > > new
> > > > > > 
> > > > > > > > one.
> > > > > > > > 
> > > > > > > > > > It
> > > > > > > > > > 
> > > > > > > > > > > did that. when the installation was complete, I tried
> > > > 
> > > > launching
> > > > 
> > > > > > the
> > > > > > 
> > > > > > > > new
> > > > > > > > 
> > > > > > > > > > > installed version, it opened the previous version
> > 
> > installed,
> > 
> > > > in
> > > > 
> > > > > > my
> > > > > > 
> > > > > > > > case
> > > > > > > > 
> > > > > > > > > > > 4.90 instead of 5.0. I even restarted the system and
> > 
> > checked
> > 
> > > > it
> > > > 
> > > > > > but,
> > > > > > 
> > > > > > > > > > there
> > > > > > > > > > 
> > > > > > > > > > > is no change. Is the application behaving as intended?
> > 
> > One
> > 
> > > > more
> > > > 
> > > > > > > > thing,
> > > > > > > > 
> > > > > > > > > > When
> > > > > > > > > > 
> > > > > > > > > > > I checked for Kdevelop in Programs and Features within
> > > > 
> > > > Control
> > > > 
> > > > > > Panel
> > > > > > 
> > > > > > > > in
> > > > > > > > 
> > > > > > > > > > my
> > > > > > > > > > 
> > > > > > > > > > > machine, Publisher, Size and Version columns are blank,
> > > > > > > > > > 
> > > > > > > > > > We have a bug report for this already, we're working on
> > > > > > > > > > it.
> > > > > > > > > > 
> > > > > > > > > > > and why does it say
> > > > > > > > > > > "remove only" next to its name?
> > > > > > > > > > 
> > > > > > > > > > Well, the installer only allows to remove KDevelop (no
> > > > 
> > > > 'repair',
> > > > 
> > > > > > > > > > etc.).
> > > > > > > > > > It's a
> > > > > > > > > > very simple one.
> > > > > > > > > > 
> > > > > > > > > > > please view the attached screen shot.
> > > > > > > > > > > kindly confirm should I go ahead and log these two
> > 
> > issues?
> > 
> > > > > > > > > > Not needed IMO.
> > > > > > > > > > 
> > > > > > > > > > Happy with KDevelop on Windows so far? Using it a lot?
> > > > > > > > > > 
> > > > > > > > > > > Correct me if I am wrong.
> > > > > > > > > > > 
> > > > > > > > > > > Regards,
> > > > > > > > > > > Pratik Gundlupet Venkatesh
> > > > > > > > > > > CSU ID: 006936463
> > > > > > > > > > > Mob: 530 591 2556
> > > > > > > > > > 
> > > > > > > > > > --
> > > > > > > > > > Kevin Funk | kfunk at kde.org | http://kfunk.org
> > > > > > > > 
> > > > > > > > --
> > > > > > > > Kevin Funk | kfunk at kde.org | http://kfunk.org
> > > > > > 
> > > > > > --
> > > > > > Kevin Funk | kfunk at kde.org | http://kfunk.org
> > > > 
> > > > --
> > > > Kevin Funk | kfunk at kde.org | http://kfunk.org
> > 
> > --
> > Kevin Funk | kfunk at kde.org | http://kfunk.org


-- 
Kevin Funk | kfunk at kde.org | http://kfunk.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/kdevelop-devel/attachments/20160502/790d9ac0/attachment.sig>


More information about the KDevelop-devel mailing list