Never mind, my bad.
The output below is annoying, but what was really wrong was that the perl file 
was named "file.perl"
So I edited  ~/.config/QtProject/qtcreator/generic-highlighter/perl.xml to add 
support for *.perl files and it works fine now.

On Aug 20, 2013, at 1:44 PM, "Cook, Rich" 
<[email protected]<mailto:[email protected]>>
 wrote:

Hello,
I downloaded and built qtcreator 2.8.0 against Qt 4.8.4.  Just for fun, I 
opened a Perl source file and saw this message: "A highlight definition was not 
found for this file.  Would you like to try to find one?"  I clicked "Show 
highlighter options…"  and it took me to Options -> Text Editor -> Generic 
Highlighter -> Download Definitions.  However, when I then select anything and 
then click "Download Selected Definitions," I see the following output on the 
console and nothing apparently is installed as I still cannot get highlighting 
in a perl script:

QObject: Cannot create children for a parent that is in a different thread.
(Parent is Utils::NetworkAccessManager(0x1448e20), parent's thread is 
QThread(0x6123f0), current thread is QThread(0x2aab50074270)
QObject: Cannot create children for a parent that is in a different thread.
(Parent is Utils::NetworkAccessManager(0x1448e20), parent's thread is 
QThread(0x6123f0), current thread is QThread(0x2aab50071ae0)
(repeat ad nauseum, twice per item)

I really would like qtcreator to work with Perl.  Is there an alternate way to 
install definitions?
Thanks

--
✐Richard Cook
✇ Lawrence Livermore National Laboratory
Bldg-453 Rm-4024, Mail Stop L-557
7000 East Avenue,  Livermore, CA, 94550, USA
☎ (office) (925) 423-9605
☎ (fax) (925) 423-6961
---
Information Management & Graphics Grp., Services & Development Div., Integrated 
Computing & Communications Dept.
(opinions expressed herein are mine and not those of LLNL)




--
✐Richard Cook
✇ Lawrence Livermore National Laboratory
Bldg-453 Rm-4024, Mail Stop L-557
7000 East Avenue,  Livermore, CA, 94550, USA
☎ (office) (925) 423-9605
☎ (fax) (925) 423-6961
---
Information Management & Graphics Grp., Services & Development Div., Integrated 
Computing & Communications Dept.
(opinions expressed herein are mine and not those of LLNL)



_______________________________________________
Qt-creator mailing list
[email protected]
http://lists.qt-project.org/mailman/listinfo/qt-creator

Reply via email to