Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
User name:
Password:
Save Password
Forgot your password?

 All Forums
 Visual Assist
 Technical Support
 VC2008: QString no longer recognized
 New Topic  Reply to Topic
 Printer Friendly
Next Page
Author Previous Topic Topic Next Topic
Page: of 2

ceumern
Junior Member

17 Posts

Posted - Jun 27 2011 :  05:29:21 AM  Show Profile  Reply with Quote
As of the latest build (10.6.1850) QString is no longer recognized as a symbol.
When trying to go to the source file, it only lists some forward declarations in Qts headers.
This happened after installing the latest release. Before that everything worked just fine.

feline
Whole Tomato Software

United Kingdom
18954 Posts

Posted - Jun 27 2011 :  10:11:25 AM  Show Profile  Reply with Quote
Have you told the IDE, and thus VA, where to find the Qt header files? I assume you are using Qt.

This post explains configuring the IDE so that VA can find the Qt header files:

http://blog.wholetomato.com/2008/11/20/using-qt-44-with-visual-assist-x/

zen is the art of being at one with the two'ness
Go to Top of Page

ceumern
Junior Member

17 Posts

Posted - Jun 27 2011 :  11:24:02 AM  Show Profile  Reply with Quote
I just checked and the directories were not added as suggested in the post.

However it worked just fine up until the last update and only QString is affected by this. All other classes work just fine (code completion, opening headers, etc.).

After adding the directories and restarting the IDE, the error still persists!
Go to Top of Page

feline
Whole Tomato Software

United Kingdom
18954 Posts

Posted - Jun 27 2011 :  12:37:29 PM  Show Profile  Reply with Quote
Can you please go to:

VA Options -> System Info -> Copy Info

and paste the details (from the clipboard) into your reply. This will give us the basic information about your setup.

Which version of Qt are you using?

zen is the art of being at one with the two'ness
Go to Top of Page

jjcf89
Junior Member

23 Posts

Posted - Jun 30 2011 :  08:46:51 AM  Show Profile  Reply with Quote
I believe I am having the same issue. If I hover over QString all I see in the dropdown is class QString and the refactor menu suggests I create QString.


VA_X.dll file version 10.6.1850.0 built 2011.06.07
DevEnv.exe version 9.0.30729.1 Standard
msenv.dll version 9.0.30729.1
Font: Courier New 13(Pixels)
Comctl32.dll version 6.10.7601.17514
Windows 7 6.1 Build 7601 Service Pack 1
4 processors (x86-64;
WOW64)

Platform: Win32
Stable Includes:
c:\\Program Files (x86)\\Microsoft Visual Studio 9.0\\VC\\include;
c:\\Program Files (x86)\\Microsoft Visual Studio 9.0\\VC\\atlmfc\\include;
C:\\Program Files\\Microsoft SDKs\\Windows\\v6.0A\\include;
C:\\Program Files\\Microsoft SDKs\\Windows\\v6.0A\\include;
C:\\QtSDK\\Desktop\\Qt\\4.7.3\\msvc2008\\include;
C:\\QtSDK\\Desktop\\Qt\\4.7.3\\msvc2008\\include\\QtCore;
C:\\QtSDK\\Desktop\\Qt\\4.7.3\\msvc2008\\include\\QtGui;
C:\\QtSDK\\Desktop\\Qt\\4.7.3\\msvc2008\\include\\QtHelp;
C:\\QtSDK\\Desktop\\Qt\\4.7.3\\msvc2008\\include\\QtNetwork;
C:\\QtSDK\\Desktop\\Qt\\4.7.3\\msvc2008\\include\\QtOpenGL;
C:\\QtSDK\\Desktop\\Qt\\4.7.3\\msvc2008\\include\\QtXml;
C:\\QtSDK\\Desktop\\Qt\\4.7.3\\msvc2008\\src;
C:\\QtSDK\\QtSources\\4.7.3\\src;

Other Includes:

