15,908,111 members
Sign in
Sign in
Email
Password
Forgot your password?
Sign in with
home
articles
Browse Topics
>
Latest Articles
Top Articles
Posting/Update Guidelines
Article Help Forum
Submit an article or tip
Import GitHub Project
Import your Blog
quick answers
Q&A
Ask a Question
View Unanswered Questions
View All Questions
View C# questions
View C++ questions
View Javascript questions
View Visual Basic questions
View Python questions
discussions
forums
CodeProject.AI Server
All Message Boards...
Application Lifecycle
>
Running a Business
Sales / Marketing
Collaboration / Beta Testing
Work Issues
Design and Architecture
Artificial Intelligence
ASP.NET
JavaScript
Internet of Things
C / C++ / MFC
>
ATL / WTL / STL
Managed C++/CLI
C#
Free Tools
Objective-C and Swift
Database
Hardware & Devices
>
System Admin
Hosting and Servers
Java
Linux Programming
Python
.NET (Core and Framework)
Android
iOS
Mobile
WPF
Visual Basic
Web Development
Site Bugs / Suggestions
Spam and Abuse Watch
features
features
Competitions
News
The Insider Newsletter
The Daily Build Newsletter
Newsletter archive
Surveys
CodeProject Stuff
community
lounge
Who's Who
Most Valuable Professionals
The Lounge
The CodeProject Blog
Where I Am: Member Photos
The Insider News
The Weird & The Wonderful
help
?
What is 'CodeProject'?
General FAQ
Ask a Question
Bugs and Suggestions
Article Help Forum
About Us
Search within:
Articles
Quick Answers
Messages
Comments by threedts167 (Top 4 by date)
threedts167
10-Nov-15 1:38am
View
I have solved the problem by installing a qt-vs-addin, just so you know. And I can see that the addin did some macro definitions and some other stuffs in the project properties page to make Qt work on VS. I have been over-optimistic about how Qt is configured on VS. Cheers. :-)
threedts167
9-Nov-15 8:16am
View
Yeah. By turning on the /VERBOSE switch I noticed that Qt5Cored.lib is found but not loaded (marked "unused library") like other lib files upon which the project is dependent, which is strange. The installer's name is "qt-unified-windows-x86-2.0.2-2-online.exe" and the folder that contains the lib folder is named "Qt\5.5\msvc2013_64" (I'm using VS2013 right now). I think the Qt setup on my machine is using MSVC rather than MinGW. I'll check anyway. Your advice is taking me somewhere. Thanks very much. :-)
threedts167
9-Nov-15 6:47am
View
He installed Qt on his machine using the online installer provided by Qt's official website and I did the same to install the same Qt version on my machine so we should have the same configuration. The Qt library is pre-compiled after the installer finished installation. The reason why my teammate doesn't have my problem is because he is using QtCreator so it's all working for him. I have tested and confirmed that the same code can compile and run without any problem using QtCreator on my machine(wondering if there's some kind of magic done by QtCreator but I failed to do the same on VisualStudio) but would fail to link using VS. You're right about using the same development setup. I posted this question just hoping to figure out why the configuration on VS doesn't work, what am I missing.
threedts167
9-Nov-15 1:49am
View
I turned that "wchar_t as built-in" switch to false. But it didn't work. Still got LNK2019 errors. And the stackoverflow link that Hossein guy was using QtCreator but I'm using VS so I don't have .pro file or .pro.user file as he did.