I've been searching for hours for a solution to my problem , which is " the size of the dll files " after finishing my project , for example the icu files are too big for my simple app.
I found two solution:
1- recompile qt without icu support " tried to find a good tutorial but i'm out of luck " need a tutorial that thinks about the reader a new user "
2- creating or compiling your own icu , I tried this :
http://qt-project.org/wiki/Compiling-ICU-with-MSVC
but I could not understand it I got stuck here " C:\icu\source> dos2unix * "
I tried this :
http://qt-project.org/forums/viewthread/38489/
but it couldn't work because I have a newer version + another compiler.
can you guys direct me to solve this problem ? if someone have a reduced size of icu that works on qt 5.2.1 with vs 2012 please upload it so I can use it :)
Related
Recently, I'm not exactly sure when, AucTeX has started giving me trouble by reporting "Problems after {n} pages." for any document generating n pages.
For example, the file
\documentclass{article}
\begin{document}
foobar
\end{document}
when compiled with C-c C-c in AucTeX compiles successfully, but gives the message "LaTeX: problems after 1 page." There are not errors at all. The log file looks clean to me. It does not say what are the "problems" in question.
One consequence is that the C-c C-c cycle gets stuck at LaTeX, because of aforesaid "problems".
I've used AucTex on Aquamacs on a Mac for many many years. This has cropped up recently, but I don't know why. Can anyone help?
This question was asked and answered on AUCTeX mailing list, I'm reposting the answer here as well.
This is a known issue occurring with outdated versions of AUCTeX used in combination with recent versions of the TeX system, for example that shipped with TeX Live 2017. The bug has been already fixed upstream, you only have to update AUCTeX (to version 11.90.2 or higher). The recommended way to install the package is by using GNU ELPA, see https://elpa.gnu.org/packages/auctex.html
I am building a PDF viewer in Ionic 2 using the Mozilla PDF Viewer but have run into a problem. I have built pdf.js in accordance with these instructions. The code generated includes this line:
var worker = new Worker(workerSrc);
Chrome is complaining on this line that it cannot find the file GET http://localhost:8100/build/main.worker.js.
Now then, I have not come across web workers before, so I'm not sure what this error means or where to find, or build, this file. I notice that the build process also yields a file called pdf.worker.js, and I have strong suspicions that this might be the file it's after, although renaming it to main.worker.js had no effect.
I'm sure this is a very simple problem if you are in the know. What am I missing?
Ok, after a little more digging, I found this which pertains more to my situation. I am using Ionic 2 and I don't know how to generate the file referenced in this line:
pdfjsLib.PDFJS.workerSrc = '../../build/webpack/pdf.worker.bundle.js';
Can anyone illuminate my dark mind?
im trying to play a little with default css of atk4 (4.3.0.dev)
I found some instructions here: https://github.com/atk4/agiletoolkit-css#themes-and-examples
I downloaded agiletoolkit-css, as i understand i change agiletoolkit-css-master\framework\less\variables.less (add some atk-swatch-xyz for example).
But when i try to compile agiletoolkit.less from same folder i get error:
ParseError: Unrecognised input in ...\agiletoolkit-css-master\framework\less\responsive.less on line 51, column 5:
50
51 #cs();
52
I'm just trying to compile original version. Im using WinLess and SimplLess, same results.
Some guidance would be nice :) Thank you!
Agile CSS Less code is too advanced to compile it with GUI, i have tried it with several compilers with no success (different errors):
- WinLess
- SimplLess
- Crunch
- lessphp
The only way i succeded was to install node.js with less. Instructions are here:
http://pragmatictim.blogspot.fr/2012/08/developing-with-less-on-windows-getting.html
I develop and maintain a very large opengl application, written using qt library. I'm switching from qt 4 to qt 5. I downloaded the qt 5.0.0 Windows (8) Visual Studio 2010 precompiled package. Unfortunately I discovered that I get millions of OpenGL errors caused by the OpenGL ES 2 support provided by the precompiled package. So, I downloaded the source code and I recompiled qt using the -opengl desktop flag on the configure step (for further details on the problem please refer here). The opengl compiler errors disappear but I still have hundreds compiler errors everytime inside the Qt library itself there is a reference to two macros Q_STATIC_ASSERT and Q_STATIC_ASSERT_X.
The typical kind of errors i get are:
- error C2062: type 'void' unexpected
- error C2238: unexpected token(s) preceding ';'
Some suggestions?
Thanks
As described in the comment to the question I solved the issue by looking for redefinition of static_assert and commenting it.
In particular my code was using the VCGLib library wich was redefining the assert in base.h
Some months ago I installed Lazarus 0.9.28 + FPC 2.2.4 to work on a new project. Some time after it I ran into some bugs related with image loading on a TImage. After googling a bit I found some information pointing to the fact that the bugs I was facing were already solved in a later version of FPC (can't remember the link now).
So I decided to download and install a newer version. This was around January and the latest stable version was not released yet, so I choose to install the snapshot Lazarus 0.9.31-29128 + FPC 2.4.2-2011-01-20. I opened my project with the new IDE and compiled it.
Luckily the bugs I faced were gone, but I have run into an IDE (?) one. After the upgrade, when I am on the code tab of some of my forms I do not see the code formatted. Instead I only see plain text, like this:
But on some forms I see the code formatted correctly, like this:
Anyone has run into this before? If yes, could you solve it and how? Or can anyone tell me what the correct way to upgrade a Lazarus project between versions is?
It is more of a nuisance than a real problem but still I would like to solve it. Any help would be appreciated.
EDIT
I noticed that in the forms where the code shows correctly highlighted the LCLVersion in the .lfm file is 0.9.28.2, while in the forms where the code shows like plain text that property in the .lfm file is 0.9.31. Could have something to do with the problem? I tried changing the value but it did not change anything.
Thanks in advance and best regards
I don't know if this is actually causing your problem, but Lazarus keeps a set of settings in application local. ($user\AppData\Local\lazarus on my vista).
This config dir is not erased upon deinstallation, and the new installation will reuse this.
In case of strange problems, remove the config dir, and let the current installation generate a new one.