Stable Source Directories:
c:\\Program Files (x86)\\Microsoft Visual Studio 9.0\\VC\\atlmfc\\src\\mfc;
c:\\Program Files (x86)\\Microsoft Visual Studio 9.0\\VC\\atlmfc\\src\\mfcm;
c:\\Program Files (x86)\\Microsoft Visual Studio 9.0\\VC\\atlmfc\\src\\atl;
c:\\Program Files (x86)\\Microsoft Visual Studio 9.0\\VC\\crt\\src;
Go to Top of Page

feline
Whole Tomato Software

United Kingdom
18954 Posts

Posted - Jun 30 2011 :  3:54:57 PM  Show Profile  Reply with Quote
I have just installed Qt 4.7.3 here, and I am not seeing any problems with QString, so the good news is that there is not some fundamental problem with Qt that stops VA understanding QString.

Have you tried rebuilding your VA symbol database?

VA Options -> Performance -> Rebuild symbol databases

Do you have the file:

C:\\QtSDK\\Desktop\\Qt\\4.7.3\\msvc2008\\src\\corelib\\tools\\qstring.h

If you use alt-g on the include line for QString what happens?

zen is the art of being at one with the two'ness
Go to Top of Page

ceumern
Junior Member

17 Posts

Posted - Jul 01 2011 :  09:00:46 AM  Show Profile  Reply with Quote
* We are using Qt 4.6.1 (static build). (upgrading is not an option)
* I have tried rebuilding my VA symbol database
* D:\\lib\\qt\\4.6.1\\src\\corelib\\tools\\qstring.h exists (QTDIR points to D:\\lib\\qt\\4.6.1\\)
* when I press alt+g on QString (symbol) I get 3 options:
** qtextformat.h:60 class QString
** kernel\\qwindowdefs.h:85 class QString
** sql\\kernel\\qsqlresult.h:55 class QString
* when I press alt+g on #include <QString> it opens the corresponding QString file: D:\\lib\\qt\\4.6.1\\include\\QtCore\\QString

* System Info:

VA_X.dll file version 10.6.1850.0 built 2011.06.07
Licensed to:
VA X: *CENSORED* (16-user license) Support ends 2012.01.18
DevEnv.exe version 9.0.30729.1 Professional
msenv.dll version 9.0.30729.4108
Font: Courier New 13(Pixels)
Comctl32.dll version 6.10.7601.17514
Windows 7 6.1 Build 7601 Service Pack 1
4 processors (x86-64;
WOW64)

Platform: Win32
Stable Includes:
C:\\Program Files (x86)\\Microsoft Visual Studio 9.0\\VC\\include;
C:\\Program Files (x86)\\Microsoft Visual Studio 9.0\\VC\\atlmfc\\include;
C:\\Program Files\\Microsoft SDKs\\Windows\\v6.0A\\include;
C:\\Program Files\\Microsoft SDKs\\Windows\\v6.0A\\common\\include;
C:\\Program Files\\Microsoft SDKs\\Windows\\v6.0A\\include;

Other Includes:

Stable Source Directories:
C:\\Program Files (x86)\\Microsoft Visual Studio 9.0\\VC\\atlmfc\\src\\mfc;
C:\\Program Files (x86)\\Microsoft Visual Studio 9.0\\VC\\atlmfc\\src\\atl;
C:\\Program Files (x86)\\Microsoft Visual Studio 9.0\\VC\\crt\\src;


Edited by - ceumern on Jul 01 2011 09:05:12 AM
Go to Top of Page

jjcf89
Junior Member

23 Posts

Posted - Jul 01 2011 :  09:14:16 AM  Show Profile  Reply with Quote
When pressing alt-g on the include line C:\\QtSDK\\Desktop\\Qt\\4.7.3\\msvc2008\\include\\QtCore\\QString opens with #include "qstring.h" as the only line.

Rebuilding didn't help.

I don't have a src directory in the msvc2008 directory.
Go to Top of Page

