Re: [Interest] Issue with toLatin1()

2017-09-14 Thread Thiago Macieira
On Thursday, 14 September 2017 16:18:32 PDT Henry Skoglund wrote:
> Anyway on Windows 10, the error message now points out the
> importing/consuming file of the entry point/function, *not* the
> producing/exporting file housing that function. So the message could
> mean that the qt5xml.dll failed to import toLatin1() from Qt5Core.dll.
> Perhaps you have an old (not 5.9.1) Qt5Xml.dll?

It is most likely a mixup of Qt5Xml.dll and Qt5Core.dll from different 
versions, probably from different compilers. The last change affecting that 
function happened in Qt 5.3.0, when I added rvalue and lvalue ref overloads.

But Microsoft didn't add support for them until VS 2015. So the most likely 
scenario is that you're mixing 2013 and 2015 builds.

I'm guessing here. If the correct (full) name of the function had been pasted, 
I could know for sure which of the two is the old version.

-- 
Thiago Macieira - thiago.macieira (AT) intel.com
  Software Architect - Intel Open Source Technology Center

___
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest


Re: [Interest] Issue with toLatin1()

2017-09-14 Thread Henry Skoglund

On 2017-09-14 16:52, Thiago Macieira wrote:

On Wednesday, 13 September 2017 23:34:20 PDT Sudhir Sharma wrote:

Hi,

I am getting following error while executing my application on QT 5.9.1 with
VS2015 (win64). Any idea what could be issue?

"The procedure entry point tolatin1 could not be located in qt5xml.dll"


First of all, C++ is case sensitive, so please be sure you did a proper copy &
paste. There's no method called "tolatin1" anywhere in Qt. If you meant
"toLatin1", then it exists as a member of QString, which lives in Qt5Core.dll.
In any case, I'd expect to see a class name somewhere too.

So there's something wrong with your error message. Paste the *correct* error
message here so we can investigate.



Just a note, perhaps this is on Windows 10, in that case Microsoft has 
decided to "improve" that ages-old error message "The procedure entry 
point xxx could not be located in yyy" (it's been the same in Windows 
2,3,7,NT,ME,Vista believe me I've been there).


Anyway on Windows 10, the error message now points out the 
importing/consuming file of the entry point/function, *not* the 
producing/exporting file housing that function. So the message could 
mean that the qt5xml.dll failed to import toLatin1() from Qt5Core.dll. 
Perhaps you have an old (not 5.9.1) Qt5Xml.dll?


Rgrds Henry

___
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest


Re: [Interest] Issue with toLatin1()

2017-09-14 Thread Thiago Macieira
On Wednesday, 13 September 2017 23:34:20 PDT Sudhir Sharma wrote:
> Hi,
> 
> I am getting following error while executing my application on QT 5.9.1 with
> VS2015 (win64). Any idea what could be issue?
> 
> "The procedure entry point tolatin1 could not be located in qt5xml.dll"

First of all, C++ is case sensitive, so please be sure you did a proper copy & 
paste. There's no method called "tolatin1" anywhere in Qt. If you meant 
"toLatin1", then it exists as a member of QString, which lives in Qt5Core.dll. 
In any case, I'd expect to see a class name somewhere too.

So there's something wrong with your error message. Paste the *correct* error 
message here so we can investigate.

-- 
Thiago Macieira - thiago.macieira (AT) intel.com
  Software Architect - Intel Open Source Technology Center

___
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest


Re: [Interest] Issue with toLatin1()

2017-09-14 Thread Qt Gardener
Hi Sudhir

This looks weird to me. Does the program stop working because of this ?  I
suspect that you may compiling & linking against one 5.9.x. While executing
it may be working Qt libraries of another version.

Dheerendra Purohit

*PthinkS – *“We are the Qt/QML Developers”

http://www.pthinks.com

On Thu, Sep 14, 2017 at 12:04 PM, Sudhir Sharma 
wrote:

> Hi,
>
>
>
> I am getting following error while executing my application on QT 5.9.1
> with VS2015 (win64).
>
> Any idea what could be issue?
>
>
>
> “The procedure entry point tolatin1 could not be located in qt5xml.dll”
>
>
>
> Regards,
>
> Sudhir
>
> --
>
> http://www.mindtree.com/email/disclaimer.html
>
> ___
> Interest mailing list
> Interest@qt-project.org
> http://lists.qt-project.org/mailman/listinfo/interest
>
>
___
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest


Re: [Interest] Issue with toLatin1()

2017-09-14 Thread Tony Rietwyk

Hi Sudhir,

Looks suspicious - I would expect that routine to be in qt5core. Have 
you tried a full rebuild of your project?  Since going to VS2015, I have 
to do this at least once a day, as the debug information is often stale 
when the program runs.


Regards, Tony


On 14/09/2017 4:34 PM, Sudhir Sharma wrote:


Hi,

I am getting following error while executing my application on QT 
5.9.1 with VS2015 (win64).


Any idea what could be issue?

“The procedure entry point tolatin1 could not be located in qt5xml.dll”

Regards,

Sudhir




http://www.mindtree.com/email/disclaimer.html


___
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest


___
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest


[Interest] Issue with toLatin1()

2017-09-14 Thread Sudhir Sharma
Hi,

I am getting following error while executing my application on QT 5.9.1 with 
VS2015 (win64).
Any idea what could be issue?

"The procedure entry point tolatin1 could not be located in qt5xml.dll"

Regards,
Sudhir



http://www.mindtree.com/email/disclaimer.html
___
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest