Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Switch from VC2012 project to MinGW project
Forum Updated to NodeBB v4.3 + New Features

Switch from VC2012 project to MinGW project

Scheduled Pinned Locked Moved General and Desktop
2 Posts 2 Posters 813 Views 1 Watching
  • 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.
  • U Offline
    U Offline
    user001
    wrote on last edited by
    #1

    I have some code running on latest VC2012 Qt 5.2.1. I uninstall the VC2012 Qt and installed the same version of MinGW Qt edition.

    With the same .pro file and .pro.user file, I got compile error.

    Then I deleted these two files and created the project by selected "Open file and project ..." -> "existing project". I noticed there were few new files, which didn't see when I use VC2012 version, created: .config, .files, .includes, .creator and .creator.user.

    When I built it, I got error saying no "all". I figured out I don't have make file for it and this type of project is for existing project with make file exist.

    Then I tried for an empty project. The .pro file and .pro.user file is created. But Creator didn't add those existing files into it. Do I have to MANUALLY add them? how?

    Is there a way in my case to quickly create a Qt project with my existing files? I don't have my own make file. The original project is a Qt VC2012 project.

    1 Reply Last reply
    0
    • A Offline
      A Offline
      andreyc
      wrote on last edited by
      #2

      Create new project in the same directory where your previous project was.
      Right click on a project in QtCreator and click on "Add existing files"
      Add your source, header and resource files.

      BTW, to change from one Qt Kit to another you need to set new kit in your project. You don't need to delete .pro files.

      1 Reply Last reply
      0

      • Login

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Search
      • Get Qt Extensions
      • Unsolved