jjcf89
Junior Member

23 Posts

Posted - Jul 01 2011 :  09:15:58 AM  Show Profile  Reply with Quote
I used the Qt sdk online installer to install Qt and it didn't put a src folder there...
Go to Top of Page

feline
Whole Tomato Software

United Kingdom
18954 Posts

Posted - Jul 01 2011 :  12:47:41 PM  Show Profile  Reply with Quote
ceumern you mentioned you added the Qt include directories to your system configuration, but they are not showing up in your VA about information. Did you remove them again?

To both of you, if you add the lines:

#include <qstring>
#include <qstring.h>

to a cpp file in your main solutions, does the cpp file still compile in Visual Studio? Obviously it should, but something is going wrong somewhere, so we need to start somewhere.

If the compiler can find and understand the QString header files, then this is a start. If you are only using the IDE as an editor, and using a different compiler, then your IDE settings may not actually point at Qt at all, so VA would not know where to find it.

I currently have Qt 4.7.3 installed, but hopefully the exact version does not matter to much here.

For me alt-g on the line:

#include <qstring>

takes me to the file "....include\\QtCore\\qstring" which contains the single line:

#include "qstring.h"

alt-g on this line takes me to the file "....include\\QtCore\\qstring.h" which is in the same directory. This file contains the line:

#include "../../src/corelib/tools/qstring.h"

Alt-g on this line takes me to this file. VA is active in this file, Alt-m and VA Outline are both showing me members of the QString class as expected.

At what point do both of you get different results?

zen is the art of being at one with the two'ness
Go to Top of Page

jjcf89
Junior Member

23 Posts

Posted - Jul 01 2011 :  2:10:42 PM  Show Profile  Reply with Quote
When i alt-g on the qstring.h it brings me to include\\QtCore\\qstring.h. This file doesn't include another include statement but the whole header file. No reference to #include "../../src/corelib/tools/qstring.h"

alt-m does show all the members in the dropdown.
Go to Top of Page

jjcf89
Junior Member

23 Posts

Posted - Jul 01 2011 :  2:14:37 PM  Show Profile  Reply with Quote
Also alt-g on #include <qstring> brings me to include\\QtCore\\QString not qstring. Not sure if that is a difference or if you just didn't capitalize yours.
Go to Top of Page

ceumern
Junior Member

17 Posts

Posted - Jul 04 2011 :  04:58:34 AM  Show Profile  Reply with Quote
Yes, I did remove the Qt include directories again.

I am using PCH in my solution with a forced include in each file. My pch.h contains

#include <QtCore>
#include <QtGui>
#include <QtXml>
#include <QtSql>
#include <QtWebKit>

Thus everything compiles just fine. (Iam using the built in mvsc compiler)

Adding

#include <qstring>
#include <qstring.h>

does not change compilation behavior.

* when I press alt+g on #include <QString> it opens the corresponding QString file: D:\\lib\\qt\\4.6.1\\include\\QtCore\\QString
* when I press alt+g on #include <qstring.h> it opens the corresponding QString file: D:\\lib\\qt\\4.6.1\\include\\QtCore\\qstring.h\\qstring.h, which contains #include "../../src/corelib/tools/qstring.h"
* pressing alt+g on #include "../../src/corelib/tools/qstring.h" opens that file which contains the QString definition. (alt+o than opens D:\\lib\\qt\\4.6.1\\src\\corelib\\tools\\qstring.cpp) VA is active in both files and works as expected!

Go to Top of Page

feline
Whole Tomato Software

United Kingdom
18954 Posts

Posted - Jul 04 2011 :  11:08:37 AM  Show Profile  Reply with Quote
VA is finding the correct files for QString for both of you, so I am not sure why VA is having problems. It is almost as if something else is confusing VA, as if there is a second definition / declaration of QString somewhere, that is being used instead.

jjcf89 it looks like you have a slightly different Qt directory structure to me and ceumern. I am not sure why, but hopefully this will not matter.

