You are not logged in.

  • "headlessgargoyle" is male
  • "headlessgargoyle" started this thread

Posts: 7

Location: US

Occupation: student

  • Send private message

1

Sunday, February 6th 2011, 1:37am

Thinking I messed up installation

Ok here's what I did. I have MSVS2010 on windows vista. I downloaded qt-win-opensource-4.7.1-vs2008.exe and qt-vs-addin-1.1.7.exe and ran them both. I then opened up VS2010 and went to new project> qt4 projects> qt application and made it with the default settings. I then copied and pasted this code into main.cpp

Source code

1
2
3
4
5
6
7
8
9
10
11
12
13
#include <QtGui>
#include "qttest.h"

 int main(int argc, char *argv[])
 {
 	QApplication app(argc, argv);
 	QWidget window;
 	window.resize(320, 240);
 	window.show();
 	window.setWindowTitle(
     	QApplication::translate("toplevel", "Top-level widget"));
 	return app.exec();
 }


and built a solution. However whenever i try to run it, it says there is a side by side config error.

Now, I know this is a very stupid noob problem, because i'm a very stupid noob who didn't read/lurk nearly enough to know what i'm doing. But can you all help me out, i don't know where else to turn.

  • "headlessgargoyle" is male
  • "headlessgargoyle" started this thread

Posts: 7

Location: US

Occupation: student

  • Send private message

2

Sunday, February 6th 2011, 5:42am

Ok i did some more reading, and now when i try to go to configure -platform win32-msvc2010 I get the error code

Source code

1
2
3
Makefile(168) : fatal error u1088: invalid separator '::' on inference rule
Stop.
cleaning qmake failed, return code 2


any ideas?

EDIT 1
ok i did some more thinking, and because of the fact that i am able to compile, i figure that means it's installed correctly, but something isn't happening afterwords. here is what the compiler says

Quoted

1>------ Build started: Project: qt work, Configuration: Debug Win32 ------
1>Build started 2/5/2011 10:38:10 PM.
1>InitializeBuildStatus:
1> Creating "Debug\qt work.unsuccessfulbuild" because "AlwaysCreate" was specified.
1>CustomBuild:
1> All outputs are up-to-date.
1>ClCompile:
1> moc_qtwork.cpp
1> main.cpp
1> qtwork.cpp
1> Generating Code...
1> qrc_qtwork.cpp
1>Link:
1> LINK : C:\Users\***\Documents\programs\Visual Studio 2010\Projects\qt work\\qt work.exe not found or not built by the last incremental link; performing full link
1> qt work.vcxproj -> C:\Users\***\Documents\programs\Visual Studio 2010\Projects\qt work\qt work.exe
1>FinalizeBuildStatus:
1> Deleting file "Debug\qt work.unsuccessfulbuild".
1> Touching "Debug\qt work.lastbuildstate".
1>
1>Build succeeded.
1>
1>Time Elapsed 00:00:09.05
========== Build: 1 succeeded, 0 failed, 0 up-to-date, 0 skipped ==========
I'm so confused and honestly have very little idea of where to go or what to do. How can I get this to work?

EDIT 2
I am now working with a fresh install, so if someone can just get me to get this working (uninstalled both, reinstalled both.) I've read things about working with the registry and the like to get it to work, but it's all rather confusing. Can someone give me a step by step of what i'm supposed to do?

This post has been edited 3 times, last edit by "headlessgargoyle" (Feb 6th 2011, 6:49am)