Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt Creator and other tools
  4. Errors when using qt-vs addins
Forum Updated to NodeBB v4.3 + New Features

Errors when using qt-vs addins

Scheduled Pinned Locked Moved Unsolved Qt Creator and other tools
2 Posts 2 Posters 401 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.
  • X Offline
    X Offline
    xujingwei
    wrote on last edited by
    #1

    I'm using visual studio 2010 's addin for qt
    after creating a qt quick application project (just a simple hello world project) and running it, i got the following errors
    0_1562642740213_未命名.png
    All the errors are in the qglobal.h file, and it says they are syntax errors.
    I've clicked the needed checkboxes in "Qt Project Settings-Qt Modules" and added the lib paths 、include paths.
    couldn't find other solution on the Internet, does anyone know how to fix this?

    JKSHJ 1 Reply Last reply
    0
    • X xujingwei

      I'm using visual studio 2010 's addin for qt
      after creating a qt quick application project (just a simple hello world project) and running it, i got the following errors
      0_1562642740213_未命名.png
      All the errors are in the qglobal.h file, and it says they are syntax errors.
      I've clicked the needed checkboxes in "Qt Project Settings-Qt Modules" and added the lib paths 、include paths.
      couldn't find other solution on the Internet, does anyone know how to fix this?

      JKSHJ Offline
      JKSHJ Offline
      JKSH
      Moderators
      wrote on last edited by JKSH
      #2

      @xujingwei said in Errors when using qt-vs addins:

      visual studio 2010

      This is too old.

      From Qt 5.7 onwards, you need a compiler that supports C++11.

      I suggest you install

      • Visual Studio 2019: https://visualstudio.microsoft.com/downloads/
      • Qt VS Tools for VS 2019: https://marketplace.visualstudio.com/items?itemName=TheQtCompany.QtVisualStudioTools2019
      • Qt 5.13.0 for MSVC 2017 (this is compatible with Visual Studio 2019)

      Qt Doc Search for browsers: forum.qt.io/topic/35616/web-browser-extension-for-improved-doc-searches

      1 Reply Last reply
      3

      • Login

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