jjcf89 can you please turn on:

VA Options -> Advanced -> Fonts and Colors -> Stable symbols in Italic

Are Qt classes now being shown in italic? Given your VA settings above they should be. Is QString being shown in italic or not?

ceumern you will need to re-add the Qt directories to your VA stable include directories before you would see any Qt classes in italic.

To both of you, if you show VA View, then place keyboard focus back into the editor, and now hover the mouse over "QString" what, if anything, is shown in the bottom half of VA View?

If you place the caret into "QString" what does VA show in its context and definition fields? These are normally at the top of the editor.

What does alt-g on QString do?

zen is the art of being at one with the two'ness
Go to Top of Page

ceumern
Junior Member

17 Posts

Posted - Jul 04 2011 :  11:29:44 AM  Show Profile  Reply with Quote
I have re-added the Qt dirs to include dirs.

Hovering over QString with VA View opens shows nothing (i.e. VA View stays blank or it displays last entry.)
Other Qt classes work as expected.

Qt Classes are not shown in italics!

Options:



QString:



QLineEdit:



QLineEdit & QString:





==============================================

VA_X.dll file version 10.6.1850.0 built 2011.06.07
Licensed to:
VA X: XXXXXXXXXXXXXX (16-user license) Support ends 2012.01.18
DevEnv.exe version 9.0.30729.1 Professional
msenv.dll version 9.0.30729.4108
Font: Courier New 13(Pixels)
Comctl32.dll version 6.10.7601.17514
Windows 7 6.1 Build 7601 Service Pack 1
4 processors (x86-64;
WOW64)

Platform: Win32
Stable Includes:
C:\\Program Files (x86)\\Microsoft Visual Studio 9.0\\VC\\include;
C:\\Program Files (x86)\\Microsoft Visual Studio 9.0\\VC\\atlmfc\\include;
C:\\Program Files\\Microsoft SDKs\\Windows\\v6.0A\\include;
C:\\Program Files\\Microsoft SDKs\\Windows\\v6.0A\\common\\include;
C:\\Program Files\\Microsoft SDKs\\Windows\\v6.0A\\include;
D:\\lib\\qt\\4.6.1\\include;
D:\\lib\\qt\\4.6.1\\include\\Qt;
D:\\lib\\qt\\4.6.1\\include\\QtCore;
D:\\lib\\qt\\4.6.1\\include\\QtGui;
D:\\lib\\qt\\4.6.1\\include\\QtHelp;
D:\\lib\\qt\\4.6.1\\include\\QtNetwork;
D:\\lib\\qt\\4.6.1\\include\\QtOpenGL;
D:\\lib\\qt\\4.6.1\\include\\QtScript;
D:\\lib\\qt\\4.6.1\\include\\QtSql;
D:\\lib\\qt\\4.6.1\\include\\QtSvg;
D:\\lib\\qt\\4.6.1\\include\\QtTest;
D:\\lib\\qt\\4.6.1\\include\\QtUiTools;
D:\\lib\\qt\\4.6.1\\include\\QtWebKit;
D:\\lib\\qt\\4.6.1\\include\\QtXml;
D:\\lib\\qt\\4.6.1\\include\\QtXmlPatterns;
D:\\lib\\qt\\4.6.1\\src;

Other Includes:

Stable Source Directories:
C:\\Program Files (x86)\\Microsoft Visual Studio 9.0\\VC\\atlmfc\\src\\mfc;
C:\\Program Files (x86)\\Microsoft Visual Studio 9.0\\VC\\atlmfc\\src\\atl;
C:\\Program Files (x86)\\Microsoft Visual Studio 9.0\\VC\\crt\\src;


Edited by - ceumern on Jul 04 2011 11:34:00 AM
Go to Top of Page

feline
Whole Tomato Software

United Kingdom
18954 Posts

Posted - Jul 04 2011 :  2:43:33 PM  Show Profile  Reply with Quote
I am puzzled by the lack of italics. Can you please try adding the following lines to a cpp file:

	std::vector;
	std::string;
	CreateWindow();

