Qt Creator Error C1083
Contents |
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and c1083 qt policies of this site About Us Learn more about Stack Overflow the
Qt Cannot Open Source File
company Business Learn more about hiring developers or posting ads with us Stack Overflow Questions Jobs Documentation Tags
Qt No Such File Or Directory
Users Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community of 6.2 million programmers, just like you, helping each other. Join them; it only takes
Qapplication: No Such File Or Directory #include
a minute: Sign up Why does QT not recognize my header file? cannot open include file No such file or directory up vote 9 down vote favorite I have the below in my .pro file and I have files that #include "headerhere". For example: #include "StdAfx.h". However I'm getting an error Cannot open include file: 'StdAfx.h': No such file or directory. qt include path I get the same error whether I use #include "StdAfx.h" or #include "Shared/StdAfx.h". This is extremely frustrating and I can't do any actual work unless QT starts recognizing my headers. I've found online no solution for this. What is going on? .pro file has: HEADERS += ibproject.h \ Shared/StdAfx.h \ Shared/TwsSocketClientErrors.h \ Shared/TagValue.h \ Shared/shared_ptr.h \ Shared/ScannerSubscription.h \ Shared/OrderState.h \ Shared/Order.h \ Shared/IBString.h \ Shared/HScrollListBox.h \ Shared/Execution.h \ Shared/EWrapper.h \ Shared/EClientSocketBaseImpl.h \ Shared/EClientSocketBase.h \ Shared/EClient.h \ Shared/Contract.h \ Shared/CommonDefs.h \ Shared/CommissionReport.h \ SocketClient/src/EClientSocket.h ewrappersubclass.h INCLUDEPATH += $$PWD/SocketClient DEPENDPATH += $$PWD/SocketClient EDIT: why I am getting downvotes? This is a legitimate problem I'm having c++ qt share|improve this question edited Apr 27 '13 at 23:24 asked Apr 27 '13 at 22:29 Terence Chow 2,351102962 So which directory has "stdafx.h"? –john Apr 27 '13 at 22:35 @john it's currently in shared/stdafx.h but to be honest I've copied it and pasted in both the root and the shared folder just to test if it was because I had some syntax wrong. Nope, it doesn't recognize it even when its i
download a browser that supports JavaScript, or enable it if it's disabled (i.e. NoScript). Home Qt Development General and Desktop C1083: Cannot open include file: 'QApplication' [SOLVED] C1083: Cannot open include file: 'QApplication' [SOLVED] This topic has been deleted. Only users with topic management privileges can see it. Muhammad last edited by I created a very simple project using "Empty Qt project" from Qt Creator. Then I added my files to the project. Here is the .pro file @CONFIG += qt SOURCES += main.cpp hello.cpp HEADERS += hello.h@ and http://stackoverflow.com/questions/16257521/why-does-qt-not-recognize-my-header-file-cannot-open-include-file-no-such-file here is the .h file @#include
build with VS2015 (cannot include corecrt.h)Agile Board ExportXMLWordPrintable Details Type: Bug Status: Closed Priority: P2: Important Resolution: Invalid Affects Version/s: 5.6.0 Beta Fix https://bugreports.qt.io/browse/QTBUG-50191 Version/s: None Component/s: Build tools: qmake Labels: None Environment: Windows https://github.com/OtterBrowser/otter-browser/issues/278 10, VS2015, qt5.6 beta Description Upgraded to W10. Uninstalled qt5.5, vs2013. Installed VS2015. (Microsoft Visual Studio Professional 2015 Version 14.0.24720.00 Update 1) Installed wdk for w10. Installed qt 5.6 beta. In Visual Studio a new (c++ only, no qt) project compiles fine. In QtCreator no such (that comes with 5.6 beta) I get the error: C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\include\crtdefs.h:10: error: C1083: Cannot open include file: 'corecrt.h': No such file or directory Adding the following to the .pro file: INCLUDEPATH = "C:/Program Files (x86)/Windows Kits/10/Include/10.0.10240.0/ucrt" Results in the following error: error: LNK1104: cannot open file 'ucrt.lib' OptionsIssue OnlyShow All ReviewsShow no such file Open ReviewsShow All IssuesShow Open IssuesGerrit Reviews No reviews matched the request. Check your Options in the drop-down menu of this sections header. Activity Ascending order - Click to sort in descending order All Comments Work Log History Activity Transitions Hide Permalink Joerg Bornemann added a comment - 05/Jan/16 10:33 AM Which Qt installer did you use exactly (the file name)? Show Joerg Bornemann added a comment - 05/Jan/16 10:33 AM Which Qt installer did you use exactly (the file name)? 6 older comments Hide Permalink L.M. de Vries added a comment - 21/Jan/16 3:35 AM Just ran into the same problem again. After selecting all the "Windows and Web Development" options QtCreator compiles again. Not sure which one fixes the problem, but I do not think it is an obvious one (because I had them already selected before). Show L.M. de Vries added a comment - 21/Jan/16 3:35 AM Just ran into the same problem again. After selecting all the "W
Sign in Pricing Blog Support Search GitHub This repository Watch 92 Star 646 Fork 124 OtterBrowser/otter-browser Code Issues 163 Pull requests 2 Projects 0 Wiki Pulse Graphs New issue Could not directly compile in Qt Creator #278 Closed ismlsmile opened this Issue May 2, 2014 · 3 comments Projects None yet Labels bug Milestone No milestone Assignees No one assigned 2 participants ismlsmile commented May 2, 2014 Lauch Qt Creator, open 'otter.pro", directly compile, there are two errors: ui_MainWindow.h:22: error: C1083: Cannot open include file: 'src/ui/StatusBarWidget.h': No such file or directory ui_PreferencesDialog.h:36: error: C1083: Cannot open include file: 'src/ui/FilePathWidget.h': No such file or directory If modify "otter.pro", add "INCLUDEPATH += ..\otter", then these two errors could be solved. Emdek added the needs info label May 11, 2014 Otter Browser member Emdek commented May 11, 2014 I've heard about similar issues in the past, but these were always only temporary... Have you tried ./ or .\? These should be resolved to the same directory as ..\otter. ismlsmile commented May 12, 2014 Use ".\" is OK. I think I have found where the problem is. On Linux, the direct compile is ok, On windows is not, this is because Qt Creator does not create the same output directory structure on Windows and Linux if you use the default setting. On windows, the Qt Creator's output dir is aligned with "otter", so "INCLUDEPATH += .\" must be added. Emdek added bug and removed needs info labels May 13, 2014 Otter Browser member Emdek commented May 13, 2014 @ismlsmile, thanks for testing, I'll take a look later, when I'll have time to check it under Windows. Emdek added a commit that closed this issue Jun 2, 2014 Emdek #278 25596cf Emdek