Results 1 to 14 of 14

Thread: Errors during installation of KDE for use with Qt Creator

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Feb 2017
    Posts
    19
    Thanks
    5
    Qt products
    Qt5

    Default Errors during installation of KDE for use with Qt Creator

    I 'm trying to install KDE in order to use it with Qt Creator.
    What I've done so far (my drive letter is G):
    1. I installed git in G:\Program Files\Git.
    2. I installed cmake in G:\Program Files\CMake (and I put the G:\Program Files\CMake\bin in the PATH variable).
    3. I cloned the repository git://anongit.kde.org/kitemmodels.git in G:/kitemmodels
    4. I opened the developer console (G:\Qt\Qt5.0.2\5.0.2\msvc2010\bin\qtenv2.bat).
    I run (in developer console):


    set KDELIBPATH = G:\KDE
    mkdir build
    cd build
    cmake -G "NMake Makefiles" -DCMAKE_DEBUG_POSTFIX=d -DCMAKE_INSTALL_PREFIX=%KDELIBPATH% -DCMAKE_BUILD_TYPE=DEBUG ../


    Here I get the error: "CMAke error: the source directory G:/Qt/Qt5.0.2/5.0.2/msvc2010 does not appear to contain CMakeLists.txt".
    What am I doing wrong?
    Last edited by panoss; 26th February 2017 at 08:55.

  2. #2
    Join Date
    Jan 2006
    Location
    Graz, Austria
    Posts
    8,416
    Thanks
    37
    Thanked 1,544 Times in 1,494 Posts
    Qt products
    Qt3 Qt4 Qt5
    Platforms
    Unix/X11 Windows

    Default Re: Errors during installation of KDE for use with Qt Creator

    You are obviously executing this in the wrong path.

    The last part command tells cmake to look for the CMakeLists.txt file in the parent directory of where you currently are.

    And apparently that parent directory is G:/Qt/Qt5.0.2/5.0.2/msvc2010 and not G:\KDE

    You probably want to do

    cd %KDELIBPATH%

    before the mkdir command, i.e. create the build directory inside the source directory

    Cheers,
    _

Similar Threads

  1. Replies: 1
    Last Post: 14th November 2012, 19:20
  2. compilation errors in Qt creator
    By juju in forum Newbie
    Replies: 1
    Last Post: 2nd November 2011, 21:04
  3. compilation errors in Qt creator
    By juju in forum Qt Programming
    Replies: 0
    Last Post: 28th October 2011, 09:11
  4. Replies: 1
    Last Post: 25th December 2010, 08:38
  5. Qwt Errors in designer after installation
    By baab in forum Installation and Deployment
    Replies: 0
    Last Post: 20th September 2010, 11:25

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.