all 3 lines should be shown in italics.

Have you restarted your IDE since editing your include directories? VA needs a restart, and a symbol database rebuild to know to make symbols from these new stable include header files italic.

After using Alt-g to move into the QString.h header file, with the actual class declaration, if you then go back to the cpp file where you are using QString, does this make any difference? Does VA start to understand QString? Or is it still an unknown type?

zen is the art of being at one with the two'ness
Go to Top of Page

ceumern
Junior Member

17 Posts

Posted - Jul 05 2011 :  06:22:52 AM  Show Profile  Reply with Quote
Ok, I rebuild the symbol db and restarted the IDE and now the symbols show up in italics, the result can be seen here:



quote:
After using Alt-g to move into the QString.h header file, with the actual class declaration, if you then go back to the cpp file where you are using QString, does this make any difference? Does VA start to understand QString? Or is it still an unknown type?


No, it does not make any difference. QString remains an unknown type outside of the original qstring.h and qstring.cpp.

But here is an interesting effect:

when i press alt+g on a QString symbol and I select e.g. q3listbox.h from the list of options and then press alt+g on the "class QString" line within that file, it takes me to the qstring.h header which contains the class declaration!

Pressing alt+g on QString within my own files leads to (1st entry in list):



Pressing alt+g on QString then leads to:



VA View within qstring.h:



Go to Top of Page

ceumern
Junior Member

17 Posts

Posted - Jul 05 2011 :  07:51:38 AM  Show Profile  Reply with Quote
Ok now this is strange. Suddenly it started working again. However, I have no idea what caused this.

Edit: Restarting the IDE restored the (faulty) behavior.

Edited by - ceumern on Jul 05 2011 09:25:39 AM
Go to Top of Page

jjcf89
Junior Member

23 Posts

Posted - Jul 05 2011 :  09:15:39 AM  Show Profile  Reply with Quote
quote:
Originally posted by feline


jjcf89 can you please turn on:
VA Options -> Advanced -> Fonts and Colors -> Stable symbols in Italic

Are Qt classes now being shown in italic? Given your VA settings above they should be. Is QString being shown in italic or not?


When I turn on Italics the Qt classes become italic including QString.

quote:
Originally posted by feline


To both of you, if you show VA View, then place keyboard focus back into the editor, and now hover the mouse over "QString" what, if anything, is shown in the bottom half of VA View?


Nothing is shown in the bottom half of the VA View. If I hover over some of the other Qt types after a brief pause the window will fill in but not for QString.

quote:
Originally posted by feline


If you place the caret into "QString" what does VA show in its context and definition fields? These are normally at the top of the editor.

What does alt-g on QString do?


If I place caret on QString in include line i get the results below:


If I place caret in declaration of a QString i get nothing:


Alt-g on include brings me to the #include header file.

Alt-g on the declaration shows the following dropdown:



Go to Top of Page

feline
Whole Tomato Software

United Kingdom
18954 Posts

Posted - Jul 05 2011 :  10:38:28 PM  Show Profile  Reply with Quote
ceumern do you have:

VA Options -> Performance -> Parse all files when opening a project

turned on or off? I am not sure why restarting the IDE would cause the behaviour to change here, so I am wondering if there is something somewhere in your solution that might be a factor.

Can you please edit your IDE additional include directories to add the following directory:

D:\\lib\\qt\\4.6.1\\src\\corelib\\tools

and then tell VA to rebuild your symbol database. This is the directory that contains the QString.h file that actually declares the class. Perhaps this will help.


jjcf89 is the directory that actually contains the QString.h file that declares the class in your VA stable include directories? I am not finding this information in this thread, so I am not sure. If it is not, can you also try adding this directory and rebuilding your VA symbol database please, and see if this helps.

zen is the art of being at one with the two'ness
Go to Top of Page

ceumern
Junior Member

