0

I am converting a Qt project in version 4.4 to 5.5. I am using visual studio 2013. In a cpp file I include #include "private/qtextcontrol_p.h" it says cannot open source file. When i check my Qt 5.5 folder that file is not there but it is in my 4.4 folder. Has that file been removed from Qt 5.5?

1
  • 1
    It's strange that you made your solution based on implementatiion details of Qt. Commented Oct 16, 2015 at 18:49

1 Answer 1

1

That file has been moved or removed. Qt 4.4 is no longer supported. You need to read the Qt 4.x to 5.x porting guide to find out which equivalent control you need to use.

Moreover, the <private/qtextcontrol_p.h is inner the PIMPL implementation of class. You shouldn't be using the private version of the header file directly in your code. Rather use <QTextControl> instead.

Sign up to request clarification or add additional context in comments.

Comments

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.