17 Posts

Posted - Jul 06 2011 :  04:14:33 AM  Show Profile  Reply with Quote
Here are my VA options:



I have added D:\\lib\\qt\\4.6.1\\src\\corelib\\tools to my include directories and rebuild symbols db. However, behavior did not change.
Go to Top of Page

jjcf89
Junior Member

23 Posts

Posted - Jul 06 2011 :  08:40:07 AM  Show Profile  Reply with Quote
C:\\QtSDK\\Desktop\\Qt\\4.7.3\\msvc2008\\include\\QtCore\\QString
points to
C:\\QtSDK\\Desktop\\Qt\\4.7.3\\msvc2008\\include\\QtCore\\qstring.h
which is the full header file
Go to Top of Page

jjcf89
Junior Member

23 Posts

Posted - Jul 06 2011 :  08:47:09 AM  Show Profile  Reply with Quote
Since other classes from the same include directories work just fine it seems unlikely that this is an include error.
Go to Top of Page

feline
Whole Tomato Software

United Kingdom
18954 Posts

Posted - Jul 06 2011 :  10:54:07 AM  Show Profile  Reply with Quote
jjcf89 thank you for this information. It is good to know that VA is finding the directory successfully.

Can you both please open VA's Find Symbol dialog (Alt-Shift-S by default), filter it on "qstring" and turn Off "Show only symbols defined in current solution" and turn On "Only classes, structs & namespaces"

What do you get?

Does turning Off "Only classes, structs & namespaces" make any difference?

I am seeing the class QString listed, and when I turn off "Only classes, structs & namespaces" I am seeing the members of QString as well. If you are seeing one or more QString classes listed, where are you taken if you press Enter on them? What code do you get? Just a forward declaration of QString? Or something more interesting?

zen is the art of being at one with the two'ness
Go to Top of Page

ceumern
Junior Member

17 Posts

Posted - Jul 06 2011 :  11:12:32 AM  Show Profile  Reply with Quote
quote:
Originally posted by feline
Can you both please open VA's Find Symbol dialog (Alt-Shift-S by default), filter it on "qstring" and turn Off "Show only symbols defined in current solution" and turn On "Only classes, structs & namespaces"

What do you get?



Uploading images seems to be broken. :(

I get around 16 results, including
QT_NAMESPACE.QString


quote:
Originally posted by feline
Does turning Off "Only classes, structs & namespaces" make any difference?



Yes, I see a lot more results, above a hundred possibly.
e.g. ForwardDeclare.QT_NAMESPACE.QByteArray.QString
as well as all members of QString

quote:
Originally posted by feline
I am seeing the class QString listed, and when I turn off "Only classes, structs & namespaces" I am seeing the members of QString as well. If you are seeing one or more QString classes listed, where are you taken if you press Enter on them? What code do you get? Just a forward declaration of QString? Or something more interesting?



Pressing enter on QT_NAMESPACE.QString takes me to the correct qstring.h file.

Pressing enter on ForwardDeclare.QT_NAMESPACE.QString takes me to "friend class QString;" within qbytearray.h, which is the same place I get to as when I press alg+g on a QString object in my solution (1st option in list).
Go to Top of Page

feline
Whole Tomato Software

United Kingdom
18954 Posts

Posted - Jul 06 2011 :  11:38:36 AM  Show Profile  Reply with Quote
Having just seen QString in the Find Symbol dialog, is VA currently listing any class members for variables of type QString?
Is alt-g still doing the wrong thing?

Its almost as if something in your solution is breaking QString...

Can you please try making a new, default C++ solution, and then try using QString inside this new solution? Since Qt is in the stable include directories once you have added #include <qstring> variables of the type QString might just work.

zen is the art of being at one with the two'ness
Go to Top of Page

ceumern
Junior Member

17 Posts

Posted - Jul 06 2011 :  11:47:34 AM  Show Profile  Reply with Quote
quote:
Originally posted by feline

Having just seen QString in the Find Symbol dialog, is VA currently listing any class members for variables of type QString?
Is alt-g still doing the wrong thing?


Yes, alt-g still only lists the forward/friend declarations.
quote:

Can you please try making a new, default C++ solution, and then try using QString inside this new solution? Since Qt is in the stable include directories once you have added #include <qstring> variables of the type QString might just work.

I have created a fresh Qt application using the qt plugin as we;; as a C++ console application.
The problem persists:


Edited by - ceumern on Jul 06 2011 11:48:08 AM
Go to Top of Page

jjcf89
Junior Member

23 Posts

Posted - Jul 06 2011 :  12:31:19 PM  Show Profile  Reply with Quote
The image upload seems to have a size limit of maybe 80kB. It should be noted that the error message is terribly unhelpful as it just lists all the possible problems leading you to believe that you violated all of them.

Shrinking the window and retaking the snapshots made the files small enough to upload.

quote:
Originally posted by feline
Can you both please open VA's Find Symbol dialog (Alt-Shift-S by default), filter it on "qstring" and turn Off "Show only symbols defined in current solution" and turn On "Only classes, structs & namespaces"
What do you get?




quote:
Originally posted by feline
Does turning Off "Only classes, structs & namespaces" make any difference?





quote:
Originally posted by feline
I am seeing the class QString listed, and when I turn off "Only classes, structs & namespaces" I am seeing the members of QString as well. If you are seeing one or more QString classes listed, where are you taken if you press Enter on them? What code do you get? Just a forward declaration of QString? Or something more interesting?



Pressing enter brought me here:


Go to Top of Page

jjcf89
Junior Member

23 Posts

Posted - Jul 06 2011 :  12:37:29 PM  Show Profile  Reply with Quote
quote:
Originally posted by feline

Having just seen QString in the Find Symbol dialog, is VA currently listing any class members for variables of type QString?
Is alt-g still doing the wrong thing?

Its almost as if something in your solution is breaking QString...

Can you please try making a new, default C++ solution, and then try using QString inside this new solution? Since Qt is in the stable include directories once you have added #include <qstring> variables of the type QString might just work.


New solution:


Trying autocomplete:




Go to Top of Page

feline
Whole Tomato Software

United Kingdom
18954 Posts

Posted - Jul 06 2011 :  3:03:26 PM  Show Profile  Reply with Quote
ceumern can you please export your VA and IDE settings and send them to me, along with this new test application:

VA Options -> Performance -> Export Settings
IDE tools menu -> Import and Export Settings -> Export selected environment settings

I can then import the setting here and use the same application as you, see if I can reproduce the problem. Please submit the files via the form:

http://www.wholetomato.com/support/contact.asp

including this thread ID or URL in the description, so we can match it up.

If you have not already done so, can you please try doing a VA symbol database rebuild and loading just the new test solution, to see if this helps?


jjcf89 what is the file size of your qstring files? I should be using the same version of Qt as you, and I have:

C:\\QtSDK\\Desktop\\Qt\\4.7.3\\msvc2008\\src\\corelib\\tools\\qstring.cpp = 257,808 bytes
C:\\QtSDK\\Desktop\\Qt\\4.7.3\\msvc2008\\src\\corelib\\tools\\qstring.h = 60,746 bytes

It seems unlikely you have edited your qstring class, but I am running out of good ideas to be honest.

zen is the art of being at one with the two'ness
Go to Top of Page

jjcf89
Junior Member

23 Posts

Posted - Jul 06 2011 :  3:09:29 PM  Show Profile  Reply with Quote
C:\\QtSDK\\Desktop\\Qt\\4.7.3\\msvc2008\\include\\QtCore\\qstring.h Size: 59,493 bytes

I certainly didn't edit it.
Go to Top of Page
Page: of 2 Previous Topic Topic Next Topic  
Next Page
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
© 2023 Whole Tomato Software, LLC Go To Top Of Page
Snitz Forums 2000